@lokalise/harmony 1.26.2 → 1.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. package/dist/harmony.cjs +51 -26
  2. package/dist/harmony.cjs.map +1 -1
  3. package/dist/harmony.mjs +52 -27
  4. package/dist/harmony.mjs.map +1 -1
  5. package/dist/harmony10.cjs +5 -2
  6. package/dist/harmony10.cjs.map +1 -1
  7. package/dist/harmony10.mjs +5 -2
  8. package/dist/harmony10.mjs.map +1 -1
  9. package/dist/harmony100.cjs +57 -59
  10. package/dist/harmony100.cjs.map +1 -1
  11. package/dist/harmony100.mjs +57 -59
  12. package/dist/harmony100.mjs.map +1 -1
  13. package/dist/harmony101.cjs +6 -87
  14. package/dist/harmony101.cjs.map +1 -1
  15. package/dist/harmony101.mjs +6 -87
  16. package/dist/harmony101.mjs.map +1 -1
  17. package/dist/harmony102.cjs +3 -15
  18. package/dist/harmony102.cjs.map +1 -1
  19. package/dist/harmony102.mjs +3 -15
  20. package/dist/harmony102.mjs.map +1 -1
  21. package/dist/harmony103.cjs +6 -97
  22. package/dist/harmony103.cjs.map +1 -1
  23. package/dist/harmony103.mjs +5 -96
  24. package/dist/harmony103.mjs.map +1 -1
  25. package/dist/harmony104.cjs +6 -14
  26. package/dist/harmony104.cjs.map +1 -1
  27. package/dist/harmony104.mjs +5 -13
  28. package/dist/harmony104.mjs.map +1 -1
  29. package/dist/harmony105.cjs +60 -12
  30. package/dist/harmony105.cjs.map +1 -1
  31. package/dist/harmony105.mjs +60 -12
  32. package/dist/harmony105.mjs.map +1 -1
  33. package/dist/harmony106.cjs +88 -36
  34. package/dist/harmony106.cjs.map +1 -1
  35. package/dist/harmony106.mjs +88 -36
  36. package/dist/harmony106.mjs.map +1 -1
  37. package/dist/harmony107.cjs +19 -29
  38. package/dist/harmony107.cjs.map +1 -1
  39. package/dist/harmony107.mjs +18 -28
  40. package/dist/harmony107.mjs.map +1 -1
  41. package/dist/harmony108.cjs +96 -7
  42. package/dist/harmony108.cjs.map +1 -1
  43. package/dist/harmony108.mjs +96 -7
  44. package/dist/harmony108.mjs.map +1 -1
  45. package/dist/harmony109.cjs +13 -57
  46. package/dist/harmony109.cjs.map +1 -1
  47. package/dist/harmony109.mjs +13 -57
  48. package/dist/harmony109.mjs.map +1 -1
  49. package/dist/harmony110.cjs +14 -60
  50. package/dist/harmony110.cjs.map +1 -1
  51. package/dist/harmony110.mjs +14 -60
  52. package/dist/harmony110.mjs.map +1 -1
  53. package/dist/harmony111.cjs +37 -19
  54. package/dist/harmony111.cjs.map +1 -1
  55. package/dist/harmony111.mjs +36 -18
  56. package/dist/harmony111.mjs.map +1 -1
  57. package/dist/harmony112.cjs +27 -12
  58. package/dist/harmony112.cjs.map +1 -1
  59. package/dist/harmony112.mjs +27 -12
  60. package/dist/harmony112.mjs.map +1 -1
  61. package/dist/harmony113.cjs +7 -15
  62. package/dist/harmony113.cjs.map +1 -1
  63. package/dist/harmony113.mjs +7 -15
  64. package/dist/harmony113.mjs.map +1 -1
  65. package/dist/harmony114.cjs +57 -16
  66. package/dist/harmony114.cjs.map +1 -1
  67. package/dist/harmony114.mjs +57 -16
  68. package/dist/harmony114.mjs.map +1 -1
  69. package/dist/harmony115.cjs +60 -11
  70. package/dist/harmony115.cjs.map +1 -1
  71. package/dist/harmony115.mjs +60 -11
  72. package/dist/harmony115.mjs.map +1 -1
  73. package/dist/harmony116.cjs +19 -17
  74. package/dist/harmony116.cjs.map +1 -1
  75. package/dist/harmony116.mjs +18 -16
  76. package/dist/harmony116.mjs.map +1 -1
  77. package/dist/harmony117.cjs +12 -20
  78. package/dist/harmony117.cjs.map +1 -1
  79. package/dist/harmony117.mjs +12 -20
  80. package/dist/harmony117.mjs.map +1 -1
  81. package/dist/harmony118.cjs +13 -10
  82. package/dist/harmony118.cjs.map +1 -1
  83. package/dist/harmony118.mjs +13 -10
  84. package/dist/harmony118.mjs.map +1 -1
  85. package/dist/harmony119.cjs +16 -46
  86. package/dist/harmony119.cjs.map +1 -1
  87. package/dist/harmony119.mjs +16 -46
  88. package/dist/harmony119.mjs.map +1 -1
  89. package/dist/harmony120.cjs +46 -12
  90. package/dist/harmony120.cjs.map +1 -1
  91. package/dist/harmony120.mjs +45 -11
  92. package/dist/harmony120.mjs.map +1 -1
  93. package/dist/harmony121.cjs +13 -7
  94. package/dist/harmony121.cjs.map +1 -1
  95. package/dist/harmony121.mjs +12 -6
  96. package/dist/harmony121.mjs.map +1 -1
  97. package/dist/harmony122.cjs +10 -11
  98. package/dist/harmony122.cjs.map +1 -1
  99. package/dist/harmony122.mjs +10 -11
  100. package/dist/harmony122.mjs.map +1 -1
  101. package/dist/harmony123.cjs +13 -29
  102. package/dist/harmony123.cjs.map +1 -1
  103. package/dist/harmony123.mjs +13 -29
  104. package/dist/harmony123.mjs.map +1 -1
  105. package/dist/harmony124.cjs +19 -12
  106. package/dist/harmony124.cjs.map +1 -1
  107. package/dist/harmony124.mjs +19 -12
  108. package/dist/harmony124.mjs.map +1 -1
  109. package/dist/harmony125.cjs +15 -0
  110. package/dist/harmony125.cjs.map +1 -0
  111. package/dist/harmony125.mjs +15 -0
  112. package/dist/harmony125.mjs.map +1 -0
  113. package/dist/harmony126.cjs +9 -0
  114. package/dist/harmony126.cjs.map +1 -0
  115. package/dist/harmony126.mjs +9 -0
  116. package/dist/harmony126.mjs.map +1 -0
  117. package/dist/harmony127.cjs +15 -0
  118. package/dist/harmony127.cjs.map +1 -0
  119. package/dist/harmony127.mjs +15 -0
  120. package/dist/harmony127.mjs.map +1 -0
  121. package/dist/harmony128.cjs +35 -0
  122. package/dist/harmony128.cjs.map +1 -0
  123. package/dist/harmony128.mjs +35 -0
  124. package/dist/harmony128.mjs.map +1 -0
  125. package/dist/harmony129.cjs +17 -0
  126. package/dist/harmony129.cjs.map +1 -0
  127. package/dist/harmony129.mjs +17 -0
  128. package/dist/harmony129.mjs.map +1 -0
  129. package/dist/harmony15.cjs +1 -1
  130. package/dist/harmony15.mjs +1 -1
  131. package/dist/harmony20.cjs +1 -1
  132. package/dist/harmony20.mjs +1 -1
  133. package/dist/harmony21.cjs +1 -1
  134. package/dist/harmony21.mjs +1 -1
  135. package/dist/harmony22.cjs +2 -2
  136. package/dist/harmony22.mjs +2 -2
  137. package/dist/harmony23.cjs +1 -1
  138. package/dist/harmony23.mjs +1 -1
  139. package/dist/harmony24.cjs +1 -1
  140. package/dist/harmony24.mjs +1 -1
  141. package/dist/harmony25.cjs +1 -1
  142. package/dist/harmony25.mjs +1 -1
  143. package/dist/harmony26.cjs +2 -2
  144. package/dist/harmony26.mjs +2 -2
  145. package/dist/harmony27.cjs +2 -2
  146. package/dist/harmony27.mjs +2 -2
  147. package/dist/harmony28.cjs +2 -2
  148. package/dist/harmony28.mjs +2 -2
  149. package/dist/harmony29.cjs +15 -8
  150. package/dist/harmony29.cjs.map +1 -1
  151. package/dist/harmony29.mjs +15 -8
  152. package/dist/harmony29.mjs.map +1 -1
  153. package/dist/harmony3.cjs +3 -3
  154. package/dist/harmony3.mjs +3 -3
  155. package/dist/harmony30.cjs +3 -3
  156. package/dist/harmony30.mjs +3 -3
  157. package/dist/harmony31.cjs +16 -8
  158. package/dist/harmony31.cjs.map +1 -1
  159. package/dist/harmony31.mjs +16 -8
  160. package/dist/harmony31.mjs.map +1 -1
  161. package/dist/harmony32.cjs +8 -12
  162. package/dist/harmony32.cjs.map +1 -1
  163. package/dist/harmony32.mjs +9 -13
  164. package/dist/harmony32.mjs.map +1 -1
  165. package/dist/harmony33.cjs +14 -14
  166. package/dist/harmony33.cjs.map +1 -1
  167. package/dist/harmony33.mjs +14 -14
  168. package/dist/harmony33.mjs.map +1 -1
  169. package/dist/harmony34.cjs +3 -3
  170. package/dist/harmony34.cjs.map +1 -1
  171. package/dist/harmony34.mjs +4 -4
  172. package/dist/harmony34.mjs.map +1 -1
  173. package/dist/harmony35.cjs +5 -4
  174. package/dist/harmony35.cjs.map +1 -1
  175. package/dist/harmony35.mjs +5 -4
  176. package/dist/harmony35.mjs.map +1 -1
  177. package/dist/harmony36.cjs +6 -10
  178. package/dist/harmony36.cjs.map +1 -1
  179. package/dist/harmony36.mjs +8 -12
  180. package/dist/harmony36.mjs.map +1 -1
  181. package/dist/harmony37.cjs +14 -12
  182. package/dist/harmony37.cjs.map +1 -1
  183. package/dist/harmony37.mjs +14 -12
  184. package/dist/harmony37.mjs.map +1 -1
  185. package/dist/harmony38.cjs +14 -12
  186. package/dist/harmony38.cjs.map +1 -1
  187. package/dist/harmony38.mjs +15 -13
  188. package/dist/harmony38.mjs.map +1 -1
  189. package/dist/harmony39.cjs +9 -9
  190. package/dist/harmony39.cjs.map +1 -1
  191. package/dist/harmony39.mjs +9 -9
  192. package/dist/harmony39.mjs.map +1 -1
  193. package/dist/harmony4.cjs +10 -10
  194. package/dist/harmony4.mjs +10 -10
  195. package/dist/harmony40.cjs +12 -14
  196. package/dist/harmony40.cjs.map +1 -1
  197. package/dist/harmony40.mjs +13 -15
  198. package/dist/harmony40.mjs.map +1 -1
  199. package/dist/harmony41.cjs +12 -14
  200. package/dist/harmony41.cjs.map +1 -1
  201. package/dist/harmony41.mjs +12 -14
  202. package/dist/harmony41.mjs.map +1 -1
  203. package/dist/harmony42.cjs +10 -10
  204. package/dist/harmony42.cjs.map +1 -1
  205. package/dist/harmony42.mjs +10 -10
  206. package/dist/harmony42.mjs.map +1 -1
  207. package/dist/harmony43.cjs +14 -12
  208. package/dist/harmony43.cjs.map +1 -1
  209. package/dist/harmony43.mjs +14 -12
  210. package/dist/harmony43.mjs.map +1 -1
  211. package/dist/harmony44.cjs +7 -7
  212. package/dist/harmony44.cjs.map +1 -1
  213. package/dist/harmony44.mjs +8 -8
  214. package/dist/harmony44.mjs.map +1 -1
  215. package/dist/harmony45.cjs +13 -12
  216. package/dist/harmony45.cjs.map +1 -1
  217. package/dist/harmony45.mjs +15 -14
  218. package/dist/harmony45.mjs.map +1 -1
  219. package/dist/harmony46.cjs +17 -56
  220. package/dist/harmony46.cjs.map +1 -1
  221. package/dist/harmony46.mjs +17 -56
  222. package/dist/harmony46.mjs.map +1 -1
  223. package/dist/harmony47.cjs +13 -79
  224. package/dist/harmony47.cjs.map +1 -1
  225. package/dist/harmony47.mjs +13 -79
  226. package/dist/harmony47.mjs.map +1 -1
  227. package/dist/harmony48.cjs +52 -16
  228. package/dist/harmony48.cjs.map +1 -1
  229. package/dist/harmony48.mjs +52 -16
  230. package/dist/harmony48.mjs.map +1 -1
  231. package/dist/harmony49.cjs +68 -98
  232. package/dist/harmony49.cjs.map +1 -1
  233. package/dist/harmony49.mjs +68 -98
  234. package/dist/harmony49.mjs.map +1 -1
  235. package/dist/harmony5.cjs +1 -1
  236. package/dist/harmony5.mjs +1 -1
  237. package/dist/harmony50.cjs +4 -19
  238. package/dist/harmony50.cjs.map +1 -1
  239. package/dist/harmony50.mjs +4 -19
  240. package/dist/harmony50.mjs.map +1 -1
  241. package/dist/harmony51.cjs +22 -25
  242. package/dist/harmony51.cjs.map +1 -1
  243. package/dist/harmony51.mjs +22 -25
  244. package/dist/harmony51.mjs.map +1 -1
  245. package/dist/harmony52.cjs +35 -6
  246. package/dist/harmony52.cjs.map +1 -1
  247. package/dist/harmony52.mjs +35 -6
  248. package/dist/harmony52.mjs.map +1 -1
  249. package/dist/harmony53.cjs +111 -18
  250. package/dist/harmony53.cjs.map +1 -1
  251. package/dist/harmony53.mjs +111 -18
  252. package/dist/harmony53.mjs.map +1 -1
  253. package/dist/harmony54.cjs +19 -16
  254. package/dist/harmony54.cjs.map +1 -1
  255. package/dist/harmony54.mjs +19 -16
  256. package/dist/harmony54.mjs.map +1 -1
  257. package/dist/harmony55.cjs +27 -16
  258. package/dist/harmony55.cjs.map +1 -1
  259. package/dist/harmony55.mjs +26 -15
  260. package/dist/harmony55.mjs.map +1 -1
  261. package/dist/harmony56.cjs +9 -19
  262. package/dist/harmony56.cjs.map +1 -1
  263. package/dist/harmony56.mjs +8 -18
  264. package/dist/harmony56.mjs.map +1 -1
  265. package/dist/harmony57.cjs +51 -62
  266. package/dist/harmony57.cjs.map +1 -1
  267. package/dist/harmony57.mjs +50 -61
  268. package/dist/harmony57.mjs.map +1 -1
  269. package/dist/harmony58.cjs +25 -7
  270. package/dist/harmony58.cjs.map +1 -1
  271. package/dist/harmony58.mjs +24 -6
  272. package/dist/harmony58.mjs.map +1 -1
  273. package/dist/harmony59.cjs +18 -9
  274. package/dist/harmony59.cjs.map +1 -1
  275. package/dist/harmony59.mjs +18 -9
  276. package/dist/harmony59.mjs.map +1 -1
  277. package/dist/harmony6.cjs +4 -4
  278. package/dist/harmony6.mjs +4 -4
  279. package/dist/harmony60.cjs +16 -19
  280. package/dist/harmony60.cjs.map +1 -1
  281. package/dist/harmony60.mjs +15 -18
  282. package/dist/harmony60.mjs.map +1 -1
  283. package/dist/harmony61.cjs +18 -23
  284. package/dist/harmony61.cjs.map +1 -1
  285. package/dist/harmony61.mjs +17 -22
  286. package/dist/harmony61.mjs.map +1 -1
  287. package/dist/harmony62.cjs +62 -6
  288. package/dist/harmony62.cjs.map +1 -1
  289. package/dist/harmony62.mjs +61 -5
  290. package/dist/harmony62.mjs.map +1 -1
  291. package/dist/harmony63.cjs +6 -32
  292. package/dist/harmony63.cjs.map +1 -1
  293. package/dist/harmony63.mjs +5 -31
  294. package/dist/harmony63.mjs.map +1 -1
  295. package/dist/harmony64.cjs +8 -31
  296. package/dist/harmony64.cjs.map +1 -1
  297. package/dist/harmony64.mjs +9 -32
  298. package/dist/harmony64.mjs.map +1 -1
  299. package/dist/harmony65.cjs +14 -15
  300. package/dist/harmony65.cjs.map +1 -1
  301. package/dist/harmony65.mjs +14 -15
  302. package/dist/harmony65.mjs.map +1 -1
  303. package/dist/harmony66.cjs +17 -25
  304. package/dist/harmony66.cjs.map +1 -1
  305. package/dist/harmony66.mjs +19 -27
  306. package/dist/harmony66.mjs.map +1 -1
  307. package/dist/harmony67.cjs +4 -58
  308. package/dist/harmony67.cjs.map +1 -1
  309. package/dist/harmony67.mjs +5 -59
  310. package/dist/harmony67.mjs.map +1 -1
  311. package/dist/harmony68.cjs +32 -9
  312. package/dist/harmony68.cjs.map +1 -1
  313. package/dist/harmony68.mjs +31 -8
  314. package/dist/harmony68.mjs.map +1 -1
  315. package/dist/harmony69.cjs +30 -6
  316. package/dist/harmony69.cjs.map +1 -1
  317. package/dist/harmony69.mjs +32 -8
  318. package/dist/harmony69.mjs.map +1 -1
  319. package/dist/harmony70.cjs +15 -25
  320. package/dist/harmony70.cjs.map +1 -1
  321. package/dist/harmony70.mjs +15 -25
  322. package/dist/harmony70.mjs.map +1 -1
  323. package/dist/harmony71.cjs +31 -3
  324. package/dist/harmony71.cjs.map +1 -1
  325. package/dist/harmony71.mjs +31 -3
  326. package/dist/harmony71.mjs.map +1 -1
  327. package/dist/harmony72.cjs +57 -9
  328. package/dist/harmony72.cjs.map +1 -1
  329. package/dist/harmony72.mjs +59 -11
  330. package/dist/harmony72.mjs.map +1 -1
  331. package/dist/harmony73.cjs +6 -18
  332. package/dist/harmony73.cjs.map +1 -1
  333. package/dist/harmony73.mjs +7 -19
  334. package/dist/harmony73.mjs.map +1 -1
  335. package/dist/harmony74.cjs +9 -7
  336. package/dist/harmony74.cjs.map +1 -1
  337. package/dist/harmony74.mjs +8 -6
  338. package/dist/harmony74.mjs.map +1 -1
  339. package/dist/harmony75.cjs +30 -10
  340. package/dist/harmony75.cjs.map +1 -1
  341. package/dist/harmony75.mjs +29 -9
  342. package/dist/harmony75.mjs.map +1 -1
  343. package/dist/harmony76.cjs +4 -10
  344. package/dist/harmony76.cjs.map +1 -1
  345. package/dist/harmony76.mjs +3 -9
  346. package/dist/harmony76.mjs.map +1 -1
  347. package/dist/harmony77.cjs +9 -55
  348. package/dist/harmony77.cjs.map +1 -1
  349. package/dist/harmony77.mjs +11 -57
  350. package/dist/harmony77.mjs.map +1 -1
  351. package/dist/harmony78.cjs +21 -32
  352. package/dist/harmony78.cjs.map +1 -1
  353. package/dist/harmony78.mjs +20 -31
  354. package/dist/harmony78.mjs.map +1 -1
  355. package/dist/harmony79.cjs +7 -6
  356. package/dist/harmony79.cjs.map +1 -1
  357. package/dist/harmony79.mjs +6 -5
  358. package/dist/harmony79.mjs.map +1 -1
  359. package/dist/harmony80.cjs +6 -6
  360. package/dist/harmony80.mjs +6 -6
  361. package/dist/harmony81.cjs +6 -21
  362. package/dist/harmony81.cjs.map +1 -1
  363. package/dist/harmony81.mjs +6 -21
  364. package/dist/harmony81.mjs.map +1 -1
  365. package/dist/harmony82.cjs +57 -6
  366. package/dist/harmony82.cjs.map +1 -1
  367. package/dist/harmony82.mjs +56 -5
  368. package/dist/harmony82.mjs.map +1 -1
  369. package/dist/harmony83.cjs +30 -19
  370. package/dist/harmony83.cjs.map +1 -1
  371. package/dist/harmony83.mjs +30 -19
  372. package/dist/harmony83.mjs.map +1 -1
  373. package/dist/harmony84.cjs +6 -13
  374. package/dist/harmony84.cjs.map +1 -1
  375. package/dist/harmony84.mjs +5 -12
  376. package/dist/harmony84.mjs.map +1 -1
  377. package/dist/harmony85.cjs +10 -19
  378. package/dist/harmony85.cjs.map +1 -1
  379. package/dist/harmony85.mjs +9 -18
  380. package/dist/harmony85.mjs.map +1 -1
  381. package/dist/harmony86.cjs +24 -14
  382. package/dist/harmony86.cjs.map +1 -1
  383. package/dist/harmony86.mjs +23 -13
  384. package/dist/harmony86.mjs.map +1 -1
  385. package/dist/harmony87.cjs +7 -17
  386. package/dist/harmony87.cjs.map +1 -1
  387. package/dist/harmony87.mjs +6 -16
  388. package/dist/harmony87.mjs.map +1 -1
  389. package/dist/harmony88.cjs +21 -21
  390. package/dist/harmony88.cjs.map +1 -1
  391. package/dist/harmony88.mjs +20 -20
  392. package/dist/harmony88.mjs.map +1 -1
  393. package/dist/harmony89.cjs +12 -5
  394. package/dist/harmony89.cjs.map +1 -1
  395. package/dist/harmony89.mjs +11 -4
  396. package/dist/harmony89.mjs.map +1 -1
  397. package/dist/harmony90.cjs +18 -99
  398. package/dist/harmony90.cjs.map +1 -1
  399. package/dist/harmony90.mjs +18 -82
  400. package/dist/harmony90.mjs.map +1 -1
  401. package/dist/harmony91.cjs +12 -130
  402. package/dist/harmony91.cjs.map +1 -1
  403. package/dist/harmony91.mjs +12 -130
  404. package/dist/harmony91.mjs.map +1 -1
  405. package/dist/harmony92.cjs +17 -13
  406. package/dist/harmony92.cjs.map +1 -1
  407. package/dist/harmony92.mjs +16 -12
  408. package/dist/harmony92.mjs.map +1 -1
  409. package/dist/harmony93.cjs +22 -6
  410. package/dist/harmony93.cjs.map +1 -1
  411. package/dist/harmony93.mjs +21 -5
  412. package/dist/harmony93.mjs.map +1 -1
  413. package/dist/harmony94.cjs +4 -39
  414. package/dist/harmony94.cjs.map +1 -1
  415. package/dist/harmony94.mjs +4 -39
  416. package/dist/harmony94.mjs.map +1 -1
  417. package/dist/harmony95.cjs +95 -56
  418. package/dist/harmony95.cjs.map +1 -1
  419. package/dist/harmony95.mjs +79 -57
  420. package/dist/harmony95.mjs.map +1 -1
  421. package/dist/harmony96.cjs +131 -6
  422. package/dist/harmony96.cjs.map +1 -1
  423. package/dist/harmony96.mjs +131 -6
  424. package/dist/harmony96.mjs.map +1 -1
  425. package/dist/harmony97.cjs +9 -3
  426. package/dist/harmony97.cjs.map +1 -1
  427. package/dist/harmony97.mjs +9 -3
  428. package/dist/harmony97.mjs.map +1 -1
  429. package/dist/harmony98.cjs +6 -6
  430. package/dist/harmony98.cjs.map +1 -1
  431. package/dist/harmony98.mjs +5 -5
  432. package/dist/harmony98.mjs.map +1 -1
  433. package/dist/harmony99.cjs +41 -6
  434. package/dist/harmony99.cjs.map +1 -1
  435. package/dist/harmony99.mjs +40 -5
  436. package/dist/harmony99.mjs.map +1 -1
  437. package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +42 -0
  438. package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +7 -5
  439. package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +37 -0
  440. package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +37 -0
  441. package/dist/types/src/features/publicApi/hooks/useUpdateProjectMutation.d.ts +2 -2
  442. package/dist/types/src/features/publicApi/node.d.ts +5 -0
  443. package/dist/types/src/features/publicApi/permissionTemplates.d.ts +35 -25
  444. package/dist/types/src/features/publicApi/projects.d.ts +178 -5
  445. package/dist/types/src/features/publicApi/team.d.ts +297 -0
  446. package/dist/types/src/features/publicApi/types/paginationTypes.d.ts +12 -0
  447. package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +56 -40
  448. package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +34 -0
  449. package/dist/types/src/features/publicApi/types/projectTypes.d.ts +121 -12
  450. package/dist/types/src/features/publicApi/types/teamTypes.d.ts +257 -0
  451. package/package.json +2 -2
@@ -0,0 +1,297 @@
1
+ export declare const listTeams: import('@lokalise/api-contracts').GetRouteDefinition<never, import('zod').ZodObject<{
2
+ teams: import('zod').ZodArray<import('zod').ZodIntersection<import('zod').ZodIntersection<import('zod').ZodUnion<[import('zod').ZodObject<{
3
+ id: import('zod').ZodNumber;
4
+ }, "strip", import('zod').ZodTypeAny, {
5
+ id: number;
6
+ }, {
7
+ id: number;
8
+ }>, import('zod').ZodEffects<import('zod').ZodObject<{
9
+ team_id: import('zod').ZodNumber;
10
+ }, "strip", import('zod').ZodTypeAny, {
11
+ team_id: number;
12
+ }, {
13
+ team_id: number;
14
+ }>, {
15
+ id: number;
16
+ }, {
17
+ team_id: number;
18
+ }>]>, import('zod').ZodObject<{
19
+ uuid: import('zod').ZodOptional<import('zod').ZodString>;
20
+ name: import('zod').ZodString;
21
+ created_at: import('zod').ZodString;
22
+ created_at_timestamp: import('zod').ZodNumber;
23
+ plan: import('zod').ZodString;
24
+ }, "strip", import('zod').ZodTypeAny, {
25
+ name: string;
26
+ created_at: string;
27
+ created_at_timestamp: number;
28
+ plan: string;
29
+ uuid?: string | undefined;
30
+ }, {
31
+ name: string;
32
+ created_at: string;
33
+ created_at_timestamp: number;
34
+ plan: string;
35
+ uuid?: string | undefined;
36
+ }>>, import('zod').ZodObject<{
37
+ quota_usage: import('zod').ZodRecord<import('zod').ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
38
+ quota_allowed: import('zod').ZodRecord<import('zod').ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
39
+ }, "strip", import('zod').ZodTypeAny, {
40
+ quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
41
+ quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
42
+ }, {
43
+ quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
44
+ quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
45
+ }>>, "many">;
46
+ }, "strip", import('zod').ZodTypeAny, {
47
+ teams: ((({
48
+ id: number;
49
+ } | {
50
+ id: number;
51
+ }) & {
52
+ name: string;
53
+ created_at: string;
54
+ created_at_timestamp: number;
55
+ plan: string;
56
+ uuid?: string | undefined;
57
+ }) & {
58
+ quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
59
+ quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
60
+ })[];
61
+ }, {
62
+ teams: ((({
63
+ id: number;
64
+ } | {
65
+ team_id: number;
66
+ }) & {
67
+ name: string;
68
+ created_at: string;
69
+ created_at_timestamp: number;
70
+ plan: string;
71
+ uuid?: string | undefined;
72
+ }) & {
73
+ quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
74
+ quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
75
+ })[];
76
+ }>, undefined, import('zod').ZodObject<{
77
+ limit: import('zod').ZodOptional<import('zod').ZodNumber>;
78
+ page: import('zod').ZodOptional<import('zod').ZodNumber>;
79
+ }, "strip", import('zod').ZodTypeAny, {
80
+ page?: number | undefined;
81
+ limit?: number | undefined;
82
+ }, {
83
+ page?: number | undefined;
84
+ limit?: number | undefined;
85
+ }>, import('zod').ZodIntersection<import('zod').ZodUnion<[import('zod').ZodUnion<[import('zod').ZodObject<{
86
+ authorization: import('zod').ZodString;
87
+ }, "strip", import('zod').ZodTypeAny, {
88
+ authorization: string;
89
+ }, {
90
+ authorization: string;
91
+ }>, import('zod').ZodObject<{
92
+ AUTHORIZATION: import('zod').ZodString;
93
+ }, "strip", import('zod').ZodTypeAny, {
94
+ AUTHORIZATION: string;
95
+ }, {
96
+ AUTHORIZATION: string;
97
+ }>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
98
+ 'X-API-Token': import('zod').ZodString;
99
+ }, "strip", import('zod').ZodTypeAny, {
100
+ 'X-API-Token': string;
101
+ }, {
102
+ 'X-API-Token': string;
103
+ }>, import('zod').ZodObject<{
104
+ 'X-Api-Token': import('zod').ZodString;
105
+ }, "strip", import('zod').ZodTypeAny, {
106
+ 'X-Api-Token': string;
107
+ }, {
108
+ 'X-Api-Token': string;
109
+ }>, import('zod').ZodObject<{
110
+ 'x-api-token': import('zod').ZodString;
111
+ }, "strip", import('zod').ZodTypeAny, {
112
+ 'x-api-token': string;
113
+ }, {
114
+ 'x-api-token': string;
115
+ }>, import('zod').ZodObject<{
116
+ 'X-API-TOKEN': import('zod').ZodString;
117
+ }, "strip", import('zod').ZodTypeAny, {
118
+ 'X-API-TOKEN': string;
119
+ }, {
120
+ 'X-API-TOKEN': string;
121
+ }>]>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
122
+ 'X-Lokalise-Plugin': import('zod').ZodString;
123
+ }, "strip", import('zod').ZodTypeAny, {
124
+ 'X-Lokalise-Plugin': string;
125
+ }, {
126
+ 'X-Lokalise-Plugin': string;
127
+ }>, import('zod').ZodObject<{
128
+ 'x-lokalise-plugin': import('zod').ZodString;
129
+ }, "strip", import('zod').ZodTypeAny, {
130
+ 'x-lokalise-plugin': string;
131
+ }, {
132
+ 'x-lokalise-plugin': string;
133
+ }>, import('zod').ZodObject<{
134
+ 'X-LOKALISE-PLUGIN': import('zod').ZodString;
135
+ }, "strip", import('zod').ZodTypeAny, {
136
+ 'X-LOKALISE-PLUGIN': string;
137
+ }, {
138
+ 'X-LOKALISE-PLUGIN': string;
139
+ }>]>>, false, false>;
140
+ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDefinition<{
141
+ teamId: string | number;
142
+ }, import('zod').ZodObject<{
143
+ team: import('zod').ZodIntersection<import('zod').ZodIntersection<import('zod').ZodIntersection<import('zod').ZodUnion<[import('zod').ZodObject<{
144
+ id: import('zod').ZodNumber;
145
+ }, "strip", import('zod').ZodTypeAny, {
146
+ id: number;
147
+ }, {
148
+ id: number;
149
+ }>, import('zod').ZodEffects<import('zod').ZodObject<{
150
+ team_id: import('zod').ZodNumber;
151
+ }, "strip", import('zod').ZodTypeAny, {
152
+ team_id: number;
153
+ }, {
154
+ team_id: number;
155
+ }>, {
156
+ id: number;
157
+ }, {
158
+ team_id: number;
159
+ }>]>, import('zod').ZodObject<{
160
+ uuid: import('zod').ZodOptional<import('zod').ZodString>;
161
+ name: import('zod').ZodString;
162
+ created_at: import('zod').ZodString;
163
+ created_at_timestamp: import('zod').ZodNumber;
164
+ plan: import('zod').ZodString;
165
+ }, "strip", import('zod').ZodTypeAny, {
166
+ name: string;
167
+ created_at: string;
168
+ created_at_timestamp: number;
169
+ plan: string;
170
+ uuid?: string | undefined;
171
+ }, {
172
+ name: string;
173
+ created_at: string;
174
+ created_at_timestamp: number;
175
+ plan: string;
176
+ uuid?: string | undefined;
177
+ }>>, import('zod').ZodObject<{
178
+ quota_usage: import('zod').ZodRecord<import('zod').ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
179
+ quota_allowed: import('zod').ZodRecord<import('zod').ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
180
+ }, "strip", import('zod').ZodTypeAny, {
181
+ quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
182
+ quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
183
+ }, {
184
+ quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
185
+ quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
186
+ }>>, import('zod').ZodObject<{
187
+ is_team_suspended: import('zod').ZodBoolean;
188
+ is_end_of_trial_active: import('zod').ZodBoolean;
189
+ trial_days_left: import('zod').ZodNumber;
190
+ }, "strip", import('zod').ZodTypeAny, {
191
+ is_team_suspended: boolean;
192
+ is_end_of_trial_active: boolean;
193
+ trial_days_left: number;
194
+ }, {
195
+ is_team_suspended: boolean;
196
+ is_end_of_trial_active: boolean;
197
+ trial_days_left: number;
198
+ }>>;
199
+ }, "strip", import('zod').ZodTypeAny, {
200
+ team: ((({
201
+ id: number;
202
+ } | {
203
+ id: number;
204
+ }) & {
205
+ name: string;
206
+ created_at: string;
207
+ created_at_timestamp: number;
208
+ plan: string;
209
+ uuid?: string | undefined;
210
+ }) & {
211
+ quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
212
+ quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
213
+ }) & {
214
+ is_team_suspended: boolean;
215
+ is_end_of_trial_active: boolean;
216
+ trial_days_left: number;
217
+ };
218
+ }, {
219
+ team: ((({
220
+ id: number;
221
+ } | {
222
+ team_id: number;
223
+ }) & {
224
+ name: string;
225
+ created_at: string;
226
+ created_at_timestamp: number;
227
+ plan: string;
228
+ uuid?: string | undefined;
229
+ }) & {
230
+ quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
231
+ quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
232
+ }) & {
233
+ is_team_suspended: boolean;
234
+ is_end_of_trial_active: boolean;
235
+ trial_days_left: number;
236
+ };
237
+ }>, import('zod').ZodObject<{
238
+ teamId: import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNumber]>;
239
+ }, "strip", import('zod').ZodTypeAny, {
240
+ teamId: string | number;
241
+ }, {
242
+ teamId: string | number;
243
+ }>, undefined, import('zod').ZodIntersection<import('zod').ZodUnion<[import('zod').ZodUnion<[import('zod').ZodObject<{
244
+ authorization: import('zod').ZodString;
245
+ }, "strip", import('zod').ZodTypeAny, {
246
+ authorization: string;
247
+ }, {
248
+ authorization: string;
249
+ }>, import('zod').ZodObject<{
250
+ AUTHORIZATION: import('zod').ZodString;
251
+ }, "strip", import('zod').ZodTypeAny, {
252
+ AUTHORIZATION: string;
253
+ }, {
254
+ AUTHORIZATION: string;
255
+ }>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
256
+ 'X-API-Token': import('zod').ZodString;
257
+ }, "strip", import('zod').ZodTypeAny, {
258
+ 'X-API-Token': string;
259
+ }, {
260
+ 'X-API-Token': string;
261
+ }>, import('zod').ZodObject<{
262
+ 'X-Api-Token': import('zod').ZodString;
263
+ }, "strip", import('zod').ZodTypeAny, {
264
+ 'X-Api-Token': string;
265
+ }, {
266
+ 'X-Api-Token': string;
267
+ }>, import('zod').ZodObject<{
268
+ 'x-api-token': import('zod').ZodString;
269
+ }, "strip", import('zod').ZodTypeAny, {
270
+ 'x-api-token': string;
271
+ }, {
272
+ 'x-api-token': string;
273
+ }>, import('zod').ZodObject<{
274
+ 'X-API-TOKEN': import('zod').ZodString;
275
+ }, "strip", import('zod').ZodTypeAny, {
276
+ 'X-API-TOKEN': string;
277
+ }, {
278
+ 'X-API-TOKEN': string;
279
+ }>]>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
280
+ 'X-Lokalise-Plugin': import('zod').ZodString;
281
+ }, "strip", import('zod').ZodTypeAny, {
282
+ 'X-Lokalise-Plugin': string;
283
+ }, {
284
+ 'X-Lokalise-Plugin': string;
285
+ }>, import('zod').ZodObject<{
286
+ 'x-lokalise-plugin': import('zod').ZodString;
287
+ }, "strip", import('zod').ZodTypeAny, {
288
+ 'x-lokalise-plugin': string;
289
+ }, {
290
+ 'x-lokalise-plugin': string;
291
+ }>, import('zod').ZodObject<{
292
+ 'X-LOKALISE-PLUGIN': import('zod').ZodString;
293
+ }, "strip", import('zod').ZodTypeAny, {
294
+ 'X-LOKALISE-PLUGIN': string;
295
+ }, {
296
+ 'X-LOKALISE-PLUGIN': string;
297
+ }>]>>, false, false>;
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const PAGINATION_QUERY_PARAMS_SCHEMA: z.ZodObject<{
3
+ limit: z.ZodOptional<z.ZodNumber>;
4
+ page: z.ZodOptional<z.ZodNumber>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ page?: number | undefined;
7
+ limit?: number | undefined;
8
+ }, {
9
+ page?: number | undefined;
10
+ limit?: number | undefined;
11
+ }>;
12
+ export type PaginationQueryParams = z.infer<typeof PAGINATION_QUERY_PARAMS_SCHEMA>;
@@ -2,28 +2,34 @@ import { z } from 'zod';
2
2
  declare const PERMISSION_SCHEMA: z.ZodString;
3
3
  export type Permission = z.infer<typeof PERMISSION_SCHEMA>;
4
4
  export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
5
- id: z.ZodNumber;
5
+ id: z.ZodString;
6
6
  role: z.ZodString;
7
- permissions: z.ZodArray<z.ZodString, "many">;
8
- description: z.ZodString;
9
- tagColor: z.ZodString;
10
- tagInfo: z.ZodString;
7
+ permissions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>, "many">;
8
+ description: z.ZodNullable<z.ZodString>;
9
+ tag: z.ZodNullable<z.ZodString>;
10
+ tagColor: z.ZodNullable<z.ZodString>;
11
+ tagInfo: z.ZodNullable<z.ZodString>;
12
+ isForMarketingProjects: z.ZodBoolean;
11
13
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
12
14
  }, "strip", z.ZodTypeAny, {
13
15
  role: string;
14
- id: number;
15
- description: string;
16
- permissions: string[];
17
- tagColor: string;
18
- tagInfo: string;
16
+ id: string;
17
+ tag: string | null;
18
+ description: string | null;
19
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
20
+ tagColor: string | null;
21
+ tagInfo: string | null;
22
+ isForMarketingProjects: boolean;
19
23
  doesEnableAllReadOnlyLanguages: boolean;
20
24
  }, {
21
25
  role: string;
22
- id: number;
23
- description: string;
24
- permissions: string[];
25
- tagColor: string;
26
- tagInfo: string;
26
+ id: string;
27
+ tag: string | null;
28
+ description: string | null;
29
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
30
+ tagColor: string | null;
31
+ tagInfo: string | null;
32
+ isForMarketingProjects: boolean;
27
33
  doesEnableAllReadOnlyLanguages: boolean;
28
34
  }>;
29
35
  export type PermissionTemplate = z.infer<typeof PERMISSION_TEMPLATE_SCHEMA>;
@@ -37,48 +43,58 @@ export declare const LIST_PERMISSION_TEMPLATES_PATH_PARAMS: z.ZodObject<{
37
43
  export type ListPermissionTemplatesPathParams = z.infer<typeof LIST_PERMISSION_TEMPLATES_PATH_PARAMS>;
38
44
  export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
39
45
  roles: z.ZodArray<z.ZodObject<{
40
- id: z.ZodNumber;
46
+ id: z.ZodString;
41
47
  role: z.ZodString;
42
- permissions: z.ZodArray<z.ZodString, "many">;
43
- description: z.ZodString;
44
- tagColor: z.ZodString;
45
- tagInfo: z.ZodString;
48
+ permissions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>, "many">;
49
+ description: z.ZodNullable<z.ZodString>;
50
+ tag: z.ZodNullable<z.ZodString>;
51
+ tagColor: z.ZodNullable<z.ZodString>;
52
+ tagInfo: z.ZodNullable<z.ZodString>;
53
+ isForMarketingProjects: z.ZodBoolean;
46
54
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
47
55
  }, "strip", z.ZodTypeAny, {
48
56
  role: string;
49
- id: number;
50
- description: string;
51
- permissions: string[];
52
- tagColor: string;
53
- tagInfo: string;
57
+ id: string;
58
+ tag: string | null;
59
+ description: string | null;
60
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
61
+ tagColor: string | null;
62
+ tagInfo: string | null;
63
+ isForMarketingProjects: boolean;
54
64
  doesEnableAllReadOnlyLanguages: boolean;
55
65
  }, {
56
66
  role: string;
57
- id: number;
58
- description: string;
59
- permissions: string[];
60
- tagColor: string;
61
- tagInfo: string;
67
+ id: string;
68
+ tag: string | null;
69
+ description: string | null;
70
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
71
+ tagColor: string | null;
72
+ tagInfo: string | null;
73
+ isForMarketingProjects: boolean;
62
74
  doesEnableAllReadOnlyLanguages: boolean;
63
75
  }>, "many">;
64
76
  }, "strip", z.ZodTypeAny, {
65
77
  roles: {
66
78
  role: string;
67
- id: number;
68
- description: string;
69
- permissions: string[];
70
- tagColor: string;
71
- tagInfo: string;
79
+ id: string;
80
+ tag: string | null;
81
+ description: string | null;
82
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
83
+ tagColor: string | null;
84
+ tagInfo: string | null;
85
+ isForMarketingProjects: boolean;
72
86
  doesEnableAllReadOnlyLanguages: boolean;
73
87
  }[];
74
88
  }, {
75
89
  roles: {
76
90
  role: string;
77
- id: number;
78
- description: string;
79
- permissions: string[];
80
- tagColor: string;
81
- tagInfo: string;
91
+ id: string;
92
+ tag: string | null;
93
+ description: string | null;
94
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
95
+ tagColor: string | null;
96
+ tagInfo: string | null;
97
+ isForMarketingProjects: boolean;
82
98
  doesEnableAllReadOnlyLanguages: boolean;
83
99
  }[];
84
100
  }>;
@@ -0,0 +1,34 @@
1
+ import { z } from 'zod';
2
+ export declare const PERMISSION_ID_SCHEMA: z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>;
3
+ export type PermissionId = z.infer<typeof PERMISSION_ID_SCHEMA>;
4
+ export declare const PERMISSION_SCOPE_SCHEMA: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
5
+ export type PermissionScope = z.infer<typeof PERMISSION_SCOPE_SCHEMA>;
6
+ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
7
+ id: z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>;
8
+ scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
9
+ title: z.ZodString;
10
+ group: z.ZodString;
11
+ description: z.ZodNullable<z.ZodString>;
12
+ new_permission: z.ZodBoolean;
13
+ does_set_all_read_only_languages: z.ZodBoolean;
14
+ is_hidden: z.ZodBoolean;
15
+ }, "strip", z.ZodTypeAny, {
16
+ title: string;
17
+ id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
18
+ group: string;
19
+ scope: "team" | "project" | "user";
20
+ description: string | null;
21
+ new_permission: boolean;
22
+ does_set_all_read_only_languages: boolean;
23
+ is_hidden: boolean;
24
+ }, {
25
+ title: string;
26
+ id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
27
+ group: string;
28
+ scope: "team" | "project" | "user";
29
+ description: string | null;
30
+ new_permission: boolean;
31
+ does_set_all_read_only_languages: boolean;
32
+ is_hidden: boolean;
33
+ }>;
34
+ export type PermissionDetails = z.infer<typeof PERMISSION_DETAILS_SCHEMA>;
@@ -1,4 +1,8 @@
1
1
  import { z } from 'zod';
2
+ export declare const PROJECT_ID_SCHEMA: z.ZodString;
3
+ export type ProjectId = z.infer<typeof PROJECT_ID_SCHEMA>;
4
+ export declare const PROJECT_ID_OR_UUID_SCHEMA: z.ZodUnion<[z.ZodString, z.ZodString]>;
5
+ export type ProjectIdOrUuid = z.infer<typeof PROJECT_ID_OR_UUID_SCHEMA>;
2
6
  export declare const PROJECT_API_BASE_HEADERS_SCHEMA: z.ZodIntersection<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3
7
  authorization: z.ZodString;
4
8
  }, "strip", z.ZodTypeAny, {
@@ -1120,21 +1124,14 @@ export declare const LIST_PROJECTS_SUCCESS_RESPONSE_BODY: z.ZodObject<{
1120
1124
  }[];
1121
1125
  }>;
1122
1126
  export type ListProjectsSuccessResponseBody = z.infer<typeof LIST_PROJECTS_SUCCESS_RESPONSE_BODY>;
1123
- export declare const RETRIEVE_PROJECT_PATH_PARAM_SCHEMA: z.ZodObject<{
1124
- project_id: z.ZodString;
1127
+ export declare const PROJECT_ID_PATH_PARAM_SCHEMA: z.ZodObject<{
1128
+ projectId: z.ZodUnion<[z.ZodString, z.ZodString]>;
1125
1129
  }, "strip", z.ZodTypeAny, {
1126
- project_id: string;
1130
+ projectId: string;
1127
1131
  }, {
1128
- project_id: string;
1132
+ projectId: string;
1129
1133
  }>;
1130
- export declare const UPDATE_PROJECT_PATH_PARAMS_SCHEMA: z.ZodObject<{
1131
- project_id: z.ZodString;
1132
- }, "strip", z.ZodTypeAny, {
1133
- project_id: string;
1134
- }, {
1135
- project_id: string;
1136
- }>;
1137
- export type UpdateProjectPathParams = z.infer<typeof UPDATE_PROJECT_PATH_PARAMS_SCHEMA>;
1134
+ export type ProjectIdPathParam = z.infer<typeof PROJECT_ID_PATH_PARAM_SCHEMA>;
1138
1135
  export declare const UPDATE_PROJECT_REQUEST_BODY_SCHEMA: z.ZodObject<{
1139
1136
  name: z.ZodString;
1140
1137
  description: z.ZodOptional<z.ZodString>;
@@ -1146,3 +1143,115 @@ export declare const UPDATE_PROJECT_REQUEST_BODY_SCHEMA: z.ZodObject<{
1146
1143
  description?: string | undefined;
1147
1144
  }>;
1148
1145
  export type UpdateProjectRequestBody = z.infer<typeof UPDATE_PROJECT_REQUEST_BODY_SCHEMA>;
1146
+ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObject<{
1147
+ project_id: z.ZodString;
1148
+ project_uuid: z.ZodString;
1149
+ permissions: z.ZodArray<z.ZodObject<{
1150
+ id: z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>;
1151
+ scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
1152
+ title: z.ZodString;
1153
+ group: z.ZodString;
1154
+ description: z.ZodNullable<z.ZodString>;
1155
+ new_permission: z.ZodBoolean;
1156
+ does_set_all_read_only_languages: z.ZodBoolean;
1157
+ is_hidden: z.ZodBoolean;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ title: string;
1160
+ id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
1161
+ group: string;
1162
+ scope: "team" | "project" | "user";
1163
+ description: string | null;
1164
+ new_permission: boolean;
1165
+ does_set_all_read_only_languages: boolean;
1166
+ is_hidden: boolean;
1167
+ }, {
1168
+ title: string;
1169
+ id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
1170
+ group: string;
1171
+ scope: "team" | "project" | "user";
1172
+ description: string | null;
1173
+ new_permission: boolean;
1174
+ does_set_all_read_only_languages: boolean;
1175
+ is_hidden: boolean;
1176
+ }>, "many">;
1177
+ roles: z.ZodArray<z.ZodObject<{
1178
+ id: z.ZodString;
1179
+ role: z.ZodString;
1180
+ permissions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>, "many">;
1181
+ description: z.ZodNullable<z.ZodString>;
1182
+ tag: z.ZodNullable<z.ZodString>;
1183
+ tagColor: z.ZodNullable<z.ZodString>;
1184
+ tagInfo: z.ZodNullable<z.ZodString>;
1185
+ isForMarketingProjects: z.ZodBoolean;
1186
+ doesEnableAllReadOnlyLanguages: z.ZodBoolean;
1187
+ }, "strip", z.ZodTypeAny, {
1188
+ role: string;
1189
+ id: string;
1190
+ tag: string | null;
1191
+ description: string | null;
1192
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
1193
+ tagColor: string | null;
1194
+ tagInfo: string | null;
1195
+ isForMarketingProjects: boolean;
1196
+ doesEnableAllReadOnlyLanguages: boolean;
1197
+ }, {
1198
+ role: string;
1199
+ id: string;
1200
+ tag: string | null;
1201
+ description: string | null;
1202
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
1203
+ tagColor: string | null;
1204
+ tagInfo: string | null;
1205
+ isForMarketingProjects: boolean;
1206
+ doesEnableAllReadOnlyLanguages: boolean;
1207
+ }>, "many">;
1208
+ }, "strip", z.ZodTypeAny, {
1209
+ project_id: string;
1210
+ project_uuid: string;
1211
+ permissions: {
1212
+ title: string;
1213
+ id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
1214
+ group: string;
1215
+ scope: "team" | "project" | "user";
1216
+ description: string | null;
1217
+ new_permission: boolean;
1218
+ does_set_all_read_only_languages: boolean;
1219
+ is_hidden: boolean;
1220
+ }[];
1221
+ roles: {
1222
+ role: string;
1223
+ id: string;
1224
+ tag: string | null;
1225
+ description: string | null;
1226
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
1227
+ tagColor: string | null;
1228
+ tagInfo: string | null;
1229
+ isForMarketingProjects: boolean;
1230
+ doesEnableAllReadOnlyLanguages: boolean;
1231
+ }[];
1232
+ }, {
1233
+ project_id: string;
1234
+ project_uuid: string;
1235
+ permissions: {
1236
+ title: string;
1237
+ id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
1238
+ group: string;
1239
+ scope: "team" | "project" | "user";
1240
+ description: string | null;
1241
+ new_permission: boolean;
1242
+ does_set_all_read_only_languages: boolean;
1243
+ is_hidden: boolean;
1244
+ }[];
1245
+ roles: {
1246
+ role: string;
1247
+ id: string;
1248
+ tag: string | null;
1249
+ description: string | null;
1250
+ permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
1251
+ tagColor: string | null;
1252
+ tagInfo: string | null;
1253
+ isForMarketingProjects: boolean;
1254
+ doesEnableAllReadOnlyLanguages: boolean;
1255
+ }[];
1256
+ }>;
1257
+ export type GetProjectPermissionMetaResponseBody = z.infer<typeof GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA>;