@northern.tech/store 0.29.0 → 0.30.1

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