@northern.tech/store 0.46.1 → 0.46.3

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 (164) hide show
  1. package/dist/actions.d.cts +6 -6
  2. package/dist/actions.d.ts +6 -6
  3. package/dist/api/general-api.d.cts +3 -3
  4. package/dist/api/general-api.d.ts +3 -3
  5. package/dist/api/general-api.js +1 -1
  6. package/dist/appSlice/index.d.cts +1 -1
  7. package/dist/appSlice/index.d.ts +1 -1
  8. package/dist/appSlice/index.js +1 -1
  9. package/dist/appSlice/mocks.d.cts +2 -3
  10. package/dist/appSlice/mocks.d.ts +2 -3
  11. package/dist/appSlice/selectors.cjs +1 -2
  12. package/dist/appSlice/selectors.cjs.map +1 -1
  13. package/dist/appSlice/selectors.d.cts +26 -27
  14. package/dist/appSlice/selectors.d.ts +26 -27
  15. package/dist/appSlice/selectors.js +1 -2
  16. package/dist/appSlice/selectors.js.map +1 -1
  17. package/dist/appSlice/thunks.d.cts +5 -6
  18. package/dist/appSlice/thunks.d.ts +5 -6
  19. package/dist/auth.d.cts +6 -7
  20. package/dist/auth.d.ts +6 -7
  21. package/dist/auth.js +1 -1
  22. package/dist/commonConstants.d.cts +1 -1
  23. package/dist/commonConstants.d.ts +1 -1
  24. package/dist/commonConstants.js +1 -1
  25. package/dist/commonSelectors.d.cts +30 -31
  26. package/dist/commonSelectors.d.ts +30 -31
  27. package/dist/commonSelectors.js +1 -1
  28. package/dist/{constants-B_H4squx.d.ts → constants-BJuY-ODE.d.ts} +3 -3
  29. package/dist/{constants-Rl3FJzFf.d.cts → constants-C2O55iZu.d.cts} +3 -3
  30. package/dist/{constants-eWaA3HCq.js → constants-D5hACLhF.js} +3 -3
  31. package/dist/{constants-eWaA3HCq.js.map → constants-D5hACLhF.js.map} +1 -1
  32. package/dist/constants.cjs +1 -1
  33. package/dist/constants.d.cts +2 -2
  34. package/dist/constants.d.ts +2 -2
  35. package/dist/constants.js +2 -2
  36. package/dist/deploymentsSlice/constants.js +1 -1
  37. package/dist/deploymentsSlice/index.js +1 -1
  38. package/dist/deploymentsSlice/mocks.d.cts +1 -2
  39. package/dist/deploymentsSlice/mocks.d.ts +1 -2
  40. package/dist/deploymentsSlice/selectors.d.cts +15 -16
  41. package/dist/deploymentsSlice/selectors.d.ts +15 -16
  42. package/dist/deploymentsSlice/selectors.js +1 -1
  43. package/dist/deploymentsSlice/thunks.d.cts +20 -21
  44. package/dist/deploymentsSlice/thunks.d.ts +20 -21
  45. package/dist/devicesSlice/constants.d.cts +1 -1
  46. package/dist/devicesSlice/constants.d.ts +1 -1
  47. package/dist/devicesSlice/constants.js +1 -1
  48. package/dist/devicesSlice/index.d.cts +1 -1
  49. package/dist/devicesSlice/index.d.ts +1 -1
  50. package/dist/devicesSlice/index.js +1 -1
  51. package/dist/devicesSlice/mocks.d.cts +1 -2
  52. package/dist/devicesSlice/mocks.d.ts +1 -2
  53. package/dist/devicesSlice/mocks.js +1 -1
  54. package/dist/devicesSlice/selectors.cjs +4 -3
  55. package/dist/devicesSlice/selectors.cjs.map +1 -1
  56. package/dist/devicesSlice/selectors.d.cts +34 -35
  57. package/dist/devicesSlice/selectors.d.ts +34 -35
  58. package/dist/devicesSlice/selectors.js +5 -4
  59. package/dist/devicesSlice/selectors.js.map +1 -1
  60. package/dist/devicesSlice/thunks.d.cts +52 -53
  61. package/dist/devicesSlice/thunks.d.ts +52 -53
  62. package/dist/{index-DgiMpzq3.d.ts → index--SKVGToc.d.ts} +2 -2
  63. package/dist/{index-DeOpb2oK.d.cts → index-BKU1G9-x.d.cts} +2 -2
  64. package/dist/{index-CGT1O9T5.d.ts → index-BMsafOyJ.d.ts} +2 -2
  65. package/dist/{index-ChKTa1aL.d.ts → index-BVNS-Aut.d.ts} +2 -2
  66. package/dist/{index-Ctj2r57a.d.cts → index-BfmRpbiJ.d.cts} +2 -2
  67. package/dist/{index-BAGyeC-q.d.ts → index-CRqnH_go.d.ts} +2 -2
  68. package/dist/{index-Cf6_W5Y7.d.cts → index-CqhXqGLt.d.cts} +2 -2
  69. package/dist/{index-BpamudGf.d.ts → index-D9GJhX1I.d.ts} +2 -2
  70. package/dist/{index-C_LGDJN2.d.cts → index-HjOSTTGF.d.cts} +2 -2
  71. package/dist/{index-DnKVKM0G.d.cts → index-KxRmyFLr.d.cts} +2 -2
  72. package/dist/{index-ExguKUh-.d.cts → index-fGVC5s1C.d.cts} +2 -2
  73. package/dist/{index-Bs0c1-WY.d.ts → index-xxqlerg5.d.ts} +2 -2
  74. package/dist/liststatehook.d.cts +2 -3
  75. package/dist/liststatehook.d.ts +2 -3
  76. package/dist/locationutils.d.cts +29 -30
  77. package/dist/locationutils.d.ts +29 -30
  78. package/dist/locationutils.js +1 -1
  79. package/dist/monitorSlice/constants.d.cts +1 -1
  80. package/dist/monitorSlice/constants.d.ts +1 -1
  81. package/dist/monitorSlice/index.d.cts +1 -1
  82. package/dist/monitorSlice/index.d.ts +1 -1
  83. package/dist/monitorSlice/index.js +1 -1
  84. package/dist/monitorSlice/mocks.d.cts +2 -3
  85. package/dist/monitorSlice/mocks.d.ts +2 -3
  86. package/dist/monitorSlice/mocks.js +1 -1
  87. package/dist/monitorSlice/selectors.d.cts +2 -3
  88. package/dist/monitorSlice/selectors.d.ts +2 -3
  89. package/dist/monitorSlice/thunks.d.cts +9 -10
  90. package/dist/monitorSlice/thunks.d.ts +9 -10
  91. package/dist/monitorSlice/thunks.js +1 -1
  92. package/dist/onboardingSlice/mocks.d.cts +1 -2
  93. package/dist/onboardingSlice/mocks.d.ts +1 -2
  94. package/dist/onboardingSlice/selectors.d.cts +2 -3
  95. package/dist/onboardingSlice/selectors.d.ts +2 -3
  96. package/dist/onboardingSlice/thunks.d.cts +9 -10
  97. package/dist/onboardingSlice/thunks.d.ts +9 -10
  98. package/dist/organizationSlice/constants.js +1 -1
  99. package/dist/organizationSlice/index.d.cts +1 -1
  100. package/dist/organizationSlice/index.d.ts +1 -1
  101. package/dist/organizationSlice/index.js +1 -1
  102. package/dist/organizationSlice/mocks.d.cts +3 -4
  103. package/dist/organizationSlice/mocks.d.ts +3 -4
  104. package/dist/organizationSlice/mocks.js +1 -1
  105. package/dist/organizationSlice/selectors.cjs +6 -6
  106. package/dist/organizationSlice/selectors.cjs.map +1 -1
  107. package/dist/organizationSlice/selectors.d.cts +33 -34
  108. package/dist/organizationSlice/selectors.d.ts +33 -34
  109. package/dist/organizationSlice/selectors.js +7 -7
  110. package/dist/organizationSlice/selectors.js.map +1 -1
  111. package/dist/organizationSlice/thunks.d.cts +60 -59
  112. package/dist/organizationSlice/thunks.d.ts +60 -59
  113. package/dist/organizationSlice/types.d.cts +1 -1
  114. package/dist/organizationSlice/types.d.ts +1 -1
  115. package/dist/releasesSlice/index.d.cts +1 -1
  116. package/dist/releasesSlice/index.d.ts +1 -1
  117. package/dist/releasesSlice/index.js +1 -1
  118. package/dist/releasesSlice/mocks.d.cts +1 -2
  119. package/dist/releasesSlice/mocks.d.ts +1 -2
  120. package/dist/releasesSlice/mocks.js +1 -1
  121. package/dist/releasesSlice/selectors.d.cts +35 -36
  122. package/dist/releasesSlice/selectors.d.ts +35 -36
  123. package/dist/releasesSlice/thunks.d.cts +40 -41
  124. package/dist/releasesSlice/thunks.d.ts +40 -41
  125. package/dist/releasesSlice/thunks.js +1 -1
  126. package/dist/selectors.cjs +1 -1
  127. package/dist/selectors.d.cts +2 -2
  128. package/dist/selectors.d.ts +2 -2
  129. package/dist/selectors.js +2 -2
  130. package/dist/sockethook.d.cts +1 -2
  131. package/dist/sockethook.d.ts +1 -2
  132. package/dist/sockethook.js +1 -1
  133. package/dist/{store-CmvNnqoc.d.ts → store-DLp6ajT8.d.ts} +9 -9
  134. package/dist/{store-C-W8nPdd.d.cts → store-Dw8Uo_Df.d.cts} +9 -9
  135. package/dist/store.d.cts +1 -1
  136. package/dist/store.d.ts +1 -1
  137. package/dist/store.js +1 -1
  138. package/dist/storehooks.d.cts +5 -6
  139. package/dist/storehooks.d.ts +5 -6
  140. package/dist/storehooks.js +1 -1
  141. package/dist/thunks.cjs +17 -13
  142. package/dist/thunks.cjs.map +1 -1
  143. package/dist/thunks.js +18 -14
  144. package/dist/thunks.js.map +1 -1
  145. package/dist/{types-B80ckxiy.d.cts → types-B67YW1jV.d.cts} +2 -2
  146. package/dist/{types-B3qGQoMx.d.ts → types-DY0J79yF.d.ts} +2 -2
  147. package/dist/useDeploymentDevice.d.cts +1 -2
  148. package/dist/useDeploymentDevice.d.ts +1 -2
  149. package/dist/usersSlice/constants.js +1 -1
  150. package/dist/usersSlice/index.d.cts +1 -1
  151. package/dist/usersSlice/index.d.ts +1 -1
  152. package/dist/usersSlice/index.js +1 -1
  153. package/dist/usersSlice/mocks.d.cts +2 -3
  154. package/dist/usersSlice/mocks.d.ts +2 -3
  155. package/dist/usersSlice/mocks.js +1 -1
  156. package/dist/usersSlice/selectors.d.cts +27 -28
  157. package/dist/usersSlice/selectors.d.ts +27 -28
  158. package/dist/usersSlice/selectors.js +1 -1
  159. package/dist/usersSlice/thunks.d.cts +82 -83
  160. package/dist/usersSlice/thunks.d.ts +48 -49
  161. package/dist/utils.d.cts +1 -1
  162. package/dist/utils.d.ts +1 -1
  163. package/dist/utils.js +1 -1
  164. package/package.json +6 -5
@@ -147,6 +147,6 @@ exports.getUsersById = require_usersSlice_selectors.getUsersById;
147
147
  exports.getUsersList = require_usersSlice_selectors.getUsersList;
148
148
  exports.getVersionInformation = require_appSlice_selectors.getVersionInformation;
149
149
  exports.getWebhookEventInfo = require_organizationSlice_selectors.getWebhookEventInfo;
150
- exports.getWebhookEventTotal = require_organizationSlice_selectors.getWebhookEventTotal;
151
150
  exports.getWebhookEvents = require_organizationSlice_selectors.getWebhookEvents;
151
+ exports.getWebhookEventsTotal = require_organizationSlice_selectors.getWebhookEventsTotal;
152
152
  exports.getWebhooks = require_organizationSlice_selectors.getWebhooks;
@@ -4,7 +4,7 @@ import { DEPLOYMENT_CUTOFF, getDeploymentById, getDeploymentsById, getDeployment
4
4
  import { getAcceptedDevices, getAttributesList, getCombinedLimit, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimitStats, getDeviceLimits, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getEnabledTiers, getFilteringAttributes, getGroupData, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes, getTestDeviceCount, getTestDeviceLimit } from "./devicesSlice/selectors.cjs";
5
5
  import { getIssueCountsByType } from "./monitorSlice/selectors.cjs";
6
6
  import { getOnboarding } from "./onboardingSlice/selectors.cjs";
7
- import { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getBillingProfile, getCard, getDeviceTwinIntegrations, getDisabledTiers, getExternalIntegrations, getIsServiceProvider, getOrganization, getProducts, getSpLimits, getSsoConfig, getSubscription, getTenantListWithLimits, getTenantsList, getWebhookEventInfo, getWebhookEventTotal, getWebhookEvents, getWebhooks } from "./organizationSlice/selectors.cjs";
7
+ import { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getBillingProfile, getCard, getDeviceTwinIntegrations, getDisabledTiers, getExternalIntegrations, getIsServiceProvider, getOrganization, getProducts, getSpLimits, getSsoConfig, getSubscription, getTenantListWithLimits, getTenantsList, getWebhookEventInfo, getWebhookEvents, getWebhookEventsTotal, getWebhooks } from "./organizationSlice/selectors.cjs";
8
8
  import { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getHasSoftware, getManifestTags, getManifestTagsById, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getSoftwareById, getSoftwareList, getSoftwareListState, getSoftwareTags, getSoftwareTagsById, getUpdateTypes } from "./releasesSlice/selectors.cjs";
9
9
  import { getCurrentSession, getCurrentUser, getGlobalSettings, getGlobalSettingsInitialized, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getReadAllHelptips, getRolesById, getRolesInitialized, getRolesList, getSecurityAlertDismissedTimestamp, getSelectedDeviceAttribute, getTooltipsById, getTooltipsState, getUserSettings, getUserSettingsInitialized, getUsersById, getUsersList } from "./usersSlice/selectors.cjs";
10
- export { DEPLOYMENT_CUTOFF, 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, getWebhookEventTotal, getWebhookEvents, getWebhooks };
10
+ export { DEPLOYMENT_CUTOFF, 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 };
@@ -4,7 +4,7 @@ import { DEPLOYMENT_CUTOFF, getDeploymentById, getDeploymentsById, getDeployment
4
4
  import { getAcceptedDevices, getAttributesList, getCombinedLimit, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimitStats, getDeviceLimits, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getEnabledTiers, getFilteringAttributes, getGroupData, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes, getTestDeviceCount, getTestDeviceLimit } from "./devicesSlice/selectors.js";
5
5
  import { getIssueCountsByType } from "./monitorSlice/selectors.js";
6
6
  import { getOnboarding } from "./onboardingSlice/selectors.js";
7
- import { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getBillingProfile, getCard, getDeviceTwinIntegrations, getDisabledTiers, getExternalIntegrations, getIsServiceProvider, getOrganization, getProducts, getSpLimits, getSsoConfig, getSubscription, getTenantListWithLimits, getTenantsList, getWebhookEventInfo, getWebhookEventTotal, getWebhookEvents, getWebhooks } from "./organizationSlice/selectors.js";
7
+ import { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getBillingProfile, getCard, getDeviceTwinIntegrations, getDisabledTiers, getExternalIntegrations, getIsServiceProvider, getOrganization, getProducts, getSpLimits, getSsoConfig, getSubscription, getTenantListWithLimits, getTenantsList, getWebhookEventInfo, getWebhookEvents, getWebhookEventsTotal, getWebhooks } from "./organizationSlice/selectors.js";
8
8
  import { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getHasSoftware, getManifestTags, getManifestTagsById, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getSoftwareById, getSoftwareList, getSoftwareListState, getSoftwareTags, getSoftwareTagsById, getUpdateTypes } from "./releasesSlice/selectors.js";
9
9
  import { getCurrentSession, getCurrentUser, getGlobalSettings, getGlobalSettingsInitialized, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getReadAllHelptips, getRolesById, getRolesInitialized, getRolesList, getSecurityAlertDismissedTimestamp, getSelectedDeviceAttribute, getTooltipsById, getTooltipsState, getUserSettings, getUserSettingsInitialized, getUsersById, getUsersList } from "./usersSlice/selectors.js";
10
- export { DEPLOYMENT_CUTOFF, 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, getWebhookEventTotal, getWebhookEvents, getWebhooks };
10
+ export { DEPLOYMENT_CUTOFF, 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/selectors.js CHANGED
@@ -3,8 +3,8 @@ import { DEPLOYMENT_CUTOFF, getDeploymentById, getDeploymentsById, getDeployment
3
3
  import { getAcceptedDevices, getAttributesList, getCombinedLimit, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimitStats, getDeviceLimits, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getEnabledTiers, getFilteringAttributes, getGroupData, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes, getTestDeviceCount, getTestDeviceLimit } from "./devicesSlice/selectors.js";
4
4
  import { getIssueCountsByType } from "./monitorSlice/selectors.js";
5
5
  import { getOnboarding } from "./onboardingSlice/selectors.js";
6
- import { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getBillingProfile, getCard, getDeviceTwinIntegrations, getDisabledTiers, getExternalIntegrations, getIsServiceProvider, getOrganization, getProducts, getSpLimits, getSsoConfig, getSubscription, getTenantListWithLimits, getTenantsList, getWebhookEventInfo, getWebhookEventTotal, getWebhookEvents, getWebhooks } from "./organizationSlice/selectors.js";
6
+ import { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getBillingProfile, getCard, getDeviceTwinIntegrations, getDisabledTiers, getExternalIntegrations, getIsServiceProvider, getOrganization, getProducts, getSpLimits, getSsoConfig, getSubscription, getTenantListWithLimits, getTenantsList, getWebhookEventInfo, getWebhookEvents, getWebhookEventsTotal, getWebhooks } from "./organizationSlice/selectors.js";
7
7
  import { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getHasSoftware, getManifestTags, getManifestTagsById, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getSoftwareById, getSoftwareList, getSoftwareListState, getSoftwareTags, getSoftwareTagsById, getUpdateTypes } from "./releasesSlice/selectors.js";
8
8
  import { getCurrentSession, getCurrentUser, getGlobalSettings, getGlobalSettingsInitialized, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getReadAllHelptips, getRolesById, getRolesInitialized, getRolesList, getSecurityAlertDismissedTimestamp, getSelectedDeviceAttribute, getTooltipsById, getTooltipsState, getUserSettings, getUserSettingsInitialized, getUsersById, getUsersList } from "./usersSlice/selectors.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
- export { DEPLOYMENT_CUTOFF, 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, getWebhookEventTotal, getWebhookEvents, getWebhooks };
10
+ export { DEPLOYMENT_CUTOFF, 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 };
@@ -13,7 +13,6 @@ type MessageProps = {
13
13
  typ: string;
14
14
  };
15
15
  type UseSessionReturn = [connect: (deviceId: string) => void, sendMessage: (message: MessageProps) => void, close: () => void, readyState: number, sessionId: string | undefined];
16
- declare const useSession: ({ onClose, onHealthCheckFailed, onMessageReceived, onNotify, onOpen, token }: UseSessionProps) => UseSessionReturn;
16
+ export declare const useSession: ({ onClose, onHealthCheckFailed, onMessageReceived, onNotify, onOpen, token }: UseSessionProps) => UseSessionReturn;
17
17
  //#endregion
18
- export { useSession };
19
18
  //# sourceMappingURL=sockethook.d.cts.map
@@ -13,7 +13,6 @@ type MessageProps = {
13
13
  typ: string;
14
14
  };
15
15
  type UseSessionReturn = [connect: (deviceId: string) => void, sendMessage: (message: MessageProps) => void, close: () => void, readyState: number, sessionId: string | undefined];
16
- declare const useSession: ({ onClose, onHealthCheckFailed, onMessageReceived, onNotify, onOpen, token }: UseSessionProps) => UseSessionReturn;
16
+ export declare const useSession: ({ onClose, onHealthCheckFailed, onMessageReceived, onNotify, onOpen, token }: UseSessionProps) => UseSessionReturn;
17
17
  //#endregion
18
- export { useSession };
19
18
  //# sourceMappingURL=sockethook.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Pt as TIMEOUTS, dt as DEVICE_MESSAGE_TYPES, h as apiUrl, ut as DEVICE_MESSAGE_PROTOCOLS } from "./constants-eWaA3HCq.js";
1
+ import { Pt as TIMEOUTS, dt as DEVICE_MESSAGE_TYPES, h as apiUrl, ut as DEVICE_MESSAGE_PROTOCOLS } from "./constants-D5hACLhF.js";
2
2
  import { blobToString, byteArrayToString } from "@northern.tech/utils/helpers";
3
3
  import Cookies from "universal-cookie";
4
4
  import { useCallback, useEffect, useRef, useState } from "react";
@@ -1,13 +1,13 @@
1
- import { Ct as FilterOperator, H as emptyUiPermissions, S as Role, m as DeviceIssueOptionKey } from "./constants-B_H4squx.js";
2
- import { o as UserSliceType } from "./index-DgiMpzq3.js";
3
- import { a as ReleaseSliceType } from "./index-CGT1O9T5.js";
4
- import { a as PricePreview } from "./types-B3qGQoMx.js";
1
+ import { Ct as FilterOperator, H as emptyUiPermissions, S as Role, m as DeviceIssueOptionKey } from "./constants-BJuY-ODE.js";
2
+ import { o as UserSliceType } from "./index--SKVGToc.js";
3
+ import { a as ReleaseSliceType } from "./index-BMsafOyJ.js";
4
+ import { a as PricePreview } from "./types-DY0J79yF.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-BpamudGf.js";
8
- import { t as AppSliceType } from "./index-Bs0c1-WY.js";
9
- import { t as MonitorSliceType } from "./index-BAGyeC-q.js";
10
- import { t as OrganizationSliceType } from "./index-ChKTa1aL.js";
7
+ import { c as DeviceSliceType, i as DeviceGroup, r as DeviceFilter, u as InventoryAttributes } from "./index-D9GJhX1I.js";
8
+ import { t as AppSliceType } from "./index-xxqlerg5.js";
9
+ import { t as MonitorSliceType } from "./index-CRqnH_go.js";
10
+ import { t as OrganizationSliceType } from "./index-BVNS-Aut.js";
11
11
  import { Reducer, UnknownAction } from "@reduxjs/toolkit";
12
12
  import { TypedUseSelectorHook } from "react-redux";
13
13
  import { AxiosError } from "axios";
@@ -321,4 +321,4 @@ declare const createAppAsyncThunk: import("@reduxjs/toolkit").CreateAsyncThunkFu
321
321
  };
322
322
  //#endregion
323
323
  export { mapTermsToFilters as A, getDeploymentState as C, listItemMapper as D, isDarkMode as E, statCollector as F, stringToBoolean as I, stripOrchestratorManifestPrefix as L, mergePermissions as M, parseSubscriptionPreview as N, mapDeviceAttributes as O, progress as P, stripUndefined as R, getAttributeScopeLabel as S, groupDeploymentStats as T, dispatchDelayed as _, commonErrorHandler as a, filtersFilter as b, sessionReducer as c, useAppSelector as d, DeploymentStats as f, convertToBackendSPLimits as g, convertDeviceListStateToFilters as h, commonErrorFallback as i, mapUserRolesToUiPermissions as j, mapFiltersToTerms as k, store as l, FilterTerm as m, MenderEnvironment as n, createAppAsyncThunk as o, ErrorWithResponse as p, RootState as r, getConfiguredStore as s, AppDispatch as t, useAppDispatch as u, ensureVersionString as v, groupDeploymentDevicesStats as w, generateDeploymentGroupDetails as x, extractErrorMessage as y };
324
- //# sourceMappingURL=store-CmvNnqoc.d.ts.map
324
+ //# sourceMappingURL=store-DLp6ajT8.d.ts.map
@@ -1,13 +1,13 @@
1
- import { Ct as FilterOperator, H as emptyUiPermissions, S as Role, m as DeviceIssueOptionKey } from "./constants-Rl3FJzFf.cjs";
2
- import { o as UserSliceType } from "./index-Cf6_W5Y7.cjs";
3
- import { a as ReleaseSliceType } from "./index-ExguKUh-.cjs";
4
- import { a as PricePreview } from "./types-B80ckxiy.cjs";
1
+ import { Ct as FilterOperator, H as emptyUiPermissions, S as Role, m as DeviceIssueOptionKey } from "./constants-C2O55iZu.cjs";
2
+ import { o as UserSliceType } from "./index-CqhXqGLt.cjs";
3
+ import { a as ReleaseSliceType } from "./index-fGVC5s1C.cjs";
4
+ import { a as PricePreview } from "./types-B67YW1jV.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-DnKVKM0G.cjs";
8
- import { t as AppSliceType } from "./index-DeOpb2oK.cjs";
9
- import { t as MonitorSliceType } from "./index-Ctj2r57a.cjs";
10
- import { t as OrganizationSliceType } from "./index-C_LGDJN2.cjs";
7
+ import { c as DeviceSliceType, i as DeviceGroup, r as DeviceFilter, u as InventoryAttributes } from "./index-KxRmyFLr.cjs";
8
+ import { t as AppSliceType } from "./index-BKU1G9-x.cjs";
9
+ import { t as MonitorSliceType } from "./index-BfmRpbiJ.cjs";
10
+ import { t as OrganizationSliceType } from "./index-HjOSTTGF.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";
@@ -321,4 +321,4 @@ declare const createAppAsyncThunk: import("@reduxjs/toolkit").CreateAsyncThunkFu
321
321
  };
322
322
  //#endregion
323
323
  export { mapTermsToFilters as A, getDeploymentState as C, listItemMapper as D, isDarkMode as E, statCollector as F, stringToBoolean as I, stripOrchestratorManifestPrefix as L, mergePermissions as M, parseSubscriptionPreview as N, mapDeviceAttributes as O, progress as P, stripUndefined as R, getAttributeScopeLabel as S, groupDeploymentStats as T, dispatchDelayed as _, commonErrorHandler as a, filtersFilter as b, sessionReducer as c, useAppSelector as d, DeploymentStats as f, convertToBackendSPLimits as g, convertDeviceListStateToFilters as h, commonErrorFallback as i, mapUserRolesToUiPermissions as j, mapFiltersToTerms as k, store as l, FilterTerm as m, MenderEnvironment as n, createAppAsyncThunk as o, ErrorWithResponse as p, RootState as r, getConfiguredStore as s, AppDispatch as t, useAppDispatch as u, ensureVersionString as v, groupDeploymentDevicesStats as w, generateDeploymentGroupDetails as x, extractErrorMessage as y };
324
- //# sourceMappingURL=store-C-W8nPdd.d.cts.map
324
+ //# sourceMappingURL=store-Dw8Uo_Df.d.cts.map
package/dist/store.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as commonErrorHandler, c as sessionReducer, d as useAppSelector, i as commonErrorFallback, l as store, n as MenderEnvironment, o as createAppAsyncThunk, p as ErrorWithResponse, r as RootState, s as getConfiguredStore, t as AppDispatch, u as useAppDispatch } from "./store-C-W8nPdd.cjs";
1
+ import { a as commonErrorHandler, c as sessionReducer, d as useAppSelector, i as commonErrorFallback, l as store, n as MenderEnvironment, o as createAppAsyncThunk, p as ErrorWithResponse, r as RootState, s as getConfiguredStore, t as AppDispatch, u as useAppDispatch } from "./store-Dw8Uo_Df.cjs";
2
2
  export { AppDispatch, type ErrorWithResponse, MenderEnvironment, RootState, commonErrorFallback, commonErrorHandler, createAppAsyncThunk, getConfiguredStore, sessionReducer, store, useAppDispatch, useAppSelector };
package/dist/store.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as commonErrorHandler, c as sessionReducer, d as useAppSelector, i as commonErrorFallback, l as store, n as MenderEnvironment, o as createAppAsyncThunk, p as ErrorWithResponse, r as RootState, s as getConfiguredStore, t as AppDispatch, u as useAppDispatch } from "./store-CmvNnqoc.js";
1
+ import { a as commonErrorHandler, c as sessionReducer, d as useAppSelector, i as commonErrorFallback, l as store, n as MenderEnvironment, o as createAppAsyncThunk, p as ErrorWithResponse, r as RootState, s as getConfiguredStore, t as AppDispatch, u as useAppDispatch } from "./store-DLp6ajT8.js";
2
2
  export { AppDispatch, type ErrorWithResponse, MenderEnvironment, RootState, commonErrorFallback, commonErrorHandler, createAppAsyncThunk, getConfiguredStore, sessionReducer, store, useAppDispatch, useAppSelector };
package/dist/store.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Q as settingsKeys } from "./constants-eWaA3HCq.js";
1
+ import { Q as settingsKeys } from "./constants-D5hACLhF.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";
@@ -1,7 +1,7 @@
1
- import { i as UserSession } from "./index-Cf6_W5Y7.cjs";
2
- import { r as RootState, t as AppDispatch } from "./store-C-W8nPdd.cjs";
1
+ import { i as UserSession } from "./index-CqhXqGLt.cjs";
2
+ import { r as RootState, t as AppDispatch } from "./store-Dw8Uo_Df.cjs";
3
3
  //#region src/storehooks.d.ts
4
- declare const parseEnvironmentInfo: import("@reduxjs/toolkit").AsyncThunk<[{
4
+ export declare const parseEnvironmentInfo: import("@reduxjs/toolkit").AsyncThunk<[{
5
5
  payload: UserSession;
6
6
  type: "users/successfullyLoggedIn";
7
7
  }, {
@@ -32,7 +32,7 @@ declare const parseEnvironmentInfo: import("@reduxjs/toolkit").AsyncThunk<[{
32
32
  fulfilledMeta?: unknown;
33
33
  rejectedMeta?: unknown;
34
34
  }>;
35
- declare const probeOrganizationCapabilities: import("@reduxjs/toolkit").AsyncThunk<void, void, {
35
+ export declare const probeOrganizationCapabilities: import("@reduxjs/toolkit").AsyncThunk<void, void, {
36
36
  dispatch: AppDispatch;
37
37
  state: RootState;
38
38
  extra?: unknown;
@@ -42,9 +42,8 @@ declare const probeOrganizationCapabilities: import("@reduxjs/toolkit").AsyncThu
42
42
  fulfilledMeta?: unknown;
43
43
  rejectedMeta?: unknown;
44
44
  }>;
45
- declare const useAppInit: (userId: string | undefined) => {
45
+ export declare const useAppInit: (userId: string | undefined) => {
46
46
  coreInitDone: boolean;
47
47
  };
48
48
  //#endregion
49
- export { parseEnvironmentInfo, probeOrganizationCapabilities, useAppInit };
50
49
  //# sourceMappingURL=storehooks.d.cts.map
@@ -1,7 +1,7 @@
1
- import { i as UserSession } from "./index-DgiMpzq3.js";
2
- import { r as RootState, t as AppDispatch } from "./store-CmvNnqoc.js";
1
+ import { i as UserSession } from "./index--SKVGToc.js";
2
+ import { r as RootState, t as AppDispatch } from "./store-DLp6ajT8.js";
3
3
  //#region src/storehooks.d.ts
4
- declare const parseEnvironmentInfo: import("@reduxjs/toolkit").AsyncThunk<[{
4
+ export declare const parseEnvironmentInfo: import("@reduxjs/toolkit").AsyncThunk<[{
5
5
  payload: UserSession;
6
6
  type: "users/successfullyLoggedIn";
7
7
  }, {
@@ -32,7 +32,7 @@ declare const parseEnvironmentInfo: import("@reduxjs/toolkit").AsyncThunk<[{
32
32
  fulfilledMeta?: unknown;
33
33
  rejectedMeta?: unknown;
34
34
  }>;
35
- declare const probeOrganizationCapabilities: import("@reduxjs/toolkit").AsyncThunk<void, void, {
35
+ export declare const probeOrganizationCapabilities: import("@reduxjs/toolkit").AsyncThunk<void, void, {
36
36
  dispatch: AppDispatch;
37
37
  state: RootState;
38
38
  extra?: unknown;
@@ -42,9 +42,8 @@ declare const probeOrganizationCapabilities: import("@reduxjs/toolkit").AsyncThu
42
42
  fulfilledMeta?: unknown;
43
43
  rejectedMeta?: unknown;
44
44
  }>;
45
- declare const useAppInit: (userId: string | undefined) => {
45
+ export declare const useAppInit: (userId: string | undefined) => {
46
46
  coreInitDone: boolean;
47
47
  };
48
48
  //#endregion
49
- export { parseEnvironmentInfo, probeOrganizationCapabilities, useAppInit };
50
49
  //# sourceMappingURL=storehooks.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { locations } from "./appSlice/constants.js";
2
- import { Pt as TIMEOUTS, Vt as timeUnits, _t as DEPLOYMENT_STATES, u as DEVICE_STATES } from "./constants-eWaA3HCq.js";
2
+ import { Pt as TIMEOUTS, Vt as timeUnits, _t as DEPLOYMENT_STATES, u as DEVICE_STATES } from "./constants-D5hACLhF.js";
3
3
  import actions_default from "./actions.js";
4
4
  import { getSessionInfo } from "./auth.js";
5
5
  import { getFeatures } from "./appSlice/selectors.js";
package/dist/thunks.cjs CHANGED
@@ -204,23 +204,23 @@ const cleanPhases = (phases) => phases?.map(({ batch_size, batch_size_devices, s
204
204
  const MAX_PREVIOUS_PHASES_COUNT = 5;
205
205
  const createDeployment = require_store.createAppAsyncThunk(`${require_deploymentsSlice_index.sliceName}/createDeployment`, ({ newDeployment }, { dispatch, getState }) => {
206
206
  let request;
207
- const { name, artifact_name, retries, update_control_map, autogenerate_delta } = newDeployment;
207
+ const { name, artifact_name, retries, uniform_phases, update_control_map, autogenerate_delta } = newDeployment;
208
+ const cleanedPhases = cleanPhases(newDeployment.phases);
208
209
  const common = {
209
210
  name,
210
211
  artifact_name,
211
- phases: cleanPhases(newDeployment.phases),
212
+ phases: uniform_phases ? void 0 : cleanedPhases,
212
213
  retries,
214
+ uniform_phases,
213
215
  update_control_map,
214
216
  autogenerate_delta
215
217
  };
216
218
  if ("filter_id" in newDeployment && newDeployment.filter_id) {
217
- const { filter_id, max_devices, uniform_phases } = newDeployment;
219
+ const { filter_id, max_devices } = newDeployment;
218
220
  request = require_api_general_api.default.post(`${_northern_tech_utils_constants.deploymentsApiUrlV2}/deployments`, require_utils.stripUndefined({
219
221
  ...common,
220
222
  filter_id,
221
- max_devices,
222
- uniform_phases,
223
- phases: uniform_phases ? void 0 : common.phases
223
+ max_devices
224
224
  }));
225
225
  } else if ("group" in newDeployment && newDeployment.group) {
226
226
  const { force_installation, group } = newDeployment;
@@ -1229,9 +1229,10 @@ const updateDevicesAuth = require_store.createAppAsyncThunk(`${require_devicesSl
1229
1229
  });
1230
1230
  return Promise.allSettled(deviceAuthUpdates).then((results) => {
1231
1231
  const { skipped, failed, count } = results.reduce((accu, item) => {
1232
- if (item.status === "rejected") if (item.reason) accu.failed = accu.failed + 1;
1233
- else accu.skipped = accu.skipped + 1;
1234
- else accu.count = accu.count + 1;
1232
+ if (item.status === "rejected") {
1233
+ if (item.reason) accu.failed = accu.failed + 1;
1234
+ else accu.skipped = accu.skipped + 1;
1235
+ } else accu.count = accu.count + 1;
1235
1236
  return accu;
1236
1237
  }, {
1237
1238
  skipped: 0,
@@ -1810,14 +1811,17 @@ const getIntegrations = require_store.createAppAsyncThunk(`${require_organizatio
1810
1811
  return Promise.resolve(dispatch(require_organizationSlice_index.actions.receiveExternalDeviceIntegrations(integrations)));
1811
1812
  }));
1812
1813
  const getWebhookEvents = require_store.createAppAsyncThunk(`${require_organizationSlice_index.sliceName}/getWebhookEvents`, (config = {}, { dispatch, getState }) => {
1813
- const { isFollowUp, page = defaultPage, perPage = defaultPerPage } = config;
1814
- return require_api_general_api.default.get(`${_northern_tech_utils_constants.iotManagerBaseURL}/events?page=${page}&per_page=${perPage}`).catch((err) => require_store.commonErrorHandler(err, "There was an error retrieving activity for this integration", dispatch, require_store.commonErrorFallback)).then(({ data }) => {
1814
+ const { integrationId, isFollowUp, knownTotal = 0, page = defaultPage, perPage = defaultPerPage } = config;
1815
+ const integrationFilter = integrationId ? `&integration_id=${integrationId}` : "";
1816
+ return require_api_general_api.default.get(`${_northern_tech_utils_constants.iotManagerBaseURL}/events?page=${page}&per_page=${perPage}${integrationFilter}`).catch((err) => require_store.commonErrorHandler(err, "There was an error retrieving activity for this integration", dispatch, require_store.commonErrorFallback)).then(({ data }) => {
1815
1817
  const tasks = [Promise.resolve(dispatch(require_organizationSlice_index.actions.receiveWebhookEvents({
1816
1818
  value: isFollowUp ? getState().organization.webhooks.events : data,
1817
- total: (page - 1) * perPage + data.length
1819
+ total: isFollowUp ? knownTotal + data.length : (page - 1) * perPage + data.length
1818
1820
  })))];
1819
1821
  if (data.length >= perPage && !isFollowUp) tasks.push(dispatch(getWebhookEvents({
1822
+ integrationId,
1820
1823
  isFollowUp: true,
1824
+ knownTotal: page * perPage,
1821
1825
  page: page + 1,
1822
1826
  perPage: 1
1823
1827
  })));
@@ -2221,7 +2225,7 @@ const deriveImpliedAreaPermissions = (area, areaPermissions, skipPermissions = [
2221
2225
  */
2222
2226
  const transformAreaRoleDataToScopedPermissionsSets = (area, areaPermissions, excessiveAccessSelector) => {
2223
2227
  const permissionSetObject = areaPermissions.reduce((accu, { item, uiPermissions }) => {
2224
- const skipPermissions = _northern_tech_utils_constants.scopedPermissionAreas.releases.key === area && item !== _northern_tech_utils_constants.ALL_RELEASES ? [_northern_tech_utils_constants.uiPermissionsById.upload.value] : [];
2228
+ const skipPermissions = _northern_tech_utils_constants.scopedPermissionAreas.releases.key === area && item !== _northern_tech_utils_constants.ALL_SOFTWARE ? [_northern_tech_utils_constants.uiPermissionsById.upload.value] : [];
2225
2229
  accu = deriveImpliedAreaPermissions(area, uiPermissions, skipPermissions).reduce((itemPermissionAccu, impliedPermission) => {
2226
2230
  const permissionSetState = itemPermissionAccu[_northern_tech_utils_constants.uiPermissionsById[impliedPermission].permissionSets[area]] ?? {
2227
2231
  type: _northern_tech_utils_constants.uiPermissionsByArea[area].scope,