@northern.tech/store 0.3.3 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/dist/actions.cjs +80 -833
  2. package/dist/actions.cjs.map +1 -1
  3. package/dist/actions.d.cts +229 -85
  4. package/dist/actions.d.ts +229 -85
  5. package/dist/actions.js +14 -14
  6. package/dist/api/general-api.cjs +274 -148
  7. package/dist/api/general-api.cjs.map +1 -1
  8. package/dist/api/general-api.d.cts +1 -1
  9. package/dist/api/general-api.d.ts +1 -1
  10. package/dist/api/general-api.js +7 -7
  11. package/dist/api/users-api.cjs +274 -148
  12. package/dist/api/users-api.cjs.map +1 -1
  13. package/dist/api/users-api.d.cts +7 -5
  14. package/dist/api/users-api.d.ts +7 -5
  15. package/dist/api/users-api.js +8 -8
  16. package/dist/appSlice/constants.cjs +23 -43
  17. package/dist/appSlice/constants.cjs.map +1 -1
  18. package/dist/appSlice/constants.d.cts +109 -119
  19. package/dist/appSlice/constants.d.ts +109 -119
  20. package/dist/appSlice/constants.js +1 -11
  21. package/dist/appSlice/index.cjs +25 -242
  22. package/dist/appSlice/index.cjs.map +1 -1
  23. package/dist/appSlice/index.d.cts +119 -1531
  24. package/dist/appSlice/index.d.ts +119 -1531
  25. package/dist/appSlice/index.js +6 -6
  26. package/dist/appSlice/mocks.cjs +186 -0
  27. package/dist/appSlice/mocks.cjs.map +1 -0
  28. package/dist/appSlice/mocks.d.cts +39 -0
  29. package/dist/appSlice/mocks.d.ts +39 -0
  30. package/dist/appSlice/mocks.js +27 -0
  31. package/dist/appSlice/mocks.js.map +1 -0
  32. package/dist/appSlice/selectors.cjs +31 -5
  33. package/dist/appSlice/selectors.cjs.map +1 -1
  34. package/dist/appSlice/selectors.d.cts +709 -23
  35. package/dist/appSlice/selectors.d.ts +709 -23
  36. package/dist/appSlice/selectors.js +21 -1
  37. package/dist/appSlice/thunks.cjs +1563 -1790
  38. package/dist/appSlice/thunks.cjs.map +1 -1
  39. package/dist/appSlice/thunks.d.cts +34 -14
  40. package/dist/appSlice/thunks.d.ts +34 -14
  41. package/dist/appSlice/thunks.js +30 -29
  42. package/dist/auth.cjs +276 -153
  43. package/dist/auth.cjs.map +1 -1
  44. package/dist/auth.d.cts +13 -10
  45. package/dist/auth.d.ts +13 -10
  46. package/dist/auth.js +6 -8
  47. package/dist/{chunk-CK6YE6AN.js → chunk-2DYA3X77.js} +3 -1
  48. package/dist/{chunk-CK6YE6AN.js.map → chunk-2DYA3X77.js.map} +1 -1
  49. package/dist/{chunk-2CYOM4BK.js → chunk-4TUJPE6G.js} +19 -4
  50. package/dist/chunk-4TUJPE6G.js.map +1 -0
  51. package/dist/{chunk-7PVGDMNM.js → chunk-6KGTHJKC.js} +23 -27
  52. package/dist/chunk-6KGTHJKC.js.map +1 -0
  53. package/dist/chunk-7C4SQBEE.js +715 -0
  54. package/dist/chunk-7C4SQBEE.js.map +1 -0
  55. package/dist/{chunk-QRGTG4YB.js → chunk-ABJLRDCO.js} +10 -11
  56. package/dist/chunk-ABJLRDCO.js.map +1 -0
  57. package/dist/{chunk-LEMVXAYP.js → chunk-CW5T6OGF.js} +56 -22
  58. package/dist/chunk-CW5T6OGF.js.map +1 -0
  59. package/dist/{chunk-MRCFLG45.js → chunk-FAJ3I2UQ.js} +2 -1
  60. package/dist/chunk-FAJ3I2UQ.js.map +1 -0
  61. package/dist/{chunk-DCK2DBOA.js → chunk-IQG5I7AM.js} +29 -39
  62. package/dist/chunk-IQG5I7AM.js.map +1 -0
  63. package/dist/chunk-JUGE7L3K.js +110 -0
  64. package/dist/chunk-JUGE7L3K.js.map +1 -0
  65. package/dist/{chunk-7JKWI5FK.js → chunk-JXQUFKID.js} +2 -2
  66. package/dist/chunk-JXQUFKID.js.map +1 -0
  67. package/dist/chunk-KC7SKI3U.js +389 -0
  68. package/dist/chunk-KC7SKI3U.js.map +1 -0
  69. package/dist/{chunk-YDS36ALB.js → chunk-KJNNEDRV.js} +11 -7
  70. package/dist/chunk-KJNNEDRV.js.map +1 -0
  71. package/dist/chunk-MBKAZVE3.js +44 -0
  72. package/dist/chunk-MBKAZVE3.js.map +1 -0
  73. package/dist/{chunk-TI2RL5P2.js → chunk-MZNANSS2.js} +12 -7
  74. package/dist/chunk-MZNANSS2.js.map +1 -0
  75. package/dist/{chunk-LTKOV26W.js → chunk-N2KLYPS5.js} +138 -95
  76. package/dist/chunk-N2KLYPS5.js.map +1 -0
  77. package/dist/{chunk-UWMYZNUB.js → chunk-OHF3YUXX.js} +25 -40
  78. package/dist/chunk-OHF3YUXX.js.map +1 -0
  79. package/dist/{chunk-CYV6632F.js → chunk-OOICURFL.js} +2 -2
  80. package/dist/chunk-OOICURFL.js.map +1 -0
  81. package/dist/{chunk-VMNMD6KF.js → chunk-PGFVHKP5.js} +5 -7
  82. package/dist/chunk-PGFVHKP5.js.map +1 -0
  83. package/dist/{chunk-JAROCU6M.js → chunk-QHK7GGV4.js} +3 -3
  84. package/dist/chunk-QHK7GGV4.js.map +1 -0
  85. package/dist/{chunk-YT73QWCN.js → chunk-RS37Y2PQ.js} +3 -3
  86. package/dist/chunk-RS37Y2PQ.js.map +1 -0
  87. package/dist/{chunk-TUACATJA.js → chunk-UGSLGUS6.js} +8 -6
  88. package/dist/chunk-UGSLGUS6.js.map +1 -0
  89. package/dist/{chunk-DAPAXWA5.js → chunk-URNS6A5T.js} +14 -14
  90. package/dist/{chunk-FGKMJS3B.js → chunk-VANBSJS5.js} +2 -4
  91. package/dist/chunk-VANBSJS5.js.map +1 -0
  92. package/dist/{chunk-HPBE6KYY.js → chunk-VUFRP6P3.js} +5 -6
  93. package/dist/chunk-VUFRP6P3.js.map +1 -0
  94. package/dist/{chunk-X7IEZBM4.js → chunk-X4GUACQO.js} +8 -5
  95. package/dist/chunk-X4GUACQO.js.map +1 -0
  96. package/dist/{chunk-4XJMRVFI.js → chunk-XWYJACQC.js} +45 -22
  97. package/dist/chunk-XWYJACQC.js.map +1 -0
  98. package/dist/{chunk-AMGWP7A4.js → chunk-ZJW3QIPM.js} +8 -9
  99. package/dist/chunk-ZJW3QIPM.js.map +1 -0
  100. package/dist/chunk-ZKAH3APE.js +1 -0
  101. package/dist/chunk-ZKAH3APE.js.map +1 -0
  102. package/dist/{chunk-2JHFUQ6B.js → chunk-ZN5TB2NJ.js} +963 -883
  103. package/dist/chunk-ZN5TB2NJ.js.map +1 -0
  104. package/dist/{chunk-WXL7PVI5.js → chunk-ZRSYBSSY.js} +18 -12
  105. package/dist/chunk-ZRSYBSSY.js.map +1 -0
  106. package/dist/commonConstants.cjs +279 -173
  107. package/dist/commonConstants.cjs.map +1 -1
  108. package/dist/commonConstants.d.cts +46 -212
  109. package/dist/commonConstants.d.ts +46 -212
  110. package/dist/commonConstants.js +11 -19
  111. package/dist/commonSelectors.cjs +513 -778
  112. package/dist/commonSelectors.cjs.map +1 -1
  113. package/dist/commonSelectors.d.cts +4307 -279
  114. package/dist/commonSelectors.d.ts +4307 -279
  115. package/dist/commonSelectors.js +13 -13
  116. package/dist/constants.cjs +355 -655
  117. package/dist/constants.cjs.map +1 -1
  118. package/dist/constants.d.cts +11 -9
  119. package/dist/constants.d.ts +11 -9
  120. package/dist/constants.js +37 -29
  121. package/dist/deploymentsSlice/constants.cjs +5 -360
  122. package/dist/deploymentsSlice/constants.cjs.map +1 -1
  123. package/dist/deploymentsSlice/constants.d.cts +59 -39
  124. package/dist/deploymentsSlice/constants.d.ts +59 -39
  125. package/dist/deploymentsSlice/constants.js +5 -11
  126. package/dist/deploymentsSlice/index.cjs +17 -365
  127. package/dist/deploymentsSlice/index.cjs.map +1 -1
  128. package/dist/deploymentsSlice/index.d.cts +142 -2359
  129. package/dist/deploymentsSlice/index.d.ts +142 -2359
  130. package/dist/deploymentsSlice/index.js +6 -6
  131. package/dist/deploymentsSlice/mocks.cjs +429 -0
  132. package/dist/deploymentsSlice/mocks.cjs.map +1 -0
  133. package/dist/deploymentsSlice/mocks.d.cts +189 -0
  134. package/dist/deploymentsSlice/mocks.d.ts +189 -0
  135. package/dist/deploymentsSlice/mocks.js +146 -0
  136. package/dist/deploymentsSlice/mocks.js.map +1 -0
  137. package/dist/deploymentsSlice/selectors.cjs +5 -353
  138. package/dist/deploymentsSlice/selectors.cjs.map +1 -1
  139. package/dist/deploymentsSlice/selectors.d.cts +167 -11
  140. package/dist/deploymentsSlice/selectors.d.ts +167 -11
  141. package/dist/deploymentsSlice/selectors.js +6 -6
  142. package/dist/deploymentsSlice/thunks.cjs +1551 -1778
  143. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  144. package/dist/deploymentsSlice/thunks.d.cts +134 -76
  145. package/dist/deploymentsSlice/thunks.d.ts +134 -76
  146. package/dist/deploymentsSlice/thunks.js +30 -29
  147. package/dist/devicesSlice/constants.cjs +5 -375
  148. package/dist/devicesSlice/constants.cjs.map +1 -1
  149. package/dist/devicesSlice/constants.d.cts +8 -16
  150. package/dist/devicesSlice/constants.d.ts +8 -16
  151. package/dist/devicesSlice/constants.js +7 -25
  152. package/dist/devicesSlice/index.cjs +17 -381
  153. package/dist/devicesSlice/index.cjs.map +1 -1
  154. package/dist/devicesSlice/index.d.cts +196 -2208
  155. package/dist/devicesSlice/index.d.ts +196 -2208
  156. package/dist/devicesSlice/index.js +6 -6
  157. package/dist/devicesSlice/mocks.cjs +336 -0
  158. package/dist/devicesSlice/mocks.cjs.map +1 -0
  159. package/dist/devicesSlice/mocks.d.cts +154 -0
  160. package/dist/devicesSlice/mocks.d.ts +154 -0
  161. package/dist/devicesSlice/mocks.js +136 -0
  162. package/dist/devicesSlice/mocks.js.map +1 -0
  163. package/dist/devicesSlice/selectors.cjs +280 -293
  164. package/dist/devicesSlice/selectors.cjs.map +1 -1
  165. package/dist/devicesSlice/selectors.d.cts +1791 -82
  166. package/dist/devicesSlice/selectors.d.ts +1791 -82
  167. package/dist/devicesSlice/selectors.js +8 -6
  168. package/dist/devicesSlice/thunks.cjs +1699 -1936
  169. package/dist/devicesSlice/thunks.cjs.map +1 -1
  170. package/dist/devicesSlice/thunks.d.cts +374 -291
  171. package/dist/devicesSlice/thunks.d.ts +374 -291
  172. package/dist/devicesSlice/thunks.js +36 -45
  173. package/dist/liststatehook.cjs +935 -0
  174. package/dist/liststatehook.cjs.map +1 -0
  175. package/dist/liststatehook.d.cts +234 -0
  176. package/dist/liststatehook.d.ts +234 -0
  177. package/dist/liststatehook.js +88 -0
  178. package/dist/liststatehook.js.map +1 -0
  179. package/dist/locationutils.cjs +906 -0
  180. package/dist/locationutils.cjs.map +1 -0
  181. package/dist/locationutils.d.cts +114 -0
  182. package/dist/locationutils.d.ts +114 -0
  183. package/dist/locationutils.js +46 -0
  184. package/dist/locationutils.js.map +1 -0
  185. package/dist/monitorSlice/constants.cjs +0 -146
  186. package/dist/monitorSlice/constants.cjs.map +1 -1
  187. package/dist/monitorSlice/constants.d.cts +4 -5
  188. package/dist/monitorSlice/constants.d.ts +4 -5
  189. package/dist/monitorSlice/constants.js +1 -12
  190. package/dist/monitorSlice/index.cjs +5 -353
  191. package/dist/monitorSlice/index.cjs.map +1 -1
  192. package/dist/monitorSlice/index.d.cts +63 -260
  193. package/dist/monitorSlice/index.d.ts +63 -260
  194. package/dist/monitorSlice/index.js +6 -6
  195. package/dist/monitorSlice/mocks.cjs +130 -0
  196. package/dist/monitorSlice/mocks.cjs.map +1 -0
  197. package/dist/monitorSlice/mocks.d.cts +57 -0
  198. package/dist/monitorSlice/mocks.d.ts +57 -0
  199. package/dist/monitorSlice/mocks.js +65 -0
  200. package/dist/monitorSlice/mocks.js.map +1 -0
  201. package/dist/monitorSlice/thunks.cjs +633 -880
  202. package/dist/monitorSlice/thunks.cjs.map +1 -1
  203. package/dist/monitorSlice/thunks.d.cts +90 -21
  204. package/dist/monitorSlice/thunks.d.ts +90 -21
  205. package/dist/monitorSlice/thunks.js +26 -26
  206. package/dist/onboardingSlice/constants.cjs +1 -0
  207. package/dist/onboardingSlice/constants.cjs.map +1 -1
  208. package/dist/onboardingSlice/constants.d.cts +23 -20
  209. package/dist/onboardingSlice/constants.d.ts +23 -20
  210. package/dist/onboardingSlice/constants.js +1 -1
  211. package/dist/onboardingSlice/index.cjs +1 -3
  212. package/dist/onboardingSlice/index.cjs.map +1 -1
  213. package/dist/onboardingSlice/index.d.cts +50 -225
  214. package/dist/onboardingSlice/index.d.ts +50 -225
  215. package/dist/onboardingSlice/index.js +1 -1
  216. package/dist/onboardingSlice/mocks.cjs +83 -0
  217. package/dist/onboardingSlice/mocks.cjs.map +1 -0
  218. package/dist/onboardingSlice/mocks.d.cts +19 -0
  219. package/dist/onboardingSlice/mocks.d.ts +19 -0
  220. package/dist/onboardingSlice/mocks.js +17 -0
  221. package/dist/onboardingSlice/mocks.js.map +1 -0
  222. package/dist/onboardingSlice/thunks.cjs +1787 -2020
  223. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  224. package/dist/onboardingSlice/thunks.d.cts +63 -36
  225. package/dist/onboardingSlice/thunks.d.ts +63 -36
  226. package/dist/onboardingSlice/thunks.js +30 -31
  227. package/dist/organizationSlice/constants.cjs +8 -748
  228. package/dist/organizationSlice/constants.cjs.map +1 -1
  229. package/dist/organizationSlice/constants.d.cts +36 -116
  230. package/dist/organizationSlice/constants.d.ts +36 -116
  231. package/dist/organizationSlice/constants.js +7 -17
  232. package/dist/organizationSlice/index.cjs +14 -368
  233. package/dist/organizationSlice/index.cjs.map +1 -1
  234. package/dist/organizationSlice/index.d.cts +45 -73
  235. package/dist/organizationSlice/index.d.ts +45 -73
  236. package/dist/organizationSlice/index.js +6 -6
  237. package/dist/organizationSlice/mocks.cjs +234 -0
  238. package/dist/organizationSlice/mocks.cjs.map +1 -0
  239. package/dist/organizationSlice/mocks.d.cts +107 -0
  240. package/dist/organizationSlice/mocks.d.ts +107 -0
  241. package/dist/organizationSlice/mocks.js +101 -0
  242. package/dist/organizationSlice/mocks.js.map +1 -0
  243. package/dist/organizationSlice/selectors.cjs +301 -146
  244. package/dist/organizationSlice/selectors.cjs.map +1 -1
  245. package/dist/organizationSlice/selectors.d.cts +888 -51
  246. package/dist/organizationSlice/selectors.d.ts +888 -51
  247. package/dist/organizationSlice/selectors.js +14 -6
  248. package/dist/organizationSlice/thunks.cjs +2616 -2759
  249. package/dist/organizationSlice/thunks.cjs.map +1 -1
  250. package/dist/organizationSlice/thunks.d.cts +322 -131
  251. package/dist/organizationSlice/thunks.d.ts +322 -131
  252. package/dist/organizationSlice/thunks.js +44 -29
  253. package/dist/organizationSlice/types.cjs.map +1 -1
  254. package/dist/organizationSlice/types.d.cts +62 -79
  255. package/dist/organizationSlice/types.d.ts +62 -79
  256. package/dist/releasesSlice/constants.cjs +3 -0
  257. package/dist/releasesSlice/constants.cjs.map +1 -1
  258. package/dist/releasesSlice/constants.d.cts +2 -1
  259. package/dist/releasesSlice/constants.d.ts +2 -1
  260. package/dist/releasesSlice/constants.js +3 -1
  261. package/dist/releasesSlice/index.cjs +5 -222
  262. package/dist/releasesSlice/index.cjs.map +1 -1
  263. package/dist/releasesSlice/index.d.cts +52 -473
  264. package/dist/releasesSlice/index.d.ts +52 -473
  265. package/dist/releasesSlice/index.js +6 -6
  266. package/dist/releasesSlice/mocks.cjs +177 -0
  267. package/dist/releasesSlice/mocks.cjs.map +1 -0
  268. package/dist/releasesSlice/mocks.d.cts +49 -0
  269. package/dist/releasesSlice/mocks.d.ts +49 -0
  270. package/dist/releasesSlice/mocks.js +61 -0
  271. package/dist/releasesSlice/mocks.js.map +1 -0
  272. package/dist/releasesSlice/selectors.cjs +293 -165
  273. package/dist/releasesSlice/selectors.cjs.map +1 -1
  274. package/dist/releasesSlice/selectors.d.cts +886 -24
  275. package/dist/releasesSlice/selectors.d.ts +886 -24
  276. package/dist/releasesSlice/selectors.js +9 -7
  277. package/dist/releasesSlice/thunks.cjs +827 -1017
  278. package/dist/releasesSlice/thunks.cjs.map +1 -1
  279. package/dist/releasesSlice/thunks.d.cts +150 -130
  280. package/dist/releasesSlice/thunks.d.ts +150 -130
  281. package/dist/releasesSlice/thunks.js +33 -26
  282. package/dist/selectors.cjs +565 -780
  283. package/dist/selectors.cjs.map +1 -1
  284. package/dist/selectors.d.cts +37 -8
  285. package/dist/selectors.d.ts +37 -8
  286. package/dist/selectors.js +54 -18
  287. package/dist/sockethook.cjs +519 -0
  288. package/dist/sockethook.cjs.map +1 -0
  289. package/dist/sockethook.d.cts +10 -0
  290. package/dist/sockethook.d.ts +10 -0
  291. package/dist/sockethook.js +139 -0
  292. package/dist/sockethook.js.map +1 -0
  293. package/dist/store.cjs +121 -840
  294. package/dist/store.cjs.map +1 -1
  295. package/dist/store.d.cts +697 -1961
  296. package/dist/store.d.ts +697 -1961
  297. package/dist/store.js +18 -16
  298. package/dist/storehooks.cjs +1854 -1968
  299. package/dist/storehooks.cjs.map +1 -1
  300. package/dist/storehooks.js +46 -63
  301. package/dist/storehooks.js.map +1 -1
  302. package/dist/thunks.cjs +2138 -2231
  303. package/dist/thunks.cjs.map +1 -1
  304. package/dist/thunks.d.cts +25 -7
  305. package/dist/thunks.d.ts +25 -7
  306. package/dist/thunks.js +54 -45
  307. package/dist/{deploymentdevicehook.cjs → useDeploymentDevice.cjs} +1797 -2026
  308. package/dist/useDeploymentDevice.cjs.map +1 -0
  309. package/dist/useDeploymentDevice.js +63 -0
  310. package/dist/useDeploymentDevice.js.map +1 -0
  311. package/dist/usersSlice/constants.cjs +5 -747
  312. package/dist/usersSlice/constants.cjs.map +1 -1
  313. package/dist/usersSlice/constants.d.cts +16 -774
  314. package/dist/usersSlice/constants.d.ts +16 -774
  315. package/dist/usersSlice/constants.js +7 -30
  316. package/dist/usersSlice/index.cjs +10 -721
  317. package/dist/usersSlice/index.cjs.map +1 -1
  318. package/dist/usersSlice/index.d.cts +136 -7900
  319. package/dist/usersSlice/index.d.ts +136 -7900
  320. package/dist/usersSlice/index.js +6 -6
  321. package/dist/usersSlice/mocks.cjs +200 -0
  322. package/dist/usersSlice/mocks.cjs.map +1 -0
  323. package/dist/usersSlice/mocks.d.cts +83 -0
  324. package/dist/usersSlice/mocks.d.ts +83 -0
  325. package/dist/usersSlice/mocks.js +47 -0
  326. package/dist/usersSlice/mocks.js.map +1 -0
  327. package/dist/usersSlice/selectors.cjs +319 -566
  328. package/dist/usersSlice/selectors.cjs.map +1 -1
  329. package/dist/usersSlice/selectors.d.cts +1651 -59
  330. package/dist/usersSlice/selectors.d.ts +1651 -59
  331. package/dist/usersSlice/selectors.js +13 -9
  332. package/dist/usersSlice/thunks.cjs +1666 -1893
  333. package/dist/usersSlice/thunks.cjs.map +1 -1
  334. package/dist/usersSlice/thunks.d.cts +362 -312
  335. package/dist/usersSlice/thunks.d.ts +362 -312
  336. package/dist/usersSlice/thunks.js +30 -29
  337. package/dist/utils.cjs +428 -292
  338. package/dist/utils.cjs.map +1 -1
  339. package/dist/utils.d.cts +44 -22
  340. package/dist/utils.d.ts +44 -22
  341. package/dist/utils.js +12 -6
  342. package/package.json +18 -8
  343. package/dist/api/types/AWSCredentials.ts +0 -16
  344. package/dist/api/types/Actor.ts +0 -35
  345. package/dist/api/types/Addon.ts +0 -17
  346. package/dist/api/types/AddonTenantadm.ts +0 -17
  347. package/dist/api/types/Address.ts +0 -6
  348. package/dist/api/types/AddressUpdate.ts +0 -12
  349. package/dist/api/types/Alert.ts +0 -34
  350. package/dist/api/types/AlertDetails.ts +0 -23
  351. package/dist/api/types/AlertSubject.ts +0 -23
  352. package/dist/api/types/ApiBurst.ts +0 -21
  353. package/dist/api/types/ApiBurstTenantadm.ts +0 -21
  354. package/dist/api/types/ApiLimits.ts +0 -16
  355. package/dist/api/types/ApiLimitsTenantadm.ts +0 -16
  356. package/dist/api/types/ApiQuota.ts +0 -17
  357. package/dist/api/types/ApiQuotaTenantadm.ts +0 -17
  358. package/dist/api/types/Artifact.ts +0 -48
  359. package/dist/api/types/ArtifactDeployments.ts +0 -48
  360. package/dist/api/types/ArtifactInfo.ts +0 -11
  361. package/dist/api/types/ArtifactInfoDeployments.ts +0 -11
  362. package/dist/api/types/ArtifactLink.ts +0 -11
  363. package/dist/api/types/ArtifactTypeInfo.ts +0 -13
  364. package/dist/api/types/ArtifactTypeInfoDeployments.ts +0 -13
  365. package/dist/api/types/ArtifactUpdate.ts +0 -10
  366. package/dist/api/types/ArtifactUploadLink.ts +0 -15
  367. package/dist/api/types/Attribute.ts +0 -36
  368. package/dist/api/types/AttributeInventory.ts +0 -32
  369. package/dist/api/types/AuditLog.ts +0 -26
  370. package/dist/api/types/AuthSet.ts +0 -37
  371. package/dist/api/types/AuthSetDeviceauth.ts +0 -37
  372. package/dist/api/types/AuthSetIot_manager.ts +0 -33
  373. package/dist/api/types/AutoAuthRequest.ts +0 -23
  374. package/dist/api/types/AzureSharedAccessSecret.ts +0 -11
  375. package/dist/api/types/BillingInfo.ts +0 -13
  376. package/dist/api/types/BillingProfile.ts +0 -37
  377. package/dist/api/types/BillingProfileUpdate.ts +0 -37
  378. package/dist/api/types/BinaryDeltaConfiguration.ts +0 -15
  379. package/dist/api/types/BinaryDeltaConfigurationDeployments.ts +0 -15
  380. package/dist/api/types/BinaryDeltaLimits.ts +0 -21
  381. package/dist/api/types/BinaryDeltaLimitsDeployments.ts +0 -15
  382. package/dist/api/types/BoundingBox.ts +0 -9
  383. package/dist/api/types/CancelRequest.ts +0 -10
  384. package/dist/api/types/CardData.ts +0 -49
  385. package/dist/api/types/CardSetupData.ts +0 -17
  386. package/dist/api/types/CheckoutData.ts +0 -13
  387. package/dist/api/types/Configuration.ts +0 -11
  388. package/dist/api/types/Count.ts +0 -13
  389. package/dist/api/types/Credentials.ts +0 -23
  390. package/dist/api/types/DBusSubsystem.ts +0 -27
  391. package/dist/api/types/DeltaConfiguration.ts +0 -14
  392. package/dist/api/types/DeltaConfigurationDeployments.ts +0 -14
  393. package/dist/api/types/Deployment.ts +0 -45
  394. package/dist/api/types/DeploymentAggregation.ts +0 -16
  395. package/dist/api/types/DeploymentAggregationItem.ts +0 -16
  396. package/dist/api/types/DeploymentAggregationTerm.ts +0 -22
  397. package/dist/api/types/DeploymentAggregationTerms.ts +0 -16
  398. package/dist/api/types/DeploymentAttributeProjection.ts +0 -10
  399. package/dist/api/types/DeploymentAuditlogs.ts +0 -11
  400. package/dist/api/types/DeploymentDeployments.ts +0 -98
  401. package/dist/api/types/DeploymentFilterTerm.ts +0 -35
  402. package/dist/api/types/DeploymentIdentifier.ts +0 -10
  403. package/dist/api/types/DeploymentPhase.ts +0 -23
  404. package/dist/api/types/DeploymentPhaseDeployments.ts +0 -23
  405. package/dist/api/types/DeploymentReporting.ts +0 -46
  406. package/dist/api/types/DeploymentSearchTerms.ts +0 -37
  407. package/dist/api/types/DeploymentSortTerm.ts +0 -23
  408. package/dist/api/types/DeploymentStatistics.ts +0 -15
  409. package/dist/api/types/DeploymentStatisticsDeployments.ts +0 -15
  410. package/dist/api/types/DeploymentStatusStatistics.ts +0 -54
  411. package/dist/api/types/DeploymentStatusStatisticsDeployments.ts +0 -54
  412. package/dist/api/types/Device.ts +0 -20
  413. package/dist/api/types/DeviceAggregation.ts +0 -16
  414. package/dist/api/types/DeviceAggregationItem.ts +0 -16
  415. package/dist/api/types/DeviceAggregationTerm.ts +0 -26
  416. package/dist/api/types/DeviceAggregationTerms.ts +0 -20
  417. package/dist/api/types/DeviceAttribute.ts +0 -22
  418. package/dist/api/types/DeviceAttributeProjection.ts +0 -14
  419. package/dist/api/types/DeviceAuditlogs.ts +0 -17
  420. package/dist/api/types/DeviceAuthEvent.ts +0 -23
  421. package/dist/api/types/DeviceConfiguration.ts +0 -16
  422. package/dist/api/types/DeviceDeployment.ts +0 -11
  423. package/dist/api/types/DeviceDeployments.ts +0 -29
  424. package/dist/api/types/DeviceDeviceauth.ts +0 -42
  425. package/dist/api/types/DeviceFilterAttribute.ts +0 -21
  426. package/dist/api/types/DeviceFilterTerm.ts +0 -39
  427. package/dist/api/types/DeviceInventory.ts +0 -19
  428. package/dist/api/types/DeviceInventoryInventory.ts +0 -19
  429. package/dist/api/types/DeviceReporting.ts +0 -22
  430. package/dist/api/types/DeviceSearchTerms.ts +0 -37
  431. package/dist/api/types/DeviceSortTerm.ts +0 -27
  432. package/dist/api/types/DeviceState.ts +0 -32
  433. package/dist/api/types/DeviceStateDeviceconnect.ts +0 -33
  434. package/dist/api/types/DeviceStateIot_manager.ts +0 -14
  435. package/dist/api/types/DeviceStatus.ts +0 -19
  436. package/dist/api/types/DeviceWithImage.ts +0 -80
  437. package/dist/api/types/DirectUploadMetadata.ts +0 -18
  438. package/dist/api/types/EmailVerificationCompletion.ts +0 -13
  439. package/dist/api/types/EmailVerificationRequest.ts +0 -13
  440. package/dist/api/types/Error.ts +0 -17
  441. package/dist/api/types/ErrorAuditlogs.ts +0 -13
  442. package/dist/api/types/ErrorDeployments.ts +0 -17
  443. package/dist/api/types/ErrorDeviceauth.ts +0 -13
  444. package/dist/api/types/ErrorDeviceconfig.ts +0 -17
  445. package/dist/api/types/ErrorDeviceconnect.ts +0 -17
  446. package/dist/api/types/ErrorDevicemonitor.ts +0 -17
  447. package/dist/api/types/ErrorExt.ts +0 -18
  448. package/dist/api/types/ErrorInventory.ts +0 -17
  449. package/dist/api/types/ErrorIot_manager.ts +0 -17
  450. package/dist/api/types/ErrorNotFound.ts +0 -17
  451. package/dist/api/types/ErrorReporting.ts +0 -18
  452. package/dist/api/types/ErrorTenantadm.ts +0 -13
  453. package/dist/api/types/ErrorUseradm.ts +0 -17
  454. package/dist/api/types/Event.ts +0 -48
  455. package/dist/api/types/ExternalIdentity.ts +0 -17
  456. package/dist/api/types/Features.ts +0 -17
  457. package/dist/api/types/FileUpload.ts +0 -23
  458. package/dist/api/types/Filter.ts +0 -19
  459. package/dist/api/types/FilterAttribute.ts +0 -21
  460. package/dist/api/types/FilterDefinition.ts +0 -18
  461. package/dist/api/types/FilterDeployments.ts +0 -19
  462. package/dist/api/types/FilterInventory.ts +0 -19
  463. package/dist/api/types/FilterPredicate.ts +0 -48
  464. package/dist/api/types/FilterPredicateDeployments.ts +0 -48
  465. package/dist/api/types/FilterPredicateInventory.ts +0 -78
  466. package/dist/api/types/GeoBoundingBox.ts +0 -8
  467. package/dist/api/types/GeoBoundingBoxFilter.ts +0 -5
  468. package/dist/api/types/GeoDistance.ts +0 -15
  469. package/dist/api/types/GeoDistanceFilter.ts +0 -8
  470. package/dist/api/types/GeoPoint.ts +0 -14
  471. package/dist/api/types/Group.ts +0 -10
  472. package/dist/api/types/HTTP.ts +0 -19
  473. package/dist/api/types/IdentityData.ts +0 -25
  474. package/dist/api/types/InputParameter.ts +0 -8
  475. package/dist/api/types/Integration.ts +0 -30
  476. package/dist/api/types/JobStatus.ts +0 -13
  477. package/dist/api/types/Limit.ts +0 -21
  478. package/dist/api/types/LimitDeployments.ts +0 -21
  479. package/dist/api/types/LimitDeviceauth.ts +0 -10
  480. package/dist/api/types/LimitUseradm.ts +0 -11
  481. package/dist/api/types/Limits.ts +0 -11
  482. package/dist/api/types/LineDescriptor.ts +0 -11
  483. package/dist/api/types/LogSubsystem.ts +0 -23
  484. package/dist/api/types/LoginOptions.ts +0 -18
  485. package/dist/api/types/ManagementAPIConfiguration.ts +0 -5
  486. package/dist/api/types/MenderTypes.ts +0 -213
  487. package/dist/api/types/MonitorConfiguration.ts +0 -22
  488. package/dist/api/types/NewConfigurationDeployment.ts +0 -15
  489. package/dist/api/types/NewConfigurationDeploymentResponse.ts +0 -10
  490. package/dist/api/types/NewDeployment.ts +0 -42
  491. package/dist/api/types/NewDeploymentForGroup.ts +0 -33
  492. package/dist/api/types/NewDeploymentPhase.ts +0 -37
  493. package/dist/api/types/NewDeploymentPhaseDeployments.ts +0 -20
  494. package/dist/api/types/NewDeploymentV2.ts +0 -34
  495. package/dist/api/types/NewTenant.ts +0 -49
  496. package/dist/api/types/Object.ts +0 -38
  497. package/dist/api/types/OwnUserUpdate.ts +0 -21
  498. package/dist/api/types/PasswordResetCompletion.ts +0 -17
  499. package/dist/api/types/PasswordResetRequest.ts +0 -13
  500. package/dist/api/types/Permission.ts +0 -21
  501. package/dist/api/types/PermissionObject.ts +0 -14
  502. package/dist/api/types/PermissionSet.ts +0 -22
  503. package/dist/api/types/PermissionSetWithScope.ts +0 -15
  504. package/dist/api/types/PersonalAccessToken.ts +0 -29
  505. package/dist/api/types/PersonalAccessTokenRequest.ts +0 -18
  506. package/dist/api/types/Plan.ts +0 -19
  507. package/dist/api/types/PlanBindingDetails.ts +0 -13
  508. package/dist/api/types/PlanChangeRequest.ts +0 -14
  509. package/dist/api/types/PlanLimits.ts +0 -12
  510. package/dist/api/types/PreAuthSet.ts +0 -16
  511. package/dist/api/types/Release.ts +0 -32
  512. package/dist/api/types/ReleaseDeployments.ts +0 -32
  513. package/dist/api/types/ReleaseUpdate.ts +0 -13
  514. package/dist/api/types/Releases.ts +0 -9
  515. package/dist/api/types/ReleasesDeleteError.ts +0 -21
  516. package/dist/api/types/ReleasesDeployments.ts +0 -9
  517. package/dist/api/types/Role.ts +0 -19
  518. package/dist/api/types/RolePermission.ts +0 -25
  519. package/dist/api/types/RolePermissionObject.ts +0 -17
  520. package/dist/api/types/RoleUseradm.ts +0 -19
  521. package/dist/api/types/SAMLMetadata.ts +0 -21
  522. package/dist/api/types/Scope.ts +0 -19
  523. package/dist/api/types/SelectAttribute.ts +0 -17
  524. package/dist/api/types/ServiceSubsystem.ts +0 -19
  525. package/dist/api/types/Settings.ts +0 -23
  526. package/dist/api/types/SortCriteria.ts +0 -30
  527. package/dist/api/types/SsoObject.ts +0 -21
  528. package/dist/api/types/Status.ts +0 -18
  529. package/dist/api/types/StatusDeviceauth.ts +0 -18
  530. package/dist/api/types/StatusTenantadm.ts +0 -17
  531. package/dist/api/types/StorageLimit.ts +0 -17
  532. package/dist/api/types/SubscriptionData.ts +0 -8
  533. package/dist/api/types/SupportRequest.ts +0 -17
  534. package/dist/api/types/Tag.ts +0 -27
  535. package/dist/api/types/Tags.ts +0 -10
  536. package/dist/api/types/TaskResult.ts +0 -13
  537. package/dist/api/types/TaskResultCLI.ts +0 -10
  538. package/dist/api/types/TaskResultHTTPRequest.ts +0 -8
  539. package/dist/api/types/TaskResultHTTPResponse.ts +0 -10
  540. package/dist/api/types/Tenant.ts +0 -26
  541. package/dist/api/types/TenantApiLimits.ts +0 -12
  542. package/dist/api/types/TenantApiLimitsTenantadm.ts +0 -12
  543. package/dist/api/types/TenantIdName.ts +0 -14
  544. package/dist/api/types/TenantIdsData.ts +0 -10
  545. package/dist/api/types/TenantInfo.ts +0 -14
  546. package/dist/api/types/TenantShortInfo.ts +0 -21
  547. package/dist/api/types/TenantTenantadm.ts +0 -54
  548. package/dist/api/types/TenantsIdName.ts +0 -6
  549. package/dist/api/types/Update.ts +0 -17
  550. package/dist/api/types/UpdateChildTenant.ts +0 -17
  551. package/dist/api/types/UpdateDeployments.ts +0 -18
  552. package/dist/api/types/UpdateFile.ts +0 -13
  553. package/dist/api/types/UpdateFileDeployments.ts +0 -13
  554. package/dist/api/types/UpdateTypes.ts +0 -8
  555. package/dist/api/types/UpgradeCompleteRequest.ts +0 -25
  556. package/dist/api/types/User.ts +0 -13
  557. package/dist/api/types/UserAuditlogs.ts +0 -13
  558. package/dist/api/types/UserNew.ts +0 -26
  559. package/dist/api/types/UserUpdate.ts +0 -25
  560. package/dist/api/types/UserUseradm.ts +0 -45
  561. package/dist/api/types/UserWithTenantInfo.ts +0 -12
  562. package/dist/api/types/XDeltaArgs.ts +0 -9
  563. package/dist/api/types/XDeltaArgsDeployments.ts +0 -9
  564. package/dist/api/types/XDeltaArgsLimits.ts +0 -10
  565. package/dist/api/types/XDeltaArgsLimitsDeployments.ts +0 -10
  566. package/dist/chunk-2CYOM4BK.js.map +0 -1
  567. package/dist/chunk-2JHFUQ6B.js.map +0 -1
  568. package/dist/chunk-4B3IMP4I.js +0 -245
  569. package/dist/chunk-4B3IMP4I.js.map +0 -1
  570. package/dist/chunk-4XJMRVFI.js.map +0 -1
  571. package/dist/chunk-7JKWI5FK.js.map +0 -1
  572. package/dist/chunk-7PVGDMNM.js.map +0 -1
  573. package/dist/chunk-AMGWP7A4.js.map +0 -1
  574. package/dist/chunk-C5NEDBJI.js +0 -727
  575. package/dist/chunk-C5NEDBJI.js.map +0 -1
  576. package/dist/chunk-CYV6632F.js.map +0 -1
  577. package/dist/chunk-DCK2DBOA.js.map +0 -1
  578. package/dist/chunk-FGKMJS3B.js.map +0 -1
  579. package/dist/chunk-HPBE6KYY.js.map +0 -1
  580. package/dist/chunk-JAROCU6M.js.map +0 -1
  581. package/dist/chunk-LEMVXAYP.js.map +0 -1
  582. package/dist/chunk-LGNOTPUG.js +0 -106
  583. package/dist/chunk-LGNOTPUG.js.map +0 -1
  584. package/dist/chunk-LIJIIRON.js +0 -28
  585. package/dist/chunk-LIJIIRON.js.map +0 -1
  586. package/dist/chunk-LTKOV26W.js.map +0 -1
  587. package/dist/chunk-MRCFLG45.js.map +0 -1
  588. package/dist/chunk-QRGTG4YB.js.map +0 -1
  589. package/dist/chunk-TI2RL5P2.js.map +0 -1
  590. package/dist/chunk-TUACATJA.js.map +0 -1
  591. package/dist/chunk-UWMYZNUB.js.map +0 -1
  592. package/dist/chunk-VMNMD6KF.js.map +0 -1
  593. package/dist/chunk-WXL7PVI5.js.map +0 -1
  594. package/dist/chunk-X7IEZBM4.js.map +0 -1
  595. package/dist/chunk-YDS36ALB.js.map +0 -1
  596. package/dist/chunk-YT73QWCN.js.map +0 -1
  597. package/dist/deploymentdevicehook.cjs.map +0 -1
  598. package/dist/deploymentdevicehook.js +0 -62
  599. package/dist/deploymentdevicehook.js.map +0 -1
  600. /package/dist/{chunk-DAPAXWA5.js.map → chunk-URNS6A5T.js.map} +0 -0
  601. /package/dist/{deploymentdevicehook.d.cts → useDeploymentDevice.d.cts} +0 -0
  602. /package/dist/{deploymentdevicehook.d.ts → useDeploymentDevice.d.ts} +0 -0
@@ -1,39 +1,190 @@
1
1
  import * as reselect from 'reselect';
2
- import { Organization } from './types.cjs';
2
+ import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
3
+ import { ReadState } from '../usersSlice/constants.cjs';
4
+ import { User, UserSession, CustomColumn, GlobalSettings, UserSettings } from '../usersSlice/index.cjs';
5
+ import { ReleaseSliceType } from '../releasesSlice/index.cjs';
6
+ import { OnboardingApproach } from '../onboardingSlice/index.cjs';
7
+ import * as _northern_tech_types_Alert from '@northern.tech/types/Alert';
8
+ import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState } from '../deploymentsSlice/index.cjs';
9
+ import { DeviceSliceType } from '../devicesSlice/index.cjs';
10
+ import { SearchState, SentryConfig, SnackbarContent, Upload } from '../appSlice/index.cjs';
11
+ import * as _northern_tech_types_Event from '@northern.tech/types/Event';
12
+ import * as _northern_tech_types_BillingProfile from '@northern.tech/types/BillingProfile';
13
+ import * as _northern_tech_types_AuditLog from '@northern.tech/types/AuditLog';
14
+ import * as _northern_tech_types_Integration from '@northern.tech/types/Integration';
15
+ import { Organization, AuditLogSelectionState, Subscription, Card, SSOConfig, TenantList, OrganizationState } from './types.cjs';
3
16
  import { RootState } from '../store.cjs';
17
+ import 'redux';
18
+ import '@reduxjs/toolkit';
19
+ import 'immer';
20
+ import '@northern.tech/types/MenderTypes';
21
+ import '../commonConstants.cjs';
22
+ import 'react/jsx-runtime';
23
+ import '../devicesSlice/constants.cjs';
24
+ import '@mui/material';
4
25
  import '../appSlice/constants.cjs';
5
26
  import '@mui/material/OverridableComponent';
6
- import '@mui/material';
7
- import '@reduxjs/toolkit';
27
+ import './constants.cjs';
8
28
  import 'redux-thunk';
9
- import 'redux';
10
29
 
11
- declare const getOrganization: (state: RootState) => Organization;
12
- declare const getExternalIntegrations: (state: any) => any;
13
- declare const getAuditlogState: (state: any) => any;
14
- declare const getAuditLog: (state: any) => any;
15
- declare const getAuditLogSelectionState: (state: any) => any;
16
- declare const getSsoConfig: ({ organization: { ssoConfigs } }: {
17
- organization: {
18
- ssoConfigs?: never[] | undefined;
19
- };
20
- }) => never;
21
- declare const getTenantsList: (state: any) => any;
22
- declare const getWebhookEvents: (state: any) => any;
23
- declare const getWebhookEventTotal: (state: any) => any;
24
- declare const getDeviceTwinIntegrations: ((state: any) => any) & {
30
+ declare const getOrganization: (state: RootState) => Partial<Organization>;
31
+ declare const getExternalIntegrations: (state: RootState) => _northern_tech_types_Integration.Integration[];
32
+ declare const getAuditlogState: (state: RootState) => AuditLogSelectionState;
33
+ declare const getAuditLog: (state: RootState) => _northern_tech_types_AuditLog.AuditLog[];
34
+ declare const getAuditLogSelectionState: (state: RootState) => AuditLogSelectionState;
35
+ declare const getBillingProfile: (state: RootState) => _northern_tech_types_BillingProfile.BillingProfile | undefined;
36
+ declare const getSubscription: (state: RootState) => Subscription | undefined;
37
+ declare const getCard: (state: RootState) => Card;
38
+ declare const getSsoConfig: ({ organization: { ssoConfigs } }: RootState) => SSOConfig;
39
+ declare const getTenantsList: (state: RootState) => TenantList;
40
+ declare const getWebhookEvents: (state: RootState) => _northern_tech_types_Event.Event[];
41
+ declare const getWebhookEventTotal: (state: RootState) => number;
42
+ declare const getDeviceTwinIntegrations: ((state: {
43
+ app: {
44
+ cancelSource: any;
45
+ commit: string;
46
+ demoArtifactLink: string;
47
+ docsVersion: string;
48
+ features: Record<string, boolean>;
49
+ feedbackProbability: number;
50
+ firstLoginAfterSignup: boolean;
51
+ hostAddress: string | null;
52
+ hostedAnnouncement: string;
53
+ newThreshold: string;
54
+ offlineThreshold: string;
55
+ recaptchaSiteKey: string;
56
+ searchState: SearchState;
57
+ sentry: SentryConfig;
58
+ snackbar: SnackbarContent;
59
+ stripeAPIKey: string;
60
+ trackerCode: string;
61
+ uploadsById: Record<string, Upload>;
62
+ versionInformation: {
63
+ [key: string]: string | {
64
+ releaseDate: string;
65
+ repos: Record<string, string>;
66
+ } | undefined;
67
+ backend?: string;
68
+ GUI?: string;
69
+ latestRelease?: {
70
+ releaseDate: string;
71
+ repos: Record<string, string>;
72
+ };
73
+ };
74
+ yesterday?: string;
75
+ };
76
+ devices: DeviceSliceType;
77
+ deployments: {
78
+ byId: Record<string, Deployment>;
79
+ byStatus: DeploymentByStatus;
80
+ config: DeploymentConfig;
81
+ deploymentDeviceLimit: number;
82
+ selectedDeviceIds: string[];
83
+ selectionState: SelectionState;
84
+ };
85
+ monitor: {
86
+ alerts: {
87
+ alertList: {
88
+ page: number;
89
+ perPage: number;
90
+ total: number;
91
+ };
92
+ byDeviceId: {
93
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
94
+ fullName?: string;
95
+ }>;
96
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
97
+ fullName?: string;
98
+ }>;
99
+ };
100
+ };
101
+ issueCounts: {
102
+ byType: {
103
+ issues: {
104
+ filtered: number;
105
+ total: number;
106
+ };
107
+ offline: {
108
+ filtered: number;
109
+ total: number;
110
+ };
111
+ failedLastUpdate: {
112
+ filtered: number;
113
+ total: number;
114
+ };
115
+ monitoring: {
116
+ filtered: number;
117
+ total: number;
118
+ };
119
+ authRequests: {
120
+ filtered: number;
121
+ total: number;
122
+ };
123
+ gatewayDevices: {
124
+ filtered: number;
125
+ total: number;
126
+ };
127
+ };
128
+ };
129
+ settings: {
130
+ global: {
131
+ channels: {
132
+ email: {
133
+ enabled: boolean;
134
+ };
135
+ };
136
+ };
137
+ };
138
+ };
139
+ onboarding: {
140
+ address?: string;
141
+ approach: OnboardingApproach | null;
142
+ complete: boolean;
143
+ demoArtifactPort: number;
144
+ deviceConnection?: string;
145
+ deviceType: string[] | string | null;
146
+ progress: string | null;
147
+ showTips: boolean | null;
148
+ showTipsDialog: boolean;
149
+ };
150
+ organization: OrganizationState;
151
+ releases: ReleaseSliceType;
152
+ users: {
153
+ activationCode?: string;
154
+ byId: Record<string, User>;
155
+ currentSession?: UserSession | object;
156
+ currentUser: string | null;
157
+ customColumns: CustomColumn[];
158
+ globalSettings: GlobalSettings;
159
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
160
+ qrCode: string | null;
161
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
162
+ rolesInitialized: boolean;
163
+ settingsInitialized: boolean;
164
+ showConnectDeviceDialog: boolean;
165
+ showFeedbackDialog: boolean;
166
+ showStartupNotification: boolean;
167
+ tooltips: {
168
+ byId: Record<string, {
169
+ readState: ReadState;
170
+ }>;
171
+ };
172
+ userSettings: UserSettings;
173
+ userSettingsInitialized: boolean;
174
+ };
175
+ }) => _northern_tech_types_Integration.Integration[]) & {
25
176
  clearCache: () => void;
26
177
  resultsCount: () => number;
27
178
  resetResultsCount: () => void;
28
179
  } & {
29
- resultFunc: (resultFuncArgs_0: any) => any;
30
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
180
+ resultFunc: (resultFuncArgs_0: _northern_tech_types_Integration.Integration[]) => _northern_tech_types_Integration.Integration[];
181
+ memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_Integration.Integration[]) => _northern_tech_types_Integration.Integration[]) & {
31
182
  clearCache: () => void;
32
183
  resultsCount: () => number;
33
184
  resetResultsCount: () => void;
34
185
  };
35
- lastResult: () => any;
36
- dependencies: [(state: any) => any];
186
+ lastResult: () => _northern_tech_types_Integration.Integration[];
187
+ dependencies: [(state: RootState) => _northern_tech_types_Integration.Integration[]];
37
188
  recomputations: () => number;
38
189
  resetRecomputations: () => void;
39
190
  dependencyRecomputations: () => number;
@@ -42,20 +193,153 @@ declare const getDeviceTwinIntegrations: ((state: any) => any) & {
42
193
  memoize: typeof reselect.weakMapMemoize;
43
194
  argsMemoize: typeof reselect.weakMapMemoize;
44
195
  };
45
- declare const getIsServiceProvider: (state: any) => any;
46
- declare const getWebhooks: ((state: any) => any) & {
196
+ declare const getIsServiceProvider: (state: RootState) => boolean | undefined;
197
+ declare const getWebhooks: ((state: {
198
+ app: {
199
+ cancelSource: any;
200
+ commit: string;
201
+ demoArtifactLink: string;
202
+ docsVersion: string;
203
+ features: Record<string, boolean>;
204
+ feedbackProbability: number;
205
+ firstLoginAfterSignup: boolean;
206
+ hostAddress: string | null;
207
+ hostedAnnouncement: string;
208
+ newThreshold: string;
209
+ offlineThreshold: string;
210
+ recaptchaSiteKey: string;
211
+ searchState: SearchState;
212
+ sentry: SentryConfig;
213
+ snackbar: SnackbarContent;
214
+ stripeAPIKey: string;
215
+ trackerCode: string;
216
+ uploadsById: Record<string, Upload>;
217
+ versionInformation: {
218
+ [key: string]: string | {
219
+ releaseDate: string;
220
+ repos: Record<string, string>;
221
+ } | undefined;
222
+ backend?: string;
223
+ GUI?: string;
224
+ latestRelease?: {
225
+ releaseDate: string;
226
+ repos: Record<string, string>;
227
+ };
228
+ };
229
+ yesterday?: string;
230
+ };
231
+ devices: DeviceSliceType;
232
+ deployments: {
233
+ byId: Record<string, Deployment>;
234
+ byStatus: DeploymentByStatus;
235
+ config: DeploymentConfig;
236
+ deploymentDeviceLimit: number;
237
+ selectedDeviceIds: string[];
238
+ selectionState: SelectionState;
239
+ };
240
+ monitor: {
241
+ alerts: {
242
+ alertList: {
243
+ page: number;
244
+ perPage: number;
245
+ total: number;
246
+ };
247
+ byDeviceId: {
248
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
249
+ fullName?: string;
250
+ }>;
251
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
252
+ fullName?: string;
253
+ }>;
254
+ };
255
+ };
256
+ issueCounts: {
257
+ byType: {
258
+ issues: {
259
+ filtered: number;
260
+ total: number;
261
+ };
262
+ offline: {
263
+ filtered: number;
264
+ total: number;
265
+ };
266
+ failedLastUpdate: {
267
+ filtered: number;
268
+ total: number;
269
+ };
270
+ monitoring: {
271
+ filtered: number;
272
+ total: number;
273
+ };
274
+ authRequests: {
275
+ filtered: number;
276
+ total: number;
277
+ };
278
+ gatewayDevices: {
279
+ filtered: number;
280
+ total: number;
281
+ };
282
+ };
283
+ };
284
+ settings: {
285
+ global: {
286
+ channels: {
287
+ email: {
288
+ enabled: boolean;
289
+ };
290
+ };
291
+ };
292
+ };
293
+ };
294
+ onboarding: {
295
+ address?: string;
296
+ approach: OnboardingApproach | null;
297
+ complete: boolean;
298
+ demoArtifactPort: number;
299
+ deviceConnection?: string;
300
+ deviceType: string[] | string | null;
301
+ progress: string | null;
302
+ showTips: boolean | null;
303
+ showTipsDialog: boolean;
304
+ };
305
+ organization: OrganizationState;
306
+ releases: ReleaseSliceType;
307
+ users: {
308
+ activationCode?: string;
309
+ byId: Record<string, User>;
310
+ currentSession?: UserSession | object;
311
+ currentUser: string | null;
312
+ customColumns: CustomColumn[];
313
+ globalSettings: GlobalSettings;
314
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
315
+ qrCode: string | null;
316
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
317
+ rolesInitialized: boolean;
318
+ settingsInitialized: boolean;
319
+ showConnectDeviceDialog: boolean;
320
+ showFeedbackDialog: boolean;
321
+ showStartupNotification: boolean;
322
+ tooltips: {
323
+ byId: Record<string, {
324
+ readState: ReadState;
325
+ }>;
326
+ };
327
+ userSettings: UserSettings;
328
+ userSettingsInitialized: boolean;
329
+ };
330
+ }) => _northern_tech_types_Integration.Integration[]) & {
47
331
  clearCache: () => void;
48
332
  resultsCount: () => number;
49
333
  resetResultsCount: () => void;
50
334
  } & {
51
- resultFunc: (resultFuncArgs_0: any) => any;
52
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
335
+ resultFunc: (resultFuncArgs_0: _northern_tech_types_Integration.Integration[]) => _northern_tech_types_Integration.Integration[];
336
+ memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_Integration.Integration[]) => _northern_tech_types_Integration.Integration[]) & {
53
337
  clearCache: () => void;
54
338
  resultsCount: () => number;
55
339
  resetResultsCount: () => void;
56
340
  };
57
- lastResult: () => any;
58
- dependencies: [(state: any) => any];
341
+ lastResult: () => _northern_tech_types_Integration.Integration[];
342
+ dependencies: [(state: RootState) => _northern_tech_types_Integration.Integration[]];
59
343
  recomputations: () => number;
60
344
  resetRecomputations: () => void;
61
345
  dependencyRecomputations: () => number;
@@ -64,43 +348,309 @@ declare const getWebhooks: ((state: any) => any) & {
64
348
  memoize: typeof reselect.weakMapMemoize;
65
349
  argsMemoize: typeof reselect.weakMapMemoize;
66
350
  };
67
- declare const getWebhookEventInfo: ((state: any) => {
68
- events: any;
69
- eventTotal: any;
351
+ declare const getWebhookEventInfo: ((state: {
352
+ app: {
353
+ cancelSource: any;
354
+ commit: string;
355
+ demoArtifactLink: string;
356
+ docsVersion: string;
357
+ features: Record<string, boolean>;
358
+ feedbackProbability: number;
359
+ firstLoginAfterSignup: boolean;
360
+ hostAddress: string | null;
361
+ hostedAnnouncement: string;
362
+ newThreshold: string;
363
+ offlineThreshold: string;
364
+ recaptchaSiteKey: string;
365
+ searchState: SearchState;
366
+ sentry: SentryConfig;
367
+ snackbar: SnackbarContent;
368
+ stripeAPIKey: string;
369
+ trackerCode: string;
370
+ uploadsById: Record<string, Upload>;
371
+ versionInformation: {
372
+ [key: string]: string | {
373
+ releaseDate: string;
374
+ repos: Record<string, string>;
375
+ } | undefined;
376
+ backend?: string;
377
+ GUI?: string;
378
+ latestRelease?: {
379
+ releaseDate: string;
380
+ repos: Record<string, string>;
381
+ };
382
+ };
383
+ yesterday?: string;
384
+ };
385
+ devices: DeviceSliceType;
386
+ deployments: {
387
+ byId: Record<string, Deployment>;
388
+ byStatus: DeploymentByStatus;
389
+ config: DeploymentConfig;
390
+ deploymentDeviceLimit: number;
391
+ selectedDeviceIds: string[];
392
+ selectionState: SelectionState;
393
+ };
394
+ monitor: {
395
+ alerts: {
396
+ alertList: {
397
+ page: number;
398
+ perPage: number;
399
+ total: number;
400
+ };
401
+ byDeviceId: {
402
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
403
+ fullName?: string;
404
+ }>;
405
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
406
+ fullName?: string;
407
+ }>;
408
+ };
409
+ };
410
+ issueCounts: {
411
+ byType: {
412
+ issues: {
413
+ filtered: number;
414
+ total: number;
415
+ };
416
+ offline: {
417
+ filtered: number;
418
+ total: number;
419
+ };
420
+ failedLastUpdate: {
421
+ filtered: number;
422
+ total: number;
423
+ };
424
+ monitoring: {
425
+ filtered: number;
426
+ total: number;
427
+ };
428
+ authRequests: {
429
+ filtered: number;
430
+ total: number;
431
+ };
432
+ gatewayDevices: {
433
+ filtered: number;
434
+ total: number;
435
+ };
436
+ };
437
+ };
438
+ settings: {
439
+ global: {
440
+ channels: {
441
+ email: {
442
+ enabled: boolean;
443
+ };
444
+ };
445
+ };
446
+ };
447
+ };
448
+ onboarding: {
449
+ address?: string;
450
+ approach: OnboardingApproach | null;
451
+ complete: boolean;
452
+ demoArtifactPort: number;
453
+ deviceConnection?: string;
454
+ deviceType: string[] | string | null;
455
+ progress: string | null;
456
+ showTips: boolean | null;
457
+ showTipsDialog: boolean;
458
+ };
459
+ organization: OrganizationState;
460
+ releases: ReleaseSliceType;
461
+ users: {
462
+ activationCode?: string;
463
+ byId: Record<string, User>;
464
+ currentSession?: UserSession | object;
465
+ currentUser: string | null;
466
+ customColumns: CustomColumn[];
467
+ globalSettings: GlobalSettings;
468
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
469
+ qrCode: string | null;
470
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
471
+ rolesInitialized: boolean;
472
+ settingsInitialized: boolean;
473
+ showConnectDeviceDialog: boolean;
474
+ showFeedbackDialog: boolean;
475
+ showStartupNotification: boolean;
476
+ tooltips: {
477
+ byId: Record<string, {
478
+ readState: ReadState;
479
+ }>;
480
+ };
481
+ userSettings: UserSettings;
482
+ userSettingsInitialized: boolean;
483
+ };
484
+ }) => {
485
+ events: _northern_tech_types_Event.Event[];
486
+ eventTotal: number;
70
487
  }) & {
71
488
  clearCache: () => void;
72
489
  resultsCount: () => number;
73
490
  resetResultsCount: () => void;
74
491
  } & {
75
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any, resultFuncArgs_2: any) => {
76
- events: any;
77
- eventTotal: any;
492
+ resultFunc: (resultFuncArgs_0: _northern_tech_types_Integration.Integration[], resultFuncArgs_1: _northern_tech_types_Event.Event[], resultFuncArgs_2: number) => {
493
+ events: _northern_tech_types_Event.Event[];
494
+ eventTotal: number;
78
495
  };
79
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any, resultFuncArgs_2: any) => {
80
- events: any;
81
- eventTotal: any;
496
+ memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_Integration.Integration[], resultFuncArgs_1: _northern_tech_types_Event.Event[], resultFuncArgs_2: number) => {
497
+ events: _northern_tech_types_Event.Event[];
498
+ eventTotal: number;
82
499
  }) & {
83
500
  clearCache: () => void;
84
501
  resultsCount: () => number;
85
502
  resetResultsCount: () => void;
86
503
  };
87
504
  lastResult: () => {
88
- events: any;
89
- eventTotal: any;
505
+ events: _northern_tech_types_Event.Event[];
506
+ eventTotal: number;
90
507
  };
91
- dependencies: [((state: any) => any) & {
508
+ dependencies: [((state: {
509
+ app: {
510
+ cancelSource: any;
511
+ commit: string;
512
+ demoArtifactLink: string;
513
+ docsVersion: string;
514
+ features: Record<string, boolean>;
515
+ feedbackProbability: number;
516
+ firstLoginAfterSignup: boolean;
517
+ hostAddress: string | null;
518
+ hostedAnnouncement: string;
519
+ newThreshold: string;
520
+ offlineThreshold: string;
521
+ recaptchaSiteKey: string;
522
+ searchState: SearchState;
523
+ sentry: SentryConfig;
524
+ snackbar: SnackbarContent;
525
+ stripeAPIKey: string;
526
+ trackerCode: string;
527
+ uploadsById: Record<string, Upload>;
528
+ versionInformation: {
529
+ [key: string]: string | {
530
+ releaseDate: string;
531
+ repos: Record<string, string>;
532
+ } | undefined;
533
+ backend?: string;
534
+ GUI?: string;
535
+ latestRelease?: {
536
+ releaseDate: string;
537
+ repos: Record<string, string>;
538
+ };
539
+ };
540
+ yesterday?: string;
541
+ };
542
+ devices: DeviceSliceType;
543
+ deployments: {
544
+ byId: Record<string, Deployment>;
545
+ byStatus: DeploymentByStatus;
546
+ config: DeploymentConfig;
547
+ deploymentDeviceLimit: number;
548
+ selectedDeviceIds: string[];
549
+ selectionState: SelectionState;
550
+ };
551
+ monitor: {
552
+ alerts: {
553
+ alertList: {
554
+ page: number;
555
+ perPage: number;
556
+ total: number;
557
+ };
558
+ byDeviceId: {
559
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
560
+ fullName?: string;
561
+ }>;
562
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
563
+ fullName?: string;
564
+ }>;
565
+ };
566
+ };
567
+ issueCounts: {
568
+ byType: {
569
+ issues: {
570
+ filtered: number;
571
+ total: number;
572
+ };
573
+ offline: {
574
+ filtered: number;
575
+ total: number;
576
+ };
577
+ failedLastUpdate: {
578
+ filtered: number;
579
+ total: number;
580
+ };
581
+ monitoring: {
582
+ filtered: number;
583
+ total: number;
584
+ };
585
+ authRequests: {
586
+ filtered: number;
587
+ total: number;
588
+ };
589
+ gatewayDevices: {
590
+ filtered: number;
591
+ total: number;
592
+ };
593
+ };
594
+ };
595
+ settings: {
596
+ global: {
597
+ channels: {
598
+ email: {
599
+ enabled: boolean;
600
+ };
601
+ };
602
+ };
603
+ };
604
+ };
605
+ onboarding: {
606
+ address?: string;
607
+ approach: OnboardingApproach | null;
608
+ complete: boolean;
609
+ demoArtifactPort: number;
610
+ deviceConnection?: string;
611
+ deviceType: string[] | string | null;
612
+ progress: string | null;
613
+ showTips: boolean | null;
614
+ showTipsDialog: boolean;
615
+ };
616
+ organization: OrganizationState;
617
+ releases: ReleaseSliceType;
618
+ users: {
619
+ activationCode?: string;
620
+ byId: Record<string, User>;
621
+ currentSession?: UserSession | object;
622
+ currentUser: string | null;
623
+ customColumns: CustomColumn[];
624
+ globalSettings: GlobalSettings;
625
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
626
+ qrCode: string | null;
627
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
628
+ rolesInitialized: boolean;
629
+ settingsInitialized: boolean;
630
+ showConnectDeviceDialog: boolean;
631
+ showFeedbackDialog: boolean;
632
+ showStartupNotification: boolean;
633
+ tooltips: {
634
+ byId: Record<string, {
635
+ readState: ReadState;
636
+ }>;
637
+ };
638
+ userSettings: UserSettings;
639
+ userSettingsInitialized: boolean;
640
+ };
641
+ }) => _northern_tech_types_Integration.Integration[]) & {
92
642
  clearCache: () => void;
93
643
  resultsCount: () => number;
94
644
  resetResultsCount: () => void;
95
645
  } & {
96
- resultFunc: (resultFuncArgs_0: any) => any;
97
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
646
+ resultFunc: (resultFuncArgs_0: _northern_tech_types_Integration.Integration[]) => _northern_tech_types_Integration.Integration[];
647
+ memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_Integration.Integration[]) => _northern_tech_types_Integration.Integration[]) & {
98
648
  clearCache: () => void;
99
649
  resultsCount: () => number;
100
650
  resetResultsCount: () => void;
101
651
  };
102
- lastResult: () => any;
103
- dependencies: [(state: any) => any];
652
+ lastResult: () => _northern_tech_types_Integration.Integration[];
653
+ dependencies: [(state: RootState) => _northern_tech_types_Integration.Integration[]];
104
654
  recomputations: () => number;
105
655
  resetRecomputations: () => void;
106
656
  dependencyRecomputations: () => number;
@@ -108,7 +658,161 @@ declare const getWebhookEventInfo: ((state: any) => {
108
658
  } & {
109
659
  memoize: typeof reselect.weakMapMemoize;
110
660
  argsMemoize: typeof reselect.weakMapMemoize;
111
- }, (state: any) => any, (state: any) => any];
661
+ }, (state: RootState) => _northern_tech_types_Event.Event[], (state: RootState) => number];
662
+ recomputations: () => number;
663
+ resetRecomputations: () => void;
664
+ dependencyRecomputations: () => number;
665
+ resetDependencyRecomputations: () => void;
666
+ } & {
667
+ memoize: typeof reselect.weakMapMemoize;
668
+ argsMemoize: typeof reselect.weakMapMemoize;
669
+ };
670
+ declare const getAuditLogEntry: ((state: {
671
+ app: {
672
+ cancelSource: any;
673
+ commit: string;
674
+ demoArtifactLink: string;
675
+ docsVersion: string;
676
+ features: Record<string, boolean>;
677
+ feedbackProbability: number;
678
+ firstLoginAfterSignup: boolean;
679
+ hostAddress: string | null;
680
+ hostedAnnouncement: string;
681
+ newThreshold: string;
682
+ offlineThreshold: string;
683
+ recaptchaSiteKey: string;
684
+ searchState: SearchState;
685
+ sentry: SentryConfig;
686
+ snackbar: SnackbarContent;
687
+ stripeAPIKey: string;
688
+ trackerCode: string;
689
+ uploadsById: Record<string, Upload>;
690
+ versionInformation: {
691
+ [key: string]: string | {
692
+ releaseDate: string;
693
+ repos: Record<string, string>;
694
+ } | undefined;
695
+ backend?: string;
696
+ GUI?: string;
697
+ latestRelease?: {
698
+ releaseDate: string;
699
+ repos: Record<string, string>;
700
+ };
701
+ };
702
+ yesterday?: string;
703
+ };
704
+ devices: DeviceSliceType;
705
+ deployments: {
706
+ byId: Record<string, Deployment>;
707
+ byStatus: DeploymentByStatus;
708
+ config: DeploymentConfig;
709
+ deploymentDeviceLimit: number;
710
+ selectedDeviceIds: string[];
711
+ selectionState: SelectionState;
712
+ };
713
+ monitor: {
714
+ alerts: {
715
+ alertList: {
716
+ page: number;
717
+ perPage: number;
718
+ total: number;
719
+ };
720
+ byDeviceId: {
721
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
722
+ fullName?: string;
723
+ }>;
724
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
725
+ fullName?: string;
726
+ }>;
727
+ };
728
+ };
729
+ issueCounts: {
730
+ byType: {
731
+ issues: {
732
+ filtered: number;
733
+ total: number;
734
+ };
735
+ offline: {
736
+ filtered: number;
737
+ total: number;
738
+ };
739
+ failedLastUpdate: {
740
+ filtered: number;
741
+ total: number;
742
+ };
743
+ monitoring: {
744
+ filtered: number;
745
+ total: number;
746
+ };
747
+ authRequests: {
748
+ filtered: number;
749
+ total: number;
750
+ };
751
+ gatewayDevices: {
752
+ filtered: number;
753
+ total: number;
754
+ };
755
+ };
756
+ };
757
+ settings: {
758
+ global: {
759
+ channels: {
760
+ email: {
761
+ enabled: boolean;
762
+ };
763
+ };
764
+ };
765
+ };
766
+ };
767
+ onboarding: {
768
+ address?: string;
769
+ approach: OnboardingApproach | null;
770
+ complete: boolean;
771
+ demoArtifactPort: number;
772
+ deviceConnection?: string;
773
+ deviceType: string[] | string | null;
774
+ progress: string | null;
775
+ showTips: boolean | null;
776
+ showTipsDialog: boolean;
777
+ };
778
+ organization: OrganizationState;
779
+ releases: ReleaseSliceType;
780
+ users: {
781
+ activationCode?: string;
782
+ byId: Record<string, User>;
783
+ currentSession?: UserSession | object;
784
+ currentUser: string | null;
785
+ customColumns: CustomColumn[];
786
+ globalSettings: GlobalSettings;
787
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
788
+ qrCode: string | null;
789
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
790
+ rolesInitialized: boolean;
791
+ settingsInitialized: boolean;
792
+ showConnectDeviceDialog: boolean;
793
+ showFeedbackDialog: boolean;
794
+ showStartupNotification: boolean;
795
+ tooltips: {
796
+ byId: Record<string, {
797
+ readState: ReadState;
798
+ }>;
799
+ };
800
+ userSettings: UserSettings;
801
+ userSettingsInitialized: boolean;
802
+ };
803
+ }) => _northern_tech_types_AuditLog.AuditLog | undefined) & {
804
+ clearCache: () => void;
805
+ resultsCount: () => number;
806
+ resetResultsCount: () => void;
807
+ } & {
808
+ resultFunc: (resultFuncArgs_0: _northern_tech_types_AuditLog.AuditLog[], resultFuncArgs_1: AuditLogSelectionState) => _northern_tech_types_AuditLog.AuditLog | undefined;
809
+ memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_AuditLog.AuditLog[], resultFuncArgs_1: AuditLogSelectionState) => _northern_tech_types_AuditLog.AuditLog | undefined) & {
810
+ clearCache: () => void;
811
+ resultsCount: () => number;
812
+ resetResultsCount: () => void;
813
+ };
814
+ lastResult: () => _northern_tech_types_AuditLog.AuditLog | undefined;
815
+ dependencies: [(state: RootState) => _northern_tech_types_AuditLog.AuditLog[], (state: RootState) => AuditLogSelectionState];
112
816
  recomputations: () => number;
113
817
  resetRecomputations: () => void;
114
818
  dependencyRecomputations: () => number;
@@ -117,19 +821,152 @@ declare const getWebhookEventInfo: ((state: any) => {
117
821
  memoize: typeof reselect.weakMapMemoize;
118
822
  argsMemoize: typeof reselect.weakMapMemoize;
119
823
  };
120
- declare const getAuditLogEntry: ((state: any) => any) & {
824
+ declare const getHasCurrentPricing: ((state: {
825
+ app: {
826
+ cancelSource: any;
827
+ commit: string;
828
+ demoArtifactLink: string;
829
+ docsVersion: string;
830
+ features: Record<string, boolean>;
831
+ feedbackProbability: number;
832
+ firstLoginAfterSignup: boolean;
833
+ hostAddress: string | null;
834
+ hostedAnnouncement: string;
835
+ newThreshold: string;
836
+ offlineThreshold: string;
837
+ recaptchaSiteKey: string;
838
+ searchState: SearchState;
839
+ sentry: SentryConfig;
840
+ snackbar: SnackbarContent;
841
+ stripeAPIKey: string;
842
+ trackerCode: string;
843
+ uploadsById: Record<string, Upload>;
844
+ versionInformation: {
845
+ [key: string]: string | {
846
+ releaseDate: string;
847
+ repos: Record<string, string>;
848
+ } | undefined;
849
+ backend?: string;
850
+ GUI?: string;
851
+ latestRelease?: {
852
+ releaseDate: string;
853
+ repos: Record<string, string>;
854
+ };
855
+ };
856
+ yesterday?: string;
857
+ };
858
+ devices: DeviceSliceType;
859
+ deployments: {
860
+ byId: Record<string, Deployment>;
861
+ byStatus: DeploymentByStatus;
862
+ config: DeploymentConfig;
863
+ deploymentDeviceLimit: number;
864
+ selectedDeviceIds: string[];
865
+ selectionState: SelectionState;
866
+ };
867
+ monitor: {
868
+ alerts: {
869
+ alertList: {
870
+ page: number;
871
+ perPage: number;
872
+ total: number;
873
+ };
874
+ byDeviceId: {
875
+ alerts?: Record<string, _northern_tech_types_Alert.Alert & {
876
+ fullName?: string;
877
+ }>;
878
+ latest?: Record<string, _northern_tech_types_Alert.Alert & {
879
+ fullName?: string;
880
+ }>;
881
+ };
882
+ };
883
+ issueCounts: {
884
+ byType: {
885
+ issues: {
886
+ filtered: number;
887
+ total: number;
888
+ };
889
+ offline: {
890
+ filtered: number;
891
+ total: number;
892
+ };
893
+ failedLastUpdate: {
894
+ filtered: number;
895
+ total: number;
896
+ };
897
+ monitoring: {
898
+ filtered: number;
899
+ total: number;
900
+ };
901
+ authRequests: {
902
+ filtered: number;
903
+ total: number;
904
+ };
905
+ gatewayDevices: {
906
+ filtered: number;
907
+ total: number;
908
+ };
909
+ };
910
+ };
911
+ settings: {
912
+ global: {
913
+ channels: {
914
+ email: {
915
+ enabled: boolean;
916
+ };
917
+ };
918
+ };
919
+ };
920
+ };
921
+ onboarding: {
922
+ address?: string;
923
+ approach: OnboardingApproach | null;
924
+ complete: boolean;
925
+ demoArtifactPort: number;
926
+ deviceConnection?: string;
927
+ deviceType: string[] | string | null;
928
+ progress: string | null;
929
+ showTips: boolean | null;
930
+ showTipsDialog: boolean;
931
+ };
932
+ organization: OrganizationState;
933
+ releases: ReleaseSliceType;
934
+ users: {
935
+ activationCode?: string;
936
+ byId: Record<string, User>;
937
+ currentSession?: UserSession | object;
938
+ currentUser: string | null;
939
+ customColumns: CustomColumn[];
940
+ globalSettings: GlobalSettings;
941
+ permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
942
+ qrCode: string | null;
943
+ rolesById: Record<string, _northern_tech_utils_constants.Role>;
944
+ rolesInitialized: boolean;
945
+ settingsInitialized: boolean;
946
+ showConnectDeviceDialog: boolean;
947
+ showFeedbackDialog: boolean;
948
+ showStartupNotification: boolean;
949
+ tooltips: {
950
+ byId: Record<string, {
951
+ readState: ReadState;
952
+ }>;
953
+ };
954
+ userSettings: UserSettings;
955
+ userSettingsInitialized: boolean;
956
+ };
957
+ }) => boolean) & {
121
958
  clearCache: () => void;
122
959
  resultsCount: () => number;
123
960
  resetResultsCount: () => void;
124
961
  } & {
125
- resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => any;
126
- memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => any) & {
962
+ resultFunc: (resultFuncArgs_0: Partial<Organization>) => boolean;
963
+ memoizedResultFunc: ((resultFuncArgs_0: Partial<Organization>) => boolean) & {
127
964
  clearCache: () => void;
128
965
  resultsCount: () => number;
129
966
  resetResultsCount: () => void;
130
967
  };
131
- lastResult: () => any;
132
- dependencies: [(state: any) => any, (state: any) => any];
968
+ lastResult: () => boolean;
969
+ dependencies: [(state: RootState) => Partial<Organization>];
133
970
  recomputations: () => number;
134
971
  resetRecomputations: () => void;
135
972
  dependencyRecomputations: () => number;
@@ -139,4 +976,4 @@ declare const getAuditLogEntry: ((state: any) => any) & {
139
976
  argsMemoize: typeof reselect.weakMapMemoize;
140
977
  };
141
978
 
142
- export { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getDeviceTwinIntegrations, getExternalIntegrations, getIsServiceProvider, getOrganization, getSsoConfig, getTenantsList, getWebhookEventInfo, getWebhookEventTotal, getWebhookEvents, getWebhooks };
979
+ export { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getBillingProfile, getCard, getDeviceTwinIntegrations, getExternalIntegrations, getHasCurrentPricing, getIsServiceProvider, getOrganization, getSsoConfig, getSubscription, getTenantsList, getWebhookEventInfo, getWebhookEventTotal, getWebhookEvents, getWebhooks };