@northern.tech/store 0.47.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/dist/actions.d.cts +6 -6
  2. package/dist/actions.d.ts +6 -6
  3. package/dist/appSlice/index.d.cts +1 -1
  4. package/dist/appSlice/index.d.ts +1 -1
  5. package/dist/appSlice/index.js +1 -1
  6. package/dist/appSlice/mocks.d.cts +1 -1
  7. package/dist/appSlice/mocks.d.ts +1 -1
  8. package/dist/appSlice/selectors.d.cts +1 -1
  9. package/dist/appSlice/selectors.d.ts +1 -1
  10. package/dist/appSlice/thunks.d.cts +2 -2
  11. package/dist/appSlice/thunks.d.ts +2 -2
  12. package/dist/auth.d.cts +1 -1
  13. package/dist/auth.d.ts +1 -1
  14. package/dist/auth.js +1 -1
  15. package/dist/commonConstants.d.cts +1 -1
  16. package/dist/commonConstants.d.ts +1 -1
  17. package/dist/commonConstants.js +1 -1
  18. package/dist/commonSelectors.d.cts +15 -15
  19. package/dist/commonSelectors.d.ts +15 -15
  20. package/dist/commonSelectors.js +1 -1
  21. package/dist/{constants-CCkKh9KM.d.ts → constants-3gsHyxWr.d.ts} +3 -3
  22. package/dist/{constants-B3NH1IQi.d.ts → constants-DOnQ-UzD.d.cts} +2 -3
  23. package/dist/{constants-B3NH1IQi.d.cts → constants-DOnQ-UzD.d.ts} +2 -3
  24. package/dist/{constants-CUwYPOYK.d.cts → constants-hMMMdt0R.d.cts} +3 -3
  25. package/dist/{constants-DjiC_FnZ.js → constants-yul-O5hD.js} +3 -3
  26. package/dist/{constants-DjiC_FnZ.js.map → constants-yul-O5hD.js.map} +1 -1
  27. package/dist/constants.cjs +1 -1
  28. package/dist/constants.d.cts +2 -2
  29. package/dist/constants.d.ts +2 -2
  30. package/dist/constants.js +2 -2
  31. package/dist/deploymentsSlice/constants.js +1 -1
  32. package/dist/deploymentsSlice/index.js +1 -1
  33. package/dist/deploymentsSlice/selectors.js +1 -1
  34. package/dist/deploymentsSlice/thunks.d.cts +4 -4
  35. package/dist/deploymentsSlice/thunks.d.ts +4 -4
  36. package/dist/devicesSlice/constants.d.cts +1 -1
  37. package/dist/devicesSlice/constants.d.ts +1 -1
  38. package/dist/devicesSlice/constants.js +1 -1
  39. package/dist/devicesSlice/index.d.cts +1 -1
  40. package/dist/devicesSlice/index.d.ts +1 -1
  41. package/dist/devicesSlice/index.js +1 -1
  42. package/dist/devicesSlice/mocks.js +1 -1
  43. package/dist/devicesSlice/selectors.d.cts +1 -1
  44. package/dist/devicesSlice/selectors.d.ts +1 -1
  45. package/dist/devicesSlice/selectors.js +1 -1
  46. package/dist/devicesSlice/thunks.d.cts +4 -4
  47. package/dist/devicesSlice/thunks.d.ts +4 -4
  48. package/dist/{index-BWtIaimn.d.cts → index-B9jUHGsM.d.cts} +2 -2
  49. package/dist/{index-CThE5Gfh.d.ts → index-BMi8ZqpV.d.ts} +2 -2
  50. package/dist/{index-CaNZaXie.d.cts → index-BoZjwQHk.d.cts} +2 -2
  51. package/dist/{index-BcrZxKLw.d.cts → index-C-6WkMAo.d.cts} +2 -2
  52. package/dist/{index-C2za83Qs.d.ts → index-CD39K38q.d.ts} +2 -2
  53. package/dist/{index-7jVuB4tG.d.cts → index-D8O1HJ8Q.d.cts} +2 -2
  54. package/dist/{index-o_m7WKiR.d.ts → index-DXfbW2gi.d.ts} +2 -2
  55. package/dist/{index-CzQRHJ6f.d.cts → index-Dd_guNwA.d.cts} +2 -2
  56. package/dist/{index-DNYeo7wc.d.cts → index-DlTiYWBe.d.cts} +2 -2
  57. package/dist/{index-CvMpbsOo.d.ts → index-I82Wu-Ah.d.ts} +2 -2
  58. package/dist/{index-C1vNDCYR.d.ts → index-KQNyWRoG.d.ts} +2 -2
  59. package/dist/{index-DOPRnlaC.d.ts → index-uhmZ9qaP.d.ts} +2 -2
  60. package/dist/locationutils.d.cts +2 -2
  61. package/dist/locationutils.d.ts +2 -2
  62. package/dist/locationutils.js +1 -1
  63. package/dist/mockState.d.cts +1 -1
  64. package/dist/mockState.d.ts +1 -1
  65. package/dist/monitorSlice/constants.d.cts +1 -1
  66. package/dist/monitorSlice/constants.d.ts +1 -1
  67. package/dist/monitorSlice/index.d.cts +1 -1
  68. package/dist/monitorSlice/index.d.ts +1 -1
  69. package/dist/monitorSlice/index.js +1 -1
  70. package/dist/monitorSlice/mocks.d.cts +1 -1
  71. package/dist/monitorSlice/mocks.d.ts +1 -1
  72. package/dist/monitorSlice/mocks.js +1 -1
  73. package/dist/monitorSlice/selectors.d.cts +1 -1
  74. package/dist/monitorSlice/selectors.d.ts +1 -1
  75. package/dist/monitorSlice/thunks.d.cts +4 -4
  76. package/dist/monitorSlice/thunks.d.ts +4 -4
  77. package/dist/monitorSlice/thunks.js +1 -1
  78. package/dist/onboardingSlice/thunks.d.cts +3 -3
  79. package/dist/onboardingSlice/thunks.d.ts +3 -3
  80. package/dist/organizationSlice/constants.js +1 -1
  81. package/dist/organizationSlice/index.d.cts +1 -1
  82. package/dist/organizationSlice/index.d.ts +1 -1
  83. package/dist/organizationSlice/index.js +1 -1
  84. package/dist/organizationSlice/mocks.d.cts +2 -2
  85. package/dist/organizationSlice/mocks.d.ts +2 -2
  86. package/dist/organizationSlice/mocks.js +1 -1
  87. package/dist/organizationSlice/selectors.d.cts +1 -1
  88. package/dist/organizationSlice/selectors.d.ts +1 -1
  89. package/dist/organizationSlice/selectors.js +1 -1
  90. package/dist/organizationSlice/thunks.d.cts +4 -4
  91. package/dist/organizationSlice/thunks.d.ts +4 -4
  92. package/dist/organizationSlice/types.d.cts +1 -1
  93. package/dist/organizationSlice/types.d.ts +1 -1
  94. package/dist/releasesSlice/constants.cjs +0 -2
  95. package/dist/releasesSlice/constants.cjs.map +1 -1
  96. package/dist/releasesSlice/constants.d.cts +2 -2
  97. package/dist/releasesSlice/constants.d.ts +2 -2
  98. package/dist/releasesSlice/constants.js +1 -2
  99. package/dist/releasesSlice/constants.js.map +1 -1
  100. package/dist/releasesSlice/index.d.cts +1 -1
  101. package/dist/releasesSlice/index.d.ts +1 -1
  102. package/dist/releasesSlice/index.js +1 -1
  103. package/dist/releasesSlice/mocks.js +1 -1
  104. package/dist/releasesSlice/selectors.d.cts +1 -1
  105. package/dist/releasesSlice/selectors.d.ts +1 -1
  106. package/dist/releasesSlice/thunks.cjs +1 -1
  107. package/dist/releasesSlice/thunks.cjs.map +1 -1
  108. package/dist/releasesSlice/thunks.d.cts +4 -4
  109. package/dist/releasesSlice/thunks.d.ts +4 -4
  110. package/dist/releasesSlice/thunks.js +2 -2
  111. package/dist/releasesSlice/thunks.js.map +1 -1
  112. package/dist/{selectors-DeqP_VLU.d.cts → selectors-CR0q7rXC.d.cts} +2 -2
  113. package/dist/{selectors-XzNyGFJI.d.cts → selectors-CdCZGn7e.d.cts} +2 -2
  114. package/dist/{selectors-jusUdUdc.d.cts → selectors-CdllyZyW.d.cts} +2 -2
  115. package/dist/{selectors-aLOjKkxN.d.cts → selectors-CftbLtXH.d.cts} +2 -2
  116. package/dist/{selectors-DQKg681M.d.ts → selectors-D2j3_Mnp.d.ts} +2 -2
  117. package/dist/{selectors-CAo0fzIZ.d.ts → selectors-D78O3T1o.d.ts} +2 -2
  118. package/dist/{selectors-vk0GUGHf.d.ts → selectors-D_UFk4Uz.d.ts} +2 -2
  119. package/dist/{selectors-DDsFLtxz.d.cts → selectors-DuHGqmMJ.d.cts} +2 -2
  120. package/dist/{selectors-1394DVvN.d.ts → selectors-SvKXGJM5.d.ts} +2 -2
  121. package/dist/{selectors-Ba9LUr_0.d.ts → selectors-eYLuQW4M.d.ts} +2 -2
  122. package/dist/{selectors-DFSv4A_m.d.ts → selectors-qClZ9EXM.d.ts} +3 -7
  123. package/dist/{selectors-LhR8TyWU.d.cts → selectors-rto0SO4z.d.cts} +3 -7
  124. package/dist/selectors.d.cts +6 -6
  125. package/dist/selectors.d.ts +6 -6
  126. package/dist/sockethook.js +1 -1
  127. package/dist/{store-v5V-bbB_.d.ts → store-BQcycBPp.d.ts} +9 -9
  128. package/dist/{store-CCvk8X-k.d.cts → store-CrLzRDCx.d.cts} +9 -9
  129. package/dist/store.d.cts +1 -1
  130. package/dist/store.d.ts +1 -1
  131. package/dist/store.js +1 -1
  132. package/dist/thunks.cjs +9 -5
  133. package/dist/thunks.cjs.map +1 -1
  134. package/dist/thunks.js +10 -6
  135. package/dist/thunks.js.map +1 -1
  136. package/dist/{types-B2gphGj8.d.ts → types-DB1IOQX8.d.ts} +2 -2
  137. package/dist/{types-CLASWtVP.d.cts → types-DtTmD7Yn.d.cts} +2 -2
  138. package/dist/usersSlice/constants.js +1 -1
  139. package/dist/usersSlice/index.d.cts +1 -1
  140. package/dist/usersSlice/index.d.ts +1 -1
  141. package/dist/usersSlice/index.js +1 -1
  142. package/dist/usersSlice/mocks.d.cts +1 -1
  143. package/dist/usersSlice/mocks.d.ts +1 -1
  144. package/dist/usersSlice/mocks.js +1 -1
  145. package/dist/usersSlice/selectors.d.cts +1 -1
  146. package/dist/usersSlice/selectors.d.ts +1 -1
  147. package/dist/usersSlice/selectors.js +1 -1
  148. package/dist/usersSlice/thunks.d.cts +4 -4
  149. package/dist/usersSlice/thunks.d.ts +4 -4
  150. package/dist/utils.cjs +1 -2
  151. package/dist/utils.cjs.map +1 -1
  152. package/dist/utils.d.cts +1 -1
  153. package/dist/utils.d.ts +1 -1
  154. package/dist/utils.js +2 -3
  155. package/dist/utils.js.map +1 -1
  156. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { ht as DeviceAuthState, ut as AlertChannelKey } from "./constants-CUwYPOYK.cjs";
1
+ import { dt as AlertChannelKey, gt as DeviceAuthState } from "./constants-hMMMdt0R.cjs";
2
2
  import { i as ReadState } from "./constants-D8-yUk19.cjs";
3
- import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User, t as CustomColumn } from "./index-DNYeo7wc.cjs";
4
- import { c as SoftwareList, i as Release, n as Manifest, r as ManifestsList } from "./index-BWtIaimn.cjs";
5
- import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-CLASWtVP.cjs";
3
+ import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User, t as CustomColumn } from "./index-DlTiYWBe.cjs";
4
+ import { c as SoftwareList, i as Release, n as Manifest, r as ManifestsList } from "./index-B9jUHGsM.cjs";
5
+ import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-DtTmD7Yn.cjs";
6
6
  import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CoObjWL4.cjs";
7
7
  import { i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "./index-mvxjivTJ.cjs";
8
- import { i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-7jVuB4tG.cjs";
9
- import { a as Upload, i as SnackbarContent } from "./index-CaNZaXie.cjs";
8
+ import { i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-D8O1HJ8Q.cjs";
9
+ import { a as Upload, i as SnackbarContent } from "./index-BoZjwQHk.cjs";
10
10
  //#region src/actions.d.ts
11
11
  declare const _default: {
12
12
  receivedQrCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "users/receivedQrCode">;
package/dist/actions.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { ht as DeviceAuthState, ut as AlertChannelKey } from "./constants-CCkKh9KM.js";
1
+ import { dt as AlertChannelKey, gt as DeviceAuthState } from "./constants-3gsHyxWr.js";
2
2
  import { i as ReadState } from "./constants-D8-yUk19.js";
3
- import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User, t as CustomColumn } from "./index-C1vNDCYR.js";
4
- import { c as SoftwareList, i as Release, n as Manifest, r as ManifestsList } from "./index-o_m7WKiR.js";
5
- import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-B2gphGj8.js";
3
+ import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User, t as CustomColumn } from "./index-KQNyWRoG.js";
4
+ import { c as SoftwareList, i as Release, n as Manifest, r as ManifestsList } from "./index-DXfbW2gi.js";
5
+ import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-DB1IOQX8.js";
6
6
  import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CoObjWL4.js";
7
7
  import { i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "./index-B8td4-rY.js";
8
- import { i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-DOPRnlaC.js";
9
- import { a as Upload, i as SnackbarContent } from "./index-CThE5Gfh.js";
8
+ import { i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-uhmZ9qaP.js";
9
+ import { a as Upload, i as SnackbarContent } from "./index-BMi8ZqpV.js";
10
10
  //#region src/actions.d.ts
11
11
  declare const _default: {
12
12
  receivedQrCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "users/receivedQrCode">;
@@ -1,2 +1,2 @@
1
- import { a as Upload, c as appSlice, i as SnackbarContent, l as initialState, n as SearchState, o as _default, r as SentryConfig, s as actions, t as AppSliceType, u as sliceName } from "../index-CaNZaXie.cjs";
1
+ import { a as Upload, c as appSlice, i as SnackbarContent, l as initialState, n as SearchState, o as _default, r as SentryConfig, s as actions, t as AppSliceType, u as sliceName } from "../index-BoZjwQHk.cjs";
2
2
  export { AppSliceType, SearchState, SentryConfig, SnackbarContent, Upload, actions, appSlice, _default as default, initialState, sliceName };
@@ -1,2 +1,2 @@
1
- import { a as Upload, c as appSlice, i as SnackbarContent, l as initialState, n as SearchState, o as _default, r as SentryConfig, s as actions, t as AppSliceType, u as sliceName } from "../index-CThE5Gfh.js";
1
+ import { a as Upload, c as appSlice, i as SnackbarContent, l as initialState, n as SearchState, o as _default, r as SentryConfig, s as actions, t as AppSliceType, u as sliceName } from "../index-BMi8ZqpV.js";
2
2
  export { AppSliceType, SearchState, SentryConfig, SnackbarContent, Upload, actions, appSlice, _default as default, initialState, sliceName };
@@ -1,4 +1,4 @@
1
- import { f as SORTING_OPTIONS } from "../constants-DjiC_FnZ.js";
1
+ import { f as SORTING_OPTIONS } from "../constants-yul-O5hD.js";
2
2
  import { createSlice } from "@reduxjs/toolkit";
3
3
  //#region src/appSlice/index.ts
4
4
  const sliceName = "app";
@@ -1,4 +1,4 @@
1
- import { r as SentryConfig } from "../index-CaNZaXie.cjs";
1
+ import { r as SentryConfig } from "../index-BoZjwQHk.cjs";
2
2
  //#region src/appSlice/mocks.d.ts
3
3
  export declare const mockState: {
4
4
  searchState: {
@@ -1,4 +1,4 @@
1
- import { r as SentryConfig } from "../index-CThE5Gfh.js";
1
+ import { r as SentryConfig } from "../index-BMi8ZqpV.js";
2
2
  //#region src/appSlice/mocks.d.ts
3
3
  export declare const mockState: {
4
4
  searchState: {
@@ -1,2 +1,2 @@
1
- import { _ as getStripeKey, a as getFeatures, b as getVersionInformation, c as getHostedAnnouncement, d as getIsUploading, f as getRecaptchaKey, g as getSnackbar, h as getSentryConfig, i as getDocsVersion, l as getIsFirstLogin, m as getSearchedDevices, n as getAppInitDone, o as getFeedbackProbability, p as getSearchState, r as getCommit, s as getHostAddress, t as AppState, u as getIsPreview, v as getTrackerCode, y as getUploads } from "../selectors-XzNyGFJI.cjs";
1
+ import { _ as getStripeKey, a as getFeatures, b as getVersionInformation, c as getHostedAnnouncement, d as getIsUploading, f as getRecaptchaKey, g as getSnackbar, h as getSentryConfig, i as getDocsVersion, l as getIsFirstLogin, m as getSearchedDevices, n as getAppInitDone, o as getFeedbackProbability, p as getSearchState, r as getCommit, s as getHostAddress, t as AppState, u as getIsPreview, v as getTrackerCode, y as getUploads } from "../selectors-CdCZGn7e.cjs";
2
2
  export { AppState, getAppInitDone, getCommit, getDocsVersion, getFeatures, getFeedbackProbability, getHostAddress, getHostedAnnouncement, getIsFirstLogin, getIsPreview, getIsUploading, getRecaptchaKey, getSearchState, getSearchedDevices, getSentryConfig, getSnackbar, getStripeKey, getTrackerCode, getUploads, getVersionInformation };
@@ -1,2 +1,2 @@
1
- import { _ as getStripeKey, a as getFeatures, b as getVersionInformation, c as getHostedAnnouncement, d as getIsUploading, f as getRecaptchaKey, g as getSnackbar, h as getSentryConfig, i as getDocsVersion, l as getIsFirstLogin, m as getSearchedDevices, n as getAppInitDone, o as getFeedbackProbability, p as getSearchState, r as getCommit, s as getHostAddress, t as AppState, u as getIsPreview, v as getTrackerCode, y as getUploads } from "../selectors-CAo0fzIZ.js";
1
+ import { _ as getStripeKey, a as getFeatures, b as getVersionInformation, c as getHostedAnnouncement, d as getIsUploading, f as getRecaptchaKey, g as getSnackbar, h as getSentryConfig, i as getDocsVersion, l as getIsFirstLogin, m as getSearchedDevices, n as getAppInitDone, o as getFeedbackProbability, p as getSearchState, r as getCommit, s as getHostAddress, t as AppState, u as getIsPreview, v as getTrackerCode, y as getUploads } from "../selectors-D78O3T1o.js";
2
2
  export { AppState, getAppInitDone, getCommit, getDocsVersion, getFeatures, getFeedbackProbability, getHostAddress, getHostedAnnouncement, getIsFirstLogin, getIsPreview, getIsUploading, getRecaptchaKey, getSearchState, getSearchedDevices, getSentryConfig, getSnackbar, getStripeKey, getTrackerCode, getUploads, getVersionInformation };
@@ -1,5 +1,5 @@
1
- import { n as SearchState } from "../index-CaNZaXie.cjs";
2
- import { i as RootState, t as AppDispatch } from "../store-CCvk8X-k.cjs";
1
+ import { n as SearchState } from "../index-BoZjwQHk.cjs";
2
+ import { i as RootState, t as AppDispatch } from "../store-CrLzRDCx.cjs";
3
3
  //#region src/appSlice/thunks.d.ts
4
4
  export declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
5
5
  dispatch: AppDispatch;
@@ -1,5 +1,5 @@
1
- import { n as SearchState } from "../index-CThE5Gfh.js";
2
- import { i as RootState, t as AppDispatch } from "../store-v5V-bbB_.js";
1
+ import { n as SearchState } from "../index-BMi8ZqpV.js";
2
+ import { i as RootState, t as AppDispatch } from "../store-BQcycBPp.js";
3
3
  //#region src/appSlice/thunks.d.ts
4
4
  export declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
5
5
  dispatch: AppDispatch;
package/dist/auth.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as UserSession } from "./index-DNYeo7wc.cjs";
1
+ import { i as UserSession } from "./index-DlTiYWBe.cjs";
2
2
  //#region src/auth.d.ts
3
3
  export declare const getSessionInfo: () => UserSession;
4
4
  export declare const getToken: () => string;
package/dist/auth.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as UserSession } from "./index-C1vNDCYR.js";
1
+ import { i as UserSession } from "./index-KQNyWRoG.js";
2
2
  //#region src/auth.d.ts
3
3
  export declare const getSessionInfo: () => UserSession;
4
4
  export declare const getToken: () => string;
package/dist/auth.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as maxSessionAge, Q as settingsKeys } from "./constants-DjiC_FnZ.js";
1
+ import { $ as settingsKeys, M as maxSessionAge } from "./constants-yul-O5hD.js";
2
2
  import { TIMEOUTS } from "@northern.tech/utils/constants";
3
3
  import Cookies from "universal-cookie";
4
4
  //#region src/auth.ts
@@ -1,2 +1,2 @@
1
- import { At as Webhook, Ct as EXTERNAL_PROVIDER, Dt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Et as MAX_PAGE_SIZE, Ft as productOrder, It as timeUnits, Mt as credentialTypes, Nt as defaultIdAttribute, Ot as TIMEOUTS, Pt as emptyWebhook, St as DEVICE_ONLINE_CUTOFF, Tt as IdAttribute, bt as CountryType, jt as countries, kt as UNGROUPED_GROUP, wt as FilterOperator, xt as DEVICE_LIST_MAXIMUM_LENGTH, yt as ATTRIBUTE_SCOPE_LABELS } from "./constants-CUwYPOYK.cjs";
1
+ import { At as UNGROUPED_GROUP, Ct as DEVICE_ONLINE_CUTOFF, Dt as MAX_PAGE_SIZE, Et as IdAttribute, Ft as emptyWebhook, It as productOrder, Lt as timeUnits, Mt as countries, Nt as credentialTypes, Ot as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Pt as defaultIdAttribute, St as DEVICE_LIST_MAXIMUM_LENGTH, Tt as FilterOperator, bt as ATTRIBUTE_SCOPE_LABELS, jt as Webhook, kt as TIMEOUTS, wt as EXTERNAL_PROVIDER, xt as CountryType } from "./constants-hMMMdt0R.cjs";
2
2
  export { ATTRIBUTE_SCOPE_LABELS, type CountryType, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_ONLINE_CUTOFF, EXTERNAL_PROVIDER, FilterOperator, IdAttribute, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, TIMEOUTS, UNGROUPED_GROUP, Webhook, countries, credentialTypes, defaultIdAttribute, emptyWebhook, productOrder, timeUnits };
@@ -1,2 +1,2 @@
1
- import { At as Webhook, Ct as EXTERNAL_PROVIDER, Dt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Et as MAX_PAGE_SIZE, Ft as productOrder, It as timeUnits, Mt as credentialTypes, Nt as defaultIdAttribute, Ot as TIMEOUTS, Pt as emptyWebhook, St as DEVICE_ONLINE_CUTOFF, Tt as IdAttribute, bt as CountryType, jt as countries, kt as UNGROUPED_GROUP, wt as FilterOperator, xt as DEVICE_LIST_MAXIMUM_LENGTH, yt as ATTRIBUTE_SCOPE_LABELS } from "./constants-CCkKh9KM.js";
1
+ import { At as UNGROUPED_GROUP, Ct as DEVICE_ONLINE_CUTOFF, Dt as MAX_PAGE_SIZE, Et as IdAttribute, Ft as emptyWebhook, It as productOrder, Lt as timeUnits, Mt as countries, Nt as credentialTypes, Ot as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Pt as defaultIdAttribute, St as DEVICE_LIST_MAXIMUM_LENGTH, Tt as FilterOperator, bt as ATTRIBUTE_SCOPE_LABELS, jt as Webhook, kt as TIMEOUTS, wt as EXTERNAL_PROVIDER, xt as CountryType } from "./constants-3gsHyxWr.js";
2
2
  export { ATTRIBUTE_SCOPE_LABELS, type CountryType, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_ONLINE_CUTOFF, EXTERNAL_PROVIDER, FilterOperator, IdAttribute, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, TIMEOUTS, UNGROUPED_GROUP, Webhook, countries, credentialTypes, defaultIdAttribute, emptyWebhook, productOrder, timeUnits };
@@ -1,2 +1,2 @@
1
- import { At as DEVICE_ONLINE_CUTOFF, Bt as productOrder, Ft as UNGROUPED_GROUP, It as countries, Lt as credentialTypes, Mt as MAX_PAGE_SIZE, Nt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ot as ATTRIBUTE_SCOPE_LABELS, Pt as TIMEOUTS, Rt as defaultIdAttribute, Vt as timeUnits, jt as EXTERNAL_PROVIDER, kt as DEVICE_LIST_MAXIMUM_LENGTH, zt as emptyWebhook } from "./constants-DjiC_FnZ.js";
1
+ import { At as DEVICE_LIST_MAXIMUM_LENGTH, Bt as emptyWebhook, Ft as TIMEOUTS, Ht as timeUnits, It as UNGROUPED_GROUP, Lt as countries, Mt as EXTERNAL_PROVIDER, Nt as MAX_PAGE_SIZE, Pt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Rt as credentialTypes, Vt as productOrder, jt as DEVICE_ONLINE_CUTOFF, kt as ATTRIBUTE_SCOPE_LABELS, zt as defaultIdAttribute } from "./constants-yul-O5hD.js";
2
2
  export { ATTRIBUTE_SCOPE_LABELS, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_ONLINE_CUTOFF, EXTERNAL_PROVIDER, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, TIMEOUTS, UNGROUPED_GROUP, countries, credentialTypes, defaultIdAttribute, emptyWebhook, productOrder, timeUnits };
@@ -1,19 +1,19 @@
1
1
  import { a as AvailablePlans } from "./constants-tC3RR_Oo.cjs";
2
- import { S as Role } from "./constants-CUwYPOYK.cjs";
3
- import { a as UserSettings, n as GlobalSettings, r as User } from "./index-DNYeo7wc.cjs";
4
- import { i as Release } from "./index-BWtIaimn.cjs";
5
- import { i as Organization, n as AuditLogSelectionState } from "./types-CLASWtVP.cjs";
2
+ import { S as Role } from "./constants-hMMMdt0R.cjs";
3
+ import { a as UserSettings, n as GlobalSettings, r as User } from "./index-DlTiYWBe.cjs";
4
+ import { i as Release } from "./index-B9jUHGsM.cjs";
5
+ import { i as Organization, n as AuditLogSelectionState } from "./types-DtTmD7Yn.cjs";
6
6
  import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CoObjWL4.cjs";
7
7
  import { l as SelectionState, s as DeviceDeployment, t as Deployment } from "./index-mvxjivTJ.cjs";
8
- import { i as DeviceGroup, n as DeviceComponents, t as Device, u as InventoryAttributes } from "./index-7jVuB4tG.cjs";
9
- import { t as AppState } from "./selectors-XzNyGFJI.cjs";
8
+ import { i as DeviceGroup, n as DeviceComponents, t as Device, u as InventoryAttributes } from "./index-D8O1HJ8Q.cjs";
9
+ import { t as AppState } from "./selectors-CdCZGn7e.cjs";
10
10
  import { n as DeploymentsState } from "./selectors-CH-yXu-7.cjs";
11
- import { t as DevicesState } from "./selectors-DDsFLtxz.cjs";
12
- import { t as MonitorState } from "./selectors-aLOjKkxN.cjs";
11
+ import { t as DevicesState } from "./selectors-DuHGqmMJ.cjs";
12
+ import { t as MonitorState } from "./selectors-CftbLtXH.cjs";
13
13
  import { t as OnboardingState } from "./selectors-CQYkG1VI.cjs";
14
- import { t as OrganizationState } from "./selectors-LhR8TyWU.cjs";
15
- import { t as ReleasesState } from "./selectors-DeqP_VLU.cjs";
16
- import { t as UsersState } from "./selectors-jusUdUdc.cjs";
14
+ import { t as OrganizationState } from "./selectors-rto0SO4z.cjs";
15
+ import { t as ReleasesState } from "./selectors-CR0q7rXC.cjs";
16
+ import { t as UsersState } from "./selectors-CdllyZyW.cjs";
17
17
  import { AuditLog } from "@northern.tech/types/types.gen";
18
18
  //#region src/commonSelectors.d.ts
19
19
  export declare const getIsEnterprise: ((state: OrganizationState & AppState) => boolean) & {
@@ -1210,7 +1210,7 @@ export declare const getMappedDevicesList: ((state: any, listType: any) => objec
1210
1210
  export declare const getAuditlogDevice: ((state: OrganizationState & DevicesState) => {
1211
1211
  id?: string;
1212
1212
  identity_data?: import("@northern.tech/types/types.gen").IdentityData;
1213
- status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1213
+ status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1214
1214
  created_ts?: string;
1215
1215
  updated_ts?: string;
1216
1216
  check_in_time?: string;
@@ -1248,7 +1248,7 @@ export declare const getAuditlogDevice: ((state: OrganizationState & DevicesStat
1248
1248
  resultFunc: (resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1249
1249
  id?: string;
1250
1250
  identity_data?: import("@northern.tech/types/types.gen").IdentityData;
1251
- status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1251
+ status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1252
1252
  created_ts?: string;
1253
1253
  updated_ts?: string;
1254
1254
  check_in_time?: string;
@@ -1282,7 +1282,7 @@ export declare const getAuditlogDevice: ((state: OrganizationState & DevicesStat
1282
1282
  memoizedResultFunc: ((resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1283
1283
  id?: string;
1284
1284
  identity_data?: import("@northern.tech/types/types.gen").IdentityData;
1285
- status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1285
+ status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1286
1286
  created_ts?: string;
1287
1287
  updated_ts?: string;
1288
1288
  check_in_time?: string;
@@ -1320,7 +1320,7 @@ export declare const getAuditlogDevice: ((state: OrganizationState & DevicesStat
1320
1320
  lastResult: () => {
1321
1321
  id?: string;
1322
1322
  identity_data?: import("@northern.tech/types/types.gen").IdentityData;
1323
- status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1323
+ status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1324
1324
  created_ts?: string;
1325
1325
  updated_ts?: string;
1326
1326
  check_in_time?: string;
@@ -1,19 +1,19 @@
1
1
  import { a as AvailablePlans } from "./constants-tC3RR_Oo.js";
2
- import { S as Role } from "./constants-CCkKh9KM.js";
3
- import { a as UserSettings, n as GlobalSettings, r as User } from "./index-C1vNDCYR.js";
4
- import { i as Release } from "./index-o_m7WKiR.js";
5
- import { i as Organization, n as AuditLogSelectionState } from "./types-B2gphGj8.js";
2
+ import { S as Role } from "./constants-3gsHyxWr.js";
3
+ import { a as UserSettings, n as GlobalSettings, r as User } from "./index-KQNyWRoG.js";
4
+ import { i as Release } from "./index-DXfbW2gi.js";
5
+ import { i as Organization, n as AuditLogSelectionState } from "./types-DB1IOQX8.js";
6
6
  import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CoObjWL4.js";
7
7
  import { l as SelectionState, s as DeviceDeployment, t as Deployment } from "./index-B8td4-rY.js";
8
- import { i as DeviceGroup, n as DeviceComponents, t as Device, u as InventoryAttributes } from "./index-DOPRnlaC.js";
9
- import { t as AppState } from "./selectors-CAo0fzIZ.js";
8
+ import { i as DeviceGroup, n as DeviceComponents, t as Device, u as InventoryAttributes } from "./index-uhmZ9qaP.js";
9
+ import { t as AppState } from "./selectors-D78O3T1o.js";
10
10
  import { n as DeploymentsState } from "./selectors-D9t4It2i.js";
11
- import { t as DevicesState } from "./selectors-1394DVvN.js";
12
- import { t as MonitorState } from "./selectors-vk0GUGHf.js";
11
+ import { t as DevicesState } from "./selectors-SvKXGJM5.js";
12
+ import { t as MonitorState } from "./selectors-D_UFk4Uz.js";
13
13
  import { t as OnboardingState } from "./selectors-elCimAHX.js";
14
- import { t as OrganizationState } from "./selectors-DFSv4A_m.js";
15
- import { t as ReleasesState } from "./selectors-Ba9LUr_0.js";
16
- import { t as UsersState } from "./selectors-DQKg681M.js";
14
+ import { t as OrganizationState } from "./selectors-qClZ9EXM.js";
15
+ import { t as ReleasesState } from "./selectors-eYLuQW4M.js";
16
+ import { t as UsersState } from "./selectors-D2j3_Mnp.js";
17
17
  import { AuditLog } from "@northern.tech/types/types.gen";
18
18
  //#region src/commonSelectors.d.ts
19
19
  export declare const getIsEnterprise: ((state: OrganizationState & AppState) => boolean) & {
@@ -1210,7 +1210,7 @@ export declare const getMappedDevicesList: ((state: any, listType: any) => objec
1210
1210
  export declare const getAuditlogDevice: ((state: OrganizationState & DevicesState) => {
1211
1211
  id?: string;
1212
1212
  identity_data?: import("@northern.tech/types/types.gen").IdentityData;
1213
- status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1213
+ status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1214
1214
  created_ts?: string;
1215
1215
  updated_ts?: string;
1216
1216
  check_in_time?: string;
@@ -1248,7 +1248,7 @@ export declare const getAuditlogDevice: ((state: OrganizationState & DevicesStat
1248
1248
  resultFunc: (resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1249
1249
  id?: string;
1250
1250
  identity_data?: import("@northern.tech/types/types.gen").IdentityData;
1251
- status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1251
+ status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1252
1252
  created_ts?: string;
1253
1253
  updated_ts?: string;
1254
1254
  check_in_time?: string;
@@ -1282,7 +1282,7 @@ export declare const getAuditlogDevice: ((state: OrganizationState & DevicesStat
1282
1282
  memoizedResultFunc: ((resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1283
1283
  id?: string;
1284
1284
  identity_data?: import("@northern.tech/types/types.gen").IdentityData;
1285
- status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1285
+ status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1286
1286
  created_ts?: string;
1287
1287
  updated_ts?: string;
1288
1288
  check_in_time?: string;
@@ -1320,7 +1320,7 @@ export declare const getAuditlogDevice: ((state: OrganizationState & DevicesStat
1320
1320
  lastResult: () => {
1321
1321
  id?: string;
1322
1322
  identity_data?: import("@northern.tech/types/types.gen").IdentityData;
1323
- status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1323
+ status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
1324
1324
  created_ts?: string;
1325
1325
  updated_ts?: string;
1326
1326
  check_in_time?: string;
@@ -1,5 +1,5 @@
1
1
  import { ADDONS, PLANS, defaultReports } from "./appSlice/constants.js";
2
- import { F as rolesByName, Ft as UNGROUPED_GROUP, L as serviceProviderRolesById, Ot as ATTRIBUTE_SCOPE_LABELS, P as rolesById, U as uiPermissionsById, c as DEVICE_ISSUE_OPTIONS, o as ATTRIBUTE_SCOPES, t as ALL_DEVICES } from "./constants-DjiC_FnZ.js";
2
+ import { F as rolesByName, It as UNGROUPED_GROUP, L as serviceProviderRolesById, P as rolesById, W as uiPermissionsById, c as DEVICE_ISSUE_OPTIONS, kt as ATTRIBUTE_SCOPE_LABELS, o as ATTRIBUTE_SCOPES, t as ALL_DEVICES } from "./constants-yul-O5hD.js";
3
3
  import { onboardingSteps } from "./onboardingSlice/constants.js";
4
4
  import { getFeatures, getSearchedDevices } from "./appSlice/selectors.js";
5
5
  import { getDeploymentsById, getDeploymentsSelectionState, getSelectedDeploymentDeviceIds } from "./deploymentsSlice/selectors.js";
@@ -1,6 +1,6 @@
1
1
  import "./constants-tC3RR_Oo.js";
2
2
  import "./constants-C6TIYaY4.js";
3
- import { ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ATTRIBUTE_SCOPES, AnyPermission, AuditLogPermission, CountryType, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_STATES, DeploymentPermission, DeviceIssueOptionKey, GroupsPermission, PaginationOptions, PermissionObject, PermissionSet, PermissionSetId, PermissionTypes, ReleasesPermission, Role, SORTING_OPTIONS, ScopedPermissionsByAreaKey, SortOptions, TIMEOUTS as TIMEOUTS$1, UiPermissionsByAreaKey, UiPermissionsByIdKey, UiPermissionsDefinition, UserManagementPermission, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, countries, defaultPermissionSets, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyRole, emptyUiPermissions, headerNames, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, limitDefault, maxSessionAge, monitorApiUrlv1, rolesById, rolesByName, scopedPermissionAreas, serviceProviderRolesById, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2 } from "@northern.tech/utils/constants";
3
+ import { ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ATTRIBUTE_SCOPES, AnyPermission, AuditLogPermission, CountryType, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_STATES, DeploymentPermission, DeviceIssueOptionKey, GroupsPermission, PaginationOptions, PermissionObject, PermissionSet, PermissionSetId, PermissionTypes, ReleasesPermission, Role, SORTING_OPTIONS, ScopedPermissionsByAreaKey, SortOptions, TIMEOUTS as TIMEOUTS$1, UiPermissionsByAreaKey, UiPermissionsByIdKey, UiPermissionsDefinition, UserManagementPermission, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, countries, defaultPermissionSets, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyRole, emptyUiPermissions, headerNames, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, limitDefault, maxSessionAge, monitorApiUrlv1, rolesById, rolesByName, scopedPermissionAreas, serviceProviderRolesById, softwareIndicator, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2 } from "@northern.tech/utils/constants";
4
4
  import { Integration } from "@northern.tech/types/MenderTypes";
5
5
  //#region src/commonConstants.d.ts
6
6
  declare const timeUnits: {
@@ -105,5 +105,5 @@ declare const REPORT_CHART_SIZE_LIMIT = 6;
105
105
  //#region src/monitorSlice/constants.d.ts
106
106
  type AlertChannelKey = keyof typeof alertChannels;
107
107
  //#endregion
108
- export { scopedPermissionAreas as $, alertChannels as A, Webhook as At, deviceConnect as B, SORTING_OPTIONS as C, EXTERNAL_PROVIDER as Ct, UiPermissionsByIdKey as D, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX as Dt, UiPermissionsByAreaKey as E, MAX_PAGE_SIZE as Et, deploymentsApiUrl as F, productOrder as Ft, inventoryApiUrlV2 as G, emptyUiPermissions as H, deploymentsApiUrlV1alpha1 as I, timeUnits as It, limitDefault as J, inventoryApiUrlV2alpha1 as K, deploymentsApiUrlV2 as L, apiUrl as M, credentialTypes as Mt, auditLogsApiUrl as N, defaultIdAttribute as Nt, UiPermissionsDefinition as O, TIMEOUTS$1 as Ot, defaultPermissionSets as P, emptyWebhook as Pt, rolesByName as Q, deviceAuthV2 as R, Role as S, DEVICE_ONLINE_CUTOFF as St, SortOptions as T, IdAttribute as Tt, headerNames as U, emptyRole as V, inventoryApiUrl as W, monitorApiUrlv1 as X, maxSessionAge as Y, rolesById as Z, PermissionObject as _, emptyFilter as _t, APPLICATION_JWT_CONTENT_TYPE as a, uiPermissionsByArea as at, PermissionTypes as b, CountryType as bt, AuditLogPermission as c, useradmApiUrlv1 as ct, DEVICE_LIST_DEFAULTS as d, DEVICE_CONNECT_STATES as dt, serviceProviderRolesById as et, DEVICE_STATES as f, DEVICE_DISMISSAL_STATE as ft, PaginationOptions as g, REPORT_CHART_SIZE_LIMIT as gt, GroupsPermission as h, DeviceAuthState as ht, APPLICATION_JSON_CONTENT_TYPE as i, twoFAStates as it, apiRoot as j, countries as jt, UserManagementPermission as k, UNGROUPED_GROUP as kt, DEVICE_FILTERING_OPTIONS as l, useradmApiUrlv2 as lt, DeviceIssueOptionKey as m, DEVICE_MESSAGE_TYPES as mt, ALL_DEVICE_STATES as n, tenantadmApiUrlv1 as nt, ATTRIBUTE_SCOPES as o, uiPermissionsById as ot, DeploymentPermission as p, DEVICE_MESSAGE_PROTOCOLS as pt, iotManagerBaseURL as q, ALL_SOFTWARE as r, tenantadmApiUrlv2 as rt, AnyPermission as s, useradmApiUrl as st, ALL_DEVICES as t, ssoIdpApiUrlv1 as tt, DEVICE_ISSUE_OPTIONS as u, AlertChannelKey as ut, PermissionSet as v, geoAttributes as vt, ScopedPermissionsByAreaKey as w, FilterOperator as wt, ReleasesPermission as x, DEVICE_LIST_MAXIMUM_LENGTH as xt, PermissionSetId as y, ATTRIBUTE_SCOPE_LABELS as yt, deviceConfig as z };
109
- //# sourceMappingURL=constants-CCkKh9KM.d.ts.map
108
+ export { scopedPermissionAreas as $, alertChannels as A, UNGROUPED_GROUP as At, deviceConnect as B, SORTING_OPTIONS as C, DEVICE_ONLINE_CUTOFF as Ct, UiPermissionsByIdKey as D, MAX_PAGE_SIZE as Dt, UiPermissionsByAreaKey as E, IdAttribute as Et, deploymentsApiUrl as F, emptyWebhook as Ft, inventoryApiUrlV2 as G, emptyUiPermissions as H, deploymentsApiUrlV1alpha1 as I, productOrder as It, limitDefault as J, inventoryApiUrlV2alpha1 as K, deploymentsApiUrlV2 as L, timeUnits as Lt, apiUrl as M, countries as Mt, auditLogsApiUrl as N, credentialTypes as Nt, UiPermissionsDefinition as O, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX as Ot, defaultPermissionSets as P, defaultIdAttribute as Pt, rolesByName as Q, deviceAuthV2 as R, Role as S, DEVICE_LIST_MAXIMUM_LENGTH as St, SortOptions as T, FilterOperator as Tt, headerNames as U, emptyRole as V, inventoryApiUrl as W, monitorApiUrlv1 as X, maxSessionAge as Y, rolesById as Z, PermissionObject as _, REPORT_CHART_SIZE_LIMIT as _t, APPLICATION_JWT_CONTENT_TYPE as a, twoFAStates as at, PermissionTypes as b, ATTRIBUTE_SCOPE_LABELS as bt, AuditLogPermission as c, useradmApiUrl as ct, DEVICE_LIST_DEFAULTS as d, AlertChannelKey as dt, serviceProviderRolesById as et, DEVICE_STATES as f, DEVICE_CONNECT_STATES as ft, PaginationOptions as g, DeviceAuthState as gt, GroupsPermission as h, DEVICE_MESSAGE_TYPES as ht, APPLICATION_JSON_CONTENT_TYPE as i, tenantadmApiUrlv2 as it, apiRoot as j, Webhook as jt, UserManagementPermission as k, TIMEOUTS$1 as kt, DEVICE_FILTERING_OPTIONS as l, useradmApiUrlv1 as lt, DeviceIssueOptionKey as m, DEVICE_MESSAGE_PROTOCOLS as mt, ALL_DEVICE_STATES as n, ssoIdpApiUrlv1 as nt, ATTRIBUTE_SCOPES as o, uiPermissionsByArea as ot, DeploymentPermission as p, DEVICE_DISMISSAL_STATE as pt, iotManagerBaseURL as q, ALL_SOFTWARE as r, tenantadmApiUrlv1 as rt, AnyPermission as s, uiPermissionsById as st, ALL_DEVICES as t, softwareIndicator as tt, DEVICE_ISSUE_OPTIONS as u, useradmApiUrlv2 as ut, PermissionSet as v, emptyFilter as vt, ScopedPermissionsByAreaKey as w, EXTERNAL_PROVIDER as wt, ReleasesPermission as x, CountryType as xt, PermissionSetId as y, geoAttributes as yt, deviceConfig as z };
109
+ //# sourceMappingURL=constants-3gsHyxWr.d.ts.map
@@ -3,7 +3,6 @@ declare const ARTIFACT_GENERATION_TYPE: {
3
3
  SINGLE_FILE: string;
4
4
  };
5
5
  declare const currentArtifact = "artifact_name";
6
- declare const softwareIndicator = ".version";
7
6
  declare const rootfsImageVersion = "rootfs-image.version";
8
7
  declare const manifestVersion = "data-partition.mender-orchestrator-manifest.version";
9
8
  declare const softwareTitleMap: {
@@ -19,5 +18,5 @@ declare const softwareTitleMap: {
19
18
  };
20
19
  };
21
20
  //#endregion
22
- export { softwareIndicator as a, rootfsImageVersion as i, currentArtifact as n, softwareTitleMap as o, manifestVersion as r, ARTIFACT_GENERATION_TYPE as t };
23
- //# sourceMappingURL=constants-B3NH1IQi.d.ts.map
21
+ export { softwareTitleMap as a, rootfsImageVersion as i, currentArtifact as n, manifestVersion as r, ARTIFACT_GENERATION_TYPE as t };
22
+ //# sourceMappingURL=constants-DOnQ-UzD.d.cts.map
@@ -3,7 +3,6 @@ declare const ARTIFACT_GENERATION_TYPE: {
3
3
  SINGLE_FILE: string;
4
4
  };
5
5
  declare const currentArtifact = "artifact_name";
6
- declare const softwareIndicator = ".version";
7
6
  declare const rootfsImageVersion = "rootfs-image.version";
8
7
  declare const manifestVersion = "data-partition.mender-orchestrator-manifest.version";
9
8
  declare const softwareTitleMap: {
@@ -19,5 +18,5 @@ declare const softwareTitleMap: {
19
18
  };
20
19
  };
21
20
  //#endregion
22
- export { softwareIndicator as a, rootfsImageVersion as i, currentArtifact as n, softwareTitleMap as o, manifestVersion as r, ARTIFACT_GENERATION_TYPE as t };
23
- //# sourceMappingURL=constants-B3NH1IQi.d.cts.map
21
+ export { softwareTitleMap as a, rootfsImageVersion as i, currentArtifact as n, manifestVersion as r, ARTIFACT_GENERATION_TYPE as t };
22
+ //# sourceMappingURL=constants-DOnQ-UzD.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import "./constants-tC3RR_Oo.cjs";
2
2
  import "./constants-C6TIYaY4.cjs";
3
3
  import { Integration } from "@northern.tech/types/MenderTypes";
4
- import { ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ATTRIBUTE_SCOPES, AnyPermission, AuditLogPermission, CountryType, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_STATES, DeploymentPermission, DeviceIssueOptionKey, GroupsPermission, PaginationOptions, PermissionObject, PermissionSet, PermissionSetId, PermissionTypes, ReleasesPermission, Role, SORTING_OPTIONS, ScopedPermissionsByAreaKey, SortOptions, TIMEOUTS, UiPermissionsByAreaKey, UiPermissionsByIdKey, UiPermissionsDefinition, UserManagementPermission, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, countries, defaultPermissionSets, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyRole, emptyUiPermissions, headerNames, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, limitDefault, maxSessionAge, monitorApiUrlv1, rolesById, rolesByName, scopedPermissionAreas, serviceProviderRolesById, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2 } from "@northern.tech/utils/constants";
4
+ import { ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ATTRIBUTE_SCOPES, AnyPermission, AuditLogPermission, CountryType, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_STATES, DeploymentPermission, DeviceIssueOptionKey, GroupsPermission, PaginationOptions, PermissionObject, PermissionSet, PermissionSetId, PermissionTypes, ReleasesPermission, Role, SORTING_OPTIONS, ScopedPermissionsByAreaKey, SortOptions, TIMEOUTS, UiPermissionsByAreaKey, UiPermissionsByIdKey, UiPermissionsDefinition, UserManagementPermission, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, countries, defaultPermissionSets, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyRole, emptyUiPermissions, headerNames, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, limitDefault, maxSessionAge, monitorApiUrlv1, rolesById, rolesByName, scopedPermissionAreas, serviceProviderRolesById, softwareIndicator, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2 } from "@northern.tech/utils/constants";
5
5
  //#region src/commonConstants.d.ts
6
6
  declare const timeUnits: {
7
7
  days: string;
@@ -105,5 +105,5 @@ declare const REPORT_CHART_SIZE_LIMIT = 6;
105
105
  //#region src/monitorSlice/constants.d.ts
106
106
  type AlertChannelKey = keyof typeof alertChannels;
107
107
  //#endregion
108
- export { scopedPermissionAreas as $, alertChannels as A, Webhook as At, deviceConnect as B, SORTING_OPTIONS as C, EXTERNAL_PROVIDER as Ct, UiPermissionsByIdKey as D, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX as Dt, UiPermissionsByAreaKey as E, MAX_PAGE_SIZE as Et, deploymentsApiUrl as F, productOrder as Ft, inventoryApiUrlV2 as G, emptyUiPermissions as H, deploymentsApiUrlV1alpha1 as I, timeUnits as It, limitDefault as J, inventoryApiUrlV2alpha1 as K, deploymentsApiUrlV2 as L, apiUrl as M, credentialTypes as Mt, auditLogsApiUrl as N, defaultIdAttribute as Nt, UiPermissionsDefinition as O, TIMEOUTS as Ot, defaultPermissionSets as P, emptyWebhook as Pt, rolesByName as Q, deviceAuthV2 as R, Role as S, DEVICE_ONLINE_CUTOFF as St, SortOptions as T, IdAttribute as Tt, headerNames as U, emptyRole as V, inventoryApiUrl as W, monitorApiUrlv1 as X, maxSessionAge as Y, rolesById as Z, PermissionObject as _, emptyFilter as _t, APPLICATION_JWT_CONTENT_TYPE as a, uiPermissionsByArea as at, PermissionTypes as b, CountryType as bt, AuditLogPermission as c, useradmApiUrlv1 as ct, DEVICE_LIST_DEFAULTS as d, DEVICE_CONNECT_STATES as dt, serviceProviderRolesById as et, DEVICE_STATES as f, DEVICE_DISMISSAL_STATE as ft, PaginationOptions as g, REPORT_CHART_SIZE_LIMIT as gt, GroupsPermission as h, DeviceAuthState as ht, APPLICATION_JSON_CONTENT_TYPE as i, twoFAStates as it, apiRoot as j, countries as jt, UserManagementPermission as k, UNGROUPED_GROUP as kt, DEVICE_FILTERING_OPTIONS as l, useradmApiUrlv2 as lt, DeviceIssueOptionKey as m, DEVICE_MESSAGE_TYPES as mt, ALL_DEVICE_STATES as n, tenantadmApiUrlv1 as nt, ATTRIBUTE_SCOPES as o, uiPermissionsById as ot, DeploymentPermission as p, DEVICE_MESSAGE_PROTOCOLS as pt, iotManagerBaseURL as q, ALL_SOFTWARE as r, tenantadmApiUrlv2 as rt, AnyPermission as s, useradmApiUrl as st, ALL_DEVICES as t, ssoIdpApiUrlv1 as tt, DEVICE_ISSUE_OPTIONS as u, AlertChannelKey as ut, PermissionSet as v, geoAttributes as vt, ScopedPermissionsByAreaKey as w, FilterOperator as wt, ReleasesPermission as x, DEVICE_LIST_MAXIMUM_LENGTH as xt, PermissionSetId as y, ATTRIBUTE_SCOPE_LABELS as yt, deviceConfig as z };
109
- //# sourceMappingURL=constants-CUwYPOYK.d.cts.map
108
+ export { scopedPermissionAreas as $, alertChannels as A, UNGROUPED_GROUP as At, deviceConnect as B, SORTING_OPTIONS as C, DEVICE_ONLINE_CUTOFF as Ct, UiPermissionsByIdKey as D, MAX_PAGE_SIZE as Dt, UiPermissionsByAreaKey as E, IdAttribute as Et, deploymentsApiUrl as F, emptyWebhook as Ft, inventoryApiUrlV2 as G, emptyUiPermissions as H, deploymentsApiUrlV1alpha1 as I, productOrder as It, limitDefault as J, inventoryApiUrlV2alpha1 as K, deploymentsApiUrlV2 as L, timeUnits as Lt, apiUrl as M, countries as Mt, auditLogsApiUrl as N, credentialTypes as Nt, UiPermissionsDefinition as O, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX as Ot, defaultPermissionSets as P, defaultIdAttribute as Pt, rolesByName as Q, deviceAuthV2 as R, Role as S, DEVICE_LIST_MAXIMUM_LENGTH as St, SortOptions as T, FilterOperator as Tt, headerNames as U, emptyRole as V, inventoryApiUrl as W, monitorApiUrlv1 as X, maxSessionAge as Y, rolesById as Z, PermissionObject as _, REPORT_CHART_SIZE_LIMIT as _t, APPLICATION_JWT_CONTENT_TYPE as a, twoFAStates as at, PermissionTypes as b, ATTRIBUTE_SCOPE_LABELS as bt, AuditLogPermission as c, useradmApiUrl as ct, DEVICE_LIST_DEFAULTS as d, AlertChannelKey as dt, serviceProviderRolesById as et, DEVICE_STATES as f, DEVICE_CONNECT_STATES as ft, PaginationOptions as g, DeviceAuthState as gt, GroupsPermission as h, DEVICE_MESSAGE_TYPES as ht, APPLICATION_JSON_CONTENT_TYPE as i, tenantadmApiUrlv2 as it, apiRoot as j, Webhook as jt, UserManagementPermission as k, TIMEOUTS as kt, DEVICE_FILTERING_OPTIONS as l, useradmApiUrlv1 as lt, DeviceIssueOptionKey as m, DEVICE_MESSAGE_PROTOCOLS as mt, ALL_DEVICE_STATES as n, ssoIdpApiUrlv1 as nt, ATTRIBUTE_SCOPES as o, uiPermissionsByArea as ot, DeploymentPermission as p, DEVICE_DISMISSAL_STATE as pt, iotManagerBaseURL as q, ALL_SOFTWARE as r, tenantadmApiUrlv1 as rt, AnyPermission as s, uiPermissionsById as st, ALL_DEVICES as t, softwareIndicator as tt, DEVICE_ISSUE_OPTIONS as u, useradmApiUrlv2 as ut, PermissionSet as v, emptyFilter as vt, ScopedPermissionsByAreaKey as w, EXTERNAL_PROVIDER as wt, ReleasesPermission as x, CountryType as xt, PermissionSetId as y, geoAttributes as yt, deviceConfig as z };
109
+ //# sourceMappingURL=constants-hMMMdt0R.d.cts.map
@@ -1,4 +1,4 @@
1
- import { ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ATTRIBUTE_SCOPES, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_STATES, PermissionTypes, SORTING_OPTIONS, TIMEOUTS as TIMEOUTS$1, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, countries, defaultPermissionSets, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyRole, emptyUiPermissions, headerNames, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, limitDefault, maxSessionAge, monitorApiUrlv1, rolesById, rolesByName, scopedPermissionAreas, serviceProviderRolesById, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2 } from "@northern.tech/utils/constants";
1
+ import { ALL_DEVICES, ALL_DEVICE_STATES, ALL_SOFTWARE, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_JWT_CONTENT_TYPE, ATTRIBUTE_SCOPES, DEVICE_FILTERING_OPTIONS, DEVICE_ISSUE_OPTIONS, DEVICE_LIST_DEFAULTS, DEVICE_STATES, PermissionTypes, SORTING_OPTIONS, TIMEOUTS as TIMEOUTS$1, alertChannels, apiRoot, apiUrl, auditLogsApiUrl, countries, defaultPermissionSets, deploymentsApiUrl, deploymentsApiUrlV1alpha1, deploymentsApiUrlV2, deviceAuthV2, deviceConfig, deviceConnect, emptyRole, emptyUiPermissions, headerNames, inventoryApiUrl, inventoryApiUrlV2, inventoryApiUrlV2alpha1, iotManagerBaseURL, limitDefault, maxSessionAge, monitorApiUrlv1, rolesById, rolesByName, scopedPermissionAreas, serviceProviderRolesById, softwareIndicator, ssoIdpApiUrlv1, tenantadmApiUrlv1, tenantadmApiUrlv2, twoFAStates, uiPermissionsByArea, uiPermissionsById, useradmApiUrl, useradmApiUrlv1, useradmApiUrlv2 } from "@northern.tech/utils/constants";
2
2
  import { mdiAws, mdiMicrosoftAzure } from "@mdi/js";
3
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/commonConstants.tsx
@@ -413,6 +413,6 @@ const READ_STATES = {
413
413
  unread: "unread"
414
414
  };
415
415
  //#endregion
416
- export { AUDIT_LOGS_TYPES as $, iotManagerBaseURL as A, DEVICE_ONLINE_CUTOFF as At, tenantadmApiUrlv2 as B, productOrder as Bt, deviceConnect as C, deploymentStatesToSubstatesWithSkipped as Ct, inventoryApiUrl as D, pauseMap as Dt, headerNames as E, listDefaultsByState as Et, rolesByName as F, UNGROUPED_GROUP as Ft, useradmApiUrlv1 as G, uiPermissionsByArea as H, scopedPermissionAreas as I, countries as It, READ_STATES as J, useradmApiUrlv2 as K, serviceProviderRolesById as L, credentialTypes as Lt, maxSessionAge as M, MAX_PAGE_SIZE as Mt, monitorApiUrlv1 as N, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX as Nt, inventoryApiUrlV2 as O, ATTRIBUTE_SCOPE_LABELS as Ot, rolesById as P, TIMEOUTS$1 as Pt, settingsKeys as Q, ssoIdpApiUrlv1 as R, defaultIdAttribute as Rt, deviceConfig as S, deploymentStatesToSubstates as St, emptyUiPermissions as T, installationSubstatesMap as Tt, uiPermissionsById as U, twoFAStates as V, timeUnits as Vt, useradmApiUrl as W, checkPermissionsObject as X, USER_LOGOUT as Y, itemUiPermissionsReducer as Z, defaultPermissionSets as _, DEPLOYMENT_STATES as _t, APPLICATION_JWT_CONTENT_TYPE as a, auditlogTypes as at, deploymentsApiUrlV2 as b, deploymentDisplayStates as bt, DEVICE_ISSUE_OPTIONS as c, DEVICE_CONNECT_STATES as ct, PermissionTypes as d, DEVICE_MESSAGE_TYPES as dt, JSON_METADATA_FORMAT as et, SORTING_OPTIONS as f, REPORT_CHART_SIZE_LIMIT as ft, auditLogsApiUrl as g, DEPLOYMENT_ROUTES as gt, apiUrl as h, DEFAULT_PENDING_INPROGRESS_COUNT as ht, APPLICATION_JSON_CONTENT_TYPE as i, XML_METADATA_FORMAT as it, limitDefault as j, EXTERNAL_PROVIDER as jt, inventoryApiUrlV2alpha1 as k, DEVICE_LIST_MAXIMUM_LENGTH as kt, DEVICE_LIST_DEFAULTS as l, DEVICE_DISMISSAL_STATE as lt, apiRoot as m, geoAttributes as mt, ALL_DEVICE_STATES as n, SSO_TYPES as nt, ATTRIBUTE_SCOPES as o, getOidcStartUrl as ot, alertChannels as p, emptyFilter as pt, OWN_USER_ID as q, ALL_SOFTWARE as r, TENANT_LIST_DEFAULT as rt, DEVICE_FILTERING_OPTIONS as s, getSamlStartUrl as st, ALL_DEVICES as t, SP_AUDIT_LOGS_TYPES as tt, DEVICE_STATES as u, DEVICE_MESSAGE_PROTOCOLS as ut, deploymentsApiUrl as v, DEPLOYMENT_TYPES as vt, emptyRole as w, deploymentSubstates as wt, deviceAuthV2 as x, deploymentPrototype as xt, deploymentsApiUrlV1alpha1 as y, defaultStats as yt, tenantadmApiUrlv1 as z, emptyWebhook as zt };
416
+ export { settingsKeys as $, iotManagerBaseURL as A, DEVICE_LIST_MAXIMUM_LENGTH as At, tenantadmApiUrlv1 as B, emptyWebhook as Bt, deviceConnect as C, deploymentStatesToSubstates as Ct, inventoryApiUrl as D, listDefaultsByState as Dt, headerNames as E, installationSubstatesMap as Et, rolesByName as F, TIMEOUTS$1 as Ft, useradmApiUrl as G, twoFAStates as H, timeUnits as Ht, scopedPermissionAreas as I, UNGROUPED_GROUP as It, OWN_USER_ID as J, useradmApiUrlv1 as K, serviceProviderRolesById as L, countries as Lt, maxSessionAge as M, EXTERNAL_PROVIDER as Mt, monitorApiUrlv1 as N, MAX_PAGE_SIZE as Nt, inventoryApiUrlV2 as O, pauseMap as Ot, rolesById as P, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX as Pt, itemUiPermissionsReducer as Q, softwareIndicator as R, credentialTypes as Rt, deviceConfig as S, deploymentPrototype as St, emptyUiPermissions as T, deploymentSubstates as Tt, uiPermissionsByArea as U, tenantadmApiUrlv2 as V, productOrder as Vt, uiPermissionsById as W, USER_LOGOUT as X, READ_STATES as Y, checkPermissionsObject as Z, defaultPermissionSets as _, DEPLOYMENT_ROUTES as _t, APPLICATION_JWT_CONTENT_TYPE as a, XML_METADATA_FORMAT as at, deploymentsApiUrlV2 as b, defaultStats as bt, DEVICE_ISSUE_OPTIONS as c, getSamlStartUrl as ct, PermissionTypes as d, DEVICE_MESSAGE_PROTOCOLS as dt, AUDIT_LOGS_TYPES as et, SORTING_OPTIONS as f, DEVICE_MESSAGE_TYPES as ft, auditLogsApiUrl as g, DEFAULT_PENDING_INPROGRESS_COUNT as gt, apiUrl as h, geoAttributes as ht, APPLICATION_JSON_CONTENT_TYPE as i, TENANT_LIST_DEFAULT as it, limitDefault as j, DEVICE_ONLINE_CUTOFF as jt, inventoryApiUrlV2alpha1 as k, ATTRIBUTE_SCOPE_LABELS as kt, DEVICE_LIST_DEFAULTS as l, DEVICE_CONNECT_STATES as lt, apiRoot as m, emptyFilter as mt, ALL_DEVICE_STATES as n, SP_AUDIT_LOGS_TYPES as nt, ATTRIBUTE_SCOPES as o, auditlogTypes as ot, alertChannels as p, REPORT_CHART_SIZE_LIMIT as pt, useradmApiUrlv2 as q, ALL_SOFTWARE as r, SSO_TYPES as rt, DEVICE_FILTERING_OPTIONS as s, getOidcStartUrl as st, ALL_DEVICES as t, JSON_METADATA_FORMAT as tt, DEVICE_STATES as u, DEVICE_DISMISSAL_STATE as ut, deploymentsApiUrl as v, DEPLOYMENT_STATES as vt, emptyRole as w, deploymentStatesToSubstatesWithSkipped as wt, deviceAuthV2 as x, deploymentDisplayStates as xt, deploymentsApiUrlV1alpha1 as y, DEPLOYMENT_TYPES as yt, ssoIdpApiUrlv1 as z, defaultIdAttribute as zt };
417
417
 
418
- //# sourceMappingURL=constants-DjiC_FnZ.js.map
418
+ //# sourceMappingURL=constants-yul-O5hD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-DjiC_FnZ.js","names":["AWS","Azure"],"sources":["../src/commonConstants.tsx","../src/deploymentsSlice/constants.ts","../src/devicesSlice/constants.ts","../src/organizationSlice/constants.ts","../src/usersSlice/constants.ts"],"sourcesContent":["// Copyright 2024 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n// @ts-nocheck\nimport { mdiAws as AWS, mdiMicrosoftAzure as Azure } from '@mdi/js';\nimport type { Integration } from '@northern.tech/types/MenderTypes';\nimport { TIMEOUTS, countries } from '@northern.tech/utils/constants';\nimport type { CountryType } from '@northern.tech/utils/constants';\n\nimport type { DEVICE_FILTERING_OPTIONS } from './constants';\nimport { ATTRIBUTE_SCOPES } from './constants';\n\nexport const timeUnits = {\n days: 'days',\n minutes: 'minutes',\n hours: 'hours'\n};\n\nexport const UNGROUPED_GROUP = { id: '*|=ungrouped=|*', name: 'Unassigned' };\n\nexport const DEVICE_LIST_MAXIMUM_LENGTH = 50;\n\nexport type FilterOperator = keyof typeof DEVICE_FILTERING_OPTIONS;\n\nexport { TIMEOUTS, countries };\nexport type { CountryType };\n\nexport const DEVICE_ONLINE_CUTOFF = { interval: 1, intervalName: timeUnits.days };\n\nexport interface IdAttribute {\n attribute: string;\n scope: string;\n}\nexport const defaultIdAttribute: Readonly<IdAttribute> = Object.freeze({ attribute: 'id', scope: ATTRIBUTE_SCOPES.identity });\n\nexport const ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX = 'mender-orchestrator-manifest.';\n\n// displayed labels for attribute scopes that diverge from the internal scope values: the system scope shows as\n// `default`, while orchestrator manifest attributes (inventory scope) show as `system`\nexport const ATTRIBUTE_SCOPE_LABELS = {\n default: 'default',\n system: 'system'\n} as const;\n\nexport const productOrder = ['micro', 'standard', 'system'];\n\nexport const credentialTypes = {\n aws: 'aws',\n http: 'http',\n sas: 'sas',\n x509: 'x509'\n};\nexport const EXTERNAL_PROVIDER = {\n 'iot-core': {\n credentialsType: credentialTypes.aws,\n icon: AWS,\n title: 'AWS IoT Core',\n twinTitle: 'Device Shadow',\n provider: 'iot-core',\n enabled: true,\n deviceTwin: true,\n configHint: <>For help finding your AWS IoT Core connection string, check the AWS IoT documentation.</>\n },\n 'iot-hub': {\n credentialsType: credentialTypes.sas,\n icon: Azure,\n title: 'Azure IoT Hub',\n twinTitle: 'Device Twin',\n provider: 'iot-hub',\n enabled: true,\n deviceTwin: true,\n configHint: (\n <span>\n For help finding your Azure IoT Hub connection string, look under &apos;Shared access policies&apos; in the Microsoft Azure UI as described{' '}\n {\n <a\n href=\"https://devblogs.microsoft.com/iotdev/understand-different-connection-strings-in-azure-iot-hub/#iothubconn\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n here\n </a>\n }\n .\n </span>\n )\n },\n webhook: {\n credentialsType: credentialTypes.http,\n deviceTwin: false,\n twinTitle: '',\n // disable the webhook provider here, since it is treated different than other integrations, with a custom configuration & management view, etc.\n enabled: false,\n provider: 'webhook'\n }\n} as const;\n\nexport interface Webhook extends Integration {\n provider: 'webhook';\n}\n\nexport const emptyWebhook: Webhook = {\n description: '',\n provider: 'webhook',\n credentials: {\n type: EXTERNAL_PROVIDER.webhook.credentialsType,\n [EXTERNAL_PROVIDER.webhook.credentialsType]: {\n secret: '',\n url: ''\n }\n }\n};\n\nexport const MAX_PAGE_SIZE = 500;\n","// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type { DeploymentStatistics } from '@northern.tech/types/MenderTypes';\n\nimport { DEVICE_LIST_DEFAULTS, SORTING_OPTIONS } from '../constants';\n\nconst alreadyInstalled = 'already-installed';\n\nexport const deploymentSubstates = {\n aborted: 'aborted',\n alreadyInstalled,\n decommissioned: 'decommissioned',\n downloading: 'downloading',\n failure: 'failure',\n installing: 'installing',\n noartifact: 'noartifact',\n artifact_too_big: 'artifact_too_big',\n incompatible_tier: 'incompatible_tier',\n pause_before_committing: 'pause_before_committing',\n pause_before_installing: 'pause_before_installing',\n pause_before_rebooting: 'pause_before_rebooting',\n pending: 'pending',\n rebooting: 'rebooting',\n success: 'success'\n};\n\nexport type DeploymentSubstateMapping = {\n failures: string[];\n inprogress: string[];\n paused: string[];\n pending: string[];\n skipped?: string[];\n successes: string[];\n};\n\nexport const deploymentStatesToSubstates: DeploymentSubstateMapping = {\n failures: [deploymentSubstates.failure, deploymentSubstates.aborted, deploymentSubstates.decommissioned],\n inprogress: [deploymentSubstates.downloading, deploymentSubstates.installing, deploymentSubstates.rebooting],\n paused: [deploymentSubstates.pause_before_installing, deploymentSubstates.pause_before_rebooting, deploymentSubstates.pause_before_committing],\n pending: [deploymentSubstates.pending],\n successes: [\n deploymentSubstates.success,\n deploymentSubstates.alreadyInstalled,\n deploymentSubstates.noartifact,\n deploymentSubstates.artifact_too_big,\n deploymentSubstates.incompatible_tier\n ]\n};\n\nexport const deploymentStatesToSubstatesWithSkipped: DeploymentSubstateMapping = {\n ...deploymentStatesToSubstates,\n failures: [deploymentSubstates.failure],\n skipped: [\n deploymentSubstates.aborted,\n deploymentSubstates.noartifact,\n deploymentSubstates.artifact_too_big,\n deploymentSubstates.alreadyInstalled,\n deploymentSubstates.decommissioned,\n deploymentSubstates.incompatible_tier\n ],\n successes: [deploymentSubstates.success]\n};\nexport const installationSubstatesMap = {\n download: {\n title: 'download',\n done: 'downloaded',\n successIndicators: [deploymentSubstates.installing, deploymentSubstates.rebooting, ...deploymentStatesToSubstates.paused, deploymentSubstates.success],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactInstall_Enter'\n },\n install: {\n title: 'install',\n done: 'installed',\n successIndicators: [\n deploymentSubstates.rebooting,\n deploymentSubstates.pause_before_rebooting,\n deploymentSubstates.pause_before_committing,\n deploymentSubstates.success\n ],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactReboot_Enter'\n },\n reboot: {\n title: 'reboot',\n done: 'rebooted',\n successIndicators: [deploymentSubstates.pause_before_committing, deploymentSubstates.success],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactCommit_Enter'\n },\n commit: {\n title: 'commit',\n done: 'committed',\n successIndicators: deploymentStatesToSubstates.successes,\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: undefined\n }\n};\n\nexport const DEPLOYMENT_STATES = {\n finished: 'finished',\n inprogress: 'inprogress',\n pending: 'pending',\n scheduled: 'scheduled'\n} as const;\n\nexport const listDefaultsByState = {\n [DEPLOYMENT_STATES.inprogress]: { page: 1, perPage: 10 },\n [DEPLOYMENT_STATES.pending]: { page: 1, perPage: 10 },\n [DEPLOYMENT_STATES.scheduled]: { ...DEVICE_LIST_DEFAULTS },\n [DEPLOYMENT_STATES.finished]: { ...DEVICE_LIST_DEFAULTS },\n sort: { direction: SORTING_OPTIONS.desc }\n};\n\nexport const DEFAULT_PENDING_INPROGRESS_COUNT = 10;\nexport const DEPLOYMENT_ROUTES = {\n active: {\n key: 'active',\n route: '/deployments/active',\n states: [DEPLOYMENT_STATES.pending, DEPLOYMENT_STATES.inprogress],\n title: 'Active'\n },\n finished: {\n key: 'finished',\n route: '/deployments/finished',\n states: [DEPLOYMENT_STATES.finished],\n title: 'Finished'\n },\n scheduled: {\n key: 'scheduled',\n route: '/deployments/scheduled',\n states: [DEPLOYMENT_STATES.scheduled],\n title: 'Scheduled'\n }\n} as const;\nexport const DEPLOYMENT_TYPES = {\n software: 'software',\n configuration: 'configuration'\n};\nexport const defaultStats = {\n [deploymentSubstates.aborted]: 0,\n [deploymentSubstates.alreadyInstalled]: 0,\n [deploymentSubstates.decommissioned]: 0,\n [deploymentSubstates.downloading]: 0,\n [deploymentSubstates.failure]: 0,\n [deploymentSubstates.installing]: 0,\n [deploymentSubstates.noartifact]: 0,\n [deploymentSubstates.pause_before_committing]: 0,\n [deploymentSubstates.pause_before_installing]: 0,\n [deploymentSubstates.pause_before_rebooting]: 0,\n [deploymentSubstates.pending]: 0,\n [deploymentSubstates.rebooting]: 0,\n [deploymentSubstates.success]: 0\n};\nexport const deploymentDisplayStates = {\n finished: 'Finished',\n scheduled: 'Scheduled',\n skipped: 'Skipped',\n paused: 'Paused',\n pending: 'Pending',\n inprogress: 'In Progress',\n success: 'Success',\n successes: 'Success',\n failure: 'Fail',\n failures: 'Fail'\n};\n\nexport const deploymentPrototype = {\n devices: {},\n name: undefined,\n statistics: { status: {} } as DeploymentStatistics\n};\n\nexport const pauseMap = {\n [deploymentSubstates.pause_before_installing]: {\n title: installationSubstatesMap.download.done,\n followUp: installationSubstatesMap.download.pauseConfigurationIndicator\n },\n [deploymentSubstates.pause_before_rebooting]: {\n title: installationSubstatesMap.install.done,\n followUp: installationSubstatesMap.install.pauseConfigurationIndicator\n },\n [deploymentSubstates.pause_before_committing]: {\n title: installationSubstatesMap.reboot.done,\n followUp: installationSubstatesMap.reboot.pauseConfigurationIndicator\n }\n};\n","// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type { DEVICE_STATES, FilterOperator } from '../constants';\nimport { DEVICE_FILTERING_OPTIONS } from '../constants';\n\nexport const emptyFilter = { key: null, value: '', operator: DEVICE_FILTERING_OPTIONS.$eq.key as FilterOperator, scope: 'inventory' };\n\n// see https://github.com/mendersoftware/go-lib-micro/tree/master/ws\n// for the description of proto_header and the consts\n// *Note*: this needs to be aligned with mender-connect and deviceconnect.\nexport const DEVICE_MESSAGE_PROTOCOLS = {\n Shell: 1\n};\nexport const DEVICE_MESSAGE_TYPES = {\n Delay: 'delay',\n New: 'new',\n Ping: 'ping',\n Pong: 'pong',\n Resize: 'resize',\n Shell: 'shell',\n Stop: 'stop'\n};\n\n// we can't include the dismiss state with the rest since this would include dismissed devices in several queries\nexport const DEVICE_DISMISSAL_STATE = 'dismiss';\n\nexport type DeviceAuthState = (typeof DEVICE_STATES)[keyof typeof DEVICE_STATES];\n\nexport const DEVICE_CONNECT_STATES = {\n connected: 'connected',\n disconnected: 'disconnected',\n unknown: 'unknown'\n};\n\nexport const geoAttributes = ['geo-lat', 'geo-lon'].map(attribute => ({ attribute, scope: 'inventory' }));\n\nexport const REPORT_CHART_SIZE_LIMIT = 6;\n","// Copyright 2020 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { useradmApiUrl } from '../constants';\n\nexport const XML_METADATA_FORMAT = 'xml';\nexport const JSON_METADATA_FORMAT = 'json';\n\nexport const getSamlStartUrl = id => `${window.location.origin}${useradmApiUrl}/auth/sso/${id}/login`;\nexport const getOidcStartUrl = id => `${window.location.origin}${useradmApiUrl}/oidc/${id}/start`;\n\nexport const SSO_TYPES = {\n saml: {\n id: 'saml',\n type: 'saml',\n title: 'SAML',\n metadataFormat: XML_METADATA_FORMAT,\n editorLanguage: XML_METADATA_FORMAT,\n contentType: 'application/samlmetadata+xml',\n getStartUrl: getSamlStartUrl,\n configDetails: [\n { key: 'entityID', label: 'Entity ID', getValue: id => `${window.location.origin}${useradmApiUrl}/sso/sp/metadata/${id}` },\n { key: 'acs', label: 'ACS URL', getValue: id => `${window.location.origin}${useradmApiUrl}/auth/sso/${id}/acs` },\n { key: 'startURL', label: 'Start URL', getValue: getSamlStartUrl }\n ]\n },\n oidc: {\n id: 'oidc',\n type: 'oidc',\n title: 'OpenID Connect',\n metadataFormat: JSON_METADATA_FORMAT,\n editorLanguage: JSON_METADATA_FORMAT,\n contentType: 'application/json',\n getStartUrl: getOidcStartUrl,\n configDetails: [{ key: 'startURL', label: 'Start Url', getValue: getOidcStartUrl }]\n }\n} as const;\n\nexport type ContentType = (typeof SSO_TYPES)[keyof typeof SSO_TYPES]['contentType'];\n\nexport const auditlogTypes = {\n artifact: { title: 'Artifact', queryParameter: 'object_type', value: 'artifact' },\n deployment: { title: 'Deployment', queryParameter: 'object_deployment_name', value: 'deployment' },\n device: { title: 'Device', queryParameter: 'object_id', value: 'device' },\n user_access_token: { title: 'Personal Access Token', queryParameter: 'user_access_token', value: 'user_access_token' },\n user: { title: 'User', queryParameter: 'object_id', value: 'user' },\n tenant: { title: 'Tenant', queryParameter: 'object_id', value: 'tenant' }\n};\n\nexport const AUDIT_LOGS_TYPES = [auditlogTypes.artifact, auditlogTypes.deployment, auditlogTypes.device, auditlogTypes.user_access_token, auditlogTypes.user];\nexport const SP_AUDIT_LOGS_TYPES = [auditlogTypes.user, auditlogTypes.tenant];\n\nexport const TENANT_LIST_DEFAULT = {\n page: 1,\n perPage: 20\n};\n","'use strict';\n\n// Copyright 2015 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { uiPermissionsById } from '../constants';\n\nexport type UiPermission = {\n explanations: object;\n permissionLevel: number;\n permissionSets: Record<string, string>;\n title: string;\n value: string;\n verbs: string[];\n};\n\ntype ExcessiveAccessConfig = {\n selector: string;\n warning: string;\n};\n\ntype EndpointDefinition = {\n path: RegExp;\n types: string[];\n uiPermissions: UiPermission[];\n};\n\n/**\n * _uiPermissions_ represent the possible permissions/ rights that can be given for the area\n * _endpoints_ represent the possible endpoints this definition might be affecting in the UI and what\n * functionality might be affected\n *\n */\nexport type PermissionsArea = {\n endpoints: EndpointDefinition[];\n excessiveAccessConfig?: ExcessiveAccessConfig;\n explanation: string;\n filter?: (object) => string[];\n key: string;\n placeholder?: string;\n scope?: string;\n title: string;\n uiPermissions: UiPermission[];\n};\n\nexport const itemUiPermissionsReducer = (accu, { item, uiPermissions }) => (item ? { ...accu, [item]: uiPermissions } : accu);\n\nconst checkSinglePermission = (permission, requiredPermission) =>\n requiredPermission === permission || uiPermissionsById[permission].permissionLevel > uiPermissionsById[requiredPermission].permissionLevel;\n\nexport const checkPermissionsObject = (permissions, requiredPermission, scopedAccess, superAccess) =>\n permissions[superAccess]?.some(permission => checkSinglePermission(permission, requiredPermission)) ||\n permissions[scopedAccess]?.some(permission => checkSinglePermission(permission, requiredPermission));\n\nexport const USER_LOGOUT = 'USER_LOGOUT';\n\nexport const OWN_USER_ID = 'me';\n\nexport const settingsKeys = { colorScheme: 'colorScheme', initialized: 'settings-initialized' };\n\nexport const READ_STATES = {\n read: 'read',\n seen: 'seen',\n unread: 'unread'\n} as const;\nexport type ReadState = keyof typeof READ_STATES;\n"],"mappings":";;;;AAsBA,MAAa,YAAY;CACvB,MAAM;CACN,SAAS;CACT,OAAO;AACT;AAEA,MAAa,kBAAkB;CAAE,IAAI;CAAmB,MAAM;AAAa;AAE3E,MAAa,6BAA6B;AAO1C,MAAa,uBAAuB;CAAE,UAAU;CAAG,cAAc,UAAU;AAAK;AAMhF,MAAa,qBAA4C,OAAO,OAAO;CAAE,WAAW;CAAM,OAAO,iBAAiB;AAAS,CAAC;AAE5H,MAAa,yCAAyC;AAItD,MAAa,yBAAyB;CACpC,SAAS;CACT,QAAQ;AACV;AAEA,MAAa,eAAe;CAAC;CAAS;CAAY;AAAQ;AAE1D,MAAa,kBAAkB;CAC7B,KAAK;CACL,MAAM;CACN,KAAK;CACL,MAAM;AACR;AACA,MAAa,oBAAoB;CAC/B,YAAY;EACV,iBAAiB,gBAAgB;EACjC,MAAMA;EACN,OAAO;EACP,W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EAAE,OAAO;EAAU,gBAAgB;EAAa,OAAO;CAAS;AAC1E;AAEA,MAAa,mBAAmB;CAAC,cAAc;CAAU,cAAc;CAAY,cAAc;CAAQ,cAAc;CAAmB,cAAc;AAAI;AAC5J,MAAa,sBAAsB,CAAC,cAAc,MAAM,cAAc,MAAM;AAE5E,MAAa,sBAAsB;CACjC,MAAM;CACN,SAAS;AACX;;;ACVA,MAAa,4BAA4B,MAAM,EAAE,MAAM,oBAAqB,OAAO;CAAE,GAAG;EAAO,OAAO;AAAc,IAAI;AAExH,MAAM,yBAAyB,YAAY,uBACzC,uBAAuB,cAAc,kBAAkB,WAAW,CAAC,kBAAkB,kBAAkB,mBAAmB,CAAC;AAE7H,MAAa,0BAA0B,aAAa,oBAAoB,cAAc,gBACpF,YAAY,YAAY,EAAE,MAAK,eAAc,sBAAsB,YAAY,kBAAkB,CAAC,KAClG,YAAY,aAAa,EAAE,MAAK,eAAc,sBAAsB,YAAY,kBAAkB,CAAC;AAErG,MAAa,cAAc;AAE3B,MAAa,cAAc;AAE3B,MAAa,eAAe;CAAE,aAAa;CAAe,aAAa;AAAuB;AAE9F,MAAa,cAAc;CACzB,MAAM;CACN,MAAM;CACN,QAAQ;AACV"}
1
+ {"version":3,"file":"constants-yul-O5hD.js","names":["AWS","Azure"],"sources":["../src/commonConstants.tsx","../src/deploymentsSlice/constants.ts","../src/devicesSlice/constants.ts","../src/organizationSlice/constants.ts","../src/usersSlice/constants.ts"],"sourcesContent":["// Copyright 2024 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n// @ts-nocheck\nimport { mdiAws as AWS, mdiMicrosoftAzure as Azure } from '@mdi/js';\nimport type { Integration } from '@northern.tech/types/MenderTypes';\nimport { TIMEOUTS, countries } from '@northern.tech/utils/constants';\nimport type { CountryType } from '@northern.tech/utils/constants';\n\nimport type { DEVICE_FILTERING_OPTIONS } from './constants';\nimport { ATTRIBUTE_SCOPES } from './constants';\n\nexport const timeUnits = {\n days: 'days',\n minutes: 'minutes',\n hours: 'hours'\n};\n\nexport const UNGROUPED_GROUP = { id: '*|=ungrouped=|*', name: 'Unassigned' };\n\nexport const DEVICE_LIST_MAXIMUM_LENGTH = 50;\n\nexport type FilterOperator = keyof typeof DEVICE_FILTERING_OPTIONS;\n\nexport { TIMEOUTS, countries };\nexport type { CountryType };\n\nexport const DEVICE_ONLINE_CUTOFF = { interval: 1, intervalName: timeUnits.days };\n\nexport interface IdAttribute {\n attribute: string;\n scope: string;\n}\nexport const defaultIdAttribute: Readonly<IdAttribute> = Object.freeze({ attribute: 'id', scope: ATTRIBUTE_SCOPES.identity });\n\nexport const ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX = 'mender-orchestrator-manifest.';\n\n// displayed labels for attribute scopes that diverge from the internal scope values: the system scope shows as\n// `default`, while orchestrator manifest attributes (inventory scope) show as `system`\nexport const ATTRIBUTE_SCOPE_LABELS = {\n default: 'default',\n system: 'system'\n} as const;\n\nexport const productOrder = ['micro', 'standard', 'system'];\n\nexport const credentialTypes = {\n aws: 'aws',\n http: 'http',\n sas: 'sas',\n x509: 'x509'\n};\nexport const EXTERNAL_PROVIDER = {\n 'iot-core': {\n credentialsType: credentialTypes.aws,\n icon: AWS,\n title: 'AWS IoT Core',\n twinTitle: 'Device Shadow',\n provider: 'iot-core',\n enabled: true,\n deviceTwin: true,\n configHint: <>For help finding your AWS IoT Core connection string, check the AWS IoT documentation.</>\n },\n 'iot-hub': {\n credentialsType: credentialTypes.sas,\n icon: Azure,\n title: 'Azure IoT Hub',\n twinTitle: 'Device Twin',\n provider: 'iot-hub',\n enabled: true,\n deviceTwin: true,\n configHint: (\n <span>\n For help finding your Azure IoT Hub connection string, look under &apos;Shared access policies&apos; in the Microsoft Azure UI as described{' '}\n {\n <a\n href=\"https://devblogs.microsoft.com/iotdev/understand-different-connection-strings-in-azure-iot-hub/#iothubconn\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n here\n </a>\n }\n .\n </span>\n )\n },\n webhook: {\n credentialsType: credentialTypes.http,\n deviceTwin: false,\n twinTitle: '',\n // disable the webhook provider here, since it is treated different than other integrations, with a custom configuration & management view, etc.\n enabled: false,\n provider: 'webhook'\n }\n} as const;\n\nexport interface Webhook extends Integration {\n provider: 'webhook';\n}\n\nexport const emptyWebhook: Webhook = {\n description: '',\n provider: 'webhook',\n credentials: {\n type: EXTERNAL_PROVIDER.webhook.credentialsType,\n [EXTERNAL_PROVIDER.webhook.credentialsType]: {\n secret: '',\n url: ''\n }\n }\n};\n\nexport const MAX_PAGE_SIZE = 500;\n","// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type { DeploymentStatistics } from '@northern.tech/types/MenderTypes';\n\nimport { DEVICE_LIST_DEFAULTS, SORTING_OPTIONS } from '../constants';\n\nconst alreadyInstalled = 'already-installed';\n\nexport const deploymentSubstates = {\n aborted: 'aborted',\n alreadyInstalled,\n decommissioned: 'decommissioned',\n downloading: 'downloading',\n failure: 'failure',\n installing: 'installing',\n noartifact: 'noartifact',\n artifact_too_big: 'artifact_too_big',\n incompatible_tier: 'incompatible_tier',\n pause_before_committing: 'pause_before_committing',\n pause_before_installing: 'pause_before_installing',\n pause_before_rebooting: 'pause_before_rebooting',\n pending: 'pending',\n rebooting: 'rebooting',\n success: 'success'\n};\n\nexport type DeploymentSubstateMapping = {\n failures: string[];\n inprogress: string[];\n paused: string[];\n pending: string[];\n skipped?: string[];\n successes: string[];\n};\n\nexport const deploymentStatesToSubstates: DeploymentSubstateMapping = {\n failures: [deploymentSubstates.failure, deploymentSubstates.aborted, deploymentSubstates.decommissioned],\n inprogress: [deploymentSubstates.downloading, deploymentSubstates.installing, deploymentSubstates.rebooting],\n paused: [deploymentSubstates.pause_before_installing, deploymentSubstates.pause_before_rebooting, deploymentSubstates.pause_before_committing],\n pending: [deploymentSubstates.pending],\n successes: [\n deploymentSubstates.success,\n deploymentSubstates.alreadyInstalled,\n deploymentSubstates.noartifact,\n deploymentSubstates.artifact_too_big,\n deploymentSubstates.incompatible_tier\n ]\n};\n\nexport const deploymentStatesToSubstatesWithSkipped: DeploymentSubstateMapping = {\n ...deploymentStatesToSubstates,\n failures: [deploymentSubstates.failure],\n skipped: [\n deploymentSubstates.aborted,\n deploymentSubstates.noartifact,\n deploymentSubstates.artifact_too_big,\n deploymentSubstates.alreadyInstalled,\n deploymentSubstates.decommissioned,\n deploymentSubstates.incompatible_tier\n ],\n successes: [deploymentSubstates.success]\n};\nexport const installationSubstatesMap = {\n download: {\n title: 'download',\n done: 'downloaded',\n successIndicators: [deploymentSubstates.installing, deploymentSubstates.rebooting, ...deploymentStatesToSubstates.paused, deploymentSubstates.success],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactInstall_Enter'\n },\n install: {\n title: 'install',\n done: 'installed',\n successIndicators: [\n deploymentSubstates.rebooting,\n deploymentSubstates.pause_before_rebooting,\n deploymentSubstates.pause_before_committing,\n deploymentSubstates.success\n ],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactReboot_Enter'\n },\n reboot: {\n title: 'reboot',\n done: 'rebooted',\n successIndicators: [deploymentSubstates.pause_before_committing, deploymentSubstates.success],\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: 'ArtifactCommit_Enter'\n },\n commit: {\n title: 'commit',\n done: 'committed',\n successIndicators: deploymentStatesToSubstates.successes,\n failureIndicators: deploymentStatesToSubstates.failures,\n pauseConfigurationIndicator: undefined\n }\n};\n\nexport const DEPLOYMENT_STATES = {\n finished: 'finished',\n inprogress: 'inprogress',\n pending: 'pending',\n scheduled: 'scheduled'\n} as const;\n\nexport const listDefaultsByState = {\n [DEPLOYMENT_STATES.inprogress]: { page: 1, perPage: 10 },\n [DEPLOYMENT_STATES.pending]: { page: 1, perPage: 10 },\n [DEPLOYMENT_STATES.scheduled]: { ...DEVICE_LIST_DEFAULTS },\n [DEPLOYMENT_STATES.finished]: { ...DEVICE_LIST_DEFAULTS },\n sort: { direction: SORTING_OPTIONS.desc }\n};\n\nexport const DEFAULT_PENDING_INPROGRESS_COUNT = 10;\nexport const DEPLOYMENT_ROUTES = {\n active: {\n key: 'active',\n route: '/deployments/active',\n states: [DEPLOYMENT_STATES.pending, DEPLOYMENT_STATES.inprogress],\n title: 'Active'\n },\n finished: {\n key: 'finished',\n route: '/deployments/finished',\n states: [DEPLOYMENT_STATES.finished],\n title: 'Finished'\n },\n scheduled: {\n key: 'scheduled',\n route: '/deployments/scheduled',\n states: [DEPLOYMENT_STATES.scheduled],\n title: 'Scheduled'\n }\n} as const;\nexport const DEPLOYMENT_TYPES = {\n software: 'software',\n configuration: 'configuration'\n};\nexport const defaultStats = {\n [deploymentSubstates.aborted]: 0,\n [deploymentSubstates.alreadyInstalled]: 0,\n [deploymentSubstates.decommissioned]: 0,\n [deploymentSubstates.downloading]: 0,\n [deploymentSubstates.failure]: 0,\n [deploymentSubstates.installing]: 0,\n [deploymentSubstates.noartifact]: 0,\n [deploymentSubstates.pause_before_committing]: 0,\n [deploymentSubstates.pause_before_installing]: 0,\n [deploymentSubstates.pause_before_rebooting]: 0,\n [deploymentSubstates.pending]: 0,\n [deploymentSubstates.rebooting]: 0,\n [deploymentSubstates.success]: 0\n};\nexport const deploymentDisplayStates = {\n finished: 'Finished',\n scheduled: 'Scheduled',\n skipped: 'Skipped',\n paused: 'Paused',\n pending: 'Pending',\n inprogress: 'In Progress',\n success: 'Success',\n successes: 'Success',\n failure: 'Fail',\n failures: 'Fail'\n};\n\nexport const deploymentPrototype = {\n devices: {},\n name: undefined,\n statistics: { status: {} } as DeploymentStatistics\n};\n\nexport const pauseMap = {\n [deploymentSubstates.pause_before_installing]: {\n title: installationSubstatesMap.download.done,\n followUp: installationSubstatesMap.download.pauseConfigurationIndicator\n },\n [deploymentSubstates.pause_before_rebooting]: {\n title: installationSubstatesMap.install.done,\n followUp: installationSubstatesMap.install.pauseConfigurationIndicator\n },\n [deploymentSubstates.pause_before_committing]: {\n title: installationSubstatesMap.reboot.done,\n followUp: installationSubstatesMap.reboot.pauseConfigurationIndicator\n }\n};\n","// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type { DEVICE_STATES, FilterOperator } from '../constants';\nimport { DEVICE_FILTERING_OPTIONS } from '../constants';\n\nexport const emptyFilter = { key: null, value: '', operator: DEVICE_FILTERING_OPTIONS.$eq.key as FilterOperator, scope: 'inventory' };\n\n// see https://github.com/mendersoftware/go-lib-micro/tree/master/ws\n// for the description of proto_header and the consts\n// *Note*: this needs to be aligned with mender-connect and deviceconnect.\nexport const DEVICE_MESSAGE_PROTOCOLS = {\n Shell: 1\n};\nexport const DEVICE_MESSAGE_TYPES = {\n Delay: 'delay',\n New: 'new',\n Ping: 'ping',\n Pong: 'pong',\n Resize: 'resize',\n Shell: 'shell',\n Stop: 'stop'\n};\n\n// we can't include the dismiss state with the rest since this would include dismissed devices in several queries\nexport const DEVICE_DISMISSAL_STATE = 'dismiss';\n\nexport type DeviceAuthState = (typeof DEVICE_STATES)[keyof typeof DEVICE_STATES];\n\nexport const DEVICE_CONNECT_STATES = {\n connected: 'connected',\n disconnected: 'disconnected',\n unknown: 'unknown'\n};\n\nexport const geoAttributes = ['geo-lat', 'geo-lon'].map(attribute => ({ attribute, scope: 'inventory' }));\n\nexport const REPORT_CHART_SIZE_LIMIT = 6;\n","// Copyright 2020 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { useradmApiUrl } from '../constants';\n\nexport const XML_METADATA_FORMAT = 'xml';\nexport const JSON_METADATA_FORMAT = 'json';\n\nexport const getSamlStartUrl = id => `${window.location.origin}${useradmApiUrl}/auth/sso/${id}/login`;\nexport const getOidcStartUrl = id => `${window.location.origin}${useradmApiUrl}/oidc/${id}/start`;\n\nexport const SSO_TYPES = {\n saml: {\n id: 'saml',\n type: 'saml',\n title: 'SAML',\n metadataFormat: XML_METADATA_FORMAT,\n editorLanguage: XML_METADATA_FORMAT,\n contentType: 'application/samlmetadata+xml',\n getStartUrl: getSamlStartUrl,\n configDetails: [\n { key: 'entityID', label: 'Entity ID', getValue: id => `${window.location.origin}${useradmApiUrl}/sso/sp/metadata/${id}` },\n { key: 'acs', label: 'ACS URL', getValue: id => `${window.location.origin}${useradmApiUrl}/auth/sso/${id}/acs` },\n { key: 'startURL', label: 'Start URL', getValue: getSamlStartUrl }\n ]\n },\n oidc: {\n id: 'oidc',\n type: 'oidc',\n title: 'OpenID Connect',\n metadataFormat: JSON_METADATA_FORMAT,\n editorLanguage: JSON_METADATA_FORMAT,\n contentType: 'application/json',\n getStartUrl: getOidcStartUrl,\n configDetails: [{ key: 'startURL', label: 'Start Url', getValue: getOidcStartUrl }]\n }\n} as const;\n\nexport type ContentType = (typeof SSO_TYPES)[keyof typeof SSO_TYPES]['contentType'];\n\nexport const auditlogTypes = {\n artifact: { title: 'Artifact', queryParameter: 'object_type', value: 'artifact' },\n deployment: { title: 'Deployment', queryParameter: 'object_deployment_name', value: 'deployment' },\n device: { title: 'Device', queryParameter: 'object_id', value: 'device' },\n user_access_token: { title: 'Personal Access Token', queryParameter: 'user_access_token', value: 'user_access_token' },\n user: { title: 'User', queryParameter: 'object_id', value: 'user' },\n tenant: { title: 'Tenant', queryParameter: 'object_id', value: 'tenant' }\n};\n\nexport const AUDIT_LOGS_TYPES = [auditlogTypes.artifact, auditlogTypes.deployment, auditlogTypes.device, auditlogTypes.user_access_token, auditlogTypes.user];\nexport const SP_AUDIT_LOGS_TYPES = [auditlogTypes.user, auditlogTypes.tenant];\n\nexport const TENANT_LIST_DEFAULT = {\n page: 1,\n perPage: 20\n};\n","'use strict';\n\n// Copyright 2015 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { uiPermissionsById } from '../constants';\n\nexport type UiPermission = {\n explanations: object;\n permissionLevel: number;\n permissionSets: Record<string, string>;\n title: string;\n value: string;\n verbs: string[];\n};\n\ntype ExcessiveAccessConfig = {\n selector: string;\n warning: string;\n};\n\ntype EndpointDefinition = {\n path: RegExp;\n types: string[];\n uiPermissions: UiPermission[];\n};\n\n/**\n * _uiPermissions_ represent the possible permissions/ rights that can be given for the area\n * _endpoints_ represent the possible endpoints this definition might be affecting in the UI and what\n * functionality might be affected\n *\n */\nexport type PermissionsArea = {\n endpoints: EndpointDefinition[];\n excessiveAccessConfig?: ExcessiveAccessConfig;\n explanation: string;\n filter?: (object) => string[];\n key: string;\n placeholder?: string;\n scope?: string;\n title: string;\n uiPermissions: UiPermission[];\n};\n\nexport const itemUiPermissionsReducer = (accu, { item, uiPermissions }) => (item ? { ...accu, [item]: uiPermissions } : accu);\n\nconst checkSinglePermission = (permission, requiredPermission) =>\n requiredPermission === permission || uiPermissionsById[permission].permissionLevel > uiPermissionsById[requiredPermission].permissionLevel;\n\nexport const checkPermissionsObject = (permissions, requiredPermission, scopedAccess, superAccess) =>\n permissions[superAccess]?.some(permission => checkSinglePermission(permission, requiredPermission)) ||\n permissions[scopedAccess]?.some(permission => checkSinglePermission(permission, requiredPermission));\n\nexport const USER_LOGOUT = 'USER_LOGOUT';\n\nexport const OWN_USER_ID = 'me';\n\nexport const settingsKeys = { colorScheme: 'colorScheme', initialized: 'settings-initialized' };\n\nexport const READ_STATES = {\n read: 'read',\n seen: 'seen',\n unread: 'unread'\n} as const;\nexport type ReadState = keyof typeof READ_STATES;\n"],"mappings":";;;;AAsBA,MAAa,YAAY;CACvB,MAAM;CACN,SAAS;CACT,OAAO;AACT;AAEA,MAAa,kBAAkB;CAAE,IAAI;CAAmB,MAAM;AAAa;AAE3E,MAAa,6BAA6B;AAO1C,MAAa,uBAAuB;CAAE,UAAU;CAAG,cAAc,UAAU;AAAK;AAMhF,MAAa,qBAA4C,OAAO,OAAO;CAAE,WAAW;CAAM,OAAO,iBAAiB;AAAS,CAAC;AAE5H,MAAa,yCAAyC;AAItD,MAAa,yBAAyB;CACpC,SAAS;CACT,QAAQ;AACV;AAEA,MAAa,eAAe;CAAC;CAAS;CAAY;AAAQ;AAE1D,MAAa,kBAAkB;CAC7B,KAAK;CACL,MAAM;CACN,KAAK;CACL,MAAM;AACR;AACA,MAAa,oBAAoB;CAC/B,YAAY;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AAO;EAAQ,gBAAgB;EAAa,OAAO;CAAO;CAClE,QAAQ;EAAE,OAAO;EAAU,gBAAgB;EAAa,OAAO;CAAS;AAC1E;AAEA,MAAa,mBAAmB;CAAC,cAAc;CAAU,cAAc;CAAY,cAAc;CAAQ,cAAc;CAAmB,cAAc;AAAI;AAC5J,MAAa,sBAAsB,CAAC,cAAc,MAAM,cAAc,MAAM;AAE5E,MAAa,sBAAsB;CACjC,MAAM;CACN,SAAS;AACX;;;ACVA,MAAa,4BAA4B,MAAM,EAAE,MAAM,oBAAqB,OAAO;CAAE,GAAG;EAAO,OAAO;AAAc,IAAI;AAExH,MAAM,yBAAyB,YAAY,uBACzC,uBAAuB,cAAc,kBAAkB,WAAW,CAAC,kBAAkB,kBAAkB,mBAAmB,CAAC;AAE7H,MAAa,0BAA0B,aAAa,oBAAoB,cAAc,gBACpF,YAAY,YAAY,EAAE,MAAK,eAAc,sBAAsB,YAAY,kBAAkB,CAAC,KAClG,YAAY,aAAa,EAAE,MAAK,eAAc,sBAAsB,YAAY,kBAAkB,CAAC;AAErG,MAAa,cAAc;AAE3B,MAAa,cAAc;AAE3B,MAAa,eAAe;CAAE,aAAa;CAAe,aAAa;AAAuB;AAE9F,MAAa,cAAc;CACzB,MAAM;CACN,MAAM;CACN,QAAQ;AACV"}
@@ -107,7 +107,7 @@ exports.rootfsImageVersion = require_releasesSlice_constants.rootfsImageVersion;
107
107
  exports.scopedPermissionAreas = _northern_tech_utils_constants.scopedPermissionAreas;
108
108
  exports.serviceProviderRolesById = _northern_tech_utils_constants.serviceProviderRolesById;
109
109
  exports.settingsKeys = require_constants.settingsKeys;
110
- exports.softwareIndicator = require_releasesSlice_constants.softwareIndicator;
110
+ exports.softwareIndicator = _northern_tech_utils_constants.softwareIndicator;
111
111
  exports.softwareTitleMap = require_releasesSlice_constants.softwareTitleMap;
112
112
  exports.ssoIdpApiUrlv1 = _northern_tech_utils_constants.ssoIdpApiUrlv1;
113
113
  exports.tenantadmApiUrlv1 = _northern_tech_utils_constants.tenantadmApiUrlv1;