@lokalise/harmony 1.26.2 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/harmony.cjs +51 -26
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +52 -27
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +18 -62
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +18 -62
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +13 -87
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +13 -87
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +3 -15
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +3 -15
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +6 -97
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +5 -96
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +6 -14
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +5 -13
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +60 -12
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +60 -12
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +88 -36
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +88 -36
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +19 -29
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +18 -28
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +96 -7
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +96 -7
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +13 -57
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +13 -57
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +14 -60
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +14 -60
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +37 -19
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +36 -18
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +27 -12
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +27 -12
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +7 -15
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +7 -15
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +57 -16
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +57 -16
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +60 -11
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +60 -11
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +19 -17
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +18 -16
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +12 -20
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +12 -20
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +13 -10
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +13 -10
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +16 -46
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +16 -46
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +12 -13
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +11 -12
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +15 -5
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +15 -5
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +20 -11
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +20 -11
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +10 -30
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +10 -30
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +5 -13
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +5 -13
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +15 -0
- package/dist/harmony125.cjs.map +1 -0
- package/dist/harmony125.mjs +15 -0
- package/dist/harmony125.mjs.map +1 -0
- package/dist/harmony126.cjs +35 -0
- package/dist/harmony126.cjs.map +1 -0
- package/dist/harmony126.mjs +35 -0
- package/dist/harmony126.mjs.map +1 -0
- package/dist/harmony127.cjs +17 -0
- package/dist/harmony127.cjs.map +1 -0
- package/dist/harmony127.mjs +17 -0
- package/dist/harmony127.mjs.map +1 -0
- package/dist/harmony128.cjs +49 -0
- package/dist/harmony128.cjs.map +1 -0
- package/dist/harmony128.mjs +49 -0
- package/dist/harmony128.mjs.map +1 -0
- package/dist/harmony129.cjs +15 -0
- package/dist/harmony129.cjs.map +1 -0
- package/dist/harmony129.mjs +15 -0
- package/dist/harmony129.mjs.map +1 -0
- package/dist/harmony15.cjs +1 -1
- package/dist/harmony15.mjs +1 -1
- package/dist/harmony20.cjs +1 -1
- package/dist/harmony20.mjs +1 -1
- package/dist/harmony21.cjs +1 -1
- package/dist/harmony21.mjs +1 -1
- package/dist/harmony22.cjs +2 -2
- package/dist/harmony22.mjs +2 -2
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- package/dist/harmony24.cjs +1 -1
- package/dist/harmony24.mjs +1 -1
- package/dist/harmony25.cjs +1 -1
- package/dist/harmony25.mjs +1 -1
- package/dist/harmony26.cjs +2 -2
- package/dist/harmony26.mjs +2 -2
- package/dist/harmony27.cjs +2 -2
- package/dist/harmony27.mjs +2 -2
- package/dist/harmony28.cjs +2 -2
- package/dist/harmony28.mjs +2 -2
- package/dist/harmony29.cjs +15 -8
- package/dist/harmony29.cjs.map +1 -1
- package/dist/harmony29.mjs +15 -8
- package/dist/harmony29.mjs.map +1 -1
- package/dist/harmony3.cjs +3 -3
- package/dist/harmony3.mjs +3 -3
- package/dist/harmony30.cjs +3 -3
- package/dist/harmony30.mjs +3 -3
- package/dist/harmony31.cjs +16 -8
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +16 -8
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony32.cjs +8 -12
- package/dist/harmony32.cjs.map +1 -1
- package/dist/harmony32.mjs +9 -13
- package/dist/harmony32.mjs.map +1 -1
- package/dist/harmony33.cjs +14 -14
- package/dist/harmony33.cjs.map +1 -1
- package/dist/harmony33.mjs +14 -14
- package/dist/harmony33.mjs.map +1 -1
- package/dist/harmony34.cjs +3 -3
- package/dist/harmony34.cjs.map +1 -1
- package/dist/harmony34.mjs +4 -4
- package/dist/harmony34.mjs.map +1 -1
- package/dist/harmony35.cjs +5 -4
- package/dist/harmony35.cjs.map +1 -1
- package/dist/harmony35.mjs +5 -4
- package/dist/harmony35.mjs.map +1 -1
- package/dist/harmony36.cjs +6 -10
- package/dist/harmony36.cjs.map +1 -1
- package/dist/harmony36.mjs +8 -12
- package/dist/harmony36.mjs.map +1 -1
- package/dist/harmony37.cjs +14 -12
- package/dist/harmony37.cjs.map +1 -1
- package/dist/harmony37.mjs +14 -12
- package/dist/harmony37.mjs.map +1 -1
- package/dist/harmony38.cjs +14 -12
- package/dist/harmony38.cjs.map +1 -1
- package/dist/harmony38.mjs +15 -13
- package/dist/harmony38.mjs.map +1 -1
- package/dist/harmony39.cjs +9 -9
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +9 -9
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony4.cjs +10 -10
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony40.cjs +12 -14
- package/dist/harmony40.cjs.map +1 -1
- package/dist/harmony40.mjs +13 -15
- package/dist/harmony40.mjs.map +1 -1
- package/dist/harmony41.cjs +12 -14
- package/dist/harmony41.cjs.map +1 -1
- package/dist/harmony41.mjs +12 -14
- package/dist/harmony41.mjs.map +1 -1
- package/dist/harmony42.cjs +10 -10
- package/dist/harmony42.cjs.map +1 -1
- package/dist/harmony42.mjs +10 -10
- package/dist/harmony42.mjs.map +1 -1
- package/dist/harmony43.cjs +14 -12
- package/dist/harmony43.cjs.map +1 -1
- package/dist/harmony43.mjs +14 -12
- package/dist/harmony43.mjs.map +1 -1
- package/dist/harmony44.cjs +7 -7
- package/dist/harmony44.cjs.map +1 -1
- package/dist/harmony44.mjs +8 -8
- package/dist/harmony44.mjs.map +1 -1
- package/dist/harmony45.cjs +13 -12
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +15 -14
- package/dist/harmony45.mjs.map +1 -1
- package/dist/harmony46.cjs +17 -56
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +17 -56
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony47.cjs +13 -79
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +13 -79
- package/dist/harmony47.mjs.map +1 -1
- package/dist/harmony48.cjs +52 -16
- package/dist/harmony48.cjs.map +1 -1
- package/dist/harmony48.mjs +52 -16
- package/dist/harmony48.mjs.map +1 -1
- package/dist/harmony49.cjs +68 -98
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +68 -98
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony50.cjs +4 -19
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +4 -19
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +22 -25
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +22 -25
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +35 -6
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +35 -6
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +111 -18
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +111 -18
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +19 -16
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +19 -16
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +27 -16
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +26 -15
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +9 -19
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +8 -18
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +51 -62
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +50 -61
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +25 -7
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +24 -6
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +18 -9
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +18 -9
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +16 -19
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +15 -18
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +18 -23
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +17 -22
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +62 -6
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +61 -5
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +6 -32
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +5 -31
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +8 -31
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +9 -32
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +14 -15
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +14 -15
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +17 -25
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +19 -27
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +4 -58
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +5 -59
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +32 -9
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +31 -8
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +30 -6
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +32 -8
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony70.cjs +15 -25
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +15 -25
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +31 -3
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +31 -3
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +57 -9
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +59 -11
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +6 -18
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +7 -19
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +9 -7
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +8 -6
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +30 -10
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +29 -9
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +4 -10
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +3 -9
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +6 -57
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +5 -56
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +9 -32
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +8 -31
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +10 -6
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +9 -5
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +57 -9
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +56 -8
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +32 -24
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +31 -23
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +6 -7
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +5 -6
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +9 -21
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +8 -20
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +21 -9
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +21 -9
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +7 -19
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +6 -18
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +20 -13
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +20 -13
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +13 -17
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +12 -16
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +12 -22
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +11 -21
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +21 -5
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +20 -4
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +2 -2
- package/dist/harmony90.mjs +2 -2
- package/dist/harmony91.cjs +13 -129
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +13 -129
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +18 -9
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +18 -9
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +5 -5
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +5 -5
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +129 -37
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +129 -37
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +12 -60
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +11 -59
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +5 -7
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +5 -7
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +40 -6
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +39 -5
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +61 -6
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +60 -5
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +8 -6
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +7 -5
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +42 -0
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +7 -5
- package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +37 -0
- package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +37 -0
- package/dist/types/src/features/publicApi/hooks/useUpdateProjectMutation.d.ts +2 -2
- package/dist/types/src/features/publicApi/node.d.ts +5 -0
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +35 -25
- package/dist/types/src/features/publicApi/projects.d.ts +178 -5
- package/dist/types/src/features/publicApi/team.d.ts +297 -0
- package/dist/types/src/features/publicApi/types/paginationTypes.d.ts +12 -0
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +56 -40
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +34 -0
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +121 -12
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +257 -0
- package/package.json +1 -1
@@ -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.
|
5
|
+
id: z.ZodString;
|
6
6
|
role: z.ZodString;
|
7
|
-
permissions: z.ZodArray<z.
|
8
|
-
description: z.ZodString
|
9
|
-
|
10
|
-
|
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:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
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.
|
46
|
+
id: z.ZodString;
|
41
47
|
role: z.ZodString;
|
42
|
-
permissions: z.ZodArray<z.
|
43
|
-
description: z.ZodString
|
44
|
-
|
45
|
-
|
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:
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
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:
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
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:
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
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:
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
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
|
1124
|
-
|
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
|
-
|
1130
|
+
projectId: string;
|
1127
1131
|
}, {
|
1128
|
-
|
1132
|
+
projectId: string;
|
1129
1133
|
}>;
|
1130
|
-
export
|
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>;
|
@@ -0,0 +1,257 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const TEAM_API_BASE_HEADERS_SCHEMA: z.ZodIntersection<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
3
|
+
authorization: z.ZodString;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
authorization: string;
|
6
|
+
}, {
|
7
|
+
authorization: string;
|
8
|
+
}>, z.ZodObject<{
|
9
|
+
AUTHORIZATION: z.ZodString;
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
11
|
+
AUTHORIZATION: string;
|
12
|
+
}, {
|
13
|
+
AUTHORIZATION: string;
|
14
|
+
}>]>, z.ZodUnion<[z.ZodObject<{
|
15
|
+
'X-API-Token': z.ZodString;
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
17
|
+
'X-API-Token': string;
|
18
|
+
}, {
|
19
|
+
'X-API-Token': string;
|
20
|
+
}>, z.ZodObject<{
|
21
|
+
'X-Api-Token': z.ZodString;
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
23
|
+
'X-Api-Token': string;
|
24
|
+
}, {
|
25
|
+
'X-Api-Token': string;
|
26
|
+
}>, z.ZodObject<{
|
27
|
+
'x-api-token': z.ZodString;
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
29
|
+
'x-api-token': string;
|
30
|
+
}, {
|
31
|
+
'x-api-token': string;
|
32
|
+
}>, z.ZodObject<{
|
33
|
+
'X-API-TOKEN': z.ZodString;
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
35
|
+
'X-API-TOKEN': string;
|
36
|
+
}, {
|
37
|
+
'X-API-TOKEN': string;
|
38
|
+
}>]>]>, z.ZodUnion<[z.ZodObject<{
|
39
|
+
'X-Lokalise-Plugin': z.ZodString;
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
41
|
+
'X-Lokalise-Plugin': string;
|
42
|
+
}, {
|
43
|
+
'X-Lokalise-Plugin': string;
|
44
|
+
}>, z.ZodObject<{
|
45
|
+
'x-lokalise-plugin': z.ZodString;
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
47
|
+
'x-lokalise-plugin': string;
|
48
|
+
}, {
|
49
|
+
'x-lokalise-plugin': string;
|
50
|
+
}>, z.ZodObject<{
|
51
|
+
'X-LOKALISE-PLUGIN': z.ZodString;
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
53
|
+
'X-LOKALISE-PLUGIN': string;
|
54
|
+
}, {
|
55
|
+
'X-LOKALISE-PLUGIN': string;
|
56
|
+
}>]>>;
|
57
|
+
export type TeamApiBaseHeaders = z.infer<typeof TEAM_API_BASE_HEADERS_SCHEMA>;
|
58
|
+
export declare const TEAM_QUOTA_METRICS: readonly ["keys", "projects", "mau", "trafficBytes", "ai_words"];
|
59
|
+
export declare const TEAM_QUOTA_METRICS_SCHEMA: z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>;
|
60
|
+
export type TeamQuotaMetrics = z.infer<typeof TEAM_QUOTA_METRICS_SCHEMA>;
|
61
|
+
export declare const TEAM_QUOTA_USAGE_SCHEMA: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
62
|
+
export type TeamQuotaUsage = z.infer<typeof TEAM_QUOTA_USAGE_SCHEMA>;
|
63
|
+
export declare const TEAM_QUOTA_ALLOWED_SCHEMA: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
64
|
+
export type TeamQuotaAllowed = z.infer<typeof TEAM_QUOTA_ALLOWED_SCHEMA>;
|
65
|
+
export declare const LIST_TEAMS_QUERY_SCHEMA: z.ZodObject<{
|
66
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
67
|
+
page: z.ZodOptional<z.ZodNumber>;
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
69
|
+
page?: number | undefined;
|
70
|
+
limit?: number | undefined;
|
71
|
+
}, {
|
72
|
+
page?: number | undefined;
|
73
|
+
limit?: number | undefined;
|
74
|
+
}>;
|
75
|
+
export type ListTeamsQueryParams = z.infer<typeof LIST_TEAMS_QUERY_SCHEMA>;
|
76
|
+
export declare const LIST_TEAMS_RESPONSE_SCHEMA: z.ZodObject<{
|
77
|
+
teams: z.ZodArray<z.ZodIntersection<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
78
|
+
id: z.ZodNumber;
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
80
|
+
id: number;
|
81
|
+
}, {
|
82
|
+
id: number;
|
83
|
+
}>, z.ZodEffects<z.ZodObject<{
|
84
|
+
team_id: z.ZodNumber;
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
86
|
+
team_id: number;
|
87
|
+
}, {
|
88
|
+
team_id: number;
|
89
|
+
}>, {
|
90
|
+
id: number;
|
91
|
+
}, {
|
92
|
+
team_id: number;
|
93
|
+
}>]>, z.ZodObject<{
|
94
|
+
uuid: z.ZodOptional<z.ZodString>;
|
95
|
+
name: z.ZodString;
|
96
|
+
created_at: z.ZodString;
|
97
|
+
created_at_timestamp: z.ZodNumber;
|
98
|
+
plan: z.ZodString;
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
100
|
+
name: string;
|
101
|
+
created_at: string;
|
102
|
+
created_at_timestamp: number;
|
103
|
+
plan: string;
|
104
|
+
uuid?: string | undefined;
|
105
|
+
}, {
|
106
|
+
name: string;
|
107
|
+
created_at: string;
|
108
|
+
created_at_timestamp: number;
|
109
|
+
plan: string;
|
110
|
+
uuid?: string | undefined;
|
111
|
+
}>>, z.ZodObject<{
|
112
|
+
quota_usage: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
113
|
+
quota_allowed: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
115
|
+
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
116
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
117
|
+
}, {
|
118
|
+
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
119
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
120
|
+
}>>, "many">;
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
122
|
+
teams: ((({
|
123
|
+
id: number;
|
124
|
+
} | {
|
125
|
+
id: number;
|
126
|
+
}) & {
|
127
|
+
name: string;
|
128
|
+
created_at: string;
|
129
|
+
created_at_timestamp: number;
|
130
|
+
plan: string;
|
131
|
+
uuid?: string | undefined;
|
132
|
+
}) & {
|
133
|
+
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
134
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
135
|
+
})[];
|
136
|
+
}, {
|
137
|
+
teams: ((({
|
138
|
+
id: number;
|
139
|
+
} | {
|
140
|
+
team_id: number;
|
141
|
+
}) & {
|
142
|
+
name: string;
|
143
|
+
created_at: string;
|
144
|
+
created_at_timestamp: number;
|
145
|
+
plan: string;
|
146
|
+
uuid?: string | undefined;
|
147
|
+
}) & {
|
148
|
+
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
149
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
150
|
+
})[];
|
151
|
+
}>;
|
152
|
+
export type ListTeamsResponse = z.infer<typeof LIST_TEAMS_RESPONSE_SCHEMA>;
|
153
|
+
export declare const RETRIEVE_TEAM_PATH_PARAMS_SCHEMA: z.ZodObject<{
|
154
|
+
teamId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
156
|
+
teamId: string | number;
|
157
|
+
}, {
|
158
|
+
teamId: string | number;
|
159
|
+
}>;
|
160
|
+
export type RetrieveTeamPathParams = z.infer<typeof RETRIEVE_TEAM_PATH_PARAMS_SCHEMA>;
|
161
|
+
export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
162
|
+
team: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
163
|
+
id: z.ZodNumber;
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
165
|
+
id: number;
|
166
|
+
}, {
|
167
|
+
id: number;
|
168
|
+
}>, z.ZodEffects<z.ZodObject<{
|
169
|
+
team_id: z.ZodNumber;
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
171
|
+
team_id: number;
|
172
|
+
}, {
|
173
|
+
team_id: number;
|
174
|
+
}>, {
|
175
|
+
id: number;
|
176
|
+
}, {
|
177
|
+
team_id: number;
|
178
|
+
}>]>, z.ZodObject<{
|
179
|
+
uuid: z.ZodOptional<z.ZodString>;
|
180
|
+
name: z.ZodString;
|
181
|
+
created_at: z.ZodString;
|
182
|
+
created_at_timestamp: z.ZodNumber;
|
183
|
+
plan: z.ZodString;
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
185
|
+
name: string;
|
186
|
+
created_at: string;
|
187
|
+
created_at_timestamp: number;
|
188
|
+
plan: string;
|
189
|
+
uuid?: string | undefined;
|
190
|
+
}, {
|
191
|
+
name: string;
|
192
|
+
created_at: string;
|
193
|
+
created_at_timestamp: number;
|
194
|
+
plan: string;
|
195
|
+
uuid?: string | undefined;
|
196
|
+
}>>, z.ZodObject<{
|
197
|
+
quota_usage: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
198
|
+
quota_allowed: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
199
|
+
}, "strip", z.ZodTypeAny, {
|
200
|
+
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
201
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
202
|
+
}, {
|
203
|
+
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
204
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
205
|
+
}>>, z.ZodObject<{
|
206
|
+
is_team_suspended: z.ZodBoolean;
|
207
|
+
is_end_of_trial_active: z.ZodBoolean;
|
208
|
+
trial_days_left: z.ZodNumber;
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
210
|
+
is_team_suspended: boolean;
|
211
|
+
is_end_of_trial_active: boolean;
|
212
|
+
trial_days_left: number;
|
213
|
+
}, {
|
214
|
+
is_team_suspended: boolean;
|
215
|
+
is_end_of_trial_active: boolean;
|
216
|
+
trial_days_left: number;
|
217
|
+
}>>;
|
218
|
+
}, "strip", z.ZodTypeAny, {
|
219
|
+
team: ((({
|
220
|
+
id: number;
|
221
|
+
} | {
|
222
|
+
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
|
+
}, {
|
238
|
+
team: ((({
|
239
|
+
id: number;
|
240
|
+
} | {
|
241
|
+
team_id: number;
|
242
|
+
}) & {
|
243
|
+
name: string;
|
244
|
+
created_at: string;
|
245
|
+
created_at_timestamp: number;
|
246
|
+
plan: string;
|
247
|
+
uuid?: string | undefined;
|
248
|
+
}) & {
|
249
|
+
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
250
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
251
|
+
}) & {
|
252
|
+
is_team_suspended: boolean;
|
253
|
+
is_end_of_trial_active: boolean;
|
254
|
+
trial_days_left: number;
|
255
|
+
};
|
256
|
+
}>;
|
257
|
+
export type RetrieveTeamResponse = z.infer<typeof RETRIEVE_TEAM_RESPONSE_SCHEMA>;
|