@northern.tech/store 0.47.0 → 0.48.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 +6 -6
- package/dist/actions.d.ts +6 -6
- package/dist/appSlice/index.d.cts +1 -1
- package/dist/appSlice/index.d.ts +1 -1
- package/dist/appSlice/index.js +1 -1
- package/dist/appSlice/mocks.d.cts +1 -1
- package/dist/appSlice/mocks.d.ts +1 -1
- package/dist/appSlice/selectors.d.cts +1 -1
- package/dist/appSlice/selectors.d.ts +1 -1
- package/dist/appSlice/thunks.d.cts +2 -2
- package/dist/appSlice/thunks.d.ts +2 -2
- package/dist/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -1
- package/dist/commonConstants.d.cts +1 -1
- package/dist/commonConstants.d.ts +1 -1
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.d.cts +15 -15
- package/dist/commonSelectors.d.ts +15 -15
- package/dist/commonSelectors.js +1 -1
- package/dist/{constants-CCkKh9KM.d.ts → constants-3gsHyxWr.d.ts} +3 -3
- package/dist/{constants-B3NH1IQi.d.ts → constants-DOnQ-UzD.d.cts} +2 -3
- package/dist/{constants-B3NH1IQi.d.cts → constants-DOnQ-UzD.d.ts} +2 -3
- package/dist/{constants-CUwYPOYK.d.cts → constants-hMMMdt0R.d.cts} +3 -3
- package/dist/{constants-DjiC_FnZ.js → constants-yul-O5hD.js} +3 -3
- package/dist/{constants-DjiC_FnZ.js.map → constants-yul-O5hD.js.map} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +4 -4
- package/dist/deploymentsSlice/thunks.d.ts +4 -4
- package/dist/devicesSlice/constants.d.cts +1 -1
- package/dist/devicesSlice/constants.d.ts +1 -1
- package/dist/devicesSlice/constants.js +1 -1
- package/dist/devicesSlice/index.d.cts +1 -1
- package/dist/devicesSlice/index.d.ts +1 -1
- package/dist/devicesSlice/index.js +1 -1
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.d.cts +1 -1
- package/dist/devicesSlice/selectors.d.ts +1 -1
- package/dist/devicesSlice/selectors.js +1 -1
- package/dist/devicesSlice/thunks.d.cts +4 -4
- package/dist/devicesSlice/thunks.d.ts +4 -4
- package/dist/{index-BWtIaimn.d.cts → index-B9jUHGsM.d.cts} +2 -2
- package/dist/{index-CThE5Gfh.d.ts → index-BMi8ZqpV.d.ts} +2 -2
- package/dist/{index-CaNZaXie.d.cts → index-BoZjwQHk.d.cts} +2 -2
- package/dist/{index-BcrZxKLw.d.cts → index-C-6WkMAo.d.cts} +2 -2
- package/dist/{index-C2za83Qs.d.ts → index-CD39K38q.d.ts} +2 -2
- package/dist/{index-7jVuB4tG.d.cts → index-D8O1HJ8Q.d.cts} +2 -2
- package/dist/{index-o_m7WKiR.d.ts → index-DXfbW2gi.d.ts} +2 -2
- package/dist/{index-CzQRHJ6f.d.cts → index-Dd_guNwA.d.cts} +2 -2
- package/dist/{index-DNYeo7wc.d.cts → index-DlTiYWBe.d.cts} +2 -2
- package/dist/{index-CvMpbsOo.d.ts → index-I82Wu-Ah.d.ts} +2 -2
- package/dist/{index-C1vNDCYR.d.ts → index-KQNyWRoG.d.ts} +2 -2
- package/dist/{index-DOPRnlaC.d.ts → index-uhmZ9qaP.d.ts} +2 -2
- package/dist/locationutils.d.cts +2 -2
- package/dist/locationutils.d.ts +2 -2
- package/dist/locationutils.js +1 -1
- package/dist/mockState.d.cts +1 -1
- package/dist/mockState.d.ts +1 -1
- package/dist/monitorSlice/constants.d.cts +1 -1
- package/dist/monitorSlice/constants.d.ts +1 -1
- package/dist/monitorSlice/index.d.cts +1 -1
- package/dist/monitorSlice/index.d.ts +1 -1
- package/dist/monitorSlice/index.js +1 -1
- package/dist/monitorSlice/mocks.d.cts +1 -1
- package/dist/monitorSlice/mocks.d.ts +1 -1
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/selectors.d.cts +1 -1
- package/dist/monitorSlice/selectors.d.ts +1 -1
- package/dist/monitorSlice/thunks.d.cts +4 -4
- package/dist/monitorSlice/thunks.d.ts +4 -4
- package/dist/monitorSlice/thunks.js +1 -1
- package/dist/onboardingSlice/thunks.d.cts +3 -3
- package/dist/onboardingSlice/thunks.d.ts +3 -3
- package/dist/organizationSlice/constants.js +1 -1
- package/dist/organizationSlice/index.d.cts +1 -1
- package/dist/organizationSlice/index.d.ts +1 -1
- package/dist/organizationSlice/index.js +1 -1
- package/dist/organizationSlice/mocks.d.cts +2 -2
- package/dist/organizationSlice/mocks.d.ts +2 -2
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.d.cts +1 -1
- package/dist/organizationSlice/selectors.d.ts +1 -1
- package/dist/organizationSlice/selectors.js +1 -1
- package/dist/organizationSlice/thunks.d.cts +4 -4
- package/dist/organizationSlice/thunks.d.ts +4 -4
- package/dist/organizationSlice/types.d.cts +1 -1
- package/dist/organizationSlice/types.d.ts +1 -1
- package/dist/releasesSlice/constants.cjs +0 -2
- package/dist/releasesSlice/constants.cjs.map +1 -1
- package/dist/releasesSlice/constants.d.cts +2 -2
- package/dist/releasesSlice/constants.d.ts +2 -2
- package/dist/releasesSlice/constants.js +1 -2
- package/dist/releasesSlice/constants.js.map +1 -1
- package/dist/releasesSlice/index.d.cts +1 -1
- package/dist/releasesSlice/index.d.ts +1 -1
- package/dist/releasesSlice/index.js +1 -1
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.d.cts +1 -1
- package/dist/releasesSlice/selectors.d.ts +1 -1
- package/dist/releasesSlice/thunks.cjs +1 -1
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +4 -4
- package/dist/releasesSlice/thunks.d.ts +4 -4
- package/dist/releasesSlice/thunks.js +2 -2
- package/dist/releasesSlice/thunks.js.map +1 -1
- package/dist/{selectors-DeqP_VLU.d.cts → selectors-CR0q7rXC.d.cts} +2 -2
- package/dist/{selectors-XzNyGFJI.d.cts → selectors-CdCZGn7e.d.cts} +2 -2
- package/dist/{selectors-jusUdUdc.d.cts → selectors-CdllyZyW.d.cts} +2 -2
- package/dist/{selectors-aLOjKkxN.d.cts → selectors-CftbLtXH.d.cts} +2 -2
- package/dist/{selectors-DQKg681M.d.ts → selectors-D2j3_Mnp.d.ts} +2 -2
- package/dist/{selectors-CAo0fzIZ.d.ts → selectors-D78O3T1o.d.ts} +2 -2
- package/dist/{selectors-vk0GUGHf.d.ts → selectors-D_UFk4Uz.d.ts} +2 -2
- package/dist/{selectors-DDsFLtxz.d.cts → selectors-DuHGqmMJ.d.cts} +2 -2
- package/dist/{selectors-1394DVvN.d.ts → selectors-SvKXGJM5.d.ts} +2 -2
- package/dist/{selectors-Ba9LUr_0.d.ts → selectors-eYLuQW4M.d.ts} +2 -2
- package/dist/{selectors-DFSv4A_m.d.ts → selectors-qClZ9EXM.d.ts} +3 -7
- package/dist/{selectors-LhR8TyWU.d.cts → selectors-rto0SO4z.d.cts} +3 -7
- package/dist/selectors.d.cts +6 -6
- package/dist/selectors.d.ts +6 -6
- package/dist/sockethook.js +1 -1
- package/dist/{store-v5V-bbB_.d.ts → store-BQcycBPp.d.ts} +9 -9
- package/dist/{store-CCvk8X-k.d.cts → store-CrLzRDCx.d.cts} +9 -9
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js +1 -1
- package/dist/thunks.cjs +9 -5
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +10 -6
- package/dist/thunks.js.map +1 -1
- package/dist/{types-B2gphGj8.d.ts → types-DB1IOQX8.d.ts} +2 -2
- package/dist/{types-CLASWtVP.d.cts → types-DtTmD7Yn.d.cts} +2 -2
- package/dist/usersSlice/constants.js +1 -1
- package/dist/usersSlice/index.d.cts +1 -1
- package/dist/usersSlice/index.d.ts +1 -1
- package/dist/usersSlice/index.js +1 -1
- package/dist/usersSlice/mocks.d.cts +1 -1
- package/dist/usersSlice/mocks.d.ts +1 -1
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.d.cts +1 -1
- package/dist/usersSlice/selectors.d.ts +1 -1
- package/dist/usersSlice/selectors.js +1 -1
- package/dist/usersSlice/thunks.d.cts +4 -4
- package/dist/usersSlice/thunks.d.ts +4 -4
- package/dist/utils.cjs +1 -2
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -3
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
package/dist/selectors.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as getStripeKey, a as getFeatures, b as getVersionInformation, c as getHostedAnnouncement, d as getIsUploading, f as getRecaptchaKey, g as getSnackbar, h as getSentryConfig, i as getDocsVersion, l as getIsFirstLogin, m as getSearchedDevices, n as getAppInitDone, o as getFeedbackProbability, p as getSearchState, r as getCommit, s as getHostAddress, t as AppState, u as getIsPreview, v as getTrackerCode, y as getUploads } from "./selectors-
|
|
1
|
+
import { _ as getStripeKey, a as getFeatures, b as getVersionInformation, c as getHostedAnnouncement, d as getIsUploading, f as getRecaptchaKey, g as getSnackbar, h as getSentryConfig, i as getDocsVersion, l as getIsFirstLogin, m as getSearchedDevices, n as getAppInitDone, o as getFeedbackProbability, p as getSearchState, r as getCommit, s as getHostAddress, t as AppState, u as getIsPreview, v as getTrackerCode, y as getUploads } from "./selectors-D78O3T1o.js";
|
|
2
2
|
import { a as getDeploymentsByStatus, c as getRecentDeployments, i as getDeploymentsById, l as getSelectedDeploymentDeviceIds, n as DeploymentsState, o as getDeploymentsSelectionState, r as getDeploymentById, s as getMappedDeploymentSelection, t as DEPLOYMENT_CUTOFF } from "./selectors-D9t4It2i.js";
|
|
3
|
-
import { C as getListedDevices, D as getTestDeviceCount, E as getSortedFilteringAttributes, O as getTestDeviceLimit, S as getLimitMaxed, T as getSelectedGroupInfo, _ as getFilteringAttributes, a as getDeviceById, b as getGroupsById, c as getDeviceIdentityAttributes, d as getDeviceListState, f as getDeviceReports, g as getEnabledTiers, h as getDevicesByStatus, i as getCombinedLimit, l as getDeviceLimitStats, m as getDevicesById, n as getAcceptedDevices, o as getDeviceCountsByStatus, p as getDeviceTypes, r as getAttributesList, s as getDeviceFilters, t as DevicesState, u as getDeviceLimits, v as getGroupData, w as getSelectedGroup, x as getGroupsByIdWithoutUngrouped, y as getGroups } from "./selectors-
|
|
4
|
-
import { n as getIssueCountsByType, t as MonitorState } from "./selectors-
|
|
3
|
+
import { C as getListedDevices, D as getTestDeviceCount, E as getSortedFilteringAttributes, O as getTestDeviceLimit, S as getLimitMaxed, T as getSelectedGroupInfo, _ as getFilteringAttributes, a as getDeviceById, b as getGroupsById, c as getDeviceIdentityAttributes, d as getDeviceListState, f as getDeviceReports, g as getEnabledTiers, h as getDevicesByStatus, i as getCombinedLimit, l as getDeviceLimitStats, m as getDevicesById, n as getAcceptedDevices, o as getDeviceCountsByStatus, p as getDeviceTypes, r as getAttributesList, s as getDeviceFilters, t as DevicesState, u as getDeviceLimits, v as getGroupData, w as getSelectedGroup, x as getGroupsByIdWithoutUngrouped, y as getGroups } from "./selectors-SvKXGJM5.js";
|
|
4
|
+
import { n as getIssueCountsByType, t as MonitorState } from "./selectors-D_UFk4Uz.js";
|
|
5
5
|
import { n as getOnboarding, t as OnboardingState } from "./selectors-elCimAHX.js";
|
|
6
|
-
import { S as getWebhooks, _ as getTenantListWithLimits, a as getAuditlogState, b as getWebhookEvents, c as getDeviceTwinIntegrations, d as getIsServiceProvider, f as getOrganization, g as getSubscription, h as getSsoConfig, i as getAuditLogSelectionState, l as getDisabledTiers, m as getSpLimits, n as getAuditLog, o as getBillingProfile, p as getProducts, r as getAuditLogEntry, s as getCard, t as OrganizationState, u as getExternalIntegrations, v as getTenantsList, x as getWebhookEventsTotal, y as getWebhookEventInfo } from "./selectors-
|
|
7
|
-
import { C as getSelectedReleases, D as getSoftwareTags, E as getSoftwareListState, O as getSoftwareTagsById, S as getSelectedRelease, T as getSoftwareList, _ as getReleasesById, a as getDeltaJobsListState, b as getSelectedManifest, c as getHasSoftware, d as getManifestsById, f as getManifestsList, g as getReleaseTagsById, h as getReleaseTags, i as getDeltaJobsById, k as getUpdateTypes, l as getManifestTags, m as getReleaseListState, n as getActiveTab, o as getHasManifests, p as getManifestsListState, r as getDeltaJobById, s as getHasReleases, t as ReleasesState, u as getManifestTagsById, v as getReleasesList, w as getSoftwareById, x as getSelectedManifests, y as getSelectedJob } from "./selectors-
|
|
8
|
-
import { _ as getTooltipsState, a as getGlobalSettingsInitialized, b as getUsersById, c as getIsDarkMode, d as getRolesById, f as getRolesInitialized, g as getTooltipsById, h as getSelectedDeviceAttribute, i as getGlobalSettings, l as getOfflineThresholdSettings, m as getSecurityAlertDismissedTimestamp, n as getCurrentSession, o as getHas2FA, p as getRolesList, r as getCurrentUser, s as getIdAttribute, t as UsersState, u as getReadAllHelptips, v as getUserSettings, x as getUsersList, y as getUserSettingsInitialized } from "./selectors-
|
|
6
|
+
import { S as getWebhooks, _ as getTenantListWithLimits, a as getAuditlogState, b as getWebhookEvents, c as getDeviceTwinIntegrations, d as getIsServiceProvider, f as getOrganization, g as getSubscription, h as getSsoConfig, i as getAuditLogSelectionState, l as getDisabledTiers, m as getSpLimits, n as getAuditLog, o as getBillingProfile, p as getProducts, r as getAuditLogEntry, s as getCard, t as OrganizationState, u as getExternalIntegrations, v as getTenantsList, x as getWebhookEventsTotal, y as getWebhookEventInfo } from "./selectors-qClZ9EXM.js";
|
|
7
|
+
import { C as getSelectedReleases, D as getSoftwareTags, E as getSoftwareListState, O as getSoftwareTagsById, S as getSelectedRelease, T as getSoftwareList, _ as getReleasesById, a as getDeltaJobsListState, b as getSelectedManifest, c as getHasSoftware, d as getManifestsById, f as getManifestsList, g as getReleaseTagsById, h as getReleaseTags, i as getDeltaJobsById, k as getUpdateTypes, l as getManifestTags, m as getReleaseListState, n as getActiveTab, o as getHasManifests, p as getManifestsListState, r as getDeltaJobById, s as getHasReleases, t as ReleasesState, u as getManifestTagsById, v as getReleasesList, w as getSoftwareById, x as getSelectedManifests, y as getSelectedJob } from "./selectors-eYLuQW4M.js";
|
|
8
|
+
import { _ as getTooltipsState, a as getGlobalSettingsInitialized, b as getUsersById, c as getIsDarkMode, d as getRolesById, f as getRolesInitialized, g as getTooltipsById, h as getSelectedDeviceAttribute, i as getGlobalSettings, l as getOfflineThresholdSettings, m as getSecurityAlertDismissedTimestamp, n as getCurrentSession, o as getHas2FA, p as getRolesList, r as getCurrentUser, s as getIdAttribute, t as UsersState, u as getReadAllHelptips, v as getUserSettings, x as getUsersList, y as getUserSettingsInitialized } from "./selectors-D2j3_Mnp.js";
|
|
9
9
|
import { getAuditlogDevice, getAvailableIssueOptionsByType, getDemoDeviceAddress, getDeploymentRelease, getDeviceConfigDeployment, getDeviceReportsForUser, getFilterAttributes, getGroupNames, getIsEnterprise, getMappedDevicesList, getOnboardingState, getRelevantRoles, getSelectedDeploymentData, getShowSecurityAlert, getTenantCapabilities, getUserCapabilities, getUserRoles } from "./commonSelectors.js";
|
|
10
10
|
export { AppState, DEPLOYMENT_CUTOFF, DeploymentsState, DevicesState, MonitorState, OnboardingState, OrganizationState, ReleasesState, UsersState, getAcceptedDevices, getActiveTab, getAppInitDone, getAttributesList, getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogDevice, getAuditlogState, getAvailableIssueOptionsByType, getBillingProfile, getCard, getCombinedLimit, getCommit, getCurrentSession, getCurrentUser, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getDemoDeviceAddress, getDeploymentById, getDeploymentRelease, getDeploymentsById, getDeploymentsByStatus, getDeploymentsSelectionState, getDeviceById, getDeviceConfigDeployment, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimitStats, getDeviceLimits, getDeviceListState, getDeviceReports, getDeviceReportsForUser, getDeviceTwinIntegrations, getDeviceTypes, getDevicesById, getDevicesByStatus, getDisabledTiers, getDocsVersion, getEnabledTiers, getExternalIntegrations, getFeatures, getFeedbackProbability, getFilterAttributes, getFilteringAttributes, getGlobalSettings, getGlobalSettingsInitialized, getGroupData, getGroupNames, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getHas2FA, getHasManifests, getHasReleases, getHasSoftware, getHostAddress, getHostedAnnouncement, getIdAttribute, getIsDarkMode, getIsEnterprise, getIsFirstLogin, getIsPreview, getIsServiceProvider, getIsUploading, getIssueCountsByType, getLimitMaxed, getListedDevices, getManifestTags, getManifestTagsById, getManifestsById, getManifestsList, getManifestsListState, getMappedDeploymentSelection, getMappedDevicesList, getOfflineThresholdSettings, getOnboarding, getOnboardingState, getOrganization, getProducts, getReadAllHelptips, getRecaptchaKey, getRecentDeployments, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getRelevantRoles, getRolesById, getRolesInitialized, getRolesList, getSearchState, getSearchedDevices, getSecurityAlertDismissedTimestamp, getSelectedDeploymentData, getSelectedDeploymentDeviceIds, getSelectedDeviceAttribute, getSelectedGroup, getSelectedGroupInfo, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getSentryConfig, getShowSecurityAlert, getSnackbar, getSoftwareById, getSoftwareList, getSoftwareListState, getSoftwareTags, getSoftwareTagsById, getSortedFilteringAttributes, getSpLimits, getSsoConfig, getStripeKey, getSubscription, getTenantCapabilities, getTenantListWithLimits, getTenantsList, getTestDeviceCount, getTestDeviceLimit, getTooltipsById, getTooltipsState, getTrackerCode, getUpdateTypes, getUploads, getUserCapabilities, getUserRoles, getUserSettings, getUserSettingsInitialized, getUsersById, getUsersList, getVersionInformation, getWebhookEventInfo, getWebhookEvents, getWebhookEventsTotal, getWebhooks };
|
package/dist/sockethook.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as
|
|
1
|
+
import { dt as DEVICE_MESSAGE_PROTOCOLS, ft as DEVICE_MESSAGE_TYPES, h as apiUrl } from "./constants-yul-O5hD.js";
|
|
2
2
|
import { TIMEOUTS } from "@northern.tech/utils/constants";
|
|
3
3
|
import { blobToString, byteArrayToString } from "@northern.tech/utils/helpers";
|
|
4
4
|
import Cookies from "universal-cookie";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { H as emptyUiPermissions, S as Role,
|
|
2
|
-
import { o as UserSliceType } from "./index-
|
|
3
|
-
import { a as ReleaseSliceType } from "./index-
|
|
4
|
-
import { a as PricePreview } from "./types-
|
|
1
|
+
import { H as emptyUiPermissions, S as Role, Tt as FilterOperator, m as DeviceIssueOptionKey } from "./constants-3gsHyxWr.js";
|
|
2
|
+
import { o as UserSliceType } from "./index-KQNyWRoG.js";
|
|
3
|
+
import { a as ReleaseSliceType } from "./index-DXfbW2gi.js";
|
|
4
|
+
import { a as PricePreview } from "./types-DB1IOQX8.js";
|
|
5
5
|
import { n as OnboardingSliceType } from "./index-CoObjWL4.js";
|
|
6
6
|
import { o as DeploymentsSliceType, t as Deployment } from "./index-B8td4-rY.js";
|
|
7
|
-
import { c as DeviceSliceType, i as DeviceGroup, r as DeviceFilter, u as InventoryAttributes } from "./index-
|
|
8
|
-
import { t as AppSliceType } from "./index-
|
|
9
|
-
import { t as MonitorSliceType } from "./index-
|
|
10
|
-
import { t as OrganizationSliceType } from "./index-
|
|
7
|
+
import { c as DeviceSliceType, i as DeviceGroup, r as DeviceFilter, u as InventoryAttributes } from "./index-uhmZ9qaP.js";
|
|
8
|
+
import { t as AppSliceType } from "./index-BMi8ZqpV.js";
|
|
9
|
+
import { t as MonitorSliceType } from "./index-CD39K38q.js";
|
|
10
|
+
import { t as OrganizationSliceType } from "./index-I82Wu-Ah.js";
|
|
11
11
|
import { Reducer, UnknownAction } from "@reduxjs/toolkit";
|
|
12
12
|
import { isDarkMode as isDarkMode$1 } from "@northern.tech/utils/helpers";
|
|
13
13
|
import { TypedUseSelectorHook } from "react-redux";
|
|
@@ -302,4 +302,4 @@ declare const createAppAsyncThunk: import("@reduxjs/toolkit").CreateAsyncThunkFu
|
|
|
302
302
|
};
|
|
303
303
|
//#endregion
|
|
304
304
|
export { mapFiltersToTerms as A, getAttributeScopeLabel as C, isDarkMode$1 as D, groupDeploymentStats as E, progress as F, statCollector as I, stringToBoolean as L, mapUserRolesToUiPermissions as M, mergePermissions as N, listItemMapper as O, parseSubscriptionPreview as P, stripOrchestratorManifestPrefix as R, generateDeploymentGroupDetails as S, groupDeploymentDevicesStats as T, convertToBackendSPLimits as _, commonErrorFallback as a, extractErrorMessage$1 as b, getConfiguredStore as c, useAppDispatch as d, useAppSelector as f, convertDeviceListStateToFilters as g, FilterTerm as h, RootState as i, mapTermsToFilters as j, mapDeviceAttributes as k, resetEnvironment as l, ErrorWithResponse as m, AppStore as n, commonErrorHandler as o, DeploymentStats as p, MenderEnvironment as r, createAppAsyncThunk as s, AppDispatch as t, sessionReducer as u, dispatchDelayed as v, getDeploymentState as w, filtersFilter as x, ensureVersionString as y, stripUndefined as z };
|
|
305
|
-
//# sourceMappingURL=store-
|
|
305
|
+
//# sourceMappingURL=store-BQcycBPp.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { H as emptyUiPermissions, S as Role,
|
|
2
|
-
import { o as UserSliceType } from "./index-
|
|
3
|
-
import { a as ReleaseSliceType } from "./index-
|
|
4
|
-
import { a as PricePreview } from "./types-
|
|
1
|
+
import { H as emptyUiPermissions, S as Role, Tt as FilterOperator, m as DeviceIssueOptionKey } from "./constants-hMMMdt0R.cjs";
|
|
2
|
+
import { o as UserSliceType } from "./index-DlTiYWBe.cjs";
|
|
3
|
+
import { a as ReleaseSliceType } from "./index-B9jUHGsM.cjs";
|
|
4
|
+
import { a as PricePreview } from "./types-DtTmD7Yn.cjs";
|
|
5
5
|
import { n as OnboardingSliceType } from "./index-CoObjWL4.cjs";
|
|
6
6
|
import { o as DeploymentsSliceType, t as Deployment } from "./index-mvxjivTJ.cjs";
|
|
7
|
-
import { c as DeviceSliceType, i as DeviceGroup, r as DeviceFilter, u as InventoryAttributes } from "./index-
|
|
8
|
-
import { t as AppSliceType } from "./index-
|
|
9
|
-
import { t as MonitorSliceType } from "./index-
|
|
10
|
-
import { t as OrganizationSliceType } from "./index-
|
|
7
|
+
import { c as DeviceSliceType, i as DeviceGroup, r as DeviceFilter, u as InventoryAttributes } from "./index-D8O1HJ8Q.cjs";
|
|
8
|
+
import { t as AppSliceType } from "./index-BoZjwQHk.cjs";
|
|
9
|
+
import { t as MonitorSliceType } from "./index-C-6WkMAo.cjs";
|
|
10
|
+
import { t as OrganizationSliceType } from "./index-Dd_guNwA.cjs";
|
|
11
11
|
import { AttributeFilterPredicate, AttributeResponse, FilterV2, InvoiceLineItem, Scope } from "@northern.tech/types/MenderTypes";
|
|
12
12
|
import { Reducer, UnknownAction } from "@reduxjs/toolkit";
|
|
13
13
|
import { AxiosError } from "axios";
|
|
@@ -302,4 +302,4 @@ declare const createAppAsyncThunk: import("@reduxjs/toolkit").CreateAsyncThunkFu
|
|
|
302
302
|
};
|
|
303
303
|
//#endregion
|
|
304
304
|
export { mapFiltersToTerms as A, getAttributeScopeLabel as C, isDarkMode as D, groupDeploymentStats as E, progress as F, statCollector as I, stringToBoolean as L, mapUserRolesToUiPermissions as M, mergePermissions as N, listItemMapper as O, parseSubscriptionPreview as P, stripOrchestratorManifestPrefix as R, generateDeploymentGroupDetails as S, groupDeploymentDevicesStats as T, convertToBackendSPLimits as _, commonErrorFallback as a, extractErrorMessage as b, getConfiguredStore as c, useAppDispatch as d, useAppSelector as f, convertDeviceListStateToFilters as g, FilterTerm as h, RootState as i, mapTermsToFilters as j, mapDeviceAttributes as k, resetEnvironment as l, ErrorWithResponse as m, AppStore as n, commonErrorHandler as o, DeploymentStats as p, MenderEnvironment as r, createAppAsyncThunk as s, AppDispatch as t, sessionReducer as u, dispatchDelayed as v, getDeploymentState as w, filtersFilter as x, ensureVersionString as y, stripUndefined as z };
|
|
305
|
-
//# sourceMappingURL=store-
|
|
305
|
+
//# sourceMappingURL=store-CrLzRDCx.d.cts.map
|
package/dist/store.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as commonErrorFallback, c as getConfiguredStore, d as useAppDispatch, f as useAppSelector, i as RootState, l as resetEnvironment, m as ErrorWithResponse, n as AppStore, o as commonErrorHandler, r as MenderEnvironment, s as createAppAsyncThunk, t as AppDispatch, u as sessionReducer } from "./store-
|
|
1
|
+
import { a as commonErrorFallback, c as getConfiguredStore, d as useAppDispatch, f as useAppSelector, i as RootState, l as resetEnvironment, m as ErrorWithResponse, n as AppStore, o as commonErrorHandler, r as MenderEnvironment, s as createAppAsyncThunk, t as AppDispatch, u as sessionReducer } from "./store-CrLzRDCx.cjs";
|
|
2
2
|
export { AppDispatch, AppStore, type ErrorWithResponse, MenderEnvironment, RootState, commonErrorFallback, commonErrorHandler, createAppAsyncThunk, getConfiguredStore, resetEnvironment, sessionReducer, useAppDispatch, useAppSelector };
|
package/dist/store.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as commonErrorFallback, c as getConfiguredStore, d as useAppDispatch, f as useAppSelector, i as RootState, l as resetEnvironment, m as ErrorWithResponse, n as AppStore, o as commonErrorHandler, r as MenderEnvironment, s as createAppAsyncThunk, t as AppDispatch, u as sessionReducer } from "./store-
|
|
1
|
+
import { a as commonErrorFallback, c as getConfiguredStore, d as useAppDispatch, f as useAppSelector, i as RootState, l as resetEnvironment, m as ErrorWithResponse, n as AppStore, o as commonErrorHandler, r as MenderEnvironment, s as createAppAsyncThunk, t as AppDispatch, u as sessionReducer } from "./store-BQcycBPp.js";
|
|
2
2
|
export { AppDispatch, AppStore, type ErrorWithResponse, MenderEnvironment, RootState, commonErrorFallback, commonErrorHandler, createAppAsyncThunk, getConfiguredStore, resetEnvironment, sessionReducer, useAppDispatch, useAppSelector };
|
package/dist/store.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as settingsKeys } from "./constants-yul-O5hD.js";
|
|
2
2
|
import appSlice_default from "./appSlice/index.js";
|
|
3
3
|
import deploymentsSlice_default from "./deploymentsSlice/index.js";
|
|
4
4
|
import devicesSlice_default from "./devicesSlice/index.js";
|
package/dist/thunks.cjs
CHANGED
|
@@ -855,6 +855,7 @@ const getDeviceInfo = require_store.createAppAsyncThunk(`${require_devicesSlice_
|
|
|
855
855
|
tasks.push(dispatch(require_monitorSlice_thunks.getLatestDeviceAlerts({ id: deviceId })));
|
|
856
856
|
tasks.push(dispatch(require_monitorSlice_thunks.getDeviceMonitorConfig(deviceId)));
|
|
857
857
|
}
|
|
858
|
+
if (device.tier === "system") tasks.push(dispatch(getDeviceComponents(deviceId)));
|
|
858
859
|
}
|
|
859
860
|
return Promise.all(tasks);
|
|
860
861
|
});
|
|
@@ -1842,16 +1843,19 @@ const ssoConfigActions = {
|
|
|
1842
1843
|
error: "retrieving"
|
|
1843
1844
|
}
|
|
1844
1845
|
};
|
|
1845
|
-
const ssoConfigActionErrorHandler = (err, type) => (dispatch) =>
|
|
1846
|
+
const ssoConfigActionErrorHandler = (err, type, rejectWithValue) => (dispatch) => {
|
|
1847
|
+
const errorContext = `There was an error ${ssoConfigActions[type].error} the SSO configuration.`;
|
|
1848
|
+
return rejectWithValue ? Promise.reject(rejectWithValue(`${errorContext} ${require_utils.extractErrorMessage(err, require_store.commonErrorFallback)}`)) : require_store.commonErrorHandler(err, errorContext, dispatch, require_store.commonErrorFallback);
|
|
1849
|
+
};
|
|
1846
1850
|
const ssoConfigActionSuccessHandler = (type) => (dispatch) => dispatch(setSnackbar$1(`The SSO configuration was ${ssoConfigActions[type].success} successfully`));
|
|
1847
|
-
const storeSsoConfig = require_store.createAppAsyncThunk(`${require_organizationSlice_index.sliceName}/storeSsoConfig`, ({ config, contentType }, { dispatch }) => require_api_general_api.default.post(_northern_tech_utils_constants.ssoIdpApiUrlv1, config, { headers: {
|
|
1851
|
+
const storeSsoConfig = require_store.createAppAsyncThunk(`${require_organizationSlice_index.sliceName}/storeSsoConfig`, ({ config, contentType }, { dispatch, rejectWithValue }) => require_api_general_api.default.post(_northern_tech_utils_constants.ssoIdpApiUrlv1, config, { headers: {
|
|
1848
1852
|
"Content-Type": contentType,
|
|
1849
1853
|
Accept: "application/json"
|
|
1850
|
-
} }).catch((err) => dispatch(ssoConfigActionErrorHandler(err, "create"))).then(() => Promise.all([dispatch(ssoConfigActionSuccessHandler("create")), dispatch(getSsoConfigs())])));
|
|
1851
|
-
const changeSsoConfig = require_store.createAppAsyncThunk(`${require_organizationSlice_index.sliceName}/changeSsoConfig`, ({ config, contentType }, { dispatch }) => require_api_general_api.default.put(`${_northern_tech_utils_constants.ssoIdpApiUrlv1}/${config.id}`, config.config, { headers: {
|
|
1854
|
+
} }).catch((err) => dispatch(ssoConfigActionErrorHandler(err, "create", rejectWithValue))).then(() => Promise.all([dispatch(ssoConfigActionSuccessHandler("create")), dispatch(getSsoConfigs())])));
|
|
1855
|
+
const changeSsoConfig = require_store.createAppAsyncThunk(`${require_organizationSlice_index.sliceName}/changeSsoConfig`, ({ config, contentType }, { dispatch, rejectWithValue }) => require_api_general_api.default.put(`${_northern_tech_utils_constants.ssoIdpApiUrlv1}/${config.id}`, config.config, { headers: {
|
|
1852
1856
|
"Content-Type": contentType,
|
|
1853
1857
|
Accept: "application/json"
|
|
1854
|
-
} }).catch((err) => dispatch(ssoConfigActionErrorHandler(err, "edit"))).then(() => Promise.all([dispatch(ssoConfigActionSuccessHandler("edit")), dispatch(getSsoConfigs())])));
|
|
1858
|
+
} }).catch((err) => dispatch(ssoConfigActionErrorHandler(err, "edit", rejectWithValue))).then(() => Promise.all([dispatch(ssoConfigActionSuccessHandler("edit")), dispatch(getSsoConfigs())])));
|
|
1855
1859
|
const deleteSsoConfig = require_store.createAppAsyncThunk(`${require_organizationSlice_index.sliceName}/deleteSsoConfig`, ({ id }, { dispatch, getState }) => require_api_general_api.default.delete(`${_northern_tech_utils_constants.ssoIdpApiUrlv1}/${id}`).catch((err) => dispatch(ssoConfigActionErrorHandler(err, "remove"))).then(() => {
|
|
1856
1860
|
const configs = getState().organization.ssoConfigs.filter((item) => id !== item.id);
|
|
1857
1861
|
return Promise.all([dispatch(ssoConfigActionSuccessHandler("remove")), dispatch(require_organizationSlice_index.actions.receiveSsoConfigs(configs))]);
|