@lokalise/harmony 1.40.2 → 1.40.3-exp-epic2x.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/dist/harmony.css +110 -317
  2. package/dist/harmony100.cjs +9 -10
  3. package/dist/harmony100.cjs.map +1 -1
  4. package/dist/harmony100.mjs +11 -12
  5. package/dist/harmony100.mjs.map +1 -1
  6. package/dist/harmony101.cjs +20 -11
  7. package/dist/harmony101.cjs.map +1 -1
  8. package/dist/harmony101.mjs +20 -11
  9. package/dist/harmony101.mjs.map +1 -1
  10. package/dist/harmony102.cjs +99 -6
  11. package/dist/harmony102.cjs.map +1 -1
  12. package/dist/harmony102.mjs +81 -5
  13. package/dist/harmony102.mjs.map +1 -1
  14. package/dist/harmony103.cjs +14 -9
  15. package/dist/harmony103.cjs.map +1 -1
  16. package/dist/harmony103.mjs +13 -8
  17. package/dist/harmony103.mjs.map +1 -1
  18. package/dist/harmony104.cjs +21 -10
  19. package/dist/harmony104.cjs.map +1 -1
  20. package/dist/harmony104.mjs +20 -9
  21. package/dist/harmony104.mjs.map +1 -1
  22. package/dist/harmony105.cjs +85 -55
  23. package/dist/harmony105.cjs.map +1 -1
  24. package/dist/harmony105.mjs +85 -55
  25. package/dist/harmony105.mjs.map +1 -1
  26. package/dist/harmony106.cjs +29 -41
  27. package/dist/harmony106.cjs.map +1 -1
  28. package/dist/harmony106.mjs +29 -41
  29. package/dist/harmony106.mjs.map +1 -1
  30. package/dist/harmony107.cjs +10 -6
  31. package/dist/harmony107.cjs.map +1 -1
  32. package/dist/harmony107.mjs +9 -5
  33. package/dist/harmony107.mjs.map +1 -1
  34. package/dist/harmony108.cjs +12 -9
  35. package/dist/harmony108.cjs.map +1 -1
  36. package/dist/harmony108.mjs +11 -8
  37. package/dist/harmony108.mjs.map +1 -1
  38. package/dist/harmony109.cjs +15 -24
  39. package/dist/harmony109.cjs.map +1 -1
  40. package/dist/harmony109.mjs +14 -23
  41. package/dist/harmony109.mjs.map +1 -1
  42. package/dist/harmony110.cjs +19 -6
  43. package/dist/harmony110.cjs.map +1 -1
  44. package/dist/harmony110.mjs +18 -5
  45. package/dist/harmony110.mjs.map +1 -1
  46. package/dist/harmony111.cjs +7 -18
  47. package/dist/harmony111.cjs.map +1 -1
  48. package/dist/harmony111.mjs +9 -20
  49. package/dist/harmony111.mjs.map +1 -1
  50. package/dist/harmony112.cjs +27 -12
  51. package/dist/harmony112.cjs.map +1 -1
  52. package/dist/harmony112.mjs +26 -11
  53. package/dist/harmony112.mjs.map +1 -1
  54. package/dist/harmony113.cjs +10 -12
  55. package/dist/harmony113.cjs.map +1 -1
  56. package/dist/harmony113.mjs +10 -12
  57. package/dist/harmony113.mjs.map +1 -1
  58. package/dist/harmony114.cjs +38 -18
  59. package/dist/harmony114.cjs.map +1 -1
  60. package/dist/harmony114.mjs +38 -18
  61. package/dist/harmony114.mjs.map +1 -1
  62. package/dist/harmony115.cjs +11 -98
  63. package/dist/harmony115.cjs.map +1 -1
  64. package/dist/harmony115.mjs +11 -81
  65. package/dist/harmony115.mjs.map +1 -1
  66. package/dist/harmony116.cjs +19 -84
  67. package/dist/harmony116.cjs.map +1 -1
  68. package/dist/harmony116.mjs +19 -84
  69. package/dist/harmony116.mjs.map +1 -1
  70. package/dist/harmony117.cjs +35 -29
  71. package/dist/harmony117.cjs.map +1 -1
  72. package/dist/harmony117.mjs +35 -29
  73. package/dist/harmony117.mjs.map +1 -1
  74. package/dist/harmony119.cjs +20 -5
  75. package/dist/harmony119.cjs.map +1 -1
  76. package/dist/harmony119.mjs +20 -5
  77. package/dist/harmony119.mjs.map +1 -1
  78. package/dist/harmony120.cjs +6 -132
  79. package/dist/harmony120.cjs.map +1 -1
  80. package/dist/harmony120.mjs +5 -131
  81. package/dist/harmony120.mjs.map +1 -1
  82. package/dist/harmony121.cjs +12 -9
  83. package/dist/harmony121.cjs.map +1 -1
  84. package/dist/harmony121.mjs +12 -9
  85. package/dist/harmony121.mjs.map +1 -1
  86. package/dist/harmony122.cjs +6 -6
  87. package/dist/harmony122.cjs.map +1 -1
  88. package/dist/harmony122.mjs +5 -5
  89. package/dist/harmony122.mjs.map +1 -1
  90. package/dist/harmony123.cjs +6 -41
  91. package/dist/harmony123.cjs.map +1 -1
  92. package/dist/harmony123.mjs +5 -40
  93. package/dist/harmony123.mjs.map +1 -1
  94. package/dist/harmony124.cjs +96 -60
  95. package/dist/harmony124.cjs.map +1 -1
  96. package/dist/harmony124.mjs +96 -60
  97. package/dist/harmony124.mjs.map +1 -1
  98. package/dist/harmony125.cjs +13 -7
  99. package/dist/harmony125.cjs.map +1 -1
  100. package/dist/harmony125.mjs +13 -7
  101. package/dist/harmony125.mjs.map +1 -1
  102. package/dist/harmony126.cjs +15 -7
  103. package/dist/harmony126.cjs.map +1 -1
  104. package/dist/harmony126.mjs +14 -6
  105. package/dist/harmony126.mjs.map +1 -1
  106. package/dist/harmony127.cjs +37 -6
  107. package/dist/harmony127.cjs.map +1 -1
  108. package/dist/harmony127.mjs +36 -5
  109. package/dist/harmony127.mjs.map +1 -1
  110. package/dist/harmony128.cjs +29 -6
  111. package/dist/harmony128.cjs.map +1 -1
  112. package/dist/harmony128.mjs +28 -5
  113. package/dist/harmony128.mjs.map +1 -1
  114. package/dist/harmony130.cjs +10 -63
  115. package/dist/harmony130.cjs.map +1 -1
  116. package/dist/harmony130.mjs +9 -62
  117. package/dist/harmony130.mjs.map +1 -1
  118. package/dist/harmony131.cjs +6 -88
  119. package/dist/harmony131.cjs.map +1 -1
  120. package/dist/harmony131.mjs +5 -87
  121. package/dist/harmony131.mjs.map +1 -1
  122. package/dist/harmony132.cjs +6 -15
  123. package/dist/harmony132.cjs.map +1 -1
  124. package/dist/harmony132.mjs +6 -15
  125. package/dist/harmony132.mjs.map +1 -1
  126. package/dist/harmony133.cjs +25 -97
  127. package/dist/harmony133.cjs.map +1 -1
  128. package/dist/harmony133.mjs +24 -96
  129. package/dist/harmony133.mjs.map +1 -1
  130. package/dist/harmony134.cjs +7 -14
  131. package/dist/harmony134.cjs.map +1 -1
  132. package/dist/harmony134.mjs +6 -13
  133. package/dist/harmony134.mjs.map +1 -1
  134. package/dist/harmony135.cjs +13 -15
  135. package/dist/harmony135.cjs.map +1 -1
  136. package/dist/harmony135.mjs +12 -14
  137. package/dist/harmony135.mjs.map +1 -1
  138. package/dist/harmony136.cjs +7 -37
  139. package/dist/harmony136.cjs.map +1 -1
  140. package/dist/harmony136.mjs +6 -36
  141. package/dist/harmony136.mjs.map +1 -1
  142. package/dist/harmony137.cjs +12 -27
  143. package/dist/harmony137.cjs.map +1 -1
  144. package/dist/harmony137.mjs +12 -27
  145. package/dist/harmony137.mjs.map +1 -1
  146. package/dist/harmony138.cjs +14 -12
  147. package/dist/harmony138.cjs.map +1 -1
  148. package/dist/harmony138.mjs +14 -12
  149. package/dist/harmony138.mjs.map +1 -1
  150. package/dist/harmony139.cjs +14 -13
  151. package/dist/harmony139.cjs.map +1 -1
  152. package/dist/harmony139.mjs +14 -13
  153. package/dist/harmony139.mjs.map +1 -1
  154. package/dist/harmony14.cjs +1 -1
  155. package/dist/harmony14.mjs +1 -1
  156. package/dist/harmony140.cjs +10 -15
  157. package/dist/harmony140.cjs.map +1 -1
  158. package/dist/harmony140.mjs +10 -15
  159. package/dist/harmony140.mjs.map +1 -1
  160. package/dist/harmony141.cjs +16 -7
  161. package/dist/harmony141.cjs.map +1 -1
  162. package/dist/harmony141.mjs +16 -7
  163. package/dist/harmony141.mjs.map +1 -1
  164. package/dist/harmony142.cjs +20 -56
  165. package/dist/harmony142.cjs.map +1 -1
  166. package/dist/harmony142.mjs +20 -56
  167. package/dist/harmony142.mjs.map +1 -1
  168. package/dist/harmony143.cjs +11 -59
  169. package/dist/harmony143.cjs.map +1 -1
  170. package/dist/harmony143.mjs +11 -59
  171. package/dist/harmony143.mjs.map +1 -1
  172. package/dist/harmony144.cjs +7 -19
  173. package/dist/harmony144.cjs.map +1 -1
  174. package/dist/harmony144.mjs +6 -18
  175. package/dist/harmony144.mjs.map +1 -1
  176. package/dist/harmony145.cjs +11 -10
  177. package/dist/harmony145.cjs.map +1 -1
  178. package/dist/harmony145.mjs +11 -10
  179. package/dist/harmony145.mjs.map +1 -1
  180. package/dist/harmony146.cjs +29 -13
  181. package/dist/harmony146.cjs.map +1 -1
  182. package/dist/harmony146.mjs +29 -13
  183. package/dist/harmony146.mjs.map +1 -1
  184. package/dist/harmony147.cjs +12 -19
  185. package/dist/harmony147.cjs.map +1 -1
  186. package/dist/harmony147.mjs +12 -19
  187. package/dist/harmony147.mjs.map +1 -1
  188. package/dist/harmony17.cjs +1 -1
  189. package/dist/harmony17.mjs +1 -1
  190. package/dist/harmony25.cjs +1 -1
  191. package/dist/harmony25.mjs +1 -1
  192. package/dist/harmony26.cjs +1 -1
  193. package/dist/harmony26.mjs +1 -1
  194. package/dist/harmony4.cjs +5 -24
  195. package/dist/harmony4.cjs.map +1 -1
  196. package/dist/harmony4.mjs +5 -24
  197. package/dist/harmony4.mjs.map +1 -1
  198. package/dist/harmony5.cjs +1 -1
  199. package/dist/harmony5.mjs +1 -1
  200. package/dist/harmony6.cjs +3 -3
  201. package/dist/harmony6.mjs +3 -3
  202. package/dist/harmony7.cjs +1 -1
  203. package/dist/harmony7.mjs +1 -1
  204. package/dist/harmony75.cjs +1 -1
  205. package/dist/harmony75.mjs +1 -1
  206. package/dist/harmony76.cjs +39 -6
  207. package/dist/harmony76.cjs.map +1 -1
  208. package/dist/harmony76.mjs +38 -5
  209. package/dist/harmony76.mjs.map +1 -1
  210. package/dist/harmony77.cjs +36 -8
  211. package/dist/harmony77.cjs.map +1 -1
  212. package/dist/harmony77.mjs +37 -9
  213. package/dist/harmony77.mjs.map +1 -1
  214. package/dist/harmony78.cjs +9 -18
  215. package/dist/harmony78.cjs.map +1 -1
  216. package/dist/harmony78.mjs +8 -17
  217. package/dist/harmony78.mjs.map +1 -1
  218. package/dist/harmony79.cjs +6 -21
  219. package/dist/harmony79.cjs.map +1 -1
  220. package/dist/harmony79.mjs +8 -23
  221. package/dist/harmony79.mjs.map +1 -1
  222. package/dist/harmony8.cjs +5 -5
  223. package/dist/harmony8.mjs +5 -5
  224. package/dist/harmony80.cjs +28 -4
  225. package/dist/harmony80.cjs.map +1 -1
  226. package/dist/harmony80.mjs +28 -4
  227. package/dist/harmony80.mjs.map +1 -1
  228. package/dist/harmony81.cjs +3 -32
  229. package/dist/harmony81.cjs.map +1 -1
  230. package/dist/harmony81.mjs +3 -32
  231. package/dist/harmony81.mjs.map +1 -1
  232. package/dist/harmony82.cjs +30 -29
  233. package/dist/harmony82.cjs.map +1 -1
  234. package/dist/harmony82.mjs +31 -30
  235. package/dist/harmony82.mjs.map +1 -1
  236. package/dist/harmony83.cjs +43 -19
  237. package/dist/harmony83.cjs.map +1 -1
  238. package/dist/harmony83.mjs +43 -19
  239. package/dist/harmony83.mjs.map +1 -1
  240. package/dist/harmony84.cjs +27 -29
  241. package/dist/harmony84.cjs.map +1 -1
  242. package/dist/harmony84.mjs +27 -29
  243. package/dist/harmony84.mjs.map +1 -1
  244. package/dist/harmony85.cjs +64 -57
  245. package/dist/harmony85.cjs.map +1 -1
  246. package/dist/harmony85.mjs +64 -57
  247. package/dist/harmony85.mjs.map +1 -1
  248. package/dist/harmony86.cjs +15 -9
  249. package/dist/harmony86.cjs.map +1 -1
  250. package/dist/harmony86.mjs +14 -8
  251. package/dist/harmony86.mjs.map +1 -1
  252. package/dist/harmony87.cjs +3 -8
  253. package/dist/harmony87.cjs.map +1 -1
  254. package/dist/harmony87.mjs +3 -8
  255. package/dist/harmony87.mjs.map +1 -1
  256. package/dist/harmony88.cjs +163 -26
  257. package/dist/harmony88.cjs.map +1 -1
  258. package/dist/harmony88.mjs +164 -27
  259. package/dist/harmony88.mjs.map +1 -1
  260. package/dist/harmony89.cjs +44 -3
  261. package/dist/harmony89.cjs.map +1 -1
  262. package/dist/harmony89.mjs +44 -3
  263. package/dist/harmony89.mjs.map +1 -1
  264. package/dist/harmony90.cjs +9 -30
  265. package/dist/harmony90.cjs.map +1 -1
  266. package/dist/harmony90.mjs +11 -32
  267. package/dist/harmony90.mjs.map +1 -1
  268. package/dist/harmony91.cjs +13 -44
  269. package/dist/harmony91.cjs.map +1 -1
  270. package/dist/harmony91.mjs +12 -43
  271. package/dist/harmony91.mjs.map +1 -1
  272. package/dist/harmony92.cjs +2 -28
  273. package/dist/harmony92.cjs.map +1 -1
  274. package/dist/harmony92.mjs +3 -29
  275. package/dist/harmony92.mjs.map +1 -1
  276. package/dist/harmony93.cjs +15 -63
  277. package/dist/harmony93.cjs.map +1 -1
  278. package/dist/harmony93.mjs +15 -63
  279. package/dist/harmony93.mjs.map +1 -1
  280. package/dist/harmony94.cjs +74 -13
  281. package/dist/harmony94.cjs.map +1 -1
  282. package/dist/harmony94.mjs +75 -14
  283. package/dist/harmony94.mjs.map +1 -1
  284. package/dist/harmony95.cjs +12 -3
  285. package/dist/harmony95.cjs.map +1 -1
  286. package/dist/harmony95.mjs +12 -3
  287. package/dist/harmony95.mjs.map +1 -1
  288. package/dist/harmony96.cjs +30 -11
  289. package/dist/harmony96.cjs.map +1 -1
  290. package/dist/harmony96.mjs +30 -11
  291. package/dist/harmony96.mjs.map +1 -1
  292. package/dist/harmony97.cjs +10 -22
  293. package/dist/harmony97.cjs.map +1 -1
  294. package/dist/harmony97.mjs +9 -21
  295. package/dist/harmony97.mjs.map +1 -1
  296. package/dist/harmony98.cjs +44 -163
  297. package/dist/harmony98.cjs.map +1 -1
  298. package/dist/harmony98.mjs +44 -163
  299. package/dist/harmony98.mjs.map +1 -1
  300. package/dist/harmony99.cjs +9 -44
  301. package/dist/harmony99.cjs.map +1 -1
  302. package/dist/harmony99.mjs +8 -43
  303. package/dist/harmony99.mjs.map +1 -1
  304. package/dist/types/src/components/Sidebar/Sidebar.d.ts +15 -49
  305. package/dist/types/src/components/Sidebar/SidebarContent/SidebarContent.d.ts +7 -0
  306. package/dist/types/src/components/Sidebar/SidebarContext.d.ts +3 -0
  307. package/dist/types/src/components/Sidebar/SidebarProvider.d.ts +3 -0
  308. package/dist/types/src/components/Sidebar/Widgets/Avatar/Avatar.d.ts +5 -0
  309. package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.d.ts +13 -0
  310. package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.test.d.ts +1 -0
  311. package/dist/types/src/components/Sidebar/Widgets/IconLink/IconLink.test.d.ts +1 -0
  312. package/dist/types/src/components/Sidebar/Widgets/Menu/Menu.d.ts +3 -2
  313. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/BillingMenuItem/BillingMenuItem.d.ts +13 -0
  314. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.d.ts +17 -0
  315. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.test.d.ts +1 -0
  316. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.d.ts +17 -0
  317. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.test.d.ts +1 -0
  318. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/DarkModeToggle/DarkModeToggle.d.ts +18 -0
  319. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.d.ts +11 -24
  320. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.stories.d.ts +3 -5
  321. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.d.ts +10 -35
  322. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.test.d.ts +1 -0
  323. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.d.ts +13 -0
  324. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.test.d.ts +1 -0
  325. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.d.ts +1 -3
  326. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.test.d.ts +1 -0
  327. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.d.ts +13 -0
  328. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.test.d.ts +1 -0
  329. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.d.ts +5 -7
  330. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.test.d.ts +1 -0
  331. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.d.ts +6 -9
  332. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.test.d.ts +1 -0
  333. package/dist/types/src/components/Sidebar/Widgets/Tasks/utils/content.d.ts +4 -0
  334. package/dist/types/src/components/Sidebar/hooks/useSidebar.d.ts +1 -0
  335. package/dist/types/src/components/Sidebar/hooks/useSidebarDataLoader.d.ts +5 -0
  336. package/dist/types/src/components/Sidebar/types.d.ts +70 -0
  337. package/dist/types/src/features/auth/core/types/jwtTokenPayload.d.ts +16 -10
  338. package/dist/types/src/features/auth/core/types/jwtTokenPayload.fixture.d.ts +15 -11
  339. package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedSessionPayload.d.ts +7 -5
  340. package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +1 -1
  341. package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +3 -3
  342. package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
  343. package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +2 -2
  344. package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
  345. package/dist/types/src/features/publicApi/permissionTemplates.d.ts +8 -8
  346. package/dist/types/src/features/publicApi/projects.d.ts +12 -12
  347. package/dist/types/src/features/publicApi/teamUsers.d.ts +8 -8
  348. package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +12 -12
  349. package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +2 -2
  350. package/dist/types/src/features/publicApi/types/projectTypes.d.ts +18 -18
  351. package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +10 -10
  352. package/dist/types/src/utils/user/permissions.d.ts +9 -0
  353. package/dist/types/src/utils/user/permissions.test.d.ts +1 -0
  354. package/dist/types/tests/mocks/sidebar/sidebar.d.ts +14 -0
  355. package/dist/types/tests/utils/sidebar.d.ts +4 -0
  356. package/package.json +1 -1
  357. package/dist/harmony148.cjs +0 -15
  358. package/dist/harmony148.cjs.map +0 -1
  359. package/dist/harmony148.mjs +0 -15
  360. package/dist/harmony148.mjs.map +0 -1
  361. package/dist/harmony149.cjs +0 -9
  362. package/dist/harmony149.cjs.map +0 -1
  363. package/dist/harmony149.mjs +0 -9
  364. package/dist/harmony149.mjs.map +0 -1
  365. package/dist/harmony150.cjs +0 -15
  366. package/dist/harmony150.cjs.map +0 -1
  367. package/dist/harmony150.mjs +0 -15
  368. package/dist/harmony150.mjs.map +0 -1
  369. package/dist/harmony151.cjs +0 -35
  370. package/dist/harmony151.cjs.map +0 -1
  371. package/dist/harmony151.mjs +0 -35
  372. package/dist/harmony151.mjs.map +0 -1
  373. package/dist/harmony152.cjs +0 -17
  374. package/dist/harmony152.cjs.map +0 -1
  375. package/dist/harmony152.mjs +0 -17
  376. package/dist/harmony152.mjs.map +0 -1
  377. package/dist/harmony153.cjs +0 -49
  378. package/dist/harmony153.cjs.map +0 -1
  379. package/dist/harmony153.mjs +0 -49
  380. package/dist/harmony153.mjs.map +0 -1
  381. package/dist/harmony154.cjs +0 -15
  382. package/dist/harmony154.cjs.map +0 -1
  383. package/dist/harmony154.mjs +0 -15
  384. package/dist/harmony154.mjs.map +0 -1
  385. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContent.d.ts +0 -6
  386. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContext.d.ts +0 -3
  387. package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuProvider.d.ts +0 -7
  388. package/dist/types/src/components/Sidebar/utils/index.d.ts +0 -4
  389. /package/dist/types/src/components/Sidebar/Widgets/{ProfileMenu/ProfileMenu.test.d.ts → Avatar/Avatar.test.d.ts} +0 -0
  390. /package/dist/types/src/components/Sidebar/{UpgradeIcon → Widgets/ProfileMenu/UpgradeIcon}/UpgradeIcon.d.ts +0 -0
@@ -1,29 +1,33 @@
1
1
  export declare const createMockJwtTokenPayload: (overrides?: {
2
- isProviderAlpha?: boolean | undefined;
3
- isFullyAuthenticated?: boolean | undefined;
4
- planId?: number | undefined;
5
- userTeamRole?: "member" | "admin" | "biller" | "owner" | undefined;
6
- userEmail?: string | undefined;
7
2
  userId?: number | undefined;
8
3
  userUuid?: string | undefined;
9
4
  teamId?: number | undefined;
10
5
  teamUuid?: string | undefined;
6
+ userTeamRole?: "owner" | "admin" | "biller" | "member" | undefined;
7
+ userEmail?: string | undefined;
11
8
  userName?: string | undefined;
12
9
  userCurrentTeamId?: number | undefined;
10
+ planId?: number | undefined;
13
11
  planName?: string | undefined;
12
+ isProviderAlpha?: boolean | undefined;
13
+ isFullyAuthenticated?: boolean | undefined;
14
+ isEndOfTrialActive?: boolean | undefined;
15
+ isTeamSuspended?: boolean | undefined;
14
16
  exp?: number | undefined;
15
- } | undefined, removeProperties?: ("isProviderAlpha" | "isFullyAuthenticated" | "planId" | "userTeamRole" | "userEmail" | "userId" | "userUuid" | "teamId" | "teamUuid" | "userName" | "userCurrentTeamId" | "planName" | "exp")[]) => {
16
- isProviderAlpha: boolean;
17
- isFullyAuthenticated: boolean;
18
- planId: number;
19
- userTeamRole: "member" | "admin" | "biller" | "owner";
20
- userEmail: string;
17
+ } | undefined, removeProperties?: ("userId" | "userUuid" | "teamId" | "teamUuid" | "userTeamRole" | "userEmail" | "userName" | "userCurrentTeamId" | "planId" | "planName" | "isProviderAlpha" | "isFullyAuthenticated" | "isEndOfTrialActive" | "isTeamSuspended" | "exp")[]) => {
21
18
  userId: number;
22
19
  userUuid: string;
23
20
  teamId: number;
24
21
  teamUuid: string;
22
+ userTeamRole: "owner" | "admin" | "biller" | "member";
23
+ userEmail: string;
25
24
  userName: string;
26
25
  userCurrentTeamId: number;
26
+ planId: number;
27
27
  planName: string;
28
+ isProviderAlpha: boolean;
29
+ isFullyAuthenticated: boolean;
30
+ isEndOfTrialActive: boolean;
31
+ isTeamSuspended: boolean;
28
32
  exp: number;
29
33
  };
@@ -3,17 +3,19 @@
3
3
  * If the token is updated or removed, the hook will update the state.
4
4
  */
5
5
  export declare function useAuthenticatedSessionPayload(): {
6
- isProviderAlpha: boolean;
7
- isFullyAuthenticated: boolean;
8
- planId: number;
9
- userTeamRole: "member" | "admin" | "biller" | "owner";
10
- userEmail: string;
11
6
  userId: number;
12
7
  userUuid: string;
13
8
  teamId: number;
14
9
  teamUuid: string;
10
+ userTeamRole: "owner" | "admin" | "biller" | "member";
11
+ userEmail: string;
15
12
  userName: string;
16
13
  userCurrentTeamId: number;
14
+ planId: number;
17
15
  planName: string;
16
+ isProviderAlpha: boolean;
17
+ isFullyAuthenticated: boolean;
18
+ isEndOfTrialActive: boolean;
19
+ isTeamSuspended: boolean;
18
20
  exp: number;
19
21
  } | undefined;
@@ -11,7 +11,7 @@ import { Wretch } from 'wretch';
11
11
  export declare function useAuthenticatedUser<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<TeamUserApiBaseHeaders>): import('@tanstack/react-query').UseQueryResult<{
12
12
  team_id: number;
13
13
  team_user: {
14
- role: "member" | "admin" | "biller" | "owner";
14
+ role: "owner" | "admin" | "biller" | "member";
15
15
  email: string;
16
16
  user_id: number;
17
17
  fullname: string;
@@ -20,7 +20,7 @@ export declare function useGetProjectPermissionMetaQuery<T>(wretchClient: Wretch
20
20
  title: string;
21
21
  id: string;
22
22
  group: string;
23
- scope: "team" | "project" | "user";
23
+ scope: "team" | "user" | "project";
24
24
  description: string | null;
25
25
  doesSetAllReadOnlyLanguages: boolean;
26
26
  dependentPermissions?: string[] | undefined;
@@ -30,10 +30,10 @@ export declare function useGetProjectPermissionMetaQuery<T>(wretchClient: Wretch
30
30
  project_id: string;
31
31
  project_uuid: string;
32
32
  roles: {
33
- role: string;
34
33
  id: number;
35
- tag: string | null;
34
+ role: string;
36
35
  description: string | null;
36
+ tag: string | null;
37
37
  permissions: string[];
38
38
  tagColor: string | null;
39
39
  tagInfo: string | null;
@@ -18,7 +18,7 @@ export declare const getTeamUsersQueryKey: {
18
18
  export declare const useGetTeamUsersQuery: <T>(wretchClient: Wretch<T>, headers: HeaderBuilder<TeamUserApiBaseHeaders>, overrides: ApiQueryOverrides<TeamUserResponse, typeof getTeamUsersQueryKey>) => import('@tanstack/react-query').UseQueryResult<{
19
19
  team_id: number;
20
20
  team_user: {
21
- role: "member" | "admin" | "biller" | "owner";
21
+ role: "owner" | "admin" | "biller" | "member";
22
22
  email: string;
23
23
  user_id: number;
24
24
  fullname: string;
@@ -18,10 +18,10 @@ export declare const listPermissionTemplatesKeys: {
18
18
  */
19
19
  export declare const useListPermissionTemplatesQuery: <T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ContributorApiBaseHeader>, overrides: ApiQueryOverrides<ListPermissionTemplatesResponse, typeof listPermissionTemplatesKeys>) => import('@tanstack/react-query').UseQueryResult<{
20
20
  roles: {
21
- role: string;
22
21
  id: string;
23
- tag: string | null;
22
+ role: string;
24
23
  description: string | null;
24
+ tag: string | null;
25
25
  permissions: string[];
26
26
  tagColor: string | null;
27
27
  tagInfo: string | null;
@@ -21,7 +21,7 @@ export declare const listTeamUsersKey: {
21
21
  export declare function useListTeamUsersQuery<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ProjectApiBaseHeaders>, overrides: ApiQueryOverrides<ListTeamUsersResponse, typeof listTeamUsersKey>): import('@tanstack/react-query').UseQueryResult<{
22
22
  team_id: number;
23
23
  team_users: {
24
- role: "member" | "admin" | "biller" | "owner";
24
+ role: "owner" | "admin" | "biller" | "member";
25
25
  email: string;
26
26
  user_id: number;
27
27
  fullname: string;
@@ -15,20 +15,20 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
15
15
  isForMarketingProjects: import('zod').ZodBoolean;
16
16
  doesEnableAllReadOnlyLanguages: import('zod').ZodBoolean;
17
17
  }, "strip", import('zod').ZodTypeAny, {
18
- role: string;
19
18
  id: string;
20
- tag: string | null;
19
+ role: string;
21
20
  description: string | null;
21
+ tag: string | null;
22
22
  permissions: string[];
23
23
  tagColor: string | null;
24
24
  tagInfo: string | null;
25
25
  isForMarketingProjects: boolean;
26
26
  doesEnableAllReadOnlyLanguages: boolean;
27
27
  }, {
28
- role: string;
29
28
  id: string;
30
- tag: string | null;
29
+ role: string;
31
30
  description: string | null;
31
+ tag: string | null;
32
32
  permissions: string[];
33
33
  tagColor: string | null;
34
34
  tagInfo: string | null;
@@ -37,10 +37,10 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
37
37
  }>, "many">;
38
38
  }, "strip", import('zod').ZodTypeAny, {
39
39
  roles: {
40
- role: string;
41
40
  id: string;
42
- tag: string | null;
41
+ role: string;
43
42
  description: string | null;
43
+ tag: string | null;
44
44
  permissions: string[];
45
45
  tagColor: string | null;
46
46
  tagInfo: string | null;
@@ -49,10 +49,10 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
49
49
  }[];
50
50
  }, {
51
51
  roles: {
52
- role: string;
53
52
  id: string;
54
- tag: string | null;
53
+ role: string;
55
54
  description: string | null;
55
+ tag: string | null;
56
56
  permissions: string[];
57
57
  tagColor: string | null;
58
58
  tagInfo: string | null;
@@ -1752,7 +1752,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1752
1752
  title: string;
1753
1753
  id: string;
1754
1754
  group: string;
1755
- scope: "team" | "project" | "user";
1755
+ scope: "team" | "user" | "project";
1756
1756
  description: string | null;
1757
1757
  doesSetAllReadOnlyLanguages: boolean;
1758
1758
  dependentPermissions?: string[] | undefined;
@@ -1762,7 +1762,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1762
1762
  title: string;
1763
1763
  id: string;
1764
1764
  group: string;
1765
- scope: "team" | "project" | "user";
1765
+ scope: "team" | "user" | "project";
1766
1766
  description: string | null;
1767
1767
  doesSetAllReadOnlyLanguages: boolean;
1768
1768
  dependentPermissions?: string[] | undefined;
@@ -1780,20 +1780,20 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1780
1780
  isForMarketingProjects: import('zod').ZodBoolean;
1781
1781
  doesEnableAllReadOnlyLanguages: import('zod').ZodBoolean;
1782
1782
  }, "strip", import('zod').ZodTypeAny, {
1783
- role: string;
1784
1783
  id: number;
1785
- tag: string | null;
1784
+ role: string;
1786
1785
  description: string | null;
1786
+ tag: string | null;
1787
1787
  permissions: string[];
1788
1788
  tagColor: string | null;
1789
1789
  tagInfo: string | null;
1790
1790
  isForMarketingProjects: boolean;
1791
1791
  doesEnableAllReadOnlyLanguages: boolean;
1792
1792
  }, {
1793
- role: string;
1794
1793
  id: number;
1795
- tag: string | null;
1794
+ role: string;
1796
1795
  description: string | null;
1796
+ tag: string | null;
1797
1797
  permissions: string[];
1798
1798
  tagColor: string | null;
1799
1799
  tagInfo: string | null;
@@ -1805,7 +1805,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1805
1805
  title: string;
1806
1806
  id: string;
1807
1807
  group: string;
1808
- scope: "team" | "project" | "user";
1808
+ scope: "team" | "user" | "project";
1809
1809
  description: string | null;
1810
1810
  doesSetAllReadOnlyLanguages: boolean;
1811
1811
  dependentPermissions?: string[] | undefined;
@@ -1815,10 +1815,10 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1815
1815
  project_id: string;
1816
1816
  project_uuid: string;
1817
1817
  roles: {
1818
- role: string;
1819
1818
  id: number;
1820
- tag: string | null;
1819
+ role: string;
1821
1820
  description: string | null;
1821
+ tag: string | null;
1822
1822
  permissions: string[];
1823
1823
  tagColor: string | null;
1824
1824
  tagInfo: string | null;
@@ -1830,7 +1830,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1830
1830
  title: string;
1831
1831
  id: string;
1832
1832
  group: string;
1833
- scope: "team" | "project" | "user";
1833
+ scope: "team" | "user" | "project";
1834
1834
  description: string | null;
1835
1835
  doesSetAllReadOnlyLanguages: boolean;
1836
1836
  dependentPermissions?: string[] | undefined;
@@ -1840,10 +1840,10 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1840
1840
  project_id: string;
1841
1841
  project_uuid: string;
1842
1842
  roles: {
1843
- role: string;
1844
1843
  id: number;
1845
- tag: string | null;
1844
+ role: string;
1846
1845
  description: string | null;
1846
+ tag: string | null;
1847
1847
  permissions: string[];
1848
1848
  tagColor: string | null;
1849
1849
  tagInfo: string | null;
@@ -13,14 +13,14 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
13
13
  created_at_timestamp: import('zod').ZodNumber;
14
14
  role: import('zod').ZodUnion<[import('zod').ZodLiteral<"owner">, import('zod').ZodLiteral<"admin">, import('zod').ZodLiteral<"biller">, import('zod').ZodLiteral<"member">]>;
15
15
  }, "strip", import('zod').ZodTypeAny, {
16
- role: "member" | "admin" | "biller" | "owner";
16
+ role: "owner" | "admin" | "biller" | "member";
17
17
  email: string;
18
18
  user_id: number;
19
19
  fullname: string;
20
20
  created_at: string;
21
21
  created_at_timestamp: number;
22
22
  }, {
23
- role: "member" | "admin" | "biller" | "owner";
23
+ role: "owner" | "admin" | "biller" | "member";
24
24
  email: string;
25
25
  user_id: number;
26
26
  fullname: string;
@@ -30,7 +30,7 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
30
30
  }, "strip", import('zod').ZodTypeAny, {
31
31
  team_id: number;
32
32
  team_users: {
33
- role: "member" | "admin" | "biller" | "owner";
33
+ role: "owner" | "admin" | "biller" | "member";
34
34
  email: string;
35
35
  user_id: number;
36
36
  fullname: string;
@@ -40,7 +40,7 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
40
40
  }, {
41
41
  team_id: number;
42
42
  team_users: {
43
- role: "member" | "admin" | "biller" | "owner";
43
+ role: "owner" | "admin" | "biller" | "member";
44
44
  email: string;
45
45
  user_id: number;
46
46
  fullname: string;
@@ -124,14 +124,14 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
124
124
  created_at_timestamp: import('zod').ZodNumber;
125
125
  role: import('zod').ZodUnion<[import('zod').ZodLiteral<"owner">, import('zod').ZodLiteral<"admin">, import('zod').ZodLiteral<"biller">, import('zod').ZodLiteral<"member">]>;
126
126
  }, "strip", import('zod').ZodTypeAny, {
127
- role: "member" | "admin" | "biller" | "owner";
127
+ role: "owner" | "admin" | "biller" | "member";
128
128
  email: string;
129
129
  user_id: number;
130
130
  fullname: string;
131
131
  created_at: string;
132
132
  created_at_timestamp: number;
133
133
  }, {
134
- role: "member" | "admin" | "biller" | "owner";
134
+ role: "owner" | "admin" | "biller" | "member";
135
135
  email: string;
136
136
  user_id: number;
137
137
  fullname: string;
@@ -141,7 +141,7 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
141
141
  }, "strip", import('zod').ZodTypeAny, {
142
142
  team_id: number;
143
143
  team_user: {
144
- role: "member" | "admin" | "biller" | "owner";
144
+ role: "owner" | "admin" | "biller" | "member";
145
145
  email: string;
146
146
  user_id: number;
147
147
  fullname: string;
@@ -151,7 +151,7 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
151
151
  }, {
152
152
  team_id: number;
153
153
  team_user: {
154
- role: "member" | "admin" | "biller" | "owner";
154
+ role: "owner" | "admin" | "biller" | "member";
155
155
  email: string;
156
156
  user_id: number;
157
157
  fullname: string;
@@ -12,20 +12,20 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
12
12
  isForMarketingProjects: z.ZodBoolean;
13
13
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
14
14
  }, "strip", z.ZodTypeAny, {
15
- role: string;
16
15
  id: string;
17
- tag: string | null;
16
+ role: string;
18
17
  description: string | null;
18
+ tag: string | null;
19
19
  permissions: string[];
20
20
  tagColor: string | null;
21
21
  tagInfo: string | null;
22
22
  isForMarketingProjects: boolean;
23
23
  doesEnableAllReadOnlyLanguages: boolean;
24
24
  }, {
25
- role: string;
26
25
  id: string;
27
- tag: string | null;
26
+ role: string;
28
27
  description: string | null;
28
+ tag: string | null;
29
29
  permissions: string[];
30
30
  tagColor: string | null;
31
31
  tagInfo: string | null;
@@ -53,20 +53,20 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
53
53
  isForMarketingProjects: z.ZodBoolean;
54
54
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
55
55
  }, "strip", z.ZodTypeAny, {
56
- role: string;
57
56
  id: string;
58
- tag: string | null;
57
+ role: string;
59
58
  description: string | null;
59
+ tag: string | null;
60
60
  permissions: string[];
61
61
  tagColor: string | null;
62
62
  tagInfo: string | null;
63
63
  isForMarketingProjects: boolean;
64
64
  doesEnableAllReadOnlyLanguages: boolean;
65
65
  }, {
66
- role: string;
67
66
  id: string;
68
- tag: string | null;
67
+ role: string;
69
68
  description: string | null;
69
+ tag: string | null;
70
70
  permissions: string[];
71
71
  tagColor: string | null;
72
72
  tagInfo: string | null;
@@ -75,10 +75,10 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
75
75
  }>, "many">;
76
76
  }, "strip", z.ZodTypeAny, {
77
77
  roles: {
78
- role: string;
79
78
  id: string;
80
- tag: string | null;
79
+ role: string;
81
80
  description: string | null;
81
+ tag: string | null;
82
82
  permissions: string[];
83
83
  tagColor: string | null;
84
84
  tagInfo: string | null;
@@ -87,10 +87,10 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
87
87
  }[];
88
88
  }, {
89
89
  roles: {
90
- role: string;
91
90
  id: string;
92
- tag: string | null;
91
+ role: string;
93
92
  description: string | null;
93
+ tag: string | null;
94
94
  permissions: string[];
95
95
  tagColor: string | null;
96
96
  tagInfo: string | null;
@@ -17,7 +17,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
17
17
  title: string;
18
18
  id: string;
19
19
  group: string;
20
- scope: "team" | "project" | "user";
20
+ scope: "team" | "user" | "project";
21
21
  description: string | null;
22
22
  new_permission: boolean;
23
23
  does_set_all_read_only_languages: boolean;
@@ -26,7 +26,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
26
26
  title: string;
27
27
  id: string;
28
28
  group: string;
29
- scope: "team" | "project" | "user";
29
+ scope: "team" | "user" | "project";
30
30
  description: string | null;
31
31
  new_permission: boolean;
32
32
  does_set_all_read_only_languages: boolean;
@@ -1172,7 +1172,7 @@ declare const PROJECT_PERMISSION_DETAILS_META_SCHEMA: z.ZodObject<{
1172
1172
  title: string;
1173
1173
  id: string;
1174
1174
  group: string;
1175
- scope: "team" | "project" | "user";
1175
+ scope: "team" | "user" | "project";
1176
1176
  description: string | null;
1177
1177
  doesSetAllReadOnlyLanguages: boolean;
1178
1178
  dependentPermissions?: string[] | undefined;
@@ -1182,7 +1182,7 @@ declare const PROJECT_PERMISSION_DETAILS_META_SCHEMA: z.ZodObject<{
1182
1182
  title: string;
1183
1183
  id: string;
1184
1184
  group: string;
1185
- scope: "team" | "project" | "user";
1185
+ scope: "team" | "user" | "project";
1186
1186
  description: string | null;
1187
1187
  doesSetAllReadOnlyLanguages: boolean;
1188
1188
  dependentPermissions?: string[] | undefined;
@@ -1201,20 +1201,20 @@ declare const PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA: z.ZodObject<{
1201
1201
  isForMarketingProjects: z.ZodBoolean;
1202
1202
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
1203
1203
  }, "strip", z.ZodTypeAny, {
1204
- role: string;
1205
1204
  id: number;
1206
- tag: string | null;
1205
+ role: string;
1207
1206
  description: string | null;
1207
+ tag: string | null;
1208
1208
  permissions: string[];
1209
1209
  tagColor: string | null;
1210
1210
  tagInfo: string | null;
1211
1211
  isForMarketingProjects: boolean;
1212
1212
  doesEnableAllReadOnlyLanguages: boolean;
1213
1213
  }, {
1214
- role: string;
1215
1214
  id: number;
1216
- tag: string | null;
1215
+ role: string;
1217
1216
  description: string | null;
1217
+ tag: string | null;
1218
1218
  permissions: string[];
1219
1219
  tagColor: string | null;
1220
1220
  tagInfo: string | null;
@@ -1239,7 +1239,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1239
1239
  title: string;
1240
1240
  id: string;
1241
1241
  group: string;
1242
- scope: "team" | "project" | "user";
1242
+ scope: "team" | "user" | "project";
1243
1243
  description: string | null;
1244
1244
  doesSetAllReadOnlyLanguages: boolean;
1245
1245
  dependentPermissions?: string[] | undefined;
@@ -1249,7 +1249,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1249
1249
  title: string;
1250
1250
  id: string;
1251
1251
  group: string;
1252
- scope: "team" | "project" | "user";
1252
+ scope: "team" | "user" | "project";
1253
1253
  description: string | null;
1254
1254
  doesSetAllReadOnlyLanguages: boolean;
1255
1255
  dependentPermissions?: string[] | undefined;
@@ -1267,20 +1267,20 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1267
1267
  isForMarketingProjects: z.ZodBoolean;
1268
1268
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
1269
1269
  }, "strip", z.ZodTypeAny, {
1270
- role: string;
1271
1270
  id: number;
1272
- tag: string | null;
1271
+ role: string;
1273
1272
  description: string | null;
1273
+ tag: string | null;
1274
1274
  permissions: string[];
1275
1275
  tagColor: string | null;
1276
1276
  tagInfo: string | null;
1277
1277
  isForMarketingProjects: boolean;
1278
1278
  doesEnableAllReadOnlyLanguages: boolean;
1279
1279
  }, {
1280
- role: string;
1281
1280
  id: number;
1282
- tag: string | null;
1281
+ role: string;
1283
1282
  description: string | null;
1283
+ tag: string | null;
1284
1284
  permissions: string[];
1285
1285
  tagColor: string | null;
1286
1286
  tagInfo: string | null;
@@ -1292,7 +1292,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1292
1292
  title: string;
1293
1293
  id: string;
1294
1294
  group: string;
1295
- scope: "team" | "project" | "user";
1295
+ scope: "team" | "user" | "project";
1296
1296
  description: string | null;
1297
1297
  doesSetAllReadOnlyLanguages: boolean;
1298
1298
  dependentPermissions?: string[] | undefined;
@@ -1302,10 +1302,10 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1302
1302
  project_id: string;
1303
1303
  project_uuid: string;
1304
1304
  roles: {
1305
- role: string;
1306
1305
  id: number;
1307
- tag: string | null;
1306
+ role: string;
1308
1307
  description: string | null;
1308
+ tag: string | null;
1309
1309
  permissions: string[];
1310
1310
  tagColor: string | null;
1311
1311
  tagInfo: string | null;
@@ -1317,7 +1317,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1317
1317
  title: string;
1318
1318
  id: string;
1319
1319
  group: string;
1320
- scope: "team" | "project" | "user";
1320
+ scope: "team" | "user" | "project";
1321
1321
  description: string | null;
1322
1322
  doesSetAllReadOnlyLanguages: boolean;
1323
1323
  dependentPermissions?: string[] | undefined;
@@ -1327,10 +1327,10 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1327
1327
  project_id: string;
1328
1328
  project_uuid: string;
1329
1329
  roles: {
1330
- role: string;
1331
1330
  id: number;
1332
- tag: string | null;
1331
+ role: string;
1333
1332
  description: string | null;
1333
+ tag: string | null;
1334
1334
  permissions: string[];
1335
1335
  tagColor: string | null;
1336
1336
  tagInfo: string | null;
@@ -63,14 +63,14 @@ export declare const TEAM_USER_SCHEMA: z.ZodObject<{
63
63
  created_at_timestamp: z.ZodNumber;
64
64
  role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- role: "member" | "admin" | "biller" | "owner";
66
+ role: "owner" | "admin" | "biller" | "member";
67
67
  email: string;
68
68
  user_id: number;
69
69
  fullname: string;
70
70
  created_at: string;
71
71
  created_at_timestamp: number;
72
72
  }, {
73
- role: "member" | "admin" | "biller" | "owner";
73
+ role: "owner" | "admin" | "biller" | "member";
74
74
  email: string;
75
75
  user_id: number;
76
76
  fullname: string;
@@ -107,14 +107,14 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
107
107
  created_at_timestamp: z.ZodNumber;
108
108
  role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
109
109
  }, "strip", z.ZodTypeAny, {
110
- role: "member" | "admin" | "biller" | "owner";
110
+ role: "owner" | "admin" | "biller" | "member";
111
111
  email: string;
112
112
  user_id: number;
113
113
  fullname: string;
114
114
  created_at: string;
115
115
  created_at_timestamp: number;
116
116
  }, {
117
- role: "member" | "admin" | "biller" | "owner";
117
+ role: "owner" | "admin" | "biller" | "member";
118
118
  email: string;
119
119
  user_id: number;
120
120
  fullname: string;
@@ -124,7 +124,7 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
124
124
  }, "strip", z.ZodTypeAny, {
125
125
  team_id: number;
126
126
  team_user: {
127
- role: "member" | "admin" | "biller" | "owner";
127
+ role: "owner" | "admin" | "biller" | "member";
128
128
  email: string;
129
129
  user_id: number;
130
130
  fullname: string;
@@ -134,7 +134,7 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
134
134
  }, {
135
135
  team_id: number;
136
136
  team_user: {
137
- role: "member" | "admin" | "biller" | "owner";
137
+ role: "owner" | "admin" | "biller" | "member";
138
138
  email: string;
139
139
  user_id: number;
140
140
  fullname: string;
@@ -153,14 +153,14 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
153
153
  created_at_timestamp: z.ZodNumber;
154
154
  role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
155
155
  }, "strip", z.ZodTypeAny, {
156
- role: "member" | "admin" | "biller" | "owner";
156
+ role: "owner" | "admin" | "biller" | "member";
157
157
  email: string;
158
158
  user_id: number;
159
159
  fullname: string;
160
160
  created_at: string;
161
161
  created_at_timestamp: number;
162
162
  }, {
163
- role: "member" | "admin" | "biller" | "owner";
163
+ role: "owner" | "admin" | "biller" | "member";
164
164
  email: string;
165
165
  user_id: number;
166
166
  fullname: string;
@@ -170,7 +170,7 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
170
170
  }, "strip", z.ZodTypeAny, {
171
171
  team_id: number;
172
172
  team_users: {
173
- role: "member" | "admin" | "biller" | "owner";
173
+ role: "owner" | "admin" | "biller" | "member";
174
174
  email: string;
175
175
  user_id: number;
176
176
  fullname: string;
@@ -180,7 +180,7 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
180
180
  }, {
181
181
  team_id: number;
182
182
  team_users: {
183
- role: "member" | "admin" | "biller" | "owner";
183
+ role: "owner" | "admin" | "biller" | "member";
184
184
  email: string;
185
185
  user_id: number;
186
186
  fullname: string;
@@ -0,0 +1,9 @@
1
+ import { JwtTokenPayload } from '../../features/auth/core/types/jwtTokenPayload';
2
+ export declare const canAccessStyleGuide: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
3
+ export declare const canAccessReporting: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
4
+ export declare const canAccessTeamSettings: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
5
+ export declare const canCreateTeam: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
6
+ export declare const canUpgradePlan: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
7
+ export declare const canChangeBilling: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
8
+ export declare const canAccessProviderDashboard: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
9
+ export declare const canAccessProfileSettings: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;