@lokalise/harmony 1.32.0 → 1.32.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 (60) hide show
  1. package/dist/harmony111.cjs +1 -1
  2. package/dist/harmony111.mjs +1 -1
  3. package/dist/harmony112.cjs +1 -1
  4. package/dist/harmony112.mjs +1 -1
  5. package/dist/harmony128.cjs +1 -1
  6. package/dist/harmony128.mjs +1 -1
  7. package/dist/harmony130.cjs +3 -3
  8. package/dist/harmony130.mjs +3 -3
  9. package/dist/harmony132.cjs +5 -11
  10. package/dist/harmony132.cjs.map +1 -1
  11. package/dist/harmony132.mjs +5 -11
  12. package/dist/harmony132.mjs.map +1 -1
  13. package/dist/harmony133.cjs +11 -31
  14. package/dist/harmony133.cjs.map +1 -1
  15. package/dist/harmony133.mjs +11 -31
  16. package/dist/harmony133.mjs.map +1 -1
  17. package/dist/harmony134.cjs +28 -10
  18. package/dist/harmony134.cjs.map +1 -1
  19. package/dist/harmony134.mjs +28 -10
  20. package/dist/harmony134.mjs.map +1 -1
  21. package/dist/harmony135.cjs +13 -5
  22. package/dist/harmony135.cjs.map +1 -1
  23. package/dist/harmony135.mjs +13 -5
  24. package/dist/harmony135.mjs.map +1 -1
  25. package/dist/harmony58.cjs +1 -18
  26. package/dist/harmony58.cjs.map +1 -1
  27. package/dist/harmony58.mjs +1 -18
  28. package/dist/harmony58.mjs.map +1 -1
  29. package/dist/harmony59.cjs +3 -3
  30. package/dist/harmony59.cjs.map +1 -1
  31. package/dist/harmony59.mjs +3 -3
  32. package/dist/harmony59.mjs.map +1 -1
  33. package/dist/harmony81.cjs +2 -2
  34. package/dist/harmony81.mjs +2 -2
  35. package/dist/harmony83.cjs +2 -2
  36. package/dist/harmony83.mjs +2 -2
  37. package/dist/harmony95.cjs +9 -10
  38. package/dist/harmony95.cjs.map +1 -1
  39. package/dist/harmony95.mjs +11 -12
  40. package/dist/harmony95.mjs.map +1 -1
  41. package/dist/harmony96.cjs +20 -11
  42. package/dist/harmony96.cjs.map +1 -1
  43. package/dist/harmony96.mjs +20 -11
  44. package/dist/harmony96.mjs.map +1 -1
  45. package/dist/harmony97.cjs +10 -9
  46. package/dist/harmony97.cjs.map +1 -1
  47. package/dist/harmony97.mjs +12 -11
  48. package/dist/harmony97.mjs.map +1 -1
  49. package/dist/harmony98.cjs +11 -20
  50. package/dist/harmony98.cjs.map +1 -1
  51. package/dist/harmony98.mjs +11 -20
  52. package/dist/harmony98.mjs.map +1 -1
  53. package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +6 -6
  54. package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
  55. package/dist/types/src/features/publicApi/permissionTemplates.d.ts +5 -5
  56. package/dist/types/src/features/publicApi/projects.d.ts +30 -30
  57. package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +8 -8
  58. package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +4 -4
  59. package/dist/types/src/features/publicApi/types/projectTypes.d.ts +30 -30
  60. package/package.json +1 -1
@@ -1717,40 +1717,40 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1717
1717
  project_id: import('zod').ZodString;
1718
1718
  project_uuid: import('zod').ZodString;
1719
1719
  permissions: import('zod').ZodArray<import('zod').ZodObject<{
1720
- id: import('zod').ZodUnion<[import('zod').ZodLiteral<"activity">, import('zod').ZodLiteral<"branches_create">, import('zod').ZodLiteral<"branches_main_modify">, import('zod').ZodLiteral<"branches_merge">, import('zod').ZodLiteral<"contributors">, import('zod').ZodLiteral<"custom_status_modify">, import('zod').ZodLiteral<"download">, import('zod').ZodLiteral<"glossary_delete">, import('zod').ZodLiteral<"glossary_edit">, import('zod').ZodLiteral<"manage_keys">, import('zod').ZodLiteral<"manage_languages">, import('zod').ZodLiteral<"review">, import('zod').ZodLiteral<"screenshots">, import('zod').ZodLiteral<"settings">, import('zod').ZodLiteral<"statistics">, import('zod').ZodLiteral<"upload">]>;
1720
+ id: import('zod').ZodString;
1721
1721
  scope: import('zod').ZodUnion<[import('zod').ZodLiteral<"project">, import('zod').ZodLiteral<"team">, import('zod').ZodLiteral<"user">]>;
1722
1722
  title: import('zod').ZodString;
1723
1723
  group: import('zod').ZodString;
1724
1724
  description: import('zod').ZodNullable<import('zod').ZodString>;
1725
- dependentPermissions: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodUnion<[import('zod').ZodLiteral<"activity">, import('zod').ZodLiteral<"branches_create">, import('zod').ZodLiteral<"branches_main_modify">, import('zod').ZodLiteral<"branches_merge">, import('zod').ZodLiteral<"contributors">, import('zod').ZodLiteral<"custom_status_modify">, import('zod').ZodLiteral<"download">, import('zod').ZodLiteral<"glossary_delete">, import('zod').ZodLiteral<"glossary_edit">, import('zod').ZodLiteral<"manage_keys">, import('zod').ZodLiteral<"manage_languages">, import('zod').ZodLiteral<"review">, import('zod').ZodLiteral<"screenshots">, import('zod').ZodLiteral<"settings">, import('zod').ZodLiteral<"statistics">, import('zod').ZodLiteral<"upload">]>, "many">>;
1726
- newPermission: import('zod').ZodBoolean;
1725
+ dependentPermissions: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
1727
1726
  doesSetAllReadOnlyLanguages: import('zod').ZodBoolean;
1728
- isHidden: import('zod').ZodBoolean;
1727
+ newPermission: import('zod').ZodOptional<import('zod').ZodBoolean>;
1728
+ isHidden: import('zod').ZodOptional<import('zod').ZodBoolean>;
1729
1729
  }, "strip", import('zod').ZodTypeAny, {
1730
1730
  title: string;
1731
- 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";
1731
+ id: string;
1732
1732
  group: string;
1733
1733
  scope: "team" | "project" | "user";
1734
1734
  description: string | null;
1735
- newPermission: boolean;
1736
1735
  doesSetAllReadOnlyLanguages: boolean;
1737
- isHidden: boolean;
1738
- dependentPermissions?: ("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")[] | undefined;
1736
+ dependentPermissions?: string[] | undefined;
1737
+ newPermission?: boolean | undefined;
1738
+ isHidden?: boolean | undefined;
1739
1739
  }, {
1740
1740
  title: string;
1741
- 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";
1741
+ id: string;
1742
1742
  group: string;
1743
1743
  scope: "team" | "project" | "user";
1744
1744
  description: string | null;
1745
- newPermission: boolean;
1746
1745
  doesSetAllReadOnlyLanguages: boolean;
1747
- isHidden: boolean;
1748
- dependentPermissions?: ("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")[] | undefined;
1746
+ dependentPermissions?: string[] | undefined;
1747
+ newPermission?: boolean | undefined;
1748
+ isHidden?: boolean | undefined;
1749
1749
  }>, "many">;
1750
1750
  roles: import('zod').ZodArray<import('zod').ZodObject<{
1751
- id: import('zod').ZodString;
1751
+ id: import('zod').ZodNumber;
1752
1752
  role: import('zod').ZodString;
1753
- permissions: import('zod').ZodArray<import('zod').ZodUnion<[import('zod').ZodLiteral<"activity">, import('zod').ZodLiteral<"branches_create">, import('zod').ZodLiteral<"branches_main_modify">, import('zod').ZodLiteral<"branches_merge">, import('zod').ZodLiteral<"contributors">, import('zod').ZodLiteral<"custom_status_modify">, import('zod').ZodLiteral<"download">, import('zod').ZodLiteral<"glossary_delete">, import('zod').ZodLiteral<"glossary_edit">, import('zod').ZodLiteral<"manage_keys">, import('zod').ZodLiteral<"manage_languages">, import('zod').ZodLiteral<"review">, import('zod').ZodLiteral<"screenshots">, import('zod').ZodLiteral<"settings">, import('zod').ZodLiteral<"statistics">, import('zod').ZodLiteral<"upload">]>, "many">;
1753
+ permissions: import('zod').ZodArray<import('zod').ZodString, "many">;
1754
1754
  description: import('zod').ZodNullable<import('zod').ZodString>;
1755
1755
  tag: import('zod').ZodNullable<import('zod').ZodString>;
1756
1756
  tagColor: import('zod').ZodNullable<import('zod').ZodString>;
@@ -1759,20 +1759,20 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1759
1759
  doesEnableAllReadOnlyLanguages: import('zod').ZodBoolean;
1760
1760
  }, "strip", import('zod').ZodTypeAny, {
1761
1761
  role: string;
1762
- id: string;
1762
+ id: number;
1763
1763
  tag: string | null;
1764
1764
  description: string | null;
1765
- 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")[];
1765
+ permissions: string[];
1766
1766
  tagColor: string | null;
1767
1767
  tagInfo: string | null;
1768
1768
  isForMarketingProjects: boolean;
1769
1769
  doesEnableAllReadOnlyLanguages: boolean;
1770
1770
  }, {
1771
1771
  role: string;
1772
- id: string;
1772
+ id: number;
1773
1773
  tag: string | null;
1774
1774
  description: string | null;
1775
- 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")[];
1775
+ permissions: string[];
1776
1776
  tagColor: string | null;
1777
1777
  tagInfo: string | null;
1778
1778
  isForMarketingProjects: boolean;
@@ -1783,21 +1783,21 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1783
1783
  project_uuid: string;
1784
1784
  permissions: {
1785
1785
  title: string;
1786
- 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";
1786
+ id: string;
1787
1787
  group: string;
1788
1788
  scope: "team" | "project" | "user";
1789
1789
  description: string | null;
1790
- newPermission: boolean;
1791
1790
  doesSetAllReadOnlyLanguages: boolean;
1792
- isHidden: boolean;
1793
- dependentPermissions?: ("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")[] | undefined;
1791
+ dependentPermissions?: string[] | undefined;
1792
+ newPermission?: boolean | undefined;
1793
+ isHidden?: boolean | undefined;
1794
1794
  }[];
1795
1795
  roles: {
1796
1796
  role: string;
1797
- id: string;
1797
+ id: number;
1798
1798
  tag: string | null;
1799
1799
  description: string | null;
1800
- 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")[];
1800
+ permissions: string[];
1801
1801
  tagColor: string | null;
1802
1802
  tagInfo: string | null;
1803
1803
  isForMarketingProjects: boolean;
@@ -1808,21 +1808,21 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1808
1808
  project_uuid: string;
1809
1809
  permissions: {
1810
1810
  title: string;
1811
- 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";
1811
+ id: string;
1812
1812
  group: string;
1813
1813
  scope: "team" | "project" | "user";
1814
1814
  description: string | null;
1815
- newPermission: boolean;
1816
1815
  doesSetAllReadOnlyLanguages: boolean;
1817
- isHidden: boolean;
1818
- dependentPermissions?: ("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")[] | undefined;
1816
+ dependentPermissions?: string[] | undefined;
1817
+ newPermission?: boolean | undefined;
1818
+ isHidden?: boolean | undefined;
1819
1819
  }[];
1820
1820
  roles: {
1821
1821
  role: string;
1822
- id: string;
1822
+ id: number;
1823
1823
  tag: string | null;
1824
1824
  description: string | null;
1825
- 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")[];
1825
+ permissions: string[];
1826
1826
  tagColor: string | null;
1827
1827
  tagInfo: string | null;
1828
1828
  isForMarketingProjects: boolean;
@@ -4,7 +4,7 @@ export type Permission = z.infer<typeof PERMISSION_SCHEMA>;
4
4
  export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  role: 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">;
7
+ permissions: z.ZodArray<z.ZodString, "many">;
8
8
  description: z.ZodNullable<z.ZodString>;
9
9
  tag: z.ZodNullable<z.ZodString>;
10
10
  tagColor: z.ZodNullable<z.ZodString>;
@@ -16,7 +16,7 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
16
16
  id: string;
17
17
  tag: string | null;
18
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")[];
19
+ permissions: string[];
20
20
  tagColor: string | null;
21
21
  tagInfo: string | null;
22
22
  isForMarketingProjects: boolean;
@@ -26,7 +26,7 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
26
26
  id: string;
27
27
  tag: string | null;
28
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")[];
29
+ permissions: string[];
30
30
  tagColor: string | null;
31
31
  tagInfo: string | null;
32
32
  isForMarketingProjects: boolean;
@@ -45,7 +45,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
45
45
  roles: z.ZodArray<z.ZodObject<{
46
46
  id: z.ZodString;
47
47
  role: 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">;
48
+ permissions: z.ZodArray<z.ZodString, "many">;
49
49
  description: z.ZodNullable<z.ZodString>;
50
50
  tag: z.ZodNullable<z.ZodString>;
51
51
  tagColor: z.ZodNullable<z.ZodString>;
@@ -57,7 +57,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
57
57
  id: string;
58
58
  tag: string | null;
59
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")[];
60
+ permissions: string[];
61
61
  tagColor: string | null;
62
62
  tagInfo: string | null;
63
63
  isForMarketingProjects: boolean;
@@ -67,7 +67,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
67
67
  id: string;
68
68
  tag: string | null;
69
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")[];
70
+ permissions: string[];
71
71
  tagColor: string | null;
72
72
  tagInfo: string | null;
73
73
  isForMarketingProjects: boolean;
@@ -79,7 +79,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
79
79
  id: string;
80
80
  tag: string | null;
81
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")[];
82
+ permissions: string[];
83
83
  tagColor: string | null;
84
84
  tagInfo: string | null;
85
85
  isForMarketingProjects: boolean;
@@ -91,7 +91,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
91
91
  id: string;
92
92
  tag: string | null;
93
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")[];
94
+ permissions: string[];
95
95
  tagColor: string | null;
96
96
  tagInfo: string | null;
97
97
  isForMarketingProjects: boolean;
@@ -1,10 +1,10 @@
1
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">]>;
2
+ export declare const PERMISSION_ID_SCHEMA: z.ZodString;
3
3
  export type PermissionId = z.infer<typeof PERMISSION_ID_SCHEMA>;
4
4
  export declare const PERMISSION_SCOPE_SCHEMA: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
5
5
  export type PermissionScope = z.infer<typeof PERMISSION_SCOPE_SCHEMA>;
6
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">]>;
7
+ id: z.ZodString;
8
8
  scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
9
9
  title: z.ZodString;
10
10
  group: z.ZodString;
@@ -14,7 +14,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
14
14
  is_hidden: z.ZodBoolean;
15
15
  }, "strip", z.ZodTypeAny, {
16
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";
17
+ id: string;
18
18
  group: string;
19
19
  scope: "team" | "project" | "user";
20
20
  description: string | null;
@@ -23,7 +23,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
23
23
  is_hidden: boolean;
24
24
  }, {
25
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";
26
+ id: string;
27
27
  group: string;
28
28
  scope: "team" | "project" | "user";
29
29
  description: string | null;
@@ -1147,40 +1147,40 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1147
1147
  project_id: z.ZodString;
1148
1148
  project_uuid: z.ZodString;
1149
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">]>;
1150
+ id: z.ZodString;
1151
1151
  scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
1152
1152
  title: z.ZodString;
1153
1153
  group: z.ZodString;
1154
1154
  description: z.ZodNullable<z.ZodString>;
1155
- dependentPermissions: z.ZodOptional<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">>;
1156
- newPermission: z.ZodBoolean;
1155
+ dependentPermissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1157
1156
  doesSetAllReadOnlyLanguages: z.ZodBoolean;
1158
- isHidden: z.ZodBoolean;
1157
+ newPermission: z.ZodOptional<z.ZodBoolean>;
1158
+ isHidden: z.ZodOptional<z.ZodBoolean>;
1159
1159
  }, "strip", z.ZodTypeAny, {
1160
1160
  title: string;
1161
- 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
+ id: string;
1162
1162
  group: string;
1163
1163
  scope: "team" | "project" | "user";
1164
1164
  description: string | null;
1165
- newPermission: boolean;
1166
1165
  doesSetAllReadOnlyLanguages: boolean;
1167
- isHidden: boolean;
1168
- dependentPermissions?: ("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")[] | undefined;
1166
+ dependentPermissions?: string[] | undefined;
1167
+ newPermission?: boolean | undefined;
1168
+ isHidden?: boolean | undefined;
1169
1169
  }, {
1170
1170
  title: string;
1171
- 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";
1171
+ id: string;
1172
1172
  group: string;
1173
1173
  scope: "team" | "project" | "user";
1174
1174
  description: string | null;
1175
- newPermission: boolean;
1176
1175
  doesSetAllReadOnlyLanguages: boolean;
1177
- isHidden: boolean;
1178
- dependentPermissions?: ("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")[] | undefined;
1176
+ dependentPermissions?: string[] | undefined;
1177
+ newPermission?: boolean | undefined;
1178
+ isHidden?: boolean | undefined;
1179
1179
  }>, "many">;
1180
1180
  roles: z.ZodArray<z.ZodObject<{
1181
- id: z.ZodString;
1181
+ id: z.ZodNumber;
1182
1182
  role: z.ZodString;
1183
- 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">;
1183
+ permissions: z.ZodArray<z.ZodString, "many">;
1184
1184
  description: z.ZodNullable<z.ZodString>;
1185
1185
  tag: z.ZodNullable<z.ZodString>;
1186
1186
  tagColor: z.ZodNullable<z.ZodString>;
@@ -1189,20 +1189,20 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1189
1189
  doesEnableAllReadOnlyLanguages: z.ZodBoolean;
1190
1190
  }, "strip", z.ZodTypeAny, {
1191
1191
  role: string;
1192
- id: string;
1192
+ id: number;
1193
1193
  tag: string | null;
1194
1194
  description: string | null;
1195
- 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")[];
1195
+ permissions: string[];
1196
1196
  tagColor: string | null;
1197
1197
  tagInfo: string | null;
1198
1198
  isForMarketingProjects: boolean;
1199
1199
  doesEnableAllReadOnlyLanguages: boolean;
1200
1200
  }, {
1201
1201
  role: string;
1202
- id: string;
1202
+ id: number;
1203
1203
  tag: string | null;
1204
1204
  description: string | null;
1205
- 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")[];
1205
+ permissions: string[];
1206
1206
  tagColor: string | null;
1207
1207
  tagInfo: string | null;
1208
1208
  isForMarketingProjects: boolean;
@@ -1213,21 +1213,21 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1213
1213
  project_uuid: string;
1214
1214
  permissions: {
1215
1215
  title: string;
1216
- 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";
1216
+ id: string;
1217
1217
  group: string;
1218
1218
  scope: "team" | "project" | "user";
1219
1219
  description: string | null;
1220
- newPermission: boolean;
1221
1220
  doesSetAllReadOnlyLanguages: boolean;
1222
- isHidden: boolean;
1223
- dependentPermissions?: ("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")[] | undefined;
1221
+ dependentPermissions?: string[] | undefined;
1222
+ newPermission?: boolean | undefined;
1223
+ isHidden?: boolean | undefined;
1224
1224
  }[];
1225
1225
  roles: {
1226
1226
  role: string;
1227
- id: string;
1227
+ id: number;
1228
1228
  tag: string | null;
1229
1229
  description: string | null;
1230
- 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")[];
1230
+ permissions: string[];
1231
1231
  tagColor: string | null;
1232
1232
  tagInfo: string | null;
1233
1233
  isForMarketingProjects: boolean;
@@ -1238,21 +1238,21 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
1238
1238
  project_uuid: string;
1239
1239
  permissions: {
1240
1240
  title: string;
1241
- 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";
1241
+ id: string;
1242
1242
  group: string;
1243
1243
  scope: "team" | "project" | "user";
1244
1244
  description: string | null;
1245
- newPermission: boolean;
1246
1245
  doesSetAllReadOnlyLanguages: boolean;
1247
- isHidden: boolean;
1248
- dependentPermissions?: ("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")[] | undefined;
1246
+ dependentPermissions?: string[] | undefined;
1247
+ newPermission?: boolean | undefined;
1248
+ isHidden?: boolean | undefined;
1249
1249
  }[];
1250
1250
  roles: {
1251
1251
  role: string;
1252
- id: string;
1252
+ id: number;
1253
1253
  tag: string | null;
1254
1254
  description: string | null;
1255
- 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")[];
1255
+ permissions: string[];
1256
1256
  tagColor: string | null;
1257
1257
  tagInfo: string | null;
1258
1258
  isForMarketingProjects: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/harmony",
3
- "version": "1.32.0",
3
+ "version": "1.32.2",
4
4
  "author": {
5
5
  "name": "Lokalise",
6
6
  "url": "https://lokalise.com/"