@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.
Files changed (156) hide show
  1. package/dist/actions.d.cts +6 -6
  2. package/dist/actions.d.ts +6 -6
  3. package/dist/appSlice/index.d.cts +1 -1
  4. package/dist/appSlice/index.d.ts +1 -1
  5. package/dist/appSlice/index.js +1 -1
  6. package/dist/appSlice/mocks.d.cts +1 -1
  7. package/dist/appSlice/mocks.d.ts +1 -1
  8. package/dist/appSlice/selectors.d.cts +1 -1
  9. package/dist/appSlice/selectors.d.ts +1 -1
  10. package/dist/appSlice/thunks.d.cts +2 -2
  11. package/dist/appSlice/thunks.d.ts +2 -2
  12. package/dist/auth.d.cts +1 -1
  13. package/dist/auth.d.ts +1 -1
  14. package/dist/auth.js +1 -1
  15. package/dist/commonConstants.d.cts +1 -1
  16. package/dist/commonConstants.d.ts +1 -1
  17. package/dist/commonConstants.js +1 -1
  18. package/dist/commonSelectors.d.cts +15 -15
  19. package/dist/commonSelectors.d.ts +15 -15
  20. package/dist/commonSelectors.js +1 -1
  21. package/dist/{constants-CCkKh9KM.d.ts → constants-3gsHyxWr.d.ts} +3 -3
  22. package/dist/{constants-B3NH1IQi.d.ts → constants-DOnQ-UzD.d.cts} +2 -3
  23. package/dist/{constants-B3NH1IQi.d.cts → constants-DOnQ-UzD.d.ts} +2 -3
  24. package/dist/{constants-CUwYPOYK.d.cts → constants-hMMMdt0R.d.cts} +3 -3
  25. package/dist/{constants-DjiC_FnZ.js → constants-yul-O5hD.js} +3 -3
  26. package/dist/{constants-DjiC_FnZ.js.map → constants-yul-O5hD.js.map} +1 -1
  27. package/dist/constants.cjs +1 -1
  28. package/dist/constants.d.cts +2 -2
  29. package/dist/constants.d.ts +2 -2
  30. package/dist/constants.js +2 -2
  31. package/dist/deploymentsSlice/constants.js +1 -1
  32. package/dist/deploymentsSlice/index.js +1 -1
  33. package/dist/deploymentsSlice/selectors.js +1 -1
  34. package/dist/deploymentsSlice/thunks.d.cts +4 -4
  35. package/dist/deploymentsSlice/thunks.d.ts +4 -4
  36. package/dist/devicesSlice/constants.d.cts +1 -1
  37. package/dist/devicesSlice/constants.d.ts +1 -1
  38. package/dist/devicesSlice/constants.js +1 -1
  39. package/dist/devicesSlice/index.d.cts +1 -1
  40. package/dist/devicesSlice/index.d.ts +1 -1
  41. package/dist/devicesSlice/index.js +1 -1
  42. package/dist/devicesSlice/mocks.js +1 -1
  43. package/dist/devicesSlice/selectors.d.cts +1 -1
  44. package/dist/devicesSlice/selectors.d.ts +1 -1
  45. package/dist/devicesSlice/selectors.js +1 -1
  46. package/dist/devicesSlice/thunks.d.cts +4 -4
  47. package/dist/devicesSlice/thunks.d.ts +4 -4
  48. package/dist/{index-BWtIaimn.d.cts → index-B9jUHGsM.d.cts} +2 -2
  49. package/dist/{index-CThE5Gfh.d.ts → index-BMi8ZqpV.d.ts} +2 -2
  50. package/dist/{index-CaNZaXie.d.cts → index-BoZjwQHk.d.cts} +2 -2
  51. package/dist/{index-BcrZxKLw.d.cts → index-C-6WkMAo.d.cts} +2 -2
  52. package/dist/{index-C2za83Qs.d.ts → index-CD39K38q.d.ts} +2 -2
  53. package/dist/{index-7jVuB4tG.d.cts → index-D8O1HJ8Q.d.cts} +2 -2
  54. package/dist/{index-o_m7WKiR.d.ts → index-DXfbW2gi.d.ts} +2 -2
  55. package/dist/{index-CzQRHJ6f.d.cts → index-Dd_guNwA.d.cts} +2 -2
  56. package/dist/{index-DNYeo7wc.d.cts → index-DlTiYWBe.d.cts} +2 -2
  57. package/dist/{index-CvMpbsOo.d.ts → index-I82Wu-Ah.d.ts} +2 -2
  58. package/dist/{index-C1vNDCYR.d.ts → index-KQNyWRoG.d.ts} +2 -2
  59. package/dist/{index-DOPRnlaC.d.ts → index-uhmZ9qaP.d.ts} +2 -2
  60. package/dist/locationutils.d.cts +2 -2
  61. package/dist/locationutils.d.ts +2 -2
  62. package/dist/locationutils.js +1 -1
  63. package/dist/mockState.d.cts +1 -1
  64. package/dist/mockState.d.ts +1 -1
  65. package/dist/monitorSlice/constants.d.cts +1 -1
  66. package/dist/monitorSlice/constants.d.ts +1 -1
  67. package/dist/monitorSlice/index.d.cts +1 -1
  68. package/dist/monitorSlice/index.d.ts +1 -1
  69. package/dist/monitorSlice/index.js +1 -1
  70. package/dist/monitorSlice/mocks.d.cts +1 -1
  71. package/dist/monitorSlice/mocks.d.ts +1 -1
  72. package/dist/monitorSlice/mocks.js +1 -1
  73. package/dist/monitorSlice/selectors.d.cts +1 -1
  74. package/dist/monitorSlice/selectors.d.ts +1 -1
  75. package/dist/monitorSlice/thunks.d.cts +4 -4
  76. package/dist/monitorSlice/thunks.d.ts +4 -4
  77. package/dist/monitorSlice/thunks.js +1 -1
  78. package/dist/onboardingSlice/thunks.d.cts +3 -3
  79. package/dist/onboardingSlice/thunks.d.ts +3 -3
  80. package/dist/organizationSlice/constants.js +1 -1
  81. package/dist/organizationSlice/index.d.cts +1 -1
  82. package/dist/organizationSlice/index.d.ts +1 -1
  83. package/dist/organizationSlice/index.js +1 -1
  84. package/dist/organizationSlice/mocks.d.cts +2 -2
  85. package/dist/organizationSlice/mocks.d.ts +2 -2
  86. package/dist/organizationSlice/mocks.js +1 -1
  87. package/dist/organizationSlice/selectors.d.cts +1 -1
  88. package/dist/organizationSlice/selectors.d.ts +1 -1
  89. package/dist/organizationSlice/selectors.js +1 -1
  90. package/dist/organizationSlice/thunks.d.cts +4 -4
  91. package/dist/organizationSlice/thunks.d.ts +4 -4
  92. package/dist/organizationSlice/types.d.cts +1 -1
  93. package/dist/organizationSlice/types.d.ts +1 -1
  94. package/dist/releasesSlice/constants.cjs +0 -2
  95. package/dist/releasesSlice/constants.cjs.map +1 -1
  96. package/dist/releasesSlice/constants.d.cts +2 -2
  97. package/dist/releasesSlice/constants.d.ts +2 -2
  98. package/dist/releasesSlice/constants.js +1 -2
  99. package/dist/releasesSlice/constants.js.map +1 -1
  100. package/dist/releasesSlice/index.d.cts +1 -1
  101. package/dist/releasesSlice/index.d.ts +1 -1
  102. package/dist/releasesSlice/index.js +1 -1
  103. package/dist/releasesSlice/mocks.js +1 -1
  104. package/dist/releasesSlice/selectors.d.cts +1 -1
  105. package/dist/releasesSlice/selectors.d.ts +1 -1
  106. package/dist/releasesSlice/thunks.cjs +1 -1
  107. package/dist/releasesSlice/thunks.cjs.map +1 -1
  108. package/dist/releasesSlice/thunks.d.cts +4 -4
  109. package/dist/releasesSlice/thunks.d.ts +4 -4
  110. package/dist/releasesSlice/thunks.js +2 -2
  111. package/dist/releasesSlice/thunks.js.map +1 -1
  112. package/dist/{selectors-DeqP_VLU.d.cts → selectors-CR0q7rXC.d.cts} +2 -2
  113. package/dist/{selectors-XzNyGFJI.d.cts → selectors-CdCZGn7e.d.cts} +2 -2
  114. package/dist/{selectors-jusUdUdc.d.cts → selectors-CdllyZyW.d.cts} +2 -2
  115. package/dist/{selectors-aLOjKkxN.d.cts → selectors-CftbLtXH.d.cts} +2 -2
  116. package/dist/{selectors-DQKg681M.d.ts → selectors-D2j3_Mnp.d.ts} +2 -2
  117. package/dist/{selectors-CAo0fzIZ.d.ts → selectors-D78O3T1o.d.ts} +2 -2
  118. package/dist/{selectors-vk0GUGHf.d.ts → selectors-D_UFk4Uz.d.ts} +2 -2
  119. package/dist/{selectors-DDsFLtxz.d.cts → selectors-DuHGqmMJ.d.cts} +2 -2
  120. package/dist/{selectors-1394DVvN.d.ts → selectors-SvKXGJM5.d.ts} +2 -2
  121. package/dist/{selectors-Ba9LUr_0.d.ts → selectors-eYLuQW4M.d.ts} +2 -2
  122. package/dist/{selectors-DFSv4A_m.d.ts → selectors-qClZ9EXM.d.ts} +3 -7
  123. package/dist/{selectors-LhR8TyWU.d.cts → selectors-rto0SO4z.d.cts} +3 -7
  124. package/dist/selectors.d.cts +6 -6
  125. package/dist/selectors.d.ts +6 -6
  126. package/dist/sockethook.js +1 -1
  127. package/dist/{store-v5V-bbB_.d.ts → store-BQcycBPp.d.ts} +9 -9
  128. package/dist/{store-CCvk8X-k.d.cts → store-CrLzRDCx.d.cts} +9 -9
  129. package/dist/store.d.cts +1 -1
  130. package/dist/store.d.ts +1 -1
  131. package/dist/store.js +1 -1
  132. package/dist/thunks.cjs +9 -5
  133. package/dist/thunks.cjs.map +1 -1
  134. package/dist/thunks.js +10 -6
  135. package/dist/thunks.js.map +1 -1
  136. package/dist/{types-B2gphGj8.d.ts → types-DB1IOQX8.d.ts} +2 -2
  137. package/dist/{types-CLASWtVP.d.cts → types-DtTmD7Yn.d.cts} +2 -2
  138. package/dist/usersSlice/constants.js +1 -1
  139. package/dist/usersSlice/index.d.cts +1 -1
  140. package/dist/usersSlice/index.d.ts +1 -1
  141. package/dist/usersSlice/index.js +1 -1
  142. package/dist/usersSlice/mocks.d.cts +1 -1
  143. package/dist/usersSlice/mocks.d.ts +1 -1
  144. package/dist/usersSlice/mocks.js +1 -1
  145. package/dist/usersSlice/selectors.d.cts +1 -1
  146. package/dist/usersSlice/selectors.d.ts +1 -1
  147. package/dist/usersSlice/selectors.js +1 -1
  148. package/dist/usersSlice/thunks.d.cts +4 -4
  149. package/dist/usersSlice/thunks.d.ts +4 -4
  150. package/dist/utils.cjs +1 -2
  151. package/dist/utils.cjs.map +1 -1
  152. package/dist/utils.d.cts +1 -1
  153. package/dist/utils.d.ts +1 -1
  154. package/dist/utils.js +2 -3
  155. package/dist/utils.js.map +1 -1
  156. package/package.json +1 -1
@@ -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-CAo0fzIZ.js";
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-1394DVvN.js";
4
- import { n as getIssueCountsByType, t as MonitorState } from "./selectors-vk0GUGHf.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-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-DFSv4A_m.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-Ba9LUr_0.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-DQKg681M.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-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 };
@@ -1,4 +1,4 @@
1
- import { dt as DEVICE_MESSAGE_TYPES, h as apiUrl, ut as DEVICE_MESSAGE_PROTOCOLS } from "./constants-DjiC_FnZ.js";
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, m as DeviceIssueOptionKey, wt as FilterOperator } from "./constants-CCkKh9KM.js";
2
- import { o as UserSliceType } from "./index-C1vNDCYR.js";
3
- import { a as ReleaseSliceType } from "./index-o_m7WKiR.js";
4
- import { a as PricePreview } from "./types-B2gphGj8.js";
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-DOPRnlaC.js";
8
- import { t as AppSliceType } from "./index-CThE5Gfh.js";
9
- import { t as MonitorSliceType } from "./index-C2za83Qs.js";
10
- import { t as OrganizationSliceType } from "./index-CvMpbsOo.js";
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-v5V-bbB_.d.ts.map
305
+ //# sourceMappingURL=store-BQcycBPp.d.ts.map
@@ -1,13 +1,13 @@
1
- import { H as emptyUiPermissions, S as Role, m as DeviceIssueOptionKey, wt as FilterOperator } from "./constants-CUwYPOYK.cjs";
2
- import { o as UserSliceType } from "./index-DNYeo7wc.cjs";
3
- import { a as ReleaseSliceType } from "./index-BWtIaimn.cjs";
4
- import { a as PricePreview } from "./types-CLASWtVP.cjs";
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-7jVuB4tG.cjs";
8
- import { t as AppSliceType } from "./index-CaNZaXie.cjs";
9
- import { t as MonitorSliceType } from "./index-BcrZxKLw.cjs";
10
- import { t as OrganizationSliceType } from "./index-CzQRHJ6f.cjs";
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-CCvk8X-k.d.cts.map
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-CCvk8X-k.cjs";
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-v5V-bbB_.js";
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 { Q as settingsKeys } from "./constants-DjiC_FnZ.js";
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) => require_store.commonErrorHandler(err, `There was an error ${ssoConfigActions[type].error} the SSO configuration.`, dispatch, require_store.commonErrorFallback);
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))]);