@northern.tech/store 0.30.0 → 0.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (446) hide show
  1. package/dist/actions.cjs +21 -1130
  2. package/dist/actions.cjs.map +1 -1
  3. package/dist/actions.d.cts +212 -221
  4. package/dist/actions.d.ts +212 -220
  5. package/dist/actions.js +21 -18
  6. package/dist/actions.js.map +1 -1
  7. package/dist/api/general-api.cjs +61 -459
  8. package/dist/api/general-api.cjs.map +1 -1
  9. package/dist/api/general-api.d.cts +15 -17
  10. package/dist/api/general-api.d.ts +15 -17
  11. package/dist/api/general-api.js +56 -15
  12. package/dist/api/general-api.js.map +1 -1
  13. package/dist/api/users-api.cjs +32 -469
  14. package/dist/api/users-api.cjs.map +1 -1
  15. package/dist/api/users-api.d.cts +19 -14
  16. package/dist/api/users-api.d.ts +19 -13
  17. package/dist/api/users-api.js +30 -12
  18. package/dist/api/users-api.js.map +1 -1
  19. package/dist/appSlice/constants.cjs +190 -144
  20. package/dist/appSlice/constants.cjs.map +1 -1
  21. package/dist/appSlice/constants.d.cts +2 -159
  22. package/dist/appSlice/constants.d.ts +2 -159
  23. package/dist/appSlice/constants.js +181 -29
  24. package/dist/appSlice/constants.js.map +1 -1
  25. package/dist/appSlice/index.cjs +147 -178
  26. package/dist/appSlice/index.cjs.map +1 -1
  27. package/dist/appSlice/index.d.cts +2 -148
  28. package/dist/appSlice/index.d.ts +2 -148
  29. package/dist/appSlice/index.js +142 -18
  30. package/dist/appSlice/index.js.map +1 -1
  31. package/dist/appSlice/mocks.cjs +17 -191
  32. package/dist/appSlice/mocks.cjs.map +1 -1
  33. package/dist/appSlice/mocks.d.cts +33 -36
  34. package/dist/appSlice/mocks.d.ts +33 -36
  35. package/dist/appSlice/mocks.js +17 -25
  36. package/dist/appSlice/mocks.js.map +1 -1
  37. package/dist/appSlice/selectors.cjs +49 -91
  38. package/dist/appSlice/selectors.cjs.map +1 -1
  39. package/dist/appSlice/selectors.d.cts +216 -230
  40. package/dist/appSlice/selectors.d.ts +216 -230
  41. package/dist/appSlice/selectors.js +29 -44
  42. package/dist/appSlice/selectors.js.map +1 -1
  43. package/dist/appSlice/thunks.cjs +6 -4636
  44. package/dist/appSlice/thunks.d.cts +59 -62
  45. package/dist/appSlice/thunks.d.ts +59 -62
  46. package/dist/appSlice/thunks.js +2 -45
  47. package/dist/auth.cjs +68 -433
  48. package/dist/auth.cjs.map +1 -1
  49. package/dist/auth.d.cts +14 -14
  50. package/dist/auth.d.ts +14 -14
  51. package/dist/auth.js +65 -18
  52. package/dist/auth.js.map +1 -1
  53. package/dist/chunk-CKQMccvm.cjs +28 -0
  54. package/dist/commonConstants.cjs +14 -393
  55. package/dist/commonConstants.d.cts +2 -83
  56. package/dist/commonConstants.d.ts +2 -83
  57. package/dist/commonConstants.js +2 -33
  58. package/dist/commonSelectors.cjs +284 -1269
  59. package/dist/commonSelectors.cjs.map +1 -1
  60. package/dist/commonSelectors.d.cts +1623 -1416
  61. package/dist/commonSelectors.d.ts +1623 -1416
  62. package/dist/commonSelectors.js +277 -51
  63. package/dist/commonSelectors.js.map +1 -1
  64. package/dist/constants-5cdwz1iH.d.ts +160 -0
  65. package/dist/constants-BWEsNG5c.d.ts +28 -0
  66. package/dist/constants-BciiayPt.d.ts +17 -0
  67. package/dist/constants-C5AU0mCY.d.ts +157 -0
  68. package/dist/constants-CIx3fnBv.d.cts +17 -0
  69. package/dist/constants-CNhpIMME.d.cts +93 -0
  70. package/dist/constants-Cpgyuy_r.d.ts +57 -0
  71. package/dist/constants-D41U_jbR.d.cts +160 -0
  72. package/dist/constants-DK7fI3Rh.d.cts +28 -0
  73. package/dist/constants-DPLHhjVN.d.cts +157 -0
  74. package/dist/constants-DrwXHsJ1.d.ts +120 -0
  75. package/dist/constants-G3wymKIl.d.cts +57 -0
  76. package/dist/constants-MPLfugsi.d.cts +120 -0
  77. package/dist/constants-y2XVLQWf.d.ts +93 -0
  78. package/dist/constants.cjs +784 -972
  79. package/dist/constants.cjs.map +1 -1
  80. package/dist/constants.d.cts +8 -14
  81. package/dist/constants.d.ts +8 -14
  82. package/dist/constants.js +674 -232
  83. package/dist/constants.js.map +1 -1
  84. package/dist/deploymentsSlice/constants.cjs +15 -214
  85. package/dist/deploymentsSlice/constants.d.cts +2 -163
  86. package/dist/deploymentsSlice/constants.d.ts +2 -163
  87. package/dist/deploymentsSlice/constants.js +2 -35
  88. package/dist/deploymentsSlice/index.cjs +168 -302
  89. package/dist/deploymentsSlice/index.cjs.map +1 -1
  90. package/dist/deploymentsSlice/index.d.cts +2 -157
  91. package/dist/deploymentsSlice/index.d.ts +2 -157
  92. package/dist/deploymentsSlice/index.js +161 -18
  93. package/dist/deploymentsSlice/index.js.map +1 -1
  94. package/dist/deploymentsSlice/mocks.cjs +178 -433
  95. package/dist/deploymentsSlice/mocks.cjs.map +1 -1
  96. package/dist/deploymentsSlice/mocks.d.cts +176 -178
  97. package/dist/deploymentsSlice/mocks.d.ts +176 -178
  98. package/dist/deploymentsSlice/mocks.js +178 -144
  99. package/dist/deploymentsSlice/mocks.js.map +1 -1
  100. package/dist/deploymentsSlice/selectors.cjs +44 -223
  101. package/dist/deploymentsSlice/selectors.cjs.map +1 -1
  102. package/dist/deploymentsSlice/selectors.d.cts +73 -87
  103. package/dist/deploymentsSlice/selectors.d.ts +73 -87
  104. package/dist/deploymentsSlice/selectors.js +37 -25
  105. package/dist/deploymentsSlice/selectors.js.map +1 -1
  106. package/dist/deploymentsSlice/thunks.cjs +16 -4654
  107. package/dist/deploymentsSlice/thunks.d.cts +223 -236
  108. package/dist/deploymentsSlice/thunks.d.ts +223 -236
  109. package/dist/deploymentsSlice/thunks.js +2 -65
  110. package/dist/devicesSlice/constants.cjs +9 -68
  111. package/dist/devicesSlice/constants.d.cts +2 -37
  112. package/dist/devicesSlice/constants.d.ts +2 -37
  113. package/dist/devicesSlice/constants.js +2 -23
  114. package/dist/devicesSlice/index.cjs +215 -225
  115. package/dist/devicesSlice/index.cjs.map +1 -1
  116. package/dist/devicesSlice/index.d.cts +2 -202
  117. package/dist/devicesSlice/index.d.ts +2 -202
  118. package/dist/devicesSlice/index.js +209 -18
  119. package/dist/devicesSlice/index.js.map +1 -1
  120. package/dist/devicesSlice/mocks.cjs +146 -339
  121. package/dist/devicesSlice/mocks.cjs.map +1 -1
  122. package/dist/devicesSlice/mocks.d.cts +150 -148
  123. package/dist/devicesSlice/mocks.d.ts +150 -148
  124. package/dist/devicesSlice/mocks.js +145 -132
  125. package/dist/devicesSlice/mocks.js.map +1 -1
  126. package/dist/devicesSlice/selectors.cjs +145 -539
  127. package/dist/devicesSlice/selectors.cjs.map +1 -1
  128. package/dist/devicesSlice/selectors.d.cts +685 -699
  129. package/dist/devicesSlice/selectors.d.ts +685 -699
  130. package/dist/devicesSlice/selectors.js +123 -59
  131. package/dist/devicesSlice/selectors.js.map +1 -1
  132. package/dist/devicesSlice/thunks.cjs +48 -4718
  133. package/dist/devicesSlice/thunks.d.cts +800 -752
  134. package/dist/devicesSlice/thunks.d.ts +800 -752
  135. package/dist/devicesSlice/thunks.js +2 -129
  136. package/dist/index-4eaLEXy_.d.cts +152 -0
  137. package/dist/index-BEVkIiNa.d.cts +95 -0
  138. package/dist/index-BP0uAq36.d.cts +159 -0
  139. package/dist/index-Bwx9jEiL.d.cts +71 -0
  140. package/dist/index-CJkrL0oA.d.ts +64 -0
  141. package/dist/index-CO-py5d4.d.ts +95 -0
  142. package/dist/index-CTt-eIY8.d.cts +154 -0
  143. package/dist/index-CkwVnIqd.d.ts +159 -0
  144. package/dist/index-Cvkvcz4r.d.ts +115 -0
  145. package/dist/index-DJSlDPRX.d.ts +71 -0
  146. package/dist/index-DqyY6oZ3.d.ts +205 -0
  147. package/dist/index-DtePEQPT.d.ts +152 -0
  148. package/dist/index-Dv3Hfxk_.d.ts +154 -0
  149. package/dist/index-FyYBBeN-.d.cts +115 -0
  150. package/dist/index-Lz5JsJ6O.d.cts +205 -0
  151. package/dist/index-UPc3wvVd.d.cts +64 -0
  152. package/dist/liststatehook.cjs +83 -948
  153. package/dist/liststatehook.cjs.map +1 -1
  154. package/dist/liststatehook.d.cts +29 -239
  155. package/dist/liststatehook.d.ts +29 -239
  156. package/dist/liststatehook.js +77 -85
  157. package/dist/liststatehook.js.map +1 -1
  158. package/dist/locationutils.cjs +459 -916
  159. package/dist/locationutils.cjs.map +1 -1
  160. package/dist/locationutils.d.cts +244 -110
  161. package/dist/locationutils.d.ts +244 -110
  162. package/dist/locationutils.js +440 -44
  163. package/dist/locationutils.js.map +1 -1
  164. package/dist/monitorSlice/constants.cjs +0 -19
  165. package/dist/monitorSlice/constants.d.cts +2 -5
  166. package/dist/monitorSlice/constants.d.ts +2 -5
  167. package/dist/monitorSlice/constants.js +1 -2
  168. package/dist/monitorSlice/index.cjs +65 -82
  169. package/dist/monitorSlice/index.cjs.map +1 -1
  170. package/dist/monitorSlice/index.d.cts +2 -94
  171. package/dist/monitorSlice/index.d.ts +2 -94
  172. package/dist/monitorSlice/index.js +59 -18
  173. package/dist/monitorSlice/index.js.map +1 -1
  174. package/dist/monitorSlice/mocks.cjs +50 -126
  175. package/dist/monitorSlice/mocks.cjs.map +1 -1
  176. package/dist/monitorSlice/mocks.d.cts +49 -45
  177. package/dist/monitorSlice/mocks.d.ts +49 -45
  178. package/dist/monitorSlice/mocks.js +49 -62
  179. package/dist/monitorSlice/mocks.js.map +1 -1
  180. package/dist/monitorSlice/selectors.cjs +5 -29
  181. package/dist/monitorSlice/selectors.cjs.map +1 -1
  182. package/dist/monitorSlice/selectors.d.cts +10 -1
  183. package/dist/monitorSlice/selectors.d.ts +10 -1
  184. package/dist/monitorSlice/selectors.js +5 -6
  185. package/dist/monitorSlice/selectors.js.map +1 -1
  186. package/dist/monitorSlice/thunks.cjs +83 -1914
  187. package/dist/monitorSlice/thunks.cjs.map +1 -1
  188. package/dist/monitorSlice/thunks.d.cts +112 -120
  189. package/dist/monitorSlice/thunks.d.ts +112 -120
  190. package/dist/monitorSlice/thunks.js +78 -42
  191. package/dist/monitorSlice/thunks.js.map +1 -1
  192. package/dist/onboardingSlice/constants.cjs +44 -69
  193. package/dist/onboardingSlice/constants.cjs.map +1 -1
  194. package/dist/onboardingSlice/constants.d.cts +2 -26
  195. package/dist/onboardingSlice/constants.d.ts +2 -26
  196. package/dist/onboardingSlice/constants.js +43 -7
  197. package/dist/onboardingSlice/constants.js.map +1 -1
  198. package/dist/onboardingSlice/index.cjs +53 -73
  199. package/dist/onboardingSlice/index.cjs.map +1 -1
  200. package/dist/onboardingSlice/index.d.cts +2 -62
  201. package/dist/onboardingSlice/index.d.ts +2 -62
  202. package/dist/onboardingSlice/index.js +47 -13
  203. package/dist/onboardingSlice/index.js.map +1 -1
  204. package/dist/onboardingSlice/mocks.cjs +12 -81
  205. package/dist/onboardingSlice/mocks.cjs.map +1 -1
  206. package/dist/onboardingSlice/mocks.d.cts +14 -15
  207. package/dist/onboardingSlice/mocks.d.ts +14 -15
  208. package/dist/onboardingSlice/mocks.js +12 -15
  209. package/dist/onboardingSlice/mocks.js.map +1 -1
  210. package/dist/onboardingSlice/selectors.cjs +5 -29
  211. package/dist/onboardingSlice/selectors.cjs.map +1 -1
  212. package/dist/onboardingSlice/selectors.d.cts +6 -1
  213. package/dist/onboardingSlice/selectors.d.ts +6 -1
  214. package/dist/onboardingSlice/selectors.js +5 -6
  215. package/dist/onboardingSlice/selectors.js.map +1 -1
  216. package/dist/onboardingSlice/thunks.cjs +8 -4746
  217. package/dist/onboardingSlice/thunks.d.cts +124 -143
  218. package/dist/onboardingSlice/thunks.d.ts +124 -143
  219. package/dist/onboardingSlice/thunks.js +2 -49
  220. package/dist/organizationSlice/constants.cjs +11 -95
  221. package/dist/organizationSlice/constants.d.cts +2 -91
  222. package/dist/organizationSlice/constants.d.ts +2 -91
  223. package/dist/organizationSlice/constants.js +2 -27
  224. package/dist/organizationSlice/index.cjs +113 -152
  225. package/dist/organizationSlice/index.cjs.map +1 -1
  226. package/dist/organizationSlice/index.d.cts +2 -74
  227. package/dist/organizationSlice/index.d.ts +2 -74
  228. package/dist/organizationSlice/index.js +106 -18
  229. package/dist/organizationSlice/index.js.map +1 -1
  230. package/dist/organizationSlice/mocks.cjs +215 -406
  231. package/dist/organizationSlice/mocks.cjs.map +1 -1
  232. package/dist/organizationSlice/mocks.d.cts +209 -212
  233. package/dist/organizationSlice/mocks.d.ts +209 -212
  234. package/dist/organizationSlice/mocks.js +214 -184
  235. package/dist/organizationSlice/mocks.js.map +1 -1
  236. package/dist/organizationSlice/selectors.cjs +97 -474
  237. package/dist/organizationSlice/selectors.cjs.map +1 -1
  238. package/dist/organizationSlice/selectors.d.cts +381 -389
  239. package/dist/organizationSlice/selectors.d.ts +381 -389
  240. package/dist/organizationSlice/selectors.js +78 -50
  241. package/dist/organizationSlice/selectors.js.map +1 -1
  242. package/dist/organizationSlice/thunks.cjs +43 -5150
  243. package/dist/organizationSlice/thunks.d.cts +638 -649
  244. package/dist/organizationSlice/thunks.d.ts +638 -649
  245. package/dist/organizationSlice/thunks.js +2 -119
  246. package/dist/organizationSlice/types.cjs +0 -19
  247. package/dist/organizationSlice/types.d.cts +2 -88
  248. package/dist/organizationSlice/types.d.ts +2 -88
  249. package/dist/organizationSlice/types.js +1 -1
  250. package/dist/releasesSlice/constants.cjs +17 -41
  251. package/dist/releasesSlice/constants.cjs.map +1 -1
  252. package/dist/releasesSlice/constants.d.cts +2 -15
  253. package/dist/releasesSlice/constants.d.ts +2 -15
  254. package/dist/releasesSlice/constants.js +13 -14
  255. package/dist/releasesSlice/constants.js.map +1 -1
  256. package/dist/releasesSlice/index.cjs +106 -179
  257. package/dist/releasesSlice/index.cjs.map +1 -1
  258. package/dist/releasesSlice/index.d.cts +2 -113
  259. package/dist/releasesSlice/index.d.ts +2 -113
  260. package/dist/releasesSlice/index.js +100 -18
  261. package/dist/releasesSlice/index.js.map +1 -1
  262. package/dist/releasesSlice/mocks.cjs +44 -220
  263. package/dist/releasesSlice/mocks.cjs.map +1 -1
  264. package/dist/releasesSlice/mocks.d.cts +63 -61
  265. package/dist/releasesSlice/mocks.d.ts +63 -61
  266. package/dist/releasesSlice/mocks.js +43 -59
  267. package/dist/releasesSlice/mocks.js.map +1 -1
  268. package/dist/releasesSlice/selectors.cjs +44 -439
  269. package/dist/releasesSlice/selectors.cjs.map +1 -1
  270. package/dist/releasesSlice/selectors.d.cts +268 -280
  271. package/dist/releasesSlice/selectors.d.ts +268 -280
  272. package/dist/releasesSlice/selectors.js +31 -36
  273. package/dist/releasesSlice/selectors.js.map +1 -1
  274. package/dist/releasesSlice/thunks.cjs +422 -2175
  275. package/dist/releasesSlice/thunks.cjs.map +1 -1
  276. package/dist/releasesSlice/thunks.d.cts +305 -307
  277. package/dist/releasesSlice/thunks.d.ts +305 -307
  278. package/dist/releasesSlice/thunks.js +413 -65
  279. package/dist/releasesSlice/thunks.js.map +1 -1
  280. package/dist/selectors.cjs +136 -1530
  281. package/dist/selectors.d.cts +10 -36
  282. package/dist/selectors.d.ts +10 -36
  283. package/dist/selectors.js +10 -280
  284. package/dist/sockethook.cjs +140 -515
  285. package/dist/sockethook.cjs.map +1 -1
  286. package/dist/sockethook.d.cts +25 -9
  287. package/dist/sockethook.d.ts +25 -9
  288. package/dist/sockethook.js +134 -135
  289. package/dist/sockethook.js.map +1 -1
  290. package/dist/store-BQxOSRC1.d.ts +234 -0
  291. package/dist/store-BiIA0r0A.d.cts +234 -0
  292. package/dist/store.cjs +117 -1290
  293. package/dist/store.cjs.map +1 -1
  294. package/dist/store.d.cts +3 -206
  295. package/dist/store.d.ts +3 -206
  296. package/dist/store.js +110 -32
  297. package/dist/store.js.map +1 -1
  298. package/dist/storehooks.cjs +240 -5783
  299. package/dist/storehooks.cjs.map +1 -1
  300. package/dist/storehooks.d.cts +76 -4
  301. package/dist/storehooks.d.ts +76 -4
  302. package/dist/storehooks.js +229 -265
  303. package/dist/storehooks.js.map +1 -1
  304. package/dist/thunks.cjs +2656 -5918
  305. package/dist/thunks.cjs.map +1 -1
  306. package/dist/thunks.d.cts +9 -36
  307. package/dist/thunks.d.ts +9 -36
  308. package/dist/thunks.js +2481 -385
  309. package/dist/thunks.js.map +1 -1
  310. package/dist/types-B2NRQLFw.d.ts +88 -0
  311. package/dist/types-ClEfo0dK.d.cts +88 -0
  312. package/dist/useDeploymentDevice.cjs +26 -4650
  313. package/dist/useDeploymentDevice.cjs.map +1 -1
  314. package/dist/useDeploymentDevice.d.cts +4 -2
  315. package/dist/useDeploymentDevice.d.ts +4 -2
  316. package/dist/useDeploymentDevice.js +21 -60
  317. package/dist/useDeploymentDevice.js.map +1 -1
  318. package/dist/usersSlice/constants.cjs +8 -55
  319. package/dist/usersSlice/constants.d.cts +2 -52
  320. package/dist/usersSlice/constants.d.ts +2 -52
  321. package/dist/usersSlice/constants.js +2 -21
  322. package/dist/usersSlice/index.cjs +132 -172
  323. package/dist/usersSlice/index.cjs.map +1 -1
  324. package/dist/usersSlice/index.d.cts +2 -152
  325. package/dist/usersSlice/index.d.ts +2 -152
  326. package/dist/usersSlice/index.js +125 -18
  327. package/dist/usersSlice/index.js.map +1 -1
  328. package/dist/usersSlice/mocks.cjs +55 -196
  329. package/dist/usersSlice/mocks.cjs.map +1 -1
  330. package/dist/usersSlice/mocks.d.cts +68 -72
  331. package/dist/usersSlice/mocks.d.ts +68 -72
  332. package/dist/usersSlice/mocks.js +54 -46
  333. package/dist/usersSlice/mocks.js.map +1 -1
  334. package/dist/usersSlice/selectors.cjs +65 -567
  335. package/dist/usersSlice/selectors.cjs.map +1 -1
  336. package/dist/usersSlice/selectors.d.cts +364 -376
  337. package/dist/usersSlice/selectors.d.ts +364 -376
  338. package/dist/usersSlice/selectors.js +44 -50
  339. package/dist/usersSlice/selectors.js.map +1 -1
  340. package/dist/usersSlice/thunks.cjs +39 -4698
  341. package/dist/usersSlice/thunks.d.cts +820 -856
  342. package/dist/usersSlice/thunks.d.ts +820 -856
  343. package/dist/usersSlice/thunks.js +2 -111
  344. package/dist/utils-CO_CpGFP.d.ts +105 -0
  345. package/dist/utils-CpPfqW0Q.d.cts +105 -0
  346. package/dist/utils.cjs +231 -850
  347. package/dist/utils.cjs.map +1 -1
  348. package/dist/utils.d.cts +2 -80
  349. package/dist/utils.d.ts +2 -80
  350. package/dist/utils.js +211 -50
  351. package/dist/utils.js.map +1 -1
  352. package/package.json +11 -13
  353. package/dist/appSlice/thunks.cjs.map +0 -1
  354. package/dist/appSlice/thunks.js.map +0 -1
  355. package/dist/chunk-2DYA3X77.js +0 -15
  356. package/dist/chunk-2DYA3X77.js.map +0 -1
  357. package/dist/chunk-4BHM6WVX.js +0 -50
  358. package/dist/chunk-4BHM6WVX.js.map +0 -1
  359. package/dist/chunk-4UNLEL5A.js +0 -143
  360. package/dist/chunk-4UNLEL5A.js.map +0 -1
  361. package/dist/chunk-6V5IIIF7.js +0 -396
  362. package/dist/chunk-6V5IIIF7.js.map +0 -1
  363. package/dist/chunk-ARMI6SZS.js +0 -446
  364. package/dist/chunk-ARMI6SZS.js.map +0 -1
  365. package/dist/chunk-AZF4YY3P.js +0 -108
  366. package/dist/chunk-AZF4YY3P.js.map +0 -1
  367. package/dist/chunk-B5AI2YPV.js +0 -156
  368. package/dist/chunk-B5AI2YPV.js.map +0 -1
  369. package/dist/chunk-CQXDAXQF.js +0 -51
  370. package/dist/chunk-CQXDAXQF.js.map +0 -1
  371. package/dist/chunk-DBBE6D36.js +0 -115
  372. package/dist/chunk-DBBE6D36.js.map +0 -1
  373. package/dist/chunk-ECVQVQEL.js +0 -68
  374. package/dist/chunk-ECVQVQEL.js.map +0 -1
  375. package/dist/chunk-FAJ3I2UQ.js +0 -47
  376. package/dist/chunk-FAJ3I2UQ.js.map +0 -1
  377. package/dist/chunk-FCY7BUGK.js +0 -2876
  378. package/dist/chunk-FCY7BUGK.js.map +0 -1
  379. package/dist/chunk-FG37HJLC.js +0 -157
  380. package/dist/chunk-FG37HJLC.js.map +0 -1
  381. package/dist/chunk-FQAUVV6C.js +0 -246
  382. package/dist/chunk-FQAUVV6C.js.map +0 -1
  383. package/dist/chunk-HKN3RN2Z.js +0 -41
  384. package/dist/chunk-HKN3RN2Z.js.map +0 -1
  385. package/dist/chunk-HPKXWNEF.js +0 -100
  386. package/dist/chunk-HPKXWNEF.js.map +0 -1
  387. package/dist/chunk-JIS4PA3R.js +0 -7
  388. package/dist/chunk-JIS4PA3R.js.map +0 -1
  389. package/dist/chunk-JXBTIFMS.js +0 -82
  390. package/dist/chunk-JXBTIFMS.js.map +0 -1
  391. package/dist/chunk-JYPSCCT4.js +0 -58
  392. package/dist/chunk-JYPSCCT4.js.map +0 -1
  393. package/dist/chunk-L53CPHJU.js +0 -721
  394. package/dist/chunk-L53CPHJU.js.map +0 -1
  395. package/dist/chunk-MNJXEB7S.js +0 -304
  396. package/dist/chunk-MNJXEB7S.js.map +0 -1
  397. package/dist/chunk-NMAXZ3ZY.js +0 -1
  398. package/dist/chunk-NMAXZ3ZY.js.map +0 -1
  399. package/dist/chunk-NXLXPRYW.js +0 -142
  400. package/dist/chunk-NXLXPRYW.js.map +0 -1
  401. package/dist/chunk-O6VCSLNE.js +0 -59
  402. package/dist/chunk-O6VCSLNE.js.map +0 -1
  403. package/dist/chunk-PQADM3M3.js +0 -115
  404. package/dist/chunk-PQADM3M3.js.map +0 -1
  405. package/dist/chunk-SJ75YKOA.js +0 -44
  406. package/dist/chunk-SJ75YKOA.js.map +0 -1
  407. package/dist/chunk-TUPBZ6MQ.js +0 -162
  408. package/dist/chunk-TUPBZ6MQ.js.map +0 -1
  409. package/dist/chunk-XF3TZSZS.js +0 -25
  410. package/dist/chunk-XF3TZSZS.js.map +0 -1
  411. package/dist/chunk-YB3US6OT.js +0 -61
  412. package/dist/chunk-YB3US6OT.js.map +0 -1
  413. package/dist/chunk-YDDE5TIH.js +0 -204
  414. package/dist/chunk-YDDE5TIH.js.map +0 -1
  415. package/dist/chunk-YO22XLHI.js +0 -7
  416. package/dist/chunk-YO22XLHI.js.map +0 -1
  417. package/dist/chunk-Z2O6LYVP.js +0 -144
  418. package/dist/chunk-Z2O6LYVP.js.map +0 -1
  419. package/dist/chunk-ZKAH3APE.js +0 -1
  420. package/dist/chunk-ZKAH3APE.js.map +0 -1
  421. package/dist/commonConstants.cjs.map +0 -1
  422. package/dist/commonConstants.js.map +0 -1
  423. package/dist/deploymentsSlice/constants.cjs.map +0 -1
  424. package/dist/deploymentsSlice/constants.js.map +0 -1
  425. package/dist/deploymentsSlice/thunks.cjs.map +0 -1
  426. package/dist/deploymentsSlice/thunks.js.map +0 -1
  427. package/dist/devicesSlice/constants.cjs.map +0 -1
  428. package/dist/devicesSlice/constants.js.map +0 -1
  429. package/dist/devicesSlice/thunks.cjs.map +0 -1
  430. package/dist/devicesSlice/thunks.js.map +0 -1
  431. package/dist/monitorSlice/constants.cjs.map +0 -1
  432. package/dist/monitorSlice/constants.js.map +0 -1
  433. package/dist/onboardingSlice/thunks.cjs.map +0 -1
  434. package/dist/onboardingSlice/thunks.js.map +0 -1
  435. package/dist/organizationSlice/constants.cjs.map +0 -1
  436. package/dist/organizationSlice/constants.js.map +0 -1
  437. package/dist/organizationSlice/thunks.cjs.map +0 -1
  438. package/dist/organizationSlice/thunks.js.map +0 -1
  439. package/dist/organizationSlice/types.cjs.map +0 -1
  440. package/dist/organizationSlice/types.js.map +0 -1
  441. package/dist/selectors.cjs.map +0 -1
  442. package/dist/selectors.js.map +0 -1
  443. package/dist/usersSlice/constants.cjs.map +0 -1
  444. package/dist/usersSlice/constants.js.map +0 -1
  445. package/dist/usersSlice/thunks.cjs.map +0 -1
  446. package/dist/usersSlice/thunks.js.map +0 -1
@@ -1,32 +1,112 @@
1
- import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
2
- import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
3
- import { AvailablePlans } from './appSlice/constants.js';
4
- import * as reselect from 'reselect';
5
- import { RootState } from './store.js';
6
- import { AuditLogSelectionState, Organization } from './organizationSlice/types.js';
7
- import { UserSliceType, UserSettings, User, GlobalSettings } from './usersSlice/index.js';
8
- import { ReleaseSliceType, Release } from './releasesSlice/index.js';
9
- import { OrganizationSliceType } from './organizationSlice/index.js';
10
- import { OnboardingSliceType } from './onboardingSlice/index.js';
11
- import { MonitorSliceType } from './monitorSlice/index.js';
12
- import { DeploymentsSliceType, DeviceDeployment, Deployment, SelectionState } from './deploymentsSlice/index.js';
13
- import { DeviceSliceType, InventoryAttributes, Device, DeviceGroup } from './devicesSlice/index.js';
14
- import { AppSliceType } from './appSlice/index.js';
15
- import '@mui/material/OverridableComponent';
16
- import '@mui/material';
17
- import '@reduxjs/toolkit';
18
- import 'redux-thunk';
19
- import 'redux';
20
- import '@northern.tech/types/MenderTypes';
21
- import './organizationSlice/constants.js';
22
- import 'immer';
23
- import './commonConstants.js';
24
- import 'react/jsx-runtime';
25
- import './usersSlice/constants.js';
26
- import './monitorSlice/constants.js';
27
- import './devicesSlice/constants.js';
1
+ import { a as AvailablePlans } from "./constants-C5AU0mCY.js";
2
+ import { S as Role } from "./constants-DrwXHsJ1.js";
3
+ import { a as UserSettings, n as GlobalSettings, o as UserSliceType, r as User } from "./index-DtePEQPT.js";
4
+ import { n as Release, r as ReleaseSliceType } from "./index-Cvkvcz4r.js";
5
+ import { i as Organization, n as AuditLogSelectionState } from "./types-B2NRQLFw.js";
6
+ import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CJkrL0oA.js";
7
+ import { l as SelectionState, o as DeploymentsSliceType, s as DeviceDeployment, t as Deployment } from "./index-CkwVnIqd.js";
8
+ import { c as InventoryAttributes, r as DeviceGroup, s as DeviceSliceType, t as Device } from "./index-DqyY6oZ3.js";
9
+ import { t as AppSliceType } from "./index-Dv3Hfxk_.js";
10
+ import { t as MonitorSliceType } from "./index-CO-py5d4.js";
11
+ import { t as OrganizationSliceType } from "./index-DJSlDPRX.js";
12
+ import { r as RootState } from "./store-BQxOSRC1.js";
13
+ import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
14
+ import { AuditLog } from "@northern.tech/types/types.gen";
15
+ import * as _$reselect from "reselect";
28
16
 
17
+ //#region src/commonSelectors.d.ts
29
18
  declare const getIsEnterprise: ((state: {
19
+ app: AppSliceType;
20
+ devices: DeviceSliceType;
21
+ deployments: DeploymentsSliceType;
22
+ monitor: MonitorSliceType;
23
+ onboarding: OnboardingSliceType;
24
+ organization: OrganizationSliceType;
25
+ releases: ReleaseSliceType;
26
+ users: UserSliceType;
27
+ }) => boolean) & {
28
+ clearCache: () => void;
29
+ resultsCount: () => number;
30
+ resetResultsCount: () => void;
31
+ } & {
32
+ resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
33
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
34
+ clearCache: () => void;
35
+ resultsCount: () => number;
36
+ resetResultsCount: () => void;
37
+ };
38
+ lastResult: () => boolean;
39
+ dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
40
+ recomputations: () => number;
41
+ resetRecomputations: () => void;
42
+ dependencyRecomputations: () => number;
43
+ resetDependencyRecomputations: () => void;
44
+ } & {
45
+ memoize: typeof _$reselect.weakMapMemoize;
46
+ argsMemoize: typeof _$reselect.weakMapMemoize;
47
+ };
48
+ declare const getUserRoles: ((state: {
49
+ app: AppSliceType;
50
+ devices: DeviceSliceType;
51
+ deployments: DeploymentsSliceType;
52
+ monitor: MonitorSliceType;
53
+ onboarding: OnboardingSliceType;
54
+ organization: OrganizationSliceType;
55
+ releases: ReleaseSliceType;
56
+ users: UserSliceType;
57
+ }) => {
58
+ isAdmin: boolean;
59
+ uiPermissions: Readonly<{
60
+ auditlog: string[];
61
+ deployments?: string[];
62
+ groups: Record<string, string[]>;
63
+ releases: Record<string, string[]>;
64
+ tenantManagement: string[];
65
+ userManagement: string[];
66
+ }>;
67
+ }) & {
68
+ clearCache: () => void;
69
+ resultsCount: () => number;
70
+ resetResultsCount: () => void;
71
+ } & {
72
+ resultFunc: (resultFuncArgs_0: User, resultFuncArgs_1: Record<string, Role>, resultFuncArgs_2: boolean) => {
73
+ isAdmin: boolean;
74
+ uiPermissions: Readonly<{
75
+ auditlog: string[];
76
+ deployments?: string[];
77
+ groups: Record<string, string[]>;
78
+ releases: Record<string, string[]>;
79
+ tenantManagement: string[];
80
+ userManagement: string[];
81
+ }>;
82
+ };
83
+ memoizedResultFunc: ((resultFuncArgs_0: User, resultFuncArgs_1: Record<string, Role>, resultFuncArgs_2: boolean) => {
84
+ isAdmin: boolean;
85
+ uiPermissions: Readonly<{
86
+ auditlog: string[];
87
+ deployments?: string[];
88
+ groups: Record<string, string[]>;
89
+ releases: Record<string, string[]>;
90
+ tenantManagement: string[];
91
+ userManagement: string[];
92
+ }>;
93
+ }) & {
94
+ clearCache: () => void;
95
+ resultsCount: () => number;
96
+ resetResultsCount: () => void;
97
+ };
98
+ lastResult: () => {
99
+ isAdmin: boolean;
100
+ uiPermissions: Readonly<{
101
+ auditlog: string[];
102
+ deployments?: string[];
103
+ groups: Record<string, string[]>;
104
+ releases: Record<string, string[]>;
105
+ tenantManagement: string[];
106
+ userManagement: string[];
107
+ }>;
108
+ };
109
+ dependencies: [((state: {
30
110
  app: AppSliceType;
31
111
  devices: DeviceSliceType;
32
112
  deployments: DeploymentsSliceType;
@@ -35,28 +115,27 @@ declare const getIsEnterprise: ((state: {
35
115
  organization: OrganizationSliceType;
36
116
  releases: ReleaseSliceType;
37
117
  users: UserSliceType;
38
- }) => boolean) & {
118
+ }) => User) & {
39
119
  clearCache: () => void;
40
120
  resultsCount: () => number;
41
121
  resetResultsCount: () => void;
42
- } & {
43
- resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
44
- memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
45
- clearCache: () => void;
46
- resultsCount: () => number;
47
- resetResultsCount: () => void;
122
+ } & {
123
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
124
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
125
+ clearCache: () => void;
126
+ resultsCount: () => number;
127
+ resetResultsCount: () => void;
48
128
  };
49
- lastResult: () => boolean;
50
- dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
129
+ lastResult: () => User;
130
+ dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
51
131
  recomputations: () => number;
52
132
  resetRecomputations: () => void;
53
133
  dependencyRecomputations: () => number;
54
134
  resetDependencyRecomputations: () => void;
55
- } & {
56
- memoize: typeof reselect.weakMapMemoize;
57
- argsMemoize: typeof reselect.weakMapMemoize;
58
- };
59
- declare const getUserRoles: ((state: {
135
+ } & {
136
+ memoize: typeof _$reselect.weakMapMemoize;
137
+ argsMemoize: typeof _$reselect.weakMapMemoize;
138
+ }, (state: RootState) => Record<string, Role>, ((state: {
60
139
  app: AppSliceType;
61
140
  devices: DeviceSliceType;
62
141
  deployments: DeploymentsSliceType;
@@ -65,310 +144,306 @@ declare const getUserRoles: ((state: {
65
144
  organization: OrganizationSliceType;
66
145
  releases: ReleaseSliceType;
67
146
  users: UserSliceType;
68
- }) => {
69
- isAdmin: boolean;
70
- uiPermissions: any;
71
- }) & {
147
+ }) => boolean) & {
72
148
  clearCache: () => void;
73
149
  resultsCount: () => number;
74
150
  resetResultsCount: () => void;
75
- } & {
76
- resultFunc: (resultFuncArgs_0: User, resultFuncArgs_1: Record<string, _northern_tech_utils_constants.Role>, resultFuncArgs_2: boolean) => {
77
- isAdmin: boolean;
78
- uiPermissions: any;
79
- };
80
- memoizedResultFunc: ((resultFuncArgs_0: User, resultFuncArgs_1: Record<string, _northern_tech_utils_constants.Role>, resultFuncArgs_2: boolean) => {
81
- isAdmin: boolean;
82
- uiPermissions: any;
83
- }) & {
84
- clearCache: () => void;
85
- resultsCount: () => number;
86
- resetResultsCount: () => void;
87
- };
88
- lastResult: () => {
89
- isAdmin: boolean;
90
- uiPermissions: any;
151
+ } & {
152
+ resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
153
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
154
+ clearCache: () => void;
155
+ resultsCount: () => number;
156
+ resetResultsCount: () => void;
91
157
  };
92
- dependencies: [((state: {
93
- app: AppSliceType;
94
- devices: DeviceSliceType;
95
- deployments: DeploymentsSliceType;
96
- monitor: MonitorSliceType;
97
- onboarding: OnboardingSliceType;
98
- organization: OrganizationSliceType;
99
- releases: ReleaseSliceType;
100
- users: UserSliceType;
101
- }) => User) & {
102
- clearCache: () => void;
103
- resultsCount: () => number;
104
- resetResultsCount: () => void;
105
- } & {
106
- resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
107
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
108
- clearCache: () => void;
109
- resultsCount: () => number;
110
- resetResultsCount: () => void;
111
- };
112
- lastResult: () => User;
113
- dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
114
- recomputations: () => number;
115
- resetRecomputations: () => void;
116
- dependencyRecomputations: () => number;
117
- resetDependencyRecomputations: () => void;
118
- } & {
119
- memoize: typeof reselect.weakMapMemoize;
120
- argsMemoize: typeof reselect.weakMapMemoize;
121
- }, (state: RootState) => Record<string, _northern_tech_utils_constants.Role>, ((state: {
122
- app: AppSliceType;
123
- devices: DeviceSliceType;
124
- deployments: DeploymentsSliceType;
125
- monitor: MonitorSliceType;
126
- onboarding: OnboardingSliceType;
127
- organization: OrganizationSliceType;
128
- releases: ReleaseSliceType;
129
- users: UserSliceType;
130
- }) => boolean) & {
131
- clearCache: () => void;
132
- resultsCount: () => number;
133
- resetResultsCount: () => void;
134
- } & {
135
- resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
136
- memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
137
- clearCache: () => void;
138
- resultsCount: () => number;
139
- resetResultsCount: () => void;
140
- };
141
- lastResult: () => boolean;
142
- dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
143
- recomputations: () => number;
144
- resetRecomputations: () => void;
145
- dependencyRecomputations: () => number;
146
- resetDependencyRecomputations: () => void;
147
- } & {
148
- memoize: typeof reselect.weakMapMemoize;
149
- argsMemoize: typeof reselect.weakMapMemoize;
150
- }];
158
+ lastResult: () => boolean;
159
+ dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
151
160
  recomputations: () => number;
152
161
  resetRecomputations: () => void;
153
162
  dependencyRecomputations: () => number;
154
163
  resetDependencyRecomputations: () => void;
164
+ } & {
165
+ memoize: typeof _$reselect.weakMapMemoize;
166
+ argsMemoize: typeof _$reselect.weakMapMemoize;
167
+ }];
168
+ recomputations: () => number;
169
+ resetRecomputations: () => void;
170
+ dependencyRecomputations: () => number;
171
+ resetDependencyRecomputations: () => void;
155
172
  } & {
156
- memoize: typeof reselect.weakMapMemoize;
157
- argsMemoize: typeof reselect.weakMapMemoize;
173
+ memoize: typeof _$reselect.weakMapMemoize;
174
+ argsMemoize: typeof _$reselect.weakMapMemoize;
158
175
  };
159
176
  declare const getUserCapabilities: ((state: {
160
- app: AppSliceType;
161
- devices: DeviceSliceType;
162
- deployments: DeploymentsSliceType;
163
- monitor: MonitorSliceType;
164
- onboarding: OnboardingSliceType;
165
- organization: OrganizationSliceType;
166
- releases: ReleaseSliceType;
167
- users: UserSliceType;
177
+ app: AppSliceType;
178
+ devices: DeviceSliceType;
179
+ deployments: DeploymentsSliceType;
180
+ monitor: MonitorSliceType;
181
+ onboarding: OnboardingSliceType;
182
+ organization: OrganizationSliceType;
183
+ releases: ReleaseSliceType;
184
+ users: UserSliceType;
168
185
  }) => {
169
- canAuditlog: any;
186
+ canAuditlog: boolean;
187
+ canConfigure: boolean;
188
+ canDeploy: boolean;
189
+ canManageDevices: boolean;
190
+ canManageReleases: boolean;
191
+ canManageUsers: boolean;
192
+ canReadDeployments: boolean;
193
+ canReadDevices: boolean;
194
+ canReadReleases: boolean;
195
+ canReadUsers: boolean;
196
+ canTroubleshoot: boolean;
197
+ canUploadReleases: boolean;
198
+ canWriteDevices: boolean;
199
+ groupsPermissions: Record<string, string[]>;
200
+ releasesPermissions: Record<string, string[]>;
201
+ SPTenant: boolean | undefined;
202
+ }) & {
203
+ clearCache: () => void;
204
+ resultsCount: () => number;
205
+ resetResultsCount: () => void;
206
+ } & {
207
+ resultFunc: (resultFuncArgs_0: {
208
+ isAdmin: boolean;
209
+ uiPermissions: Readonly<{
210
+ auditlog: string[];
211
+ deployments?: string[];
212
+ groups: Record<string, string[]>;
213
+ releases: Record<string, string[]>;
214
+ tenantManagement: string[];
215
+ userManagement: string[];
216
+ }>;
217
+ }, resultFuncArgs_1: boolean | undefined) => {
218
+ canAuditlog: boolean;
170
219
  canConfigure: boolean;
171
- canDeploy: any;
220
+ canDeploy: boolean;
172
221
  canManageDevices: boolean;
173
222
  canManageReleases: boolean;
174
- canManageUsers: any;
175
- canReadDeployments: any;
223
+ canManageUsers: boolean;
224
+ canReadDeployments: boolean;
176
225
  canReadDevices: boolean;
177
226
  canReadReleases: boolean;
178
- canReadUsers: any;
227
+ canReadUsers: boolean;
179
228
  canTroubleshoot: boolean;
180
229
  canUploadReleases: boolean;
181
230
  canWriteDevices: boolean;
182
- groupsPermissions: any;
183
- releasesPermissions: any;
231
+ groupsPermissions: Record<string, string[]>;
232
+ releasesPermissions: Record<string, string[]>;
184
233
  SPTenant: boolean | undefined;
185
- }) & {
234
+ };
235
+ memoizedResultFunc: ((resultFuncArgs_0: {
236
+ isAdmin: boolean;
237
+ uiPermissions: Readonly<{
238
+ auditlog: string[];
239
+ deployments?: string[];
240
+ groups: Record<string, string[]>;
241
+ releases: Record<string, string[]>;
242
+ tenantManagement: string[];
243
+ userManagement: string[];
244
+ }>;
245
+ }, resultFuncArgs_1: boolean | undefined) => {
246
+ canAuditlog: boolean;
247
+ canConfigure: boolean;
248
+ canDeploy: boolean;
249
+ canManageDevices: boolean;
250
+ canManageReleases: boolean;
251
+ canManageUsers: boolean;
252
+ canReadDeployments: boolean;
253
+ canReadDevices: boolean;
254
+ canReadReleases: boolean;
255
+ canReadUsers: boolean;
256
+ canTroubleshoot: boolean;
257
+ canUploadReleases: boolean;
258
+ canWriteDevices: boolean;
259
+ groupsPermissions: Record<string, string[]>;
260
+ releasesPermissions: Record<string, string[]>;
261
+ SPTenant: boolean | undefined;
262
+ }) & {
186
263
  clearCache: () => void;
187
264
  resultsCount: () => number;
188
265
  resetResultsCount: () => void;
189
- } & {
190
- resultFunc: (resultFuncArgs_0: {
191
- isAdmin: boolean;
192
- uiPermissions: any;
193
- }, resultFuncArgs_1: boolean | undefined) => {
194
- canAuditlog: any;
195
- canConfigure: boolean;
196
- canDeploy: any;
197
- canManageDevices: boolean;
198
- canManageReleases: boolean;
199
- canManageUsers: any;
200
- canReadDeployments: any;
201
- canReadDevices: boolean;
202
- canReadReleases: boolean;
203
- canReadUsers: any;
204
- canTroubleshoot: boolean;
205
- canUploadReleases: boolean;
206
- canWriteDevices: boolean;
207
- groupsPermissions: any;
208
- releasesPermissions: any;
209
- SPTenant: boolean | undefined;
266
+ };
267
+ lastResult: () => {
268
+ canAuditlog: boolean;
269
+ canConfigure: boolean;
270
+ canDeploy: boolean;
271
+ canManageDevices: boolean;
272
+ canManageReleases: boolean;
273
+ canManageUsers: boolean;
274
+ canReadDeployments: boolean;
275
+ canReadDevices: boolean;
276
+ canReadReleases: boolean;
277
+ canReadUsers: boolean;
278
+ canTroubleshoot: boolean;
279
+ canUploadReleases: boolean;
280
+ canWriteDevices: boolean;
281
+ groupsPermissions: Record<string, string[]>;
282
+ releasesPermissions: Record<string, string[]>;
283
+ SPTenant: boolean | undefined;
284
+ };
285
+ dependencies: [((state: {
286
+ app: AppSliceType;
287
+ devices: DeviceSliceType;
288
+ deployments: DeploymentsSliceType;
289
+ monitor: MonitorSliceType;
290
+ onboarding: OnboardingSliceType;
291
+ organization: OrganizationSliceType;
292
+ releases: ReleaseSliceType;
293
+ users: UserSliceType;
294
+ }) => {
295
+ isAdmin: boolean;
296
+ uiPermissions: Readonly<{
297
+ auditlog: string[];
298
+ deployments?: string[];
299
+ groups: Record<string, string[]>;
300
+ releases: Record<string, string[]>;
301
+ tenantManagement: string[];
302
+ userManagement: string[];
303
+ }>;
304
+ }) & {
305
+ clearCache: () => void;
306
+ resultsCount: () => number;
307
+ resetResultsCount: () => void;
308
+ } & {
309
+ resultFunc: (resultFuncArgs_0: User, resultFuncArgs_1: Record<string, Role>, resultFuncArgs_2: boolean) => {
310
+ isAdmin: boolean;
311
+ uiPermissions: Readonly<{
312
+ auditlog: string[];
313
+ deployments?: string[];
314
+ groups: Record<string, string[]>;
315
+ releases: Record<string, string[]>;
316
+ tenantManagement: string[];
317
+ userManagement: string[];
318
+ }>;
210
319
  };
211
- memoizedResultFunc: ((resultFuncArgs_0: {
212
- isAdmin: boolean;
213
- uiPermissions: any;
214
- }, resultFuncArgs_1: boolean | undefined) => {
215
- canAuditlog: any;
216
- canConfigure: boolean;
217
- canDeploy: any;
218
- canManageDevices: boolean;
219
- canManageReleases: boolean;
220
- canManageUsers: any;
221
- canReadDeployments: any;
222
- canReadDevices: boolean;
223
- canReadReleases: boolean;
224
- canReadUsers: any;
225
- canTroubleshoot: boolean;
226
- canUploadReleases: boolean;
227
- canWriteDevices: boolean;
228
- groupsPermissions: any;
229
- releasesPermissions: any;
230
- SPTenant: boolean | undefined;
320
+ memoizedResultFunc: ((resultFuncArgs_0: User, resultFuncArgs_1: Record<string, Role>, resultFuncArgs_2: boolean) => {
321
+ isAdmin: boolean;
322
+ uiPermissions: Readonly<{
323
+ auditlog: string[];
324
+ deployments?: string[];
325
+ groups: Record<string, string[]>;
326
+ releases: Record<string, string[]>;
327
+ tenantManagement: string[];
328
+ userManagement: string[];
329
+ }>;
231
330
  }) & {
232
- clearCache: () => void;
233
- resultsCount: () => number;
234
- resetResultsCount: () => void;
331
+ clearCache: () => void;
332
+ resultsCount: () => number;
333
+ resetResultsCount: () => void;
235
334
  };
236
335
  lastResult: () => {
237
- canAuditlog: any;
238
- canConfigure: boolean;
239
- canDeploy: any;
240
- canManageDevices: boolean;
241
- canManageReleases: boolean;
242
- canManageUsers: any;
243
- canReadDeployments: any;
244
- canReadDevices: boolean;
245
- canReadReleases: boolean;
246
- canReadUsers: any;
247
- canTroubleshoot: boolean;
248
- canUploadReleases: boolean;
249
- canWriteDevices: boolean;
250
- groupsPermissions: any;
251
- releasesPermissions: any;
252
- SPTenant: boolean | undefined;
336
+ isAdmin: boolean;
337
+ uiPermissions: Readonly<{
338
+ auditlog: string[];
339
+ deployments?: string[];
340
+ groups: Record<string, string[]>;
341
+ releases: Record<string, string[]>;
342
+ tenantManagement: string[];
343
+ userManagement: string[];
344
+ }>;
253
345
  };
254
346
  dependencies: [((state: {
255
- app: AppSliceType;
256
- devices: DeviceSliceType;
257
- deployments: DeploymentsSliceType;
258
- monitor: MonitorSliceType;
259
- onboarding: OnboardingSliceType;
260
- organization: OrganizationSliceType;
261
- releases: ReleaseSliceType;
262
- users: UserSliceType;
263
- }) => {
264
- isAdmin: boolean;
265
- uiPermissions: any;
266
- }) & {
347
+ app: AppSliceType;
348
+ devices: DeviceSliceType;
349
+ deployments: DeploymentsSliceType;
350
+ monitor: MonitorSliceType;
351
+ onboarding: OnboardingSliceType;
352
+ organization: OrganizationSliceType;
353
+ releases: ReleaseSliceType;
354
+ users: UserSliceType;
355
+ }) => User) & {
356
+ clearCache: () => void;
357
+ resultsCount: () => number;
358
+ resetResultsCount: () => void;
359
+ } & {
360
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
361
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
267
362
  clearCache: () => void;
268
363
  resultsCount: () => number;
269
364
  resetResultsCount: () => void;
365
+ };
366
+ lastResult: () => User;
367
+ dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
368
+ recomputations: () => number;
369
+ resetRecomputations: () => void;
370
+ dependencyRecomputations: () => number;
371
+ resetDependencyRecomputations: () => void;
270
372
  } & {
271
- resultFunc: (resultFuncArgs_0: User, resultFuncArgs_1: Record<string, _northern_tech_utils_constants.Role>, resultFuncArgs_2: boolean) => {
272
- isAdmin: boolean;
273
- uiPermissions: any;
274
- };
275
- memoizedResultFunc: ((resultFuncArgs_0: User, resultFuncArgs_1: Record<string, _northern_tech_utils_constants.Role>, resultFuncArgs_2: boolean) => {
276
- isAdmin: boolean;
277
- uiPermissions: any;
278
- }) & {
279
- clearCache: () => void;
280
- resultsCount: () => number;
281
- resetResultsCount: () => void;
282
- };
283
- lastResult: () => {
284
- isAdmin: boolean;
285
- uiPermissions: any;
286
- };
287
- dependencies: [((state: {
288
- app: AppSliceType;
289
- devices: DeviceSliceType;
290
- deployments: DeploymentsSliceType;
291
- monitor: MonitorSliceType;
292
- onboarding: OnboardingSliceType;
293
- organization: OrganizationSliceType;
294
- releases: ReleaseSliceType;
295
- users: UserSliceType;
296
- }) => User) & {
297
- clearCache: () => void;
298
- resultsCount: () => number;
299
- resetResultsCount: () => void;
300
- } & {
301
- resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
302
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
303
- clearCache: () => void;
304
- resultsCount: () => number;
305
- resetResultsCount: () => void;
306
- };
307
- lastResult: () => User;
308
- dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
309
- recomputations: () => number;
310
- resetRecomputations: () => void;
311
- dependencyRecomputations: () => number;
312
- resetDependencyRecomputations: () => void;
313
- } & {
314
- memoize: typeof reselect.weakMapMemoize;
315
- argsMemoize: typeof reselect.weakMapMemoize;
316
- }, (state: RootState) => Record<string, _northern_tech_utils_constants.Role>, ((state: {
317
- app: AppSliceType;
318
- devices: DeviceSliceType;
319
- deployments: DeploymentsSliceType;
320
- monitor: MonitorSliceType;
321
- onboarding: OnboardingSliceType;
322
- organization: OrganizationSliceType;
323
- releases: ReleaseSliceType;
324
- users: UserSliceType;
325
- }) => boolean) & {
326
- clearCache: () => void;
327
- resultsCount: () => number;
328
- resetResultsCount: () => void;
329
- } & {
330
- resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
331
- memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
332
- clearCache: () => void;
333
- resultsCount: () => number;
334
- resetResultsCount: () => void;
335
- };
336
- lastResult: () => boolean;
337
- dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
338
- recomputations: () => number;
339
- resetRecomputations: () => void;
340
- dependencyRecomputations: () => number;
341
- resetDependencyRecomputations: () => void;
342
- } & {
343
- memoize: typeof reselect.weakMapMemoize;
344
- argsMemoize: typeof reselect.weakMapMemoize;
345
- }];
346
- recomputations: () => number;
347
- resetRecomputations: () => void;
348
- dependencyRecomputations: () => number;
349
- resetDependencyRecomputations: () => void;
373
+ memoize: typeof _$reselect.weakMapMemoize;
374
+ argsMemoize: typeof _$reselect.weakMapMemoize;
375
+ }, (state: RootState) => Record<string, Role>, ((state: {
376
+ app: AppSliceType;
377
+ devices: DeviceSliceType;
378
+ deployments: DeploymentsSliceType;
379
+ monitor: MonitorSliceType;
380
+ onboarding: OnboardingSliceType;
381
+ organization: OrganizationSliceType;
382
+ releases: ReleaseSliceType;
383
+ users: UserSliceType;
384
+ }) => boolean) & {
385
+ clearCache: () => void;
386
+ resultsCount: () => number;
387
+ resetResultsCount: () => void;
350
388
  } & {
351
- memoize: typeof reselect.weakMapMemoize;
352
- argsMemoize: typeof reselect.weakMapMemoize;
353
- }, (state: RootState) => boolean | undefined];
389
+ resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
390
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
391
+ clearCache: () => void;
392
+ resultsCount: () => number;
393
+ resetResultsCount: () => void;
394
+ };
395
+ lastResult: () => boolean;
396
+ dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
397
+ recomputations: () => number;
398
+ resetRecomputations: () => void;
399
+ dependencyRecomputations: () => number;
400
+ resetDependencyRecomputations: () => void;
401
+ } & {
402
+ memoize: typeof _$reselect.weakMapMemoize;
403
+ argsMemoize: typeof _$reselect.weakMapMemoize;
404
+ }];
354
405
  recomputations: () => number;
355
406
  resetRecomputations: () => void;
356
407
  dependencyRecomputations: () => number;
357
408
  resetDependencyRecomputations: () => void;
409
+ } & {
410
+ memoize: typeof _$reselect.weakMapMemoize;
411
+ argsMemoize: typeof _$reselect.weakMapMemoize;
412
+ }, (state: RootState) => boolean | undefined];
413
+ recomputations: () => number;
414
+ resetRecomputations: () => void;
415
+ dependencyRecomputations: () => number;
416
+ resetDependencyRecomputations: () => void;
358
417
  } & {
359
- memoize: typeof reselect.weakMapMemoize;
360
- argsMemoize: typeof reselect.weakMapMemoize;
418
+ memoize: typeof _$reselect.weakMapMemoize;
419
+ argsMemoize: typeof _$reselect.weakMapMemoize;
361
420
  };
362
421
  declare const getTenantCapabilities: ((state: {
363
- app: AppSliceType;
364
- devices: DeviceSliceType;
365
- deployments: DeploymentsSliceType;
366
- monitor: MonitorSliceType;
367
- onboarding: OnboardingSliceType;
368
- organization: OrganizationSliceType;
369
- releases: ReleaseSliceType;
370
- users: UserSliceType;
422
+ app: AppSliceType;
423
+ devices: DeviceSliceType;
424
+ deployments: DeploymentsSliceType;
425
+ monitor: MonitorSliceType;
426
+ onboarding: OnboardingSliceType;
427
+ organization: OrganizationSliceType;
428
+ releases: ReleaseSliceType;
429
+ users: UserSliceType;
371
430
  }) => {
431
+ canDelta: boolean;
432
+ canRetry: boolean;
433
+ canSchedule: boolean;
434
+ hasAuditlogs: boolean;
435
+ hasDeviceConfig: boolean;
436
+ hasDeviceConnect: boolean;
437
+ hasFullFiltering: boolean;
438
+ hasMonitor: boolean;
439
+ isEnterprise: boolean;
440
+ plan: AvailablePlans;
441
+ }) & {
442
+ clearCache: () => void;
443
+ resultsCount: () => number;
444
+ resetResultsCount: () => void;
445
+ } & {
446
+ resultFunc: (resultFuncArgs_0: Record<string, boolean>, resultFuncArgs_1: Partial<Organization>, resultFuncArgs_2: boolean) => {
372
447
  canDelta: boolean;
373
448
  canRetry: boolean;
374
449
  canSchedule: boolean;
@@ -379,90 +454,36 @@ declare const getTenantCapabilities: ((state: {
379
454
  hasMonitor: boolean;
380
455
  isEnterprise: boolean;
381
456
  plan: AvailablePlans;
382
- }) & {
457
+ };
458
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, boolean>, resultFuncArgs_1: Partial<Organization>, resultFuncArgs_2: boolean) => {
459
+ canDelta: boolean;
460
+ canRetry: boolean;
461
+ canSchedule: boolean;
462
+ hasAuditlogs: boolean;
463
+ hasDeviceConfig: boolean;
464
+ hasDeviceConnect: boolean;
465
+ hasFullFiltering: boolean;
466
+ hasMonitor: boolean;
467
+ isEnterprise: boolean;
468
+ plan: AvailablePlans;
469
+ }) & {
383
470
  clearCache: () => void;
384
471
  resultsCount: () => number;
385
472
  resetResultsCount: () => void;
386
- } & {
387
- resultFunc: (resultFuncArgs_0: Record<string, boolean>, resultFuncArgs_1: Partial<Organization>, resultFuncArgs_2: boolean) => {
388
- canDelta: boolean;
389
- canRetry: boolean;
390
- canSchedule: boolean;
391
- hasAuditlogs: boolean;
392
- hasDeviceConfig: boolean;
393
- hasDeviceConnect: boolean;
394
- hasFullFiltering: boolean;
395
- hasMonitor: boolean;
396
- isEnterprise: boolean;
397
- plan: AvailablePlans;
398
- };
399
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, boolean>, resultFuncArgs_1: Partial<Organization>, resultFuncArgs_2: boolean) => {
400
- canDelta: boolean;
401
- canRetry: boolean;
402
- canSchedule: boolean;
403
- hasAuditlogs: boolean;
404
- hasDeviceConfig: boolean;
405
- hasDeviceConnect: boolean;
406
- hasFullFiltering: boolean;
407
- hasMonitor: boolean;
408
- isEnterprise: boolean;
409
- plan: AvailablePlans;
410
- }) & {
411
- clearCache: () => void;
412
- resultsCount: () => number;
413
- resetResultsCount: () => void;
414
- };
415
- lastResult: () => {
416
- canDelta: boolean;
417
- canRetry: boolean;
418
- canSchedule: boolean;
419
- hasAuditlogs: boolean;
420
- hasDeviceConfig: boolean;
421
- hasDeviceConnect: boolean;
422
- hasFullFiltering: boolean;
423
- hasMonitor: boolean;
424
- isEnterprise: boolean;
425
- plan: AvailablePlans;
426
- };
427
- dependencies: [(state: RootState) => Record<string, boolean>, (state: RootState) => Partial<Organization>, ((state: {
428
- app: AppSliceType;
429
- devices: DeviceSliceType;
430
- deployments: DeploymentsSliceType;
431
- monitor: MonitorSliceType;
432
- onboarding: OnboardingSliceType;
433
- organization: OrganizationSliceType;
434
- releases: ReleaseSliceType;
435
- users: UserSliceType;
436
- }) => boolean) & {
437
- clearCache: () => void;
438
- resultsCount: () => number;
439
- resetResultsCount: () => void;
440
- } & {
441
- resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
442
- memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
443
- clearCache: () => void;
444
- resultsCount: () => number;
445
- resetResultsCount: () => void;
446
- };
447
- lastResult: () => boolean;
448
- dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
449
- recomputations: () => number;
450
- resetRecomputations: () => void;
451
- dependencyRecomputations: () => number;
452
- resetDependencyRecomputations: () => void;
453
- } & {
454
- memoize: typeof reselect.weakMapMemoize;
455
- argsMemoize: typeof reselect.weakMapMemoize;
456
- }];
457
- recomputations: () => number;
458
- resetRecomputations: () => void;
459
- dependencyRecomputations: () => number;
460
- resetDependencyRecomputations: () => void;
461
- } & {
462
- memoize: typeof reselect.weakMapMemoize;
463
- argsMemoize: typeof reselect.weakMapMemoize;
464
- };
465
- declare const getFilterAttributes: ((state: {
473
+ };
474
+ lastResult: () => {
475
+ canDelta: boolean;
476
+ canRetry: boolean;
477
+ canSchedule: boolean;
478
+ hasAuditlogs: boolean;
479
+ hasDeviceConfig: boolean;
480
+ hasDeviceConnect: boolean;
481
+ hasFullFiltering: boolean;
482
+ hasMonitor: boolean;
483
+ isEnterprise: boolean;
484
+ plan: AvailablePlans;
485
+ };
486
+ dependencies: [(state: RootState) => Record<string, boolean>, (state: RootState) => Partial<Organization>, ((state: {
466
487
  app: AppSliceType;
467
488
  devices: DeviceSliceType;
468
489
  deployments: DeploymentsSliceType;
@@ -471,138 +492,555 @@ declare const getFilterAttributes: ((state: {
471
492
  organization: OrganizationSliceType;
472
493
  releases: ReleaseSliceType;
473
494
  users: UserSliceType;
474
- }) => any) & {
495
+ }) => boolean) & {
475
496
  clearCache: () => void;
476
497
  resultsCount: () => number;
477
498
  resetResultsCount: () => void;
478
- } & {
479
- resultFunc: (resultFuncArgs_0: GlobalSettings, resultFuncArgs_1: {
480
- identityAttributes: string[];
481
- inventoryAttributes: string[];
482
- systemAttributes: string[];
483
- tagAttributes: string[];
484
- }) => any;
485
- memoizedResultFunc: ((resultFuncArgs_0: GlobalSettings, resultFuncArgs_1: {
486
- identityAttributes: string[];
487
- inventoryAttributes: string[];
488
- systemAttributes: string[];
489
- tagAttributes: string[];
490
- }) => any) & {
491
- clearCache: () => void;
492
- resultsCount: () => number;
493
- resetResultsCount: () => void;
499
+ } & {
500
+ resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
501
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
502
+ clearCache: () => void;
503
+ resultsCount: () => number;
504
+ resetResultsCount: () => void;
494
505
  };
495
- lastResult: () => any;
496
- dependencies: [(state: RootState) => GlobalSettings, (state: RootState) => {
497
- identityAttributes: string[];
498
- inventoryAttributes: string[];
499
- systemAttributes: string[];
500
- tagAttributes: string[];
501
- }];
506
+ lastResult: () => boolean;
507
+ dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
502
508
  recomputations: () => number;
503
509
  resetRecomputations: () => void;
504
510
  dependencyRecomputations: () => number;
505
511
  resetDependencyRecomputations: () => void;
512
+ } & {
513
+ memoize: typeof _$reselect.weakMapMemoize;
514
+ argsMemoize: typeof _$reselect.weakMapMemoize;
515
+ }];
516
+ recomputations: () => number;
517
+ resetRecomputations: () => void;
518
+ dependencyRecomputations: () => number;
519
+ resetDependencyRecomputations: () => void;
506
520
  } & {
507
- memoize: typeof reselect.weakMapMemoize;
508
- argsMemoize: typeof reselect.weakMapMemoize;
521
+ memoize: typeof _$reselect.weakMapMemoize;
522
+ argsMemoize: typeof _$reselect.weakMapMemoize;
509
523
  };
510
- declare const getOnboardingState: ((state: any) => any) & {
524
+ declare const getFilterAttributes: ((state: {
525
+ app: AppSliceType;
526
+ devices: DeviceSliceType;
527
+ deployments: DeploymentsSliceType;
528
+ monitor: MonitorSliceType;
529
+ onboarding: OnboardingSliceType;
530
+ organization: OrganizationSliceType;
531
+ releases: ReleaseSliceType;
532
+ users: UserSliceType;
533
+ }) => any) & {
534
+ clearCache: () => void;
535
+ resultsCount: () => number;
536
+ resetResultsCount: () => void;
537
+ } & {
538
+ resultFunc: (resultFuncArgs_0: GlobalSettings, resultFuncArgs_1: {
539
+ identityAttributes: string[];
540
+ inventoryAttributes: string[];
541
+ systemAttributes: string[];
542
+ tagAttributes: string[];
543
+ }) => any;
544
+ memoizedResultFunc: ((resultFuncArgs_0: GlobalSettings, resultFuncArgs_1: {
545
+ identityAttributes: string[];
546
+ inventoryAttributes: string[];
547
+ systemAttributes: string[];
548
+ tagAttributes: string[];
549
+ }) => any) & {
511
550
  clearCache: () => void;
512
551
  resultsCount: () => number;
513
552
  resetResultsCount: () => void;
553
+ };
554
+ lastResult: () => any;
555
+ dependencies: [(state: RootState) => GlobalSettings, (state: RootState) => {
556
+ identityAttributes: string[];
557
+ inventoryAttributes: string[];
558
+ systemAttributes: string[];
559
+ tagAttributes: string[];
560
+ }];
561
+ recomputations: () => number;
562
+ resetRecomputations: () => void;
563
+ dependencyRecomputations: () => number;
564
+ resetDependencyRecomputations: () => void;
514
565
  } & {
515
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: UserSettings) => any;
516
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: UserSettings) => any) & {
517
- clearCache: () => void;
518
- resultsCount: () => number;
519
- resetResultsCount: () => void;
520
- };
521
- lastResult: () => any;
522
- dependencies: [(state: any) => any, (state: RootState) => UserSettings];
523
- recomputations: () => number;
524
- resetRecomputations: () => void;
525
- dependencyRecomputations: () => number;
526
- resetDependencyRecomputations: () => void;
527
- } & {
528
- memoize: typeof reselect.weakMapMemoize;
529
- argsMemoize: typeof reselect.weakMapMemoize;
566
+ memoize: typeof _$reselect.weakMapMemoize;
567
+ argsMemoize: typeof _$reselect.weakMapMemoize;
530
568
  };
531
- declare const getDemoDeviceAddress: ((state: any) => string) & {
569
+ declare const getOnboardingState: ((state: {
570
+ app: AppSliceType;
571
+ devices: DeviceSliceType;
572
+ deployments: DeploymentsSliceType;
573
+ monitor: MonitorSliceType;
574
+ onboarding: OnboardingSliceType;
575
+ organization: OrganizationSliceType;
576
+ releases: ReleaseSliceType;
577
+ users: UserSliceType;
578
+ }) => {
579
+ complete: boolean;
580
+ progress: string | null | undefined;
581
+ showTips: boolean | null | undefined;
582
+ address?: string;
583
+ approach: OnboardingApproach | null;
584
+ demoArtifactPort: number;
585
+ deviceType: string[] | string | null;
586
+ showTipsDialog: boolean;
587
+ deviceConnection?: string;
588
+ }) & {
589
+ clearCache: () => void;
590
+ resultsCount: () => number;
591
+ resetResultsCount: () => void;
592
+ } & {
593
+ resultFunc: (resultFuncArgs_0: OnboardingSliceType, resultFuncArgs_1: UserSettings) => {
594
+ complete: boolean;
595
+ progress: string | null | undefined;
596
+ showTips: boolean | null | undefined;
597
+ address?: string;
598
+ approach: OnboardingApproach | null;
599
+ demoArtifactPort: number;
600
+ deviceType: string[] | string | null;
601
+ showTipsDialog: boolean;
602
+ deviceConnection?: string;
603
+ };
604
+ memoizedResultFunc: ((resultFuncArgs_0: OnboardingSliceType, resultFuncArgs_1: UserSettings) => {
605
+ complete: boolean;
606
+ progress: string | null | undefined;
607
+ showTips: boolean | null | undefined;
608
+ address?: string;
609
+ approach: OnboardingApproach | null;
610
+ demoArtifactPort: number;
611
+ deviceType: string[] | string | null;
612
+ showTipsDialog: boolean;
613
+ deviceConnection?: string;
614
+ }) & {
532
615
  clearCache: () => void;
533
616
  resultsCount: () => number;
534
617
  resetResultsCount: () => void;
618
+ };
619
+ lastResult: () => {
620
+ complete: boolean;
621
+ progress: string | null | undefined;
622
+ showTips: boolean | null | undefined;
623
+ address?: string;
624
+ approach: OnboardingApproach | null;
625
+ demoArtifactPort: number;
626
+ deviceType: string[] | string | null;
627
+ showTipsDialog: boolean;
628
+ deviceConnection?: string;
629
+ };
630
+ dependencies: [(state: RootState) => OnboardingSliceType, (state: RootState) => UserSettings];
631
+ recomputations: () => number;
632
+ resetRecomputations: () => void;
633
+ dependencyRecomputations: () => number;
634
+ resetDependencyRecomputations: () => void;
535
635
  } & {
536
- resultFunc: (resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => string;
537
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => string) & {
538
- clearCache: () => void;
539
- resultsCount: () => number;
540
- resetResultsCount: () => void;
541
- };
542
- lastResult: () => string;
543
- dependencies: [(state: RootState) => Record<string, Device>, (state: any) => any];
544
- recomputations: () => number;
545
- resetRecomputations: () => void;
546
- dependencyRecomputations: () => number;
547
- resetDependencyRecomputations: () => void;
636
+ memoize: typeof _$reselect.weakMapMemoize;
637
+ argsMemoize: typeof _$reselect.weakMapMemoize;
638
+ };
639
+ declare const getDemoDeviceAddress: ((state: {
640
+ app: AppSliceType;
641
+ devices: DeviceSliceType;
642
+ deployments: DeploymentsSliceType;
643
+ monitor: MonitorSliceType;
644
+ onboarding: OnboardingSliceType;
645
+ organization: OrganizationSliceType;
646
+ releases: ReleaseSliceType;
647
+ users: UserSliceType;
648
+ }) => string) & {
649
+ clearCache: () => void;
650
+ resultsCount: () => number;
651
+ resetResultsCount: () => void;
548
652
  } & {
549
- memoize: typeof reselect.weakMapMemoize;
550
- argsMemoize: typeof reselect.weakMapMemoize;
653
+ resultFunc: (resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: OnboardingSliceType) => string;
654
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: OnboardingSliceType) => string) & {
655
+ clearCache: () => void;
656
+ resultsCount: () => number;
657
+ resetResultsCount: () => void;
658
+ };
659
+ lastResult: () => string;
660
+ dependencies: [(state: RootState) => Record<string, Device>, (state: RootState) => OnboardingSliceType];
661
+ recomputations: () => number;
662
+ resetRecomputations: () => void;
663
+ dependencyRecomputations: () => number;
664
+ resetDependencyRecomputations: () => void;
665
+ } & {
666
+ memoize: typeof _$reselect.weakMapMemoize;
667
+ argsMemoize: typeof _$reselect.weakMapMemoize;
551
668
  };
552
669
  declare const getDeviceConfigDeployment: ((state: any, deviceId: any) => {
553
- device: Device;
554
- deviceConfigDeployment: any;
670
+ device: Device;
671
+ deviceConfigDeployment: Deployment;
555
672
  }) & {
673
+ clearCache: () => void;
674
+ resultsCount: () => number;
675
+ resetResultsCount: () => void;
676
+ } & {
677
+ resultFunc: (resultFuncArgs_0: Device, resultFuncArgs_1: Record<string, Deployment>) => {
678
+ device: Device;
679
+ deviceConfigDeployment: Deployment;
680
+ };
681
+ memoizedResultFunc: ((resultFuncArgs_0: Device, resultFuncArgs_1: Record<string, Deployment>) => {
682
+ device: Device;
683
+ deviceConfigDeployment: Deployment;
684
+ }) & {
556
685
  clearCache: () => void;
557
686
  resultsCount: () => number;
558
687
  resetResultsCount: () => void;
559
- } & {
560
- resultFunc: (resultFuncArgs_0: Device, resultFuncArgs_1: Record<string, Deployment>) => {
561
- device: Device;
562
- deviceConfigDeployment: any;
563
- };
564
- memoizedResultFunc: ((resultFuncArgs_0: Device, resultFuncArgs_1: Record<string, Deployment>) => {
565
- device: Device;
566
- deviceConfigDeployment: any;
567
- }) & {
568
- clearCache: () => void;
569
- resultsCount: () => number;
570
- resetResultsCount: () => void;
571
- };
572
- lastResult: () => {
573
- device: Device;
574
- deviceConfigDeployment: any;
688
+ };
689
+ lastResult: () => {
690
+ device: Device;
691
+ deviceConfigDeployment: Deployment;
692
+ };
693
+ dependencies: [((state: any, deviceId: any) => Device) & {
694
+ clearCache: () => void;
695
+ resultsCount: () => number;
696
+ resetResultsCount: () => void;
697
+ } & {
698
+ resultFunc: (resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device;
699
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device) & {
700
+ clearCache: () => void;
701
+ resultsCount: () => number;
702
+ resetResultsCount: () => void;
575
703
  };
576
- dependencies: [((state: any, deviceId: any) => Device) & {
577
- clearCache: () => void;
578
- resultsCount: () => number;
579
- resetResultsCount: () => void;
580
- } & {
581
- resultFunc: (resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device;
582
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device) & {
583
- clearCache: () => void;
584
- resultsCount: () => number;
585
- resetResultsCount: () => void;
586
- };
587
- lastResult: () => Device;
588
- dependencies: [(state: RootState) => Record<string, Device>, (_: any, deviceId: any) => any];
589
- recomputations: () => number;
590
- resetRecomputations: () => void;
591
- dependencyRecomputations: () => number;
592
- resetDependencyRecomputations: () => void;
593
- } & {
594
- memoize: typeof reselect.weakMapMemoize;
595
- argsMemoize: typeof reselect.weakMapMemoize;
596
- }, (state: RootState) => Record<string, Deployment>];
704
+ lastResult: () => Device;
705
+ dependencies: [(state: RootState) => Record<string, Device>, (_: any, deviceId: any) => any];
597
706
  recomputations: () => number;
598
707
  resetRecomputations: () => void;
599
708
  dependencyRecomputations: () => number;
600
709
  resetDependencyRecomputations: () => void;
710
+ } & {
711
+ memoize: typeof _$reselect.weakMapMemoize;
712
+ argsMemoize: typeof _$reselect.weakMapMemoize;
713
+ }, (state: RootState) => Record<string, Deployment>];
714
+ recomputations: () => number;
715
+ resetRecomputations: () => void;
716
+ dependencyRecomputations: () => number;
717
+ resetDependencyRecomputations: () => void;
601
718
  } & {
602
- memoize: typeof reselect.weakMapMemoize;
603
- argsMemoize: typeof reselect.weakMapMemoize;
719
+ memoize: typeof _$reselect.weakMapMemoize;
720
+ argsMemoize: typeof _$reselect.weakMapMemoize;
604
721
  };
605
722
  declare const getDeploymentRelease: ((state: {
723
+ app: AppSliceType;
724
+ devices: DeviceSliceType;
725
+ deployments: DeploymentsSliceType;
726
+ monitor: MonitorSliceType;
727
+ onboarding: OnboardingSliceType;
728
+ organization: OrganizationSliceType;
729
+ releases: ReleaseSliceType;
730
+ users: UserSliceType;
731
+ }) => Release | {
732
+ device_types_compatible: never[];
733
+ }) & {
734
+ clearCache: () => void;
735
+ resultsCount: () => number;
736
+ resetResultsCount: () => void;
737
+ } & {
738
+ resultFunc: (resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: SelectionState, resultFuncArgs_2: Record<string, Release>) => Release | {
739
+ device_types_compatible: never[];
740
+ };
741
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: SelectionState, resultFuncArgs_2: Record<string, Release>) => Release | {
742
+ device_types_compatible: never[];
743
+ }) & {
744
+ clearCache: () => void;
745
+ resultsCount: () => number;
746
+ resetResultsCount: () => void;
747
+ };
748
+ lastResult: () => Release | {
749
+ device_types_compatible: never[];
750
+ };
751
+ dependencies: [(state: RootState) => Record<string, Deployment>, (state: RootState) => SelectionState, (state: RootState) => Record<string, Release>];
752
+ recomputations: () => number;
753
+ resetRecomputations: () => void;
754
+ dependencyRecomputations: () => number;
755
+ resetDependencyRecomputations: () => void;
756
+ } & {
757
+ memoize: typeof _$reselect.weakMapMemoize;
758
+ argsMemoize: typeof _$reselect.weakMapMemoize;
759
+ };
760
+ declare const getSelectedDeploymentData: ((state: {
761
+ app: AppSliceType;
762
+ devices: DeviceSliceType;
763
+ deployments: DeploymentsSliceType;
764
+ monitor: MonitorSliceType;
765
+ onboarding: OnboardingSliceType;
766
+ organization: OrganizationSliceType;
767
+ releases: ReleaseSliceType;
768
+ users: UserSliceType;
769
+ }) => {
770
+ deployment: Deployment;
771
+ selectedDevices: {
772
+ id: string;
773
+ status: _$_northern_tech_types_types_gen0.DeploymentDeviceStatus;
774
+ created?: string;
775
+ started?: string;
776
+ finished?: string;
777
+ deleted?: string;
778
+ device_type?: string;
779
+ log: boolean;
780
+ state?: string;
781
+ substate?: string;
782
+ attempts?: number;
783
+ phase_id?: string;
784
+ image?: _$_northern_tech_types_types_gen0.DeviceWithImageImage;
785
+ identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
786
+ created_ts?: string;
787
+ updated_ts?: string;
788
+ check_in_time?: string;
789
+ auth_sets?: Array<_$_northern_tech_types_types_gen0.AuthSet>;
790
+ decommissioning?: boolean;
791
+ external_id?: _$_northern_tech_types_types_gen0.ExternalIdentity;
792
+ tier?: "standard" | "micro" | "system";
793
+ attributes: InventoryAttributes;
794
+ identity?: Record<string, string>;
795
+ monitor?: Record<string, string>;
796
+ system: Record<string, string>;
797
+ tags?: Record<string, string>;
798
+ check_in_time_exact?: string;
799
+ check_in_time_rounded?: string;
800
+ config?: _$_northern_tech_types_types_gen0.DeviceConfiguration;
801
+ connect_status?: _$_northern_tech_types_types_gen0.ConnectionState["status"];
802
+ connect_updated_ts?: string;
803
+ deploymentsCount?: number;
804
+ deviceDeployments?: DeviceDeployment;
805
+ etag?: string;
806
+ gatewayIds?: string[];
807
+ group?: string;
808
+ isNew?: boolean;
809
+ isOffline?: boolean;
810
+ monitors?: _$_northern_tech_types_types_gen0.MonitorConfiguration[];
811
+ twinsByIntegration?: Record<string, _$_northern_tech_types_types_gen0.DeviceState & {
812
+ twinError?: string;
813
+ }>;
814
+ }[];
815
+ }) & {
816
+ clearCache: () => void;
817
+ resultsCount: () => number;
818
+ resetResultsCount: () => void;
819
+ } & {
820
+ resultFunc: (resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: SelectionState, resultFuncArgs_2: Record<string, Device>, resultFuncArgs_3: string[]) => {
821
+ deployment: Deployment;
822
+ selectedDevices: {
823
+ id: string;
824
+ status: _$_northern_tech_types_types_gen0.DeploymentDeviceStatus;
825
+ created?: string;
826
+ started?: string;
827
+ finished?: string;
828
+ deleted?: string;
829
+ device_type?: string;
830
+ log: boolean;
831
+ state?: string;
832
+ substate?: string;
833
+ attempts?: number;
834
+ phase_id?: string;
835
+ image?: _$_northern_tech_types_types_gen0.DeviceWithImageImage;
836
+ identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
837
+ created_ts?: string;
838
+ updated_ts?: string;
839
+ check_in_time?: string;
840
+ auth_sets?: Array<_$_northern_tech_types_types_gen0.AuthSet>;
841
+ decommissioning?: boolean;
842
+ external_id?: _$_northern_tech_types_types_gen0.ExternalIdentity;
843
+ tier?: "standard" | "micro" | "system";
844
+ attributes: InventoryAttributes;
845
+ identity?: Record<string, string>;
846
+ monitor?: Record<string, string>;
847
+ system: Record<string, string>;
848
+ tags?: Record<string, string>;
849
+ check_in_time_exact?: string;
850
+ check_in_time_rounded?: string;
851
+ config?: _$_northern_tech_types_types_gen0.DeviceConfiguration;
852
+ connect_status?: _$_northern_tech_types_types_gen0.ConnectionState["status"];
853
+ connect_updated_ts?: string;
854
+ deploymentsCount?: number;
855
+ deviceDeployments?: DeviceDeployment;
856
+ etag?: string;
857
+ gatewayIds?: string[];
858
+ group?: string;
859
+ isNew?: boolean;
860
+ isOffline?: boolean;
861
+ monitors?: _$_northern_tech_types_types_gen0.MonitorConfiguration[];
862
+ twinsByIntegration?: Record<string, _$_northern_tech_types_types_gen0.DeviceState & {
863
+ twinError?: string;
864
+ }>;
865
+ }[];
866
+ };
867
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: SelectionState, resultFuncArgs_2: Record<string, Device>, resultFuncArgs_3: string[]) => {
868
+ deployment: Deployment;
869
+ selectedDevices: {
870
+ id: string;
871
+ status: _$_northern_tech_types_types_gen0.DeploymentDeviceStatus;
872
+ created?: string;
873
+ started?: string;
874
+ finished?: string;
875
+ deleted?: string;
876
+ device_type?: string;
877
+ log: boolean;
878
+ state?: string;
879
+ substate?: string;
880
+ attempts?: number;
881
+ phase_id?: string;
882
+ image?: _$_northern_tech_types_types_gen0.DeviceWithImageImage;
883
+ identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
884
+ created_ts?: string;
885
+ updated_ts?: string;
886
+ check_in_time?: string;
887
+ auth_sets?: Array<_$_northern_tech_types_types_gen0.AuthSet>;
888
+ decommissioning?: boolean;
889
+ external_id?: _$_northern_tech_types_types_gen0.ExternalIdentity;
890
+ tier?: "standard" | "micro" | "system";
891
+ attributes: InventoryAttributes;
892
+ identity?: Record<string, string>;
893
+ monitor?: Record<string, string>;
894
+ system: Record<string, string>;
895
+ tags?: Record<string, string>;
896
+ check_in_time_exact?: string;
897
+ check_in_time_rounded?: string;
898
+ config?: _$_northern_tech_types_types_gen0.DeviceConfiguration;
899
+ connect_status?: _$_northern_tech_types_types_gen0.ConnectionState["status"];
900
+ connect_updated_ts?: string;
901
+ deploymentsCount?: number;
902
+ deviceDeployments?: DeviceDeployment;
903
+ etag?: string;
904
+ gatewayIds?: string[];
905
+ group?: string;
906
+ isNew?: boolean;
907
+ isOffline?: boolean;
908
+ monitors?: _$_northern_tech_types_types_gen0.MonitorConfiguration[];
909
+ twinsByIntegration?: Record<string, _$_northern_tech_types_types_gen0.DeviceState & {
910
+ twinError?: string;
911
+ }>;
912
+ }[];
913
+ }) & {
914
+ clearCache: () => void;
915
+ resultsCount: () => number;
916
+ resetResultsCount: () => void;
917
+ };
918
+ lastResult: () => {
919
+ deployment: Deployment;
920
+ selectedDevices: {
921
+ id: string;
922
+ status: _$_northern_tech_types_types_gen0.DeploymentDeviceStatus;
923
+ created?: string;
924
+ started?: string;
925
+ finished?: string;
926
+ deleted?: string;
927
+ device_type?: string;
928
+ log: boolean;
929
+ state?: string;
930
+ substate?: string;
931
+ attempts?: number;
932
+ phase_id?: string;
933
+ image?: _$_northern_tech_types_types_gen0.DeviceWithImageImage;
934
+ identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
935
+ created_ts?: string;
936
+ updated_ts?: string;
937
+ check_in_time?: string;
938
+ auth_sets?: Array<_$_northern_tech_types_types_gen0.AuthSet>;
939
+ decommissioning?: boolean;
940
+ external_id?: _$_northern_tech_types_types_gen0.ExternalIdentity;
941
+ tier?: "standard" | "micro" | "system";
942
+ attributes: InventoryAttributes;
943
+ identity?: Record<string, string>;
944
+ monitor?: Record<string, string>;
945
+ system: Record<string, string>;
946
+ tags?: Record<string, string>;
947
+ check_in_time_exact?: string;
948
+ check_in_time_rounded?: string;
949
+ config?: _$_northern_tech_types_types_gen0.DeviceConfiguration;
950
+ connect_status?: _$_northern_tech_types_types_gen0.ConnectionState["status"];
951
+ connect_updated_ts?: string;
952
+ deploymentsCount?: number;
953
+ deviceDeployments?: DeviceDeployment;
954
+ etag?: string;
955
+ gatewayIds?: string[];
956
+ group?: string;
957
+ isNew?: boolean;
958
+ isOffline?: boolean;
959
+ monitors?: _$_northern_tech_types_types_gen0.MonitorConfiguration[];
960
+ twinsByIntegration?: Record<string, _$_northern_tech_types_types_gen0.DeviceState & {
961
+ twinError?: string;
962
+ }>;
963
+ }[];
964
+ };
965
+ dependencies: [(state: RootState) => Record<string, Deployment>, (state: RootState) => SelectionState, (state: RootState) => Record<string, Device>, (state: RootState) => string[]];
966
+ recomputations: () => number;
967
+ resetRecomputations: () => void;
968
+ dependencyRecomputations: () => number;
969
+ resetDependencyRecomputations: () => void;
970
+ } & {
971
+ memoize: typeof _$reselect.weakMapMemoize;
972
+ argsMemoize: typeof _$reselect.weakMapMemoize;
973
+ };
974
+ declare const getAvailableIssueOptionsByType: ((state: {
975
+ app: AppSliceType;
976
+ devices: DeviceSliceType;
977
+ deployments: DeploymentsSliceType;
978
+ monitor: MonitorSliceType;
979
+ onboarding: OnboardingSliceType;
980
+ organization: OrganizationSliceType;
981
+ releases: ReleaseSliceType;
982
+ users: UserSliceType;
983
+ }) => Record<string, {
984
+ count: number;
985
+ key: string;
986
+ title: string;
987
+ }>) & {
988
+ clearCache: () => void;
989
+ resultsCount: () => number;
990
+ resetResultsCount: () => void;
991
+ } & {
992
+ resultFunc: (resultFuncArgs_0: {
993
+ canDelta: boolean;
994
+ canRetry: boolean;
995
+ canSchedule: boolean;
996
+ hasAuditlogs: boolean;
997
+ hasDeviceConfig: boolean;
998
+ hasDeviceConnect: boolean;
999
+ hasFullFiltering: boolean;
1000
+ hasMonitor: boolean;
1001
+ isEnterprise: boolean;
1002
+ plan: AvailablePlans;
1003
+ }, resultFuncArgs_1: {
1004
+ [x: string]: {
1005
+ filtered: number;
1006
+ total: number;
1007
+ };
1008
+ }) => Record<string, {
1009
+ count: number;
1010
+ key: string;
1011
+ title: string;
1012
+ }>;
1013
+ memoizedResultFunc: ((resultFuncArgs_0: {
1014
+ canDelta: boolean;
1015
+ canRetry: boolean;
1016
+ canSchedule: boolean;
1017
+ hasAuditlogs: boolean;
1018
+ hasDeviceConfig: boolean;
1019
+ hasDeviceConnect: boolean;
1020
+ hasFullFiltering: boolean;
1021
+ hasMonitor: boolean;
1022
+ isEnterprise: boolean;
1023
+ plan: AvailablePlans;
1024
+ }, resultFuncArgs_1: {
1025
+ [x: string]: {
1026
+ filtered: number;
1027
+ total: number;
1028
+ };
1029
+ }) => Record<string, {
1030
+ count: number;
1031
+ key: string;
1032
+ title: string;
1033
+ }>) & {
1034
+ clearCache: () => void;
1035
+ resultsCount: () => number;
1036
+ resetResultsCount: () => void;
1037
+ };
1038
+ lastResult: () => Record<string, {
1039
+ count: number;
1040
+ key: string;
1041
+ title: string;
1042
+ }>;
1043
+ dependencies: [((state: {
606
1044
  app: AppSliceType;
607
1045
  devices: DeviceSliceType;
608
1046
  deployments: DeploymentsSliceType;
@@ -611,36 +1049,155 @@ declare const getDeploymentRelease: ((state: {
611
1049
  organization: OrganizationSliceType;
612
1050
  releases: ReleaseSliceType;
613
1051
  users: UserSliceType;
614
- }) => Release | {
615
- device_types_compatible: never[];
616
- }) & {
1052
+ }) => {
1053
+ canDelta: boolean;
1054
+ canRetry: boolean;
1055
+ canSchedule: boolean;
1056
+ hasAuditlogs: boolean;
1057
+ hasDeviceConfig: boolean;
1058
+ hasDeviceConnect: boolean;
1059
+ hasFullFiltering: boolean;
1060
+ hasMonitor: boolean;
1061
+ isEnterprise: boolean;
1062
+ plan: AvailablePlans;
1063
+ }) & {
617
1064
  clearCache: () => void;
618
1065
  resultsCount: () => number;
619
1066
  resetResultsCount: () => void;
620
- } & {
621
- resultFunc: (resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: SelectionState, resultFuncArgs_2: Record<string, Release>) => Release | {
622
- device_types_compatible: never[];
1067
+ } & {
1068
+ resultFunc: (resultFuncArgs_0: Record<string, boolean>, resultFuncArgs_1: Partial<Organization>, resultFuncArgs_2: boolean) => {
1069
+ canDelta: boolean;
1070
+ canRetry: boolean;
1071
+ canSchedule: boolean;
1072
+ hasAuditlogs: boolean;
1073
+ hasDeviceConfig: boolean;
1074
+ hasDeviceConnect: boolean;
1075
+ hasFullFiltering: boolean;
1076
+ hasMonitor: boolean;
1077
+ isEnterprise: boolean;
1078
+ plan: AvailablePlans;
623
1079
  };
624
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: SelectionState, resultFuncArgs_2: Record<string, Release>) => Release | {
625
- device_types_compatible: never[];
1080
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, boolean>, resultFuncArgs_1: Partial<Organization>, resultFuncArgs_2: boolean) => {
1081
+ canDelta: boolean;
1082
+ canRetry: boolean;
1083
+ canSchedule: boolean;
1084
+ hasAuditlogs: boolean;
1085
+ hasDeviceConfig: boolean;
1086
+ hasDeviceConnect: boolean;
1087
+ hasFullFiltering: boolean;
1088
+ hasMonitor: boolean;
1089
+ isEnterprise: boolean;
1090
+ plan: AvailablePlans;
626
1091
  }) & {
1092
+ clearCache: () => void;
1093
+ resultsCount: () => number;
1094
+ resetResultsCount: () => void;
1095
+ };
1096
+ lastResult: () => {
1097
+ canDelta: boolean;
1098
+ canRetry: boolean;
1099
+ canSchedule: boolean;
1100
+ hasAuditlogs: boolean;
1101
+ hasDeviceConfig: boolean;
1102
+ hasDeviceConnect: boolean;
1103
+ hasFullFiltering: boolean;
1104
+ hasMonitor: boolean;
1105
+ isEnterprise: boolean;
1106
+ plan: AvailablePlans;
1107
+ };
1108
+ dependencies: [(state: RootState) => Record<string, boolean>, (state: RootState) => Partial<Organization>, ((state: {
1109
+ app: AppSliceType;
1110
+ devices: DeviceSliceType;
1111
+ deployments: DeploymentsSliceType;
1112
+ monitor: MonitorSliceType;
1113
+ onboarding: OnboardingSliceType;
1114
+ organization: OrganizationSliceType;
1115
+ releases: ReleaseSliceType;
1116
+ users: UserSliceType;
1117
+ }) => boolean) & {
1118
+ clearCache: () => void;
1119
+ resultsCount: () => number;
1120
+ resetResultsCount: () => void;
1121
+ } & {
1122
+ resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
1123
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
627
1124
  clearCache: () => void;
628
1125
  resultsCount: () => number;
629
1126
  resetResultsCount: () => void;
630
- };
631
- lastResult: () => Release | {
632
- device_types_compatible: never[];
633
- };
634
- dependencies: [(state: RootState) => Record<string, Deployment>, (state: RootState) => SelectionState, (state: RootState) => Record<string, Release>];
1127
+ };
1128
+ lastResult: () => boolean;
1129
+ dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
1130
+ recomputations: () => number;
1131
+ resetRecomputations: () => void;
1132
+ dependencyRecomputations: () => number;
1133
+ resetDependencyRecomputations: () => void;
1134
+ } & {
1135
+ memoize: typeof _$reselect.weakMapMemoize;
1136
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1137
+ }];
635
1138
  recomputations: () => number;
636
1139
  resetRecomputations: () => void;
637
1140
  dependencyRecomputations: () => number;
638
1141
  resetDependencyRecomputations: () => void;
1142
+ } & {
1143
+ memoize: typeof _$reselect.weakMapMemoize;
1144
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1145
+ }, (state: RootState) => {
1146
+ [x: string]: {
1147
+ filtered: number;
1148
+ total: number;
1149
+ };
1150
+ }];
1151
+ recomputations: () => number;
1152
+ resetRecomputations: () => void;
1153
+ dependencyRecomputations: () => number;
1154
+ resetDependencyRecomputations: () => void;
639
1155
  } & {
640
- memoize: typeof reselect.weakMapMemoize;
641
- argsMemoize: typeof reselect.weakMapMemoize;
1156
+ memoize: typeof _$reselect.weakMapMemoize;
1157
+ argsMemoize: typeof _$reselect.weakMapMemoize;
642
1158
  };
643
- declare const getSelectedDeploymentData: ((state: {
1159
+ declare const getGroupNames: ((state: {
1160
+ app: AppSliceType;
1161
+ devices: DeviceSliceType;
1162
+ deployments: DeploymentsSliceType;
1163
+ monitor: MonitorSliceType;
1164
+ onboarding: OnboardingSliceType;
1165
+ organization: OrganizationSliceType;
1166
+ releases: ReleaseSliceType;
1167
+ users: UserSliceType;
1168
+ }) => string[]) & {
1169
+ clearCache: () => void;
1170
+ resultsCount: () => number;
1171
+ resetResultsCount: () => void;
1172
+ } & {
1173
+ resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>, resultFuncArgs_1: {
1174
+ isAdmin: boolean;
1175
+ uiPermissions: Readonly<{
1176
+ auditlog: string[];
1177
+ deployments?: string[];
1178
+ groups: Record<string, string[]>;
1179
+ releases: Record<string, string[]>;
1180
+ tenantManagement: string[];
1181
+ userManagement: string[];
1182
+ }>;
1183
+ }) => string[];
1184
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>, resultFuncArgs_1: {
1185
+ isAdmin: boolean;
1186
+ uiPermissions: Readonly<{
1187
+ auditlog: string[];
1188
+ deployments?: string[];
1189
+ groups: Record<string, string[]>;
1190
+ releases: Record<string, string[]>;
1191
+ tenantManagement: string[];
1192
+ userManagement: string[];
1193
+ }>;
1194
+ }) => string[]) & {
1195
+ clearCache: () => void;
1196
+ resultsCount: () => number;
1197
+ resetResultsCount: () => void;
1198
+ };
1199
+ lastResult: () => string[];
1200
+ dependencies: [(state: RootState) => Record<string, DeviceGroup>, ((state: {
644
1201
  app: AppSliceType;
645
1202
  devices: DeviceSliceType;
646
1203
  deployments: DeploymentsSliceType;
@@ -649,320 +1206,155 @@ declare const getSelectedDeploymentData: ((state: {
649
1206
  organization: OrganizationSliceType;
650
1207
  releases: ReleaseSliceType;
651
1208
  users: UserSliceType;
652
- }) => {
653
- deployment: any;
654
- selectedDevices: any[];
655
- }) & {
1209
+ }) => {
1210
+ isAdmin: boolean;
1211
+ uiPermissions: Readonly<{
1212
+ auditlog: string[];
1213
+ deployments?: string[];
1214
+ groups: Record<string, string[]>;
1215
+ releases: Record<string, string[]>;
1216
+ tenantManagement: string[];
1217
+ userManagement: string[];
1218
+ }>;
1219
+ }) & {
656
1220
  clearCache: () => void;
657
1221
  resultsCount: () => number;
658
1222
  resetResultsCount: () => void;
659
- } & {
660
- resultFunc: (resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: SelectionState, resultFuncArgs_2: Record<string, Device>, resultFuncArgs_3: string[]) => {
661
- deployment: any;
662
- selectedDevices: any[];
1223
+ } & {
1224
+ resultFunc: (resultFuncArgs_0: User, resultFuncArgs_1: Record<string, Role>, resultFuncArgs_2: boolean) => {
1225
+ isAdmin: boolean;
1226
+ uiPermissions: Readonly<{
1227
+ auditlog: string[];
1228
+ deployments?: string[];
1229
+ groups: Record<string, string[]>;
1230
+ releases: Record<string, string[]>;
1231
+ tenantManagement: string[];
1232
+ userManagement: string[];
1233
+ }>;
663
1234
  };
664
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: SelectionState, resultFuncArgs_2: Record<string, Device>, resultFuncArgs_3: string[]) => {
665
- deployment: any;
666
- selectedDevices: any[];
1235
+ memoizedResultFunc: ((resultFuncArgs_0: User, resultFuncArgs_1: Record<string, Role>, resultFuncArgs_2: boolean) => {
1236
+ isAdmin: boolean;
1237
+ uiPermissions: Readonly<{
1238
+ auditlog: string[];
1239
+ deployments?: string[];
1240
+ groups: Record<string, string[]>;
1241
+ releases: Record<string, string[]>;
1242
+ tenantManagement: string[];
1243
+ userManagement: string[];
1244
+ }>;
667
1245
  }) & {
668
- clearCache: () => void;
669
- resultsCount: () => number;
670
- resetResultsCount: () => void;
1246
+ clearCache: () => void;
1247
+ resultsCount: () => number;
1248
+ resetResultsCount: () => void;
671
1249
  };
672
1250
  lastResult: () => {
673
- deployment: any;
674
- selectedDevices: any[];
675
- };
676
- dependencies: [(state: RootState) => Record<string, Deployment>, (state: RootState) => SelectionState, (state: RootState) => Record<string, Device>, (state: RootState) => string[]];
677
- recomputations: () => number;
678
- resetRecomputations: () => void;
679
- dependencyRecomputations: () => number;
680
- resetDependencyRecomputations: () => void;
681
- } & {
682
- memoize: typeof reselect.weakMapMemoize;
683
- argsMemoize: typeof reselect.weakMapMemoize;
684
- };
685
- declare const getAvailableIssueOptionsByType: ((state: any) => {}) & {
686
- clearCache: () => void;
687
- resultsCount: () => number;
688
- resetResultsCount: () => void;
689
- } & {
690
- resultFunc: (resultFuncArgs_0: {
691
- canDelta: boolean;
692
- canRetry: boolean;
693
- canSchedule: boolean;
694
- hasAuditlogs: boolean;
695
- hasDeviceConfig: boolean;
696
- hasDeviceConnect: boolean;
697
- hasFullFiltering: boolean;
698
- hasMonitor: boolean;
699
- isEnterprise: boolean;
700
- plan: AvailablePlans;
701
- }, resultFuncArgs_1: any) => {};
702
- memoizedResultFunc: ((resultFuncArgs_0: {
703
- canDelta: boolean;
704
- canRetry: boolean;
705
- canSchedule: boolean;
706
- hasAuditlogs: boolean;
707
- hasDeviceConfig: boolean;
708
- hasDeviceConnect: boolean;
709
- hasFullFiltering: boolean;
710
- hasMonitor: boolean;
711
- isEnterprise: boolean;
712
- plan: AvailablePlans;
713
- }, resultFuncArgs_1: any) => {}) & {
714
- clearCache: () => void;
715
- resultsCount: () => number;
716
- resetResultsCount: () => void;
1251
+ isAdmin: boolean;
1252
+ uiPermissions: Readonly<{
1253
+ auditlog: string[];
1254
+ deployments?: string[];
1255
+ groups: Record<string, string[]>;
1256
+ releases: Record<string, string[]>;
1257
+ tenantManagement: string[];
1258
+ userManagement: string[];
1259
+ }>;
717
1260
  };
718
- lastResult: () => {};
719
1261
  dependencies: [((state: {
720
- app: AppSliceType;
721
- devices: DeviceSliceType;
722
- deployments: DeploymentsSliceType;
723
- monitor: MonitorSliceType;
724
- onboarding: OnboardingSliceType;
725
- organization: OrganizationSliceType;
726
- releases: ReleaseSliceType;
727
- users: UserSliceType;
728
- }) => {
729
- canDelta: boolean;
730
- canRetry: boolean;
731
- canSchedule: boolean;
732
- hasAuditlogs: boolean;
733
- hasDeviceConfig: boolean;
734
- hasDeviceConnect: boolean;
735
- hasFullFiltering: boolean;
736
- hasMonitor: boolean;
737
- isEnterprise: boolean;
738
- plan: AvailablePlans;
739
- }) & {
1262
+ app: AppSliceType;
1263
+ devices: DeviceSliceType;
1264
+ deployments: DeploymentsSliceType;
1265
+ monitor: MonitorSliceType;
1266
+ onboarding: OnboardingSliceType;
1267
+ organization: OrganizationSliceType;
1268
+ releases: ReleaseSliceType;
1269
+ users: UserSliceType;
1270
+ }) => User) & {
1271
+ clearCache: () => void;
1272
+ resultsCount: () => number;
1273
+ resetResultsCount: () => void;
1274
+ } & {
1275
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
1276
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
740
1277
  clearCache: () => void;
741
1278
  resultsCount: () => number;
742
1279
  resetResultsCount: () => void;
1280
+ };
1281
+ lastResult: () => User;
1282
+ dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
1283
+ recomputations: () => number;
1284
+ resetRecomputations: () => void;
1285
+ dependencyRecomputations: () => number;
1286
+ resetDependencyRecomputations: () => void;
743
1287
  } & {
744
- resultFunc: (resultFuncArgs_0: Record<string, boolean>, resultFuncArgs_1: Partial<Organization>, resultFuncArgs_2: boolean) => {
745
- canDelta: boolean;
746
- canRetry: boolean;
747
- canSchedule: boolean;
748
- hasAuditlogs: boolean;
749
- hasDeviceConfig: boolean;
750
- hasDeviceConnect: boolean;
751
- hasFullFiltering: boolean;
752
- hasMonitor: boolean;
753
- isEnterprise: boolean;
754
- plan: AvailablePlans;
755
- };
756
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, boolean>, resultFuncArgs_1: Partial<Organization>, resultFuncArgs_2: boolean) => {
757
- canDelta: boolean;
758
- canRetry: boolean;
759
- canSchedule: boolean;
760
- hasAuditlogs: boolean;
761
- hasDeviceConfig: boolean;
762
- hasDeviceConnect: boolean;
763
- hasFullFiltering: boolean;
764
- hasMonitor: boolean;
765
- isEnterprise: boolean;
766
- plan: AvailablePlans;
767
- }) & {
768
- clearCache: () => void;
769
- resultsCount: () => number;
770
- resetResultsCount: () => void;
771
- };
772
- lastResult: () => {
773
- canDelta: boolean;
774
- canRetry: boolean;
775
- canSchedule: boolean;
776
- hasAuditlogs: boolean;
777
- hasDeviceConfig: boolean;
778
- hasDeviceConnect: boolean;
779
- hasFullFiltering: boolean;
780
- hasMonitor: boolean;
781
- isEnterprise: boolean;
782
- plan: AvailablePlans;
783
- };
784
- dependencies: [(state: RootState) => Record<string, boolean>, (state: RootState) => Partial<Organization>, ((state: {
785
- app: AppSliceType;
786
- devices: DeviceSliceType;
787
- deployments: DeploymentsSliceType;
788
- monitor: MonitorSliceType;
789
- onboarding: OnboardingSliceType;
790
- organization: OrganizationSliceType;
791
- releases: ReleaseSliceType;
792
- users: UserSliceType;
793
- }) => boolean) & {
794
- clearCache: () => void;
795
- resultsCount: () => number;
796
- resetResultsCount: () => void;
797
- } & {
798
- resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
799
- memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
800
- clearCache: () => void;
801
- resultsCount: () => number;
802
- resetResultsCount: () => void;
803
- };
804
- lastResult: () => boolean;
805
- dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
806
- recomputations: () => number;
807
- resetRecomputations: () => void;
808
- dependencyRecomputations: () => number;
809
- resetDependencyRecomputations: () => void;
810
- } & {
811
- memoize: typeof reselect.weakMapMemoize;
812
- argsMemoize: typeof reselect.weakMapMemoize;
813
- }];
814
- recomputations: () => number;
815
- resetRecomputations: () => void;
816
- dependencyRecomputations: () => number;
817
- resetDependencyRecomputations: () => void;
1288
+ memoize: typeof _$reselect.weakMapMemoize;
1289
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1290
+ }, (state: RootState) => Record<string, Role>, ((state: {
1291
+ app: AppSliceType;
1292
+ devices: DeviceSliceType;
1293
+ deployments: DeploymentsSliceType;
1294
+ monitor: MonitorSliceType;
1295
+ onboarding: OnboardingSliceType;
1296
+ organization: OrganizationSliceType;
1297
+ releases: ReleaseSliceType;
1298
+ users: UserSliceType;
1299
+ }) => boolean) & {
1300
+ clearCache: () => void;
1301
+ resultsCount: () => number;
1302
+ resetResultsCount: () => void;
818
1303
  } & {
819
- memoize: typeof reselect.weakMapMemoize;
820
- argsMemoize: typeof reselect.weakMapMemoize;
821
- }, (state: any) => any];
822
- recomputations: () => number;
823
- resetRecomputations: () => void;
824
- dependencyRecomputations: () => number;
825
- resetDependencyRecomputations: () => void;
826
- } & {
827
- memoize: typeof reselect.weakMapMemoize;
828
- argsMemoize: typeof reselect.weakMapMemoize;
829
- };
830
- declare const getGroupNames: ((state: {
831
- app: AppSliceType;
832
- devices: DeviceSliceType;
833
- deployments: DeploymentsSliceType;
834
- monitor: MonitorSliceType;
835
- onboarding: OnboardingSliceType;
836
- organization: OrganizationSliceType;
837
- releases: ReleaseSliceType;
838
- users: UserSliceType;
839
- }) => string[]) & {
840
- clearCache: () => void;
841
- resultsCount: () => number;
842
- resetResultsCount: () => void;
843
- } & {
844
- resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>, resultFuncArgs_1: {
845
- isAdmin: boolean;
846
- uiPermissions: any;
847
- }) => string[];
848
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>, resultFuncArgs_1: {
849
- isAdmin: boolean;
850
- uiPermissions: any;
851
- }) => string[]) & {
852
- clearCache: () => void;
853
- resultsCount: () => number;
854
- resetResultsCount: () => void;
855
- };
856
- lastResult: () => string[];
857
- dependencies: [(state: RootState) => Record<string, DeviceGroup>, ((state: {
858
- app: AppSliceType;
859
- devices: DeviceSliceType;
860
- deployments: DeploymentsSliceType;
861
- monitor: MonitorSliceType;
862
- onboarding: OnboardingSliceType;
863
- organization: OrganizationSliceType;
864
- releases: ReleaseSliceType;
865
- users: UserSliceType;
866
- }) => {
867
- isAdmin: boolean;
868
- uiPermissions: any;
869
- }) & {
1304
+ resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
1305
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
870
1306
  clearCache: () => void;
871
1307
  resultsCount: () => number;
872
1308
  resetResultsCount: () => void;
1309
+ };
1310
+ lastResult: () => boolean;
1311
+ dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
1312
+ recomputations: () => number;
1313
+ resetRecomputations: () => void;
1314
+ dependencyRecomputations: () => number;
1315
+ resetDependencyRecomputations: () => void;
873
1316
  } & {
874
- resultFunc: (resultFuncArgs_0: User, resultFuncArgs_1: Record<string, _northern_tech_utils_constants.Role>, resultFuncArgs_2: boolean) => {
875
- isAdmin: boolean;
876
- uiPermissions: any;
877
- };
878
- memoizedResultFunc: ((resultFuncArgs_0: User, resultFuncArgs_1: Record<string, _northern_tech_utils_constants.Role>, resultFuncArgs_2: boolean) => {
879
- isAdmin: boolean;
880
- uiPermissions: any;
881
- }) & {
882
- clearCache: () => void;
883
- resultsCount: () => number;
884
- resetResultsCount: () => void;
885
- };
886
- lastResult: () => {
887
- isAdmin: boolean;
888
- uiPermissions: any;
889
- };
890
- dependencies: [((state: {
891
- app: AppSliceType;
892
- devices: DeviceSliceType;
893
- deployments: DeploymentsSliceType;
894
- monitor: MonitorSliceType;
895
- onboarding: OnboardingSliceType;
896
- organization: OrganizationSliceType;
897
- releases: ReleaseSliceType;
898
- users: UserSliceType;
899
- }) => User) & {
900
- clearCache: () => void;
901
- resultsCount: () => number;
902
- resetResultsCount: () => void;
903
- } & {
904
- resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
905
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
906
- clearCache: () => void;
907
- resultsCount: () => number;
908
- resetResultsCount: () => void;
909
- };
910
- lastResult: () => User;
911
- dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
912
- recomputations: () => number;
913
- resetRecomputations: () => void;
914
- dependencyRecomputations: () => number;
915
- resetDependencyRecomputations: () => void;
916
- } & {
917
- memoize: typeof reselect.weakMapMemoize;
918
- argsMemoize: typeof reselect.weakMapMemoize;
919
- }, (state: RootState) => Record<string, _northern_tech_utils_constants.Role>, ((state: {
920
- app: AppSliceType;
921
- devices: DeviceSliceType;
922
- deployments: DeploymentsSliceType;
923
- monitor: MonitorSliceType;
924
- onboarding: OnboardingSliceType;
925
- organization: OrganizationSliceType;
926
- releases: ReleaseSliceType;
927
- users: UserSliceType;
928
- }) => boolean) & {
929
- clearCache: () => void;
930
- resultsCount: () => number;
931
- resetResultsCount: () => void;
932
- } & {
933
- resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
934
- memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
935
- clearCache: () => void;
936
- resultsCount: () => number;
937
- resetResultsCount: () => void;
938
- };
939
- lastResult: () => boolean;
940
- dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
941
- recomputations: () => number;
942
- resetRecomputations: () => void;
943
- dependencyRecomputations: () => number;
944
- resetDependencyRecomputations: () => void;
945
- } & {
946
- memoize: typeof reselect.weakMapMemoize;
947
- argsMemoize: typeof reselect.weakMapMemoize;
948
- }];
949
- recomputations: () => number;
950
- resetRecomputations: () => void;
951
- dependencyRecomputations: () => number;
952
- resetDependencyRecomputations: () => void;
953
- } & {
954
- memoize: typeof reselect.weakMapMemoize;
955
- argsMemoize: typeof reselect.weakMapMemoize;
1317
+ memoize: typeof _$reselect.weakMapMemoize;
1318
+ argsMemoize: typeof _$reselect.weakMapMemoize;
956
1319
  }];
957
1320
  recomputations: () => number;
958
1321
  resetRecomputations: () => void;
959
1322
  dependencyRecomputations: () => number;
960
1323
  resetDependencyRecomputations: () => void;
1324
+ } & {
1325
+ memoize: typeof _$reselect.weakMapMemoize;
1326
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1327
+ }];
1328
+ recomputations: () => number;
1329
+ resetRecomputations: () => void;
1330
+ dependencyRecomputations: () => number;
1331
+ resetDependencyRecomputations: () => void;
961
1332
  } & {
962
- memoize: typeof reselect.weakMapMemoize;
963
- argsMemoize: typeof reselect.weakMapMemoize;
1333
+ memoize: typeof _$reselect.weakMapMemoize;
1334
+ argsMemoize: typeof _$reselect.weakMapMemoize;
964
1335
  };
965
1336
  declare const getDeviceReportsForUser: ((state: {
1337
+ app: AppSliceType;
1338
+ devices: DeviceSliceType;
1339
+ deployments: DeploymentsSliceType;
1340
+ monitor: MonitorSliceType;
1341
+ onboarding: OnboardingSliceType;
1342
+ organization: OrganizationSliceType;
1343
+ releases: ReleaseSliceType;
1344
+ users: UserSliceType;
1345
+ }) => any) & {
1346
+ clearCache: () => void;
1347
+ resultsCount: () => number;
1348
+ resetResultsCount: () => void;
1349
+ } & {
1350
+ resultFunc: (resultFuncArgs_0: UserSettings, resultFuncArgs_1: User, resultFuncArgs_2: GlobalSettings, resultFuncArgs_3: Record<string, Device>) => any;
1351
+ memoizedResultFunc: ((resultFuncArgs_0: UserSettings, resultFuncArgs_1: User, resultFuncArgs_2: GlobalSettings, resultFuncArgs_3: Record<string, Device>) => any) & {
1352
+ clearCache: () => void;
1353
+ resultsCount: () => number;
1354
+ resetResultsCount: () => void;
1355
+ };
1356
+ lastResult: () => any;
1357
+ dependencies: [(state: RootState) => UserSettings, ((state: {
966
1358
  app: AppSliceType;
967
1359
  devices: DeviceSliceType;
968
1360
  deployments: DeploymentsSliceType;
@@ -971,111 +1363,127 @@ declare const getDeviceReportsForUser: ((state: {
971
1363
  organization: OrganizationSliceType;
972
1364
  releases: ReleaseSliceType;
973
1365
  users: UserSliceType;
974
- }) => any) & {
1366
+ }) => User) & {
975
1367
  clearCache: () => void;
976
1368
  resultsCount: () => number;
977
1369
  resetResultsCount: () => void;
978
- } & {
979
- resultFunc: (resultFuncArgs_0: UserSettings, resultFuncArgs_1: User, resultFuncArgs_2: GlobalSettings, resultFuncArgs_3: Record<string, Device>) => any;
980
- memoizedResultFunc: ((resultFuncArgs_0: UserSettings, resultFuncArgs_1: User, resultFuncArgs_2: GlobalSettings, resultFuncArgs_3: Record<string, Device>) => any) & {
981
- clearCache: () => void;
982
- resultsCount: () => number;
983
- resetResultsCount: () => void;
1370
+ } & {
1371
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
1372
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
1373
+ clearCache: () => void;
1374
+ resultsCount: () => number;
1375
+ resetResultsCount: () => void;
984
1376
  };
985
- lastResult: () => any;
986
- dependencies: [(state: RootState) => UserSettings, ((state: {
987
- app: AppSliceType;
988
- devices: DeviceSliceType;
989
- deployments: DeploymentsSliceType;
990
- monitor: MonitorSliceType;
991
- onboarding: OnboardingSliceType;
992
- organization: OrganizationSliceType;
993
- releases: ReleaseSliceType;
994
- users: UserSliceType;
995
- }) => User) & {
996
- clearCache: () => void;
997
- resultsCount: () => number;
998
- resetResultsCount: () => void;
999
- } & {
1000
- resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
1001
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
1002
- clearCache: () => void;
1003
- resultsCount: () => number;
1004
- resetResultsCount: () => void;
1005
- };
1006
- lastResult: () => User;
1007
- dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
1008
- recomputations: () => number;
1009
- resetRecomputations: () => void;
1010
- dependencyRecomputations: () => number;
1011
- resetDependencyRecomputations: () => void;
1012
- } & {
1013
- memoize: typeof reselect.weakMapMemoize;
1014
- argsMemoize: typeof reselect.weakMapMemoize;
1015
- }, (state: RootState) => GlobalSettings, (state: RootState) => Record<string, Device>];
1377
+ lastResult: () => User;
1378
+ dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
1016
1379
  recomputations: () => number;
1017
1380
  resetRecomputations: () => void;
1018
1381
  dependencyRecomputations: () => number;
1019
1382
  resetDependencyRecomputations: () => void;
1383
+ } & {
1384
+ memoize: typeof _$reselect.weakMapMemoize;
1385
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1386
+ }, (state: RootState) => GlobalSettings, (state: RootState) => Record<string, Device>];
1387
+ recomputations: () => number;
1388
+ resetRecomputations: () => void;
1389
+ dependencyRecomputations: () => number;
1390
+ resetDependencyRecomputations: () => void;
1020
1391
  } & {
1021
- memoize: typeof reselect.weakMapMemoize;
1022
- argsMemoize: typeof reselect.weakMapMemoize;
1392
+ memoize: typeof _$reselect.weakMapMemoize;
1393
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1023
1394
  };
1024
- declare const getMappedDevicesList: ((state: any, listType: any) => unknown[]) & {
1395
+ declare const getMappedDevicesList: ((state: any, listType: any) => object[]) & {
1396
+ clearCache: () => void;
1397
+ resultsCount: () => number;
1398
+ resetResultsCount: () => void;
1399
+ } & {
1400
+ resultFunc: (...resultFuncArgs: any) => object[];
1401
+ memoizedResultFunc: ((...resultFuncArgs: any) => object[]) & {
1025
1402
  clearCache: () => void;
1026
1403
  resultsCount: () => number;
1027
1404
  resetResultsCount: () => void;
1028
- } & {
1029
- resultFunc: (...resultFuncArgs: any) => unknown[];
1030
- memoizedResultFunc: ((...resultFuncArgs: any) => unknown[]) & {
1031
- clearCache: () => void;
1032
- resultsCount: () => number;
1033
- resetResultsCount: () => void;
1405
+ };
1406
+ lastResult: () => object[];
1407
+ dependencies: [(state: RootState) => Record<string, Device>, (state: any, listType: any) => any, () => {
1408
+ defaultObject: {
1409
+ auth_sets: never[];
1034
1410
  };
1035
- lastResult: () => unknown[];
1036
- dependencies: [(state: RootState) => Record<string, Device>, (state: any, listType: any) => any, () => {
1037
- defaultObject: {
1038
- auth_sets: never[];
1039
- };
1040
- cutOffSize: number;
1041
- }];
1042
- recomputations: () => number;
1043
- resetRecomputations: () => void;
1044
- dependencyRecomputations: () => number;
1045
- resetDependencyRecomputations: () => void;
1411
+ cutOffSize: number;
1412
+ }];
1413
+ recomputations: () => number;
1414
+ resetRecomputations: () => void;
1415
+ dependencyRecomputations: () => number;
1416
+ resetDependencyRecomputations: () => void;
1046
1417
  } & {
1047
- memoize: typeof reselect.weakMapMemoize;
1048
- argsMemoize: typeof reselect.weakMapMemoize;
1418
+ memoize: typeof _$reselect.weakMapMemoize;
1419
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1049
1420
  };
1050
1421
  declare const getAuditlogDevice: ((state: {
1051
- app: AppSliceType;
1052
- devices: DeviceSliceType;
1053
- deployments: DeploymentsSliceType;
1054
- monitor: MonitorSliceType;
1055
- onboarding: OnboardingSliceType;
1056
- organization: OrganizationSliceType;
1057
- releases: ReleaseSliceType;
1058
- users: UserSliceType;
1422
+ app: AppSliceType;
1423
+ devices: DeviceSliceType;
1424
+ deployments: DeploymentsSliceType;
1425
+ monitor: MonitorSliceType;
1426
+ onboarding: OnboardingSliceType;
1427
+ organization: OrganizationSliceType;
1428
+ releases: ReleaseSliceType;
1429
+ users: UserSliceType;
1059
1430
  }) => {
1060
- id: string;
1061
- identity_data?: _northern_tech_types_types_gen.IdentityData;
1062
- status: ("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _northern_tech_types_types_gen.Status;
1431
+ id?: string;
1432
+ identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1433
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1434
+ created_ts?: string;
1435
+ updated_ts?: string;
1436
+ check_in_time?: string;
1437
+ auth_sets?: Array<_$_northern_tech_types_types_gen0.AuthSet>;
1438
+ decommissioning?: boolean;
1439
+ external_id?: _$_northern_tech_types_types_gen0.ExternalIdentity;
1440
+ tier?: "standard" | "micro" | "system";
1441
+ attributes?: InventoryAttributes | undefined;
1442
+ identity?: Record<string, string>;
1443
+ monitor?: Record<string, string>;
1444
+ system?: Record<string, string> | undefined;
1445
+ tags?: Record<string, string>;
1446
+ check_in_time_exact?: string;
1447
+ check_in_time_rounded?: string;
1448
+ config?: _$_northern_tech_types_types_gen0.DeviceConfiguration;
1449
+ connect_status?: _$_northern_tech_types_types_gen0.ConnectionState["status"];
1450
+ connect_updated_ts?: string;
1451
+ deploymentsCount?: number;
1452
+ deviceDeployments?: DeviceDeployment;
1453
+ etag?: string;
1454
+ gatewayIds?: string[];
1455
+ group?: string;
1456
+ isNew?: boolean;
1457
+ isOffline?: boolean;
1458
+ monitors?: _$_northern_tech_types_types_gen0.MonitorConfiguration[];
1459
+ twinsByIntegration?: Record<string, _$_northern_tech_types_types_gen0.DeviceState & {
1460
+ twinError?: string;
1461
+ }>;
1462
+ }) & {
1463
+ clearCache: () => void;
1464
+ resultsCount: () => number;
1465
+ resetResultsCount: () => void;
1466
+ } & {
1467
+ resultFunc: (resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1468
+ id?: string;
1469
+ identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1470
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1063
1471
  created_ts?: string;
1064
1472
  updated_ts?: string;
1065
1473
  check_in_time?: string;
1066
- auth_sets?: Array<_northern_tech_types_types_gen.AuthSet>;
1474
+ auth_sets?: Array<_$_northern_tech_types_types_gen0.AuthSet>;
1067
1475
  decommissioning?: boolean;
1068
- external_id?: _northern_tech_types_types_gen.ExternalIdentity;
1476
+ external_id?: _$_northern_tech_types_types_gen0.ExternalIdentity;
1069
1477
  tier?: "standard" | "micro" | "system";
1070
- attributes: InventoryAttributes;
1478
+ attributes?: InventoryAttributes | undefined;
1071
1479
  identity?: Record<string, string>;
1072
1480
  monitor?: Record<string, string>;
1073
- system: Record<string, string>;
1481
+ system?: Record<string, string> | undefined;
1074
1482
  tags?: Record<string, string>;
1075
1483
  check_in_time_exact?: string;
1076
1484
  check_in_time_rounded?: string;
1077
- config?: _northern_tech_types_types_gen.DeviceConfiguration;
1078
- connect_status?: _northern_tech_types_types_gen.ConnectionState["status"];
1485
+ config?: _$_northern_tech_types_types_gen0.DeviceConfiguration;
1486
+ connect_status?: _$_northern_tech_types_types_gen0.ConnectionState["status"];
1079
1487
  connect_updated_ts?: string;
1080
1488
  deploymentsCount?: number;
1081
1489
  deviceDeployments?: DeviceDeployment;
@@ -1084,157 +1492,176 @@ declare const getAuditlogDevice: ((state: {
1084
1492
  group?: string;
1085
1493
  isNew?: boolean;
1086
1494
  isOffline?: boolean;
1087
- monitors?: _northern_tech_types_types_gen.MonitorConfiguration[];
1088
- twinsByIntegration?: Record<string, _northern_tech_types_types_gen.DeviceState & {
1089
- twinError?: string;
1495
+ monitors?: _$_northern_tech_types_types_gen0.MonitorConfiguration[];
1496
+ twinsByIntegration?: Record<string, _$_northern_tech_types_types_gen0.DeviceState & {
1497
+ twinError?: string;
1090
1498
  }>;
1091
- }) & {
1499
+ };
1500
+ memoizedResultFunc: ((resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1501
+ id?: string;
1502
+ identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1503
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1504
+ created_ts?: string;
1505
+ updated_ts?: string;
1506
+ check_in_time?: string;
1507
+ auth_sets?: Array<_$_northern_tech_types_types_gen0.AuthSet>;
1508
+ decommissioning?: boolean;
1509
+ external_id?: _$_northern_tech_types_types_gen0.ExternalIdentity;
1510
+ tier?: "standard" | "micro" | "system";
1511
+ attributes?: InventoryAttributes | undefined;
1512
+ identity?: Record<string, string>;
1513
+ monitor?: Record<string, string>;
1514
+ system?: Record<string, string> | undefined;
1515
+ tags?: Record<string, string>;
1516
+ check_in_time_exact?: string;
1517
+ check_in_time_rounded?: string;
1518
+ config?: _$_northern_tech_types_types_gen0.DeviceConfiguration;
1519
+ connect_status?: _$_northern_tech_types_types_gen0.ConnectionState["status"];
1520
+ connect_updated_ts?: string;
1521
+ deploymentsCount?: number;
1522
+ deviceDeployments?: DeviceDeployment;
1523
+ etag?: string;
1524
+ gatewayIds?: string[];
1525
+ group?: string;
1526
+ isNew?: boolean;
1527
+ isOffline?: boolean;
1528
+ monitors?: _$_northern_tech_types_types_gen0.MonitorConfiguration[];
1529
+ twinsByIntegration?: Record<string, _$_northern_tech_types_types_gen0.DeviceState & {
1530
+ twinError?: string;
1531
+ }>;
1532
+ }) & {
1092
1533
  clearCache: () => void;
1093
1534
  resultsCount: () => number;
1094
1535
  resetResultsCount: () => void;
1095
- } & {
1096
- resultFunc: (resultFuncArgs_0: _northern_tech_types_types_gen.AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1097
- id: string;
1098
- identity_data?: _northern_tech_types_types_gen.IdentityData;
1099
- status: ("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _northern_tech_types_types_gen.Status;
1100
- created_ts?: string;
1101
- updated_ts?: string;
1102
- check_in_time?: string;
1103
- auth_sets?: Array<_northern_tech_types_types_gen.AuthSet>;
1104
- decommissioning?: boolean;
1105
- external_id?: _northern_tech_types_types_gen.ExternalIdentity;
1106
- tier?: "standard" | "micro" | "system";
1107
- attributes: InventoryAttributes;
1108
- identity?: Record<string, string>;
1109
- monitor?: Record<string, string>;
1110
- system: Record<string, string>;
1111
- tags?: Record<string, string>;
1112
- check_in_time_exact?: string;
1113
- check_in_time_rounded?: string;
1114
- config?: _northern_tech_types_types_gen.DeviceConfiguration;
1115
- connect_status?: _northern_tech_types_types_gen.ConnectionState["status"];
1116
- connect_updated_ts?: string;
1117
- deploymentsCount?: number;
1118
- deviceDeployments?: DeviceDeployment;
1119
- etag?: string;
1120
- gatewayIds?: string[];
1121
- group?: string;
1122
- isNew?: boolean;
1123
- isOffline?: boolean;
1124
- monitors?: _northern_tech_types_types_gen.MonitorConfiguration[];
1125
- twinsByIntegration?: Record<string, _northern_tech_types_types_gen.DeviceState & {
1126
- twinError?: string;
1127
- }>;
1128
- };
1129
- memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_types_gen.AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1130
- id: string;
1131
- identity_data?: _northern_tech_types_types_gen.IdentityData;
1132
- status: ("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _northern_tech_types_types_gen.Status;
1133
- created_ts?: string;
1134
- updated_ts?: string;
1135
- check_in_time?: string;
1136
- auth_sets?: Array<_northern_tech_types_types_gen.AuthSet>;
1137
- decommissioning?: boolean;
1138
- external_id?: _northern_tech_types_types_gen.ExternalIdentity;
1139
- tier?: "standard" | "micro" | "system";
1140
- attributes: InventoryAttributes;
1141
- identity?: Record<string, string>;
1142
- monitor?: Record<string, string>;
1143
- system: Record<string, string>;
1144
- tags?: Record<string, string>;
1145
- check_in_time_exact?: string;
1146
- check_in_time_rounded?: string;
1147
- config?: _northern_tech_types_types_gen.DeviceConfiguration;
1148
- connect_status?: _northern_tech_types_types_gen.ConnectionState["status"];
1149
- connect_updated_ts?: string;
1150
- deploymentsCount?: number;
1151
- deviceDeployments?: DeviceDeployment;
1152
- etag?: string;
1153
- gatewayIds?: string[];
1154
- group?: string;
1155
- isNew?: boolean;
1156
- isOffline?: boolean;
1157
- monitors?: _northern_tech_types_types_gen.MonitorConfiguration[];
1158
- twinsByIntegration?: Record<string, _northern_tech_types_types_gen.DeviceState & {
1159
- twinError?: string;
1160
- }>;
1161
- }) & {
1162
- clearCache: () => void;
1163
- resultsCount: () => number;
1164
- resetResultsCount: () => void;
1165
- };
1166
- lastResult: () => {
1167
- id: string;
1168
- identity_data?: _northern_tech_types_types_gen.IdentityData;
1169
- status: ("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _northern_tech_types_types_gen.Status;
1170
- created_ts?: string;
1171
- updated_ts?: string;
1172
- check_in_time?: string;
1173
- auth_sets?: Array<_northern_tech_types_types_gen.AuthSet>;
1174
- decommissioning?: boolean;
1175
- external_id?: _northern_tech_types_types_gen.ExternalIdentity;
1176
- tier?: "standard" | "micro" | "system";
1177
- attributes: InventoryAttributes;
1178
- identity?: Record<string, string>;
1179
- monitor?: Record<string, string>;
1180
- system: Record<string, string>;
1181
- tags?: Record<string, string>;
1182
- check_in_time_exact?: string;
1183
- check_in_time_rounded?: string;
1184
- config?: _northern_tech_types_types_gen.DeviceConfiguration;
1185
- connect_status?: _northern_tech_types_types_gen.ConnectionState["status"];
1186
- connect_updated_ts?: string;
1187
- deploymentsCount?: number;
1188
- deviceDeployments?: DeviceDeployment;
1189
- etag?: string;
1190
- gatewayIds?: string[];
1191
- group?: string;
1192
- isNew?: boolean;
1193
- isOffline?: boolean;
1194
- monitors?: _northern_tech_types_types_gen.MonitorConfiguration[];
1195
- twinsByIntegration?: Record<string, _northern_tech_types_types_gen.DeviceState & {
1196
- twinError?: string;
1197
- }>;
1536
+ };
1537
+ lastResult: () => {
1538
+ id?: string;
1539
+ identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1540
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1541
+ created_ts?: string;
1542
+ updated_ts?: string;
1543
+ check_in_time?: string;
1544
+ auth_sets?: Array<_$_northern_tech_types_types_gen0.AuthSet>;
1545
+ decommissioning?: boolean;
1546
+ external_id?: _$_northern_tech_types_types_gen0.ExternalIdentity;
1547
+ tier?: "standard" | "micro" | "system";
1548
+ attributes?: InventoryAttributes | undefined;
1549
+ identity?: Record<string, string>;
1550
+ monitor?: Record<string, string>;
1551
+ system?: Record<string, string> | undefined;
1552
+ tags?: Record<string, string>;
1553
+ check_in_time_exact?: string;
1554
+ check_in_time_rounded?: string;
1555
+ config?: _$_northern_tech_types_types_gen0.DeviceConfiguration;
1556
+ connect_status?: _$_northern_tech_types_types_gen0.ConnectionState["status"];
1557
+ connect_updated_ts?: string;
1558
+ deploymentsCount?: number;
1559
+ deviceDeployments?: DeviceDeployment;
1560
+ etag?: string;
1561
+ gatewayIds?: string[];
1562
+ group?: string;
1563
+ isNew?: boolean;
1564
+ isOffline?: boolean;
1565
+ monitors?: _$_northern_tech_types_types_gen0.MonitorConfiguration[];
1566
+ twinsByIntegration?: Record<string, _$_northern_tech_types_types_gen0.DeviceState & {
1567
+ twinError?: string;
1568
+ }>;
1569
+ };
1570
+ dependencies: [((state: {
1571
+ app: AppSliceType;
1572
+ devices: DeviceSliceType;
1573
+ deployments: DeploymentsSliceType;
1574
+ monitor: MonitorSliceType;
1575
+ onboarding: OnboardingSliceType;
1576
+ organization: OrganizationSliceType;
1577
+ releases: ReleaseSliceType;
1578
+ users: UserSliceType;
1579
+ }) => AuditLog | undefined) & {
1580
+ clearCache: () => void;
1581
+ resultsCount: () => number;
1582
+ resetResultsCount: () => void;
1583
+ } & {
1584
+ resultFunc: (resultFuncArgs_0: AuditLog[], resultFuncArgs_1: AuditLogSelectionState) => AuditLog | undefined;
1585
+ memoizedResultFunc: ((resultFuncArgs_0: AuditLog[], resultFuncArgs_1: AuditLogSelectionState) => AuditLog | undefined) & {
1586
+ clearCache: () => void;
1587
+ resultsCount: () => number;
1588
+ resetResultsCount: () => void;
1198
1589
  };
1199
- dependencies: [((state: {
1200
- app: AppSliceType;
1201
- devices: DeviceSliceType;
1202
- deployments: DeploymentsSliceType;
1203
- monitor: MonitorSliceType;
1204
- onboarding: OnboardingSliceType;
1205
- organization: OrganizationSliceType;
1206
- releases: ReleaseSliceType;
1207
- users: UserSliceType;
1208
- }) => _northern_tech_types_types_gen.AuditLog | undefined) & {
1209
- clearCache: () => void;
1210
- resultsCount: () => number;
1211
- resetResultsCount: () => void;
1212
- } & {
1213
- resultFunc: (resultFuncArgs_0: _northern_tech_types_types_gen.AuditLog[], resultFuncArgs_1: AuditLogSelectionState) => _northern_tech_types_types_gen.AuditLog | undefined;
1214
- memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_types_gen.AuditLog[], resultFuncArgs_1: AuditLogSelectionState) => _northern_tech_types_types_gen.AuditLog | undefined) & {
1215
- clearCache: () => void;
1216
- resultsCount: () => number;
1217
- resetResultsCount: () => void;
1218
- };
1219
- lastResult: () => _northern_tech_types_types_gen.AuditLog | undefined;
1220
- dependencies: [(state: RootState) => _northern_tech_types_types_gen.AuditLog[], (state: RootState) => AuditLogSelectionState];
1221
- recomputations: () => number;
1222
- resetRecomputations: () => void;
1223
- dependencyRecomputations: () => number;
1224
- resetDependencyRecomputations: () => void;
1225
- } & {
1226
- memoize: typeof reselect.weakMapMemoize;
1227
- argsMemoize: typeof reselect.weakMapMemoize;
1228
- }, (state: RootState) => Record<string, Device>];
1590
+ lastResult: () => AuditLog | undefined;
1591
+ dependencies: [(state: RootState) => AuditLog[], (state: RootState) => AuditLogSelectionState];
1229
1592
  recomputations: () => number;
1230
1593
  resetRecomputations: () => void;
1231
1594
  dependencyRecomputations: () => number;
1232
1595
  resetDependencyRecomputations: () => void;
1596
+ } & {
1597
+ memoize: typeof _$reselect.weakMapMemoize;
1598
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1599
+ }, (state: RootState) => Record<string, Device>];
1600
+ recomputations: () => number;
1601
+ resetRecomputations: () => void;
1602
+ dependencyRecomputations: () => number;
1603
+ resetDependencyRecomputations: () => void;
1233
1604
  } & {
1234
- memoize: typeof reselect.weakMapMemoize;
1235
- argsMemoize: typeof reselect.weakMapMemoize;
1605
+ memoize: typeof _$reselect.weakMapMemoize;
1606
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1607
+ };
1608
+ type RoleItem = Role | {
1609
+ value: string;
1236
1610
  };
1237
1611
  declare const getRelevantRoles: ((state: {
1612
+ app: AppSliceType;
1613
+ devices: DeviceSliceType;
1614
+ deployments: DeploymentsSliceType;
1615
+ monitor: MonitorSliceType;
1616
+ onboarding: OnboardingSliceType;
1617
+ organization: OrganizationSliceType;
1618
+ releases: ReleaseSliceType;
1619
+ users: UserSliceType;
1620
+ }) => RoleItem[]) & {
1621
+ clearCache: () => void;
1622
+ resultsCount: () => number;
1623
+ resetResultsCount: () => void;
1624
+ } & {
1625
+ resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: {
1626
+ name: string;
1627
+ description?: string;
1628
+ permissions?: Array<_$_northern_tech_types_types_gen0.RolePermission>;
1629
+ permission_sets_with_scope?: Array<_$_northern_tech_types_types_gen0.PermissionSetWithScope>;
1630
+ editable?: boolean;
1631
+ isCustom?: boolean;
1632
+ uiPermissions: Readonly<{
1633
+ auditlog: string[];
1634
+ deployments?: string[];
1635
+ groups: Record<string, string[]>;
1636
+ releases: Record<string, string[]>;
1637
+ tenantManagement: string[];
1638
+ userManagement: string[];
1639
+ }>;
1640
+ value: string;
1641
+ }[]) => RoleItem[];
1642
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: {
1643
+ name: string;
1644
+ description?: string;
1645
+ permissions?: Array<_$_northern_tech_types_types_gen0.RolePermission>;
1646
+ permission_sets_with_scope?: Array<_$_northern_tech_types_types_gen0.PermissionSetWithScope>;
1647
+ editable?: boolean;
1648
+ isCustom?: boolean;
1649
+ uiPermissions: Readonly<{
1650
+ auditlog: string[];
1651
+ deployments?: string[];
1652
+ groups: Record<string, string[]>;
1653
+ releases: Record<string, string[]>;
1654
+ tenantManagement: string[];
1655
+ userManagement: string[];
1656
+ }>;
1657
+ value: string;
1658
+ }[]) => RoleItem[]) & {
1659
+ clearCache: () => void;
1660
+ resultsCount: () => number;
1661
+ resetResultsCount: () => void;
1662
+ };
1663
+ lastResult: () => RoleItem[];
1664
+ dependencies: [(state: RootState) => Partial<Organization>, ((state: {
1238
1665
  app: AppSliceType;
1239
1666
  devices: DeviceSliceType;
1240
1667
  deployments: DeploymentsSliceType;
@@ -1243,321 +1670,121 @@ declare const getRelevantRoles: ((state: {
1243
1670
  organization: OrganizationSliceType;
1244
1671
  releases: ReleaseSliceType;
1245
1672
  users: UserSliceType;
1246
- }) => {
1673
+ }) => {
1247
1674
  name: string;
1248
1675
  description?: string;
1249
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1250
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1676
+ permissions?: Array<_$_northern_tech_types_types_gen0.RolePermission>;
1677
+ permission_sets_with_scope?: Array<_$_northern_tech_types_types_gen0.PermissionSetWithScope>;
1251
1678
  editable?: boolean;
1252
1679
  isCustom?: boolean;
1253
1680
  uiPermissions: Readonly<{
1681
+ auditlog: string[];
1682
+ deployments?: string[];
1683
+ groups: Record<string, string[]>;
1684
+ releases: Record<string, string[]>;
1685
+ tenantManagement: string[];
1686
+ userManagement: string[];
1687
+ }>;
1688
+ value: string;
1689
+ }[]) & {
1690
+ clearCache: () => void;
1691
+ resultsCount: () => number;
1692
+ resetResultsCount: () => void;
1693
+ } & {
1694
+ resultFunc: (resultFuncArgs_0: Record<string, Role>) => {
1695
+ name: string;
1696
+ description?: string;
1697
+ permissions?: Array<_$_northern_tech_types_types_gen0.RolePermission>;
1698
+ permission_sets_with_scope?: Array<_$_northern_tech_types_types_gen0.PermissionSetWithScope>;
1699
+ editable?: boolean;
1700
+ isCustom?: boolean;
1701
+ uiPermissions: Readonly<{
1254
1702
  auditlog: string[];
1255
1703
  deployments?: string[];
1256
1704
  groups: Record<string, string[]>;
1257
1705
  releases: Record<string, string[]>;
1258
1706
  tenantManagement: string[];
1259
1707
  userManagement: string[];
1260
- }>;
1261
- value: string;
1262
- }[] | ({
1263
- readonly name: "Admin";
1264
- readonly value: "RBAC_ROLE_PERMIT_ALL";
1265
- readonly description: "Full access";
1266
- readonly permissions: readonly [];
1267
- readonly uiPermissions: {
1268
- readonly auditlog: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1269
- readonly userManagement: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1270
- readonly tenantManagement: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1271
- readonly deployments?: string[] | undefined;
1272
- readonly groups: Record<string, string[]>;
1273
- readonly releases: Record<string, string[]>;
1274
- };
1275
- } | {
1276
- readonly name: "Read access";
1277
- readonly value: "RBAC_ROLE_OBSERVER";
1278
- readonly description: "This role can see all linked organizations but cannot make any changes";
1279
- readonly permissions: readonly [];
1280
- readonly uiPermissions: {
1281
- readonly auditlog: readonly ["read"];
1282
- readonly userManagement: readonly ["read"];
1283
- readonly tenantManagement: readonly ["read"];
1284
- readonly deployments?: string[] | undefined;
1285
- readonly groups: Record<string, string[]>;
1286
- readonly releases: Record<string, string[]>;
1287
- };
1288
- })[]) & {
1289
- clearCache: () => void;
1290
- resultsCount: () => number;
1291
- resetResultsCount: () => void;
1292
- } & {
1293
- resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: {
1294
- name: string;
1295
- description?: string;
1296
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1297
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1298
- editable?: boolean;
1299
- isCustom?: boolean;
1300
- uiPermissions: Readonly<{
1301
- auditlog: string[];
1302
- deployments?: string[];
1303
- groups: Record<string, string[]>;
1304
- releases: Record<string, string[]>;
1305
- tenantManagement: string[];
1306
- userManagement: string[];
1307
- }>;
1308
- value: string;
1309
- }[]) => {
1310
- name: string;
1311
- description?: string;
1312
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1313
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1314
- editable?: boolean;
1315
- isCustom?: boolean;
1316
- uiPermissions: Readonly<{
1317
- auditlog: string[];
1318
- deployments?: string[];
1319
- groups: Record<string, string[]>;
1320
- releases: Record<string, string[]>;
1321
- tenantManagement: string[];
1322
- userManagement: string[];
1323
- }>;
1324
- value: string;
1325
- }[] | ({
1326
- readonly name: "Admin";
1327
- readonly value: "RBAC_ROLE_PERMIT_ALL";
1328
- readonly description: "Full access";
1329
- readonly permissions: readonly [];
1330
- readonly uiPermissions: {
1331
- readonly auditlog: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1332
- readonly userManagement: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1333
- readonly tenantManagement: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1334
- readonly deployments?: string[] | undefined;
1335
- readonly groups: Record<string, string[]>;
1336
- readonly releases: Record<string, string[]>;
1337
- };
1338
- } | {
1339
- readonly name: "Read access";
1340
- readonly value: "RBAC_ROLE_OBSERVER";
1341
- readonly description: "This role can see all linked organizations but cannot make any changes";
1342
- readonly permissions: readonly [];
1343
- readonly uiPermissions: {
1344
- readonly auditlog: readonly ["read"];
1345
- readonly userManagement: readonly ["read"];
1346
- readonly tenantManagement: readonly ["read"];
1347
- readonly deployments?: string[] | undefined;
1348
- readonly groups: Record<string, string[]>;
1349
- readonly releases: Record<string, string[]>;
1350
- };
1351
- })[];
1352
- memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: {
1353
- name: string;
1354
- description?: string;
1355
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1356
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1357
- editable?: boolean;
1358
- isCustom?: boolean;
1359
- uiPermissions: Readonly<{
1360
- auditlog: string[];
1361
- deployments?: string[];
1362
- groups: Record<string, string[]>;
1363
- releases: Record<string, string[]>;
1364
- tenantManagement: string[];
1365
- userManagement: string[];
1366
- }>;
1367
- value: string;
1368
- }[]) => {
1369
- name: string;
1370
- description?: string;
1371
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1372
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1373
- editable?: boolean;
1374
- isCustom?: boolean;
1375
- uiPermissions: Readonly<{
1376
- auditlog: string[];
1377
- deployments?: string[];
1378
- groups: Record<string, string[]>;
1379
- releases: Record<string, string[]>;
1380
- tenantManagement: string[];
1381
- userManagement: string[];
1382
- }>;
1383
- value: string;
1384
- }[] | ({
1385
- readonly name: "Admin";
1386
- readonly value: "RBAC_ROLE_PERMIT_ALL";
1387
- readonly description: "Full access";
1388
- readonly permissions: readonly [];
1389
- readonly uiPermissions: {
1390
- readonly auditlog: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1391
- readonly userManagement: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1392
- readonly tenantManagement: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1393
- readonly deployments?: string[] | undefined;
1394
- readonly groups: Record<string, string[]>;
1395
- readonly releases: Record<string, string[]>;
1396
- };
1397
- } | {
1398
- readonly name: "Read access";
1399
- readonly value: "RBAC_ROLE_OBSERVER";
1400
- readonly description: "This role can see all linked organizations but cannot make any changes";
1401
- readonly permissions: readonly [];
1402
- readonly uiPermissions: {
1403
- readonly auditlog: readonly ["read"];
1404
- readonly userManagement: readonly ["read"];
1405
- readonly tenantManagement: readonly ["read"];
1406
- readonly deployments?: string[] | undefined;
1407
- readonly groups: Record<string, string[]>;
1408
- readonly releases: Record<string, string[]>;
1409
- };
1410
- })[]) & {
1411
- clearCache: () => void;
1412
- resultsCount: () => number;
1413
- resetResultsCount: () => void;
1708
+ }>;
1709
+ value: string;
1710
+ }[];
1711
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Role>) => {
1712
+ name: string;
1713
+ description?: string;
1714
+ permissions?: Array<_$_northern_tech_types_types_gen0.RolePermission>;
1715
+ permission_sets_with_scope?: Array<_$_northern_tech_types_types_gen0.PermissionSetWithScope>;
1716
+ editable?: boolean;
1717
+ isCustom?: boolean;
1718
+ uiPermissions: Readonly<{
1719
+ auditlog: string[];
1720
+ deployments?: string[];
1721
+ groups: Record<string, string[]>;
1722
+ releases: Record<string, string[]>;
1723
+ tenantManagement: string[];
1724
+ userManagement: string[];
1725
+ }>;
1726
+ value: string;
1727
+ }[]) & {
1728
+ clearCache: () => void;
1729
+ resultsCount: () => number;
1730
+ resetResultsCount: () => void;
1414
1731
  };
1415
1732
  lastResult: () => {
1416
- name: string;
1417
- description?: string;
1418
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1419
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1420
- editable?: boolean;
1421
- isCustom?: boolean;
1422
- uiPermissions: Readonly<{
1423
- auditlog: string[];
1424
- deployments?: string[];
1425
- groups: Record<string, string[]>;
1426
- releases: Record<string, string[]>;
1427
- tenantManagement: string[];
1428
- userManagement: string[];
1429
- }>;
1430
- value: string;
1431
- }[] | ({
1432
- readonly name: "Admin";
1433
- readonly value: "RBAC_ROLE_PERMIT_ALL";
1434
- readonly description: "Full access";
1435
- readonly permissions: readonly [];
1436
- readonly uiPermissions: {
1437
- readonly auditlog: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1438
- readonly userManagement: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1439
- readonly tenantManagement: ("read" | "manage" | "deploy" | "configure" | "connect" | "upload")[];
1440
- readonly deployments?: string[] | undefined;
1441
- readonly groups: Record<string, string[]>;
1442
- readonly releases: Record<string, string[]>;
1443
- };
1444
- } | {
1445
- readonly name: "Read access";
1446
- readonly value: "RBAC_ROLE_OBSERVER";
1447
- readonly description: "This role can see all linked organizations but cannot make any changes";
1448
- readonly permissions: readonly [];
1449
- readonly uiPermissions: {
1450
- readonly auditlog: readonly ["read"];
1451
- readonly userManagement: readonly ["read"];
1452
- readonly tenantManagement: readonly ["read"];
1453
- readonly deployments?: string[] | undefined;
1454
- readonly groups: Record<string, string[]>;
1455
- readonly releases: Record<string, string[]>;
1456
- };
1457
- })[];
1458
- dependencies: [(state: RootState) => Partial<Organization>, ((state: {
1459
- app: AppSliceType;
1460
- devices: DeviceSliceType;
1461
- deployments: DeploymentsSliceType;
1462
- monitor: MonitorSliceType;
1463
- onboarding: OnboardingSliceType;
1464
- organization: OrganizationSliceType;
1465
- releases: ReleaseSliceType;
1466
- users: UserSliceType;
1467
- }) => {
1468
- name: string;
1469
- description?: string;
1470
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1471
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1472
- editable?: boolean;
1473
- isCustom?: boolean;
1474
- uiPermissions: Readonly<{
1475
- auditlog: string[];
1476
- deployments?: string[];
1477
- groups: Record<string, string[]>;
1478
- releases: Record<string, string[]>;
1479
- tenantManagement: string[];
1480
- userManagement: string[];
1481
- }>;
1482
- value: string;
1483
- }[]) & {
1484
- clearCache: () => void;
1485
- resultsCount: () => number;
1486
- resetResultsCount: () => void;
1487
- } & {
1488
- resultFunc: (resultFuncArgs_0: Record<string, _northern_tech_utils_constants.Role>) => {
1489
- name: string;
1490
- description?: string;
1491
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1492
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1493
- editable?: boolean;
1494
- isCustom?: boolean;
1495
- uiPermissions: Readonly<{
1496
- auditlog: string[];
1497
- deployments?: string[];
1498
- groups: Record<string, string[]>;
1499
- releases: Record<string, string[]>;
1500
- tenantManagement: string[];
1501
- userManagement: string[];
1502
- }>;
1503
- value: string;
1504
- }[];
1505
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, _northern_tech_utils_constants.Role>) => {
1506
- name: string;
1507
- description?: string;
1508
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1509
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1510
- editable?: boolean;
1511
- isCustom?: boolean;
1512
- uiPermissions: Readonly<{
1513
- auditlog: string[];
1514
- deployments?: string[];
1515
- groups: Record<string, string[]>;
1516
- releases: Record<string, string[]>;
1517
- tenantManagement: string[];
1518
- userManagement: string[];
1519
- }>;
1520
- value: string;
1521
- }[]) & {
1522
- clearCache: () => void;
1523
- resultsCount: () => number;
1524
- resetResultsCount: () => void;
1525
- };
1526
- lastResult: () => {
1527
- name: string;
1528
- description?: string;
1529
- permissions?: Array<_northern_tech_types_types_gen.RolePermission>;
1530
- permission_sets_with_scope?: Array<_northern_tech_types_types_gen.PermissionSetWithScope>;
1531
- editable?: boolean;
1532
- isCustom?: boolean;
1533
- uiPermissions: Readonly<{
1534
- auditlog: string[];
1535
- deployments?: string[];
1536
- groups: Record<string, string[]>;
1537
- releases: Record<string, string[]>;
1538
- tenantManagement: string[];
1539
- userManagement: string[];
1540
- }>;
1541
- value: string;
1542
- }[];
1543
- dependencies: [(state: RootState) => Record<string, _northern_tech_utils_constants.Role>];
1544
- recomputations: () => number;
1545
- resetRecomputations: () => void;
1546
- dependencyRecomputations: () => number;
1547
- resetDependencyRecomputations: () => void;
1548
- } & {
1549
- memoize: typeof reselect.weakMapMemoize;
1550
- argsMemoize: typeof reselect.weakMapMemoize;
1551
- }];
1733
+ name: string;
1734
+ description?: string;
1735
+ permissions?: Array<_$_northern_tech_types_types_gen0.RolePermission>;
1736
+ permission_sets_with_scope?: Array<_$_northern_tech_types_types_gen0.PermissionSetWithScope>;
1737
+ editable?: boolean;
1738
+ isCustom?: boolean;
1739
+ uiPermissions: Readonly<{
1740
+ auditlog: string[];
1741
+ deployments?: string[];
1742
+ groups: Record<string, string[]>;
1743
+ releases: Record<string, string[]>;
1744
+ tenantManagement: string[];
1745
+ userManagement: string[];
1746
+ }>;
1747
+ value: string;
1748
+ }[];
1749
+ dependencies: [(state: RootState) => Record<string, Role>];
1552
1750
  recomputations: () => number;
1553
1751
  resetRecomputations: () => void;
1554
1752
  dependencyRecomputations: () => number;
1555
1753
  resetDependencyRecomputations: () => void;
1754
+ } & {
1755
+ memoize: typeof _$reselect.weakMapMemoize;
1756
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1757
+ }];
1758
+ recomputations: () => number;
1759
+ resetRecomputations: () => void;
1760
+ dependencyRecomputations: () => number;
1761
+ resetDependencyRecomputations: () => void;
1556
1762
  } & {
1557
- memoize: typeof reselect.weakMapMemoize;
1558
- argsMemoize: typeof reselect.weakMapMemoize;
1763
+ memoize: typeof _$reselect.weakMapMemoize;
1764
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1559
1765
  };
1560
1766
  declare const getShowSecurityAlert: ((state: {
1767
+ app: AppSliceType;
1768
+ devices: DeviceSliceType;
1769
+ deployments: DeploymentsSliceType;
1770
+ monitor: MonitorSliceType;
1771
+ onboarding: OnboardingSliceType;
1772
+ organization: OrganizationSliceType;
1773
+ releases: ReleaseSliceType;
1774
+ users: UserSliceType;
1775
+ }) => boolean) & {
1776
+ clearCache: () => void;
1777
+ resultsCount: () => number;
1778
+ resetResultsCount: () => void;
1779
+ } & {
1780
+ resultFunc: (resultFuncArgs_0: User, resultFuncArgs_1: boolean, resultFuncArgs_2: Record<string, boolean>, resultFuncArgs_3: boolean, resultFuncArgs_4: boolean, resultFuncArgs_5: string | null) => boolean;
1781
+ memoizedResultFunc: ((resultFuncArgs_0: User, resultFuncArgs_1: boolean, resultFuncArgs_2: Record<string, boolean>, resultFuncArgs_3: boolean, resultFuncArgs_4: boolean, resultFuncArgs_5: string | null) => boolean) & {
1782
+ clearCache: () => void;
1783
+ resultsCount: () => number;
1784
+ resetResultsCount: () => void;
1785
+ };
1786
+ lastResult: () => boolean;
1787
+ dependencies: [((state: {
1561
1788
  app: AppSliceType;
1562
1789
  devices: DeviceSliceType;
1563
1790
  deployments: DeploymentsSliceType;
@@ -1566,142 +1793,122 @@ declare const getShowSecurityAlert: ((state: {
1566
1793
  organization: OrganizationSliceType;
1567
1794
  releases: ReleaseSliceType;
1568
1795
  users: UserSliceType;
1569
- }) => boolean) & {
1796
+ }) => User) & {
1570
1797
  clearCache: () => void;
1571
1798
  resultsCount: () => number;
1572
1799
  resetResultsCount: () => void;
1573
- } & {
1574
- resultFunc: (resultFuncArgs_0: User, resultFuncArgs_1: boolean, resultFuncArgs_2: Record<string, boolean>, resultFuncArgs_3: boolean, resultFuncArgs_4: boolean, resultFuncArgs_5: string | null) => boolean;
1575
- memoizedResultFunc: ((resultFuncArgs_0: User, resultFuncArgs_1: boolean, resultFuncArgs_2: Record<string, boolean>, resultFuncArgs_3: boolean, resultFuncArgs_4: boolean, resultFuncArgs_5: string | null) => boolean) & {
1576
- clearCache: () => void;
1577
- resultsCount: () => number;
1578
- resetResultsCount: () => void;
1800
+ } & {
1801
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
1802
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
1803
+ clearCache: () => void;
1804
+ resultsCount: () => number;
1805
+ resetResultsCount: () => void;
1806
+ };
1807
+ lastResult: () => User;
1808
+ dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
1809
+ recomputations: () => number;
1810
+ resetRecomputations: () => void;
1811
+ dependencyRecomputations: () => number;
1812
+ resetDependencyRecomputations: () => void;
1813
+ } & {
1814
+ memoize: typeof _$reselect.weakMapMemoize;
1815
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1816
+ }, ((state: {
1817
+ app: AppSliceType;
1818
+ devices: DeviceSliceType;
1819
+ deployments: DeploymentsSliceType;
1820
+ monitor: MonitorSliceType;
1821
+ onboarding: OnboardingSliceType;
1822
+ organization: OrganizationSliceType;
1823
+ releases: ReleaseSliceType;
1824
+ users: UserSliceType;
1825
+ }) => boolean) & {
1826
+ clearCache: () => void;
1827
+ resultsCount: () => number;
1828
+ resetResultsCount: () => void;
1829
+ } & {
1830
+ resultFunc: (resultFuncArgs_0: User) => boolean;
1831
+ memoizedResultFunc: ((resultFuncArgs_0: User) => boolean) & {
1832
+ clearCache: () => void;
1833
+ resultsCount: () => number;
1834
+ resetResultsCount: () => void;
1579
1835
  };
1580
1836
  lastResult: () => boolean;
1581
1837
  dependencies: [((state: {
1582
- app: AppSliceType;
1583
- devices: DeviceSliceType;
1584
- deployments: DeploymentsSliceType;
1585
- monitor: MonitorSliceType;
1586
- onboarding: OnboardingSliceType;
1587
- organization: OrganizationSliceType;
1588
- releases: ReleaseSliceType;
1589
- users: UserSliceType;
1838
+ app: AppSliceType;
1839
+ devices: DeviceSliceType;
1840
+ deployments: DeploymentsSliceType;
1841
+ monitor: MonitorSliceType;
1842
+ onboarding: OnboardingSliceType;
1843
+ organization: OrganizationSliceType;
1844
+ releases: ReleaseSliceType;
1845
+ users: UserSliceType;
1590
1846
  }) => User) & {
1591
- clearCache: () => void;
1592
- resultsCount: () => number;
1593
- resetResultsCount: () => void;
1594
- } & {
1595
- resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
1596
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
1597
- clearCache: () => void;
1598
- resultsCount: () => number;
1599
- resetResultsCount: () => void;
1600
- };
1601
- lastResult: () => User;
1602
- dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
1603
- recomputations: () => number;
1604
- resetRecomputations: () => void;
1605
- dependencyRecomputations: () => number;
1606
- resetDependencyRecomputations: () => void;
1607
- } & {
1608
- memoize: typeof reselect.weakMapMemoize;
1609
- argsMemoize: typeof reselect.weakMapMemoize;
1610
- }, ((state: {
1611
- app: AppSliceType;
1612
- devices: DeviceSliceType;
1613
- deployments: DeploymentsSliceType;
1614
- monitor: MonitorSliceType;
1615
- onboarding: OnboardingSliceType;
1616
- organization: OrganizationSliceType;
1617
- releases: ReleaseSliceType;
1618
- users: UserSliceType;
1619
- }) => boolean) & {
1620
- clearCache: () => void;
1621
- resultsCount: () => number;
1622
- resetResultsCount: () => void;
1623
- } & {
1624
- resultFunc: (resultFuncArgs_0: User) => boolean;
1625
- memoizedResultFunc: ((resultFuncArgs_0: User) => boolean) & {
1626
- clearCache: () => void;
1627
- resultsCount: () => number;
1628
- resetResultsCount: () => void;
1629
- };
1630
- lastResult: () => boolean;
1631
- dependencies: [((state: {
1632
- app: AppSliceType;
1633
- devices: DeviceSliceType;
1634
- deployments: DeploymentsSliceType;
1635
- monitor: MonitorSliceType;
1636
- onboarding: OnboardingSliceType;
1637
- organization: OrganizationSliceType;
1638
- releases: ReleaseSliceType;
1639
- users: UserSliceType;
1640
- }) => User) & {
1641
- clearCache: () => void;
1642
- resultsCount: () => number;
1643
- resetResultsCount: () => void;
1644
- } & {
1645
- resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
1646
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
1647
- clearCache: () => void;
1648
- resultsCount: () => number;
1649
- resetResultsCount: () => void;
1650
- };
1651
- lastResult: () => User;
1652
- dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
1653
- recomputations: () => number;
1654
- resetRecomputations: () => void;
1655
- dependencyRecomputations: () => number;
1656
- resetDependencyRecomputations: () => void;
1657
- } & {
1658
- memoize: typeof reselect.weakMapMemoize;
1659
- argsMemoize: typeof reselect.weakMapMemoize;
1660
- }];
1661
- recomputations: () => number;
1662
- resetRecomputations: () => void;
1663
- dependencyRecomputations: () => number;
1664
- resetDependencyRecomputations: () => void;
1847
+ clearCache: () => void;
1848
+ resultsCount: () => number;
1849
+ resetResultsCount: () => void;
1665
1850
  } & {
1666
- memoize: typeof reselect.weakMapMemoize;
1667
- argsMemoize: typeof reselect.weakMapMemoize;
1668
- }, (state: RootState) => Record<string, boolean>, ((state: {
1669
- app: AppSliceType;
1670
- devices: DeviceSliceType;
1671
- deployments: DeploymentsSliceType;
1672
- monitor: MonitorSliceType;
1673
- onboarding: OnboardingSliceType;
1674
- organization: OrganizationSliceType;
1675
- releases: ReleaseSliceType;
1676
- users: UserSliceType;
1677
- }) => boolean) & {
1851
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
1852
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
1678
1853
  clearCache: () => void;
1679
1854
  resultsCount: () => number;
1680
1855
  resetResultsCount: () => void;
1856
+ };
1857
+ lastResult: () => User;
1858
+ dependencies: [(state: RootState) => Record<string, User>, (state: RootState) => string | null];
1859
+ recomputations: () => number;
1860
+ resetRecomputations: () => void;
1861
+ dependencyRecomputations: () => number;
1862
+ resetDependencyRecomputations: () => void;
1681
1863
  } & {
1682
- resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
1683
- memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
1684
- clearCache: () => void;
1685
- resultsCount: () => number;
1686
- resetResultsCount: () => void;
1687
- };
1688
- lastResult: () => boolean;
1689
- dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
1690
- recomputations: () => number;
1691
- resetRecomputations: () => void;
1692
- dependencyRecomputations: () => number;
1693
- resetDependencyRecomputations: () => void;
1694
- } & {
1695
- memoize: typeof reselect.weakMapMemoize;
1696
- argsMemoize: typeof reselect.weakMapMemoize;
1697
- }, (state: RootState) => boolean, (state: RootState) => string | null];
1864
+ memoize: typeof _$reselect.weakMapMemoize;
1865
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1866
+ }];
1867
+ recomputations: () => number;
1868
+ resetRecomputations: () => void;
1869
+ dependencyRecomputations: () => number;
1870
+ resetDependencyRecomputations: () => void;
1871
+ } & {
1872
+ memoize: typeof _$reselect.weakMapMemoize;
1873
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1874
+ }, (state: RootState) => Record<string, boolean>, ((state: {
1875
+ app: AppSliceType;
1876
+ devices: DeviceSliceType;
1877
+ deployments: DeploymentsSliceType;
1878
+ monitor: MonitorSliceType;
1879
+ onboarding: OnboardingSliceType;
1880
+ organization: OrganizationSliceType;
1881
+ releases: ReleaseSliceType;
1882
+ users: UserSliceType;
1883
+ }) => boolean) & {
1884
+ clearCache: () => void;
1885
+ resultsCount: () => number;
1886
+ resetResultsCount: () => void;
1887
+ } & {
1888
+ resultFunc: (resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean;
1889
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>, resultFuncArgs_1: Record<string, boolean>) => boolean) & {
1890
+ clearCache: () => void;
1891
+ resultsCount: () => number;
1892
+ resetResultsCount: () => void;
1893
+ };
1894
+ lastResult: () => boolean;
1895
+ dependencies: [(state: RootState) => Partial<Organization>, (state: RootState) => Record<string, boolean>];
1698
1896
  recomputations: () => number;
1699
1897
  resetRecomputations: () => void;
1700
1898
  dependencyRecomputations: () => number;
1701
1899
  resetDependencyRecomputations: () => void;
1900
+ } & {
1901
+ memoize: typeof _$reselect.weakMapMemoize;
1902
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1903
+ }, (state: RootState) => boolean, (state: RootState) => string | null];
1904
+ recomputations: () => number;
1905
+ resetRecomputations: () => void;
1906
+ dependencyRecomputations: () => number;
1907
+ resetDependencyRecomputations: () => void;
1702
1908
  } & {
1703
- memoize: typeof reselect.weakMapMemoize;
1704
- argsMemoize: typeof reselect.weakMapMemoize;
1909
+ memoize: typeof _$reselect.weakMapMemoize;
1910
+ argsMemoize: typeof _$reselect.weakMapMemoize;
1705
1911
  };
1706
-
1912
+ //#endregion
1707
1913
  export { getAuditlogDevice, getAvailableIssueOptionsByType, getDemoDeviceAddress, getDeploymentRelease, getDeviceConfigDeployment, getDeviceReportsForUser, getFilterAttributes, getGroupNames, getIsEnterprise, getMappedDevicesList, getOnboardingState, getRelevantRoles, getSelectedDeploymentData, getShowSecurityAlert, getTenantCapabilities, getUserCapabilities, getUserRoles };
1914
+ //# sourceMappingURL=commonSelectors.d.ts.map