@lokalise/workspaces-api-schemas 3.3.0 → 3.5.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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/routeContracts/collaborationContracts.d.ts +26 -26
- package/dist/routeContracts/contributorsContracts.d.ts +347 -347
- package/dist/routeContracts/languagesContracts.d.ts +98 -98
- package/dist/routeContracts/permissionTemplatesContracts.d.ts +32 -32
- package/dist/routeContracts/projectsContracts.d.ts +404 -404
- package/dist/routeContracts/tagsContracts.d.ts +29 -0
- package/dist/routeContracts/tagsContracts.d.ts.map +1 -0
- package/dist/routeContracts/tagsContracts.js +14 -0
- package/dist/routeContracts/tagsContracts.js.map +1 -0
- package/dist/routeContracts/teamContracts.d.ts +86 -86
- package/dist/routeContracts/teamUsersContracts.d.ts +87 -87
- package/package.json +2 -2
|
@@ -1,408 +1,408 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Public API router definition for retrieving a list of contributors
|
|
3
3
|
*/
|
|
4
|
-
export declare const listContributors: import("@lokalise/api-contracts").GetRouteDefinition<import("zod
|
|
5
|
-
project_id: import("zod
|
|
6
|
-
contributors: import("zod
|
|
7
|
-
user_id: import("zod
|
|
8
|
-
email: import("zod
|
|
9
|
-
fullname: import("zod
|
|
10
|
-
avatar_url: import("zod
|
|
11
|
-
created_at: import("zod
|
|
12
|
-
created_at_timestamp: import("zod
|
|
13
|
-
languages: import("zod
|
|
14
|
-
lang_id: import("zod
|
|
15
|
-
lang_iso: import("zod
|
|
16
|
-
lang_name: import("zod
|
|
17
|
-
is_writable: import("zod
|
|
4
|
+
export declare const listContributors: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodObject<{
|
|
5
|
+
project_id: import("zod").ZodString;
|
|
6
|
+
contributors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7
|
+
user_id: import("zod").ZodNumber;
|
|
8
|
+
email: import("zod").ZodEmail;
|
|
9
|
+
fullname: import("zod").ZodString;
|
|
10
|
+
avatar_url: import("zod").ZodString;
|
|
11
|
+
created_at: import("zod").ZodString;
|
|
12
|
+
created_at_timestamp: import("zod").ZodNumber;
|
|
13
|
+
languages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
14
|
+
lang_id: import("zod").ZodNumber;
|
|
15
|
+
lang_iso: import("zod").ZodString;
|
|
16
|
+
lang_name: import("zod").ZodString;
|
|
17
|
+
is_writable: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<0>, import("zod").ZodLiteral<1>, import("zod").ZodBoolean]>;
|
|
18
18
|
}, import("zod/v4/core").$strip>>;
|
|
19
|
-
admin_rights: import("zod
|
|
20
|
-
permissions: import("zod
|
|
21
|
-
role_id: import("zod
|
|
22
|
-
is_owner: import("zod
|
|
23
|
-
is_admin: import("zod
|
|
24
|
-
is_reviewer: import("zod
|
|
25
|
-
is_pending: import("zod
|
|
26
|
-
is_reinvited: import("zod
|
|
19
|
+
admin_rights: import("zod").ZodArray<import("zod").ZodString>;
|
|
20
|
+
permissions: import("zod").ZodArray<import("zod").ZodString>;
|
|
21
|
+
role_id: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
22
|
+
is_owner: import("zod").ZodBoolean;
|
|
23
|
+
is_admin: import("zod").ZodBoolean;
|
|
24
|
+
is_reviewer: import("zod").ZodBoolean;
|
|
25
|
+
is_pending: import("zod").ZodBoolean;
|
|
26
|
+
is_reinvited: import("zod").ZodBoolean;
|
|
27
27
|
}, import("zod/v4/core").$strip>>;
|
|
28
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
29
|
-
project: import("zod
|
|
30
|
-
uuid: import("zod
|
|
31
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
32
|
-
id: import("zod
|
|
28
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
29
|
+
project: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
30
|
+
uuid: import("zod").ZodGUID;
|
|
31
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
32
|
+
id: import("zod").ZodString;
|
|
33
33
|
}, import("zod/v4/core").$strip>]>;
|
|
34
|
-
}, import("zod/v4/core").$strip>, undefined, import("zod
|
|
35
|
-
authorization: import("zod
|
|
36
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
37
|
-
AUTHORIZATION: import("zod
|
|
38
|
-
}, import("zod/v4/core").$strip>]>, import("zod
|
|
39
|
-
'X-API-Token': import("zod
|
|
40
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
41
|
-
'X-Api-Token': import("zod
|
|
42
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
43
|
-
'x-api-token': import("zod
|
|
44
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
45
|
-
'X-API-TOKEN': import("zod
|
|
46
|
-
}, import("zod/v4/core").$strip>]>]>, import("zod
|
|
47
|
-
'X-Lokalise-Plugin': import("zod
|
|
48
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
49
|
-
'x-lokalise-plugin': import("zod
|
|
50
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
51
|
-
'X-LOKALISE-PLUGIN': import("zod
|
|
34
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodIntersection<import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
35
|
+
authorization: import("zod").ZodString;
|
|
36
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
37
|
+
AUTHORIZATION: import("zod").ZodString;
|
|
38
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
39
|
+
'X-API-Token': import("zod").ZodString;
|
|
40
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
41
|
+
'X-Api-Token': import("zod").ZodString;
|
|
42
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
43
|
+
'x-api-token': import("zod").ZodString;
|
|
44
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
45
|
+
'X-API-TOKEN': import("zod").ZodString;
|
|
46
|
+
}, import("zod/v4/core").$strip>]>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
47
|
+
'X-Lokalise-Plugin': import("zod").ZodString;
|
|
48
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
49
|
+
'x-lokalise-plugin': import("zod").ZodString;
|
|
50
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
51
|
+
'X-LOKALISE-PLUGIN': import("zod").ZodString;
|
|
52
52
|
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
53
53
|
/**
|
|
54
54
|
* Public API router definition for retrieving a project contributor
|
|
55
55
|
*/
|
|
56
|
-
export declare const retrieveContributor: import("@lokalise/api-contracts").GetRouteDefinition<import("zod
|
|
57
|
-
project_id: import("zod
|
|
58
|
-
contributor: import("zod
|
|
59
|
-
user_id: import("zod
|
|
60
|
-
email: import("zod
|
|
61
|
-
fullname: import("zod
|
|
62
|
-
avatar_url: import("zod
|
|
63
|
-
created_at: import("zod
|
|
64
|
-
created_at_timestamp: import("zod
|
|
65
|
-
languages: import("zod
|
|
66
|
-
lang_id: import("zod
|
|
67
|
-
lang_iso: import("zod
|
|
68
|
-
lang_name: import("zod
|
|
69
|
-
is_writable: import("zod
|
|
56
|
+
export declare const retrieveContributor: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodObject<{
|
|
57
|
+
project_id: import("zod").ZodString;
|
|
58
|
+
contributor: import("zod").ZodObject<{
|
|
59
|
+
user_id: import("zod").ZodNumber;
|
|
60
|
+
email: import("zod").ZodEmail;
|
|
61
|
+
fullname: import("zod").ZodString;
|
|
62
|
+
avatar_url: import("zod").ZodString;
|
|
63
|
+
created_at: import("zod").ZodString;
|
|
64
|
+
created_at_timestamp: import("zod").ZodNumber;
|
|
65
|
+
languages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
66
|
+
lang_id: import("zod").ZodNumber;
|
|
67
|
+
lang_iso: import("zod").ZodString;
|
|
68
|
+
lang_name: import("zod").ZodString;
|
|
69
|
+
is_writable: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<0>, import("zod").ZodLiteral<1>, import("zod").ZodBoolean]>;
|
|
70
70
|
}, import("zod/v4/core").$strip>>;
|
|
71
|
-
admin_rights: import("zod
|
|
72
|
-
permissions: import("zod
|
|
73
|
-
role_id: import("zod
|
|
74
|
-
is_owner: import("zod
|
|
75
|
-
is_admin: import("zod
|
|
76
|
-
is_reviewer: import("zod
|
|
77
|
-
is_pending: import("zod
|
|
78
|
-
is_reinvited: import("zod
|
|
71
|
+
admin_rights: import("zod").ZodArray<import("zod").ZodString>;
|
|
72
|
+
permissions: import("zod").ZodArray<import("zod").ZodString>;
|
|
73
|
+
role_id: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
74
|
+
is_owner: import("zod").ZodBoolean;
|
|
75
|
+
is_admin: import("zod").ZodBoolean;
|
|
76
|
+
is_reviewer: import("zod").ZodBoolean;
|
|
77
|
+
is_pending: import("zod").ZodBoolean;
|
|
78
|
+
is_reinvited: import("zod").ZodBoolean;
|
|
79
79
|
}, import("zod/v4/core").$strip>;
|
|
80
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
81
|
-
project: import("zod
|
|
82
|
-
uuid: import("zod
|
|
83
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
84
|
-
id: import("zod
|
|
80
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
81
|
+
project: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
82
|
+
uuid: import("zod").ZodGUID;
|
|
83
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
84
|
+
id: import("zod").ZodString;
|
|
85
85
|
}, import("zod/v4/core").$strip>]>;
|
|
86
|
-
contributor: import("zod
|
|
87
|
-
authenticatedUser: import("zod
|
|
88
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
89
|
-
uuid: import("zod
|
|
90
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
91
|
-
id: import("zod
|
|
86
|
+
contributor: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
87
|
+
authenticatedUser: import("zod").ZodLiteral<true>;
|
|
88
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
89
|
+
uuid: import("zod").ZodGUID;
|
|
90
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
91
|
+
id: import("zod").ZodNumber;
|
|
92
92
|
}, import("zod/v4/core").$strip>]>;
|
|
93
|
-
}, import("zod/v4/core").$strip>, undefined, import("zod
|
|
94
|
-
authorization: import("zod
|
|
95
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
96
|
-
AUTHORIZATION: import("zod
|
|
97
|
-
}, import("zod/v4/core").$strip>]>, import("zod
|
|
98
|
-
'X-API-Token': import("zod
|
|
99
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
100
|
-
'X-Api-Token': import("zod
|
|
101
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
102
|
-
'x-api-token': import("zod
|
|
103
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
104
|
-
'X-API-TOKEN': import("zod
|
|
105
|
-
}, import("zod/v4/core").$strip>]>]>, import("zod
|
|
106
|
-
'X-Lokalise-Plugin': import("zod
|
|
107
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
108
|
-
'x-lokalise-plugin': import("zod
|
|
109
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
110
|
-
'X-LOKALISE-PLUGIN': import("zod
|
|
93
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodIntersection<import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
94
|
+
authorization: import("zod").ZodString;
|
|
95
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
96
|
+
AUTHORIZATION: import("zod").ZodString;
|
|
97
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
98
|
+
'X-API-Token': import("zod").ZodString;
|
|
99
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
100
|
+
'X-Api-Token': import("zod").ZodString;
|
|
101
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
102
|
+
'x-api-token': import("zod").ZodString;
|
|
103
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
104
|
+
'X-API-TOKEN': import("zod").ZodString;
|
|
105
|
+
}, import("zod/v4/core").$strip>]>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
106
|
+
'X-Lokalise-Plugin': import("zod").ZodString;
|
|
107
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
108
|
+
'x-lokalise-plugin': import("zod").ZodString;
|
|
109
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
110
|
+
'X-LOKALISE-PLUGIN': import("zod").ZodString;
|
|
111
111
|
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
112
112
|
/**
|
|
113
113
|
* Public API router definition for deleting a project contributor
|
|
114
114
|
*/
|
|
115
|
-
export declare const deleteContributor: import("@lokalise/api-contracts").DeleteRouteDefinition<import("zod
|
|
116
|
-
project_id: import("zod
|
|
117
|
-
contributor_deleted: import("zod
|
|
118
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
119
|
-
project: import("zod
|
|
120
|
-
uuid: import("zod
|
|
121
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
122
|
-
id: import("zod
|
|
115
|
+
export declare const deleteContributor: import("@lokalise/api-contracts").DeleteRouteDefinition<import("zod").ZodObject<{
|
|
116
|
+
project_id: import("zod").ZodString;
|
|
117
|
+
contributor_deleted: import("zod").ZodBoolean;
|
|
118
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
119
|
+
project: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
120
|
+
uuid: import("zod").ZodGUID;
|
|
121
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
122
|
+
id: import("zod").ZodString;
|
|
123
123
|
}, import("zod/v4/core").$strip>]>;
|
|
124
|
-
contributor: import("zod
|
|
125
|
-
uuid: import("zod
|
|
126
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
127
|
-
id: import("zod
|
|
124
|
+
contributor: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
125
|
+
uuid: import("zod").ZodGUID;
|
|
126
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
127
|
+
id: import("zod").ZodNumber;
|
|
128
128
|
}, import("zod/v4/core").$strip>]>;
|
|
129
|
-
}, import("zod/v4/core").$strip>, undefined, import("zod
|
|
130
|
-
authorization: import("zod
|
|
131
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
132
|
-
AUTHORIZATION: import("zod
|
|
133
|
-
}, import("zod/v4/core").$strip>]>, import("zod
|
|
134
|
-
'X-API-Token': import("zod
|
|
135
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
136
|
-
'X-Api-Token': import("zod
|
|
137
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
138
|
-
'x-api-token': import("zod
|
|
139
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
140
|
-
'X-API-TOKEN': import("zod
|
|
141
|
-
}, import("zod/v4/core").$strip>]>]>, import("zod
|
|
142
|
-
'X-Lokalise-Plugin': import("zod
|
|
143
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
144
|
-
'x-lokalise-plugin': import("zod
|
|
145
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
146
|
-
'X-LOKALISE-PLUGIN': import("zod
|
|
129
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodIntersection<import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
130
|
+
authorization: import("zod").ZodString;
|
|
131
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
132
|
+
AUTHORIZATION: import("zod").ZodString;
|
|
133
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
134
|
+
'X-API-Token': import("zod").ZodString;
|
|
135
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
136
|
+
'X-Api-Token': import("zod").ZodString;
|
|
137
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
138
|
+
'x-api-token': import("zod").ZodString;
|
|
139
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
140
|
+
'X-API-TOKEN': import("zod").ZodString;
|
|
141
|
+
}, import("zod/v4/core").$strip>]>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
142
|
+
'X-Lokalise-Plugin': import("zod").ZodString;
|
|
143
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
144
|
+
'x-lokalise-plugin': import("zod").ZodString;
|
|
145
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
146
|
+
'X-LOKALISE-PLUGIN': import("zod").ZodString;
|
|
147
147
|
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
148
148
|
/**
|
|
149
149
|
* Public API router definition for adding project contributors
|
|
150
150
|
*/
|
|
151
|
-
export declare const addContributors: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod
|
|
152
|
-
contributors: import("zod
|
|
153
|
-
email: import("zod
|
|
154
|
-
fullname: import("zod
|
|
155
|
-
is_admin: import("zod
|
|
156
|
-
is_reviewer: import("zod
|
|
157
|
-
role_id: import("zod
|
|
158
|
-
admin_rights: import("zod
|
|
159
|
-
languages: import("zod
|
|
160
|
-
lang_iso: import("zod
|
|
161
|
-
is_writable: import("zod
|
|
151
|
+
export declare const addContributors: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod").ZodObject<{
|
|
152
|
+
contributors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
153
|
+
email: import("zod").ZodEmail;
|
|
154
|
+
fullname: import("zod").ZodOptional<import("zod").ZodString>;
|
|
155
|
+
is_admin: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
156
|
+
is_reviewer: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
157
|
+
role_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
158
|
+
admin_rights: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
159
|
+
languages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
160
|
+
lang_iso: import("zod").ZodString;
|
|
161
|
+
is_writable: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
162
162
|
}, import("zod/v4/core").$strip>>;
|
|
163
163
|
}, import("zod/v4/core").$strip>>;
|
|
164
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
165
|
-
project_id: import("zod
|
|
166
|
-
project_uuid: import("zod
|
|
167
|
-
contributors: import("zod
|
|
168
|
-
user_id: import("zod
|
|
169
|
-
email: import("zod
|
|
170
|
-
fullname: import("zod
|
|
171
|
-
avatar_url: import("zod
|
|
172
|
-
created_at: import("zod
|
|
173
|
-
created_at_timestamp: import("zod
|
|
174
|
-
languages: import("zod
|
|
175
|
-
lang_id: import("zod
|
|
176
|
-
lang_iso: import("zod
|
|
177
|
-
lang_name: import("zod
|
|
178
|
-
is_writable: import("zod
|
|
164
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
165
|
+
project_id: import("zod").ZodString;
|
|
166
|
+
project_uuid: import("zod").ZodString;
|
|
167
|
+
contributors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
168
|
+
user_id: import("zod").ZodNumber;
|
|
169
|
+
email: import("zod").ZodEmail;
|
|
170
|
+
fullname: import("zod").ZodString;
|
|
171
|
+
avatar_url: import("zod").ZodString;
|
|
172
|
+
created_at: import("zod").ZodString;
|
|
173
|
+
created_at_timestamp: import("zod").ZodNumber;
|
|
174
|
+
languages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
175
|
+
lang_id: import("zod").ZodNumber;
|
|
176
|
+
lang_iso: import("zod").ZodString;
|
|
177
|
+
lang_name: import("zod").ZodString;
|
|
178
|
+
is_writable: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<0>, import("zod").ZodLiteral<1>, import("zod").ZodBoolean]>;
|
|
179
179
|
}, import("zod/v4/core").$strip>>;
|
|
180
|
-
admin_rights: import("zod
|
|
181
|
-
permissions: import("zod
|
|
182
|
-
role_id: import("zod
|
|
183
|
-
is_owner: import("zod
|
|
184
|
-
is_admin: import("zod
|
|
185
|
-
is_reviewer: import("zod
|
|
186
|
-
is_pending: import("zod
|
|
187
|
-
is_reinvited: import("zod
|
|
180
|
+
admin_rights: import("zod").ZodArray<import("zod").ZodString>;
|
|
181
|
+
permissions: import("zod").ZodArray<import("zod").ZodString>;
|
|
182
|
+
role_id: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
183
|
+
is_owner: import("zod").ZodBoolean;
|
|
184
|
+
is_admin: import("zod").ZodBoolean;
|
|
185
|
+
is_reviewer: import("zod").ZodBoolean;
|
|
186
|
+
is_pending: import("zod").ZodBoolean;
|
|
187
|
+
is_reinvited: import("zod").ZodBoolean;
|
|
188
188
|
}, import("zod/v4/core").$strip>>;
|
|
189
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
190
|
-
project: import("zod
|
|
191
|
-
uuid: import("zod
|
|
192
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
193
|
-
id: import("zod
|
|
189
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
190
|
+
project: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
191
|
+
uuid: import("zod").ZodGUID;
|
|
192
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
193
|
+
id: import("zod").ZodString;
|
|
194
194
|
}, import("zod/v4/core").$strip>]>;
|
|
195
|
-
}, import("zod/v4/core").$strip>, undefined, import("zod
|
|
196
|
-
authorization: import("zod
|
|
197
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
198
|
-
AUTHORIZATION: import("zod
|
|
199
|
-
}, import("zod/v4/core").$strip>]>, import("zod
|
|
200
|
-
'X-API-Token': import("zod
|
|
201
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
202
|
-
'X-Api-Token': import("zod
|
|
203
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
204
|
-
'x-api-token': import("zod
|
|
205
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
206
|
-
'X-API-TOKEN': import("zod
|
|
207
|
-
}, import("zod/v4/core").$strip>]>]>, import("zod
|
|
208
|
-
'X-Lokalise-Plugin': import("zod
|
|
209
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
210
|
-
'x-lokalise-plugin': import("zod
|
|
211
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
212
|
-
'X-LOKALISE-PLUGIN': import("zod
|
|
195
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodIntersection<import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
196
|
+
authorization: import("zod").ZodString;
|
|
197
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
198
|
+
AUTHORIZATION: import("zod").ZodString;
|
|
199
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
200
|
+
'X-API-Token': import("zod").ZodString;
|
|
201
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
202
|
+
'X-Api-Token': import("zod").ZodString;
|
|
203
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
204
|
+
'x-api-token': import("zod").ZodString;
|
|
205
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
206
|
+
'X-API-TOKEN': import("zod").ZodString;
|
|
207
|
+
}, import("zod/v4/core").$strip>]>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
208
|
+
'X-Lokalise-Plugin': import("zod").ZodString;
|
|
209
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
210
|
+
'x-lokalise-plugin': import("zod").ZodString;
|
|
211
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
212
|
+
'X-LOKALISE-PLUGIN': import("zod").ZodString;
|
|
213
213
|
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
214
214
|
/**
|
|
215
215
|
* Public API router definition for updating project contributors
|
|
216
216
|
*/
|
|
217
|
-
export declare const updateContributors: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod
|
|
218
|
-
is_admin: import("zod
|
|
219
|
-
is_reviewer: import("zod
|
|
220
|
-
role_id: import("zod
|
|
221
|
-
admin_rights: import("zod
|
|
222
|
-
languages: import("zod
|
|
223
|
-
lang_iso: import("zod
|
|
224
|
-
is_writable: import("zod
|
|
217
|
+
export declare const updateContributors: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod").ZodObject<{
|
|
218
|
+
is_admin: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
219
|
+
is_reviewer: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
220
|
+
role_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
221
|
+
admin_rights: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
222
|
+
languages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
223
|
+
lang_iso: import("zod").ZodString;
|
|
224
|
+
is_writable: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
225
225
|
}, import("zod/v4/core").$strip>>;
|
|
226
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
227
|
-
project_id: import("zod
|
|
228
|
-
contributor: import("zod
|
|
229
|
-
user_id: import("zod
|
|
230
|
-
email: import("zod
|
|
231
|
-
fullname: import("zod
|
|
232
|
-
avatar_url: import("zod
|
|
233
|
-
created_at: import("zod
|
|
234
|
-
created_at_timestamp: import("zod
|
|
235
|
-
languages: import("zod
|
|
236
|
-
lang_id: import("zod
|
|
237
|
-
lang_iso: import("zod
|
|
238
|
-
lang_name: import("zod
|
|
239
|
-
is_writable: import("zod
|
|
226
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
227
|
+
project_id: import("zod").ZodString;
|
|
228
|
+
contributor: import("zod").ZodObject<{
|
|
229
|
+
user_id: import("zod").ZodNumber;
|
|
230
|
+
email: import("zod").ZodEmail;
|
|
231
|
+
fullname: import("zod").ZodString;
|
|
232
|
+
avatar_url: import("zod").ZodString;
|
|
233
|
+
created_at: import("zod").ZodString;
|
|
234
|
+
created_at_timestamp: import("zod").ZodNumber;
|
|
235
|
+
languages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
236
|
+
lang_id: import("zod").ZodNumber;
|
|
237
|
+
lang_iso: import("zod").ZodString;
|
|
238
|
+
lang_name: import("zod").ZodString;
|
|
239
|
+
is_writable: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<0>, import("zod").ZodLiteral<1>, import("zod").ZodBoolean]>;
|
|
240
240
|
}, import("zod/v4/core").$strip>>;
|
|
241
|
-
admin_rights: import("zod
|
|
242
|
-
permissions: import("zod
|
|
243
|
-
role_id: import("zod
|
|
244
|
-
is_owner: import("zod
|
|
245
|
-
is_admin: import("zod
|
|
246
|
-
is_reviewer: import("zod
|
|
247
|
-
is_pending: import("zod
|
|
248
|
-
is_reinvited: import("zod
|
|
241
|
+
admin_rights: import("zod").ZodArray<import("zod").ZodString>;
|
|
242
|
+
permissions: import("zod").ZodArray<import("zod").ZodString>;
|
|
243
|
+
role_id: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
244
|
+
is_owner: import("zod").ZodBoolean;
|
|
245
|
+
is_admin: import("zod").ZodBoolean;
|
|
246
|
+
is_reviewer: import("zod").ZodBoolean;
|
|
247
|
+
is_pending: import("zod").ZodBoolean;
|
|
248
|
+
is_reinvited: import("zod").ZodBoolean;
|
|
249
249
|
}, import("zod/v4/core").$strip>;
|
|
250
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
251
|
-
project: import("zod
|
|
252
|
-
uuid: import("zod
|
|
253
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
254
|
-
id: import("zod
|
|
250
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
251
|
+
project: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
252
|
+
uuid: import("zod").ZodGUID;
|
|
253
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
254
|
+
id: import("zod").ZodString;
|
|
255
255
|
}, import("zod/v4/core").$strip>]>;
|
|
256
|
-
contributorId: import("zod
|
|
257
|
-
}, import("zod/v4/core").$strip>, undefined, import("zod
|
|
258
|
-
authorization: import("zod
|
|
259
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
260
|
-
AUTHORIZATION: import("zod
|
|
261
|
-
}, import("zod/v4/core").$strip>]>, import("zod
|
|
262
|
-
'X-API-Token': import("zod
|
|
263
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
264
|
-
'X-Api-Token': import("zod
|
|
265
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
266
|
-
'x-api-token': import("zod
|
|
267
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
268
|
-
'X-API-TOKEN': import("zod
|
|
269
|
-
}, import("zod/v4/core").$strip>]>]>, import("zod
|
|
270
|
-
'X-Lokalise-Plugin': import("zod
|
|
271
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
272
|
-
'x-lokalise-plugin': import("zod
|
|
273
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
274
|
-
'X-LOKALISE-PLUGIN': import("zod
|
|
256
|
+
contributorId: import("zod").ZodString;
|
|
257
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodIntersection<import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
258
|
+
authorization: import("zod").ZodString;
|
|
259
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
260
|
+
AUTHORIZATION: import("zod").ZodString;
|
|
261
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
262
|
+
'X-API-Token': import("zod").ZodString;
|
|
263
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
264
|
+
'X-Api-Token': import("zod").ZodString;
|
|
265
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
266
|
+
'x-api-token': import("zod").ZodString;
|
|
267
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
268
|
+
'X-API-TOKEN': import("zod").ZodString;
|
|
269
|
+
}, import("zod/v4/core").$strip>]>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
270
|
+
'X-Lokalise-Plugin': import("zod").ZodString;
|
|
271
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
272
|
+
'x-lokalise-plugin': import("zod").ZodString;
|
|
273
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
274
|
+
'X-LOKALISE-PLUGIN': import("zod").ZodString;
|
|
275
275
|
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
276
276
|
/**
|
|
277
277
|
* Public API router definition for retrieving a list of suggested contributors
|
|
278
278
|
*/
|
|
279
|
-
export declare const suggestedContributors: import("@lokalise/api-contracts").GetRouteDefinition<import("zod
|
|
280
|
-
project_uuid: import("zod
|
|
281
|
-
contributors: import("zod
|
|
282
|
-
user_id: import("zod
|
|
283
|
-
email: import("zod
|
|
284
|
-
fullname: import("zod
|
|
285
|
-
avatar_url: import("zod
|
|
286
|
-
created_at: import("zod
|
|
287
|
-
created_at_timestamp: import("zod
|
|
288
|
-
last_logged_in_at: import("zod
|
|
289
|
-
last_logged_in_at_timestamp: import("zod
|
|
290
|
-
languages: import("zod
|
|
291
|
-
lang_id: import("zod
|
|
292
|
-
lang_iso: import("zod
|
|
293
|
-
lang_name: import("zod
|
|
294
|
-
is_writable: import("zod
|
|
279
|
+
export declare const suggestedContributors: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
280
|
+
project_uuid: import("zod").ZodString;
|
|
281
|
+
contributors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
282
|
+
user_id: import("zod").ZodNumber;
|
|
283
|
+
email: import("zod").ZodEmail;
|
|
284
|
+
fullname: import("zod").ZodString;
|
|
285
|
+
avatar_url: import("zod").ZodString;
|
|
286
|
+
created_at: import("zod").ZodString;
|
|
287
|
+
created_at_timestamp: import("zod").ZodNumber;
|
|
288
|
+
last_logged_in_at: import("zod").ZodNullable<import("zod").ZodString>;
|
|
289
|
+
last_logged_in_at_timestamp: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
290
|
+
languages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
291
|
+
lang_id: import("zod").ZodNumber;
|
|
292
|
+
lang_iso: import("zod").ZodString;
|
|
293
|
+
lang_name: import("zod").ZodString;
|
|
294
|
+
is_writable: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<0>, import("zod").ZodLiteral<1>, import("zod").ZodBoolean]>;
|
|
295
295
|
}, import("zod/v4/core").$strip>>;
|
|
296
|
-
role_id: import("zod
|
|
297
|
-
team_role: import("zod
|
|
298
|
-
is_pending: import("zod
|
|
299
|
-
is_reinvited: import("zod
|
|
300
|
-
is_grace_period: import("zod
|
|
301
|
-
count_of_projects: import("zod
|
|
296
|
+
role_id: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
297
|
+
team_role: import("zod").ZodString;
|
|
298
|
+
is_pending: import("zod").ZodBoolean;
|
|
299
|
+
is_reinvited: import("zod").ZodBoolean;
|
|
300
|
+
is_grace_period: import("zod").ZodBoolean;
|
|
301
|
+
count_of_projects: import("zod").ZodNumber;
|
|
302
302
|
}, import("zod/v4/core").$strip>>;
|
|
303
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
304
|
-
limit: import("zod
|
|
305
|
-
offset: import("zod
|
|
306
|
-
total: import("zod
|
|
307
|
-
}, import("zod/v4/core").$strip>>, import("zod
|
|
308
|
-
project: import("zod
|
|
309
|
-
uuid: import("zod
|
|
310
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
311
|
-
id: import("zod
|
|
303
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
304
|
+
limit: import("zod").ZodNumber;
|
|
305
|
+
offset: import("zod").ZodNumber;
|
|
306
|
+
total: import("zod").ZodNumber;
|
|
307
|
+
}, import("zod/v4/core").$strip>>, import("zod").ZodObject<{
|
|
308
|
+
project: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
309
|
+
uuid: import("zod").ZodGUID;
|
|
310
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
311
|
+
id: import("zod").ZodString;
|
|
312
312
|
}, import("zod/v4/core").$strip>]>;
|
|
313
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
314
|
-
limit: import("zod
|
|
315
|
-
offset: import("zod
|
|
316
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
317
|
-
authorization: import("zod
|
|
318
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
319
|
-
AUTHORIZATION: import("zod
|
|
320
|
-
}, import("zod/v4/core").$strip>]>, import("zod
|
|
321
|
-
'X-API-Token': import("zod
|
|
322
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
323
|
-
'X-Api-Token': import("zod
|
|
324
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
325
|
-
'x-api-token': import("zod
|
|
326
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
327
|
-
'X-API-TOKEN': import("zod
|
|
328
|
-
}, import("zod/v4/core").$strip>]>]>, import("zod
|
|
329
|
-
'X-Lokalise-Plugin': import("zod
|
|
330
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
331
|
-
'x-lokalise-plugin': import("zod
|
|
332
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
333
|
-
'X-LOKALISE-PLUGIN': import("zod
|
|
313
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
314
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
315
|
+
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
316
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodIntersection<import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
317
|
+
authorization: import("zod").ZodString;
|
|
318
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
319
|
+
AUTHORIZATION: import("zod").ZodString;
|
|
320
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
321
|
+
'X-API-Token': import("zod").ZodString;
|
|
322
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
323
|
+
'X-Api-Token': import("zod").ZodString;
|
|
324
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
325
|
+
'x-api-token': import("zod").ZodString;
|
|
326
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
327
|
+
'X-API-TOKEN': import("zod").ZodString;
|
|
328
|
+
}, import("zod/v4/core").$strip>]>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
329
|
+
'X-Lokalise-Plugin': import("zod").ZodString;
|
|
330
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
331
|
+
'x-lokalise-plugin': import("zod").ZodString;
|
|
332
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
333
|
+
'X-LOKALISE-PLUGIN': import("zod").ZodString;
|
|
334
334
|
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
335
335
|
/**
|
|
336
336
|
* Public API router definition for deleting a project contributor
|
|
337
337
|
*/
|
|
338
|
-
export declare const deleteAllContributors: import("@lokalise/api-contracts").DeleteRouteDefinition<import("zod
|
|
339
|
-
jobId: import("zod
|
|
340
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
341
|
-
project: import("zod
|
|
342
|
-
uuid: import("zod
|
|
338
|
+
export declare const deleteAllContributors: import("@lokalise/api-contracts").DeleteRouteDefinition<import("zod").ZodObject<{
|
|
339
|
+
jobId: import("zod").ZodString;
|
|
340
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
341
|
+
project: import("zod").ZodObject<{
|
|
342
|
+
uuid: import("zod").ZodGUID;
|
|
343
343
|
}, import("zod/v4/core").$strip>;
|
|
344
|
-
}, import("zod/v4/core").$strip>, undefined, import("zod
|
|
345
|
-
authorization: import("zod
|
|
346
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
347
|
-
AUTHORIZATION: import("zod
|
|
348
|
-
}, import("zod/v4/core").$strip>]>, import("zod
|
|
349
|
-
'X-API-Token': import("zod
|
|
350
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
351
|
-
'X-Api-Token': import("zod
|
|
352
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
353
|
-
'x-api-token': import("zod
|
|
354
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
355
|
-
'X-API-TOKEN': import("zod
|
|
356
|
-
}, import("zod/v4/core").$strip>]>]>, import("zod
|
|
357
|
-
'X-Lokalise-Plugin': import("zod
|
|
358
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
359
|
-
'x-lokalise-plugin': import("zod
|
|
360
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
361
|
-
'X-LOKALISE-PLUGIN': import("zod
|
|
344
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodIntersection<import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
345
|
+
authorization: import("zod").ZodString;
|
|
346
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
347
|
+
AUTHORIZATION: import("zod").ZodString;
|
|
348
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
349
|
+
'X-API-Token': import("zod").ZodString;
|
|
350
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
351
|
+
'X-Api-Token': import("zod").ZodString;
|
|
352
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
353
|
+
'x-api-token': import("zod").ZodString;
|
|
354
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
355
|
+
'X-API-TOKEN': import("zod").ZodString;
|
|
356
|
+
}, import("zod/v4/core").$strip>]>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
357
|
+
'X-Lokalise-Plugin': import("zod").ZodString;
|
|
358
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
359
|
+
'x-lokalise-plugin': import("zod").ZodString;
|
|
360
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
361
|
+
'X-LOKALISE-PLUGIN': import("zod").ZodString;
|
|
362
362
|
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
363
363
|
/**
|
|
364
364
|
* Public API router definition for retrieving the status of a bulk contributor operation
|
|
365
365
|
*/
|
|
366
|
-
export declare const retrieveContributorsJob: import("@lokalise/api-contracts").GetRouteDefinition<import("zod
|
|
367
|
-
state: import("zod
|
|
366
|
+
export declare const retrieveContributorsJob: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodObject<{
|
|
367
|
+
state: import("zod").ZodEnum<{
|
|
368
368
|
queued: "queued";
|
|
369
369
|
running: "running";
|
|
370
370
|
completed: "completed";
|
|
371
371
|
}>;
|
|
372
|
-
projectId: import("zod
|
|
373
|
-
createdAt: import("zod
|
|
374
|
-
updatedAt: import("zod
|
|
375
|
-
total: import("zod
|
|
376
|
-
processed: import("zod
|
|
377
|
-
deleted: import("zod
|
|
378
|
-
failed: import("zod
|
|
379
|
-
skipped: import("zod
|
|
380
|
-
errors: import("zod
|
|
381
|
-
unknown_error: import("zod
|
|
382
|
-
contributor_not_found: import("zod
|
|
372
|
+
projectId: import("zod").ZodString;
|
|
373
|
+
createdAt: import("zod").ZodNumber;
|
|
374
|
+
updatedAt: import("zod").ZodNumber;
|
|
375
|
+
total: import("zod").ZodNumber;
|
|
376
|
+
processed: import("zod").ZodNumber;
|
|
377
|
+
deleted: import("zod").ZodNumber;
|
|
378
|
+
failed: import("zod").ZodNumber;
|
|
379
|
+
skipped: import("zod").ZodNumber;
|
|
380
|
+
errors: import("zod").ZodObject<{
|
|
381
|
+
unknown_error: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
382
|
+
contributor_not_found: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
383
383
|
}, import("zod/v4/core").$strip>;
|
|
384
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
385
|
-
project: import("zod
|
|
386
|
-
uuid: import("zod
|
|
384
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
385
|
+
project: import("zod").ZodObject<{
|
|
386
|
+
uuid: import("zod").ZodGUID;
|
|
387
387
|
}, import("zod/v4/core").$strip>;
|
|
388
|
-
jobId: import("zod
|
|
389
|
-
}, import("zod/v4/core").$strip>, undefined, import("zod
|
|
390
|
-
authorization: import("zod
|
|
391
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
392
|
-
AUTHORIZATION: import("zod
|
|
393
|
-
}, import("zod/v4/core").$strip>]>, import("zod
|
|
394
|
-
'X-API-Token': import("zod
|
|
395
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
396
|
-
'X-Api-Token': import("zod
|
|
397
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
398
|
-
'x-api-token': import("zod
|
|
399
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
400
|
-
'X-API-TOKEN': import("zod
|
|
401
|
-
}, import("zod/v4/core").$strip>]>]>, import("zod
|
|
402
|
-
'X-Lokalise-Plugin': import("zod
|
|
403
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
404
|
-
'x-lokalise-plugin': import("zod
|
|
405
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
406
|
-
'X-LOKALISE-PLUGIN': import("zod
|
|
388
|
+
jobId: import("zod").ZodString;
|
|
389
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodIntersection<import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
390
|
+
authorization: import("zod").ZodString;
|
|
391
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
392
|
+
AUTHORIZATION: import("zod").ZodString;
|
|
393
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
394
|
+
'X-API-Token': import("zod").ZodString;
|
|
395
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
396
|
+
'X-Api-Token': import("zod").ZodString;
|
|
397
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
398
|
+
'x-api-token': import("zod").ZodString;
|
|
399
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
400
|
+
'X-API-TOKEN': import("zod").ZodString;
|
|
401
|
+
}, import("zod/v4/core").$strip>]>]>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
402
|
+
'X-Lokalise-Plugin': import("zod").ZodString;
|
|
403
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
404
|
+
'x-lokalise-plugin': import("zod").ZodString;
|
|
405
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
406
|
+
'X-LOKALISE-PLUGIN': import("zod").ZodString;
|
|
407
407
|
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
408
408
|
//# sourceMappingURL=contributorsContracts.d.ts.map
|