@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.
- package/dist/actions.d.cts +6 -6
- package/dist/actions.d.ts +6 -6
- package/dist/api/general-api.d.cts +3 -3
- package/dist/api/general-api.d.ts +3 -3
- package/dist/api/general-api.js +1 -1
- 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 +2 -3
- package/dist/appSlice/mocks.d.ts +2 -3
- package/dist/appSlice/selectors.cjs +1 -2
- package/dist/appSlice/selectors.cjs.map +1 -1
- package/dist/appSlice/selectors.d.cts +26 -27
- package/dist/appSlice/selectors.d.ts +26 -27
- package/dist/appSlice/selectors.js +1 -2
- package/dist/appSlice/selectors.js.map +1 -1
- package/dist/appSlice/thunks.d.cts +5 -6
- package/dist/appSlice/thunks.d.ts +5 -6
- package/dist/auth.d.cts +6 -7
- package/dist/auth.d.ts +6 -7
- 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 +30 -31
- package/dist/commonSelectors.d.ts +30 -31
- package/dist/commonSelectors.js +1 -1
- package/dist/{constants-B_H4squx.d.ts → constants-BJuY-ODE.d.ts} +3 -3
- package/dist/{constants-Rl3FJzFf.d.cts → constants-C2O55iZu.d.cts} +3 -3
- package/dist/{constants-eWaA3HCq.js → constants-D5hACLhF.js} +3 -3
- package/dist/{constants-eWaA3HCq.js.map → constants-D5hACLhF.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/mocks.d.cts +1 -2
- package/dist/deploymentsSlice/mocks.d.ts +1 -2
- package/dist/deploymentsSlice/selectors.d.cts +15 -16
- package/dist/deploymentsSlice/selectors.d.ts +15 -16
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +20 -21
- package/dist/deploymentsSlice/thunks.d.ts +20 -21
- 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.d.cts +1 -2
- package/dist/devicesSlice/mocks.d.ts +1 -2
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.cjs +4 -3
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +34 -35
- package/dist/devicesSlice/selectors.d.ts +34 -35
- package/dist/devicesSlice/selectors.js +5 -4
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +52 -53
- package/dist/devicesSlice/thunks.d.ts +52 -53
- package/dist/{index-DgiMpzq3.d.ts → index--SKVGToc.d.ts} +2 -2
- package/dist/{index-DeOpb2oK.d.cts → index-BKU1G9-x.d.cts} +2 -2
- package/dist/{index-CGT1O9T5.d.ts → index-BMsafOyJ.d.ts} +2 -2
- package/dist/{index-ChKTa1aL.d.ts → index-BVNS-Aut.d.ts} +2 -2
- package/dist/{index-Ctj2r57a.d.cts → index-BfmRpbiJ.d.cts} +2 -2
- package/dist/{index-BAGyeC-q.d.ts → index-CRqnH_go.d.ts} +2 -2
- package/dist/{index-Cf6_W5Y7.d.cts → index-CqhXqGLt.d.cts} +2 -2
- package/dist/{index-BpamudGf.d.ts → index-D9GJhX1I.d.ts} +2 -2
- package/dist/{index-C_LGDJN2.d.cts → index-HjOSTTGF.d.cts} +2 -2
- package/dist/{index-DnKVKM0G.d.cts → index-KxRmyFLr.d.cts} +2 -2
- package/dist/{index-ExguKUh-.d.cts → index-fGVC5s1C.d.cts} +2 -2
- package/dist/{index-Bs0c1-WY.d.ts → index-xxqlerg5.d.ts} +2 -2
- package/dist/liststatehook.d.cts +2 -3
- package/dist/liststatehook.d.ts +2 -3
- package/dist/locationutils.d.cts +29 -30
- package/dist/locationutils.d.ts +29 -30
- package/dist/locationutils.js +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 +2 -3
- package/dist/monitorSlice/mocks.d.ts +2 -3
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/selectors.d.cts +2 -3
- package/dist/monitorSlice/selectors.d.ts +2 -3
- package/dist/monitorSlice/thunks.d.cts +9 -10
- package/dist/monitorSlice/thunks.d.ts +9 -10
- package/dist/monitorSlice/thunks.js +1 -1
- package/dist/onboardingSlice/mocks.d.cts +1 -2
- package/dist/onboardingSlice/mocks.d.ts +1 -2
- package/dist/onboardingSlice/selectors.d.cts +2 -3
- package/dist/onboardingSlice/selectors.d.ts +2 -3
- package/dist/onboardingSlice/thunks.d.cts +9 -10
- package/dist/onboardingSlice/thunks.d.ts +9 -10
- 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 +3 -4
- package/dist/organizationSlice/mocks.d.ts +3 -4
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.cjs +6 -6
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +33 -34
- package/dist/organizationSlice/selectors.d.ts +33 -34
- package/dist/organizationSlice/selectors.js +7 -7
- package/dist/organizationSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +60 -59
- package/dist/organizationSlice/thunks.d.ts +60 -59
- package/dist/organizationSlice/types.d.cts +1 -1
- package/dist/organizationSlice/types.d.ts +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.d.cts +1 -2
- package/dist/releasesSlice/mocks.d.ts +1 -2
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.d.cts +35 -36
- package/dist/releasesSlice/selectors.d.ts +35 -36
- package/dist/releasesSlice/thunks.d.cts +40 -41
- package/dist/releasesSlice/thunks.d.ts +40 -41
- package/dist/releasesSlice/thunks.js +1 -1
- package/dist/selectors.cjs +1 -1
- package/dist/selectors.d.cts +2 -2
- package/dist/selectors.d.ts +2 -2
- package/dist/selectors.js +2 -2
- package/dist/sockethook.d.cts +1 -2
- package/dist/sockethook.d.ts +1 -2
- package/dist/sockethook.js +1 -1
- package/dist/{store-CmvNnqoc.d.ts → store-DLp6ajT8.d.ts} +9 -9
- package/dist/{store-C-W8nPdd.d.cts → store-Dw8Uo_Df.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/storehooks.d.cts +5 -6
- package/dist/storehooks.d.ts +5 -6
- package/dist/storehooks.js +1 -1
- package/dist/thunks.cjs +17 -13
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +18 -14
- package/dist/thunks.js.map +1 -1
- package/dist/{types-B80ckxiy.d.cts → types-B67YW1jV.d.cts} +2 -2
- package/dist/{types-B3qGQoMx.d.ts → types-DY0J79yF.d.ts} +2 -2
- package/dist/useDeploymentDevice.d.cts +1 -2
- package/dist/useDeploymentDevice.d.ts +1 -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 +2 -3
- package/dist/usersSlice/mocks.d.ts +2 -3
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.d.cts +27 -28
- package/dist/usersSlice/selectors.d.ts +27 -28
- package/dist/usersSlice/selectors.js +1 -1
- package/dist/usersSlice/thunks.d.cts +82 -83
- package/dist/usersSlice/thunks.d.ts +48 -49
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +6 -5
package/dist/selectors.cjs
CHANGED
|
@@ -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;
|
package/dist/selectors.d.cts
CHANGED
|
@@ -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,
|
|
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,
|
|
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.d.ts
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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,
|
|
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/sockethook.d.cts
CHANGED
|
@@ -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
|
package/dist/sockethook.d.ts
CHANGED
|
@@ -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
|
package/dist/sockethook.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Pt as TIMEOUTS, dt as DEVICE_MESSAGE_TYPES, h as apiUrl, ut as DEVICE_MESSAGE_PROTOCOLS } from "./constants-
|
|
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-
|
|
2
|
-
import { o as UserSliceType } from "./index
|
|
3
|
-
import { a as ReleaseSliceType } from "./index-
|
|
4
|
-
import { a as PricePreview } from "./types-
|
|
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-
|
|
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-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-
|
|
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-
|
|
2
|
-
import { o as UserSliceType } from "./index-
|
|
3
|
-
import { a as ReleaseSliceType } from "./index-
|
|
4
|
-
import { a as PricePreview } from "./types-
|
|
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-
|
|
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-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-
|
|
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-
|
|
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-
|
|
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-
|
|
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";
|
package/dist/storehooks.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as UserSession } from "./index-
|
|
2
|
-
import { r as RootState, t as AppDispatch } from "./store-
|
|
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
|
package/dist/storehooks.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as UserSession } from "./index
|
|
2
|
-
import { r as RootState, t as AppDispatch } from "./store-
|
|
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
|
package/dist/storehooks.js
CHANGED
|
@@ -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-
|
|
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:
|
|
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
|
|
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")
|
|
1233
|
-
|
|
1234
|
-
|
|
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
|
-
|
|
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.
|
|
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,
|