@northern.tech/store 0.3.4 → 0.4.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 (603) 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 +23 -43
  17. package/dist/appSlice/constants.cjs.map +1 -1
  18. package/dist/appSlice/constants.d.cts +102 -112
  19. package/dist/appSlice/constants.d.ts +102 -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 +31 -5
  33. package/dist/appSlice/selectors.cjs.map +1 -1
  34. package/dist/appSlice/selectors.d.cts +709 -23
  35. package/dist/appSlice/selectors.d.ts +709 -23
  36. package/dist/appSlice/selectors.js +21 -1
  37. package/dist/appSlice/thunks.cjs +1552 -1769
  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 +31 -31
  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-JO33IORF.js → chunk-4TUJPE6G.js} +19 -4
  50. package/dist/chunk-4TUJPE6G.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-7C4SQBEE.js +715 -0
  54. package/dist/chunk-7C4SQBEE.js.map +1 -0
  55. package/dist/{chunk-X3GZILYD.js → chunk-ABJLRDCO.js} +10 -11
  56. package/dist/chunk-ABJLRDCO.js.map +1 -0
  57. package/dist/{chunk-PAIB5V27.js → chunk-CW5T6OGF.js} +56 -22
  58. package/dist/chunk-CW5T6OGF.js.map +1 -0
  59. package/dist/{chunk-MRCFLG45.js → chunk-FAJ3I2UQ.js} +2 -1
  60. package/dist/chunk-FAJ3I2UQ.js.map +1 -0
  61. package/dist/{chunk-FVCYB5OP.js → chunk-IQG5I7AM.js} +32 -40
  62. package/dist/chunk-IQG5I7AM.js.map +1 -0
  63. package/dist/chunk-JUGE7L3K.js +110 -0
  64. package/dist/chunk-JUGE7L3K.js.map +1 -0
  65. package/dist/{chunk-ZWOAFHAR.js → chunk-JXQUFKID.js} +2 -2
  66. package/dist/chunk-JXQUFKID.js.map +1 -0
  67. package/dist/{chunk-K4MMUDYT.js → chunk-KC7SKI3U.js} +9 -11
  68. package/dist/chunk-KC7SKI3U.js.map +1 -0
  69. package/dist/{chunk-L3SY3J5M.js → chunk-KJNNEDRV.js} +11 -7
  70. package/dist/chunk-KJNNEDRV.js.map +1 -0
  71. package/dist/chunk-MBKAZVE3.js +44 -0
  72. package/dist/chunk-MBKAZVE3.js.map +1 -0
  73. package/dist/{chunk-FRSA2YB5.js → chunk-MZNANSS2.js} +12 -7
  74. package/dist/chunk-MZNANSS2.js.map +1 -0
  75. package/dist/{chunk-EYCORLYU.js → chunk-N2KLYPS5.js} +128 -87
  76. package/dist/chunk-N2KLYPS5.js.map +1 -0
  77. package/dist/{chunk-Y575RZHR.js → chunk-OHF3YUXX.js} +25 -40
  78. package/dist/chunk-OHF3YUXX.js.map +1 -0
  79. package/dist/{chunk-NOQR3TE7.js → chunk-OOICURFL.js} +2 -2
  80. package/dist/chunk-OOICURFL.js.map +1 -0
  81. package/dist/{chunk-AVX7VVOK.js → chunk-PGFVHKP5.js} +5 -7
  82. package/dist/chunk-PGFVHKP5.js.map +1 -0
  83. package/dist/{chunk-NCSKCF2S.js → chunk-QHK7GGV4.js} +3 -3
  84. package/dist/chunk-QHK7GGV4.js.map +1 -0
  85. package/dist/{chunk-AUBJUUP3.js → chunk-RS37Y2PQ.js} +3 -3
  86. package/dist/chunk-RS37Y2PQ.js.map +1 -0
  87. package/dist/{chunk-7YZCUAXZ.js → chunk-UGSLGUS6.js} +8 -6
  88. package/dist/chunk-UGSLGUS6.js.map +1 -0
  89. package/dist/{chunk-ZZMFXRQK.js → chunk-URNS6A5T.js} +14 -14
  90. package/dist/{chunk-RX32WLVJ.js → chunk-VANBSJS5.js} +1 -1
  91. package/dist/chunk-VANBSJS5.js.map +1 -0
  92. package/dist/{chunk-DGQKXSRI.js → chunk-VUFRP6P3.js} +5 -6
  93. package/dist/chunk-VUFRP6P3.js.map +1 -0
  94. package/dist/{chunk-DCEKU6UV.js → chunk-X4GUACQO.js} +8 -5
  95. package/dist/chunk-X4GUACQO.js.map +1 -0
  96. package/dist/{chunk-GWJIY56H.js → chunk-XWYJACQC.js} +40 -15
  97. package/dist/chunk-XWYJACQC.js.map +1 -0
  98. package/dist/{chunk-GAI4VYRZ.js → chunk-ZJW3QIPM.js} +8 -9
  99. package/dist/chunk-ZJW3QIPM.js.map +1 -0
  100. package/dist/chunk-ZKAH3APE.js +1 -0
  101. package/dist/chunk-ZKAH3APE.js.map +1 -0
  102. package/dist/{chunk-EQLHIPPR.js → chunk-ZN5TB2NJ.js} +919 -842
  103. package/dist/chunk-ZN5TB2NJ.js.map +1 -0
  104. package/dist/{chunk-FQDSV3NK.js → chunk-ZRSYBSSY.js} +18 -12
  105. package/dist/chunk-ZRSYBSSY.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 +14 -14
  116. package/dist/constants.cjs +355 -655
  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 +1518 -1735
  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 +31 -31
  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 +1699 -1926
  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 +37 -47
  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 +27 -27
  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 +1771 -1991
  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 +31 -31
  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 +2593 -2730
  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 +45 -31
  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 +34 -28
  280. package/dist/selectors.cjs +559 -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 +77 -41
  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 +1797 -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 +2132 -2229
  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 +55 -45
  303. package/dist/{deploymentdevicehook.cjs → useDeploymentDevice.cjs} +1757 -1976
  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 +1655 -1872
  329. package/dist/usersSlice/thunks.cjs.map +1 -1
  330. package/dist/usersSlice/thunks.d.cts +362 -312
  331. package/dist/usersSlice/thunks.d.ts +362 -312
  332. package/dist/usersSlice/thunks.js +31 -31
  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/types-DBj17FZO.d.cts +0 -135
  600. package/dist/types-DnfZa6xd.d.ts +0 -135
  601. /package/dist/{chunk-ZZMFXRQK.js.map → chunk-URNS6A5T.js.map} +0 -0
  602. /package/dist/{deploymentdevicehook.d.cts → useDeploymentDevice.d.cts} +0 -0
  603. /package/dist/{deploymentdevicehook.d.ts → useDeploymentDevice.d.ts} +0 -0
@@ -1,22 +1,183 @@
1
+ import * as _northern_tech_types_RolePermission from '@northern.tech/types/RolePermission';
2
+ import * as _northern_tech_types_PermissionSetWithScope from '@northern.tech/types/PermissionSetWithScope';
1
3
  import * as reselect from 'reselect';
4
+ import { ReleaseSliceType } from '../releasesSlice/index.js';
5
+ import { OrganizationState } from '../organizationSlice/types.js';
6
+ import { OnboardingApproach } from '../onboardingSlice/index.js';
7
+ import * as _northern_tech_types_Alert from '@northern.tech/types/Alert';
8
+ import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState } from '../deploymentsSlice/index.js';
9
+ import { DeviceSliceType } from '../devicesSlice/index.js';
10
+ import { SearchState, SentryConfig, SnackbarContent, Upload } from '../appSlice/index.js';
11
+ import { GlobalSettings, User, UserSession, CustomColumn, UserSettings } from './index.js';
12
+ import { ReadState } from './constants.js';
13
+ import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
14
+ import { RootState } from '../store.js';
15
+ import 'redux';
16
+ import '@reduxjs/toolkit';
17
+ import 'immer';
18
+ import '@northern.tech/types/MenderTypes';
19
+ import '../appSlice/constants.js';
20
+ import '@mui/material/OverridableComponent';
21
+ import '@mui/material';
22
+ import '../organizationSlice/constants.js';
23
+ import '../commonConstants.js';
24
+ import 'react/jsx-runtime';
25
+ import '../devicesSlice/constants.js';
26
+ import 'redux-thunk';
2
27
 
3
- declare const getRolesById: (state: any) => any;
4
- declare const getTooltipsById: (state: any) => any;
5
- declare const getGlobalSettings: (state: any) => any;
6
- declare const getUsersById: (state: any) => any;
7
- declare const getUsersList: ((state: any) => unknown[]) & {
28
+ declare const getRolesById: (state: RootState) => Record<string, _northern_tech_utils_constants.Role>;
29
+ declare const getTooltipsById: (state: RootState) => Record<string, {
30
+ readState: ReadState;
31
+ }>;
32
+ declare const getGlobalSettings: (state: RootState) => GlobalSettings;
33
+ declare const getUserSettingsInitialized: (state: RootState) => boolean;
34
+ declare const getUsersById: (state: RootState) => Record<string, User>;
35
+ declare const getUsersList: ((state: {
36
+ app: {
37
+ cancelSource: any;
38
+ commit: string;
39
+ demoArtifactLink: string;
40
+ docsVersion: string;
41
+ features: Record<string, boolean>;
42
+ feedbackProbability: number;
43
+ firstLoginAfterSignup: boolean;
44
+ hostAddress: string | null;
45
+ hostedAnnouncement: string;
46
+ newThreshold: string;
47
+ offlineThreshold: string;
48
+ recaptchaSiteKey: string;
49
+ searchState: SearchState;
50
+ sentry: SentryConfig;
51
+ snackbar: SnackbarContent;
52
+ stripeAPIKey: string;
53
+ trackerCode: string;
54
+ uploadsById: Record<string, Upload>;
55
+ versionInformation: {
56
+ [key: string]: string | {
57
+ releaseDate: string;
58
+ repos: Record<string, string>;
59
+ } | undefined;
60
+ backend?: string;
61
+ GUI?: string;
62
+ latestRelease?: {
63
+ releaseDate: string;
64
+ repos: Record<string, string>;
65
+ };
66
+ };
67
+ yesterday?: string;
68
+ };
69
+ devices: DeviceSliceType;
70
+ deployments: {
71
+ byId: Record<string, Deployment>;
72
+ byStatus: DeploymentByStatus;
73
+ config: DeploymentConfig;
74
+ deploymentDeviceLimit: number;
75
+ selectedDeviceIds: string[];
76
+ selectionState: SelectionState;
77
+ };
78
+ monitor: {
79
+ alerts: {
80
+ alertList: {
81
+ page: number;
82
+ perPage: number;
83
+ total: number;
84
+ };
85
+ byDeviceId: {
86
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
87
+ fullName?: string;
88
+ }>;
89
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
90
+ fullName?: string;
91
+ }>;
92
+ };
93
+ };
94
+ issueCounts: {
95
+ byType: {
96
+ issues: {
97
+ filtered: number;
98
+ total: number;
99
+ };
100
+ offline: {
101
+ filtered: number;
102
+ total: number;
103
+ };
104
+ failedLastUpdate: {
105
+ filtered: number;
106
+ total: number;
107
+ };
108
+ monitoring: {
109
+ filtered: number;
110
+ total: number;
111
+ };
112
+ authRequests: {
113
+ filtered: number;
114
+ total: number;
115
+ };
116
+ gatewayDevices: {
117
+ filtered: number;
118
+ total: number;
119
+ };
120
+ };
121
+ };
122
+ settings: {
123
+ global: {
124
+ channels: {
125
+ email: {
126
+ enabled: boolean;
127
+ };
128
+ };
129
+ };
130
+ };
131
+ };
132
+ onboarding: {
133
+ address?: string;
134
+ approach: OnboardingApproach | null;
135
+ complete: boolean;
136
+ demoArtifactPort: number;
137
+ deviceConnection?: string;
138
+ deviceType: string[] | string | null;
139
+ progress: string | null;
140
+ showTips: boolean | null;
141
+ showTipsDialog: boolean;
142
+ };
143
+ organization: OrganizationState;
144
+ releases: ReleaseSliceType;
145
+ users: {
146
+ activationCode?: string;
147
+ byId: Record<string, User>;
148
+ currentSession?: UserSession | object;
149
+ currentUser: string | null;
150
+ customColumns: CustomColumn[];
151
+ globalSettings: GlobalSettings;
152
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
153
+ qrCode: string | null;
154
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
155
+ rolesInitialized: boolean;
156
+ settingsInitialized: boolean;
157
+ showConnectDeviceDialog: boolean;
158
+ showFeedbackDialog: boolean;
159
+ showStartupNotification: boolean;
160
+ tooltips: {
161
+ byId: Record<string, {
162
+ readState: ReadState;
163
+ }>;
164
+ };
165
+ userSettings: UserSettings;
166
+ userSettingsInitialized: boolean;
167
+ };
168
+ }) => User[]) & {
8
169
  clearCache: () => void;
9
170
  resultsCount: () => number;
10
171
  resetResultsCount: () => void;
11
172
  } & {
12
- resultFunc: (resultFuncArgs_0: any) => unknown[];
13
- memoizedResultFunc: ((resultFuncArgs_0: any) => unknown[]) & {
173
+ resultFunc: (resultFuncArgs_0: Record<string, User>) => User[];
174
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>) => User[]) & {
14
175
  clearCache: () => void;
15
176
  resultsCount: () => number;
16
177
  resetResultsCount: () => void;
17
178
  };
18
- lastResult: () => unknown[];
19
- dependencies: [(state: any) => any];
179
+ lastResult: () => User[];
180
+ dependencies: [(state: RootState) => Record<string, User>];
20
181
  recomputations: () => number;
21
182
  resetRecomputations: () => void;
22
183
  dependencyRecomputations: () => number;
@@ -25,19 +186,152 @@ declare const getUsersList: ((state: any) => unknown[]) & {
25
186
  memoize: typeof reselect.weakMapMemoize;
26
187
  argsMemoize: typeof reselect.weakMapMemoize;
27
188
  };
28
- declare const getCurrentUser: ((state: any) => any) & {
189
+ declare const getCurrentUser: ((state: {
190
+ app: {
191
+ cancelSource: any;
192
+ commit: string;
193
+ demoArtifactLink: string;
194
+ docsVersion: string;
195
+ features: Record<string, boolean>;
196
+ feedbackProbability: number;
197
+ firstLoginAfterSignup: boolean;
198
+ hostAddress: string | null;
199
+ hostedAnnouncement: string;
200
+ newThreshold: string;
201
+ offlineThreshold: string;
202
+ recaptchaSiteKey: string;
203
+ searchState: SearchState;
204
+ sentry: SentryConfig;
205
+ snackbar: SnackbarContent;
206
+ stripeAPIKey: string;
207
+ trackerCode: string;
208
+ uploadsById: Record<string, Upload>;
209
+ versionInformation: {
210
+ [key: string]: string | {
211
+ releaseDate: string;
212
+ repos: Record<string, string>;
213
+ } | undefined;
214
+ backend?: string;
215
+ GUI?: string;
216
+ latestRelease?: {
217
+ releaseDate: string;
218
+ repos: Record<string, string>;
219
+ };
220
+ };
221
+ yesterday?: string;
222
+ };
223
+ devices: DeviceSliceType;
224
+ deployments: {
225
+ byId: Record<string, Deployment>;
226
+ byStatus: DeploymentByStatus;
227
+ config: DeploymentConfig;
228
+ deploymentDeviceLimit: number;
229
+ selectedDeviceIds: string[];
230
+ selectionState: SelectionState;
231
+ };
232
+ monitor: {
233
+ alerts: {
234
+ alertList: {
235
+ page: number;
236
+ perPage: number;
237
+ total: number;
238
+ };
239
+ byDeviceId: {
240
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
241
+ fullName?: string;
242
+ }>;
243
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
244
+ fullName?: string;
245
+ }>;
246
+ };
247
+ };
248
+ issueCounts: {
249
+ byType: {
250
+ issues: {
251
+ filtered: number;
252
+ total: number;
253
+ };
254
+ offline: {
255
+ filtered: number;
256
+ total: number;
257
+ };
258
+ failedLastUpdate: {
259
+ filtered: number;
260
+ total: number;
261
+ };
262
+ monitoring: {
263
+ filtered: number;
264
+ total: number;
265
+ };
266
+ authRequests: {
267
+ filtered: number;
268
+ total: number;
269
+ };
270
+ gatewayDevices: {
271
+ filtered: number;
272
+ total: number;
273
+ };
274
+ };
275
+ };
276
+ settings: {
277
+ global: {
278
+ channels: {
279
+ email: {
280
+ enabled: boolean;
281
+ };
282
+ };
283
+ };
284
+ };
285
+ };
286
+ onboarding: {
287
+ address?: string;
288
+ approach: OnboardingApproach | null;
289
+ complete: boolean;
290
+ demoArtifactPort: number;
291
+ deviceConnection?: string;
292
+ deviceType: string[] | string | null;
293
+ progress: string | null;
294
+ showTips: boolean | null;
295
+ showTipsDialog: boolean;
296
+ };
297
+ organization: OrganizationState;
298
+ releases: ReleaseSliceType;
299
+ users: {
300
+ activationCode?: string;
301
+ byId: Record<string, User>;
302
+ currentSession?: UserSession | object;
303
+ currentUser: string | null;
304
+ customColumns: CustomColumn[];
305
+ globalSettings: GlobalSettings;
306
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
307
+ qrCode: string | null;
308
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
309
+ rolesInitialized: boolean;
310
+ settingsInitialized: boolean;
311
+ showConnectDeviceDialog: boolean;
312
+ showFeedbackDialog: boolean;
313
+ showStartupNotification: boolean;
314
+ tooltips: {
315
+ byId: Record<string, {
316
+ readState: ReadState;
317
+ }>;
318
+ };
319
+ userSettings: UserSettings;
320
+ userSettingsInitialized: boolean;
321
+ };
322
+ }) => User) & {
29
323
  clearCache: () => void;
30
324
  resultsCount: () => number;
31
325
  resetResultsCount: () => void;
32
326
  } & {
33
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => any;
34
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => any) & {
327
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
328
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
35
329
  clearCache: () => void;
36
330
  resultsCount: () => number;
37
331
  resetResultsCount: () => void;
38
332
  };
39
- lastResult: () => any;
40
- dependencies: [(state: any) => any, (state: any) => any];
333
+ lastResult: () => User;
334
+ dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
41
335
  recomputations: () => number;
42
336
  resetRecomputations: () => void;
43
337
  dependencyRecomputations: () => number;
@@ -46,20 +340,165 @@ declare const getCurrentUser: ((state: any) => any) & {
46
340
  memoize: typeof reselect.weakMapMemoize;
47
341
  argsMemoize: typeof reselect.weakMapMemoize;
48
342
  };
49
- declare const getUserSettings: (state: any) => any;
50
- declare const getSelectedDeviceAttribute: ((state: any) => any) & {
343
+ declare const getUserSettings: (state: RootState) => UserSettings;
344
+ declare const getSelectedDeviceAttribute: ((state: {
345
+ app: {
346
+ cancelSource: any;
347
+ commit: string;
348
+ demoArtifactLink: string;
349
+ docsVersion: string;
350
+ features: Record<string, boolean>;
351
+ feedbackProbability: number;
352
+ firstLoginAfterSignup: boolean;
353
+ hostAddress: string | null;
354
+ hostedAnnouncement: string;
355
+ newThreshold: string;
356
+ offlineThreshold: string;
357
+ recaptchaSiteKey: string;
358
+ searchState: SearchState;
359
+ sentry: SentryConfig;
360
+ snackbar: SnackbarContent;
361
+ stripeAPIKey: string;
362
+ trackerCode: string;
363
+ uploadsById: Record<string, Upload>;
364
+ versionInformation: {
365
+ [key: string]: string | {
366
+ releaseDate: string;
367
+ repos: Record<string, string>;
368
+ } | undefined;
369
+ backend?: string;
370
+ GUI?: string;
371
+ latestRelease?: {
372
+ releaseDate: string;
373
+ repos: Record<string, string>;
374
+ };
375
+ };
376
+ yesterday?: string;
377
+ };
378
+ devices: DeviceSliceType;
379
+ deployments: {
380
+ byId: Record<string, Deployment>;
381
+ byStatus: DeploymentByStatus;
382
+ config: DeploymentConfig;
383
+ deploymentDeviceLimit: number;
384
+ selectedDeviceIds: string[];
385
+ selectionState: SelectionState;
386
+ };
387
+ monitor: {
388
+ alerts: {
389
+ alertList: {
390
+ page: number;
391
+ perPage: number;
392
+ total: number;
393
+ };
394
+ byDeviceId: {
395
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
396
+ fullName?: string;
397
+ }>;
398
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
399
+ fullName?: string;
400
+ }>;
401
+ };
402
+ };
403
+ issueCounts: {
404
+ byType: {
405
+ issues: {
406
+ filtered: number;
407
+ total: number;
408
+ };
409
+ offline: {
410
+ filtered: number;
411
+ total: number;
412
+ };
413
+ failedLastUpdate: {
414
+ filtered: number;
415
+ total: number;
416
+ };
417
+ monitoring: {
418
+ filtered: number;
419
+ total: number;
420
+ };
421
+ authRequests: {
422
+ filtered: number;
423
+ total: number;
424
+ };
425
+ gatewayDevices: {
426
+ filtered: number;
427
+ total: number;
428
+ };
429
+ };
430
+ };
431
+ settings: {
432
+ global: {
433
+ channels: {
434
+ email: {
435
+ enabled: boolean;
436
+ };
437
+ };
438
+ };
439
+ };
440
+ };
441
+ onboarding: {
442
+ address?: string;
443
+ approach: OnboardingApproach | null;
444
+ complete: boolean;
445
+ demoArtifactPort: number;
446
+ deviceConnection?: string;
447
+ deviceType: string[] | string | null;
448
+ progress: string | null;
449
+ showTips: boolean | null;
450
+ showTipsDialog: boolean;
451
+ };
452
+ organization: OrganizationState;
453
+ releases: ReleaseSliceType;
454
+ users: {
455
+ activationCode?: string;
456
+ byId: Record<string, User>;
457
+ currentSession?: UserSession | object;
458
+ currentUser: string | null;
459
+ customColumns: CustomColumn[];
460
+ globalSettings: GlobalSettings;
461
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
462
+ qrCode: string | null;
463
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
464
+ rolesInitialized: boolean;
465
+ settingsInitialized: boolean;
466
+ showConnectDeviceDialog: boolean;
467
+ showFeedbackDialog: boolean;
468
+ showStartupNotification: boolean;
469
+ tooltips: {
470
+ byId: Record<string, {
471
+ readState: ReadState;
472
+ }>;
473
+ };
474
+ userSettings: UserSettings;
475
+ userSettingsInitialized: boolean;
476
+ };
477
+ }) => {
478
+ attribute: string;
479
+ scope: string;
480
+ }[]) & {
51
481
  clearCache: () => void;
52
482
  resultsCount: () => number;
53
483
  resetResultsCount: () => void;
54
484
  } & {
55
- resultFunc: (resultFuncArgs_0: any) => any;
56
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
485
+ resultFunc: (resultFuncArgs_0: UserSettings) => {
486
+ attribute: string;
487
+ scope: string;
488
+ }[];
489
+ memoizedResultFunc: ((resultFuncArgs_0: UserSettings) => {
490
+ attribute: string;
491
+ scope: string;
492
+ }[]) & {
57
493
  clearCache: () => void;
58
494
  resultsCount: () => number;
59
495
  resetResultsCount: () => void;
60
496
  };
61
- lastResult: () => any;
62
- dependencies: [(state: any) => any];
497
+ lastResult: () => {
498
+ attribute: string;
499
+ scope: string;
500
+ }[];
501
+ dependencies: [(state: RootState) => UserSettings];
63
502
  recomputations: () => number;
64
503
  resetRecomputations: () => void;
65
504
  dependencyRecomputations: () => number;
@@ -68,19 +507,152 @@ declare const getSelectedDeviceAttribute: ((state: any) => any) & {
68
507
  memoize: typeof reselect.weakMapMemoize;
69
508
  argsMemoize: typeof reselect.weakMapMemoize;
70
509
  };
71
- declare const getIsDarkMode: ((state: any) => boolean) & {
510
+ declare const getIsDarkMode: ((state: {
511
+ app: {
512
+ cancelSource: any;
513
+ commit: string;
514
+ demoArtifactLink: string;
515
+ docsVersion: string;
516
+ features: Record<string, boolean>;
517
+ feedbackProbability: number;
518
+ firstLoginAfterSignup: boolean;
519
+ hostAddress: string | null;
520
+ hostedAnnouncement: string;
521
+ newThreshold: string;
522
+ offlineThreshold: string;
523
+ recaptchaSiteKey: string;
524
+ searchState: SearchState;
525
+ sentry: SentryConfig;
526
+ snackbar: SnackbarContent;
527
+ stripeAPIKey: string;
528
+ trackerCode: string;
529
+ uploadsById: Record<string, Upload>;
530
+ versionInformation: {
531
+ [key: string]: string | {
532
+ releaseDate: string;
533
+ repos: Record<string, string>;
534
+ } | undefined;
535
+ backend?: string;
536
+ GUI?: string;
537
+ latestRelease?: {
538
+ releaseDate: string;
539
+ repos: Record<string, string>;
540
+ };
541
+ };
542
+ yesterday?: string;
543
+ };
544
+ devices: DeviceSliceType;
545
+ deployments: {
546
+ byId: Record<string, Deployment>;
547
+ byStatus: DeploymentByStatus;
548
+ config: DeploymentConfig;
549
+ deploymentDeviceLimit: number;
550
+ selectedDeviceIds: string[];
551
+ selectionState: SelectionState;
552
+ };
553
+ monitor: {
554
+ alerts: {
555
+ alertList: {
556
+ page: number;
557
+ perPage: number;
558
+ total: number;
559
+ };
560
+ byDeviceId: {
561
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
562
+ fullName?: string;
563
+ }>;
564
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
565
+ fullName?: string;
566
+ }>;
567
+ };
568
+ };
569
+ issueCounts: {
570
+ byType: {
571
+ issues: {
572
+ filtered: number;
573
+ total: number;
574
+ };
575
+ offline: {
576
+ filtered: number;
577
+ total: number;
578
+ };
579
+ failedLastUpdate: {
580
+ filtered: number;
581
+ total: number;
582
+ };
583
+ monitoring: {
584
+ filtered: number;
585
+ total: number;
586
+ };
587
+ authRequests: {
588
+ filtered: number;
589
+ total: number;
590
+ };
591
+ gatewayDevices: {
592
+ filtered: number;
593
+ total: number;
594
+ };
595
+ };
596
+ };
597
+ settings: {
598
+ global: {
599
+ channels: {
600
+ email: {
601
+ enabled: boolean;
602
+ };
603
+ };
604
+ };
605
+ };
606
+ };
607
+ onboarding: {
608
+ address?: string;
609
+ approach: OnboardingApproach | null;
610
+ complete: boolean;
611
+ demoArtifactPort: number;
612
+ deviceConnection?: string;
613
+ deviceType: string[] | string | null;
614
+ progress: string | null;
615
+ showTips: boolean | null;
616
+ showTipsDialog: boolean;
617
+ };
618
+ organization: OrganizationState;
619
+ releases: ReleaseSliceType;
620
+ users: {
621
+ activationCode?: string;
622
+ byId: Record<string, User>;
623
+ currentSession?: UserSession | object;
624
+ currentUser: string | null;
625
+ customColumns: CustomColumn[];
626
+ globalSettings: GlobalSettings;
627
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
628
+ qrCode: string | null;
629
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
630
+ rolesInitialized: boolean;
631
+ settingsInitialized: boolean;
632
+ showConnectDeviceDialog: boolean;
633
+ showFeedbackDialog: boolean;
634
+ showStartupNotification: boolean;
635
+ tooltips: {
636
+ byId: Record<string, {
637
+ readState: ReadState;
638
+ }>;
639
+ };
640
+ userSettings: UserSettings;
641
+ userSettingsInitialized: boolean;
642
+ };
643
+ }) => boolean) & {
72
644
  clearCache: () => void;
73
645
  resultsCount: () => number;
74
646
  resetResultsCount: () => void;
75
647
  } & {
76
- resultFunc: (resultFuncArgs_0: any) => boolean;
77
- memoizedResultFunc: ((resultFuncArgs_0: any) => boolean) & {
648
+ resultFunc: (resultFuncArgs_0: UserSettings) => boolean;
649
+ memoizedResultFunc: ((resultFuncArgs_0: UserSettings) => boolean) & {
78
650
  clearCache: () => void;
79
651
  resultsCount: () => number;
80
652
  resetResultsCount: () => void;
81
653
  };
82
654
  lastResult: () => boolean;
83
- dependencies: [(state: any) => any];
655
+ dependencies: [(state: RootState) => UserSettings];
84
656
  recomputations: () => number;
85
657
  resetRecomputations: () => void;
86
658
  dependencyRecomputations: () => number;
@@ -89,19 +661,158 @@ declare const getIsDarkMode: ((state: any) => boolean) & {
89
661
  memoize: typeof reselect.weakMapMemoize;
90
662
  argsMemoize: typeof reselect.weakMapMemoize;
91
663
  };
92
- declare const getShowHelptips: ((state: any) => unknown) & {
664
+ declare const getReadAllHelptips: ((state: {
665
+ app: {
666
+ cancelSource: any;
667
+ commit: string;
668
+ demoArtifactLink: string;
669
+ docsVersion: string;
670
+ features: Record<string, boolean>;
671
+ feedbackProbability: number;
672
+ firstLoginAfterSignup: boolean;
673
+ hostAddress: string | null;
674
+ hostedAnnouncement: string;
675
+ newThreshold: string;
676
+ offlineThreshold: string;
677
+ recaptchaSiteKey: string;
678
+ searchState: SearchState;
679
+ sentry: SentryConfig;
680
+ snackbar: SnackbarContent;
681
+ stripeAPIKey: string;
682
+ trackerCode: string;
683
+ uploadsById: Record<string, Upload>;
684
+ versionInformation: {
685
+ [key: string]: string | {
686
+ releaseDate: string;
687
+ repos: Record<string, string>;
688
+ } | undefined;
689
+ backend?: string;
690
+ GUI?: string;
691
+ latestRelease?: {
692
+ releaseDate: string;
693
+ repos: Record<string, string>;
694
+ };
695
+ };
696
+ yesterday?: string;
697
+ };
698
+ devices: DeviceSliceType;
699
+ deployments: {
700
+ byId: Record<string, Deployment>;
701
+ byStatus: DeploymentByStatus;
702
+ config: DeploymentConfig;
703
+ deploymentDeviceLimit: number;
704
+ selectedDeviceIds: string[];
705
+ selectionState: SelectionState;
706
+ };
707
+ monitor: {
708
+ alerts: {
709
+ alertList: {
710
+ page: number;
711
+ perPage: number;
712
+ total: number;
713
+ };
714
+ byDeviceId: {
715
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
716
+ fullName?: string;
717
+ }>;
718
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
719
+ fullName?: string;
720
+ }>;
721
+ };
722
+ };
723
+ issueCounts: {
724
+ byType: {
725
+ issues: {
726
+ filtered: number;
727
+ total: number;
728
+ };
729
+ offline: {
730
+ filtered: number;
731
+ total: number;
732
+ };
733
+ failedLastUpdate: {
734
+ filtered: number;
735
+ total: number;
736
+ };
737
+ monitoring: {
738
+ filtered: number;
739
+ total: number;
740
+ };
741
+ authRequests: {
742
+ filtered: number;
743
+ total: number;
744
+ };
745
+ gatewayDevices: {
746
+ filtered: number;
747
+ total: number;
748
+ };
749
+ };
750
+ };
751
+ settings: {
752
+ global: {
753
+ channels: {
754
+ email: {
755
+ enabled: boolean;
756
+ };
757
+ };
758
+ };
759
+ };
760
+ };
761
+ onboarding: {
762
+ address?: string;
763
+ approach: OnboardingApproach | null;
764
+ complete: boolean;
765
+ demoArtifactPort: number;
766
+ deviceConnection?: string;
767
+ deviceType: string[] | string | null;
768
+ progress: string | null;
769
+ showTips: boolean | null;
770
+ showTipsDialog: boolean;
771
+ };
772
+ organization: OrganizationState;
773
+ releases: ReleaseSliceType;
774
+ users: {
775
+ activationCode?: string;
776
+ byId: Record<string, User>;
777
+ currentSession?: UserSession | object;
778
+ currentUser: string | null;
779
+ customColumns: CustomColumn[];
780
+ globalSettings: GlobalSettings;
781
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
782
+ qrCode: string | null;
783
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
784
+ rolesInitialized: boolean;
785
+ settingsInitialized: boolean;
786
+ showConnectDeviceDialog: boolean;
787
+ showFeedbackDialog: boolean;
788
+ showStartupNotification: boolean;
789
+ tooltips: {
790
+ byId: Record<string, {
791
+ readState: ReadState;
792
+ }>;
793
+ };
794
+ userSettings: UserSettings;
795
+ userSettingsInitialized: boolean;
796
+ };
797
+ }) => boolean) & {
93
798
  clearCache: () => void;
94
799
  resultsCount: () => number;
95
800
  resetResultsCount: () => void;
96
801
  } & {
97
- resultFunc: (resultFuncArgs_0: any) => unknown;
98
- memoizedResultFunc: ((resultFuncArgs_0: any) => unknown) & {
802
+ resultFunc: (resultFuncArgs_0: Record<string, {
803
+ readState: ReadState;
804
+ }>) => boolean;
805
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
806
+ readState: ReadState;
807
+ }>) => boolean) & {
99
808
  clearCache: () => void;
100
809
  resultsCount: () => number;
101
810
  resetResultsCount: () => void;
102
811
  };
103
- lastResult: () => unknown;
104
- dependencies: [(state: any) => any];
812
+ lastResult: () => boolean;
813
+ dependencies: [(state: RootState) => Record<string, {
814
+ readState: ReadState;
815
+ }>];
105
816
  recomputations: () => number;
106
817
  resetRecomputations: () => void;
107
818
  dependencyRecomputations: () => number;
@@ -110,19 +821,158 @@ declare const getShowHelptips: ((state: any) => unknown) & {
110
821
  memoize: typeof reselect.weakMapMemoize;
111
822
  argsMemoize: typeof reselect.weakMapMemoize;
112
823
  };
113
- declare const getTooltipsState: ((state: any) => any) & {
824
+ declare const getTooltipsState: ((state: {
825
+ app: {
826
+ cancelSource: any;
827
+ commit: string;
828
+ demoArtifactLink: string;
829
+ docsVersion: string;
830
+ features: Record<string, boolean>;
831
+ feedbackProbability: number;
832
+ firstLoginAfterSignup: boolean;
833
+ hostAddress: string | null;
834
+ hostedAnnouncement: string;
835
+ newThreshold: string;
836
+ offlineThreshold: string;
837
+ recaptchaSiteKey: string;
838
+ searchState: SearchState;
839
+ sentry: SentryConfig;
840
+ snackbar: SnackbarContent;
841
+ stripeAPIKey: string;
842
+ trackerCode: string;
843
+ uploadsById: Record<string, Upload>;
844
+ versionInformation: {
845
+ [key: string]: string | {
846
+ releaseDate: string;
847
+ repos: Record<string, string>;
848
+ } | undefined;
849
+ backend?: string;
850
+ GUI?: string;
851
+ latestRelease?: {
852
+ releaseDate: string;
853
+ repos: Record<string, string>;
854
+ };
855
+ };
856
+ yesterday?: string;
857
+ };
858
+ devices: DeviceSliceType;
859
+ deployments: {
860
+ byId: Record<string, Deployment>;
861
+ byStatus: DeploymentByStatus;
862
+ config: DeploymentConfig;
863
+ deploymentDeviceLimit: number;
864
+ selectedDeviceIds: string[];
865
+ selectionState: SelectionState;
866
+ };
867
+ monitor: {
868
+ alerts: {
869
+ alertList: {
870
+ page: number;
871
+ perPage: number;
872
+ total: number;
873
+ };
874
+ byDeviceId: {
875
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
876
+ fullName?: string;
877
+ }>;
878
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
879
+ fullName?: string;
880
+ }>;
881
+ };
882
+ };
883
+ issueCounts: {
884
+ byType: {
885
+ issues: {
886
+ filtered: number;
887
+ total: number;
888
+ };
889
+ offline: {
890
+ filtered: number;
891
+ total: number;
892
+ };
893
+ failedLastUpdate: {
894
+ filtered: number;
895
+ total: number;
896
+ };
897
+ monitoring: {
898
+ filtered: number;
899
+ total: number;
900
+ };
901
+ authRequests: {
902
+ filtered: number;
903
+ total: number;
904
+ };
905
+ gatewayDevices: {
906
+ filtered: number;
907
+ total: number;
908
+ };
909
+ };
910
+ };
911
+ settings: {
912
+ global: {
913
+ channels: {
914
+ email: {
915
+ enabled: boolean;
916
+ };
917
+ };
918
+ };
919
+ };
920
+ };
921
+ onboarding: {
922
+ address?: string;
923
+ approach: OnboardingApproach | null;
924
+ complete: boolean;
925
+ demoArtifactPort: number;
926
+ deviceConnection?: string;
927
+ deviceType: string[] | string | null;
928
+ progress: string | null;
929
+ showTips: boolean | null;
930
+ showTipsDialog: boolean;
931
+ };
932
+ organization: OrganizationState;
933
+ releases: ReleaseSliceType;
934
+ users: {
935
+ activationCode?: string;
936
+ byId: Record<string, User>;
937
+ currentSession?: UserSession | object;
938
+ currentUser: string | null;
939
+ customColumns: CustomColumn[];
940
+ globalSettings: GlobalSettings;
941
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
942
+ qrCode: string | null;
943
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
944
+ rolesInitialized: boolean;
945
+ settingsInitialized: boolean;
946
+ showConnectDeviceDialog: boolean;
947
+ showFeedbackDialog: boolean;
948
+ showStartupNotification: boolean;
949
+ tooltips: {
950
+ byId: Record<string, {
951
+ readState: ReadState;
952
+ }>;
953
+ };
954
+ userSettings: UserSettings;
955
+ userSettingsInitialized: boolean;
956
+ };
957
+ }) => {}) & {
114
958
  clearCache: () => void;
115
959
  resultsCount: () => number;
116
960
  resetResultsCount: () => void;
117
961
  } & {
118
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => any;
119
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => any) & {
962
+ resultFunc: (resultFuncArgs_0: Record<string, {
963
+ readState: ReadState;
964
+ }>, resultFuncArgs_1: UserSettings) => {};
965
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
966
+ readState: ReadState;
967
+ }>, resultFuncArgs_1: UserSettings) => {}) & {
120
968
  clearCache: () => void;
121
969
  resultsCount: () => number;
122
970
  resetResultsCount: () => void;
123
971
  };
124
- lastResult: () => any;
125
- dependencies: [(state: any) => any, (state: any) => any];
972
+ lastResult: () => {};
973
+ dependencies: [(state: RootState) => Record<string, {
974
+ readState: ReadState;
975
+ }>, (state: RootState) => UserSettings];
126
976
  recomputations: () => number;
127
977
  resetRecomputations: () => void;
128
978
  dependencyRecomputations: () => number;
@@ -131,31 +981,297 @@ declare const getTooltipsState: ((state: any) => any) & {
131
981
  memoize: typeof reselect.weakMapMemoize;
132
982
  argsMemoize: typeof reselect.weakMapMemoize;
133
983
  };
134
- declare const getHas2FA: ((state: any) => any) & {
984
+ declare const getHas2FA: ((state: {
985
+ app: {
986
+ cancelSource: any;
987
+ commit: string;
988
+ demoArtifactLink: string;
989
+ docsVersion: string;
990
+ features: Record<string, boolean>;
991
+ feedbackProbability: number;
992
+ firstLoginAfterSignup: boolean;
993
+ hostAddress: string | null;
994
+ hostedAnnouncement: string;
995
+ newThreshold: string;
996
+ offlineThreshold: string;
997
+ recaptchaSiteKey: string;
998
+ searchState: SearchState;
999
+ sentry: SentryConfig;
1000
+ snackbar: SnackbarContent;
1001
+ stripeAPIKey: string;
1002
+ trackerCode: string;
1003
+ uploadsById: Record<string, Upload>;
1004
+ versionInformation: {
1005
+ [key: string]: string | {
1006
+ releaseDate: string;
1007
+ repos: Record<string, string>;
1008
+ } | undefined;
1009
+ backend?: string;
1010
+ GUI?: string;
1011
+ latestRelease?: {
1012
+ releaseDate: string;
1013
+ repos: Record<string, string>;
1014
+ };
1015
+ };
1016
+ yesterday?: string;
1017
+ };
1018
+ devices: DeviceSliceType;
1019
+ deployments: {
1020
+ byId: Record<string, Deployment>;
1021
+ byStatus: DeploymentByStatus;
1022
+ config: DeploymentConfig;
1023
+ deploymentDeviceLimit: number;
1024
+ selectedDeviceIds: string[];
1025
+ selectionState: SelectionState;
1026
+ };
1027
+ monitor: {
1028
+ alerts: {
1029
+ alertList: {
1030
+ page: number;
1031
+ perPage: number;
1032
+ total: number;
1033
+ };
1034
+ byDeviceId: {
1035
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1036
+ fullName?: string;
1037
+ }>;
1038
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1039
+ fullName?: string;
1040
+ }>;
1041
+ };
1042
+ };
1043
+ issueCounts: {
1044
+ byType: {
1045
+ issues: {
1046
+ filtered: number;
1047
+ total: number;
1048
+ };
1049
+ offline: {
1050
+ filtered: number;
1051
+ total: number;
1052
+ };
1053
+ failedLastUpdate: {
1054
+ filtered: number;
1055
+ total: number;
1056
+ };
1057
+ monitoring: {
1058
+ filtered: number;
1059
+ total: number;
1060
+ };
1061
+ authRequests: {
1062
+ filtered: number;
1063
+ total: number;
1064
+ };
1065
+ gatewayDevices: {
1066
+ filtered: number;
1067
+ total: number;
1068
+ };
1069
+ };
1070
+ };
1071
+ settings: {
1072
+ global: {
1073
+ channels: {
1074
+ email: {
1075
+ enabled: boolean;
1076
+ };
1077
+ };
1078
+ };
1079
+ };
1080
+ };
1081
+ onboarding: {
1082
+ address?: string;
1083
+ approach: OnboardingApproach | null;
1084
+ complete: boolean;
1085
+ demoArtifactPort: number;
1086
+ deviceConnection?: string;
1087
+ deviceType: string[] | string | null;
1088
+ progress: string | null;
1089
+ showTips: boolean | null;
1090
+ showTipsDialog: boolean;
1091
+ };
1092
+ organization: OrganizationState;
1093
+ releases: ReleaseSliceType;
1094
+ users: {
1095
+ activationCode?: string;
1096
+ byId: Record<string, User>;
1097
+ currentSession?: UserSession | object;
1098
+ currentUser: string | null;
1099
+ customColumns: CustomColumn[];
1100
+ globalSettings: GlobalSettings;
1101
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1102
+ qrCode: string | null;
1103
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1104
+ rolesInitialized: boolean;
1105
+ settingsInitialized: boolean;
1106
+ showConnectDeviceDialog: boolean;
1107
+ showFeedbackDialog: boolean;
1108
+ showStartupNotification: boolean;
1109
+ tooltips: {
1110
+ byId: Record<string, {
1111
+ readState: ReadState;
1112
+ }>;
1113
+ };
1114
+ userSettings: UserSettings;
1115
+ userSettingsInitialized: boolean;
1116
+ };
1117
+ }) => boolean) & {
135
1118
  clearCache: () => void;
136
1119
  resultsCount: () => number;
137
1120
  resetResultsCount: () => void;
138
1121
  } & {
139
- resultFunc: (resultFuncArgs_0: any) => any;
140
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
1122
+ resultFunc: (resultFuncArgs_0: User) => boolean;
1123
+ memoizedResultFunc: ((resultFuncArgs_0: User) => boolean) & {
141
1124
  clearCache: () => void;
142
1125
  resultsCount: () => number;
143
1126
  resetResultsCount: () => void;
144
1127
  };
145
- lastResult: () => any;
146
- dependencies: [((state: any) => any) & {
1128
+ lastResult: () => boolean;
1129
+ dependencies: [((state: {
1130
+ app: {
1131
+ cancelSource: any;
1132
+ commit: string;
1133
+ demoArtifactLink: string;
1134
+ docsVersion: string;
1135
+ features: Record<string, boolean>;
1136
+ feedbackProbability: number;
1137
+ firstLoginAfterSignup: boolean;
1138
+ hostAddress: string | null;
1139
+ hostedAnnouncement: string;
1140
+ newThreshold: string;
1141
+ offlineThreshold: string;
1142
+ recaptchaSiteKey: string;
1143
+ searchState: SearchState;
1144
+ sentry: SentryConfig;
1145
+ snackbar: SnackbarContent;
1146
+ stripeAPIKey: string;
1147
+ trackerCode: string;
1148
+ uploadsById: Record<string, Upload>;
1149
+ versionInformation: {
1150
+ [key: string]: string | {
1151
+ releaseDate: string;
1152
+ repos: Record<string, string>;
1153
+ } | undefined;
1154
+ backend?: string;
1155
+ GUI?: string;
1156
+ latestRelease?: {
1157
+ releaseDate: string;
1158
+ repos: Record<string, string>;
1159
+ };
1160
+ };
1161
+ yesterday?: string;
1162
+ };
1163
+ devices: DeviceSliceType;
1164
+ deployments: {
1165
+ byId: Record<string, Deployment>;
1166
+ byStatus: DeploymentByStatus;
1167
+ config: DeploymentConfig;
1168
+ deploymentDeviceLimit: number;
1169
+ selectedDeviceIds: string[];
1170
+ selectionState: SelectionState;
1171
+ };
1172
+ monitor: {
1173
+ alerts: {
1174
+ alertList: {
1175
+ page: number;
1176
+ perPage: number;
1177
+ total: number;
1178
+ };
1179
+ byDeviceId: {
1180
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1181
+ fullName?: string;
1182
+ }>;
1183
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1184
+ fullName?: string;
1185
+ }>;
1186
+ };
1187
+ };
1188
+ issueCounts: {
1189
+ byType: {
1190
+ issues: {
1191
+ filtered: number;
1192
+ total: number;
1193
+ };
1194
+ offline: {
1195
+ filtered: number;
1196
+ total: number;
1197
+ };
1198
+ failedLastUpdate: {
1199
+ filtered: number;
1200
+ total: number;
1201
+ };
1202
+ monitoring: {
1203
+ filtered: number;
1204
+ total: number;
1205
+ };
1206
+ authRequests: {
1207
+ filtered: number;
1208
+ total: number;
1209
+ };
1210
+ gatewayDevices: {
1211
+ filtered: number;
1212
+ total: number;
1213
+ };
1214
+ };
1215
+ };
1216
+ settings: {
1217
+ global: {
1218
+ channels: {
1219
+ email: {
1220
+ enabled: boolean;
1221
+ };
1222
+ };
1223
+ };
1224
+ };
1225
+ };
1226
+ onboarding: {
1227
+ address?: string;
1228
+ approach: OnboardingApproach | null;
1229
+ complete: boolean;
1230
+ demoArtifactPort: number;
1231
+ deviceConnection?: string;
1232
+ deviceType: string[] | string | null;
1233
+ progress: string | null;
1234
+ showTips: boolean | null;
1235
+ showTipsDialog: boolean;
1236
+ };
1237
+ organization: OrganizationState;
1238
+ releases: ReleaseSliceType;
1239
+ users: {
1240
+ activationCode?: string;
1241
+ byId: Record<string, User>;
1242
+ currentSession?: UserSession | object;
1243
+ currentUser: string | null;
1244
+ customColumns: CustomColumn[];
1245
+ globalSettings: GlobalSettings;
1246
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1247
+ qrCode: string | null;
1248
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1249
+ rolesInitialized: boolean;
1250
+ settingsInitialized: boolean;
1251
+ showConnectDeviceDialog: boolean;
1252
+ showFeedbackDialog: boolean;
1253
+ showStartupNotification: boolean;
1254
+ tooltips: {
1255
+ byId: Record<string, {
1256
+ readState: ReadState;
1257
+ }>;
1258
+ };
1259
+ userSettings: UserSettings;
1260
+ userSettingsInitialized: boolean;
1261
+ };
1262
+ }) => User) & {
147
1263
  clearCache: () => void;
148
1264
  resultsCount: () => number;
149
1265
  resetResultsCount: () => void;
150
1266
  } & {
151
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => any;
152
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => any) & {
1267
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
1268
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
153
1269
  clearCache: () => void;
154
1270
  resultsCount: () => number;
155
1271
  resetResultsCount: () => void;
156
1272
  };
157
- lastResult: () => any;
158
- dependencies: [(state: any) => any, (state: any) => any];
1273
+ lastResult: () => User;
1274
+ dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
159
1275
  recomputations: () => number;
160
1276
  resetRecomputations: () => void;
161
1277
  dependencyRecomputations: () => number;
@@ -172,19 +1288,164 @@ declare const getHas2FA: ((state: any) => any) & {
172
1288
  memoize: typeof reselect.weakMapMemoize;
173
1289
  argsMemoize: typeof reselect.weakMapMemoize;
174
1290
  };
175
- declare const getIdAttribute: ((state: any) => any) & {
1291
+ declare const getIdAttribute: ((state: {
1292
+ app: {
1293
+ cancelSource: any;
1294
+ commit: string;
1295
+ demoArtifactLink: string;
1296
+ docsVersion: string;
1297
+ features: Record<string, boolean>;
1298
+ feedbackProbability: number;
1299
+ firstLoginAfterSignup: boolean;
1300
+ hostAddress: string | null;
1301
+ hostedAnnouncement: string;
1302
+ newThreshold: string;
1303
+ offlineThreshold: string;
1304
+ recaptchaSiteKey: string;
1305
+ searchState: SearchState;
1306
+ sentry: SentryConfig;
1307
+ snackbar: SnackbarContent;
1308
+ stripeAPIKey: string;
1309
+ trackerCode: string;
1310
+ uploadsById: Record<string, Upload>;
1311
+ versionInformation: {
1312
+ [key: string]: string | {
1313
+ releaseDate: string;
1314
+ repos: Record<string, string>;
1315
+ } | undefined;
1316
+ backend?: string;
1317
+ GUI?: string;
1318
+ latestRelease?: {
1319
+ releaseDate: string;
1320
+ repos: Record<string, string>;
1321
+ };
1322
+ };
1323
+ yesterday?: string;
1324
+ };
1325
+ devices: DeviceSliceType;
1326
+ deployments: {
1327
+ byId: Record<string, Deployment>;
1328
+ byStatus: DeploymentByStatus;
1329
+ config: DeploymentConfig;
1330
+ deploymentDeviceLimit: number;
1331
+ selectedDeviceIds: string[];
1332
+ selectionState: SelectionState;
1333
+ };
1334
+ monitor: {
1335
+ alerts: {
1336
+ alertList: {
1337
+ page: number;
1338
+ perPage: number;
1339
+ total: number;
1340
+ };
1341
+ byDeviceId: {
1342
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1343
+ fullName?: string;
1344
+ }>;
1345
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1346
+ fullName?: string;
1347
+ }>;
1348
+ };
1349
+ };
1350
+ issueCounts: {
1351
+ byType: {
1352
+ issues: {
1353
+ filtered: number;
1354
+ total: number;
1355
+ };
1356
+ offline: {
1357
+ filtered: number;
1358
+ total: number;
1359
+ };
1360
+ failedLastUpdate: {
1361
+ filtered: number;
1362
+ total: number;
1363
+ };
1364
+ monitoring: {
1365
+ filtered: number;
1366
+ total: number;
1367
+ };
1368
+ authRequests: {
1369
+ filtered: number;
1370
+ total: number;
1371
+ };
1372
+ gatewayDevices: {
1373
+ filtered: number;
1374
+ total: number;
1375
+ };
1376
+ };
1377
+ };
1378
+ settings: {
1379
+ global: {
1380
+ channels: {
1381
+ email: {
1382
+ enabled: boolean;
1383
+ };
1384
+ };
1385
+ };
1386
+ };
1387
+ };
1388
+ onboarding: {
1389
+ address?: string;
1390
+ approach: OnboardingApproach | null;
1391
+ complete: boolean;
1392
+ demoArtifactPort: number;
1393
+ deviceConnection?: string;
1394
+ deviceType: string[] | string | null;
1395
+ progress: string | null;
1396
+ showTips: boolean | null;
1397
+ showTipsDialog: boolean;
1398
+ };
1399
+ organization: OrganizationState;
1400
+ releases: ReleaseSliceType;
1401
+ users: {
1402
+ activationCode?: string;
1403
+ byId: Record<string, User>;
1404
+ currentSession?: UserSession | object;
1405
+ currentUser: string | null;
1406
+ customColumns: CustomColumn[];
1407
+ globalSettings: GlobalSettings;
1408
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1409
+ qrCode: string | null;
1410
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1411
+ rolesInitialized: boolean;
1412
+ settingsInitialized: boolean;
1413
+ showConnectDeviceDialog: boolean;
1414
+ showFeedbackDialog: boolean;
1415
+ showStartupNotification: boolean;
1416
+ tooltips: {
1417
+ byId: Record<string, {
1418
+ readState: ReadState;
1419
+ }>;
1420
+ };
1421
+ userSettings: UserSettings;
1422
+ userSettingsInitialized: boolean;
1423
+ };
1424
+ }) => {
1425
+ attribute: string;
1426
+ scope: string;
1427
+ }) & {
176
1428
  clearCache: () => void;
177
1429
  resultsCount: () => number;
178
1430
  resetResultsCount: () => void;
179
1431
  } & {
180
- resultFunc: (resultFuncArgs_0: any) => any;
181
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
1432
+ resultFunc: (resultFuncArgs_0: GlobalSettings) => {
1433
+ attribute: string;
1434
+ scope: string;
1435
+ };
1436
+ memoizedResultFunc: ((resultFuncArgs_0: GlobalSettings) => {
1437
+ attribute: string;
1438
+ scope: string;
1439
+ }) & {
182
1440
  clearCache: () => void;
183
1441
  resultsCount: () => number;
184
1442
  resetResultsCount: () => void;
185
1443
  };
186
- lastResult: () => any;
187
- dependencies: [(state: any) => any];
1444
+ lastResult: () => {
1445
+ attribute: string;
1446
+ scope: string;
1447
+ };
1448
+ dependencies: [(state: RootState) => GlobalSettings];
188
1449
  recomputations: () => number;
189
1450
  resetRecomputations: () => void;
190
1451
  dependencyRecomputations: () => number;
@@ -193,7 +1454,140 @@ declare const getIdAttribute: ((state: any) => any) & {
193
1454
  memoize: typeof reselect.weakMapMemoize;
194
1455
  argsMemoize: typeof reselect.weakMapMemoize;
195
1456
  };
196
- declare const getOfflineThresholdSettings: ((state: any) => {
1457
+ declare const getOfflineThresholdSettings: ((state: {
1458
+ app: {
1459
+ cancelSource: any;
1460
+ commit: string;
1461
+ demoArtifactLink: string;
1462
+ docsVersion: string;
1463
+ features: Record<string, boolean>;
1464
+ feedbackProbability: number;
1465
+ firstLoginAfterSignup: boolean;
1466
+ hostAddress: string | null;
1467
+ hostedAnnouncement: string;
1468
+ newThreshold: string;
1469
+ offlineThreshold: string;
1470
+ recaptchaSiteKey: string;
1471
+ searchState: SearchState;
1472
+ sentry: SentryConfig;
1473
+ snackbar: SnackbarContent;
1474
+ stripeAPIKey: string;
1475
+ trackerCode: string;
1476
+ uploadsById: Record<string, Upload>;
1477
+ versionInformation: {
1478
+ [key: string]: string | {
1479
+ releaseDate: string;
1480
+ repos: Record<string, string>;
1481
+ } | undefined;
1482
+ backend?: string;
1483
+ GUI?: string;
1484
+ latestRelease?: {
1485
+ releaseDate: string;
1486
+ repos: Record<string, string>;
1487
+ };
1488
+ };
1489
+ yesterday?: string;
1490
+ };
1491
+ devices: DeviceSliceType;
1492
+ deployments: {
1493
+ byId: Record<string, Deployment>;
1494
+ byStatus: DeploymentByStatus;
1495
+ config: DeploymentConfig;
1496
+ deploymentDeviceLimit: number;
1497
+ selectedDeviceIds: string[];
1498
+ selectionState: SelectionState;
1499
+ };
1500
+ monitor: {
1501
+ alerts: {
1502
+ alertList: {
1503
+ page: number;
1504
+ perPage: number;
1505
+ total: number;
1506
+ };
1507
+ byDeviceId: {
1508
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1509
+ fullName?: string;
1510
+ }>;
1511
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1512
+ fullName?: string;
1513
+ }>;
1514
+ };
1515
+ };
1516
+ issueCounts: {
1517
+ byType: {
1518
+ issues: {
1519
+ filtered: number;
1520
+ total: number;
1521
+ };
1522
+ offline: {
1523
+ filtered: number;
1524
+ total: number;
1525
+ };
1526
+ failedLastUpdate: {
1527
+ filtered: number;
1528
+ total: number;
1529
+ };
1530
+ monitoring: {
1531
+ filtered: number;
1532
+ total: number;
1533
+ };
1534
+ authRequests: {
1535
+ filtered: number;
1536
+ total: number;
1537
+ };
1538
+ gatewayDevices: {
1539
+ filtered: number;
1540
+ total: number;
1541
+ };
1542
+ };
1543
+ };
1544
+ settings: {
1545
+ global: {
1546
+ channels: {
1547
+ email: {
1548
+ enabled: boolean;
1549
+ };
1550
+ };
1551
+ };
1552
+ };
1553
+ };
1554
+ onboarding: {
1555
+ address?: string;
1556
+ approach: OnboardingApproach | null;
1557
+ complete: boolean;
1558
+ demoArtifactPort: number;
1559
+ deviceConnection?: string;
1560
+ deviceType: string[] | string | null;
1561
+ progress: string | null;
1562
+ showTips: boolean | null;
1563
+ showTipsDialog: boolean;
1564
+ };
1565
+ organization: OrganizationState;
1566
+ releases: ReleaseSliceType;
1567
+ users: {
1568
+ activationCode?: string;
1569
+ byId: Record<string, User>;
1570
+ currentSession?: UserSession | object;
1571
+ currentUser: string | null;
1572
+ customColumns: CustomColumn[];
1573
+ globalSettings: GlobalSettings;
1574
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1575
+ qrCode: string | null;
1576
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1577
+ rolesInitialized: boolean;
1578
+ settingsInitialized: boolean;
1579
+ showConnectDeviceDialog: boolean;
1580
+ showFeedbackDialog: boolean;
1581
+ showStartupNotification: boolean;
1582
+ tooltips: {
1583
+ byId: Record<string, {
1584
+ readState: ReadState;
1585
+ }>;
1586
+ };
1587
+ userSettings: UserSettings;
1588
+ userSettingsInitialized: boolean;
1589
+ };
1590
+ }) => {
197
1591
  interval: any;
198
1592
  intervalUnit: any;
199
1593
  }) & {
@@ -201,11 +1595,11 @@ declare const getOfflineThresholdSettings: ((state: any) => {
201
1595
  resultsCount: () => number;
202
1596
  resetResultsCount: () => void;
203
1597
  } & {
204
- resultFunc: (resultFuncArgs_0: any) => {
1598
+ resultFunc: (resultFuncArgs_0: GlobalSettings) => {
205
1599
  interval: any;
206
1600
  intervalUnit: any;
207
1601
  };
208
- memoizedResultFunc: ((resultFuncArgs_0: any) => {
1602
+ memoizedResultFunc: ((resultFuncArgs_0: GlobalSettings) => {
209
1603
  interval: any;
210
1604
  intervalUnit: any;
211
1605
  }) & {
@@ -217,7 +1611,7 @@ declare const getOfflineThresholdSettings: ((state: any) => {
217
1611
  interval: any;
218
1612
  intervalUnit: any;
219
1613
  };
220
- dependencies: [(state: any) => any];
1614
+ dependencies: [(state: RootState) => GlobalSettings];
221
1615
  recomputations: () => number;
222
1616
  resetRecomputations: () => void;
223
1617
  dependencyRecomputations: () => number;
@@ -226,19 +1620,216 @@ declare const getOfflineThresholdSettings: ((state: any) => {
226
1620
  memoize: typeof reselect.weakMapMemoize;
227
1621
  argsMemoize: typeof reselect.weakMapMemoize;
228
1622
  };
229
- declare const getRolesList: ((state: any) => any[]) & {
1623
+ declare const getRolesList: ((state: {
1624
+ app: {
1625
+ cancelSource: any;
1626
+ commit: string;
1627
+ demoArtifactLink: string;
1628
+ docsVersion: string;
1629
+ features: Record<string, boolean>;
1630
+ feedbackProbability: number;
1631
+ firstLoginAfterSignup: boolean;
1632
+ hostAddress: string | null;
1633
+ hostedAnnouncement: string;
1634
+ newThreshold: string;
1635
+ offlineThreshold: string;
1636
+ recaptchaSiteKey: string;
1637
+ searchState: SearchState;
1638
+ sentry: SentryConfig;
1639
+ snackbar: SnackbarContent;
1640
+ stripeAPIKey: string;
1641
+ trackerCode: string;
1642
+ uploadsById: Record<string, Upload>;
1643
+ versionInformation: {
1644
+ [key: string]: string | {
1645
+ releaseDate: string;
1646
+ repos: Record<string, string>;
1647
+ } | undefined;
1648
+ backend?: string;
1649
+ GUI?: string;
1650
+ latestRelease?: {
1651
+ releaseDate: string;
1652
+ repos: Record<string, string>;
1653
+ };
1654
+ };
1655
+ yesterday?: string;
1656
+ };
1657
+ devices: DeviceSliceType;
1658
+ deployments: {
1659
+ byId: Record<string, Deployment>;
1660
+ byStatus: DeploymentByStatus;
1661
+ config: DeploymentConfig;
1662
+ deploymentDeviceLimit: number;
1663
+ selectedDeviceIds: string[];
1664
+ selectionState: SelectionState;
1665
+ };
1666
+ monitor: {
1667
+ alerts: {
1668
+ alertList: {
1669
+ page: number;
1670
+ perPage: number;
1671
+ total: number;
1672
+ };
1673
+ byDeviceId: {
1674
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
1675
+ fullName?: string;
1676
+ }>;
1677
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
1678
+ fullName?: string;
1679
+ }>;
1680
+ };
1681
+ };
1682
+ issueCounts: {
1683
+ byType: {
1684
+ issues: {
1685
+ filtered: number;
1686
+ total: number;
1687
+ };
1688
+ offline: {
1689
+ filtered: number;
1690
+ total: number;
1691
+ };
1692
+ failedLastUpdate: {
1693
+ filtered: number;
1694
+ total: number;
1695
+ };
1696
+ monitoring: {
1697
+ filtered: number;
1698
+ total: number;
1699
+ };
1700
+ authRequests: {
1701
+ filtered: number;
1702
+ total: number;
1703
+ };
1704
+ gatewayDevices: {
1705
+ filtered: number;
1706
+ total: number;
1707
+ };
1708
+ };
1709
+ };
1710
+ settings: {
1711
+ global: {
1712
+ channels: {
1713
+ email: {
1714
+ enabled: boolean;
1715
+ };
1716
+ };
1717
+ };
1718
+ };
1719
+ };
1720
+ onboarding: {
1721
+ address?: string;
1722
+ approach: OnboardingApproach | null;
1723
+ complete: boolean;
1724
+ demoArtifactPort: number;
1725
+ deviceConnection?: string;
1726
+ deviceType: string[] | string | null;
1727
+ progress: string | null;
1728
+ showTips: boolean | null;
1729
+ showTipsDialog: boolean;
1730
+ };
1731
+ organization: OrganizationState;
1732
+ releases: ReleaseSliceType;
1733
+ users: {
1734
+ activationCode?: string;
1735
+ byId: Record<string, User>;
1736
+ currentSession?: UserSession | object;
1737
+ currentUser: string | null;
1738
+ customColumns: CustomColumn[];
1739
+ globalSettings: GlobalSettings;
1740
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1741
+ qrCode: string | null;
1742
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
1743
+ rolesInitialized: boolean;
1744
+ settingsInitialized: boolean;
1745
+ showConnectDeviceDialog: boolean;
1746
+ showFeedbackDialog: boolean;
1747
+ showStartupNotification: boolean;
1748
+ tooltips: {
1749
+ byId: Record<string, {
1750
+ readState: ReadState;
1751
+ }>;
1752
+ };
1753
+ userSettings: UserSettings;
1754
+ userSettingsInitialized: boolean;
1755
+ };
1756
+ }) => {
1757
+ name: string;
1758
+ description?: string;
1759
+ permission_sets_with_scope?: Array<_northern_tech_types_PermissionSetWithScope.PermissionSetWithScope>;
1760
+ permissions?: Array<_northern_tech_types_RolePermission.RolePermission> | undefined;
1761
+ editable?: boolean;
1762
+ isCustom?: boolean;
1763
+ uiPermissions: Readonly<{
1764
+ auditlog: string[];
1765
+ deployments?: string[];
1766
+ groups: Record<string, string[]>;
1767
+ releases: Record<string, string[]>;
1768
+ tenantManagement: string[];
1769
+ userManagement: string[];
1770
+ }>;
1771
+ value: string;
1772
+ }[]) & {
230
1773
  clearCache: () => void;
231
1774
  resultsCount: () => number;
232
1775
  resetResultsCount: () => void;
233
1776
  } & {
234
- resultFunc: (resultFuncArgs_0: any) => any[];
235
- memoizedResultFunc: ((resultFuncArgs_0: any) => any[]) & {
1777
+ resultFunc: (resultFuncArgs_0: Record<string, _northern_tech_utils_constants.Role>) => {
1778
+ name: string;
1779
+ description?: string;
1780
+ permission_sets_with_scope?: Array<_northern_tech_types_PermissionSetWithScope.PermissionSetWithScope>;
1781
+ permissions?: Array<_northern_tech_types_RolePermission.RolePermission> | undefined;
1782
+ editable?: boolean;
1783
+ isCustom?: boolean;
1784
+ uiPermissions: Readonly<{
1785
+ auditlog: string[];
1786
+ deployments?: string[];
1787
+ groups: Record<string, string[]>;
1788
+ releases: Record<string, string[]>;
1789
+ tenantManagement: string[];
1790
+ userManagement: string[];
1791
+ }>;
1792
+ value: string;
1793
+ }[];
1794
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, _northern_tech_utils_constants.Role>) => {
1795
+ name: string;
1796
+ description?: string;
1797
+ permission_sets_with_scope?: Array<_northern_tech_types_PermissionSetWithScope.PermissionSetWithScope>;
1798
+ permissions?: Array<_northern_tech_types_RolePermission.RolePermission> | undefined;
1799
+ editable?: boolean;
1800
+ isCustom?: boolean;
1801
+ uiPermissions: Readonly<{
1802
+ auditlog: string[];
1803
+ deployments?: string[];
1804
+ groups: Record<string, string[]>;
1805
+ releases: Record<string, string[]>;
1806
+ tenantManagement: string[];
1807
+ userManagement: string[];
1808
+ }>;
1809
+ value: string;
1810
+ }[]) & {
236
1811
  clearCache: () => void;
237
1812
  resultsCount: () => number;
238
1813
  resetResultsCount: () => void;
239
1814
  };
240
- lastResult: () => any[];
241
- dependencies: [(state: any) => any];
1815
+ lastResult: () => {
1816
+ name: string;
1817
+ description?: string;
1818
+ permission_sets_with_scope?: Array<_northern_tech_types_PermissionSetWithScope.PermissionSetWithScope>;
1819
+ permissions?: Array<_northern_tech_types_RolePermission.RolePermission> | undefined;
1820
+ editable?: boolean;
1821
+ isCustom?: boolean;
1822
+ uiPermissions: Readonly<{
1823
+ auditlog: string[];
1824
+ deployments?: string[];
1825
+ groups: Record<string, string[]>;
1826
+ releases: Record<string, string[]>;
1827
+ tenantManagement: string[];
1828
+ userManagement: string[];
1829
+ }>;
1830
+ value: string;
1831
+ }[];
1832
+ dependencies: [(state: RootState) => Record<string, _northern_tech_utils_constants.Role>];
242
1833
  recomputations: () => number;
243
1834
  resetRecomputations: () => void;
244
1835
  dependencyRecomputations: () => number;
@@ -247,6 +1838,7 @@ declare const getRolesList: ((state: any) => any[]) & {
247
1838
  memoize: typeof reselect.weakMapMemoize;
248
1839
  argsMemoize: typeof reselect.weakMapMemoize;
249
1840
  };
250
- declare const getCurrentSession: (state: any) => any;
1841
+ declare const getCurrentSession: (state: RootState) => object | UserSession | undefined;
1842
+ declare const getRolesInitialized: (state: RootState) => boolean;
251
1843
 
252
- export { getCurrentSession, getCurrentUser, getGlobalSettings, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getRolesById, getRolesList, getSelectedDeviceAttribute, getShowHelptips, getTooltipsById, getTooltipsState, getUserSettings, getUsersById, getUsersList };
1844
+ export { getCurrentSession, getCurrentUser, getGlobalSettings, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getReadAllHelptips, getRolesById, getRolesInitialized, getRolesList, getSelectedDeviceAttribute, getTooltipsById, getTooltipsState, getUserSettings, getUserSettingsInitialized, getUsersById, getUsersList };