@northern.tech/store 0.30.0 → 0.30.1

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 (446) hide show
  1. package/dist/actions.cjs +21 -1130
  2. package/dist/actions.cjs.map +1 -1
  3. package/dist/actions.d.cts +212 -221
  4. package/dist/actions.d.ts +212 -220
  5. package/dist/actions.js +21 -18
  6. package/dist/actions.js.map +1 -1
  7. package/dist/api/general-api.cjs +61 -459
  8. package/dist/api/general-api.cjs.map +1 -1
  9. package/dist/api/general-api.d.cts +15 -17
  10. package/dist/api/general-api.d.ts +15 -17
  11. package/dist/api/general-api.js +56 -15
  12. package/dist/api/general-api.js.map +1 -1
  13. package/dist/api/users-api.cjs +32 -469
  14. package/dist/api/users-api.cjs.map +1 -1
  15. package/dist/api/users-api.d.cts +19 -14
  16. package/dist/api/users-api.d.ts +19 -13
  17. package/dist/api/users-api.js +30 -12
  18. package/dist/api/users-api.js.map +1 -1
  19. package/dist/appSlice/constants.cjs +190 -144
  20. package/dist/appSlice/constants.cjs.map +1 -1
  21. package/dist/appSlice/constants.d.cts +2 -159
  22. package/dist/appSlice/constants.d.ts +2 -159
  23. package/dist/appSlice/constants.js +181 -29
  24. package/dist/appSlice/constants.js.map +1 -1
  25. package/dist/appSlice/index.cjs +147 -178
  26. package/dist/appSlice/index.cjs.map +1 -1
  27. package/dist/appSlice/index.d.cts +2 -148
  28. package/dist/appSlice/index.d.ts +2 -148
  29. package/dist/appSlice/index.js +142 -18
  30. package/dist/appSlice/index.js.map +1 -1
  31. package/dist/appSlice/mocks.cjs +17 -191
  32. package/dist/appSlice/mocks.cjs.map +1 -1
  33. package/dist/appSlice/mocks.d.cts +33 -36
  34. package/dist/appSlice/mocks.d.ts +33 -36
  35. package/dist/appSlice/mocks.js +17 -25
  36. package/dist/appSlice/mocks.js.map +1 -1
  37. package/dist/appSlice/selectors.cjs +49 -91
  38. package/dist/appSlice/selectors.cjs.map +1 -1
  39. package/dist/appSlice/selectors.d.cts +216 -230
  40. package/dist/appSlice/selectors.d.ts +216 -230
  41. package/dist/appSlice/selectors.js +29 -44
  42. package/dist/appSlice/selectors.js.map +1 -1
  43. package/dist/appSlice/thunks.cjs +6 -4636
  44. package/dist/appSlice/thunks.d.cts +59 -62
  45. package/dist/appSlice/thunks.d.ts +59 -62
  46. package/dist/appSlice/thunks.js +2 -45
  47. package/dist/auth.cjs +68 -433
  48. package/dist/auth.cjs.map +1 -1
  49. package/dist/auth.d.cts +14 -14
  50. package/dist/auth.d.ts +14 -14
  51. package/dist/auth.js +65 -18
  52. package/dist/auth.js.map +1 -1
  53. package/dist/chunk-CKQMccvm.cjs +28 -0
  54. package/dist/commonConstants.cjs +14 -393
  55. package/dist/commonConstants.d.cts +2 -83
  56. package/dist/commonConstants.d.ts +2 -83
  57. package/dist/commonConstants.js +2 -33
  58. package/dist/commonSelectors.cjs +284 -1269
  59. package/dist/commonSelectors.cjs.map +1 -1
  60. package/dist/commonSelectors.d.cts +1623 -1416
  61. package/dist/commonSelectors.d.ts +1623 -1416
  62. package/dist/commonSelectors.js +277 -51
  63. package/dist/commonSelectors.js.map +1 -1
  64. package/dist/constants-5cdwz1iH.d.ts +160 -0
  65. package/dist/constants-BWEsNG5c.d.ts +28 -0
  66. package/dist/constants-BciiayPt.d.ts +17 -0
  67. package/dist/constants-C5AU0mCY.d.ts +157 -0
  68. package/dist/constants-CIx3fnBv.d.cts +17 -0
  69. package/dist/constants-CNhpIMME.d.cts +93 -0
  70. package/dist/constants-Cpgyuy_r.d.ts +57 -0
  71. package/dist/constants-D41U_jbR.d.cts +160 -0
  72. package/dist/constants-DK7fI3Rh.d.cts +28 -0
  73. package/dist/constants-DPLHhjVN.d.cts +157 -0
  74. package/dist/constants-DrwXHsJ1.d.ts +120 -0
  75. package/dist/constants-G3wymKIl.d.cts +57 -0
  76. package/dist/constants-MPLfugsi.d.cts +120 -0
  77. package/dist/constants-y2XVLQWf.d.ts +93 -0
  78. package/dist/constants.cjs +784 -972
  79. package/dist/constants.cjs.map +1 -1
  80. package/dist/constants.d.cts +8 -14
  81. package/dist/constants.d.ts +8 -14
  82. package/dist/constants.js +674 -232
  83. package/dist/constants.js.map +1 -1
  84. package/dist/deploymentsSlice/constants.cjs +15 -214
  85. package/dist/deploymentsSlice/constants.d.cts +2 -163
  86. package/dist/deploymentsSlice/constants.d.ts +2 -163
  87. package/dist/deploymentsSlice/constants.js +2 -35
  88. package/dist/deploymentsSlice/index.cjs +168 -302
  89. package/dist/deploymentsSlice/index.cjs.map +1 -1
  90. package/dist/deploymentsSlice/index.d.cts +2 -157
  91. package/dist/deploymentsSlice/index.d.ts +2 -157
  92. package/dist/deploymentsSlice/index.js +161 -18
  93. package/dist/deploymentsSlice/index.js.map +1 -1
  94. package/dist/deploymentsSlice/mocks.cjs +178 -433
  95. package/dist/deploymentsSlice/mocks.cjs.map +1 -1
  96. package/dist/deploymentsSlice/mocks.d.cts +176 -178
  97. package/dist/deploymentsSlice/mocks.d.ts +176 -178
  98. package/dist/deploymentsSlice/mocks.js +178 -144
  99. package/dist/deploymentsSlice/mocks.js.map +1 -1
  100. package/dist/deploymentsSlice/selectors.cjs +44 -223
  101. package/dist/deploymentsSlice/selectors.cjs.map +1 -1
  102. package/dist/deploymentsSlice/selectors.d.cts +73 -87
  103. package/dist/deploymentsSlice/selectors.d.ts +73 -87
  104. package/dist/deploymentsSlice/selectors.js +37 -25
  105. package/dist/deploymentsSlice/selectors.js.map +1 -1
  106. package/dist/deploymentsSlice/thunks.cjs +16 -4654
  107. package/dist/deploymentsSlice/thunks.d.cts +222 -235
  108. package/dist/deploymentsSlice/thunks.d.ts +222 -235
  109. package/dist/deploymentsSlice/thunks.js +2 -65
  110. package/dist/devicesSlice/constants.cjs +9 -68
  111. package/dist/devicesSlice/constants.d.cts +2 -37
  112. package/dist/devicesSlice/constants.d.ts +2 -37
  113. package/dist/devicesSlice/constants.js +2 -23
  114. package/dist/devicesSlice/index.cjs +215 -225
  115. package/dist/devicesSlice/index.cjs.map +1 -1
  116. package/dist/devicesSlice/index.d.cts +2 -202
  117. package/dist/devicesSlice/index.d.ts +2 -202
  118. package/dist/devicesSlice/index.js +209 -18
  119. package/dist/devicesSlice/index.js.map +1 -1
  120. package/dist/devicesSlice/mocks.cjs +146 -339
  121. package/dist/devicesSlice/mocks.cjs.map +1 -1
  122. package/dist/devicesSlice/mocks.d.cts +150 -148
  123. package/dist/devicesSlice/mocks.d.ts +150 -148
  124. package/dist/devicesSlice/mocks.js +145 -132
  125. package/dist/devicesSlice/mocks.js.map +1 -1
  126. package/dist/devicesSlice/selectors.cjs +145 -539
  127. package/dist/devicesSlice/selectors.cjs.map +1 -1
  128. package/dist/devicesSlice/selectors.d.cts +685 -699
  129. package/dist/devicesSlice/selectors.d.ts +685 -699
  130. package/dist/devicesSlice/selectors.js +123 -59
  131. package/dist/devicesSlice/selectors.js.map +1 -1
  132. package/dist/devicesSlice/thunks.cjs +48 -4718
  133. package/dist/devicesSlice/thunks.d.cts +800 -752
  134. package/dist/devicesSlice/thunks.d.ts +800 -752
  135. package/dist/devicesSlice/thunks.js +2 -129
  136. package/dist/index-4eaLEXy_.d.cts +152 -0
  137. package/dist/index-BEVkIiNa.d.cts +95 -0
  138. package/dist/index-BP0uAq36.d.cts +159 -0
  139. package/dist/index-Bwx9jEiL.d.cts +71 -0
  140. package/dist/index-CJkrL0oA.d.ts +64 -0
  141. package/dist/index-CO-py5d4.d.ts +95 -0
  142. package/dist/index-CTt-eIY8.d.cts +154 -0
  143. package/dist/index-CkwVnIqd.d.ts +159 -0
  144. package/dist/index-Cvkvcz4r.d.ts +115 -0
  145. package/dist/index-DJSlDPRX.d.ts +71 -0
  146. package/dist/index-DqyY6oZ3.d.ts +205 -0
  147. package/dist/index-DtePEQPT.d.ts +152 -0
  148. package/dist/index-Dv3Hfxk_.d.ts +154 -0
  149. package/dist/index-FyYBBeN-.d.cts +115 -0
  150. package/dist/index-Lz5JsJ6O.d.cts +205 -0
  151. package/dist/index-UPc3wvVd.d.cts +64 -0
  152. package/dist/liststatehook.cjs +83 -948
  153. package/dist/liststatehook.cjs.map +1 -1
  154. package/dist/liststatehook.d.cts +29 -239
  155. package/dist/liststatehook.d.ts +29 -239
  156. package/dist/liststatehook.js +77 -85
  157. package/dist/liststatehook.js.map +1 -1
  158. package/dist/locationutils.cjs +459 -916
  159. package/dist/locationutils.cjs.map +1 -1
  160. package/dist/locationutils.d.cts +244 -110
  161. package/dist/locationutils.d.ts +244 -110
  162. package/dist/locationutils.js +440 -44
  163. package/dist/locationutils.js.map +1 -1
  164. package/dist/monitorSlice/constants.cjs +0 -19
  165. package/dist/monitorSlice/constants.d.cts +2 -5
  166. package/dist/monitorSlice/constants.d.ts +2 -5
  167. package/dist/monitorSlice/constants.js +1 -2
  168. package/dist/monitorSlice/index.cjs +65 -82
  169. package/dist/monitorSlice/index.cjs.map +1 -1
  170. package/dist/monitorSlice/index.d.cts +2 -94
  171. package/dist/monitorSlice/index.d.ts +2 -94
  172. package/dist/monitorSlice/index.js +59 -18
  173. package/dist/monitorSlice/index.js.map +1 -1
  174. package/dist/monitorSlice/mocks.cjs +50 -126
  175. package/dist/monitorSlice/mocks.cjs.map +1 -1
  176. package/dist/monitorSlice/mocks.d.cts +49 -45
  177. package/dist/monitorSlice/mocks.d.ts +49 -45
  178. package/dist/monitorSlice/mocks.js +49 -62
  179. package/dist/monitorSlice/mocks.js.map +1 -1
  180. package/dist/monitorSlice/selectors.cjs +5 -29
  181. package/dist/monitorSlice/selectors.cjs.map +1 -1
  182. package/dist/monitorSlice/selectors.d.cts +10 -1
  183. package/dist/monitorSlice/selectors.d.ts +10 -1
  184. package/dist/monitorSlice/selectors.js +5 -6
  185. package/dist/monitorSlice/selectors.js.map +1 -1
  186. package/dist/monitorSlice/thunks.cjs +83 -1914
  187. package/dist/monitorSlice/thunks.cjs.map +1 -1
  188. package/dist/monitorSlice/thunks.d.cts +112 -120
  189. package/dist/monitorSlice/thunks.d.ts +112 -120
  190. package/dist/monitorSlice/thunks.js +78 -42
  191. package/dist/monitorSlice/thunks.js.map +1 -1
  192. package/dist/onboardingSlice/constants.cjs +44 -69
  193. package/dist/onboardingSlice/constants.cjs.map +1 -1
  194. package/dist/onboardingSlice/constants.d.cts +2 -26
  195. package/dist/onboardingSlice/constants.d.ts +2 -26
  196. package/dist/onboardingSlice/constants.js +43 -7
  197. package/dist/onboardingSlice/constants.js.map +1 -1
  198. package/dist/onboardingSlice/index.cjs +53 -73
  199. package/dist/onboardingSlice/index.cjs.map +1 -1
  200. package/dist/onboardingSlice/index.d.cts +2 -62
  201. package/dist/onboardingSlice/index.d.ts +2 -62
  202. package/dist/onboardingSlice/index.js +47 -13
  203. package/dist/onboardingSlice/index.js.map +1 -1
  204. package/dist/onboardingSlice/mocks.cjs +12 -81
  205. package/dist/onboardingSlice/mocks.cjs.map +1 -1
  206. package/dist/onboardingSlice/mocks.d.cts +14 -15
  207. package/dist/onboardingSlice/mocks.d.ts +14 -15
  208. package/dist/onboardingSlice/mocks.js +12 -15
  209. package/dist/onboardingSlice/mocks.js.map +1 -1
  210. package/dist/onboardingSlice/selectors.cjs +5 -29
  211. package/dist/onboardingSlice/selectors.cjs.map +1 -1
  212. package/dist/onboardingSlice/selectors.d.cts +6 -1
  213. package/dist/onboardingSlice/selectors.d.ts +6 -1
  214. package/dist/onboardingSlice/selectors.js +5 -6
  215. package/dist/onboardingSlice/selectors.js.map +1 -1
  216. package/dist/onboardingSlice/thunks.cjs +8 -4746
  217. package/dist/onboardingSlice/thunks.d.cts +124 -143
  218. package/dist/onboardingSlice/thunks.d.ts +124 -143
  219. package/dist/onboardingSlice/thunks.js +2 -49
  220. package/dist/organizationSlice/constants.cjs +11 -95
  221. package/dist/organizationSlice/constants.d.cts +2 -91
  222. package/dist/organizationSlice/constants.d.ts +2 -91
  223. package/dist/organizationSlice/constants.js +2 -27
  224. package/dist/organizationSlice/index.cjs +113 -152
  225. package/dist/organizationSlice/index.cjs.map +1 -1
  226. package/dist/organizationSlice/index.d.cts +2 -74
  227. package/dist/organizationSlice/index.d.ts +2 -74
  228. package/dist/organizationSlice/index.js +106 -18
  229. package/dist/organizationSlice/index.js.map +1 -1
  230. package/dist/organizationSlice/mocks.cjs +215 -406
  231. package/dist/organizationSlice/mocks.cjs.map +1 -1
  232. package/dist/organizationSlice/mocks.d.cts +209 -212
  233. package/dist/organizationSlice/mocks.d.ts +209 -212
  234. package/dist/organizationSlice/mocks.js +214 -184
  235. package/dist/organizationSlice/mocks.js.map +1 -1
  236. package/dist/organizationSlice/selectors.cjs +97 -474
  237. package/dist/organizationSlice/selectors.cjs.map +1 -1
  238. package/dist/organizationSlice/selectors.d.cts +381 -389
  239. package/dist/organizationSlice/selectors.d.ts +381 -389
  240. package/dist/organizationSlice/selectors.js +78 -50
  241. package/dist/organizationSlice/selectors.js.map +1 -1
  242. package/dist/organizationSlice/thunks.cjs +43 -5150
  243. package/dist/organizationSlice/thunks.d.cts +638 -649
  244. package/dist/organizationSlice/thunks.d.ts +638 -649
  245. package/dist/organizationSlice/thunks.js +2 -119
  246. package/dist/organizationSlice/types.cjs +0 -19
  247. package/dist/organizationSlice/types.d.cts +2 -88
  248. package/dist/organizationSlice/types.d.ts +2 -88
  249. package/dist/organizationSlice/types.js +1 -1
  250. package/dist/releasesSlice/constants.cjs +17 -41
  251. package/dist/releasesSlice/constants.cjs.map +1 -1
  252. package/dist/releasesSlice/constants.d.cts +2 -15
  253. package/dist/releasesSlice/constants.d.ts +2 -15
  254. package/dist/releasesSlice/constants.js +13 -14
  255. package/dist/releasesSlice/constants.js.map +1 -1
  256. package/dist/releasesSlice/index.cjs +106 -179
  257. package/dist/releasesSlice/index.cjs.map +1 -1
  258. package/dist/releasesSlice/index.d.cts +2 -113
  259. package/dist/releasesSlice/index.d.ts +2 -113
  260. package/dist/releasesSlice/index.js +100 -18
  261. package/dist/releasesSlice/index.js.map +1 -1
  262. package/dist/releasesSlice/mocks.cjs +44 -220
  263. package/dist/releasesSlice/mocks.cjs.map +1 -1
  264. package/dist/releasesSlice/mocks.d.cts +63 -61
  265. package/dist/releasesSlice/mocks.d.ts +63 -61
  266. package/dist/releasesSlice/mocks.js +43 -59
  267. package/dist/releasesSlice/mocks.js.map +1 -1
  268. package/dist/releasesSlice/selectors.cjs +44 -439
  269. package/dist/releasesSlice/selectors.cjs.map +1 -1
  270. package/dist/releasesSlice/selectors.d.cts +268 -280
  271. package/dist/releasesSlice/selectors.d.ts +268 -280
  272. package/dist/releasesSlice/selectors.js +31 -36
  273. package/dist/releasesSlice/selectors.js.map +1 -1
  274. package/dist/releasesSlice/thunks.cjs +422 -2175
  275. package/dist/releasesSlice/thunks.cjs.map +1 -1
  276. package/dist/releasesSlice/thunks.d.cts +305 -307
  277. package/dist/releasesSlice/thunks.d.ts +305 -307
  278. package/dist/releasesSlice/thunks.js +413 -65
  279. package/dist/releasesSlice/thunks.js.map +1 -1
  280. package/dist/selectors.cjs +136 -1530
  281. package/dist/selectors.d.cts +10 -36
  282. package/dist/selectors.d.ts +10 -36
  283. package/dist/selectors.js +10 -280
  284. package/dist/sockethook.cjs +140 -515
  285. package/dist/sockethook.cjs.map +1 -1
  286. package/dist/sockethook.d.cts +25 -9
  287. package/dist/sockethook.d.ts +25 -9
  288. package/dist/sockethook.js +134 -135
  289. package/dist/sockethook.js.map +1 -1
  290. package/dist/store-BQxOSRC1.d.ts +234 -0
  291. package/dist/store-BiIA0r0A.d.cts +234 -0
  292. package/dist/store.cjs +117 -1290
  293. package/dist/store.cjs.map +1 -1
  294. package/dist/store.d.cts +3 -206
  295. package/dist/store.d.ts +3 -206
  296. package/dist/store.js +110 -32
  297. package/dist/store.js.map +1 -1
  298. package/dist/storehooks.cjs +240 -5783
  299. package/dist/storehooks.cjs.map +1 -1
  300. package/dist/storehooks.d.cts +76 -4
  301. package/dist/storehooks.d.ts +76 -4
  302. package/dist/storehooks.js +229 -265
  303. package/dist/storehooks.js.map +1 -1
  304. package/dist/thunks.cjs +2614 -5918
  305. package/dist/thunks.cjs.map +1 -1
  306. package/dist/thunks.d.cts +9 -36
  307. package/dist/thunks.d.ts +9 -36
  308. package/dist/thunks.js +2439 -385
  309. package/dist/thunks.js.map +1 -1
  310. package/dist/types-B2NRQLFw.d.ts +88 -0
  311. package/dist/types-ClEfo0dK.d.cts +88 -0
  312. package/dist/useDeploymentDevice.cjs +26 -4650
  313. package/dist/useDeploymentDevice.cjs.map +1 -1
  314. package/dist/useDeploymentDevice.d.cts +4 -2
  315. package/dist/useDeploymentDevice.d.ts +4 -2
  316. package/dist/useDeploymentDevice.js +21 -60
  317. package/dist/useDeploymentDevice.js.map +1 -1
  318. package/dist/usersSlice/constants.cjs +8 -55
  319. package/dist/usersSlice/constants.d.cts +2 -52
  320. package/dist/usersSlice/constants.d.ts +2 -52
  321. package/dist/usersSlice/constants.js +2 -21
  322. package/dist/usersSlice/index.cjs +132 -172
  323. package/dist/usersSlice/index.cjs.map +1 -1
  324. package/dist/usersSlice/index.d.cts +2 -152
  325. package/dist/usersSlice/index.d.ts +2 -152
  326. package/dist/usersSlice/index.js +125 -18
  327. package/dist/usersSlice/index.js.map +1 -1
  328. package/dist/usersSlice/mocks.cjs +55 -196
  329. package/dist/usersSlice/mocks.cjs.map +1 -1
  330. package/dist/usersSlice/mocks.d.cts +68 -72
  331. package/dist/usersSlice/mocks.d.ts +68 -72
  332. package/dist/usersSlice/mocks.js +54 -46
  333. package/dist/usersSlice/mocks.js.map +1 -1
  334. package/dist/usersSlice/selectors.cjs +65 -567
  335. package/dist/usersSlice/selectors.cjs.map +1 -1
  336. package/dist/usersSlice/selectors.d.cts +364 -376
  337. package/dist/usersSlice/selectors.d.ts +364 -376
  338. package/dist/usersSlice/selectors.js +44 -50
  339. package/dist/usersSlice/selectors.js.map +1 -1
  340. package/dist/usersSlice/thunks.cjs +39 -4698
  341. package/dist/usersSlice/thunks.d.cts +807 -843
  342. package/dist/usersSlice/thunks.d.ts +807 -843
  343. package/dist/usersSlice/thunks.js +2 -111
  344. package/dist/utils-B4I595rf.d.cts +104 -0
  345. package/dist/utils-DNnSR4S_.d.ts +104 -0
  346. package/dist/utils.cjs +229 -850
  347. package/dist/utils.cjs.map +1 -1
  348. package/dist/utils.d.cts +2 -80
  349. package/dist/utils.d.ts +2 -80
  350. package/dist/utils.js +210 -50
  351. package/dist/utils.js.map +1 -1
  352. package/package.json +11 -13
  353. package/dist/appSlice/thunks.cjs.map +0 -1
  354. package/dist/appSlice/thunks.js.map +0 -1
  355. package/dist/chunk-2DYA3X77.js +0 -15
  356. package/dist/chunk-2DYA3X77.js.map +0 -1
  357. package/dist/chunk-4BHM6WVX.js +0 -50
  358. package/dist/chunk-4BHM6WVX.js.map +0 -1
  359. package/dist/chunk-4UNLEL5A.js +0 -143
  360. package/dist/chunk-4UNLEL5A.js.map +0 -1
  361. package/dist/chunk-6V5IIIF7.js +0 -396
  362. package/dist/chunk-6V5IIIF7.js.map +0 -1
  363. package/dist/chunk-ARMI6SZS.js +0 -446
  364. package/dist/chunk-ARMI6SZS.js.map +0 -1
  365. package/dist/chunk-AZF4YY3P.js +0 -108
  366. package/dist/chunk-AZF4YY3P.js.map +0 -1
  367. package/dist/chunk-B5AI2YPV.js +0 -156
  368. package/dist/chunk-B5AI2YPV.js.map +0 -1
  369. package/dist/chunk-CQXDAXQF.js +0 -51
  370. package/dist/chunk-CQXDAXQF.js.map +0 -1
  371. package/dist/chunk-DBBE6D36.js +0 -115
  372. package/dist/chunk-DBBE6D36.js.map +0 -1
  373. package/dist/chunk-ECVQVQEL.js +0 -68
  374. package/dist/chunk-ECVQVQEL.js.map +0 -1
  375. package/dist/chunk-FAJ3I2UQ.js +0 -47
  376. package/dist/chunk-FAJ3I2UQ.js.map +0 -1
  377. package/dist/chunk-FCY7BUGK.js +0 -2876
  378. package/dist/chunk-FCY7BUGK.js.map +0 -1
  379. package/dist/chunk-FG37HJLC.js +0 -157
  380. package/dist/chunk-FG37HJLC.js.map +0 -1
  381. package/dist/chunk-FQAUVV6C.js +0 -246
  382. package/dist/chunk-FQAUVV6C.js.map +0 -1
  383. package/dist/chunk-HKN3RN2Z.js +0 -41
  384. package/dist/chunk-HKN3RN2Z.js.map +0 -1
  385. package/dist/chunk-HPKXWNEF.js +0 -100
  386. package/dist/chunk-HPKXWNEF.js.map +0 -1
  387. package/dist/chunk-JIS4PA3R.js +0 -7
  388. package/dist/chunk-JIS4PA3R.js.map +0 -1
  389. package/dist/chunk-JXBTIFMS.js +0 -82
  390. package/dist/chunk-JXBTIFMS.js.map +0 -1
  391. package/dist/chunk-JYPSCCT4.js +0 -58
  392. package/dist/chunk-JYPSCCT4.js.map +0 -1
  393. package/dist/chunk-L53CPHJU.js +0 -721
  394. package/dist/chunk-L53CPHJU.js.map +0 -1
  395. package/dist/chunk-MNJXEB7S.js +0 -304
  396. package/dist/chunk-MNJXEB7S.js.map +0 -1
  397. package/dist/chunk-NMAXZ3ZY.js +0 -1
  398. package/dist/chunk-NMAXZ3ZY.js.map +0 -1
  399. package/dist/chunk-NXLXPRYW.js +0 -142
  400. package/dist/chunk-NXLXPRYW.js.map +0 -1
  401. package/dist/chunk-O6VCSLNE.js +0 -59
  402. package/dist/chunk-O6VCSLNE.js.map +0 -1
  403. package/dist/chunk-PQADM3M3.js +0 -115
  404. package/dist/chunk-PQADM3M3.js.map +0 -1
  405. package/dist/chunk-SJ75YKOA.js +0 -44
  406. package/dist/chunk-SJ75YKOA.js.map +0 -1
  407. package/dist/chunk-TUPBZ6MQ.js +0 -162
  408. package/dist/chunk-TUPBZ6MQ.js.map +0 -1
  409. package/dist/chunk-XF3TZSZS.js +0 -25
  410. package/dist/chunk-XF3TZSZS.js.map +0 -1
  411. package/dist/chunk-YB3US6OT.js +0 -61
  412. package/dist/chunk-YB3US6OT.js.map +0 -1
  413. package/dist/chunk-YDDE5TIH.js +0 -204
  414. package/dist/chunk-YDDE5TIH.js.map +0 -1
  415. package/dist/chunk-YO22XLHI.js +0 -7
  416. package/dist/chunk-YO22XLHI.js.map +0 -1
  417. package/dist/chunk-Z2O6LYVP.js +0 -144
  418. package/dist/chunk-Z2O6LYVP.js.map +0 -1
  419. package/dist/chunk-ZKAH3APE.js +0 -1
  420. package/dist/chunk-ZKAH3APE.js.map +0 -1
  421. package/dist/commonConstants.cjs.map +0 -1
  422. package/dist/commonConstants.js.map +0 -1
  423. package/dist/deploymentsSlice/constants.cjs.map +0 -1
  424. package/dist/deploymentsSlice/constants.js.map +0 -1
  425. package/dist/deploymentsSlice/thunks.cjs.map +0 -1
  426. package/dist/deploymentsSlice/thunks.js.map +0 -1
  427. package/dist/devicesSlice/constants.cjs.map +0 -1
  428. package/dist/devicesSlice/constants.js.map +0 -1
  429. package/dist/devicesSlice/thunks.cjs.map +0 -1
  430. package/dist/devicesSlice/thunks.js.map +0 -1
  431. package/dist/monitorSlice/constants.cjs.map +0 -1
  432. package/dist/monitorSlice/constants.js.map +0 -1
  433. package/dist/onboardingSlice/thunks.cjs.map +0 -1
  434. package/dist/onboardingSlice/thunks.js.map +0 -1
  435. package/dist/organizationSlice/constants.cjs.map +0 -1
  436. package/dist/organizationSlice/constants.js.map +0 -1
  437. package/dist/organizationSlice/thunks.cjs.map +0 -1
  438. package/dist/organizationSlice/thunks.js.map +0 -1
  439. package/dist/organizationSlice/types.cjs.map +0 -1
  440. package/dist/organizationSlice/types.js.map +0 -1
  441. package/dist/selectors.cjs.map +0 -1
  442. package/dist/selectors.js.map +0 -1
  443. package/dist/usersSlice/constants.cjs.map +0 -1
  444. package/dist/usersSlice/constants.js.map +0 -1
  445. package/dist/usersSlice/thunks.cjs.map +0 -1
  446. package/dist/usersSlice/thunks.js.map +0 -1
@@ -1,159 +1,2 @@
1
- import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
2
- import * as _mui_material from '@mui/material';
3
-
4
- declare const chartTypes: {
5
- readonly bar: {
6
- readonly key: "bar";
7
- readonly Icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
8
- muiName: string;
9
- };
10
- };
11
- readonly pie: {
12
- readonly key: "pie";
13
- readonly Icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
14
- muiName: string;
15
- };
16
- };
17
- };
18
- declare const emptyChartSelection: {
19
- software: string;
20
- group: string;
21
- chartType: "bar";
22
- attribute: string;
23
- };
24
- declare const defaultReportType = "distribution";
25
- declare const defaultReports: {
26
- group: null;
27
- attribute: string;
28
- type: string;
29
- software: string;
30
- chartType: "bar";
31
- }[];
32
- declare const BEGINNING_OF_TIME = "2016-01-01T00:00:00.000Z";
33
- declare const locations: {
34
- readonly cn: {
35
- readonly key: "cn";
36
- readonly title: "China";
37
- readonly location: "hosted.mender.cn";
38
- };
39
- readonly eu: {
40
- readonly key: "eu";
41
- readonly title: "EU";
42
- readonly location: "eu.hosted.mender.io";
43
- };
44
- readonly us: {
45
- readonly key: "us";
46
- readonly title: "US";
47
- readonly location: "hosted.mender.io";
48
- };
49
- };
50
- type AvailablePlans = 'os' | 'professional' | 'enterprise';
51
- type Plan = {
52
- description: string;
53
- id: AvailablePlans;
54
- name: string;
55
- };
56
- type AvailableAddon = 'configure' | 'troubleshoot' | 'monitor';
57
- declare const PLANS: {
58
- [key in AvailablePlans]: Plan;
59
- };
60
- type Addon = {
61
- description: string;
62
- eligible: AvailablePlans[];
63
- id: string;
64
- needs: string[];
65
- title: string;
66
- };
67
- type AddonId = keyof typeof ADDONS;
68
- declare const ADDONS: {
69
- [key in AvailableAddon]: Addon;
70
- };
71
- declare const BENEFITS: {
72
- readonly auditlog: {
73
- readonly id: "auditlog";
74
- readonly benefit: "gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays";
75
- readonly requiredPlan: AvailablePlans;
76
- };
77
- readonly dashboard: {
78
- readonly id: "dashboard";
79
- readonly benefit: "actionable insights into the devices you are updating with Mender";
80
- readonly requiredPlan: AvailablePlans;
81
- };
82
- readonly deltaGeneration: {
83
- readonly id: "deltaGeneration";
84
- readonly benefit: "automatic delta artifacts generation to minimize data transfer and improve the update delivery";
85
- readonly requiredPlan: AvailablePlans;
86
- };
87
- readonly deviceConfiguration: {
88
- readonly id: "deviceConfiguration";
89
- readonly benefit: "device configuration features";
90
- readonly requiredAddon: string;
91
- };
92
- readonly deviceMonitor: {
93
- readonly id: "deviceMonitor";
94
- readonly benefit: "device monitoring features";
95
- readonly requiredAddon: string;
96
- readonly requiredPlan: AvailablePlans;
97
- };
98
- readonly deviceTroubleshoot: {
99
- readonly id: "deviceTroubleshoot";
100
- readonly benefit: "device troubleshooting features";
101
- readonly requiredAddon: string;
102
- };
103
- readonly dynamicGroups: {
104
- readonly id: "dynamicGroups";
105
- readonly benefit: "create dynamic groups to ease device management";
106
- readonly requiredPlan: AvailablePlans;
107
- };
108
- readonly fullFiltering: {
109
- readonly id: "fullFiltering";
110
- readonly benefit: "filtering by multiple attributes to improve the device overview";
111
- readonly requiredPlan: AvailablePlans;
112
- };
113
- readonly gateway: {
114
- readonly id: "gateway";
115
- readonly benefit: "see devices connected to your gateway device for easy access";
116
- readonly requiredPlans: AvailablePlans;
117
- };
118
- readonly pausedDeployments: {
119
- readonly id: "pausedDeployments";
120
- readonly benefit: "granular control about update rollout to allow synchronization across your fleet";
121
- readonly requiredPlan: AvailablePlans;
122
- };
123
- readonly phasedDeployments: {
124
- readonly id: "phasedDeployments";
125
- readonly benefit: "choose to roll out deployments in multiple phases";
126
- readonly requiredPlan: AvailablePlans;
127
- };
128
- readonly rbac: {
129
- readonly id: "rbac";
130
- readonly benefit: "granular role based access control";
131
- readonly requiredPlan: AvailablePlans;
132
- };
133
- readonly retryDeployments: {
134
- readonly id: "retryDeployments";
135
- readonly benefit: "optional retries for failed rollout attempts";
136
- readonly requiredPlan: AvailablePlans;
137
- };
138
- readonly scheduledDeployments: {
139
- readonly id: "scheduledDeployments";
140
- readonly benefit: "scheduled deployments to steer the distribution of your updates.";
141
- readonly requiredPlan: AvailablePlans;
142
- };
143
- readonly webhookEvents: {
144
- readonly id: "webhookEvents";
145
- readonly benefit: "receive inventory events and select which type(s) of events the webhook will receive";
146
- readonly requiredPlan: AvailablePlans;
147
- };
148
- readonly default: {
149
- readonly id: "default";
150
- readonly benefit: "gain access to this feature";
151
- readonly requiredPlan: AvailablePlans;
152
- };
153
- };
154
- declare const yes: () => boolean;
155
- declare const canAccess: () => boolean;
156
- declare const DARK_MODE = "dark";
157
- declare const LIGHT_MODE = "light";
158
-
159
- export { ADDONS, type Addon, type AddonId, type AvailableAddon, type AvailablePlans, BEGINNING_OF_TIME, BENEFITS, DARK_MODE, LIGHT_MODE, PLANS, type Plan, canAccess, chartTypes, defaultReportType, defaultReports, emptyChartSelection, locations, yes };
1
+ import { _ as locations, a as AvailablePlans, c as DARK_MODE, d as Plan, f as canAccess, g as emptyChartSelection, h as defaultReports, i as AvailableAddon, l as LIGHT_MODE, m as defaultReportType, n as Addon, o as BEGINNING_OF_TIME, p as chartTypes, r as AddonId, s as BENEFITS, t as ADDONS, u as PLANS, v as yes } from "../constants-DPLHhjVN.cjs";
2
+ export { ADDONS, Addon, AddonId, AvailableAddon, AvailablePlans, BEGINNING_OF_TIME, BENEFITS, DARK_MODE, LIGHT_MODE, PLANS, Plan, canAccess, chartTypes, defaultReportType, defaultReports, emptyChartSelection, locations, yes };
@@ -1,159 +1,2 @@
1
- import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
2
- import * as _mui_material from '@mui/material';
3
-
4
- declare const chartTypes: {
5
- readonly bar: {
6
- readonly key: "bar";
7
- readonly Icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
8
- muiName: string;
9
- };
10
- };
11
- readonly pie: {
12
- readonly key: "pie";
13
- readonly Icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
14
- muiName: string;
15
- };
16
- };
17
- };
18
- declare const emptyChartSelection: {
19
- software: string;
20
- group: string;
21
- chartType: "bar";
22
- attribute: string;
23
- };
24
- declare const defaultReportType = "distribution";
25
- declare const defaultReports: {
26
- group: null;
27
- attribute: string;
28
- type: string;
29
- software: string;
30
- chartType: "bar";
31
- }[];
32
- declare const BEGINNING_OF_TIME = "2016-01-01T00:00:00.000Z";
33
- declare const locations: {
34
- readonly cn: {
35
- readonly key: "cn";
36
- readonly title: "China";
37
- readonly location: "hosted.mender.cn";
38
- };
39
- readonly eu: {
40
- readonly key: "eu";
41
- readonly title: "EU";
42
- readonly location: "eu.hosted.mender.io";
43
- };
44
- readonly us: {
45
- readonly key: "us";
46
- readonly title: "US";
47
- readonly location: "hosted.mender.io";
48
- };
49
- };
50
- type AvailablePlans = 'os' | 'professional' | 'enterprise';
51
- type Plan = {
52
- description: string;
53
- id: AvailablePlans;
54
- name: string;
55
- };
56
- type AvailableAddon = 'configure' | 'troubleshoot' | 'monitor';
57
- declare const PLANS: {
58
- [key in AvailablePlans]: Plan;
59
- };
60
- type Addon = {
61
- description: string;
62
- eligible: AvailablePlans[];
63
- id: string;
64
- needs: string[];
65
- title: string;
66
- };
67
- type AddonId = keyof typeof ADDONS;
68
- declare const ADDONS: {
69
- [key in AvailableAddon]: Addon;
70
- };
71
- declare const BENEFITS: {
72
- readonly auditlog: {
73
- readonly id: "auditlog";
74
- readonly benefit: "gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays";
75
- readonly requiredPlan: AvailablePlans;
76
- };
77
- readonly dashboard: {
78
- readonly id: "dashboard";
79
- readonly benefit: "actionable insights into the devices you are updating with Mender";
80
- readonly requiredPlan: AvailablePlans;
81
- };
82
- readonly deltaGeneration: {
83
- readonly id: "deltaGeneration";
84
- readonly benefit: "automatic delta artifacts generation to minimize data transfer and improve the update delivery";
85
- readonly requiredPlan: AvailablePlans;
86
- };
87
- readonly deviceConfiguration: {
88
- readonly id: "deviceConfiguration";
89
- readonly benefit: "device configuration features";
90
- readonly requiredAddon: string;
91
- };
92
- readonly deviceMonitor: {
93
- readonly id: "deviceMonitor";
94
- readonly benefit: "device monitoring features";
95
- readonly requiredAddon: string;
96
- readonly requiredPlan: AvailablePlans;
97
- };
98
- readonly deviceTroubleshoot: {
99
- readonly id: "deviceTroubleshoot";
100
- readonly benefit: "device troubleshooting features";
101
- readonly requiredAddon: string;
102
- };
103
- readonly dynamicGroups: {
104
- readonly id: "dynamicGroups";
105
- readonly benefit: "create dynamic groups to ease device management";
106
- readonly requiredPlan: AvailablePlans;
107
- };
108
- readonly fullFiltering: {
109
- readonly id: "fullFiltering";
110
- readonly benefit: "filtering by multiple attributes to improve the device overview";
111
- readonly requiredPlan: AvailablePlans;
112
- };
113
- readonly gateway: {
114
- readonly id: "gateway";
115
- readonly benefit: "see devices connected to your gateway device for easy access";
116
- readonly requiredPlans: AvailablePlans;
117
- };
118
- readonly pausedDeployments: {
119
- readonly id: "pausedDeployments";
120
- readonly benefit: "granular control about update rollout to allow synchronization across your fleet";
121
- readonly requiredPlan: AvailablePlans;
122
- };
123
- readonly phasedDeployments: {
124
- readonly id: "phasedDeployments";
125
- readonly benefit: "choose to roll out deployments in multiple phases";
126
- readonly requiredPlan: AvailablePlans;
127
- };
128
- readonly rbac: {
129
- readonly id: "rbac";
130
- readonly benefit: "granular role based access control";
131
- readonly requiredPlan: AvailablePlans;
132
- };
133
- readonly retryDeployments: {
134
- readonly id: "retryDeployments";
135
- readonly benefit: "optional retries for failed rollout attempts";
136
- readonly requiredPlan: AvailablePlans;
137
- };
138
- readonly scheduledDeployments: {
139
- readonly id: "scheduledDeployments";
140
- readonly benefit: "scheduled deployments to steer the distribution of your updates.";
141
- readonly requiredPlan: AvailablePlans;
142
- };
143
- readonly webhookEvents: {
144
- readonly id: "webhookEvents";
145
- readonly benefit: "receive inventory events and select which type(s) of events the webhook will receive";
146
- readonly requiredPlan: AvailablePlans;
147
- };
148
- readonly default: {
149
- readonly id: "default";
150
- readonly benefit: "gain access to this feature";
151
- readonly requiredPlan: AvailablePlans;
152
- };
153
- };
154
- declare const yes: () => boolean;
155
- declare const canAccess: () => boolean;
156
- declare const DARK_MODE = "dark";
157
- declare const LIGHT_MODE = "light";
158
-
159
- export { ADDONS, type Addon, type AddonId, type AvailableAddon, type AvailablePlans, BEGINNING_OF_TIME, BENEFITS, DARK_MODE, LIGHT_MODE, PLANS, type Plan, canAccess, chartTypes, defaultReportType, defaultReports, emptyChartSelection, locations, yes };
1
+ import { _ as locations, a as AvailablePlans, c as DARK_MODE, d as Plan, f as canAccess, g as emptyChartSelection, h as defaultReports, i as AvailableAddon, l as LIGHT_MODE, m as defaultReportType, n as Addon, o as BEGINNING_OF_TIME, p as chartTypes, r as AddonId, s as BENEFITS, t as ADDONS, u as PLANS, v as yes } from "../constants-C5AU0mCY.js";
2
+ export { ADDONS, Addon, AddonId, AvailableAddon, AvailablePlans, BEGINNING_OF_TIME, BENEFITS, DARK_MODE, LIGHT_MODE, PLANS, Plan, canAccess, chartTypes, defaultReportType, defaultReports, emptyChartSelection, locations, yes };
@@ -1,31 +1,183 @@
1
- import {
2
- ADDONS,
3
- BEGINNING_OF_TIME,
4
- BENEFITS,
5
- DARK_MODE,
6
- LIGHT_MODE,
7
- PLANS,
8
- canAccess,
9
- chartTypes,
10
- defaultReportType,
11
- defaultReports,
12
- emptyChartSelection,
13
- locations,
14
- yes
15
- } from "../chunk-DBBE6D36.js";
16
- export {
17
- ADDONS,
18
- BEGINNING_OF_TIME,
19
- BENEFITS,
20
- DARK_MODE,
21
- LIGHT_MODE,
22
- PLANS,
23
- canAccess,
24
- chartTypes,
25
- defaultReportType,
26
- defaultReports,
27
- emptyChartSelection,
28
- locations,
29
- yes
1
+ import { BarChart, PieChartOutline } from "@mui/icons-material";
2
+ import { yes as yes$1 } from "@northern.tech/utils";
3
+ //#region src/appSlice/constants.ts
4
+ const chartTypes = {
5
+ bar: {
6
+ key: "bar",
7
+ Icon: BarChart
8
+ },
9
+ pie: {
10
+ key: "pie",
11
+ Icon: PieChartOutline
12
+ }
30
13
  };
14
+ const emptyChartSelection = {
15
+ software: "",
16
+ group: "",
17
+ chartType: chartTypes.bar.key,
18
+ attribute: "artifact_name"
19
+ };
20
+ const defaultReportType = "distribution";
21
+ const defaultReports = [{
22
+ ...emptyChartSelection,
23
+ group: null,
24
+ attribute: "artifact_name",
25
+ type: defaultReportType
26
+ }];
27
+ const BEGINNING_OF_TIME = "2016-01-01T00:00:00.000Z";
28
+ const locations = {
29
+ cn: {
30
+ key: "cn",
31
+ title: "China",
32
+ location: "hosted.mender.cn"
33
+ },
34
+ eu: {
35
+ key: "eu",
36
+ title: "EU",
37
+ location: "eu.hosted.mender.io"
38
+ },
39
+ us: {
40
+ key: "us",
41
+ title: "US",
42
+ location: "hosted.mender.io"
43
+ }
44
+ };
45
+ const PLANS = {
46
+ os: {
47
+ id: "os",
48
+ name: "Basic",
49
+ description: "The core features of Mender. To continue using Enterprise Trial features—like Delta updates, scheduled deployments, phased rollouts, device filtering, dynamic groups, RBAC, audit logs, and more—please upgrade to a higher plan."
50
+ },
51
+ professional: {
52
+ id: "professional",
53
+ name: "Professional",
54
+ description: "Everything in Basic, plus enhanced update management and automation features."
55
+ },
56
+ enterprise: {
57
+ id: "enterprise",
58
+ name: "Enterprise",
59
+ description: "Every advanced feature of Mender, tailored for complex and large-scale deployments. Not available as a monthly subscription — ask us for a quote."
60
+ }
61
+ };
62
+ const ADDONS = {
63
+ configure: {
64
+ id: "configure",
65
+ title: "Configure",
66
+ description: "Seamlessly configure applications and devices remotely – configure each device to its environment.",
67
+ needs: ["hasDeviceConfig"],
68
+ eligible: [
69
+ "os",
70
+ "professional",
71
+ "enterprise"
72
+ ]
73
+ },
74
+ monitor: {
75
+ id: "monitor",
76
+ title: "Monitor",
77
+ description: "Detect and analyze health issues of devices, services and applications. Set up alerts so you can act quickly.",
78
+ needs: ["hasMonitor"],
79
+ eligible: ["professional", "enterprise"]
80
+ },
81
+ troubleshoot: {
82
+ id: "troubleshoot",
83
+ title: "Troubleshoot",
84
+ description: "Secure, remote access to your devices – quickly diagnose and fix issues in real time.",
85
+ needs: ["hasDeviceConnect"],
86
+ eligible: [
87
+ "os",
88
+ "professional",
89
+ "enterprise"
90
+ ]
91
+ }
92
+ };
93
+ const BENEFITS = {
94
+ auditlog: {
95
+ id: "auditlog",
96
+ benefit: "gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays",
97
+ requiredPlan: PLANS.enterprise.id
98
+ },
99
+ dashboard: {
100
+ id: "dashboard",
101
+ benefit: "actionable insights into the devices you are updating with Mender",
102
+ requiredPlan: PLANS.enterprise.id
103
+ },
104
+ deltaGeneration: {
105
+ id: "deltaGeneration",
106
+ benefit: "automatic delta artifacts generation to minimize data transfer and improve the update delivery",
107
+ requiredPlan: PLANS.enterprise.id
108
+ },
109
+ deviceConfiguration: {
110
+ id: "deviceConfiguration",
111
+ benefit: "device configuration features",
112
+ requiredAddon: ADDONS.configure.id
113
+ },
114
+ deviceMonitor: {
115
+ id: "deviceMonitor",
116
+ benefit: "device monitoring features",
117
+ requiredAddon: ADDONS.monitor.id,
118
+ requiredPlan: PLANS.professional.id
119
+ },
120
+ deviceTroubleshoot: {
121
+ id: "deviceTroubleshoot",
122
+ benefit: "device troubleshooting features",
123
+ requiredAddon: ADDONS.troubleshoot.id
124
+ },
125
+ dynamicGroups: {
126
+ id: "dynamicGroups",
127
+ benefit: "create dynamic groups to ease device management",
128
+ requiredPlan: PLANS.enterprise.id
129
+ },
130
+ fullFiltering: {
131
+ id: "fullFiltering",
132
+ benefit: "filtering by multiple attributes to improve the device overview",
133
+ requiredPlan: PLANS.professional.id
134
+ },
135
+ gateway: {
136
+ id: "gateway",
137
+ benefit: "see devices connected to your gateway device for easy access",
138
+ requiredPlans: PLANS.professional.id
139
+ },
140
+ pausedDeployments: {
141
+ id: "pausedDeployments",
142
+ benefit: "granular control about update rollout to allow synchronization across your fleet",
143
+ requiredPlan: PLANS.enterprise.id
144
+ },
145
+ phasedDeployments: {
146
+ id: "phasedDeployments",
147
+ benefit: "choose to roll out deployments in multiple phases",
148
+ requiredPlan: PLANS.enterprise.id
149
+ },
150
+ rbac: {
151
+ id: "rbac",
152
+ benefit: "granular role based access control",
153
+ requiredPlan: PLANS.enterprise.id
154
+ },
155
+ retryDeployments: {
156
+ id: "retryDeployments",
157
+ benefit: "optional retries for failed rollout attempts",
158
+ requiredPlan: PLANS.professional.id
159
+ },
160
+ scheduledDeployments: {
161
+ id: "scheduledDeployments",
162
+ benefit: "scheduled deployments to steer the distribution of your updates.",
163
+ requiredPlan: PLANS.professional.id
164
+ },
165
+ webhookEvents: {
166
+ id: "webhookEvents",
167
+ benefit: "receive inventory events and select which type(s) of events the webhook will receive",
168
+ requiredPlan: PLANS.professional.id
169
+ },
170
+ default: {
171
+ id: "default",
172
+ benefit: "gain access to this feature",
173
+ requiredPlan: PLANS.enterprise.id
174
+ }
175
+ };
176
+ const yes = yes$1;
177
+ const canAccess = yes;
178
+ const DARK_MODE = "dark";
179
+ const LIGHT_MODE = "light";
180
+ //#endregion
181
+ export { ADDONS, BEGINNING_OF_TIME, BENEFITS, DARK_MODE, LIGHT_MODE, PLANS, canAccess, chartTypes, defaultReportType, defaultReports, emptyChartSelection, locations, yes };
182
+
31
183
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
1
+ {"version":3,"file":"constants.js","names":["BarChartIcon","PieChartIcon","yesUtil"],"sources":["../../src/appSlice/constants.ts"],"sourcesContent":["// 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 { BarChart as BarChartIcon, PieChartOutline as PieChartIcon } from '@mui/icons-material';\n\nimport { yes as yesUtil } from '@northern.tech/utils';\n\nexport const chartTypes = {\n bar: { key: 'bar', Icon: BarChartIcon },\n pie: { key: 'pie', Icon: PieChartIcon }\n} as const;\nexport const emptyChartSelection = { software: '', group: '', chartType: chartTypes.bar.key, attribute: 'artifact_name' };\nexport const defaultReportType = 'distribution';\nexport const defaultReports = [{ ...emptyChartSelection, group: null, attribute: 'artifact_name', type: defaultReportType }];\n\nexport const BEGINNING_OF_TIME = '2016-01-01T00:00:00.000Z';\n\nexport const locations = {\n cn: { key: 'cn', title: 'China', location: 'hosted.mender.cn' },\n eu: { key: 'eu', title: 'EU', location: 'eu.hosted.mender.io' },\n us: { key: 'us', title: 'US', location: 'hosted.mender.io' }\n} as const;\nexport type AvailablePlans = 'os' | 'professional' | 'enterprise';\n\nexport type Plan = {\n description: string;\n id: AvailablePlans;\n name: string;\n};\n\nexport type AvailableAddon = 'configure' | 'troubleshoot' | 'monitor';\n\nexport const PLANS: { [key in AvailablePlans]: Plan } = {\n os: {\n id: 'os',\n name: 'Basic',\n description:\n 'The core features of Mender. To continue using Enterprise Trial features—like Delta updates, scheduled deployments, phased rollouts, device filtering, dynamic groups, RBAC, audit logs, and more—please upgrade to a higher plan.'\n },\n professional: {\n id: 'professional',\n name: 'Professional',\n description: 'Everything in Basic, plus enhanced update management and automation features.'\n },\n enterprise: {\n id: 'enterprise',\n name: 'Enterprise',\n description:\n 'Every advanced feature of Mender, tailored for complex and large-scale deployments. Not available as a monthly subscription — ask us for a quote.'\n }\n} as const;\nexport type Addon = {\n description: string;\n eligible: AvailablePlans[];\n id: string;\n needs: string[];\n title: string;\n};\n\nexport type AddonId = keyof typeof ADDONS;\n\n// the needs names need to be aligned with the name of the features in the appReducer, as they will be checked in the addonselection\nexport const ADDONS: { [key in AvailableAddon]: Addon } = {\n configure: {\n id: 'configure',\n title: 'Configure',\n description: 'Seamlessly configure applications and devices remotely – configure each device to its environment.',\n needs: ['hasDeviceConfig'],\n eligible: ['os', 'professional', 'enterprise']\n },\n monitor: {\n id: 'monitor',\n title: 'Monitor',\n description: 'Detect and analyze health issues of devices, services and applications. Set up alerts so you can act quickly.',\n needs: ['hasMonitor'],\n eligible: ['professional', 'enterprise']\n },\n troubleshoot: {\n id: 'troubleshoot',\n title: 'Troubleshoot',\n description: 'Secure, remote access to your devices – quickly diagnose and fix issues in real time.',\n needs: ['hasDeviceConnect'],\n eligible: ['os', 'professional', 'enterprise']\n }\n};\n\nexport const BENEFITS = {\n auditlog: {\n id: 'auditlog',\n benefit: 'gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays',\n requiredPlan: PLANS.enterprise.id\n },\n dashboard: { id: 'dashboard', benefit: 'actionable insights into the devices you are updating with Mender', requiredPlan: PLANS.enterprise.id },\n deltaGeneration: {\n id: 'deltaGeneration',\n benefit: 'automatic delta artifacts generation to minimize data transfer and improve the update delivery',\n requiredPlan: PLANS.enterprise.id\n },\n deviceConfiguration: { id: 'deviceConfiguration', benefit: 'device configuration features', requiredAddon: ADDONS.configure.id },\n deviceMonitor: { id: 'deviceMonitor', benefit: 'device monitoring features', requiredAddon: ADDONS.monitor.id, requiredPlan: PLANS.professional.id },\n deviceTroubleshoot: { id: 'deviceTroubleshoot', benefit: 'device troubleshooting features', requiredAddon: ADDONS.troubleshoot.id },\n dynamicGroups: { id: 'dynamicGroups', benefit: 'create dynamic groups to ease device management', requiredPlan: PLANS.enterprise.id },\n fullFiltering: { id: 'fullFiltering', benefit: 'filtering by multiple attributes to improve the device overview', requiredPlan: PLANS.professional.id },\n gateway: { id: 'gateway', benefit: 'see devices connected to your gateway device for easy access', requiredPlans: PLANS.professional.id },\n pausedDeployments: {\n id: 'pausedDeployments',\n benefit: 'granular control about update rollout to allow synchronization across your fleet',\n requiredPlan: PLANS.enterprise.id\n },\n phasedDeployments: { id: 'phasedDeployments', benefit: 'choose to roll out deployments in multiple phases', requiredPlan: PLANS.enterprise.id },\n rbac: { id: 'rbac', benefit: 'granular role based access control', requiredPlan: PLANS.enterprise.id },\n retryDeployments: { id: 'retryDeployments', benefit: 'optional retries for failed rollout attempts', requiredPlan: PLANS.professional.id },\n scheduledDeployments: {\n id: 'scheduledDeployments',\n benefit: 'scheduled deployments to steer the distribution of your updates.',\n requiredPlan: PLANS.professional.id\n },\n webhookEvents: {\n id: 'webhookEvents',\n benefit: 'receive inventory events and select which type(s) of events the webhook will receive',\n requiredPlan: PLANS.professional.id\n },\n\n default: { id: 'default', benefit: 'gain access to this feature', requiredPlan: PLANS.enterprise.id }\n} as const;\n\nexport const yes = yesUtil;\nexport const canAccess = yes;\n\nexport const DARK_MODE = 'dark';\nexport const LIGHT_MODE = 'light';\n"],"mappings":";;;AAiBA,MAAa,aAAa;CACxB,KAAK;EAAE,KAAK;EAAO,MAAMA;EAAc;CACvC,KAAK;EAAE,KAAK;EAAO,MAAMC;EAAc;CACxC;AACD,MAAa,sBAAsB;CAAE,UAAU;CAAI,OAAO;CAAI,WAAW,WAAW,IAAI;CAAK,WAAW;CAAiB;AACzH,MAAa,oBAAoB;AACjC,MAAa,iBAAiB,CAAC;CAAE,GAAG;CAAqB,OAAO;CAAM,WAAW;CAAiB,MAAM;CAAmB,CAAC;AAE5H,MAAa,oBAAoB;AAEjC,MAAa,YAAY;CACvB,IAAI;EAAE,KAAK;EAAM,OAAO;EAAS,UAAU;EAAoB;CAC/D,IAAI;EAAE,KAAK;EAAM,OAAO;EAAM,UAAU;EAAuB;CAC/D,IAAI;EAAE,KAAK;EAAM,OAAO;EAAM,UAAU;EAAoB;CAC7D;AAWD,MAAa,QAA2C;CACtD,IAAI;EACF,IAAI;EACJ,MAAM;EACN,aACE;EACH;CACD,cAAc;EACZ,IAAI;EACJ,MAAM;EACN,aAAa;EACd;CACD,YAAY;EACV,IAAI;EACJ,MAAM;EACN,aACE;EACH;CACF;AAYD,MAAa,SAA6C;CACxD,WAAW;EACT,IAAI;EACJ,OAAO;EACP,aAAa;EACb,OAAO,CAAC,kBAAkB;EAC1B,UAAU;GAAC;GAAM;GAAgB;GAAa;EAC/C;CACD,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aAAa;EACb,OAAO,CAAC,aAAa;EACrB,UAAU,CAAC,gBAAgB,aAAa;EACzC;CACD,cAAc;EACZ,IAAI;EACJ,OAAO;EACP,aAAa;EACb,OAAO,CAAC,mBAAmB;EAC3B,UAAU;GAAC;GAAM;GAAgB;GAAa;EAC/C;CACF;AAED,MAAa,WAAW;CACtB,UAAU;EACR,IAAI;EACJ,SAAS;EACT,cAAc,MAAM,WAAW;EAChC;CACD,WAAW;EAAE,IAAI;EAAa,SAAS;EAAqE,cAAc,MAAM,WAAW;EAAI;CAC/I,iBAAiB;EACf,IAAI;EACJ,SAAS;EACT,cAAc,MAAM,WAAW;EAChC;CACD,qBAAqB;EAAE,IAAI;EAAuB,SAAS;EAAiC,eAAe,OAAO,UAAU;EAAI;CAChI,eAAe;EAAE,IAAI;EAAiB,SAAS;EAA8B,eAAe,OAAO,QAAQ;EAAI,cAAc,MAAM,aAAa;EAAI;CACpJ,oBAAoB;EAAE,IAAI;EAAsB,SAAS;EAAmC,eAAe,OAAO,aAAa;EAAI;CACnI,eAAe;EAAE,IAAI;EAAiB,SAAS;EAAmD,cAAc,MAAM,WAAW;EAAI;CACrI,eAAe;EAAE,IAAI;EAAiB,SAAS;EAAmE,cAAc,MAAM,aAAa;EAAI;CACvJ,SAAS;EAAE,IAAI;EAAW,SAAS;EAAgE,eAAe,MAAM,aAAa;EAAI;CACzI,mBAAmB;EACjB,IAAI;EACJ,SAAS;EACT,cAAc,MAAM,WAAW;EAChC;CACD,mBAAmB;EAAE,IAAI;EAAqB,SAAS;EAAqD,cAAc,MAAM,WAAW;EAAI;CAC/I,MAAM;EAAE,IAAI;EAAQ,SAAS;EAAsC,cAAc,MAAM,WAAW;EAAI;CACtG,kBAAkB;EAAE,IAAI;EAAoB,SAAS;EAAgD,cAAc,MAAM,aAAa;EAAI;CAC1I,sBAAsB;EACpB,IAAI;EACJ,SAAS;EACT,cAAc,MAAM,aAAa;EAClC;CACD,eAAe;EACb,IAAI;EACJ,SAAS;EACT,cAAc,MAAM,aAAa;EAClC;CAED,SAAS;EAAE,IAAI;EAAW,SAAS;EAA+B,cAAc,MAAM,WAAW;EAAI;CACtG;AAED,MAAa,MAAMC;AACnB,MAAa,YAAY;AAEzB,MAAa,YAAY;AACzB,MAAa,aAAa"}