@northern.tech/store 0.3.4 → 0.5.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 (605) hide show
  1. package/dist/actions.cjs +78 -827
  2. package/dist/actions.cjs.map +1 -1
  3. package/dist/actions.d.cts +229 -85
  4. package/dist/actions.d.ts +229 -85
  5. package/dist/actions.js +14 -14
  6. package/dist/api/general-api.cjs +274 -148
  7. package/dist/api/general-api.cjs.map +1 -1
  8. package/dist/api/general-api.d.cts +1 -1
  9. package/dist/api/general-api.d.ts +1 -1
  10. package/dist/api/general-api.js +7 -7
  11. package/dist/api/users-api.cjs +274 -148
  12. package/dist/api/users-api.cjs.map +1 -1
  13. package/dist/api/users-api.d.cts +7 -5
  14. package/dist/api/users-api.d.ts +7 -5
  15. package/dist/api/users-api.js +8 -8
  16. package/dist/appSlice/constants.cjs +25 -53
  17. package/dist/appSlice/constants.cjs.map +1 -1
  18. package/dist/appSlice/constants.d.cts +100 -112
  19. package/dist/appSlice/constants.d.ts +100 -112
  20. package/dist/appSlice/constants.js +1 -11
  21. package/dist/appSlice/index.cjs +24 -239
  22. package/dist/appSlice/index.cjs.map +1 -1
  23. package/dist/appSlice/index.d.cts +119 -1531
  24. package/dist/appSlice/index.d.ts +119 -1531
  25. package/dist/appSlice/index.js +6 -6
  26. package/dist/appSlice/mocks.cjs +186 -0
  27. package/dist/appSlice/mocks.cjs.map +1 -0
  28. package/dist/appSlice/mocks.d.cts +39 -0
  29. package/dist/appSlice/mocks.d.ts +39 -0
  30. package/dist/appSlice/mocks.js +27 -0
  31. package/dist/appSlice/mocks.js.map +1 -0
  32. package/dist/appSlice/selectors.cjs +37 -5
  33. package/dist/appSlice/selectors.cjs.map +1 -1
  34. package/dist/appSlice/selectors.d.cts +711 -23
  35. package/dist/appSlice/selectors.d.ts +711 -23
  36. package/dist/appSlice/selectors.js +25 -1
  37. package/dist/appSlice/thunks.cjs +1554 -1767
  38. package/dist/appSlice/thunks.cjs.map +1 -1
  39. package/dist/appSlice/thunks.d.cts +34 -14
  40. package/dist/appSlice/thunks.d.ts +34 -14
  41. package/dist/appSlice/thunks.js +30 -30
  42. package/dist/auth.cjs +276 -153
  43. package/dist/auth.cjs.map +1 -1
  44. package/dist/auth.d.cts +13 -10
  45. package/dist/auth.d.ts +13 -10
  46. package/dist/auth.js +6 -8
  47. package/dist/{chunk-CK6YE6AN.js → chunk-2DYA3X77.js} +3 -1
  48. package/dist/{chunk-CK6YE6AN.js.map → chunk-2DYA3X77.js.map} +1 -1
  49. package/dist/{chunk-FQDSV3NK.js → chunk-4E7ZSEFL.js} +18 -12
  50. package/dist/chunk-4E7ZSEFL.js.map +1 -0
  51. package/dist/{chunk-AFICTIVU.js → chunk-6KGTHJKC.js} +22 -24
  52. package/dist/chunk-6KGTHJKC.js.map +1 -0
  53. package/dist/{chunk-DCEKU6UV.js → chunk-6XVREXI4.js} +8 -5
  54. package/dist/chunk-6XVREXI4.js.map +1 -0
  55. package/dist/chunk-7C4SQBEE.js +715 -0
  56. package/dist/chunk-7C4SQBEE.js.map +1 -0
  57. package/dist/{chunk-ZZMFXRQK.js → chunk-7PRZYHDP.js} +13 -13
  58. package/dist/{chunk-X3GZILYD.js → chunk-ABJLRDCO.js} +10 -11
  59. package/dist/chunk-ABJLRDCO.js.map +1 -0
  60. package/dist/chunk-BYUPW7RA.js +48 -0
  61. package/dist/chunk-BYUPW7RA.js.map +1 -0
  62. package/dist/{chunk-EQLHIPPR.js → chunk-DA6QVCOG.js} +924 -842
  63. package/dist/chunk-DA6QVCOG.js.map +1 -0
  64. package/dist/{chunk-MRCFLG45.js → chunk-FAJ3I2UQ.js} +2 -1
  65. package/dist/chunk-FAJ3I2UQ.js.map +1 -0
  66. package/dist/{chunk-Y575RZHR.js → chunk-HFOTAPIJ.js} +27 -50
  67. package/dist/chunk-HFOTAPIJ.js.map +1 -0
  68. package/dist/{chunk-ZWOAFHAR.js → chunk-JXQUFKID.js} +2 -2
  69. package/dist/chunk-JXQUFKID.js.map +1 -0
  70. package/dist/{chunk-K4MMUDYT.js → chunk-KC7SKI3U.js} +9 -11
  71. package/dist/chunk-KC7SKI3U.js.map +1 -0
  72. package/dist/{chunk-L3SY3J5M.js → chunk-KJNNEDRV.js} +11 -7
  73. package/dist/chunk-KJNNEDRV.js.map +1 -0
  74. package/dist/{chunk-PAIB5V27.js → chunk-MPYYSFPL.js} +55 -21
  75. package/dist/chunk-MPYYSFPL.js.map +1 -0
  76. package/dist/{chunk-FRSA2YB5.js → chunk-MZNANSS2.js} +12 -7
  77. package/dist/chunk-MZNANSS2.js.map +1 -0
  78. package/dist/{chunk-FVCYB5OP.js → chunk-NQIP7VFB.js} +30 -38
  79. package/dist/chunk-NQIP7VFB.js.map +1 -0
  80. package/dist/{chunk-NOQR3TE7.js → chunk-OOICURFL.js} +2 -2
  81. package/dist/chunk-OOICURFL.js.map +1 -0
  82. package/dist/{chunk-AVX7VVOK.js → chunk-PGFVHKP5.js} +5 -7
  83. package/dist/chunk-PGFVHKP5.js.map +1 -0
  84. package/dist/{chunk-GWJIY56H.js → chunk-QEKN5R7E.js} +40 -15
  85. package/dist/chunk-QEKN5R7E.js.map +1 -0
  86. package/dist/{chunk-NCSKCF2S.js → chunk-QHK7GGV4.js} +3 -3
  87. package/dist/chunk-QHK7GGV4.js.map +1 -0
  88. package/dist/{chunk-AUBJUUP3.js → chunk-RS37Y2PQ.js} +3 -3
  89. package/dist/chunk-RS37Y2PQ.js.map +1 -0
  90. package/dist/{chunk-7YZCUAXZ.js → chunk-UGSLGUS6.js} +8 -6
  91. package/dist/chunk-UGSLGUS6.js.map +1 -0
  92. package/dist/{chunk-RX32WLVJ.js → chunk-VANBSJS5.js} +1 -1
  93. package/dist/chunk-VANBSJS5.js.map +1 -0
  94. package/dist/{chunk-DGQKXSRI.js → chunk-VUFRP6P3.js} +5 -6
  95. package/dist/chunk-VUFRP6P3.js.map +1 -0
  96. package/dist/{chunk-EYCORLYU.js → chunk-YWHRAPDQ.js} +128 -87
  97. package/dist/chunk-YWHRAPDQ.js.map +1 -0
  98. package/dist/{chunk-JO33IORF.js → chunk-YY6SKZDF.js} +19 -4
  99. package/dist/chunk-YY6SKZDF.js.map +1 -0
  100. package/dist/chunk-ZIUUV35J.js +110 -0
  101. package/dist/chunk-ZIUUV35J.js.map +1 -0
  102. package/dist/{chunk-GAI4VYRZ.js → chunk-ZJW3QIPM.js} +8 -9
  103. package/dist/chunk-ZJW3QIPM.js.map +1 -0
  104. package/dist/chunk-ZKAH3APE.js +1 -0
  105. package/dist/chunk-ZKAH3APE.js.map +1 -0
  106. package/dist/commonConstants.cjs +279 -173
  107. package/dist/commonConstants.cjs.map +1 -1
  108. package/dist/commonConstants.d.cts +46 -212
  109. package/dist/commonConstants.d.ts +46 -212
  110. package/dist/commonConstants.js +11 -19
  111. package/dist/commonSelectors.cjs +507 -768
  112. package/dist/commonSelectors.cjs.map +1 -1
  113. package/dist/commonSelectors.d.cts +4307 -280
  114. package/dist/commonSelectors.d.ts +4307 -280
  115. package/dist/commonSelectors.js +13 -13
  116. package/dist/constants.cjs +357 -665
  117. package/dist/constants.cjs.map +1 -1
  118. package/dist/constants.d.cts +11 -9
  119. package/dist/constants.d.ts +11 -9
  120. package/dist/constants.js +37 -29
  121. package/dist/deploymentsSlice/constants.cjs +5 -360
  122. package/dist/deploymentsSlice/constants.cjs.map +1 -1
  123. package/dist/deploymentsSlice/constants.d.cts +59 -39
  124. package/dist/deploymentsSlice/constants.d.ts +59 -39
  125. package/dist/deploymentsSlice/constants.js +5 -11
  126. package/dist/deploymentsSlice/index.cjs +17 -365
  127. package/dist/deploymentsSlice/index.cjs.map +1 -1
  128. package/dist/deploymentsSlice/index.d.cts +142 -2359
  129. package/dist/deploymentsSlice/index.d.ts +142 -2359
  130. package/dist/deploymentsSlice/index.js +6 -6
  131. package/dist/deploymentsSlice/mocks.cjs +429 -0
  132. package/dist/deploymentsSlice/mocks.cjs.map +1 -0
  133. package/dist/deploymentsSlice/mocks.d.cts +189 -0
  134. package/dist/deploymentsSlice/mocks.d.ts +189 -0
  135. package/dist/deploymentsSlice/mocks.js +146 -0
  136. package/dist/deploymentsSlice/mocks.js.map +1 -0
  137. package/dist/deploymentsSlice/selectors.cjs +5 -353
  138. package/dist/deploymentsSlice/selectors.cjs.map +1 -1
  139. package/dist/deploymentsSlice/selectors.d.cts +167 -11
  140. package/dist/deploymentsSlice/selectors.d.ts +167 -11
  141. package/dist/deploymentsSlice/selectors.js +6 -6
  142. package/dist/deploymentsSlice/thunks.cjs +1550 -1763
  143. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  144. package/dist/deploymentsSlice/thunks.d.cts +134 -76
  145. package/dist/deploymentsSlice/thunks.d.ts +134 -76
  146. package/dist/deploymentsSlice/thunks.js +30 -30
  147. package/dist/devicesSlice/constants.cjs +5 -375
  148. package/dist/devicesSlice/constants.cjs.map +1 -1
  149. package/dist/devicesSlice/constants.d.cts +8 -16
  150. package/dist/devicesSlice/constants.d.ts +8 -16
  151. package/dist/devicesSlice/constants.js +7 -25
  152. package/dist/devicesSlice/index.cjs +17 -381
  153. package/dist/devicesSlice/index.cjs.map +1 -1
  154. package/dist/devicesSlice/index.d.cts +196 -2208
  155. package/dist/devicesSlice/index.d.ts +196 -2208
  156. package/dist/devicesSlice/index.js +6 -6
  157. package/dist/devicesSlice/mocks.cjs +336 -0
  158. package/dist/devicesSlice/mocks.cjs.map +1 -0
  159. package/dist/devicesSlice/mocks.d.cts +154 -0
  160. package/dist/devicesSlice/mocks.d.ts +154 -0
  161. package/dist/devicesSlice/mocks.js +136 -0
  162. package/dist/devicesSlice/mocks.js.map +1 -0
  163. package/dist/devicesSlice/selectors.cjs +280 -293
  164. package/dist/devicesSlice/selectors.cjs.map +1 -1
  165. package/dist/devicesSlice/selectors.d.cts +1791 -82
  166. package/dist/devicesSlice/selectors.d.ts +1791 -82
  167. package/dist/devicesSlice/selectors.js +8 -6
  168. package/dist/devicesSlice/thunks.cjs +1702 -1925
  169. package/dist/devicesSlice/thunks.cjs.map +1 -1
  170. package/dist/devicesSlice/thunks.d.cts +374 -291
  171. package/dist/devicesSlice/thunks.d.ts +374 -291
  172. package/dist/devicesSlice/thunks.js +36 -46
  173. package/dist/liststatehook.cjs +289 -325
  174. package/dist/liststatehook.cjs.map +1 -1
  175. package/dist/liststatehook.d.cts +4 -16
  176. package/dist/liststatehook.d.ts +4 -16
  177. package/dist/liststatehook.js +9 -9
  178. package/dist/liststatehook.js.map +1 -1
  179. package/dist/locationutils.cjs +286 -322
  180. package/dist/locationutils.cjs.map +1 -1
  181. package/dist/locationutils.d.cts +8 -7
  182. package/dist/locationutils.d.ts +8 -7
  183. package/dist/locationutils.js +6 -6
  184. package/dist/monitorSlice/constants.cjs +0 -146
  185. package/dist/monitorSlice/constants.cjs.map +1 -1
  186. package/dist/monitorSlice/constants.d.cts +4 -5
  187. package/dist/monitorSlice/constants.d.ts +4 -5
  188. package/dist/monitorSlice/constants.js +1 -12
  189. package/dist/monitorSlice/index.cjs +5 -353
  190. package/dist/monitorSlice/index.cjs.map +1 -1
  191. package/dist/monitorSlice/index.d.cts +63 -260
  192. package/dist/monitorSlice/index.d.ts +63 -260
  193. package/dist/monitorSlice/index.js +6 -6
  194. package/dist/monitorSlice/mocks.cjs +130 -0
  195. package/dist/monitorSlice/mocks.cjs.map +1 -0
  196. package/dist/monitorSlice/mocks.d.cts +57 -0
  197. package/dist/monitorSlice/mocks.d.ts +57 -0
  198. package/dist/monitorSlice/mocks.js +65 -0
  199. package/dist/monitorSlice/mocks.js.map +1 -0
  200. package/dist/monitorSlice/thunks.cjs +623 -860
  201. package/dist/monitorSlice/thunks.cjs.map +1 -1
  202. package/dist/monitorSlice/thunks.d.cts +90 -21
  203. package/dist/monitorSlice/thunks.d.ts +90 -21
  204. package/dist/monitorSlice/thunks.js +26 -26
  205. package/dist/onboardingSlice/constants.cjs +1 -0
  206. package/dist/onboardingSlice/constants.cjs.map +1 -1
  207. package/dist/onboardingSlice/constants.d.cts +23 -20
  208. package/dist/onboardingSlice/constants.d.ts +23 -20
  209. package/dist/onboardingSlice/constants.js +1 -1
  210. package/dist/onboardingSlice/index.cjs.map +1 -1
  211. package/dist/onboardingSlice/index.d.cts +50 -225
  212. package/dist/onboardingSlice/index.d.ts +50 -225
  213. package/dist/onboardingSlice/index.js +1 -1
  214. package/dist/onboardingSlice/mocks.cjs +83 -0
  215. package/dist/onboardingSlice/mocks.cjs.map +1 -0
  216. package/dist/onboardingSlice/mocks.d.cts +19 -0
  217. package/dist/onboardingSlice/mocks.d.ts +19 -0
  218. package/dist/onboardingSlice/mocks.js +17 -0
  219. package/dist/onboardingSlice/mocks.js.map +1 -0
  220. package/dist/onboardingSlice/thunks.cjs +1773 -1989
  221. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  222. package/dist/onboardingSlice/thunks.d.cts +62 -34
  223. package/dist/onboardingSlice/thunks.d.ts +62 -34
  224. package/dist/onboardingSlice/thunks.js +30 -30
  225. package/dist/organizationSlice/constants.cjs +8 -748
  226. package/dist/organizationSlice/constants.cjs.map +1 -1
  227. package/dist/organizationSlice/constants.d.cts +36 -116
  228. package/dist/organizationSlice/constants.d.ts +36 -116
  229. package/dist/organizationSlice/constants.js +7 -17
  230. package/dist/organizationSlice/index.cjs +14 -368
  231. package/dist/organizationSlice/index.cjs.map +1 -1
  232. package/dist/organizationSlice/index.d.cts +45 -74
  233. package/dist/organizationSlice/index.d.ts +45 -74
  234. package/dist/organizationSlice/index.js +6 -6
  235. package/dist/organizationSlice/mocks.cjs +234 -0
  236. package/dist/organizationSlice/mocks.cjs.map +1 -0
  237. package/dist/organizationSlice/mocks.d.cts +107 -0
  238. package/dist/organizationSlice/mocks.d.ts +107 -0
  239. package/dist/organizationSlice/mocks.js +101 -0
  240. package/dist/organizationSlice/mocks.js.map +1 -0
  241. package/dist/organizationSlice/selectors.cjs +301 -146
  242. package/dist/organizationSlice/selectors.cjs.map +1 -1
  243. package/dist/organizationSlice/selectors.d.cts +888 -52
  244. package/dist/organizationSlice/selectors.d.ts +888 -52
  245. package/dist/organizationSlice/selectors.js +14 -6
  246. package/dist/organizationSlice/thunks.cjs +2607 -2748
  247. package/dist/organizationSlice/thunks.cjs.map +1 -1
  248. package/dist/organizationSlice/thunks.d.cts +318 -127
  249. package/dist/organizationSlice/thunks.d.ts +318 -127
  250. package/dist/organizationSlice/thunks.js +44 -30
  251. package/dist/organizationSlice/types.cjs.map +1 -1
  252. package/dist/organizationSlice/types.d.cts +95 -3
  253. package/dist/organizationSlice/types.d.ts +95 -3
  254. package/dist/releasesSlice/constants.cjs +3 -0
  255. package/dist/releasesSlice/constants.cjs.map +1 -1
  256. package/dist/releasesSlice/constants.d.cts +2 -1
  257. package/dist/releasesSlice/constants.d.ts +2 -1
  258. package/dist/releasesSlice/constants.js +3 -1
  259. package/dist/releasesSlice/index.cjs +5 -222
  260. package/dist/releasesSlice/index.cjs.map +1 -1
  261. package/dist/releasesSlice/index.d.cts +52 -473
  262. package/dist/releasesSlice/index.d.ts +52 -473
  263. package/dist/releasesSlice/index.js +6 -6
  264. package/dist/releasesSlice/mocks.cjs +177 -0
  265. package/dist/releasesSlice/mocks.cjs.map +1 -0
  266. package/dist/releasesSlice/mocks.d.cts +49 -0
  267. package/dist/releasesSlice/mocks.d.ts +49 -0
  268. package/dist/releasesSlice/mocks.js +61 -0
  269. package/dist/releasesSlice/mocks.js.map +1 -0
  270. package/dist/releasesSlice/selectors.cjs +288 -158
  271. package/dist/releasesSlice/selectors.cjs.map +1 -1
  272. package/dist/releasesSlice/selectors.d.cts +886 -24
  273. package/dist/releasesSlice/selectors.d.ts +886 -24
  274. package/dist/releasesSlice/selectors.js +9 -7
  275. package/dist/releasesSlice/thunks.cjs +787 -982
  276. package/dist/releasesSlice/thunks.cjs.map +1 -1
  277. package/dist/releasesSlice/thunks.d.cts +150 -130
  278. package/dist/releasesSlice/thunks.d.ts +150 -130
  279. package/dist/releasesSlice/thunks.js +33 -27
  280. package/dist/selectors.cjs +565 -770
  281. package/dist/selectors.cjs.map +1 -1
  282. package/dist/selectors.d.cts +37 -9
  283. package/dist/selectors.d.ts +37 -9
  284. package/dist/selectors.js +79 -39
  285. package/dist/sockethook.cjs +271 -281
  286. package/dist/sockethook.cjs.map +1 -1
  287. package/dist/sockethook.js +7 -9
  288. package/dist/sockethook.js.map +1 -1
  289. package/dist/store.cjs +119 -834
  290. package/dist/store.cjs.map +1 -1
  291. package/dist/store.d.cts +698 -1963
  292. package/dist/store.d.ts +698 -1963
  293. package/dist/store.js +18 -16
  294. package/dist/storehooks.cjs +1793 -1907
  295. package/dist/storehooks.cjs.map +1 -1
  296. package/dist/storehooks.js +43 -49
  297. package/dist/storehooks.js.map +1 -1
  298. package/dist/thunks.cjs +2135 -2234
  299. package/dist/thunks.cjs.map +1 -1
  300. package/dist/thunks.d.cts +24 -6
  301. package/dist/thunks.d.ts +24 -6
  302. package/dist/thunks.js +56 -44
  303. package/dist/{deploymentdevicehook.cjs → useDeploymentDevice.cjs} +1760 -1975
  304. package/dist/useDeploymentDevice.cjs.map +1 -0
  305. package/dist/useDeploymentDevice.js +63 -0
  306. package/dist/useDeploymentDevice.js.map +1 -0
  307. package/dist/usersSlice/constants.cjs +5 -747
  308. package/dist/usersSlice/constants.cjs.map +1 -1
  309. package/dist/usersSlice/constants.d.cts +11 -769
  310. package/dist/usersSlice/constants.d.ts +11 -769
  311. package/dist/usersSlice/constants.js +7 -30
  312. package/dist/usersSlice/index.cjs +10 -721
  313. package/dist/usersSlice/index.cjs.map +1 -1
  314. package/dist/usersSlice/index.d.cts +136 -7900
  315. package/dist/usersSlice/index.d.ts +136 -7900
  316. package/dist/usersSlice/index.js +6 -6
  317. package/dist/usersSlice/mocks.cjs +200 -0
  318. package/dist/usersSlice/mocks.cjs.map +1 -0
  319. package/dist/usersSlice/mocks.d.cts +83 -0
  320. package/dist/usersSlice/mocks.d.ts +83 -0
  321. package/dist/usersSlice/mocks.js +47 -0
  322. package/dist/usersSlice/mocks.js.map +1 -0
  323. package/dist/usersSlice/selectors.cjs +319 -566
  324. package/dist/usersSlice/selectors.cjs.map +1 -1
  325. package/dist/usersSlice/selectors.d.cts +1651 -59
  326. package/dist/usersSlice/selectors.d.ts +1651 -59
  327. package/dist/usersSlice/selectors.js +13 -9
  328. package/dist/usersSlice/thunks.cjs +1661 -1872
  329. package/dist/usersSlice/thunks.cjs.map +1 -1
  330. package/dist/usersSlice/thunks.d.cts +372 -312
  331. package/dist/usersSlice/thunks.d.ts +372 -312
  332. package/dist/usersSlice/thunks.js +32 -30
  333. package/dist/utils.cjs +423 -285
  334. package/dist/utils.cjs.map +1 -1
  335. package/dist/utils.d.cts +44 -22
  336. package/dist/utils.d.ts +44 -22
  337. package/dist/utils.js +12 -6
  338. package/package.json +20 -11
  339. package/dist/BillingProfile-ChP2_Sqw.d.cts +0 -45
  340. package/dist/BillingProfile-ChP2_Sqw.d.ts +0 -45
  341. package/dist/api/types/AWSCredentials.ts +0 -16
  342. package/dist/api/types/Actor.ts +0 -35
  343. package/dist/api/types/Addon.ts +0 -17
  344. package/dist/api/types/AddonTenantadm.ts +0 -17
  345. package/dist/api/types/Address.ts +0 -6
  346. package/dist/api/types/AddressUpdate.ts +0 -12
  347. package/dist/api/types/Alert.ts +0 -34
  348. package/dist/api/types/AlertDetails.ts +0 -23
  349. package/dist/api/types/AlertSubject.ts +0 -23
  350. package/dist/api/types/ApiBurst.ts +0 -21
  351. package/dist/api/types/ApiBurstTenantadm.ts +0 -21
  352. package/dist/api/types/ApiLimits.ts +0 -16
  353. package/dist/api/types/ApiLimitsTenantadm.ts +0 -16
  354. package/dist/api/types/ApiQuota.ts +0 -17
  355. package/dist/api/types/ApiQuotaTenantadm.ts +0 -17
  356. package/dist/api/types/Artifact.ts +0 -48
  357. package/dist/api/types/ArtifactDeployments.ts +0 -48
  358. package/dist/api/types/ArtifactInfo.ts +0 -11
  359. package/dist/api/types/ArtifactInfoDeployments.ts +0 -11
  360. package/dist/api/types/ArtifactLink.ts +0 -11
  361. package/dist/api/types/ArtifactTypeInfo.ts +0 -13
  362. package/dist/api/types/ArtifactTypeInfoDeployments.ts +0 -13
  363. package/dist/api/types/ArtifactUpdate.ts +0 -10
  364. package/dist/api/types/ArtifactUploadLink.ts +0 -15
  365. package/dist/api/types/Attribute.ts +0 -36
  366. package/dist/api/types/AttributeInventory.ts +0 -32
  367. package/dist/api/types/AuditLog.ts +0 -26
  368. package/dist/api/types/AuthSet.ts +0 -37
  369. package/dist/api/types/AuthSetDeviceauth.ts +0 -37
  370. package/dist/api/types/AuthSetIot_manager.ts +0 -33
  371. package/dist/api/types/AutoAuthRequest.ts +0 -23
  372. package/dist/api/types/AzureSharedAccessSecret.ts +0 -11
  373. package/dist/api/types/BillingInfo.ts +0 -13
  374. package/dist/api/types/BillingProfile.ts +0 -37
  375. package/dist/api/types/BillingProfileUpdate.ts +0 -37
  376. package/dist/api/types/BinaryDeltaConfiguration.ts +0 -15
  377. package/dist/api/types/BinaryDeltaConfigurationDeployments.ts +0 -15
  378. package/dist/api/types/BinaryDeltaLimits.ts +0 -21
  379. package/dist/api/types/BinaryDeltaLimitsDeployments.ts +0 -15
  380. package/dist/api/types/BoundingBox.ts +0 -9
  381. package/dist/api/types/CancelRequest.ts +0 -10
  382. package/dist/api/types/CardData.ts +0 -49
  383. package/dist/api/types/CardSetupData.ts +0 -17
  384. package/dist/api/types/CheckoutData.ts +0 -13
  385. package/dist/api/types/Configuration.ts +0 -11
  386. package/dist/api/types/Count.ts +0 -13
  387. package/dist/api/types/Credentials.ts +0 -23
  388. package/dist/api/types/DBusSubsystem.ts +0 -27
  389. package/dist/api/types/DeltaConfiguration.ts +0 -14
  390. package/dist/api/types/DeltaConfigurationDeployments.ts +0 -14
  391. package/dist/api/types/Deployment.ts +0 -45
  392. package/dist/api/types/DeploymentAggregation.ts +0 -16
  393. package/dist/api/types/DeploymentAggregationItem.ts +0 -16
  394. package/dist/api/types/DeploymentAggregationTerm.ts +0 -22
  395. package/dist/api/types/DeploymentAggregationTerms.ts +0 -16
  396. package/dist/api/types/DeploymentAttributeProjection.ts +0 -10
  397. package/dist/api/types/DeploymentAuditlogs.ts +0 -11
  398. package/dist/api/types/DeploymentDeployments.ts +0 -98
  399. package/dist/api/types/DeploymentFilterTerm.ts +0 -35
  400. package/dist/api/types/DeploymentIdentifier.ts +0 -10
  401. package/dist/api/types/DeploymentPhase.ts +0 -23
  402. package/dist/api/types/DeploymentPhaseDeployments.ts +0 -23
  403. package/dist/api/types/DeploymentReporting.ts +0 -46
  404. package/dist/api/types/DeploymentSearchTerms.ts +0 -37
  405. package/dist/api/types/DeploymentSortTerm.ts +0 -23
  406. package/dist/api/types/DeploymentStatistics.ts +0 -15
  407. package/dist/api/types/DeploymentStatisticsDeployments.ts +0 -15
  408. package/dist/api/types/DeploymentStatusStatistics.ts +0 -54
  409. package/dist/api/types/DeploymentStatusStatisticsDeployments.ts +0 -54
  410. package/dist/api/types/Device.ts +0 -20
  411. package/dist/api/types/DeviceAggregation.ts +0 -16
  412. package/dist/api/types/DeviceAggregationItem.ts +0 -16
  413. package/dist/api/types/DeviceAggregationTerm.ts +0 -26
  414. package/dist/api/types/DeviceAggregationTerms.ts +0 -20
  415. package/dist/api/types/DeviceAttribute.ts +0 -22
  416. package/dist/api/types/DeviceAttributeProjection.ts +0 -14
  417. package/dist/api/types/DeviceAuditlogs.ts +0 -17
  418. package/dist/api/types/DeviceAuthEvent.ts +0 -23
  419. package/dist/api/types/DeviceConfiguration.ts +0 -16
  420. package/dist/api/types/DeviceDeployment.ts +0 -11
  421. package/dist/api/types/DeviceDeployments.ts +0 -29
  422. package/dist/api/types/DeviceDeviceauth.ts +0 -42
  423. package/dist/api/types/DeviceFilterAttribute.ts +0 -21
  424. package/dist/api/types/DeviceFilterTerm.ts +0 -39
  425. package/dist/api/types/DeviceInventory.ts +0 -19
  426. package/dist/api/types/DeviceInventoryInventory.ts +0 -19
  427. package/dist/api/types/DeviceReporting.ts +0 -22
  428. package/dist/api/types/DeviceSearchTerms.ts +0 -37
  429. package/dist/api/types/DeviceSortTerm.ts +0 -27
  430. package/dist/api/types/DeviceState.ts +0 -32
  431. package/dist/api/types/DeviceStateDeviceconnect.ts +0 -33
  432. package/dist/api/types/DeviceStateIot_manager.ts +0 -14
  433. package/dist/api/types/DeviceStatus.ts +0 -19
  434. package/dist/api/types/DeviceWithImage.ts +0 -80
  435. package/dist/api/types/DirectUploadMetadata.ts +0 -18
  436. package/dist/api/types/EmailVerificationCompletion.ts +0 -13
  437. package/dist/api/types/EmailVerificationRequest.ts +0 -13
  438. package/dist/api/types/Error.ts +0 -17
  439. package/dist/api/types/ErrorAuditlogs.ts +0 -13
  440. package/dist/api/types/ErrorDeployments.ts +0 -17
  441. package/dist/api/types/ErrorDeviceauth.ts +0 -13
  442. package/dist/api/types/ErrorDeviceconfig.ts +0 -17
  443. package/dist/api/types/ErrorDeviceconnect.ts +0 -17
  444. package/dist/api/types/ErrorDevicemonitor.ts +0 -17
  445. package/dist/api/types/ErrorExt.ts +0 -18
  446. package/dist/api/types/ErrorInventory.ts +0 -17
  447. package/dist/api/types/ErrorIot_manager.ts +0 -17
  448. package/dist/api/types/ErrorNotFound.ts +0 -17
  449. package/dist/api/types/ErrorReporting.ts +0 -18
  450. package/dist/api/types/ErrorTenantadm.ts +0 -13
  451. package/dist/api/types/ErrorUseradm.ts +0 -17
  452. package/dist/api/types/Event.ts +0 -48
  453. package/dist/api/types/ExternalIdentity.ts +0 -17
  454. package/dist/api/types/Features.ts +0 -17
  455. package/dist/api/types/FileUpload.ts +0 -23
  456. package/dist/api/types/Filter.ts +0 -19
  457. package/dist/api/types/FilterAttribute.ts +0 -21
  458. package/dist/api/types/FilterDefinition.ts +0 -18
  459. package/dist/api/types/FilterDeployments.ts +0 -19
  460. package/dist/api/types/FilterInventory.ts +0 -19
  461. package/dist/api/types/FilterPredicate.ts +0 -48
  462. package/dist/api/types/FilterPredicateDeployments.ts +0 -48
  463. package/dist/api/types/FilterPredicateInventory.ts +0 -78
  464. package/dist/api/types/GeoBoundingBox.ts +0 -8
  465. package/dist/api/types/GeoBoundingBoxFilter.ts +0 -5
  466. package/dist/api/types/GeoDistance.ts +0 -15
  467. package/dist/api/types/GeoDistanceFilter.ts +0 -8
  468. package/dist/api/types/GeoPoint.ts +0 -14
  469. package/dist/api/types/Group.ts +0 -10
  470. package/dist/api/types/HTTP.ts +0 -19
  471. package/dist/api/types/IdentityData.ts +0 -25
  472. package/dist/api/types/InputParameter.ts +0 -8
  473. package/dist/api/types/Integration.ts +0 -30
  474. package/dist/api/types/JobStatus.ts +0 -13
  475. package/dist/api/types/Limit.ts +0 -21
  476. package/dist/api/types/LimitDeployments.ts +0 -21
  477. package/dist/api/types/LimitDeviceauth.ts +0 -10
  478. package/dist/api/types/LimitUseradm.ts +0 -11
  479. package/dist/api/types/Limits.ts +0 -11
  480. package/dist/api/types/LineDescriptor.ts +0 -11
  481. package/dist/api/types/LogSubsystem.ts +0 -23
  482. package/dist/api/types/LoginOptions.ts +0 -18
  483. package/dist/api/types/ManagementAPIConfiguration.ts +0 -5
  484. package/dist/api/types/MenderTypes.ts +0 -213
  485. package/dist/api/types/MonitorConfiguration.ts +0 -22
  486. package/dist/api/types/NewConfigurationDeployment.ts +0 -15
  487. package/dist/api/types/NewConfigurationDeploymentResponse.ts +0 -10
  488. package/dist/api/types/NewDeployment.ts +0 -42
  489. package/dist/api/types/NewDeploymentForGroup.ts +0 -33
  490. package/dist/api/types/NewDeploymentPhase.ts +0 -37
  491. package/dist/api/types/NewDeploymentPhaseDeployments.ts +0 -20
  492. package/dist/api/types/NewDeploymentV2.ts +0 -34
  493. package/dist/api/types/NewTenant.ts +0 -49
  494. package/dist/api/types/Object.ts +0 -38
  495. package/dist/api/types/OwnUserUpdate.ts +0 -21
  496. package/dist/api/types/PasswordResetCompletion.ts +0 -17
  497. package/dist/api/types/PasswordResetRequest.ts +0 -13
  498. package/dist/api/types/Permission.ts +0 -21
  499. package/dist/api/types/PermissionObject.ts +0 -14
  500. package/dist/api/types/PermissionSet.ts +0 -22
  501. package/dist/api/types/PermissionSetWithScope.ts +0 -15
  502. package/dist/api/types/PersonalAccessToken.ts +0 -29
  503. package/dist/api/types/PersonalAccessTokenRequest.ts +0 -18
  504. package/dist/api/types/Plan.ts +0 -19
  505. package/dist/api/types/PlanBindingDetails.ts +0 -13
  506. package/dist/api/types/PlanChangeRequest.ts +0 -14
  507. package/dist/api/types/PlanLimits.ts +0 -12
  508. package/dist/api/types/PreAuthSet.ts +0 -16
  509. package/dist/api/types/Release.ts +0 -32
  510. package/dist/api/types/ReleaseDeployments.ts +0 -32
  511. package/dist/api/types/ReleaseUpdate.ts +0 -13
  512. package/dist/api/types/Releases.ts +0 -9
  513. package/dist/api/types/ReleasesDeleteError.ts +0 -21
  514. package/dist/api/types/ReleasesDeployments.ts +0 -9
  515. package/dist/api/types/Role.ts +0 -19
  516. package/dist/api/types/RolePermission.ts +0 -25
  517. package/dist/api/types/RolePermissionObject.ts +0 -17
  518. package/dist/api/types/RoleUseradm.ts +0 -19
  519. package/dist/api/types/SAMLMetadata.ts +0 -21
  520. package/dist/api/types/Scope.ts +0 -19
  521. package/dist/api/types/SelectAttribute.ts +0 -17
  522. package/dist/api/types/ServiceSubsystem.ts +0 -19
  523. package/dist/api/types/Settings.ts +0 -23
  524. package/dist/api/types/SortCriteria.ts +0 -30
  525. package/dist/api/types/SsoObject.ts +0 -21
  526. package/dist/api/types/Status.ts +0 -18
  527. package/dist/api/types/StatusDeviceauth.ts +0 -18
  528. package/dist/api/types/StatusTenantadm.ts +0 -17
  529. package/dist/api/types/StorageLimit.ts +0 -17
  530. package/dist/api/types/SubscriptionData.ts +0 -8
  531. package/dist/api/types/SupportRequest.ts +0 -17
  532. package/dist/api/types/Tag.ts +0 -27
  533. package/dist/api/types/Tags.ts +0 -10
  534. package/dist/api/types/TaskResult.ts +0 -13
  535. package/dist/api/types/TaskResultCLI.ts +0 -10
  536. package/dist/api/types/TaskResultHTTPRequest.ts +0 -8
  537. package/dist/api/types/TaskResultHTTPResponse.ts +0 -10
  538. package/dist/api/types/Tenant.ts +0 -26
  539. package/dist/api/types/TenantApiLimits.ts +0 -12
  540. package/dist/api/types/TenantApiLimitsTenantadm.ts +0 -12
  541. package/dist/api/types/TenantIdName.ts +0 -14
  542. package/dist/api/types/TenantIdsData.ts +0 -10
  543. package/dist/api/types/TenantInfo.ts +0 -14
  544. package/dist/api/types/TenantShortInfo.ts +0 -21
  545. package/dist/api/types/TenantTenantadm.ts +0 -54
  546. package/dist/api/types/TenantsIdName.ts +0 -6
  547. package/dist/api/types/Update.ts +0 -17
  548. package/dist/api/types/UpdateChildTenant.ts +0 -17
  549. package/dist/api/types/UpdateDeployments.ts +0 -18
  550. package/dist/api/types/UpdateFile.ts +0 -13
  551. package/dist/api/types/UpdateFileDeployments.ts +0 -13
  552. package/dist/api/types/UpdateTypes.ts +0 -8
  553. package/dist/api/types/UpgradeCompleteRequest.ts +0 -25
  554. package/dist/api/types/User.ts +0 -13
  555. package/dist/api/types/UserAuditlogs.ts +0 -13
  556. package/dist/api/types/UserNew.ts +0 -26
  557. package/dist/api/types/UserUpdate.ts +0 -25
  558. package/dist/api/types/UserUseradm.ts +0 -45
  559. package/dist/api/types/UserWithTenantInfo.ts +0 -12
  560. package/dist/api/types/XDeltaArgs.ts +0 -9
  561. package/dist/api/types/XDeltaArgsDeployments.ts +0 -9
  562. package/dist/api/types/XDeltaArgsLimits.ts +0 -10
  563. package/dist/api/types/XDeltaArgsLimitsDeployments.ts +0 -10
  564. package/dist/chunk-4RWZR3BN.js +0 -104
  565. package/dist/chunk-4RWZR3BN.js.map +0 -1
  566. package/dist/chunk-7YZCUAXZ.js.map +0 -1
  567. package/dist/chunk-AFICTIVU.js.map +0 -1
  568. package/dist/chunk-AUBJUUP3.js.map +0 -1
  569. package/dist/chunk-AVX7VVOK.js.map +0 -1
  570. package/dist/chunk-BSN2TOQC.js +0 -245
  571. package/dist/chunk-BSN2TOQC.js.map +0 -1
  572. package/dist/chunk-DCEKU6UV.js.map +0 -1
  573. package/dist/chunk-DGQKXSRI.js.map +0 -1
  574. package/dist/chunk-EQLHIPPR.js.map +0 -1
  575. package/dist/chunk-EYCORLYU.js.map +0 -1
  576. package/dist/chunk-FQDSV3NK.js.map +0 -1
  577. package/dist/chunk-FRSA2YB5.js.map +0 -1
  578. package/dist/chunk-FVCYB5OP.js.map +0 -1
  579. package/dist/chunk-GAI4VYRZ.js.map +0 -1
  580. package/dist/chunk-GWJIY56H.js.map +0 -1
  581. package/dist/chunk-JO33IORF.js.map +0 -1
  582. package/dist/chunk-K4MMUDYT.js.map +0 -1
  583. package/dist/chunk-L3SY3J5M.js.map +0 -1
  584. package/dist/chunk-LIJIIRON.js +0 -28
  585. package/dist/chunk-LIJIIRON.js.map +0 -1
  586. package/dist/chunk-MRCFLG45.js.map +0 -1
  587. package/dist/chunk-NCSKCF2S.js.map +0 -1
  588. package/dist/chunk-NOQR3TE7.js.map +0 -1
  589. package/dist/chunk-OEP2D6QL.js +0 -727
  590. package/dist/chunk-OEP2D6QL.js.map +0 -1
  591. package/dist/chunk-PAIB5V27.js.map +0 -1
  592. package/dist/chunk-RX32WLVJ.js.map +0 -1
  593. package/dist/chunk-X3GZILYD.js.map +0 -1
  594. package/dist/chunk-Y575RZHR.js.map +0 -1
  595. package/dist/chunk-ZWOAFHAR.js.map +0 -1
  596. package/dist/deploymentdevicehook.cjs.map +0 -1
  597. package/dist/deploymentdevicehook.js +0 -63
  598. package/dist/deploymentdevicehook.js.map +0 -1
  599. package/dist/flag-eu-5477R2P4.svg +0 -130
  600. package/dist/flag-us-HNQAF66I.svg +0 -63
  601. package/dist/types-DBj17FZO.d.cts +0 -135
  602. package/dist/types-DnfZa6xd.d.ts +0 -135
  603. /package/dist/{chunk-ZZMFXRQK.js.map → chunk-7PRZYHDP.js.map} +0 -0
  604. /package/dist/{deploymentdevicehook.d.cts → useDeploymentDevice.d.cts} +0 -0
  605. /package/dist/{deploymentdevicehook.d.ts → useDeploymentDevice.d.ts} +0 -0
@@ -1,28 +1,237 @@
1
1
  import * as reselect from 'reselect';
2
+ import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
3
+ import { ReadState } from '../usersSlice/constants.js';
4
+ import { User, UserSession, CustomColumn, GlobalSettings, UserSettings } from '../usersSlice/index.js';
5
+ import { ReleaseSliceType } from '../releasesSlice/index.js';
6
+ import { OrganizationState } from '../organizationSlice/types.js';
7
+ import { OnboardingApproach } from '../onboardingSlice/index.js';
8
+ import * as _northern_tech_types_Alert from '@northern.tech/types/Alert';
9
+ import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState } from '../deploymentsSlice/index.js';
10
+ import { SearchState, SentryConfig, SnackbarContent, Upload } from '../appSlice/index.js';
11
+ import { Device, DeviceGroup, DeviceListState, DeviceFilter, DeviceSliceType } from './index.js';
12
+ import { RootState } from '../store.js';
13
+ import 'redux';
14
+ import '@reduxjs/toolkit';
15
+ import 'immer';
16
+ import '@northern.tech/types/MenderTypes';
17
+ import '../commonConstants.js';
18
+ import 'react/jsx-runtime';
19
+ import '../appSlice/constants.js';
20
+ import '@mui/material/OverridableComponent';
21
+ import '@mui/material';
22
+ import '../organizationSlice/constants.js';
23
+ import './constants.js';
24
+ import 'redux-thunk';
2
25
 
3
- declare const getAcceptedDevices: (state: any) => any;
4
- declare const getDevicesByStatus: (state: any) => any;
5
- declare const getDevicesById: (state: any) => any;
6
- declare const getDeviceReports: (state: any) => any;
7
- declare const getGroupsById: (state: any) => any;
8
- declare const getSelectedGroup: (state: any) => any;
9
- declare const getDeviceListState: (state: any) => any;
10
- declare const getListedDevices: (state: any) => any;
11
- declare const getFilteringAttributes: (state: any) => any;
12
- declare const getDeviceFilters: (state: any) => any;
13
- declare const getSortedFilteringAttributes: ((state: any) => any) & {
26
+ declare const getAcceptedDevices: (state: RootState) => {
27
+ deviceIds: string[];
28
+ total: number;
29
+ };
30
+ declare const getDevicesByStatus: (state: RootState) => Record<string, {
31
+ deviceIds: string[];
32
+ total: number;
33
+ }>;
34
+ declare const getDevicesById: (state: RootState) => Record<string, Device>;
35
+ declare const getDeviceReports: (state: RootState) => {
36
+ items: {
37
+ count: number;
38
+ key: string;
39
+ }[];
40
+ otherCount: number;
41
+ total: number;
42
+ }[];
43
+ declare const getGroupsById: (state: RootState) => Record<string, DeviceGroup>;
44
+ declare const getSelectedGroup: (state: RootState) => string | undefined;
45
+ declare const getDeviceListState: (state: RootState) => DeviceListState;
46
+ declare const getListedDevices: (state: RootState) => string[];
47
+ declare const getFilteringAttributes: (state: RootState) => {
48
+ identityAttributes: string[];
49
+ inventoryAttributes: string[];
50
+ systemAttributes: string[];
51
+ tagAttributes: string[];
52
+ };
53
+ declare const getDeviceFilters: (state: RootState) => DeviceFilter[];
54
+ declare const getSortedFilteringAttributes: ((state: {
55
+ app: {
56
+ cancelSource: any;
57
+ commit: string;
58
+ demoArtifactLink: string;
59
+ docsVersion: string;
60
+ features: Record<string, boolean>;
61
+ feedbackProbability: number;
62
+ firstLoginAfterSignup: boolean;
63
+ hostAddress: string | null;
64
+ hostedAnnouncement: string;
65
+ newThreshold: string;
66
+ offlineThreshold: string;
67
+ recaptchaSiteKey: string;
68
+ searchState: SearchState;
69
+ sentry: SentryConfig;
70
+ snackbar: SnackbarContent;
71
+ stripeAPIKey: string;
72
+ trackerCode: string;
73
+ uploadsById: Record<string, Upload>;
74
+ versionInformation: {
75
+ [key: string]: string | {
76
+ releaseDate: string;
77
+ repos: Record<string, string>;
78
+ } | undefined;
79
+ backend?: string;
80
+ GUI?: string;
81
+ latestRelease?: {
82
+ releaseDate: string;
83
+ repos: Record<string, string>;
84
+ };
85
+ };
86
+ yesterday?: string;
87
+ };
88
+ devices: DeviceSliceType;
89
+ deployments: {
90
+ byId: Record<string, Deployment>;
91
+ byStatus: DeploymentByStatus;
92
+ config: DeploymentConfig;
93
+ deploymentDeviceLimit: number;
94
+ selectedDeviceIds: string[];
95
+ selectionState: SelectionState;
96
+ };
97
+ monitor: {
98
+ alerts: {
99
+ alertList: {
100
+ page: number;
101
+ perPage: number;
102
+ total: number;
103
+ };
104
+ byDeviceId: {
105
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
106
+ fullName?: string;
107
+ }>;
108
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
109
+ fullName?: string;
110
+ }>;
111
+ };
112
+ };
113
+ issueCounts: {
114
+ byType: {
115
+ issues: {
116
+ filtered: number;
117
+ total: number;
118
+ };
119
+ offline: {
120
+ filtered: number;
121
+ total: number;
122
+ };
123
+ failedLastUpdate: {
124
+ filtered: number;
125
+ total: number;
126
+ };
127
+ monitoring: {
128
+ filtered: number;
129
+ total: number;
130
+ };
131
+ authRequests: {
132
+ filtered: number;
133
+ total: number;
134
+ };
135
+ gatewayDevices: {
136
+ filtered: number;
137
+ total: number;
138
+ };
139
+ };
140
+ };
141
+ settings: {
142
+ global: {
143
+ channels: {
144
+ email: {
145
+ enabled: boolean;
146
+ };
147
+ };
148
+ };
149
+ };
150
+ };
151
+ onboarding: {
152
+ address?: string;
153
+ approach: OnboardingApproach | null;
154
+ complete: boolean;
155
+ demoArtifactPort: number;
156
+ deviceConnection?: string;
157
+ deviceType: string[] | string | null;
158
+ progress: string | null;
159
+ showTips: boolean | null;
160
+ showTipsDialog: boolean;
161
+ };
162
+ organization: OrganizationState;
163
+ releases: ReleaseSliceType;
164
+ users: {
165
+ activationCode?: string;
166
+ byId: Record<string, User>;
167
+ currentSession?: UserSession | object;
168
+ currentUser: string | null;
169
+ customColumns: CustomColumn[];
170
+ globalSettings: GlobalSettings;
171
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
172
+ qrCode: string | null;
173
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
174
+ rolesInitialized: boolean;
175
+ settingsInitialized: boolean;
176
+ showConnectDeviceDialog: boolean;
177
+ showFeedbackDialog: boolean;
178
+ showStartupNotification: boolean;
179
+ tooltips: {
180
+ byId: Record<string, {
181
+ readState: ReadState;
182
+ }>;
183
+ };
184
+ userSettings: UserSettings;
185
+ userSettingsInitialized: boolean;
186
+ };
187
+ }) => {
188
+ identityAttributes: string[];
189
+ inventoryAttributes: string[];
190
+ systemAttributes: string[];
191
+ tagAttributes: string[];
192
+ }) & {
14
193
  clearCache: () => void;
15
194
  resultsCount: () => number;
16
195
  resetResultsCount: () => void;
17
196
  } & {
18
- resultFunc: (resultFuncArgs_0: any) => any;
19
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
197
+ resultFunc: (resultFuncArgs_0: {
198
+ identityAttributes: string[];
199
+ inventoryAttributes: string[];
200
+ systemAttributes: string[];
201
+ tagAttributes: string[];
202
+ }) => {
203
+ identityAttributes: string[];
204
+ inventoryAttributes: string[];
205
+ systemAttributes: string[];
206
+ tagAttributes: string[];
207
+ };
208
+ memoizedResultFunc: ((resultFuncArgs_0: {
209
+ identityAttributes: string[];
210
+ inventoryAttributes: string[];
211
+ systemAttributes: string[];
212
+ tagAttributes: string[];
213
+ }) => {
214
+ identityAttributes: string[];
215
+ inventoryAttributes: string[];
216
+ systemAttributes: string[];
217
+ tagAttributes: string[];
218
+ }) & {
20
219
  clearCache: () => void;
21
220
  resultsCount: () => number;
22
221
  resetResultsCount: () => void;
23
222
  };
24
- lastResult: () => any;
25
- dependencies: [(state: any) => any];
223
+ lastResult: () => {
224
+ identityAttributes: string[];
225
+ inventoryAttributes: string[];
226
+ systemAttributes: string[];
227
+ tagAttributes: string[];
228
+ };
229
+ dependencies: [(state: RootState) => {
230
+ identityAttributes: string[];
231
+ inventoryAttributes: string[];
232
+ systemAttributes: string[];
233
+ tagAttributes: string[];
234
+ }];
26
235
  recomputations: () => number;
27
236
  resetRecomputations: () => void;
28
237
  dependencyRecomputations: () => number;
@@ -31,20 +240,184 @@ declare const getSortedFilteringAttributes: ((state: any) => any) & {
31
240
  memoize: typeof reselect.weakMapMemoize;
32
241
  argsMemoize: typeof reselect.weakMapMemoize;
33
242
  };
34
- declare const getDeviceLimit: (state: any) => any;
35
- declare const getDeviceIdentityAttributes: ((state: any) => any) & {
243
+ declare const getDeviceLimit: (state: RootState) => number;
244
+ declare const getDeviceIdentityAttributes: ((state: {
245
+ app: {
246
+ cancelSource: any;
247
+ commit: string;
248
+ demoArtifactLink: string;
249
+ docsVersion: string;
250
+ features: Record<string, boolean>;
251
+ feedbackProbability: number;
252
+ firstLoginAfterSignup: boolean;
253
+ hostAddress: string | null;
254
+ hostedAnnouncement: string;
255
+ newThreshold: string;
256
+ offlineThreshold: string;
257
+ recaptchaSiteKey: string;
258
+ searchState: SearchState;
259
+ sentry: SentryConfig;
260
+ snackbar: SnackbarContent;
261
+ stripeAPIKey: string;
262
+ trackerCode: string;
263
+ uploadsById: Record<string, Upload>;
264
+ versionInformation: {
265
+ [key: string]: string | {
266
+ releaseDate: string;
267
+ repos: Record<string, string>;
268
+ } | undefined;
269
+ backend?: string;
270
+ GUI?: string;
271
+ latestRelease?: {
272
+ releaseDate: string;
273
+ repos: Record<string, string>;
274
+ };
275
+ };
276
+ yesterday?: string;
277
+ };
278
+ devices: DeviceSliceType;
279
+ deployments: {
280
+ byId: Record<string, Deployment>;
281
+ byStatus: DeploymentByStatus;
282
+ config: DeploymentConfig;
283
+ deploymentDeviceLimit: number;
284
+ selectedDeviceIds: string[];
285
+ selectionState: SelectionState;
286
+ };
287
+ monitor: {
288
+ alerts: {
289
+ alertList: {
290
+ page: number;
291
+ perPage: number;
292
+ total: number;
293
+ };
294
+ byDeviceId: {
295
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
296
+ fullName?: string;
297
+ }>;
298
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
299
+ fullName?: string;
300
+ }>;
301
+ };
302
+ };
303
+ issueCounts: {
304
+ byType: {
305
+ issues: {
306
+ filtered: number;
307
+ total: number;
308
+ };
309
+ offline: {
310
+ filtered: number;
311
+ total: number;
312
+ };
313
+ failedLastUpdate: {
314
+ filtered: number;
315
+ total: number;
316
+ };
317
+ monitoring: {
318
+ filtered: number;
319
+ total: number;
320
+ };
321
+ authRequests: {
322
+ filtered: number;
323
+ total: number;
324
+ };
325
+ gatewayDevices: {
326
+ filtered: number;
327
+ total: number;
328
+ };
329
+ };
330
+ };
331
+ settings: {
332
+ global: {
333
+ channels: {
334
+ email: {
335
+ enabled: boolean;
336
+ };
337
+ };
338
+ };
339
+ };
340
+ };
341
+ onboarding: {
342
+ address?: string;
343
+ approach: OnboardingApproach | null;
344
+ complete: boolean;
345
+ demoArtifactPort: number;
346
+ deviceConnection?: string;
347
+ deviceType: string[] | string | null;
348
+ progress: string | null;
349
+ showTips: boolean | null;
350
+ showTipsDialog: boolean;
351
+ };
352
+ organization: OrganizationState;
353
+ releases: ReleaseSliceType;
354
+ users: {
355
+ activationCode?: string;
356
+ byId: Record<string, User>;
357
+ currentSession?: UserSession | object;
358
+ currentUser: string | null;
359
+ customColumns: CustomColumn[];
360
+ globalSettings: GlobalSettings;
361
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
362
+ qrCode: string | null;
363
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
364
+ rolesInitialized: boolean;
365
+ settingsInitialized: boolean;
366
+ showConnectDeviceDialog: boolean;
367
+ showFeedbackDialog: boolean;
368
+ showStartupNotification: boolean;
369
+ tooltips: {
370
+ byId: Record<string, {
371
+ readState: ReadState;
372
+ }>;
373
+ };
374
+ userSettings: UserSettings;
375
+ userSettingsInitialized: boolean;
376
+ };
377
+ }) => {
378
+ value: string;
379
+ label: string;
380
+ scope: string;
381
+ }[]) & {
36
382
  clearCache: () => void;
37
383
  resultsCount: () => number;
38
384
  resetResultsCount: () => void;
39
385
  } & {
40
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => any;
41
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => any) & {
386
+ resultFunc: (resultFuncArgs_0: {
387
+ identityAttributes: string[];
388
+ inventoryAttributes: string[];
389
+ systemAttributes: string[];
390
+ tagAttributes: string[];
391
+ }, resultFuncArgs_1: number) => {
392
+ value: string;
393
+ label: string;
394
+ scope: string;
395
+ }[];
396
+ memoizedResultFunc: ((resultFuncArgs_0: {
397
+ identityAttributes: string[];
398
+ inventoryAttributes: string[];
399
+ systemAttributes: string[];
400
+ tagAttributes: string[];
401
+ }, resultFuncArgs_1: number) => {
402
+ value: string;
403
+ label: string;
404
+ scope: string;
405
+ }[]) & {
42
406
  clearCache: () => void;
43
407
  resultsCount: () => number;
44
408
  resetResultsCount: () => void;
45
409
  };
46
- lastResult: () => any;
47
- dependencies: [(state: any) => any, (state: any) => any];
410
+ lastResult: () => {
411
+ value: string;
412
+ label: string;
413
+ scope: string;
414
+ }[];
415
+ dependencies: [(state: RootState) => {
416
+ identityAttributes: string[];
417
+ inventoryAttributes: string[];
418
+ systemAttributes: string[];
419
+ tagAttributes: string[];
420
+ }, (state: RootState) => number];
48
421
  recomputations: () => number;
49
422
  resetRecomputations: () => void;
50
423
  dependencyRecomputations: () => number;
@@ -53,19 +426,161 @@ declare const getDeviceIdentityAttributes: ((state: any) => any) & {
53
426
  memoize: typeof reselect.weakMapMemoize;
54
427
  argsMemoize: typeof reselect.weakMapMemoize;
55
428
  };
56
- declare const getDeviceCountsByStatus: ((state: any) => {}) & {
429
+ declare const getDeviceCountsByStatus: ((state: {
430
+ app: {
431
+ cancelSource: any;
432
+ commit: string;
433
+ demoArtifactLink: string;
434
+ docsVersion: string;
435
+ features: Record<string, boolean>;
436
+ feedbackProbability: number;
437
+ firstLoginAfterSignup: boolean;
438
+ hostAddress: string | null;
439
+ hostedAnnouncement: string;
440
+ newThreshold: string;
441
+ offlineThreshold: string;
442
+ recaptchaSiteKey: string;
443
+ searchState: SearchState;
444
+ sentry: SentryConfig;
445
+ snackbar: SnackbarContent;
446
+ stripeAPIKey: string;
447
+ trackerCode: string;
448
+ uploadsById: Record<string, Upload>;
449
+ versionInformation: {
450
+ [key: string]: string | {
451
+ releaseDate: string;
452
+ repos: Record<string, string>;
453
+ } | undefined;
454
+ backend?: string;
455
+ GUI?: string;
456
+ latestRelease?: {
457
+ releaseDate: string;
458
+ repos: Record<string, string>;
459
+ };
460
+ };
461
+ yesterday?: string;
462
+ };
463
+ devices: DeviceSliceType;
464
+ deployments: {
465
+ byId: Record<string, Deployment>;
466
+ byStatus: DeploymentByStatus;
467
+ config: DeploymentConfig;
468
+ deploymentDeviceLimit: number;
469
+ selectedDeviceIds: string[];
470
+ selectionState: SelectionState;
471
+ };
472
+ monitor: {
473
+ alerts: {
474
+ alertList: {
475
+ page: number;
476
+ perPage: number;
477
+ total: number;
478
+ };
479
+ byDeviceId: {
480
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
481
+ fullName?: string;
482
+ }>;
483
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
484
+ fullName?: string;
485
+ }>;
486
+ };
487
+ };
488
+ issueCounts: {
489
+ byType: {
490
+ issues: {
491
+ filtered: number;
492
+ total: number;
493
+ };
494
+ offline: {
495
+ filtered: number;
496
+ total: number;
497
+ };
498
+ failedLastUpdate: {
499
+ filtered: number;
500
+ total: number;
501
+ };
502
+ monitoring: {
503
+ filtered: number;
504
+ total: number;
505
+ };
506
+ authRequests: {
507
+ filtered: number;
508
+ total: number;
509
+ };
510
+ gatewayDevices: {
511
+ filtered: number;
512
+ total: number;
513
+ };
514
+ };
515
+ };
516
+ settings: {
517
+ global: {
518
+ channels: {
519
+ email: {
520
+ enabled: boolean;
521
+ };
522
+ };
523
+ };
524
+ };
525
+ };
526
+ onboarding: {
527
+ address?: string;
528
+ approach: OnboardingApproach | null;
529
+ complete: boolean;
530
+ demoArtifactPort: number;
531
+ deviceConnection?: string;
532
+ deviceType: string[] | string | null;
533
+ progress: string | null;
534
+ showTips: boolean | null;
535
+ showTipsDialog: boolean;
536
+ };
537
+ organization: OrganizationState;
538
+ releases: ReleaseSliceType;
539
+ users: {
540
+ activationCode?: string;
541
+ byId: Record<string, User>;
542
+ currentSession?: UserSession | object;
543
+ currentUser: string | null;
544
+ customColumns: CustomColumn[];
545
+ globalSettings: GlobalSettings;
546
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
547
+ qrCode: string | null;
548
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
549
+ rolesInitialized: boolean;
550
+ settingsInitialized: boolean;
551
+ showConnectDeviceDialog: boolean;
552
+ showFeedbackDialog: boolean;
553
+ showStartupNotification: boolean;
554
+ tooltips: {
555
+ byId: Record<string, {
556
+ readState: ReadState;
557
+ }>;
558
+ };
559
+ userSettings: UserSettings;
560
+ userSettingsInitialized: boolean;
561
+ };
562
+ }) => {}) & {
57
563
  clearCache: () => void;
58
564
  resultsCount: () => number;
59
565
  resetResultsCount: () => void;
60
566
  } & {
61
- resultFunc: (resultFuncArgs_0: any) => {};
62
- memoizedResultFunc: ((resultFuncArgs_0: any) => {}) & {
567
+ resultFunc: (resultFuncArgs_0: Record<string, {
568
+ deviceIds: string[];
569
+ total: number;
570
+ }>) => {};
571
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
572
+ deviceIds: string[];
573
+ total: number;
574
+ }>) => {}) & {
63
575
  clearCache: () => void;
64
576
  resultsCount: () => number;
65
577
  resetResultsCount: () => void;
66
578
  };
67
579
  lastResult: () => {};
68
- dependencies: [(state: any) => any];
580
+ dependencies: [(state: RootState) => Record<string, {
581
+ deviceIds: string[];
582
+ total: number;
583
+ }>];
69
584
  recomputations: () => number;
70
585
  resetRecomputations: () => void;
71
586
  dependencyRecomputations: () => number;
@@ -74,19 +589,19 @@ declare const getDeviceCountsByStatus: ((state: any) => {}) & {
74
589
  memoize: typeof reselect.weakMapMemoize;
75
590
  argsMemoize: typeof reselect.weakMapMemoize;
76
591
  };
77
- declare const getDeviceById: ((state: any, deviceId: any) => any) & {
592
+ declare const getDeviceById: ((state: any, deviceId: any) => Device) & {
78
593
  clearCache: () => void;
79
594
  resultsCount: () => number;
80
595
  resetResultsCount: () => void;
81
596
  } & {
82
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => any;
83
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => any) & {
597
+ resultFunc: (resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device;
598
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device) & {
84
599
  clearCache: () => void;
85
600
  resultsCount: () => number;
86
601
  resetResultsCount: () => void;
87
602
  };
88
- lastResult: () => any;
89
- dependencies: [(state: any) => any, (_: any, deviceId: any) => any];
603
+ lastResult: () => Device;
604
+ dependencies: [(state: RootState) => Record<string, Device>, (_: any, deviceId: any) => any];
90
605
  recomputations: () => number;
91
606
  resetRecomputations: () => void;
92
607
  dependencyRecomputations: () => number;
@@ -95,35 +610,177 @@ declare const getDeviceById: ((state: any, deviceId: any) => any) & {
95
610
  memoize: typeof reselect.weakMapMemoize;
96
611
  argsMemoize: typeof reselect.weakMapMemoize;
97
612
  };
98
- declare const getSelectedGroupInfo: ((state: any) => {
99
- groupCount: any;
100
- selectedGroup: any;
101
- groupFilters: never[];
613
+ declare const getSelectedGroupInfo: ((state: {
614
+ app: {
615
+ cancelSource: any;
616
+ commit: string;
617
+ demoArtifactLink: string;
618
+ docsVersion: string;
619
+ features: Record<string, boolean>;
620
+ feedbackProbability: number;
621
+ firstLoginAfterSignup: boolean;
622
+ hostAddress: string | null;
623
+ hostedAnnouncement: string;
624
+ newThreshold: string;
625
+ offlineThreshold: string;
626
+ recaptchaSiteKey: string;
627
+ searchState: SearchState;
628
+ sentry: SentryConfig;
629
+ snackbar: SnackbarContent;
630
+ stripeAPIKey: string;
631
+ trackerCode: string;
632
+ uploadsById: Record<string, Upload>;
633
+ versionInformation: {
634
+ [key: string]: string | {
635
+ releaseDate: string;
636
+ repos: Record<string, string>;
637
+ } | undefined;
638
+ backend?: string;
639
+ GUI?: string;
640
+ latestRelease?: {
641
+ releaseDate: string;
642
+ repos: Record<string, string>;
643
+ };
644
+ };
645
+ yesterday?: string;
646
+ };
647
+ devices: DeviceSliceType;
648
+ deployments: {
649
+ byId: Record<string, Deployment>;
650
+ byStatus: DeploymentByStatus;
651
+ config: DeploymentConfig;
652
+ deploymentDeviceLimit: number;
653
+ selectedDeviceIds: string[];
654
+ selectionState: SelectionState;
655
+ };
656
+ monitor: {
657
+ alerts: {
658
+ alertList: {
659
+ page: number;
660
+ perPage: number;
661
+ total: number;
662
+ };
663
+ byDeviceId: {
664
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
665
+ fullName?: string;
666
+ }>;
667
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
668
+ fullName?: string;
669
+ }>;
670
+ };
671
+ };
672
+ issueCounts: {
673
+ byType: {
674
+ issues: {
675
+ filtered: number;
676
+ total: number;
677
+ };
678
+ offline: {
679
+ filtered: number;
680
+ total: number;
681
+ };
682
+ failedLastUpdate: {
683
+ filtered: number;
684
+ total: number;
685
+ };
686
+ monitoring: {
687
+ filtered: number;
688
+ total: number;
689
+ };
690
+ authRequests: {
691
+ filtered: number;
692
+ total: number;
693
+ };
694
+ gatewayDevices: {
695
+ filtered: number;
696
+ total: number;
697
+ };
698
+ };
699
+ };
700
+ settings: {
701
+ global: {
702
+ channels: {
703
+ email: {
704
+ enabled: boolean;
705
+ };
706
+ };
707
+ };
708
+ };
709
+ };
710
+ onboarding: {
711
+ address?: string;
712
+ approach: OnboardingApproach | null;
713
+ complete: boolean;
714
+ demoArtifactPort: number;
715
+ deviceConnection?: string;
716
+ deviceType: string[] | string | null;
717
+ progress: string | null;
718
+ showTips: boolean | null;
719
+ showTipsDialog: boolean;
720
+ };
721
+ organization: OrganizationState;
722
+ releases: ReleaseSliceType;
723
+ users: {
724
+ activationCode?: string;
725
+ byId: Record<string, User>;
726
+ currentSession?: UserSession | object;
727
+ currentUser: string | null;
728
+ customColumns: CustomColumn[];
729
+ globalSettings: GlobalSettings;
730
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
731
+ qrCode: string | null;
732
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
733
+ rolesInitialized: boolean;
734
+ settingsInitialized: boolean;
735
+ showConnectDeviceDialog: boolean;
736
+ showFeedbackDialog: boolean;
737
+ showStartupNotification: boolean;
738
+ tooltips: {
739
+ byId: Record<string, {
740
+ readState: ReadState;
741
+ }>;
742
+ };
743
+ userSettings: UserSettings;
744
+ userSettingsInitialized: boolean;
745
+ };
746
+ }) => {
747
+ groupCount: number;
748
+ selectedGroup: string | undefined;
749
+ groupFilters: DeviceFilter[];
102
750
  }) & {
103
751
  clearCache: () => void;
104
752
  resultsCount: () => number;
105
753
  resetResultsCount: () => void;
106
754
  } & {
107
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any, resultFuncArgs_2: any) => {
108
- groupCount: any;
109
- selectedGroup: any;
110
- groupFilters: never[];
111
- };
112
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any, resultFuncArgs_2: any) => {
113
- groupCount: any;
114
- selectedGroup: any;
115
- groupFilters: never[];
755
+ resultFunc: (resultFuncArgs_0: {
756
+ deviceIds: string[];
757
+ total: number;
758
+ }, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
759
+ groupCount: number;
760
+ selectedGroup: string | undefined;
761
+ groupFilters: DeviceFilter[];
762
+ };
763
+ memoizedResultFunc: ((resultFuncArgs_0: {
764
+ deviceIds: string[];
765
+ total: number;
766
+ }, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
767
+ groupCount: number;
768
+ selectedGroup: string | undefined;
769
+ groupFilters: DeviceFilter[];
116
770
  }) & {
117
771
  clearCache: () => void;
118
772
  resultsCount: () => number;
119
773
  resetResultsCount: () => void;
120
774
  };
121
775
  lastResult: () => {
122
- groupCount: any;
123
- selectedGroup: any;
124
- groupFilters: never[];
776
+ groupCount: number;
777
+ selectedGroup: string | undefined;
778
+ groupFilters: DeviceFilter[];
125
779
  };
126
- dependencies: [(state: any) => any, (state: any) => any, (state: any) => any];
780
+ dependencies: [(state: RootState) => {
781
+ deviceIds: string[];
782
+ total: number;
783
+ }, (state: RootState) => Record<string, DeviceGroup>, (state: RootState) => string | undefined];
127
784
  recomputations: () => number;
128
785
  resetRecomputations: () => void;
129
786
  dependencyRecomputations: () => number;
@@ -132,19 +789,323 @@ declare const getSelectedGroupInfo: ((state: any) => {
132
789
  memoize: typeof reselect.weakMapMemoize;
133
790
  argsMemoize: typeof reselect.weakMapMemoize;
134
791
  };
135
- declare const getLimitMaxed: ((state: any) => boolean) & {
792
+ declare const getLimitMaxed: ((state: {
793
+ app: {
794
+ cancelSource: any;
795
+ commit: string;
796
+ demoArtifactLink: string;
797
+ docsVersion: string;
798
+ features: Record<string, boolean>;
799
+ feedbackProbability: number;
800
+ firstLoginAfterSignup: boolean;
801
+ hostAddress: string | null;
802
+ hostedAnnouncement: string;
803
+ newThreshold: string;
804
+ offlineThreshold: string;
805
+ recaptchaSiteKey: string;
806
+ searchState: SearchState;
807
+ sentry: SentryConfig;
808
+ snackbar: SnackbarContent;
809
+ stripeAPIKey: string;
810
+ trackerCode: string;
811
+ uploadsById: Record<string, Upload>;
812
+ versionInformation: {
813
+ [key: string]: string | {
814
+ releaseDate: string;
815
+ repos: Record<string, string>;
816
+ } | undefined;
817
+ backend?: string;
818
+ GUI?: string;
819
+ latestRelease?: {
820
+ releaseDate: string;
821
+ repos: Record<string, string>;
822
+ };
823
+ };
824
+ yesterday?: string;
825
+ };
826
+ devices: DeviceSliceType;
827
+ deployments: {
828
+ byId: Record<string, Deployment>;
829
+ byStatus: DeploymentByStatus;
830
+ config: DeploymentConfig;
831
+ deploymentDeviceLimit: number;
832
+ selectedDeviceIds: string[];
833
+ selectionState: SelectionState;
834
+ };
835
+ monitor: {
836
+ alerts: {
837
+ alertList: {
838
+ page: number;
839
+ perPage: number;
840
+ total: number;
841
+ };
842
+ byDeviceId: {
843
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
844
+ fullName?: string;
845
+ }>;
846
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
847
+ fullName?: string;
848
+ }>;
849
+ };
850
+ };
851
+ issueCounts: {
852
+ byType: {
853
+ issues: {
854
+ filtered: number;
855
+ total: number;
856
+ };
857
+ offline: {
858
+ filtered: number;
859
+ total: number;
860
+ };
861
+ failedLastUpdate: {
862
+ filtered: number;
863
+ total: number;
864
+ };
865
+ monitoring: {
866
+ filtered: number;
867
+ total: number;
868
+ };
869
+ authRequests: {
870
+ filtered: number;
871
+ total: number;
872
+ };
873
+ gatewayDevices: {
874
+ filtered: number;
875
+ total: number;
876
+ };
877
+ };
878
+ };
879
+ settings: {
880
+ global: {
881
+ channels: {
882
+ email: {
883
+ enabled: boolean;
884
+ };
885
+ };
886
+ };
887
+ };
888
+ };
889
+ onboarding: {
890
+ address?: string;
891
+ approach: OnboardingApproach | null;
892
+ complete: boolean;
893
+ demoArtifactPort: number;
894
+ deviceConnection?: string;
895
+ deviceType: string[] | string | null;
896
+ progress: string | null;
897
+ showTips: boolean | null;
898
+ showTipsDialog: boolean;
899
+ };
900
+ organization: OrganizationState;
901
+ releases: ReleaseSliceType;
902
+ users: {
903
+ activationCode?: string;
904
+ byId: Record<string, User>;
905
+ currentSession?: UserSession | object;
906
+ currentUser: string | null;
907
+ customColumns: CustomColumn[];
908
+ globalSettings: GlobalSettings;
909
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
910
+ qrCode: string | null;
911
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
912
+ rolesInitialized: boolean;
913
+ settingsInitialized: boolean;
914
+ showConnectDeviceDialog: boolean;
915
+ showFeedbackDialog: boolean;
916
+ showStartupNotification: boolean;
917
+ tooltips: {
918
+ byId: Record<string, {
919
+ readState: ReadState;
920
+ }>;
921
+ };
922
+ userSettings: UserSettings;
923
+ userSettingsInitialized: boolean;
924
+ };
925
+ }) => boolean) & {
136
926
  clearCache: () => void;
137
927
  resultsCount: () => number;
138
928
  resetResultsCount: () => void;
139
929
  } & {
140
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => boolean;
141
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => boolean) & {
930
+ resultFunc: (resultFuncArgs_0: {
931
+ deviceIds: string[];
932
+ total: number;
933
+ }, resultFuncArgs_1: number) => boolean;
934
+ memoizedResultFunc: ((resultFuncArgs_0: {
935
+ deviceIds: string[];
936
+ total: number;
937
+ }, resultFuncArgs_1: number) => boolean) & {
142
938
  clearCache: () => void;
143
939
  resultsCount: () => number;
144
940
  resetResultsCount: () => void;
145
941
  };
146
942
  lastResult: () => boolean;
147
- dependencies: [(state: any) => any, (state: any) => any];
943
+ dependencies: [(state: RootState) => {
944
+ deviceIds: string[];
945
+ total: number;
946
+ }, (state: RootState) => number];
947
+ recomputations: () => number;
948
+ resetRecomputations: () => void;
949
+ dependencyRecomputations: () => number;
950
+ resetDependencyRecomputations: () => void;
951
+ } & {
952
+ memoize: typeof reselect.weakMapMemoize;
953
+ argsMemoize: typeof reselect.weakMapMemoize;
954
+ };
955
+ declare const getGroupsByIdWithoutUngrouped: ((state: {
956
+ app: {
957
+ cancelSource: any;
958
+ commit: string;
959
+ demoArtifactLink: string;
960
+ docsVersion: string;
961
+ features: Record<string, boolean>;
962
+ feedbackProbability: number;
963
+ firstLoginAfterSignup: boolean;
964
+ hostAddress: string | null;
965
+ hostedAnnouncement: string;
966
+ newThreshold: string;
967
+ offlineThreshold: string;
968
+ recaptchaSiteKey: string;
969
+ searchState: SearchState;
970
+ sentry: SentryConfig;
971
+ snackbar: SnackbarContent;
972
+ stripeAPIKey: string;
973
+ trackerCode: string;
974
+ uploadsById: Record<string, Upload>;
975
+ versionInformation: {
976
+ [key: string]: string | {
977
+ releaseDate: string;
978
+ repos: Record<string, string>;
979
+ } | undefined;
980
+ backend?: string;
981
+ GUI?: string;
982
+ latestRelease?: {
983
+ releaseDate: string;
984
+ repos: Record<string, string>;
985
+ };
986
+ };
987
+ yesterday?: string;
988
+ };
989
+ devices: DeviceSliceType;
990
+ deployments: {
991
+ byId: Record<string, Deployment>;
992
+ byStatus: DeploymentByStatus;
993
+ config: DeploymentConfig;
994
+ deploymentDeviceLimit: number;
995
+ selectedDeviceIds: string[];
996
+ selectionState: SelectionState;
997
+ };
998
+ monitor: {
999
+ alerts: {
1000
+ alertList: {
1001
+ page: number;
1002
+ perPage: number;
1003
+ total: number;
1004
+ };
1005
+ byDeviceId: {
1006
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1007
+ fullName?: string;
1008
+ }>;
1009
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1010
+ fullName?: string;
1011
+ }>;
1012
+ };
1013
+ };
1014
+ issueCounts: {
1015
+ byType: {
1016
+ issues: {
1017
+ filtered: number;
1018
+ total: number;
1019
+ };
1020
+ offline: {
1021
+ filtered: number;
1022
+ total: number;
1023
+ };
1024
+ failedLastUpdate: {
1025
+ filtered: number;
1026
+ total: number;
1027
+ };
1028
+ monitoring: {
1029
+ filtered: number;
1030
+ total: number;
1031
+ };
1032
+ authRequests: {
1033
+ filtered: number;
1034
+ total: number;
1035
+ };
1036
+ gatewayDevices: {
1037
+ filtered: number;
1038
+ total: number;
1039
+ };
1040
+ };
1041
+ };
1042
+ settings: {
1043
+ global: {
1044
+ channels: {
1045
+ email: {
1046
+ enabled: boolean;
1047
+ };
1048
+ };
1049
+ };
1050
+ };
1051
+ };
1052
+ onboarding: {
1053
+ address?: string;
1054
+ approach: OnboardingApproach | null;
1055
+ complete: boolean;
1056
+ demoArtifactPort: number;
1057
+ deviceConnection?: string;
1058
+ deviceType: string[] | string | null;
1059
+ progress: string | null;
1060
+ showTips: boolean | null;
1061
+ showTipsDialog: boolean;
1062
+ };
1063
+ organization: OrganizationState;
1064
+ releases: ReleaseSliceType;
1065
+ users: {
1066
+ activationCode?: string;
1067
+ byId: Record<string, User>;
1068
+ currentSession?: UserSession | object;
1069
+ currentUser: string | null;
1070
+ customColumns: CustomColumn[];
1071
+ globalSettings: GlobalSettings;
1072
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1073
+ qrCode: string | null;
1074
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1075
+ rolesInitialized: boolean;
1076
+ settingsInitialized: boolean;
1077
+ showConnectDeviceDialog: boolean;
1078
+ showFeedbackDialog: boolean;
1079
+ showStartupNotification: boolean;
1080
+ tooltips: {
1081
+ byId: Record<string, {
1082
+ readState: ReadState;
1083
+ }>;
1084
+ };
1085
+ userSettings: UserSettings;
1086
+ userSettingsInitialized: boolean;
1087
+ };
1088
+ }) => {
1089
+ [x: string]: DeviceGroup;
1090
+ }) & {
1091
+ clearCache: () => void;
1092
+ resultsCount: () => number;
1093
+ resetResultsCount: () => void;
1094
+ } & {
1095
+ resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
1096
+ [x: string]: DeviceGroup;
1097
+ };
1098
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
1099
+ [x: string]: DeviceGroup;
1100
+ }) & {
1101
+ clearCache: () => void;
1102
+ resultsCount: () => number;
1103
+ resetResultsCount: () => void;
1104
+ };
1105
+ lastResult: () => {
1106
+ [x: string]: DeviceGroup;
1107
+ };
1108
+ dependencies: [(state: RootState) => Record<string, DeviceGroup>];
148
1109
  recomputations: () => number;
149
1110
  resetRecomputations: () => void;
150
1111
  dependencyRecomputations: () => number;
@@ -153,19 +1114,341 @@ declare const getLimitMaxed: ((state: any) => boolean) & {
153
1114
  memoize: typeof reselect.weakMapMemoize;
154
1115
  argsMemoize: typeof reselect.weakMapMemoize;
155
1116
  };
156
- declare const getGroupsByIdWithoutUngrouped: ((state: any) => any) & {
1117
+ declare const getGroupData: ((state: {
1118
+ app: {
1119
+ cancelSource: any;
1120
+ commit: string;
1121
+ demoArtifactLink: string;
1122
+ docsVersion: string;
1123
+ features: Record<string, boolean>;
1124
+ feedbackProbability: number;
1125
+ firstLoginAfterSignup: boolean;
1126
+ hostAddress: string | null;
1127
+ hostedAnnouncement: string;
1128
+ newThreshold: string;
1129
+ offlineThreshold: string;
1130
+ recaptchaSiteKey: string;
1131
+ searchState: SearchState;
1132
+ sentry: SentryConfig;
1133
+ snackbar: SnackbarContent;
1134
+ stripeAPIKey: string;
1135
+ trackerCode: string;
1136
+ uploadsById: Record<string, Upload>;
1137
+ versionInformation: {
1138
+ [key: string]: string | {
1139
+ releaseDate: string;
1140
+ repos: Record<string, string>;
1141
+ } | undefined;
1142
+ backend?: string;
1143
+ GUI?: string;
1144
+ latestRelease?: {
1145
+ releaseDate: string;
1146
+ repos: Record<string, string>;
1147
+ };
1148
+ };
1149
+ yesterday?: string;
1150
+ };
1151
+ devices: DeviceSliceType;
1152
+ deployments: {
1153
+ byId: Record<string, Deployment>;
1154
+ byStatus: DeploymentByStatus;
1155
+ config: DeploymentConfig;
1156
+ deploymentDeviceLimit: number;
1157
+ selectedDeviceIds: string[];
1158
+ selectionState: SelectionState;
1159
+ };
1160
+ monitor: {
1161
+ alerts: {
1162
+ alertList: {
1163
+ page: number;
1164
+ perPage: number;
1165
+ total: number;
1166
+ };
1167
+ byDeviceId: {
1168
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1169
+ fullName?: string;
1170
+ }>;
1171
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1172
+ fullName?: string;
1173
+ }>;
1174
+ };
1175
+ };
1176
+ issueCounts: {
1177
+ byType: {
1178
+ issues: {
1179
+ filtered: number;
1180
+ total: number;
1181
+ };
1182
+ offline: {
1183
+ filtered: number;
1184
+ total: number;
1185
+ };
1186
+ failedLastUpdate: {
1187
+ filtered: number;
1188
+ total: number;
1189
+ };
1190
+ monitoring: {
1191
+ filtered: number;
1192
+ total: number;
1193
+ };
1194
+ authRequests: {
1195
+ filtered: number;
1196
+ total: number;
1197
+ };
1198
+ gatewayDevices: {
1199
+ filtered: number;
1200
+ total: number;
1201
+ };
1202
+ };
1203
+ };
1204
+ settings: {
1205
+ global: {
1206
+ channels: {
1207
+ email: {
1208
+ enabled: boolean;
1209
+ };
1210
+ };
1211
+ };
1212
+ };
1213
+ };
1214
+ onboarding: {
1215
+ address?: string;
1216
+ approach: OnboardingApproach | null;
1217
+ complete: boolean;
1218
+ demoArtifactPort: number;
1219
+ deviceConnection?: string;
1220
+ deviceType: string[] | string | null;
1221
+ progress: string | null;
1222
+ showTips: boolean | null;
1223
+ showTipsDialog: boolean;
1224
+ };
1225
+ organization: OrganizationState;
1226
+ releases: ReleaseSliceType;
1227
+ users: {
1228
+ activationCode?: string;
1229
+ byId: Record<string, User>;
1230
+ currentSession?: UserSession | object;
1231
+ currentUser: string | null;
1232
+ customColumns: CustomColumn[];
1233
+ globalSettings: GlobalSettings;
1234
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1235
+ qrCode: string | null;
1236
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1237
+ rolesInitialized: boolean;
1238
+ settingsInitialized: boolean;
1239
+ showConnectDeviceDialog: boolean;
1240
+ showFeedbackDialog: boolean;
1241
+ showStartupNotification: boolean;
1242
+ tooltips: {
1243
+ byId: Record<string, {
1244
+ readState: ReadState;
1245
+ }>;
1246
+ };
1247
+ userSettings: UserSettings;
1248
+ userSettingsInitialized: boolean;
1249
+ };
1250
+ }) => {
1251
+ createdGroup: string | undefined;
1252
+ hasDynamicGroups: boolean;
1253
+ groups: {
1254
+ [x: string]: DeviceGroup;
1255
+ };
1256
+ }) & {
157
1257
  clearCache: () => void;
158
1258
  resultsCount: () => number;
159
1259
  resetResultsCount: () => void;
160
1260
  } & {
161
- resultFunc: (resultFuncArgs_0: any) => any;
162
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
1261
+ resultFunc: (resultFuncArgs_0: {
1262
+ [x: string]: DeviceGroup;
1263
+ }) => {
1264
+ createdGroup: string | undefined;
1265
+ hasDynamicGroups: boolean;
1266
+ groups: {
1267
+ [x: string]: DeviceGroup;
1268
+ };
1269
+ };
1270
+ memoizedResultFunc: ((resultFuncArgs_0: {
1271
+ [x: string]: DeviceGroup;
1272
+ }) => {
1273
+ createdGroup: string | undefined;
1274
+ hasDynamicGroups: boolean;
1275
+ groups: {
1276
+ [x: string]: DeviceGroup;
1277
+ };
1278
+ }) & {
163
1279
  clearCache: () => void;
164
1280
  resultsCount: () => number;
165
1281
  resetResultsCount: () => void;
166
1282
  };
167
- lastResult: () => any;
168
- dependencies: [(state: any) => any];
1283
+ lastResult: () => {
1284
+ createdGroup: string | undefined;
1285
+ hasDynamicGroups: boolean;
1286
+ groups: {
1287
+ [x: string]: DeviceGroup;
1288
+ };
1289
+ };
1290
+ dependencies: [((state: {
1291
+ app: {
1292
+ cancelSource: any;
1293
+ commit: string;
1294
+ demoArtifactLink: string;
1295
+ docsVersion: string;
1296
+ features: Record<string, boolean>;
1297
+ feedbackProbability: number;
1298
+ firstLoginAfterSignup: boolean;
1299
+ hostAddress: string | null;
1300
+ hostedAnnouncement: string;
1301
+ newThreshold: string;
1302
+ offlineThreshold: string;
1303
+ recaptchaSiteKey: string;
1304
+ searchState: SearchState;
1305
+ sentry: SentryConfig;
1306
+ snackbar: SnackbarContent;
1307
+ stripeAPIKey: string;
1308
+ trackerCode: string;
1309
+ uploadsById: Record<string, Upload>;
1310
+ versionInformation: {
1311
+ [key: string]: string | {
1312
+ releaseDate: string;
1313
+ repos: Record<string, string>;
1314
+ } | undefined;
1315
+ backend?: string;
1316
+ GUI?: string;
1317
+ latestRelease?: {
1318
+ releaseDate: string;
1319
+ repos: Record<string, string>;
1320
+ };
1321
+ };
1322
+ yesterday?: string;
1323
+ };
1324
+ devices: DeviceSliceType;
1325
+ deployments: {
1326
+ byId: Record<string, Deployment>;
1327
+ byStatus: DeploymentByStatus;
1328
+ config: DeploymentConfig;
1329
+ deploymentDeviceLimit: number;
1330
+ selectedDeviceIds: string[];
1331
+ selectionState: SelectionState;
1332
+ };
1333
+ monitor: {
1334
+ alerts: {
1335
+ alertList: {
1336
+ page: number;
1337
+ perPage: number;
1338
+ total: number;
1339
+ };
1340
+ byDeviceId: {
1341
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1342
+ fullName?: string;
1343
+ }>;
1344
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1345
+ fullName?: string;
1346
+ }>;
1347
+ };
1348
+ };
1349
+ issueCounts: {
1350
+ byType: {
1351
+ issues: {
1352
+ filtered: number;
1353
+ total: number;
1354
+ };
1355
+ offline: {
1356
+ filtered: number;
1357
+ total: number;
1358
+ };
1359
+ failedLastUpdate: {
1360
+ filtered: number;
1361
+ total: number;
1362
+ };
1363
+ monitoring: {
1364
+ filtered: number;
1365
+ total: number;
1366
+ };
1367
+ authRequests: {
1368
+ filtered: number;
1369
+ total: number;
1370
+ };
1371
+ gatewayDevices: {
1372
+ filtered: number;
1373
+ total: number;
1374
+ };
1375
+ };
1376
+ };
1377
+ settings: {
1378
+ global: {
1379
+ channels: {
1380
+ email: {
1381
+ enabled: boolean;
1382
+ };
1383
+ };
1384
+ };
1385
+ };
1386
+ };
1387
+ onboarding: {
1388
+ address?: string;
1389
+ approach: OnboardingApproach | null;
1390
+ complete: boolean;
1391
+ demoArtifactPort: number;
1392
+ deviceConnection?: string;
1393
+ deviceType: string[] | string | null;
1394
+ progress: string | null;
1395
+ showTips: boolean | null;
1396
+ showTipsDialog: boolean;
1397
+ };
1398
+ organization: OrganizationState;
1399
+ releases: ReleaseSliceType;
1400
+ users: {
1401
+ activationCode?: string;
1402
+ byId: Record<string, User>;
1403
+ currentSession?: UserSession | object;
1404
+ currentUser: string | null;
1405
+ customColumns: CustomColumn[];
1406
+ globalSettings: GlobalSettings;
1407
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1408
+ qrCode: string | null;
1409
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1410
+ rolesInitialized: boolean;
1411
+ settingsInitialized: boolean;
1412
+ showConnectDeviceDialog: boolean;
1413
+ showFeedbackDialog: boolean;
1414
+ showStartupNotification: boolean;
1415
+ tooltips: {
1416
+ byId: Record<string, {
1417
+ readState: ReadState;
1418
+ }>;
1419
+ };
1420
+ userSettings: UserSettings;
1421
+ userSettingsInitialized: boolean;
1422
+ };
1423
+ }) => {
1424
+ [x: string]: DeviceGroup;
1425
+ }) & {
1426
+ clearCache: () => void;
1427
+ resultsCount: () => number;
1428
+ resetResultsCount: () => void;
1429
+ } & {
1430
+ resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
1431
+ [x: string]: DeviceGroup;
1432
+ };
1433
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
1434
+ [x: string]: DeviceGroup;
1435
+ }) & {
1436
+ clearCache: () => void;
1437
+ resultsCount: () => number;
1438
+ resetResultsCount: () => void;
1439
+ };
1440
+ lastResult: () => {
1441
+ [x: string]: DeviceGroup;
1442
+ };
1443
+ dependencies: [(state: RootState) => Record<string, DeviceGroup>];
1444
+ recomputations: () => number;
1445
+ resetRecomputations: () => void;
1446
+ dependencyRecomputations: () => number;
1447
+ resetDependencyRecomputations: () => void;
1448
+ } & {
1449
+ memoize: typeof reselect.weakMapMemoize;
1450
+ argsMemoize: typeof reselect.weakMapMemoize;
1451
+ }];
169
1452
  recomputations: () => number;
170
1453
  resetRecomputations: () => void;
171
1454
  dependencyRecomputations: () => number;
@@ -174,26 +1457,162 @@ declare const getGroupsByIdWithoutUngrouped: ((state: any) => any) & {
174
1457
  memoize: typeof reselect.weakMapMemoize;
175
1458
  argsMemoize: typeof reselect.weakMapMemoize;
176
1459
  };
177
- declare const getGroups: ((state: any) => {
178
- dynamic: never[];
179
- static: never[];
180
- ungrouped: never[];
1460
+ type SelectorGroup = DeviceGroup & {
1461
+ groupId: string;
1462
+ };
1463
+ declare const getGroups: ((state: {
1464
+ app: {
1465
+ cancelSource: any;
1466
+ commit: string;
1467
+ demoArtifactLink: string;
1468
+ docsVersion: string;
1469
+ features: Record<string, boolean>;
1470
+ feedbackProbability: number;
1471
+ firstLoginAfterSignup: boolean;
1472
+ hostAddress: string | null;
1473
+ hostedAnnouncement: string;
1474
+ newThreshold: string;
1475
+ offlineThreshold: string;
1476
+ recaptchaSiteKey: string;
1477
+ searchState: SearchState;
1478
+ sentry: SentryConfig;
1479
+ snackbar: SnackbarContent;
1480
+ stripeAPIKey: string;
1481
+ trackerCode: string;
1482
+ uploadsById: Record<string, Upload>;
1483
+ versionInformation: {
1484
+ [key: string]: string | {
1485
+ releaseDate: string;
1486
+ repos: Record<string, string>;
1487
+ } | undefined;
1488
+ backend?: string;
1489
+ GUI?: string;
1490
+ latestRelease?: {
1491
+ releaseDate: string;
1492
+ repos: Record<string, string>;
1493
+ };
1494
+ };
1495
+ yesterday?: string;
1496
+ };
1497
+ devices: DeviceSliceType;
1498
+ deployments: {
1499
+ byId: Record<string, Deployment>;
1500
+ byStatus: DeploymentByStatus;
1501
+ config: DeploymentConfig;
1502
+ deploymentDeviceLimit: number;
1503
+ selectedDeviceIds: string[];
1504
+ selectionState: SelectionState;
1505
+ };
1506
+ monitor: {
1507
+ alerts: {
1508
+ alertList: {
1509
+ page: number;
1510
+ perPage: number;
1511
+ total: number;
1512
+ };
1513
+ byDeviceId: {
1514
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1515
+ fullName?: string;
1516
+ }>;
1517
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1518
+ fullName?: string;
1519
+ }>;
1520
+ };
1521
+ };
1522
+ issueCounts: {
1523
+ byType: {
1524
+ issues: {
1525
+ filtered: number;
1526
+ total: number;
1527
+ };
1528
+ offline: {
1529
+ filtered: number;
1530
+ total: number;
1531
+ };
1532
+ failedLastUpdate: {
1533
+ filtered: number;
1534
+ total: number;
1535
+ };
1536
+ monitoring: {
1537
+ filtered: number;
1538
+ total: number;
1539
+ };
1540
+ authRequests: {
1541
+ filtered: number;
1542
+ total: number;
1543
+ };
1544
+ gatewayDevices: {
1545
+ filtered: number;
1546
+ total: number;
1547
+ };
1548
+ };
1549
+ };
1550
+ settings: {
1551
+ global: {
1552
+ channels: {
1553
+ email: {
1554
+ enabled: boolean;
1555
+ };
1556
+ };
1557
+ };
1558
+ };
1559
+ };
1560
+ onboarding: {
1561
+ address?: string;
1562
+ approach: OnboardingApproach | null;
1563
+ complete: boolean;
1564
+ demoArtifactPort: number;
1565
+ deviceConnection?: string;
1566
+ deviceType: string[] | string | null;
1567
+ progress: string | null;
1568
+ showTips: boolean | null;
1569
+ showTipsDialog: boolean;
1570
+ };
1571
+ organization: OrganizationState;
1572
+ releases: ReleaseSliceType;
1573
+ users: {
1574
+ activationCode?: string;
1575
+ byId: Record<string, User>;
1576
+ currentSession?: UserSession | object;
1577
+ currentUser: string | null;
1578
+ customColumns: CustomColumn[];
1579
+ globalSettings: GlobalSettings;
1580
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1581
+ qrCode: string | null;
1582
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1583
+ rolesInitialized: boolean;
1584
+ settingsInitialized: boolean;
1585
+ showConnectDeviceDialog: boolean;
1586
+ showFeedbackDialog: boolean;
1587
+ showStartupNotification: boolean;
1588
+ tooltips: {
1589
+ byId: Record<string, {
1590
+ readState: ReadState;
1591
+ }>;
1592
+ };
1593
+ userSettings: UserSettings;
1594
+ userSettingsInitialized: boolean;
1595
+ };
1596
+ }) => {
1597
+ dynamic: SelectorGroup[];
1598
+ static: SelectorGroup[];
1599
+ ungrouped: SelectorGroup[];
181
1600
  groupNames: string[];
182
1601
  }) & {
183
1602
  clearCache: () => void;
184
1603
  resultsCount: () => number;
185
1604
  resetResultsCount: () => void;
186
1605
  } & {
187
- resultFunc: (resultFuncArgs_0: any) => {
188
- dynamic: never[];
189
- static: never[];
190
- ungrouped: never[];
1606
+ resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
1607
+ dynamic: SelectorGroup[];
1608
+ static: SelectorGroup[];
1609
+ ungrouped: SelectorGroup[];
191
1610
  groupNames: string[];
192
1611
  };
193
- memoizedResultFunc: ((resultFuncArgs_0: any) => {
194
- dynamic: never[];
195
- static: never[];
196
- ungrouped: never[];
1612
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
1613
+ dynamic: SelectorGroup[];
1614
+ static: SelectorGroup[];
1615
+ ungrouped: SelectorGroup[];
197
1616
  groupNames: string[];
198
1617
  }) & {
199
1618
  clearCache: () => void;
@@ -201,12 +1620,12 @@ declare const getGroups: ((state: any) => {
201
1620
  resetResultsCount: () => void;
202
1621
  };
203
1622
  lastResult: () => {
204
- dynamic: never[];
205
- static: never[];
206
- ungrouped: never[];
1623
+ dynamic: SelectorGroup[];
1624
+ static: SelectorGroup[];
1625
+ ungrouped: SelectorGroup[];
207
1626
  groupNames: string[];
208
1627
  };
209
- dependencies: [(state: any) => any];
1628
+ dependencies: [(state: RootState) => Record<string, DeviceGroup>];
210
1629
  recomputations: () => number;
211
1630
  resetRecomputations: () => void;
212
1631
  dependencyRecomputations: () => number;
@@ -215,19 +1634,167 @@ declare const getGroups: ((state: any) => {
215
1634
  memoize: typeof reselect.weakMapMemoize;
216
1635
  argsMemoize: typeof reselect.weakMapMemoize;
217
1636
  };
218
- declare const getAttributesList: ((state: any) => any[]) & {
1637
+ declare const getAttributesList: ((state: {
1638
+ app: {
1639
+ cancelSource: any;
1640
+ commit: string;
1641
+ demoArtifactLink: string;
1642
+ docsVersion: string;
1643
+ features: Record<string, boolean>;
1644
+ feedbackProbability: number;
1645
+ firstLoginAfterSignup: boolean;
1646
+ hostAddress: string | null;
1647
+ hostedAnnouncement: string;
1648
+ newThreshold: string;
1649
+ offlineThreshold: string;
1650
+ recaptchaSiteKey: string;
1651
+ searchState: SearchState;
1652
+ sentry: SentryConfig;
1653
+ snackbar: SnackbarContent;
1654
+ stripeAPIKey: string;
1655
+ trackerCode: string;
1656
+ uploadsById: Record<string, Upload>;
1657
+ versionInformation: {
1658
+ [key: string]: string | {
1659
+ releaseDate: string;
1660
+ repos: Record<string, string>;
1661
+ } | undefined;
1662
+ backend?: string;
1663
+ GUI?: string;
1664
+ latestRelease?: {
1665
+ releaseDate: string;
1666
+ repos: Record<string, string>;
1667
+ };
1668
+ };
1669
+ yesterday?: string;
1670
+ };
1671
+ devices: DeviceSliceType;
1672
+ deployments: {
1673
+ byId: Record<string, Deployment>;
1674
+ byStatus: DeploymentByStatus;
1675
+ config: DeploymentConfig;
1676
+ deploymentDeviceLimit: number;
1677
+ selectedDeviceIds: string[];
1678
+ selectionState: SelectionState;
1679
+ };
1680
+ monitor: {
1681
+ alerts: {
1682
+ alertList: {
1683
+ page: number;
1684
+ perPage: number;
1685
+ total: number;
1686
+ };
1687
+ byDeviceId: {
1688
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1689
+ fullName?: string;
1690
+ }>;
1691
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1692
+ fullName?: string;
1693
+ }>;
1694
+ };
1695
+ };
1696
+ issueCounts: {
1697
+ byType: {
1698
+ issues: {
1699
+ filtered: number;
1700
+ total: number;
1701
+ };
1702
+ offline: {
1703
+ filtered: number;
1704
+ total: number;
1705
+ };
1706
+ failedLastUpdate: {
1707
+ filtered: number;
1708
+ total: number;
1709
+ };
1710
+ monitoring: {
1711
+ filtered: number;
1712
+ total: number;
1713
+ };
1714
+ authRequests: {
1715
+ filtered: number;
1716
+ total: number;
1717
+ };
1718
+ gatewayDevices: {
1719
+ filtered: number;
1720
+ total: number;
1721
+ };
1722
+ };
1723
+ };
1724
+ settings: {
1725
+ global: {
1726
+ channels: {
1727
+ email: {
1728
+ enabled: boolean;
1729
+ };
1730
+ };
1731
+ };
1732
+ };
1733
+ };
1734
+ onboarding: {
1735
+ address?: string;
1736
+ approach: OnboardingApproach | null;
1737
+ complete: boolean;
1738
+ demoArtifactPort: number;
1739
+ deviceConnection?: string;
1740
+ deviceType: string[] | string | null;
1741
+ progress: string | null;
1742
+ showTips: boolean | null;
1743
+ showTipsDialog: boolean;
1744
+ };
1745
+ organization: OrganizationState;
1746
+ releases: ReleaseSliceType;
1747
+ users: {
1748
+ activationCode?: string;
1749
+ byId: Record<string, User>;
1750
+ currentSession?: UserSession | object;
1751
+ currentUser: string | null;
1752
+ customColumns: CustomColumn[];
1753
+ globalSettings: GlobalSettings;
1754
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1755
+ qrCode: string | null;
1756
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1757
+ rolesInitialized: boolean;
1758
+ settingsInitialized: boolean;
1759
+ showConnectDeviceDialog: boolean;
1760
+ showFeedbackDialog: boolean;
1761
+ showStartupNotification: boolean;
1762
+ tooltips: {
1763
+ byId: Record<string, {
1764
+ readState: ReadState;
1765
+ }>;
1766
+ };
1767
+ userSettings: UserSettings;
1768
+ userSettingsInitialized: boolean;
1769
+ };
1770
+ }) => string[]) & {
219
1771
  clearCache: () => void;
220
1772
  resultsCount: () => number;
221
1773
  resetResultsCount: () => void;
222
1774
  } & {
223
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => any[];
224
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => any[]) & {
1775
+ resultFunc: (resultFuncArgs_0: {
1776
+ identityAttributes: string[];
1777
+ inventoryAttributes: string[];
1778
+ systemAttributes: string[];
1779
+ tagAttributes: string[];
1780
+ }, resultFuncArgs_1: Record<string, string[]>) => string[];
1781
+ memoizedResultFunc: ((resultFuncArgs_0: {
1782
+ identityAttributes: string[];
1783
+ inventoryAttributes: string[];
1784
+ systemAttributes: string[];
1785
+ tagAttributes: string[];
1786
+ }, resultFuncArgs_1: Record<string, string[]>) => string[]) & {
225
1787
  clearCache: () => void;
226
1788
  resultsCount: () => number;
227
1789
  resetResultsCount: () => void;
228
1790
  };
229
- lastResult: () => any[];
230
- dependencies: [(state: any) => any, (state: any) => any];
1791
+ lastResult: () => string[];
1792
+ dependencies: [(state: RootState) => {
1793
+ identityAttributes: string[];
1794
+ inventoryAttributes: string[];
1795
+ systemAttributes: string[];
1796
+ tagAttributes: string[];
1797
+ }, (state: RootState) => Record<string, string[]>];
231
1798
  recomputations: () => number;
232
1799
  resetRecomputations: () => void;
233
1800
  dependencyRecomputations: () => number;
@@ -236,19 +1803,161 @@ declare const getAttributesList: ((state: any) => any[]) & {
236
1803
  memoize: typeof reselect.weakMapMemoize;
237
1804
  argsMemoize: typeof reselect.weakMapMemoize;
238
1805
  };
239
- declare const getDeviceTypes: ((state: any) => string[]) & {
1806
+ declare const getDeviceTypes: ((state: {
1807
+ app: {
1808
+ cancelSource: any;
1809
+ commit: string;
1810
+ demoArtifactLink: string;
1811
+ docsVersion: string;
1812
+ features: Record<string, boolean>;
1813
+ feedbackProbability: number;
1814
+ firstLoginAfterSignup: boolean;
1815
+ hostAddress: string | null;
1816
+ hostedAnnouncement: string;
1817
+ newThreshold: string;
1818
+ offlineThreshold: string;
1819
+ recaptchaSiteKey: string;
1820
+ searchState: SearchState;
1821
+ sentry: SentryConfig;
1822
+ snackbar: SnackbarContent;
1823
+ stripeAPIKey: string;
1824
+ trackerCode: string;
1825
+ uploadsById: Record<string, Upload>;
1826
+ versionInformation: {
1827
+ [key: string]: string | {
1828
+ releaseDate: string;
1829
+ repos: Record<string, string>;
1830
+ } | undefined;
1831
+ backend?: string;
1832
+ GUI?: string;
1833
+ latestRelease?: {
1834
+ releaseDate: string;
1835
+ repos: Record<string, string>;
1836
+ };
1837
+ };
1838
+ yesterday?: string;
1839
+ };
1840
+ devices: DeviceSliceType;
1841
+ deployments: {
1842
+ byId: Record<string, Deployment>;
1843
+ byStatus: DeploymentByStatus;
1844
+ config: DeploymentConfig;
1845
+ deploymentDeviceLimit: number;
1846
+ selectedDeviceIds: string[];
1847
+ selectionState: SelectionState;
1848
+ };
1849
+ monitor: {
1850
+ alerts: {
1851
+ alertList: {
1852
+ page: number;
1853
+ perPage: number;
1854
+ total: number;
1855
+ };
1856
+ byDeviceId: {
1857
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1858
+ fullName?: string;
1859
+ }>;
1860
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1861
+ fullName?: string;
1862
+ }>;
1863
+ };
1864
+ };
1865
+ issueCounts: {
1866
+ byType: {
1867
+ issues: {
1868
+ filtered: number;
1869
+ total: number;
1870
+ };
1871
+ offline: {
1872
+ filtered: number;
1873
+ total: number;
1874
+ };
1875
+ failedLastUpdate: {
1876
+ filtered: number;
1877
+ total: number;
1878
+ };
1879
+ monitoring: {
1880
+ filtered: number;
1881
+ total: number;
1882
+ };
1883
+ authRequests: {
1884
+ filtered: number;
1885
+ total: number;
1886
+ };
1887
+ gatewayDevices: {
1888
+ filtered: number;
1889
+ total: number;
1890
+ };
1891
+ };
1892
+ };
1893
+ settings: {
1894
+ global: {
1895
+ channels: {
1896
+ email: {
1897
+ enabled: boolean;
1898
+ };
1899
+ };
1900
+ };
1901
+ };
1902
+ };
1903
+ onboarding: {
1904
+ address?: string;
1905
+ approach: OnboardingApproach | null;
1906
+ complete: boolean;
1907
+ demoArtifactPort: number;
1908
+ deviceConnection?: string;
1909
+ deviceType: string[] | string | null;
1910
+ progress: string | null;
1911
+ showTips: boolean | null;
1912
+ showTipsDialog: boolean;
1913
+ };
1914
+ organization: OrganizationState;
1915
+ releases: ReleaseSliceType;
1916
+ users: {
1917
+ activationCode?: string;
1918
+ byId: Record<string, User>;
1919
+ currentSession?: UserSession | object;
1920
+ currentUser: string | null;
1921
+ customColumns: CustomColumn[];
1922
+ globalSettings: GlobalSettings;
1923
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1924
+ qrCode: string | null;
1925
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1926
+ rolesInitialized: boolean;
1927
+ settingsInitialized: boolean;
1928
+ showConnectDeviceDialog: boolean;
1929
+ showFeedbackDialog: boolean;
1930
+ showStartupNotification: boolean;
1931
+ tooltips: {
1932
+ byId: Record<string, {
1933
+ readState: ReadState;
1934
+ }>;
1935
+ };
1936
+ userSettings: UserSettings;
1937
+ userSettingsInitialized: boolean;
1938
+ };
1939
+ }) => string[]) & {
240
1940
  clearCache: () => void;
241
1941
  resultsCount: () => number;
242
1942
  resetResultsCount: () => void;
243
1943
  } & {
244
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => string[];
245
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => string[]) & {
1944
+ resultFunc: (resultFuncArgs_0: {
1945
+ deviceIds: string[];
1946
+ total: number;
1947
+ }, resultFuncArgs_1: Record<string, Device>) => string[];
1948
+ memoizedResultFunc: ((resultFuncArgs_0: {
1949
+ deviceIds: string[];
1950
+ total: number;
1951
+ }, resultFuncArgs_1: Record<string, Device>) => string[]) & {
246
1952
  clearCache: () => void;
247
1953
  resultsCount: () => number;
248
1954
  resetResultsCount: () => void;
249
1955
  };
250
1956
  lastResult: () => string[];
251
- dependencies: [(state: any) => any, (state: any) => any];
1957
+ dependencies: [(state: RootState) => {
1958
+ deviceIds: string[];
1959
+ total: number;
1960
+ }, (state: RootState) => Record<string, Device>];
252
1961
  recomputations: () => number;
253
1962
  resetRecomputations: () => void;
254
1963
  dependencyRecomputations: () => number;
@@ -258,4 +1967,4 @@ declare const getDeviceTypes: ((state: any) => string[]) & {
258
1967
  argsMemoize: typeof reselect.weakMapMemoize;
259
1968
  };
260
1969
 
261
- export { getAcceptedDevices, getAttributesList, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimit, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getFilteringAttributes, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes };
1970
+ export { getAcceptedDevices, getAttributesList, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimit, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getFilteringAttributes, getGroupData, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes };