@lokalise/harmony 2.1.0-exp-testingContracts.1 → 2.1.0-exp-testingContracts.3

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 (345) hide show
  1. package/dist/harmony.cjs +0 -1
  2. package/dist/harmony.cjs.map +1 -1
  3. package/dist/harmony.mjs +1 -2
  4. package/dist/harmony103.cjs +1 -1
  5. package/dist/harmony103.mjs +1 -1
  6. package/dist/harmony104.cjs +7 -7
  7. package/dist/harmony104.mjs +7 -7
  8. package/dist/harmony106.cjs +2 -2
  9. package/dist/harmony106.mjs +2 -2
  10. package/dist/harmony107.cjs +2 -165
  11. package/dist/harmony107.cjs.map +1 -1
  12. package/dist/harmony107.mjs +3 -166
  13. package/dist/harmony107.mjs.map +1 -1
  14. package/dist/harmony108.cjs +16 -42
  15. package/dist/harmony108.cjs.map +1 -1
  16. package/dist/harmony108.mjs +16 -42
  17. package/dist/harmony108.mjs.map +1 -1
  18. package/dist/harmony109.cjs +75 -13
  19. package/dist/harmony109.cjs.map +1 -1
  20. package/dist/harmony109.mjs +75 -13
  21. package/dist/harmony109.mjs.map +1 -1
  22. package/dist/harmony110.cjs +10 -10
  23. package/dist/harmony110.cjs.map +1 -1
  24. package/dist/harmony110.mjs +10 -10
  25. package/dist/harmony110.mjs.map +1 -1
  26. package/dist/harmony111.cjs +35 -13
  27. package/dist/harmony111.cjs.map +1 -1
  28. package/dist/harmony111.mjs +34 -12
  29. package/dist/harmony111.mjs.map +1 -1
  30. package/dist/harmony112.cjs +8 -10
  31. package/dist/harmony112.cjs.map +1 -1
  32. package/dist/harmony112.mjs +9 -11
  33. package/dist/harmony112.mjs.map +1 -1
  34. package/dist/harmony113.cjs +47 -21
  35. package/dist/harmony113.cjs.map +1 -1
  36. package/dist/harmony113.mjs +46 -20
  37. package/dist/harmony113.mjs.map +1 -1
  38. package/dist/harmony114.cjs +10 -4
  39. package/dist/harmony114.cjs.map +1 -1
  40. package/dist/harmony114.mjs +9 -3
  41. package/dist/harmony114.mjs.map +1 -1
  42. package/dist/harmony115.cjs +13 -17
  43. package/dist/harmony115.cjs.map +1 -1
  44. package/dist/harmony115.mjs +13 -17
  45. package/dist/harmony115.mjs.map +1 -1
  46. package/dist/harmony116.cjs +161 -71
  47. package/dist/harmony116.cjs.map +1 -1
  48. package/dist/harmony116.mjs +161 -71
  49. package/dist/harmony116.mjs.map +1 -1
  50. package/dist/harmony117.cjs +42 -10
  51. package/dist/harmony117.cjs.map +1 -1
  52. package/dist/harmony117.mjs +43 -11
  53. package/dist/harmony117.mjs.map +1 -1
  54. package/dist/harmony118.cjs +12 -34
  55. package/dist/harmony118.cjs.map +1 -1
  56. package/dist/harmony118.mjs +12 -34
  57. package/dist/harmony118.mjs.map +1 -1
  58. package/dist/harmony119.cjs +13 -10
  59. package/dist/harmony119.cjs.map +1 -1
  60. package/dist/harmony119.mjs +12 -9
  61. package/dist/harmony119.mjs.map +1 -1
  62. package/dist/harmony120.cjs +9 -45
  63. package/dist/harmony120.cjs.map +1 -1
  64. package/dist/harmony120.mjs +11 -47
  65. package/dist/harmony120.mjs.map +1 -1
  66. package/dist/harmony121.cjs +20 -8
  67. package/dist/harmony121.cjs.map +1 -1
  68. package/dist/harmony121.mjs +20 -8
  69. package/dist/harmony121.mjs.map +1 -1
  70. package/dist/harmony123.cjs +87 -7
  71. package/dist/harmony123.cjs.map +1 -1
  72. package/dist/harmony123.mjs +87 -7
  73. package/dist/harmony123.mjs.map +1 -1
  74. package/dist/harmony124.cjs +30 -17
  75. package/dist/harmony124.cjs.map +1 -1
  76. package/dist/harmony124.mjs +30 -17
  77. package/dist/harmony124.mjs.map +1 -1
  78. package/dist/harmony125.cjs +20 -8
  79. package/dist/harmony125.cjs.map +1 -1
  80. package/dist/harmony125.mjs +20 -8
  81. package/dist/harmony125.mjs.map +1 -1
  82. package/dist/harmony126.cjs +7 -8
  83. package/dist/harmony126.cjs.map +1 -1
  84. package/dist/harmony126.mjs +7 -8
  85. package/dist/harmony126.mjs.map +1 -1
  86. package/dist/harmony127.cjs +16 -14
  87. package/dist/harmony127.cjs.map +1 -1
  88. package/dist/harmony127.mjs +16 -14
  89. package/dist/harmony127.mjs.map +1 -1
  90. package/dist/harmony128.cjs +8 -20
  91. package/dist/harmony128.cjs.map +1 -1
  92. package/dist/harmony128.mjs +8 -20
  93. package/dist/harmony128.mjs.map +1 -1
  94. package/dist/harmony129.cjs +7 -86
  95. package/dist/harmony129.cjs.map +1 -1
  96. package/dist/harmony129.mjs +7 -86
  97. package/dist/harmony129.mjs.map +1 -1
  98. package/dist/harmony130.cjs +15 -30
  99. package/dist/harmony130.cjs.map +1 -1
  100. package/dist/harmony130.mjs +15 -30
  101. package/dist/harmony130.mjs.map +1 -1
  102. package/dist/harmony132.cjs +2 -2
  103. package/dist/harmony132.mjs +2 -2
  104. package/dist/harmony133.cjs +2 -2
  105. package/dist/harmony133.mjs +2 -2
  106. package/dist/harmony134.cjs +3 -3
  107. package/dist/harmony134.mjs +3 -3
  108. package/dist/harmony135.cjs +1 -1
  109. package/dist/harmony135.mjs +1 -1
  110. package/dist/harmony136.cjs +3 -3
  111. package/dist/harmony136.mjs +3 -3
  112. package/dist/harmony137.cjs +2 -2
  113. package/dist/harmony137.mjs +2 -2
  114. package/dist/harmony138.cjs +2 -2
  115. package/dist/harmony138.mjs +2 -2
  116. package/dist/harmony139.cjs +2 -2
  117. package/dist/harmony139.mjs +2 -2
  118. package/dist/harmony140.cjs +2 -2
  119. package/dist/harmony140.mjs +2 -2
  120. package/dist/harmony141.cjs +3 -3
  121. package/dist/harmony141.mjs +3 -3
  122. package/dist/harmony143.cjs +1 -1
  123. package/dist/harmony143.mjs +1 -1
  124. package/dist/harmony148.cjs +10 -3
  125. package/dist/harmony148.cjs.map +1 -1
  126. package/dist/harmony148.mjs +10 -3
  127. package/dist/harmony148.mjs.map +1 -1
  128. package/dist/harmony149.cjs +3 -3
  129. package/dist/harmony149.cjs.map +1 -1
  130. package/dist/harmony149.mjs +3 -3
  131. package/dist/harmony149.mjs.map +1 -1
  132. package/dist/harmony150.cjs +3 -3
  133. package/dist/harmony150.cjs.map +1 -1
  134. package/dist/harmony150.mjs +3 -3
  135. package/dist/harmony150.mjs.map +1 -1
  136. package/dist/harmony151.cjs +3 -14
  137. package/dist/harmony151.cjs.map +1 -1
  138. package/dist/harmony151.mjs +3 -14
  139. package/dist/harmony151.mjs.map +1 -1
  140. package/dist/harmony152.cjs +7 -7
  141. package/dist/harmony152.cjs.map +1 -1
  142. package/dist/harmony152.mjs +7 -7
  143. package/dist/harmony152.mjs.map +1 -1
  144. package/dist/harmony153.cjs +14 -3
  145. package/dist/harmony153.cjs.map +1 -1
  146. package/dist/harmony153.mjs +14 -3
  147. package/dist/harmony153.mjs.map +1 -1
  148. package/dist/harmony154.cjs +3 -10
  149. package/dist/harmony154.cjs.map +1 -1
  150. package/dist/harmony154.mjs +3 -10
  151. package/dist/harmony154.mjs.map +1 -1
  152. package/dist/harmony160.cjs +9 -32
  153. package/dist/harmony160.cjs.map +1 -1
  154. package/dist/harmony160.mjs +8 -31
  155. package/dist/harmony160.mjs.map +1 -1
  156. package/dist/harmony161.cjs +3 -6
  157. package/dist/harmony161.cjs.map +1 -1
  158. package/dist/harmony161.mjs +3 -6
  159. package/dist/harmony161.mjs.map +1 -1
  160. package/dist/harmony162.cjs +6 -3
  161. package/dist/harmony162.cjs.map +1 -1
  162. package/dist/harmony162.mjs +6 -3
  163. package/dist/harmony162.mjs.map +1 -1
  164. package/dist/harmony163.cjs +21 -6
  165. package/dist/harmony163.cjs.map +1 -1
  166. package/dist/harmony163.mjs +21 -6
  167. package/dist/harmony163.mjs.map +1 -1
  168. package/dist/harmony164.cjs +3 -21
  169. package/dist/harmony164.cjs.map +1 -1
  170. package/dist/harmony164.mjs +3 -21
  171. package/dist/harmony164.mjs.map +1 -1
  172. package/dist/harmony165.cjs +9 -3
  173. package/dist/harmony165.cjs.map +1 -1
  174. package/dist/harmony165.mjs +9 -3
  175. package/dist/harmony165.mjs.map +1 -1
  176. package/dist/harmony166.cjs +3 -9
  177. package/dist/harmony166.cjs.map +1 -1
  178. package/dist/harmony166.mjs +3 -9
  179. package/dist/harmony166.mjs.map +1 -1
  180. package/dist/harmony167.cjs +32 -6
  181. package/dist/harmony167.cjs.map +1 -1
  182. package/dist/harmony167.mjs +31 -5
  183. package/dist/harmony167.mjs.map +1 -1
  184. package/dist/harmony168.cjs +1 -1
  185. package/dist/harmony168.mjs +1 -1
  186. package/dist/harmony169.cjs +1 -1
  187. package/dist/harmony169.mjs +1 -1
  188. package/dist/harmony17.cjs +1 -1
  189. package/dist/harmony17.mjs +1 -1
  190. package/dist/harmony170.cjs +2 -2
  191. package/dist/harmony170.mjs +2 -2
  192. package/dist/harmony171.cjs +11 -4
  193. package/dist/harmony171.cjs.map +1 -1
  194. package/dist/harmony171.mjs +11 -4
  195. package/dist/harmony171.mjs.map +1 -1
  196. package/dist/harmony172.cjs +15 -10
  197. package/dist/harmony172.cjs.map +1 -1
  198. package/dist/harmony172.mjs +15 -10
  199. package/dist/harmony172.mjs.map +1 -1
  200. package/dist/harmony173.cjs +18 -13
  201. package/dist/harmony173.cjs.map +1 -1
  202. package/dist/harmony173.mjs +18 -13
  203. package/dist/harmony173.mjs.map +1 -1
  204. package/dist/harmony174.cjs +10 -19
  205. package/dist/harmony174.cjs.map +1 -1
  206. package/dist/harmony174.mjs +10 -19
  207. package/dist/harmony174.mjs.map +1 -1
  208. package/dist/harmony175.cjs +4 -12
  209. package/dist/harmony175.cjs.map +1 -1
  210. package/dist/harmony175.mjs +4 -12
  211. package/dist/harmony175.mjs.map +1 -1
  212. package/dist/harmony20.cjs +1 -1
  213. package/dist/harmony20.mjs +1 -1
  214. package/dist/harmony28.cjs +1 -1
  215. package/dist/harmony28.mjs +1 -1
  216. package/dist/harmony29.cjs +1 -1
  217. package/dist/harmony29.mjs +1 -1
  218. package/dist/harmony32.cjs +1 -1
  219. package/dist/harmony32.mjs +1 -1
  220. package/dist/harmony33.cjs +1 -1
  221. package/dist/harmony33.mjs +1 -1
  222. package/dist/harmony34.cjs +1 -1
  223. package/dist/harmony34.mjs +1 -1
  224. package/dist/harmony39.cjs +1 -1
  225. package/dist/harmony39.mjs +1 -1
  226. package/dist/harmony40.cjs +1 -1
  227. package/dist/harmony40.mjs +1 -1
  228. package/dist/harmony41.cjs +1 -1
  229. package/dist/harmony41.mjs +1 -1
  230. package/dist/harmony42.cjs +2 -2
  231. package/dist/harmony42.mjs +2 -2
  232. package/dist/harmony43.cjs +2 -2
  233. package/dist/harmony43.mjs +2 -2
  234. package/dist/harmony44.cjs +1 -1
  235. package/dist/harmony44.mjs +1 -1
  236. package/dist/harmony53.cjs +3 -3
  237. package/dist/harmony53.cjs.map +1 -1
  238. package/dist/harmony53.mjs +1 -1
  239. package/dist/harmony53.mjs.map +1 -1
  240. package/dist/harmony78.cjs +74 -74
  241. package/dist/harmony78.cjs.map +1 -1
  242. package/dist/harmony78.mjs +1 -1
  243. package/dist/harmony78.mjs.map +1 -1
  244. package/dist/harmony79.cjs +52 -52
  245. package/dist/harmony79.cjs.map +1 -1
  246. package/dist/harmony79.mjs +1 -1
  247. package/dist/harmony79.mjs.map +1 -1
  248. package/dist/harmony80.cjs +4 -4
  249. package/dist/harmony80.cjs.map +1 -1
  250. package/dist/harmony80.mjs +1 -1
  251. package/dist/harmony80.mjs.map +1 -1
  252. package/dist/harmony81.cjs +18 -18
  253. package/dist/harmony81.cjs.map +1 -1
  254. package/dist/harmony81.mjs +1 -1
  255. package/dist/harmony81.mjs.map +1 -1
  256. package/dist/harmony82.cjs +15 -15
  257. package/dist/harmony82.cjs.map +1 -1
  258. package/dist/harmony82.mjs +1 -1
  259. package/dist/harmony82.mjs.map +1 -1
  260. package/dist/harmony83.cjs +96 -96
  261. package/dist/harmony83.cjs.map +1 -1
  262. package/dist/harmony83.mjs +1 -1
  263. package/dist/harmony83.mjs.map +1 -1
  264. package/dist/harmony84.cjs +24 -24
  265. package/dist/harmony84.cjs.map +1 -1
  266. package/dist/harmony84.mjs +1 -1
  267. package/dist/harmony84.mjs.map +1 -1
  268. package/dist/harmony85.cjs +14 -14
  269. package/dist/harmony85.cjs.map +1 -1
  270. package/dist/harmony85.mjs +1 -1
  271. package/dist/harmony85.mjs.map +1 -1
  272. package/dist/harmony86.cjs +2 -2
  273. package/dist/harmony86.cjs.map +1 -1
  274. package/dist/harmony86.mjs +1 -1
  275. package/dist/harmony86.mjs.map +1 -1
  276. package/dist/harmony87.cjs +40 -40
  277. package/dist/harmony87.cjs.map +1 -1
  278. package/dist/harmony87.mjs +1 -1
  279. package/dist/harmony87.mjs.map +1 -1
  280. package/dist/harmony88.cjs +27 -27
  281. package/dist/harmony88.cjs.map +1 -1
  282. package/dist/harmony88.mjs +1 -1
  283. package/dist/harmony88.mjs.map +1 -1
  284. package/dist/harmony89.cjs +10 -10
  285. package/dist/harmony89.cjs.map +1 -1
  286. package/dist/harmony89.mjs +1 -1
  287. package/dist/harmony89.mjs.map +1 -1
  288. package/dist/harmony90.cjs +1 -3
  289. package/dist/harmony90.cjs.map +1 -1
  290. package/dist/harmony90.mjs +2 -4
  291. package/dist/harmony90.mjs.map +1 -1
  292. package/dist/harmony97.cjs +2 -2
  293. package/dist/harmony97.mjs +2 -2
  294. package/dist/harmony99.cjs +2 -2
  295. package/dist/harmony99.mjs +2 -2
  296. package/dist/types/src/features/auth/core/types/jwtTokenPayload.d.ts +8 -35
  297. package/dist/types/src/features/auth/core/types/jwtTokenPayload.fixture.d.ts +1 -1
  298. package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedProjectContributor.d.ts +4 -4
  299. package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +3 -3
  300. package/dist/types/src/features/auth/frontend/hooks/useGetPromotedClassicSessionJwtQuery.d.ts +1 -1
  301. package/dist/types/src/features/auth/frontend/services/generateTokenFromClassicSession.d.ts +4 -1
  302. package/dist/types/src/features/auth/frontend/services/refreshExpiredToken.d.ts +4 -1
  303. package/dist/types/src/features/navigation/hooks/useNavigationQueries.d.ts +56 -56
  304. package/dist/types/src/features/publicApi/TESTING_CONTRACTS.d.ts +57 -2
  305. package/dist/types/src/features/publicApi/contributors.d.ts +260 -5
  306. package/dist/types/src/features/publicApi/hooks/useAddContributorsMutation.d.ts +7 -7
  307. package/dist/types/src/features/publicApi/hooks/useAddLanguagesToProjectMutation.d.ts +2 -2
  308. package/dist/types/src/features/publicApi/hooks/useCreateProjectMutation.d.ts +14 -14
  309. package/dist/types/src/features/publicApi/hooks/useCreateScoreMutation.d.ts +3 -3
  310. package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +1 -1
  311. package/dist/types/src/features/publicApi/hooks/useGetScoreQuery.d.ts +1 -1
  312. package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
  313. package/dist/types/src/features/publicApi/hooks/useGetUserTokenQuery.d.ts +1 -1
  314. package/dist/types/src/features/publicApi/hooks/useListContributorsQuery.d.ts +1 -1
  315. package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
  316. package/dist/types/src/features/publicApi/hooks/useListProjectLanguagesQuery.d.ts +1 -1
  317. package/dist/types/src/features/publicApi/hooks/useListProjectsQuery.d.ts +2 -2
  318. package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
  319. package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +2 -2
  320. package/dist/types/src/features/publicApi/hooks/useRetrieveContributorQuery.d.ts +3 -3
  321. package/dist/types/src/features/publicApi/hooks/useRetrieveProjectQuery.d.ts +1 -1
  322. package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +1 -1
  323. package/dist/types/src/features/publicApi/hooks/useRetrieveUserPermissions.d.ts +2 -2
  324. package/dist/types/src/features/publicApi/hooks/useUpdateContributorMutation.d.ts +5 -5
  325. package/dist/types/src/features/publicApi/hooks/useUpdateProjectMutation.d.ts +13 -13
  326. package/dist/types/src/features/publicApi/languages.d.ts +106 -3
  327. package/dist/types/src/features/publicApi/permissionTemplates.d.ts +54 -1
  328. package/dist/types/src/features/publicApi/projects.d.ts +520 -6
  329. package/dist/types/src/features/publicApi/score.d.ts +102 -3
  330. package/dist/types/src/features/publicApi/team.d.ts +102 -2
  331. package/dist/types/src/features/publicApi/teamUsers.d.ts +125 -3
  332. package/dist/types/src/features/publicApi/types/contributorTypes.d.ts +84 -834
  333. package/dist/types/src/features/publicApi/types/languageTypes.d.ts +22 -212
  334. package/dist/types/src/features/publicApi/types/paginationTypes.d.ts +2 -8
  335. package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +71 -76
  336. package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +48 -24
  337. package/dist/types/src/features/publicApi/types/projectTypes.d.ts +211 -1097
  338. package/dist/types/src/features/publicApi/types/scoreTypes.d.ts +32 -96
  339. package/dist/types/src/features/publicApi/types/sharedTypes.d.ts +30 -126
  340. package/dist/types/src/features/publicApi/types/teamRoleTypes.d.ts +7 -2
  341. package/dist/types/src/features/publicApi/types/teamTypes.d.ts +65 -328
  342. package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +91 -208
  343. package/dist/types/src/features/publicApi/types/userTokenTypes.d.ts +9 -39
  344. package/dist/types/src/features/publicApi/userToken.d.ts +19 -1
  345. package/package.json +4 -4
@@ -1,14 +1,8 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v4';
2
2
  export declare const LANGUAGE_ISO_SCHEMA: z.ZodObject<{
3
3
  lang_iso: z.ZodString;
4
4
  custom_iso: z.ZodOptional<z.ZodString>;
5
- }, "strip", z.ZodTypeAny, {
6
- lang_iso: string;
7
- custom_iso?: string | undefined;
8
- }, {
9
- lang_iso: string;
10
- custom_iso?: string | undefined;
11
- }>;
5
+ }, z.core.$strip>;
12
6
  export type LanguageIso = z.infer<typeof LANGUAGE_ISO_SCHEMA>;
13
7
  export declare const LANGUAGE_STATISTICS_SCHEMA: z.ZodObject<{
14
8
  language_id: z.ZodNumber;
@@ -17,54 +11,20 @@ export declare const LANGUAGE_STATISTICS_SCHEMA: z.ZodObject<{
17
11
  words_to_do: z.ZodNumber;
18
12
  project_language_id: z.ZodNumber;
19
13
  project_language_uuid: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
21
- progress: number;
22
- language_id: number;
23
- language_iso: string;
24
- words_to_do: number;
25
- project_language_id: number;
26
- project_language_uuid: string;
27
- }, {
28
- progress: number;
29
- language_id: number;
30
- language_iso: string;
31
- words_to_do: number;
32
- project_language_id: number;
33
- project_language_uuid: string;
34
- }>;
14
+ }, z.core.$strip>;
35
15
  export type LanguageStatistics = z.infer<typeof LANGUAGE_STATISTICS_SCHEMA>;
36
16
  export declare const LIST_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA: z.ZodObject<{
37
17
  projectId: z.ZodString;
38
- }, "strip", z.ZodTypeAny, {
39
- projectId: string;
40
- }, {
41
- projectId: string;
42
- }>;
18
+ }, z.core.$strip>;
43
19
  export declare const LANGUAGE_SCHEMA: z.ZodObject<{
44
20
  lang_id: z.ZodNumber;
45
21
  lang_iso: z.ZodString;
46
22
  lang_name: z.ZodString;
47
23
  is_rtl: z.ZodBoolean;
48
- plural_forms: z.ZodArray<z.ZodOptional<z.ZodString>, "many">;
24
+ plural_forms: z.ZodArray<z.ZodOptional<z.ZodString>>;
49
25
  project_language_id: z.ZodString;
50
26
  project_language_uuid: z.ZodString;
51
- }, "strip", z.ZodTypeAny, {
52
- lang_id: number;
53
- lang_iso: string;
54
- lang_name: string;
55
- project_language_id: string;
56
- project_language_uuid: string;
57
- is_rtl: boolean;
58
- plural_forms: (string | undefined)[];
59
- }, {
60
- lang_id: number;
61
- lang_iso: string;
62
- lang_name: string;
63
- project_language_id: string;
64
- project_language_uuid: string;
65
- is_rtl: boolean;
66
- plural_forms: (string | undefined)[];
67
- }>;
27
+ }, z.core.$strip>;
68
28
  export type Language = z.infer<typeof LANGUAGE_SCHEMA>;
69
29
  export declare const LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA: z.ZodObject<{
70
30
  project_id: z.ZodString;
@@ -74,92 +34,24 @@ export declare const LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA: z.ZodObject<{
74
34
  lang_iso: z.ZodString;
75
35
  lang_name: z.ZodString;
76
36
  is_rtl: z.ZodBoolean;
77
- plural_forms: z.ZodArray<z.ZodOptional<z.ZodString>, "many">;
37
+ plural_forms: z.ZodArray<z.ZodOptional<z.ZodString>>;
78
38
  project_language_id: z.ZodString;
79
39
  project_language_uuid: z.ZodString;
80
- }, "strip", z.ZodTypeAny, {
81
- lang_id: number;
82
- lang_iso: string;
83
- lang_name: string;
84
- project_language_id: string;
85
- project_language_uuid: string;
86
- is_rtl: boolean;
87
- plural_forms: (string | undefined)[];
88
- }, {
89
- lang_id: number;
90
- lang_iso: string;
91
- lang_name: string;
92
- project_language_id: string;
93
- project_language_uuid: string;
94
- is_rtl: boolean;
95
- plural_forms: (string | undefined)[];
96
- }>, "many">;
97
- }, "strip", z.ZodTypeAny, {
98
- languages: {
99
- lang_id: number;
100
- lang_iso: string;
101
- lang_name: string;
102
- project_language_id: string;
103
- project_language_uuid: string;
104
- is_rtl: boolean;
105
- plural_forms: (string | undefined)[];
106
- }[];
107
- project_id: string;
108
- project_uuid: string;
109
- }, {
110
- languages: {
111
- lang_id: number;
112
- lang_iso: string;
113
- lang_name: string;
114
- project_language_id: string;
115
- project_language_uuid: string;
116
- is_rtl: boolean;
117
- plural_forms: (string | undefined)[];
118
- }[];
119
- project_id: string;
120
- project_uuid: string;
121
- }>;
40
+ }, z.core.$strip>>;
41
+ }, z.core.$strip>;
122
42
  export type ListProjectLanguagesResponse = z.infer<typeof LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA>;
123
43
  export declare const ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA: z.ZodObject<{
124
44
  projectId: z.ZodString;
125
- }, "strip", z.ZodTypeAny, {
126
- projectId: string;
127
- }, {
128
- projectId: string;
129
- }>;
45
+ }, z.core.$strip>;
130
46
  export type AddLanguagesToProjectPathParams = z.infer<typeof ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA>;
131
47
  export declare const ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA: z.ZodObject<{
132
48
  languages: z.ZodArray<z.ZodObject<{
133
49
  lang_iso: z.ZodString;
134
50
  custom_iso: z.ZodOptional<z.ZodString>;
135
51
  custom_name: z.ZodOptional<z.ZodString>;
136
- custom_plural_forms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
137
- }, "strip", z.ZodTypeAny, {
138
- lang_iso: string;
139
- custom_iso?: string | undefined;
140
- custom_name?: string | undefined;
141
- custom_plural_forms?: string[] | undefined;
142
- }, {
143
- lang_iso: string;
144
- custom_iso?: string | undefined;
145
- custom_name?: string | undefined;
146
- custom_plural_forms?: string[] | undefined;
147
- }>, "many">;
148
- }, "strip", z.ZodTypeAny, {
149
- languages: {
150
- lang_iso: string;
151
- custom_iso?: string | undefined;
152
- custom_name?: string | undefined;
153
- custom_plural_forms?: string[] | undefined;
154
- }[];
155
- }, {
156
- languages: {
157
- lang_iso: string;
158
- custom_iso?: string | undefined;
159
- custom_name?: string | undefined;
160
- custom_plural_forms?: string[] | undefined;
161
- }[];
162
- }>;
52
+ custom_plural_forms: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>;
163
55
  export type AddLanguagesToProjectRequestBody = z.infer<typeof ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA>;
164
56
  export declare const ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA: z.ZodObject<{
165
57
  project_id: z.ZodString;
@@ -168,112 +60,30 @@ export declare const ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA: z.ZodObject<{
168
60
  lang_id: z.ZodNumber;
169
61
  lang_iso: z.ZodString;
170
62
  lang_name: z.ZodString;
63
+ is_rtl: z.ZodBoolean;
64
+ plural_forms: z.ZodArray<z.ZodOptional<z.ZodString>>;
171
65
  project_language_id: z.ZodOptional<z.ZodString>;
172
66
  project_language_uuid: z.ZodOptional<z.ZodString>;
173
- is_rtl: z.ZodBoolean;
174
- plural_forms: z.ZodArray<z.ZodOptional<z.ZodString>, "many">;
175
- }, "strip", z.ZodTypeAny, {
176
- lang_id: number;
177
- lang_iso: string;
178
- lang_name: string;
179
- is_rtl: boolean;
180
- plural_forms: (string | undefined)[];
181
- project_language_id?: string | undefined;
182
- project_language_uuid?: string | undefined;
183
- }, {
184
- lang_id: number;
185
- lang_iso: string;
186
- lang_name: string;
187
- is_rtl: boolean;
188
- plural_forms: (string | undefined)[];
189
- project_language_id?: string | undefined;
190
- project_language_uuid?: string | undefined;
191
- }>, "many">;
67
+ }, z.core.$strip>>;
192
68
  errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
69
  message: z.ZodString;
194
70
  code: z.ZodNumber;
195
71
  lang_iso: z.ZodString;
196
- }, "strip", z.ZodTypeAny, {
197
- message: string;
198
- code: number;
199
- lang_iso: string;
200
- }, {
201
- message: string;
202
- code: number;
203
- lang_iso: string;
204
- }>, "many">>;
205
- }, "strip", z.ZodTypeAny, {
206
- languages: {
207
- lang_id: number;
208
- lang_iso: string;
209
- lang_name: string;
210
- is_rtl: boolean;
211
- plural_forms: (string | undefined)[];
212
- project_language_id?: string | undefined;
213
- project_language_uuid?: string | undefined;
214
- }[];
215
- project_id: string;
216
- project_uuid: string;
217
- errors?: {
218
- message: string;
219
- code: number;
220
- lang_iso: string;
221
- }[] | undefined;
222
- }, {
223
- languages: {
224
- lang_id: number;
225
- lang_iso: string;
226
- lang_name: string;
227
- is_rtl: boolean;
228
- plural_forms: (string | undefined)[];
229
- project_language_id?: string | undefined;
230
- project_language_uuid?: string | undefined;
231
- }[];
232
- project_id: string;
233
- project_uuid: string;
234
- errors?: {
235
- message: string;
236
- code: number;
237
- lang_iso: string;
238
- }[] | undefined;
239
- }>;
72
+ }, z.core.$strip>>>;
73
+ }, z.core.$strip>;
240
74
  export type AddLanguagesToProjectResponse = z.infer<typeof ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA>;
241
75
  export declare const BULK_UPDATE_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA: z.ZodObject<{
242
76
  projectId: z.ZodString;
243
- }, "strip", z.ZodTypeAny, {
244
- projectId: string;
245
- }, {
246
- projectId: string;
247
- }>;
77
+ }, z.core.$strip>;
248
78
  export type BulkUpdateProjectLanguagesPathParams = z.infer<typeof BULK_UPDATE_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA>;
249
79
  export declare const BULK_UPDATE_PROJECT_LANGUAGES_REQUEST_BODY_SCHEMA: z.ZodObject<{
250
80
  langs: z.ZodArray<z.ZodObject<{
251
81
  lang_iso: z.ZodString;
252
82
  base_lang: z.ZodBoolean;
253
- }, "strip", z.ZodTypeAny, {
254
- lang_iso: string;
255
- base_lang: boolean;
256
- }, {
257
- lang_iso: string;
258
- base_lang: boolean;
259
- }>, "many">;
260
- }, "strip", z.ZodTypeAny, {
261
- langs: {
262
- lang_iso: string;
263
- base_lang: boolean;
264
- }[];
265
- }, {
266
- langs: {
267
- lang_iso: string;
268
- base_lang: boolean;
269
- }[];
270
- }>;
83
+ }, z.core.$strip>>;
84
+ }, z.core.$strip>;
271
85
  export type BulkUpdateProjectLanguagesRequestBody = z.infer<typeof BULK_UPDATE_PROJECT_LANGUAGES_REQUEST_BODY_SCHEMA>;
272
86
  export declare const BULK_UPDATE_PROJECT_LANGUAGES_RESPONSE_SCHEMA: z.ZodObject<{
273
87
  result: z.ZodBoolean;
274
- }, "strip", z.ZodTypeAny, {
275
- result: boolean;
276
- }, {
277
- result: boolean;
278
- }>;
88
+ }, z.core.$strip>;
279
89
  export type BulkUpdateProjectLanguagesResponse = z.infer<typeof BULK_UPDATE_PROJECT_LANGUAGES_RESPONSE_SCHEMA>;
@@ -1,12 +1,6 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v4';
2
2
  export declare const PAGINATION_QUERY_PARAMS_SCHEMA: z.ZodObject<{
3
3
  limit: z.ZodOptional<z.ZodNumber>;
4
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
- }>;
5
+ }, z.core.$strip>;
12
6
  export type PaginationQueryParams = z.infer<typeof PAGINATION_QUERY_PARAMS_SCHEMA>;
@@ -1,101 +1,96 @@
1
- import { z } from 'zod';
2
- export declare const PERMISSION_SCHEMA: z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>;
1
+ import { z } from 'zod/v4';
2
+ export declare const PERMISSION_SCHEMA: z.ZodUnion<readonly [z.ZodEnum<{
3
+ tasks: "tasks";
4
+ contributors: "contributors";
5
+ download: "download";
6
+ upload: "upload";
7
+ activity: "activity";
8
+ glossary_edit: "glossary_edit";
9
+ glossary_delete: "glossary_delete";
10
+ settings: "settings";
11
+ statistics: "statistics";
12
+ manage_keys: "manage_keys";
13
+ screenshots: "screenshots";
14
+ branches_create: "branches_create";
15
+ branches_merge: "branches_merge";
16
+ manage_languages: "manage_languages";
17
+ review: "review";
18
+ branches_main_modify: "branches_main_modify";
19
+ custom_status_modify: "custom_status_modify";
20
+ }>, z.ZodEnum<{
21
+ glossary: "glossary";
22
+ create_branches: "create_branches";
23
+ }>]>;
3
24
  export type Permission = z.infer<typeof PERMISSION_SCHEMA>;
4
25
  export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
5
26
  id: z.ZodString;
6
27
  role: z.ZodString;
7
- permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">;
28
+ permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
29
+ tasks: "tasks";
30
+ contributors: "contributors";
31
+ download: "download";
32
+ upload: "upload";
33
+ activity: "activity";
34
+ glossary_edit: "glossary_edit";
35
+ glossary_delete: "glossary_delete";
36
+ settings: "settings";
37
+ statistics: "statistics";
38
+ manage_keys: "manage_keys";
39
+ screenshots: "screenshots";
40
+ branches_create: "branches_create";
41
+ branches_merge: "branches_merge";
42
+ manage_languages: "manage_languages";
43
+ review: "review";
44
+ branches_main_modify: "branches_main_modify";
45
+ custom_status_modify: "custom_status_modify";
46
+ }>, z.ZodEnum<{
47
+ glossary: "glossary";
48
+ create_branches: "create_branches";
49
+ }>]>>;
8
50
  description: z.ZodNullable<z.ZodString>;
9
51
  tag: z.ZodNullable<z.ZodString>;
10
52
  tagColor: z.ZodNullable<z.ZodString>;
11
53
  tagInfo: z.ZodNullable<z.ZodString>;
12
54
  isForMarketingProjects: z.ZodBoolean;
13
55
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
14
- }, "strip", z.ZodTypeAny, {
15
- id: string;
16
- role: string;
17
- tag: string | null;
18
- description: string | null;
19
- permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
20
- tagColor: string | null;
21
- tagInfo: string | null;
22
- isForMarketingProjects: boolean;
23
- doesEnableAllReadOnlyLanguages: boolean;
24
- }, {
25
- id: string;
26
- role: string;
27
- tag: string | null;
28
- description: string | null;
29
- permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
30
- tagColor: string | null;
31
- tagInfo: string | null;
32
- isForMarketingProjects: boolean;
33
- doesEnableAllReadOnlyLanguages: boolean;
34
- }>;
56
+ }, z.core.$strip>;
35
57
  export type PermissionTemplate = z.infer<typeof PERMISSION_TEMPLATE_SCHEMA>;
36
58
  export declare const LIST_PERMISSION_TEMPLATES_PATH_PARAMS: z.ZodObject<{
37
59
  teamId: z.ZodNumber;
38
- }, "strip", z.ZodTypeAny, {
39
- teamId: number;
40
- }, {
41
- teamId: number;
42
- }>;
60
+ }, z.core.$strip>;
43
61
  export type ListPermissionTemplatesPathParams = z.infer<typeof LIST_PERMISSION_TEMPLATES_PATH_PARAMS>;
44
62
  export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
45
63
  roles: z.ZodArray<z.ZodObject<{
46
64
  id: z.ZodString;
47
65
  role: z.ZodString;
48
- permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">;
66
+ permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
67
+ tasks: "tasks";
68
+ contributors: "contributors";
69
+ download: "download";
70
+ upload: "upload";
71
+ activity: "activity";
72
+ glossary_edit: "glossary_edit";
73
+ glossary_delete: "glossary_delete";
74
+ settings: "settings";
75
+ statistics: "statistics";
76
+ manage_keys: "manage_keys";
77
+ screenshots: "screenshots";
78
+ branches_create: "branches_create";
79
+ branches_merge: "branches_merge";
80
+ manage_languages: "manage_languages";
81
+ review: "review";
82
+ branches_main_modify: "branches_main_modify";
83
+ custom_status_modify: "custom_status_modify";
84
+ }>, z.ZodEnum<{
85
+ glossary: "glossary";
86
+ create_branches: "create_branches";
87
+ }>]>>;
49
88
  description: z.ZodNullable<z.ZodString>;
50
89
  tag: z.ZodNullable<z.ZodString>;
51
90
  tagColor: z.ZodNullable<z.ZodString>;
52
91
  tagInfo: z.ZodNullable<z.ZodString>;
53
92
  isForMarketingProjects: z.ZodBoolean;
54
93
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
55
- }, "strip", z.ZodTypeAny, {
56
- id: string;
57
- role: string;
58
- tag: string | null;
59
- description: string | null;
60
- permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
61
- tagColor: string | null;
62
- tagInfo: string | null;
63
- isForMarketingProjects: boolean;
64
- doesEnableAllReadOnlyLanguages: boolean;
65
- }, {
66
- id: string;
67
- role: string;
68
- tag: string | null;
69
- description: string | null;
70
- permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
71
- tagColor: string | null;
72
- tagInfo: string | null;
73
- isForMarketingProjects: boolean;
74
- doesEnableAllReadOnlyLanguages: boolean;
75
- }>, "many">;
76
- }, "strip", z.ZodTypeAny, {
77
- roles: {
78
- id: string;
79
- role: string;
80
- tag: string | null;
81
- description: string | null;
82
- permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
83
- tagColor: string | null;
84
- tagInfo: string | null;
85
- isForMarketingProjects: boolean;
86
- doesEnableAllReadOnlyLanguages: boolean;
87
- }[];
88
- }, {
89
- roles: {
90
- id: string;
91
- role: string;
92
- tag: string | null;
93
- description: string | null;
94
- permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
95
- tagColor: string | null;
96
- tagInfo: string | null;
97
- isForMarketingProjects: boolean;
98
- doesEnableAllReadOnlyLanguages: boolean;
99
- }[];
100
- }>;
94
+ }, z.core.$strip>>;
95
+ }, z.core.$strip>;
101
96
  export type ListPermissionTemplatesResponse = z.infer<typeof LIST_PERMISSION_TEMPLATES_RESPONSE>;
@@ -1,34 +1,58 @@
1
- import { z } from 'zod';
2
- export declare const PERMISSION_ID_SCHEMA: z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>;
1
+ import { z } from 'zod/v4';
2
+ export declare const PERMISSION_ID_SCHEMA: z.ZodUnion<readonly [z.ZodEnum<{
3
+ tasks: "tasks";
4
+ contributors: "contributors";
5
+ download: "download";
6
+ upload: "upload";
7
+ activity: "activity";
8
+ glossary_edit: "glossary_edit";
9
+ glossary_delete: "glossary_delete";
10
+ settings: "settings";
11
+ statistics: "statistics";
12
+ manage_keys: "manage_keys";
13
+ screenshots: "screenshots";
14
+ branches_create: "branches_create";
15
+ branches_merge: "branches_merge";
16
+ manage_languages: "manage_languages";
17
+ review: "review";
18
+ branches_main_modify: "branches_main_modify";
19
+ custom_status_modify: "custom_status_modify";
20
+ }>, z.ZodEnum<{
21
+ glossary: "glossary";
22
+ create_branches: "create_branches";
23
+ }>]>;
3
24
  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">]>;
25
+ export declare const PERMISSION_SCOPE_SCHEMA: z.ZodUnion<readonly [z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
5
26
  export type PermissionScope = z.infer<typeof PERMISSION_SCOPE_SCHEMA>;
6
27
  export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
7
- id: z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>;
8
- scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
28
+ id: z.ZodUnion<readonly [z.ZodEnum<{
29
+ tasks: "tasks";
30
+ contributors: "contributors";
31
+ download: "download";
32
+ upload: "upload";
33
+ activity: "activity";
34
+ glossary_edit: "glossary_edit";
35
+ glossary_delete: "glossary_delete";
36
+ settings: "settings";
37
+ statistics: "statistics";
38
+ manage_keys: "manage_keys";
39
+ screenshots: "screenshots";
40
+ branches_create: "branches_create";
41
+ branches_merge: "branches_merge";
42
+ manage_languages: "manage_languages";
43
+ review: "review";
44
+ branches_main_modify: "branches_main_modify";
45
+ custom_status_modify: "custom_status_modify";
46
+ }>, z.ZodEnum<{
47
+ glossary: "glossary";
48
+ create_branches: "create_branches";
49
+ }>]>;
50
+ scope: z.ZodUnion<readonly [z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
9
51
  title: z.ZodString;
10
52
  group: z.ZodString;
11
53
  description: z.ZodNullable<z.ZodString>;
12
54
  new_permission: z.ZodBoolean;
13
55
  does_set_all_read_only_languages: z.ZodBoolean;
14
56
  is_hidden: z.ZodBoolean;
15
- }, "strip", z.ZodTypeAny, {
16
- id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
17
- title: string;
18
- group: string;
19
- description: string | null;
20
- scope: "project" | "team" | "user";
21
- new_permission: boolean;
22
- does_set_all_read_only_languages: boolean;
23
- is_hidden: boolean;
24
- }, {
25
- id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
26
- title: string;
27
- group: string;
28
- description: string | null;
29
- scope: "project" | "team" | "user";
30
- new_permission: boolean;
31
- does_set_all_read_only_languages: boolean;
32
- is_hidden: boolean;
33
- }>;
57
+ }, z.core.$strip>;
34
58
  export type PermissionDetails = z.infer<typeof PERMISSION_DETAILS_SCHEMA>;