@lokalise/harmony 1.20.2 → 1.21.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.
@@ -11,7 +11,7 @@ import { Wretch } from 'wretch';
11
11
  * @param projectId - The ID of the project to retrieve the contributor information.
12
12
  */
13
13
  export declare function useAuthenticatedProjectContributor<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ContributorApiBaseHeader>, projectId: string): import('@tanstack/react-query').UseQueryResult<{
14
- contributors: {
14
+ contributor: {
15
15
  email: string;
16
16
  user_id: number;
17
17
  fullname: string;
@@ -26,6 +26,6 @@ export declare function useAuthenticatedProjectContributor<T>(wretchClient: Wret
26
26
  }[];
27
27
  is_admin: boolean;
28
28
  is_reviewer: boolean;
29
- }[];
29
+ };
30
30
  project_id: string;
31
31
  }, undefined>;
@@ -1,25 +1,34 @@
1
- import { z } from 'zod';
2
1
  /**
3
2
  * Public API router definition for retrieving a project contributor
4
3
  */
5
4
  export declare const retrieveContributor: import('@lokalise/universal-ts-utils/node').GetRouteDefinition<{
6
- projectId: string;
7
- contributorId: number;
8
- }, z.ZodObject<{
9
- project_id: z.ZodString;
10
- contributors: z.ZodArray<z.ZodObject<{
11
- user_id: z.ZodNumber;
12
- email: z.ZodString;
13
- fullname: z.ZodString;
14
- created_at: z.ZodString;
15
- created_at_timestamp: z.ZodNumber;
16
- admin_rights: z.ZodArray<z.ZodString, "many">;
17
- languages: z.ZodArray<z.ZodObject<{
18
- lang_id: z.ZodNumber;
19
- lang_iso: z.ZodString;
20
- lang_name: z.ZodString;
21
- is_writable: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
22
- }, "strip", z.ZodTypeAny, {
5
+ project: {
6
+ uuid: string;
7
+ } | {
8
+ id: string;
9
+ };
10
+ contributor: {
11
+ authenticatedUser: true;
12
+ } | {
13
+ uuid: string;
14
+ } | {
15
+ id: number;
16
+ };
17
+ }, import('zod').ZodObject<{
18
+ project_id: import('zod').ZodString;
19
+ contributor: import('zod').ZodObject<{
20
+ user_id: import('zod').ZodNumber;
21
+ email: import('zod').ZodString;
22
+ fullname: import('zod').ZodString;
23
+ created_at: import('zod').ZodString;
24
+ created_at_timestamp: import('zod').ZodNumber;
25
+ admin_rights: import('zod').ZodArray<import('zod').ZodString, "many">;
26
+ languages: import('zod').ZodArray<import('zod').ZodObject<{
27
+ lang_id: import('zod').ZodNumber;
28
+ lang_iso: import('zod').ZodString;
29
+ lang_name: import('zod').ZodString;
30
+ is_writable: import('zod').ZodUnion<[import('zod').ZodLiteral<0>, import('zod').ZodLiteral<1>]>;
31
+ }, "strip", import('zod').ZodTypeAny, {
23
32
  lang_id: number;
24
33
  lang_iso: string;
25
34
  lang_name: string;
@@ -30,9 +39,9 @@ export declare const retrieveContributor: import('@lokalise/universal-ts-utils/n
30
39
  lang_name: string;
31
40
  is_writable: 0 | 1;
32
41
  }>, "many">;
33
- is_admin: z.ZodBoolean;
34
- is_reviewer: z.ZodBoolean;
35
- }, "strip", z.ZodTypeAny, {
42
+ is_admin: import('zod').ZodBoolean;
43
+ is_reviewer: import('zod').ZodBoolean;
44
+ }, "strip", import('zod').ZodTypeAny, {
36
45
  email: string;
37
46
  user_id: number;
38
47
  fullname: string;
@@ -62,9 +71,9 @@ export declare const retrieveContributor: import('@lokalise/universal-ts-utils/n
62
71
  }[];
63
72
  is_admin: boolean;
64
73
  is_reviewer: boolean;
65
- }>, "many">;
66
- }, "strip", z.ZodTypeAny, {
67
- contributors: {
74
+ }>;
75
+ }, "strip", import('zod').ZodTypeAny, {
76
+ contributor: {
68
77
  email: string;
69
78
  user_id: number;
70
79
  fullname: string;
@@ -79,10 +88,10 @@ export declare const retrieveContributor: import('@lokalise/universal-ts-utils/n
79
88
  }[];
80
89
  is_admin: boolean;
81
90
  is_reviewer: boolean;
82
- }[];
91
+ };
83
92
  project_id: string;
84
93
  }, {
85
- contributors: {
94
+ contributor: {
86
95
  email: string;
87
96
  user_id: number;
88
97
  fullname: string;
@@ -97,68 +106,118 @@ export declare const retrieveContributor: import('@lokalise/universal-ts-utils/n
97
106
  }[];
98
107
  is_admin: boolean;
99
108
  is_reviewer: boolean;
100
- }[];
109
+ };
101
110
  project_id: string;
102
- }>, z.ZodObject<{
103
- projectId: z.ZodString;
104
- contributorId: z.ZodNumber;
105
- }, "strip", z.ZodTypeAny, {
106
- projectId: string;
107
- contributorId: number;
111
+ }>, import('zod').ZodObject<{
112
+ project: import('zod').ZodUnion<[import('zod').ZodObject<{
113
+ uuid: import('zod').ZodString;
114
+ }, "strip", import('zod').ZodTypeAny, {
115
+ uuid: string;
116
+ }, {
117
+ uuid: string;
118
+ }>, import('zod').ZodObject<{
119
+ id: import('zod').ZodString;
120
+ }, "strip", import('zod').ZodTypeAny, {
121
+ id: string;
122
+ }, {
123
+ id: string;
124
+ }>]>;
125
+ contributor: import('zod').ZodUnion<[import('zod').ZodObject<{
126
+ authenticatedUser: import('zod').ZodLiteral<true>;
127
+ }, "strip", import('zod').ZodTypeAny, {
128
+ authenticatedUser: true;
129
+ }, {
130
+ authenticatedUser: true;
131
+ }>, import('zod').ZodObject<{
132
+ uuid: import('zod').ZodString;
133
+ }, "strip", import('zod').ZodTypeAny, {
134
+ uuid: string;
135
+ }, {
136
+ uuid: string;
137
+ }>, import('zod').ZodObject<{
138
+ id: import('zod').ZodNumber;
139
+ }, "strip", import('zod').ZodTypeAny, {
140
+ id: number;
141
+ }, {
142
+ id: number;
143
+ }>]>;
144
+ }, "strip", import('zod').ZodTypeAny, {
145
+ project: {
146
+ uuid: string;
147
+ } | {
148
+ id: string;
149
+ };
150
+ contributor: {
151
+ authenticatedUser: true;
152
+ } | {
153
+ uuid: string;
154
+ } | {
155
+ id: number;
156
+ };
108
157
  }, {
109
- projectId: string;
110
- contributorId: number;
111
- }>, undefined, z.ZodIntersection<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
112
- authorization: z.ZodString;
113
- }, "strip", z.ZodTypeAny, {
158
+ project: {
159
+ uuid: string;
160
+ } | {
161
+ id: string;
162
+ };
163
+ contributor: {
164
+ authenticatedUser: true;
165
+ } | {
166
+ uuid: string;
167
+ } | {
168
+ id: number;
169
+ };
170
+ }>, undefined, import('zod').ZodIntersection<import('zod').ZodUnion<[import('zod').ZodUnion<[import('zod').ZodObject<{
171
+ authorization: import('zod').ZodString;
172
+ }, "strip", import('zod').ZodTypeAny, {
114
173
  authorization: string;
115
174
  }, {
116
175
  authorization: string;
117
- }>, z.ZodObject<{
118
- AUTHORIZATION: z.ZodString;
119
- }, "strip", z.ZodTypeAny, {
176
+ }>, import('zod').ZodObject<{
177
+ AUTHORIZATION: import('zod').ZodString;
178
+ }, "strip", import('zod').ZodTypeAny, {
120
179
  AUTHORIZATION: string;
121
180
  }, {
122
181
  AUTHORIZATION: string;
123
- }>]>, z.ZodUnion<[z.ZodObject<{
124
- 'X-API-Token': z.ZodString;
125
- }, "strip", z.ZodTypeAny, {
182
+ }>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
183
+ 'X-API-Token': import('zod').ZodString;
184
+ }, "strip", import('zod').ZodTypeAny, {
126
185
  'X-API-Token': string;
127
186
  }, {
128
187
  'X-API-Token': string;
129
- }>, z.ZodObject<{
130
- 'X-Api-Token': z.ZodString;
131
- }, "strip", z.ZodTypeAny, {
188
+ }>, import('zod').ZodObject<{
189
+ 'X-Api-Token': import('zod').ZodString;
190
+ }, "strip", import('zod').ZodTypeAny, {
132
191
  'X-Api-Token': string;
133
192
  }, {
134
193
  'X-Api-Token': string;
135
- }>, z.ZodObject<{
136
- 'x-api-token': z.ZodString;
137
- }, "strip", z.ZodTypeAny, {
194
+ }>, import('zod').ZodObject<{
195
+ 'x-api-token': import('zod').ZodString;
196
+ }, "strip", import('zod').ZodTypeAny, {
138
197
  'x-api-token': string;
139
198
  }, {
140
199
  'x-api-token': string;
141
- }>, z.ZodObject<{
142
- 'X-API-TOKEN': z.ZodString;
143
- }, "strip", z.ZodTypeAny, {
200
+ }>, import('zod').ZodObject<{
201
+ 'X-API-TOKEN': import('zod').ZodString;
202
+ }, "strip", import('zod').ZodTypeAny, {
144
203
  'X-API-TOKEN': string;
145
204
  }, {
146
205
  'X-API-TOKEN': string;
147
- }>]>]>, z.ZodUnion<[z.ZodObject<{
148
- 'X-Lokalise-Plugin': z.ZodString;
149
- }, "strip", z.ZodTypeAny, {
206
+ }>]>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
207
+ 'X-Lokalise-Plugin': import('zod').ZodString;
208
+ }, "strip", import('zod').ZodTypeAny, {
150
209
  'X-Lokalise-Plugin': string;
151
210
  }, {
152
211
  'X-Lokalise-Plugin': string;
153
- }>, z.ZodObject<{
154
- 'x-lokalise-plugin': z.ZodString;
155
- }, "strip", z.ZodTypeAny, {
212
+ }>, import('zod').ZodObject<{
213
+ 'x-lokalise-plugin': import('zod').ZodString;
214
+ }, "strip", import('zod').ZodTypeAny, {
156
215
  'x-lokalise-plugin': string;
157
216
  }, {
158
217
  'x-lokalise-plugin': string;
159
- }>, z.ZodObject<{
160
- 'X-LOKALISE-PLUGIN': z.ZodString;
161
- }, "strip", z.ZodTypeAny, {
218
+ }>, import('zod').ZodObject<{
219
+ 'X-LOKALISE-PLUGIN': import('zod').ZodString;
220
+ }, "strip", import('zod').ZodTypeAny, {
162
221
  'X-LOKALISE-PLUGIN': string;
163
222
  }, {
164
223
  'X-LOKALISE-PLUGIN': string;
@@ -15,8 +15,8 @@ export declare function useCreateProjectMutation<T>(wretchClient: Wretch<T>, hea
15
15
  created_at_timestamp: number;
16
16
  team_id: number;
17
17
  description: string;
18
- project_id: string;
19
18
  uuid: string;
19
+ project_id: string;
20
20
  project_type: "localization_files" | "paged_documents" | "marketing";
21
21
  created_by: number;
22
22
  created_by_email: string;
@@ -30,8 +30,8 @@ export declare function useListProjectsQuery<T>(wretchClient: Wretch<T>, headers
30
30
  created_at_timestamp: number;
31
31
  team_id: number;
32
32
  description: string;
33
- project_id: string;
34
33
  uuid: string;
34
+ project_id: string;
35
35
  project_type: "localization_files" | "paged_documents" | "marketing";
36
36
  created_by: number;
37
37
  created_by_email: string;
@@ -1,12 +1,25 @@
1
1
  import { HeaderBuilder } from '../../auth/core/headers/headerBuilder';
2
- import { ContributorApiBaseHeader, RetrieveContributorsResponse } from '../types/contributorTypes';
2
+ import { ContributorApiBaseHeader, RetrieveContributorPathParams, RetrieveContributorResponse } from '../types/contributorTypes';
3
3
  import { ApiQueryOverrides } from '../../../utils/types/apiQueryOverrides';
4
4
  import { Wretch } from 'wretch';
5
5
  /**
6
6
  * Factory for creating keys for the useRetrieveContributorQuery hook
7
7
  */
8
8
  export declare const retrieveContributorKeys: {
9
- projectUserKey: (projectId: string, userId: number) => readonly ["RetrieveContributor", string, number];
9
+ projectUserKey: (params: RetrieveContributorPathParams) => readonly ["RetrieveContributor", {
10
+ project: {
11
+ uuid: string;
12
+ } | {
13
+ id: string;
14
+ };
15
+ contributor: {
16
+ authenticatedUser: true;
17
+ } | {
18
+ uuid: string;
19
+ } | {
20
+ id: number;
21
+ };
22
+ }];
10
23
  };
11
24
  /**
12
25
  * A react-router wrapper about the retrieveContributor public API endpoint
@@ -15,8 +28,8 @@ export declare const retrieveContributorKeys: {
15
28
  * @param headers - A header builder instance to resolve headers for the request.
16
29
  * @param overrides - Additional options to pass to the query.
17
30
  */
18
- export declare const useRetrieveContributorQuery: <T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ContributorApiBaseHeader>, overrides: ApiQueryOverrides<RetrieveContributorsResponse, typeof retrieveContributorKeys>) => import('@tanstack/react-query').UseQueryResult<{
19
- contributors: {
31
+ export declare const useRetrieveContributorQuery: <T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ContributorApiBaseHeader>, overrides: ApiQueryOverrides<RetrieveContributorResponse, typeof retrieveContributorKeys>) => import('@tanstack/react-query').UseQueryResult<{
32
+ contributor: {
20
33
  email: string;
21
34
  user_id: number;
22
35
  fullname: string;
@@ -31,6 +44,6 @@ export declare const useRetrieveContributorQuery: <T>(wretchClient: Wretch<T>, h
31
44
  }[];
32
45
  is_admin: boolean;
33
46
  is_reviewer: boolean;
34
- }[];
47
+ };
35
48
  project_id: string;
36
49
  }, undefined>;
@@ -21,8 +21,8 @@ export declare function useRetrieveProjectQuery<T>(wretchClient: Wretch<T>, head
21
21
  created_at_timestamp: number;
22
22
  team_id: number;
23
23
  description: string;
24
- project_id: string;
25
24
  uuid: string;
25
+ project_id: string;
26
26
  project_type: "localization_files" | "paged_documents" | "marketing";
27
27
  created_by: number;
28
28
  created_by_email: string;
@@ -16,8 +16,8 @@ export declare function useUpdateProjectMutation<T>(wretchClient: Wretch<T>, hea
16
16
  created_at_timestamp: number;
17
17
  team_id: number;
18
18
  description: string;
19
- project_id: string;
20
19
  uuid: string;
20
+ project_id: string;
21
21
  project_type: "localization_files" | "paged_documents" | "marketing";
22
22
  created_by: number;
23
23
  created_by_email: string;
@@ -225,8 +225,8 @@ export declare const createProject: import('@lokalise/universal-ts-utils/node').
225
225
  created_at_timestamp: number;
226
226
  team_id: number;
227
227
  description: string;
228
- project_id: string;
229
228
  uuid: string;
229
+ project_id: string;
230
230
  project_type: "localization_files" | "paged_documents" | "marketing";
231
231
  created_by: number;
232
232
  created_by_email: string;
@@ -281,8 +281,8 @@ export declare const createProject: import('@lokalise/universal-ts-utils/node').
281
281
  created_at_timestamp: number;
282
282
  team_id: number;
283
283
  description: string;
284
- project_id: string;
285
284
  uuid: string;
285
+ project_id: string;
286
286
  project_type: "localization_files" | "paged_documents" | "marketing";
287
287
  created_by: number;
288
288
  created_by_email: string;
@@ -578,8 +578,8 @@ export declare const listProjects: import('@lokalise/universal-ts-utils/node').G
578
578
  created_at_timestamp: number;
579
579
  team_id: number;
580
580
  description: string;
581
- project_id: string;
582
581
  uuid: string;
582
+ project_id: string;
583
583
  project_type: "localization_files" | "paged_documents" | "marketing";
584
584
  created_by: number;
585
585
  created_by_email: string;
@@ -634,8 +634,8 @@ export declare const listProjects: import('@lokalise/universal-ts-utils/node').G
634
634
  created_at_timestamp: number;
635
635
  team_id: number;
636
636
  description: string;
637
- project_id: string;
638
637
  uuid: string;
638
+ project_id: string;
639
639
  project_type: "localization_files" | "paged_documents" | "marketing";
640
640
  created_by: number;
641
641
  created_by_email: string;
@@ -692,8 +692,8 @@ export declare const listProjects: import('@lokalise/universal-ts-utils/node').G
692
692
  created_at_timestamp: number;
693
693
  team_id: number;
694
694
  description: string;
695
- project_id: string;
696
695
  uuid: string;
696
+ project_id: string;
697
697
  project_type: "localization_files" | "paged_documents" | "marketing";
698
698
  created_by: number;
699
699
  created_by_email: string;
@@ -750,8 +750,8 @@ export declare const listProjects: import('@lokalise/universal-ts-utils/node').G
750
750
  created_at_timestamp: number;
751
751
  team_id: number;
752
752
  description: string;
753
- project_id: string;
754
753
  uuid: string;
754
+ project_id: string;
755
755
  project_type: "localization_files" | "paged_documents" | "marketing";
756
756
  created_by: number;
757
757
  created_by_email: string;
@@ -1073,8 +1073,8 @@ export declare const retrieveProject: import('@lokalise/universal-ts-utils/node'
1073
1073
  created_at_timestamp: number;
1074
1074
  team_id: number;
1075
1075
  description: string;
1076
- project_id: string;
1077
1076
  uuid: string;
1077
+ project_id: string;
1078
1078
  project_type: "localization_files" | "paged_documents" | "marketing";
1079
1079
  created_by: number;
1080
1080
  created_by_email: string;
@@ -1129,8 +1129,8 @@ export declare const retrieveProject: import('@lokalise/universal-ts-utils/node'
1129
1129
  created_at_timestamp: number;
1130
1130
  team_id: number;
1131
1131
  description: string;
1132
- project_id: string;
1133
1132
  uuid: string;
1133
+ project_id: string;
1134
1134
  project_type: "localization_files" | "paged_documents" | "marketing";
1135
1135
  created_by: number;
1136
1136
  created_by_email: string;
@@ -1442,8 +1442,8 @@ export declare const updateProject: import('@lokalise/universal-ts-utils/node').
1442
1442
  created_at_timestamp: number;
1443
1443
  team_id: number;
1444
1444
  description: string;
1445
- project_id: string;
1446
1445
  uuid: string;
1446
+ project_id: string;
1447
1447
  project_type: "localization_files" | "paged_documents" | "marketing";
1448
1448
  created_by: number;
1449
1449
  created_by_email: string;
@@ -1498,8 +1498,8 @@ export declare const updateProject: import('@lokalise/universal-ts-utils/node').
1498
1498
  created_at_timestamp: number;
1499
1499
  team_id: number;
1500
1500
  description: string;
1501
- project_id: string;
1502
1501
  uuid: string;
1502
+ project_id: string;
1503
1503
  project_type: "localization_files" | "paged_documents" | "marketing";
1504
1504
  created_by: number;
1505
1505
  created_by_email: string;
@@ -1,20 +1,19 @@
1
- import { z } from 'zod';
2
1
  /**
3
2
  * Public API router definition for getting the details of a team user
4
3
  */
5
4
  export declare const getTeamUser: import('@lokalise/universal-ts-utils/node').GetRouteDefinition<{
6
5
  userId: number;
7
6
  teamId: number;
8
- }, z.ZodObject<{
9
- team_id: z.ZodNumber;
10
- team_user: z.ZodObject<{
11
- user_id: z.ZodNumber;
12
- email: z.ZodString;
13
- fullname: z.ZodString;
14
- created_at: z.ZodString;
15
- created_at_timestamp: z.ZodNumber;
16
- role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
17
- }, "strip", z.ZodTypeAny, {
7
+ }, import('zod').ZodObject<{
8
+ team_id: import('zod').ZodNumber;
9
+ team_user: import('zod').ZodObject<{
10
+ user_id: import('zod').ZodNumber;
11
+ email: import('zod').ZodString;
12
+ fullname: import('zod').ZodString;
13
+ created_at: import('zod').ZodString;
14
+ created_at_timestamp: import('zod').ZodNumber;
15
+ role: import('zod').ZodUnion<[import('zod').ZodLiteral<"owner">, import('zod').ZodLiteral<"admin">, import('zod').ZodLiteral<"biller">, import('zod').ZodLiteral<"member">]>;
16
+ }, "strip", import('zod').ZodTypeAny, {
18
17
  role: "member" | "admin" | "biller" | "owner";
19
18
  email: string;
20
19
  user_id: number;
@@ -29,7 +28,7 @@ export declare const getTeamUser: import('@lokalise/universal-ts-utils/node').Ge
29
28
  created_at: string;
30
29
  created_at_timestamp: number;
31
30
  }>;
32
- }, "strip", z.ZodTypeAny, {
31
+ }, "strip", import('zod').ZodTypeAny, {
33
32
  team_id: number;
34
33
  team_user: {
35
34
  role: "member" | "admin" | "biller" | "owner";
@@ -49,66 +48,66 @@ export declare const getTeamUser: import('@lokalise/universal-ts-utils/node').Ge
49
48
  created_at: string;
50
49
  created_at_timestamp: number;
51
50
  };
52
- }>, z.ZodObject<{
53
- teamId: z.ZodNumber;
54
- userId: z.ZodNumber;
55
- }, "strip", z.ZodTypeAny, {
51
+ }>, import('zod').ZodObject<{
52
+ teamId: import('zod').ZodNumber;
53
+ userId: import('zod').ZodNumber;
54
+ }, "strip", import('zod').ZodTypeAny, {
56
55
  userId: number;
57
56
  teamId: number;
58
57
  }, {
59
58
  userId: number;
60
59
  teamId: number;
61
- }>, undefined, z.ZodIntersection<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
62
- authorization: z.ZodString;
63
- }, "strip", z.ZodTypeAny, {
60
+ }>, undefined, import('zod').ZodIntersection<import('zod').ZodUnion<[import('zod').ZodUnion<[import('zod').ZodObject<{
61
+ authorization: import('zod').ZodString;
62
+ }, "strip", import('zod').ZodTypeAny, {
64
63
  authorization: string;
65
64
  }, {
66
65
  authorization: string;
67
- }>, z.ZodObject<{
68
- AUTHORIZATION: z.ZodString;
69
- }, "strip", z.ZodTypeAny, {
66
+ }>, import('zod').ZodObject<{
67
+ AUTHORIZATION: import('zod').ZodString;
68
+ }, "strip", import('zod').ZodTypeAny, {
70
69
  AUTHORIZATION: string;
71
70
  }, {
72
71
  AUTHORIZATION: string;
73
- }>]>, z.ZodUnion<[z.ZodObject<{
74
- 'X-API-Token': z.ZodString;
75
- }, "strip", z.ZodTypeAny, {
72
+ }>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
73
+ 'X-API-Token': import('zod').ZodString;
74
+ }, "strip", import('zod').ZodTypeAny, {
76
75
  'X-API-Token': string;
77
76
  }, {
78
77
  'X-API-Token': string;
79
- }>, z.ZodObject<{
80
- 'X-Api-Token': z.ZodString;
81
- }, "strip", z.ZodTypeAny, {
78
+ }>, import('zod').ZodObject<{
79
+ 'X-Api-Token': import('zod').ZodString;
80
+ }, "strip", import('zod').ZodTypeAny, {
82
81
  'X-Api-Token': string;
83
82
  }, {
84
83
  'X-Api-Token': string;
85
- }>, z.ZodObject<{
86
- 'x-api-token': z.ZodString;
87
- }, "strip", z.ZodTypeAny, {
84
+ }>, import('zod').ZodObject<{
85
+ 'x-api-token': import('zod').ZodString;
86
+ }, "strip", import('zod').ZodTypeAny, {
88
87
  'x-api-token': string;
89
88
  }, {
90
89
  'x-api-token': string;
91
- }>, z.ZodObject<{
92
- 'X-API-TOKEN': z.ZodString;
93
- }, "strip", z.ZodTypeAny, {
90
+ }>, import('zod').ZodObject<{
91
+ 'X-API-TOKEN': import('zod').ZodString;
92
+ }, "strip", import('zod').ZodTypeAny, {
94
93
  'X-API-TOKEN': string;
95
94
  }, {
96
95
  'X-API-TOKEN': string;
97
- }>]>]>, z.ZodUnion<[z.ZodObject<{
98
- 'X-Lokalise-Plugin': z.ZodString;
99
- }, "strip", z.ZodTypeAny, {
96
+ }>]>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
97
+ 'X-Lokalise-Plugin': import('zod').ZodString;
98
+ }, "strip", import('zod').ZodTypeAny, {
100
99
  'X-Lokalise-Plugin': string;
101
100
  }, {
102
101
  'X-Lokalise-Plugin': string;
103
- }>, z.ZodObject<{
104
- 'x-lokalise-plugin': z.ZodString;
105
- }, "strip", z.ZodTypeAny, {
102
+ }>, import('zod').ZodObject<{
103
+ 'x-lokalise-plugin': import('zod').ZodString;
104
+ }, "strip", import('zod').ZodTypeAny, {
106
105
  'x-lokalise-plugin': string;
107
106
  }, {
108
107
  'x-lokalise-plugin': string;
109
- }>, z.ZodObject<{
110
- 'X-LOKALISE-PLUGIN': z.ZodString;
111
- }, "strip", z.ZodTypeAny, {
108
+ }>, import('zod').ZodObject<{
109
+ 'X-LOKALISE-PLUGIN': import('zod').ZodString;
110
+ }, "strip", import('zod').ZodTypeAny, {
112
111
  'X-LOKALISE-PLUGIN': string;
113
112
  }, {
114
113
  'X-LOKALISE-PLUGIN': string;