@lokalise/workspaces-api-schemas 4.1.0 → 5.1.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/routeContracts/collaborationContracts.d.ts +1 -1
- package/dist/routeContracts/contributorsContracts.d.ts +9 -9
- package/dist/routeContracts/languagesContracts.d.ts +3 -3
- package/dist/routeContracts/permissionTemplatesContracts.d.ts +1 -1
- package/dist/routeContracts/projectsContracts.d.ts +14 -7
- package/dist/routeContracts/tagsContracts.d.ts +1 -1
- package/dist/routeContracts/teamContracts.d.ts +2 -2
- package/dist/routeContracts/teamUsersContracts.d.ts +3 -3
- package/dist/routeContracts/userTokenContracts.d.ts +1 -1
- package/dist/schemas/expert/contributors.d.ts +2 -2
- package/dist/schemas/expert/project-languages.d.ts +1 -1
- package/dist/schemas/expert/projects.d.ts +2 -2
- package/dist/schemas/expert/style-guides.d.ts +1 -1
- package/dist/schemas/expert/tasks.d.ts +1 -1
- package/dist/schemas/expert/users.d.ts +6 -6
- package/dist/types/projectType.d.ts +2 -1
- package/dist/types/projectType.js +1 -0
- package/dist/types/projectType.js.map +1 -1
- package/dist/types/projectTypes.d.ts +6 -0
- package/package.json +3 -3
|
@@ -30,4 +30,4 @@ export declare const listCollaboratorProjects: import("@lokalise/api-contracts")
|
|
|
30
30
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
31
31
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
32
32
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
33
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
33
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
@@ -52,7 +52,7 @@ export declare const listContributors: import("@lokalise/api-contracts").GetRout
|
|
|
52
52
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
53
53
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
54
54
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
55
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
55
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
56
56
|
/**
|
|
57
57
|
* Public API router definition for retrieving a project contributor
|
|
58
58
|
*/
|
|
@@ -114,7 +114,7 @@ export declare const retrieveContributor: import("@lokalise/api-contracts").GetR
|
|
|
114
114
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
115
115
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
116
116
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
117
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
117
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
118
118
|
/**
|
|
119
119
|
* Public API router definition for deleting a project contributor
|
|
120
120
|
*/
|
|
@@ -152,7 +152,7 @@ export declare const deleteContributor: import("@lokalise/api-contracts").Delete
|
|
|
152
152
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
153
153
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
154
154
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
155
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
155
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
156
156
|
/**
|
|
157
157
|
* Public API router definition for adding project contributors
|
|
158
158
|
*/
|
|
@@ -221,7 +221,7 @@ export declare const addContributors: import("@lokalise/api-contracts").PayloadR
|
|
|
221
221
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
222
222
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
223
223
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
224
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
224
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
225
225
|
/**
|
|
226
226
|
* Public API router definition for updating project contributors
|
|
227
227
|
*/
|
|
@@ -286,7 +286,7 @@ export declare const updateContributors: import("@lokalise/api-contracts").Paylo
|
|
|
286
286
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
287
287
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
288
288
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
289
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
289
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
290
290
|
/**
|
|
291
291
|
* Public API router definition for retrieving a list of suggested contributors
|
|
292
292
|
*/
|
|
@@ -347,7 +347,7 @@ export declare const suggestedContributors: import("@lokalise/api-contracts").Ge
|
|
|
347
347
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
348
348
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
349
349
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
350
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
350
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
351
351
|
/**
|
|
352
352
|
* Public API router definition for deleting a project contributor
|
|
353
353
|
*/
|
|
@@ -377,7 +377,7 @@ export declare const deleteAllContributors: import("@lokalise/api-contracts").De
|
|
|
377
377
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
378
378
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
379
379
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
380
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
380
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
381
381
|
/**
|
|
382
382
|
* Public API router definition for retrieving the status of a bulk contributor operation
|
|
383
383
|
*/
|
|
@@ -424,7 +424,7 @@ export declare const retrieveContributorsJob: import("@lokalise/api-contracts").
|
|
|
424
424
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
425
425
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
426
426
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
427
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
427
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
428
428
|
/**
|
|
429
429
|
* Public API router definition for importing contributors from another project
|
|
430
430
|
*/
|
|
@@ -465,4 +465,4 @@ export declare const importContributors: import("@lokalise/api-contracts").Paylo
|
|
|
465
465
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
466
466
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
467
467
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
468
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
468
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
@@ -32,7 +32,7 @@ export declare const listProjectLanguages: import("@lokalise/api-contracts").Get
|
|
|
32
32
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
33
33
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
34
34
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
35
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
35
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
36
36
|
export declare const addLanguagesToProject: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod/v4").ZodObject<{
|
|
37
37
|
languages: import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
|
|
38
38
|
lang_iso: import("zod/v4").ZodString;
|
|
@@ -79,7 +79,7 @@ export declare const addLanguagesToProject: import("@lokalise/api-contracts").Pa
|
|
|
79
79
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
80
80
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
81
81
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
82
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
82
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
83
83
|
export declare const bulkUpdateProjectLanguages: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod/v4").ZodObject<{
|
|
84
84
|
langs: import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
|
|
85
85
|
lang_iso: import("zod/v4").ZodString;
|
|
@@ -109,4 +109,4 @@ export declare const bulkUpdateProjectLanguages: import("@lokalise/api-contracts
|
|
|
109
109
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
110
110
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
111
111
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
112
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
112
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
@@ -56,4 +56,4 @@ export declare const listPermissionTemplates: import("@lokalise/api-contracts").
|
|
|
56
56
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
57
57
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
58
58
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
59
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
59
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
@@ -15,6 +15,7 @@ export declare const createProject: import("@lokalise/api-contracts").PayloadRou
|
|
|
15
15
|
content_integration: "content_integration";
|
|
16
16
|
marketing: "marketing";
|
|
17
17
|
marketing_integrations: "marketing_integrations";
|
|
18
|
+
marketing_portal: "marketing_portal";
|
|
18
19
|
}>;
|
|
19
20
|
is_segmentation_enabled: import("zod/v4").ZodBoolean;
|
|
20
21
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
@@ -26,6 +27,7 @@ export declare const createProject: import("@lokalise/api-contracts").PayloadRou
|
|
|
26
27
|
content_integration: "content_integration";
|
|
27
28
|
marketing: "marketing";
|
|
28
29
|
marketing_integrations: "marketing_integrations";
|
|
30
|
+
marketing_portal: "marketing_portal";
|
|
29
31
|
}>;
|
|
30
32
|
name: import("zod/v4").ZodString;
|
|
31
33
|
description: import("zod/v4").ZodString;
|
|
@@ -105,7 +107,7 @@ export declare const createProject: import("@lokalise/api-contracts").PayloadRou
|
|
|
105
107
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
106
108
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
107
109
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
108
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
110
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
109
111
|
/**
|
|
110
112
|
* Public API router definition for listing all projects
|
|
111
113
|
*/
|
|
@@ -119,6 +121,7 @@ export declare const listProjects: import("@lokalise/api-contracts").GetRouteDef
|
|
|
119
121
|
content_integration: "content_integration";
|
|
120
122
|
marketing: "marketing";
|
|
121
123
|
marketing_integrations: "marketing_integrations";
|
|
124
|
+
marketing_portal: "marketing_portal";
|
|
122
125
|
}>;
|
|
123
126
|
name: import("zod/v4").ZodString;
|
|
124
127
|
description: import("zod/v4").ZodString;
|
|
@@ -186,6 +189,7 @@ export declare const listProjects: import("@lokalise/api-contracts").GetRouteDef
|
|
|
186
189
|
content_integration: "content_integration";
|
|
187
190
|
marketing: "marketing";
|
|
188
191
|
marketing_integrations: "marketing_integrations";
|
|
192
|
+
marketing_portal: "marketing_portal";
|
|
189
193
|
}>>;
|
|
190
194
|
filter_team_id: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
191
195
|
filter_names: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
@@ -213,7 +217,7 @@ export declare const listProjects: import("@lokalise/api-contracts").GetRouteDef
|
|
|
213
217
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
214
218
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
215
219
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
216
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
220
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
217
221
|
/**
|
|
218
222
|
* Public API router definition for retrieving a project
|
|
219
223
|
*/
|
|
@@ -226,6 +230,7 @@ export declare const retrieveProject: import("@lokalise/api-contracts").GetRoute
|
|
|
226
230
|
content_integration: "content_integration";
|
|
227
231
|
marketing: "marketing";
|
|
228
232
|
marketing_integrations: "marketing_integrations";
|
|
233
|
+
marketing_portal: "marketing_portal";
|
|
229
234
|
}>;
|
|
230
235
|
name: import("zod/v4").ZodString;
|
|
231
236
|
description: import("zod/v4").ZodString;
|
|
@@ -307,7 +312,7 @@ export declare const retrieveProject: import("@lokalise/api-contracts").GetRoute
|
|
|
307
312
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
308
313
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
309
314
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
310
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
315
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
311
316
|
/**
|
|
312
317
|
* Public API router definition for updating a project
|
|
313
318
|
*/
|
|
@@ -323,6 +328,7 @@ export declare const updateProject: import("@lokalise/api-contracts").PayloadRou
|
|
|
323
328
|
content_integration: "content_integration";
|
|
324
329
|
marketing: "marketing";
|
|
325
330
|
marketing_integrations: "marketing_integrations";
|
|
331
|
+
marketing_portal: "marketing_portal";
|
|
326
332
|
}>;
|
|
327
333
|
name: import("zod/v4").ZodString;
|
|
328
334
|
description: import("zod/v4").ZodString;
|
|
@@ -404,7 +410,7 @@ export declare const updateProject: import("@lokalise/api-contracts").PayloadRou
|
|
|
404
410
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
405
411
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
406
412
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
407
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
413
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
408
414
|
export declare const getProjectPermissionMeta: import("@lokalise/api-contracts").GetRouteDefinition<import("zod/v4").ZodObject<{
|
|
409
415
|
project_id: import("zod/v4").ZodString;
|
|
410
416
|
project_uuid: import("zod/v4").ZodGUID;
|
|
@@ -527,7 +533,7 @@ export declare const getProjectPermissionMeta: import("@lokalise/api-contracts")
|
|
|
527
533
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
528
534
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
529
535
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
530
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
536
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
531
537
|
export declare const deleteProject: import("@lokalise/api-contracts").DeleteRouteDefinition<import("zod/v4").ZodObject<{
|
|
532
538
|
project_id: import("zod/v4").ZodString;
|
|
533
539
|
project_deleted: import("zod/v4").ZodBoolean;
|
|
@@ -553,7 +559,7 @@ export declare const deleteProject: import("@lokalise/api-contracts").DeleteRout
|
|
|
553
559
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
554
560
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
555
561
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
556
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
562
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
557
563
|
/**
|
|
558
564
|
* Public API router definition for getting the list of projects for a given team
|
|
559
565
|
*/
|
|
@@ -567,6 +573,7 @@ export declare const listTeamProjects: import("@lokalise/api-contracts").GetRout
|
|
|
567
573
|
content_integration: "content_integration";
|
|
568
574
|
marketing: "marketing";
|
|
569
575
|
marketing_integrations: "marketing_integrations";
|
|
576
|
+
marketing_portal: "marketing_portal";
|
|
570
577
|
}>;
|
|
571
578
|
name: import("zod/v4").ZodString;
|
|
572
579
|
description: import("zod/v4").ZodString;
|
|
@@ -649,4 +656,4 @@ export declare const listTeamProjects: import("@lokalise/api-contracts").GetRout
|
|
|
649
656
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
650
657
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
651
658
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
652
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
659
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
@@ -27,4 +27,4 @@ export declare const listTags: import("@lokalise/api-contracts").GetRouteDefinit
|
|
|
27
27
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
28
28
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
29
29
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
30
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
30
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
@@ -50,7 +50,7 @@ export declare const listTeams: import("@lokalise/api-contracts").GetRouteDefini
|
|
|
50
50
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
51
51
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
52
52
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
53
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
53
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
54
54
|
export declare const retrieveTeam: import("@lokalise/api-contracts").GetRouteDefinition<import("zod/v4").ZodObject<{
|
|
55
55
|
team: import("zod/v4").ZodObject<{
|
|
56
56
|
team_id: import("zod/v4").ZodNumber;
|
|
@@ -107,4 +107,4 @@ export declare const retrieveTeam: import("@lokalise/api-contracts").GetRouteDef
|
|
|
107
107
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
108
108
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
109
109
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
110
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
110
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
@@ -38,7 +38,7 @@ export declare const listTeamUsers: import("@lokalise/api-contracts").GetRouteDe
|
|
|
38
38
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
39
39
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
40
40
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
41
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
41
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
42
42
|
/**
|
|
43
43
|
* Public API router definition for getting the details of a team user
|
|
44
44
|
*/
|
|
@@ -80,7 +80,7 @@ export declare const getTeamUser: import("@lokalise/api-contracts").GetRouteDefi
|
|
|
80
80
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
81
81
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
82
82
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
83
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
83
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
84
84
|
/**
|
|
85
85
|
* Public API router definition for getting the details of a team user permissions
|
|
86
86
|
*/
|
|
@@ -135,4 +135,4 @@ export declare const getTeamUserPermissions: import("@lokalise/api-contracts").P
|
|
|
135
135
|
'x-lokalise-plugin': import("zod/v4").ZodString;
|
|
136
136
|
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
137
137
|
'X-LOKALISE-PLUGIN': import("zod/v4").ZodString;
|
|
138
|
-
}, import("zod/v4/core").$strip>]>>, false, false, undefined>;
|
|
138
|
+
}, import("zod/v4/core").$strip>]>>, undefined, false, false, undefined>;
|
|
@@ -22,4 +22,4 @@ export declare const getUserToken: import("@lokalise/api-contracts").PayloadRout
|
|
|
22
22
|
'x-csrf-token': z.ZodString;
|
|
23
23
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
24
|
'X-CSRF-TOKEN': z.ZodString;
|
|
25
|
-
}, z.core.$strip>]>]>, false, true, undefined>;
|
|
25
|
+
}, z.core.$strip>]>]>, undefined, false, true, undefined>;
|
|
@@ -79,7 +79,7 @@ export declare const getContributorDataContract: import("@lokalise/api-contracts
|
|
|
79
79
|
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
80
80
|
Authorization: z.ZodString;
|
|
81
81
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
82
|
-
}, z.core.$strip>, false, false, {
|
|
82
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
83
83
|
200: z.ZodObject<{
|
|
84
84
|
project_id: z.ZodString;
|
|
85
85
|
project_uuid: z.ZodGUID;
|
|
@@ -160,7 +160,7 @@ export declare const getContributorsListContract: import("@lokalise/api-contract
|
|
|
160
160
|
}, z.core.$strip>, z.ZodObject<{
|
|
161
161
|
Authorization: z.ZodString;
|
|
162
162
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
163
|
-
}, z.core.$strip>, false, false, {
|
|
163
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
164
164
|
200: z.ZodObject<{
|
|
165
165
|
project_id: z.ZodString;
|
|
166
166
|
project_uuid: z.ZodGUID;
|
|
@@ -45,7 +45,7 @@ export declare const getExpertProjectLanguagesContract: import("@lokalise/api-co
|
|
|
45
45
|
}, z.core.$strip>, z.ZodObject<{
|
|
46
46
|
Authorization: z.ZodString;
|
|
47
47
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
48
|
-
}, z.core.$strip>, false, false, {
|
|
48
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
49
49
|
200: z.ZodObject<{
|
|
50
50
|
project_id: z.ZodString;
|
|
51
51
|
project_uuid: z.ZodGUID;
|
|
@@ -130,7 +130,7 @@ export declare const getExpertProjectContract: import("@lokalise/api-contracts")
|
|
|
130
130
|
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
131
131
|
Authorization: z.ZodString;
|
|
132
132
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
133
|
-
}, z.core.$strip>, false, false, {
|
|
133
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
134
134
|
200: z.ZodObject<{
|
|
135
135
|
project_id: z.ZodString;
|
|
136
136
|
uuid: z.ZodNullable<z.ZodGUID>;
|
|
@@ -336,7 +336,7 @@ export declare const getExpertTeamProjectsContract: import("@lokalise/api-contra
|
|
|
336
336
|
}, z.core.$strip>, z.ZodObject<{
|
|
337
337
|
Authorization: z.ZodString;
|
|
338
338
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
339
|
-
}, z.core.$strip>, false, false, {
|
|
339
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
340
340
|
200: z.ZodObject<{
|
|
341
341
|
projects: z.ZodArray<z.ZodObject<{
|
|
342
342
|
project_id: z.ZodString;
|
|
@@ -39,7 +39,7 @@ export declare const getExpertStyleGuidesContract: import("@lokalise/api-contrac
|
|
|
39
39
|
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
40
40
|
Authorization: z.ZodString;
|
|
41
41
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
42
|
-
}, z.core.$strip>, false, false, {
|
|
42
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
43
43
|
200: z.ZodArray<z.ZodObject<{
|
|
44
44
|
id: z.ZodUUID;
|
|
45
45
|
name: z.ZodString;
|
|
@@ -340,7 +340,7 @@ export declare const getExpertTaskContract: import("@lokalise/api-contracts").Ge
|
|
|
340
340
|
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
341
341
|
Authorization: z.ZodString;
|
|
342
342
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
343
|
-
}, z.core.$strip>, false, false, {
|
|
343
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
344
344
|
200: z.ZodObject<{
|
|
345
345
|
project_id: z.ZodString;
|
|
346
346
|
project_uuid: z.ZodUUID;
|
|
@@ -20,7 +20,7 @@ export declare const getUserContract: import("@lokalise/api-contracts").GetRoute
|
|
|
20
20
|
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
21
21
|
Authorization: z.ZodString;
|
|
22
22
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
23
|
-
}, z.core.$strip>, false, false, {
|
|
23
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
24
24
|
200: z.ZodObject<{
|
|
25
25
|
id: z.ZodNumber;
|
|
26
26
|
uuid: z.ZodGUID;
|
|
@@ -70,7 +70,7 @@ export declare const getUserNotificationSettingsContract: import("@lokalise/api-
|
|
|
70
70
|
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
71
71
|
Authorization: z.ZodString;
|
|
72
72
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
73
|
-
}, z.core.$strip>, false, false, {
|
|
73
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
74
74
|
200: z.ZodObject<{
|
|
75
75
|
ai_word_limit: z.ZodBoolean;
|
|
76
76
|
contribution: z.ZodBoolean;
|
|
@@ -122,7 +122,7 @@ export declare const getUsersNotificationSettingsContract: import("@lokalise/api
|
|
|
122
122
|
}, z.core.$strip>>, undefined, undefined, z.ZodObject<{
|
|
123
123
|
Authorization: z.ZodString;
|
|
124
124
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
125
|
-
}, z.core.$strip>, false, false, {
|
|
125
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
126
126
|
200: z.ZodArray<z.ZodObject<{
|
|
127
127
|
user_id: z.ZodNumber;
|
|
128
128
|
user_uuid: z.ZodUUID;
|
|
@@ -186,7 +186,7 @@ export declare const getTeamUsersContract: import("@lokalise/api-contracts").Get
|
|
|
186
186
|
}, z.core.$strip>, z.ZodObject<{
|
|
187
187
|
Authorization: z.ZodString;
|
|
188
188
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
189
|
-
}, z.core.$strip>, false, false, {
|
|
189
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
190
190
|
200: z.ZodObject<{
|
|
191
191
|
team_id: z.ZodNumber;
|
|
192
192
|
team_uuid: z.ZodGUID;
|
|
@@ -238,7 +238,7 @@ export declare const getTeamUserContract: import("@lokalise/api-contracts").GetR
|
|
|
238
238
|
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
239
239
|
Authorization: z.ZodString;
|
|
240
240
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
241
|
-
}, z.core.$strip>, false, false, {
|
|
241
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
242
242
|
200: z.ZodObject<{
|
|
243
243
|
team_id: z.ZodNumber;
|
|
244
244
|
team_uuid: z.ZodGUID;
|
|
@@ -343,7 +343,7 @@ export declare const getTeamUserGroupsContract: import("@lokalise/api-contracts"
|
|
|
343
343
|
}, z.core.$strip>, z.ZodObject<{
|
|
344
344
|
Authorization: z.ZodString;
|
|
345
345
|
'Content-Type': z.ZodLiteral<"application/json">;
|
|
346
|
-
}, z.core.$strip>, false, false, {
|
|
346
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
347
347
|
200: z.ZodObject<{
|
|
348
348
|
team_id: z.ZodNumber;
|
|
349
349
|
team_uuid: z.ZodGUID;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
-
export declare const PROJECT_TYPES: readonly ["localization_files", "paged_documents", "content_integration", "marketing", "marketing_integrations"];
|
|
2
|
+
export declare const PROJECT_TYPES: readonly ["localization_files", "paged_documents", "content_integration", "marketing", "marketing_integrations", "marketing_portal"];
|
|
3
3
|
export declare const PROJECT_TYPES_SCHEMA: z.ZodEnum<{
|
|
4
4
|
localization_files: "localization_files";
|
|
5
5
|
paged_documents: "paged_documents";
|
|
6
6
|
content_integration: "content_integration";
|
|
7
7
|
marketing: "marketing";
|
|
8
8
|
marketing_integrations: "marketing_integrations";
|
|
9
|
+
marketing_portal: "marketing_portal";
|
|
9
10
|
}>;
|
|
10
11
|
export type ProjectType = z.infer<typeof PROJECT_TYPES_SCHEMA>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectType.js","sourceRoot":"","sources":["../../src/types/projectType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,oBAAoB;IACpB,iBAAiB;IACjB,qBAAqB;IACrB,WAAW;IACX,wBAAwB;
|
|
1
|
+
{"version":3,"file":"projectType.js","sourceRoot":"","sources":["../../src/types/projectType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,oBAAoB;IACpB,iBAAiB;IACjB,qBAAqB;IACrB,WAAW;IACX,wBAAwB;IACxB,kBAAkB;CACV,CAAA;AAEV,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA"}
|
|
@@ -31,6 +31,7 @@ export declare const PROJECT_TYPE_SCHEMA: z.ZodEnum<{
|
|
|
31
31
|
content_integration: "content_integration";
|
|
32
32
|
marketing: "marketing";
|
|
33
33
|
marketing_integrations: "marketing_integrations";
|
|
34
|
+
marketing_portal: "marketing_portal";
|
|
34
35
|
}>;
|
|
35
36
|
export declare const AVAILABILITY_DISABLED_REASONS: readonly ["management"];
|
|
36
37
|
export declare const AVAILABILITY_DISABLED_REASON_SCHEMA: z.ZodEnum<{
|
|
@@ -123,6 +124,7 @@ export declare const API_PROJECT_SCHEMA: z.ZodObject<{
|
|
|
123
124
|
content_integration: "content_integration";
|
|
124
125
|
marketing: "marketing";
|
|
125
126
|
marketing_integrations: "marketing_integrations";
|
|
127
|
+
marketing_portal: "marketing_portal";
|
|
126
128
|
}>;
|
|
127
129
|
name: z.ZodString;
|
|
128
130
|
description: z.ZodString;
|
|
@@ -198,6 +200,7 @@ export declare const CREATE_PROJECT_REQUEST_BODY_SCHEMA: z.ZodObject<{
|
|
|
198
200
|
content_integration: "content_integration";
|
|
199
201
|
marketing: "marketing";
|
|
200
202
|
marketing_integrations: "marketing_integrations";
|
|
203
|
+
marketing_portal: "marketing_portal";
|
|
201
204
|
}>;
|
|
202
205
|
is_segmentation_enabled: z.ZodBoolean;
|
|
203
206
|
}, z.core.$strip>;
|
|
@@ -209,6 +212,7 @@ export declare const LIST_PROJECTS_REQUEST_QUERY_SCHEMA: z.ZodObject<{
|
|
|
209
212
|
content_integration: "content_integration";
|
|
210
213
|
marketing: "marketing";
|
|
211
214
|
marketing_integrations: "marketing_integrations";
|
|
215
|
+
marketing_portal: "marketing_portal";
|
|
212
216
|
}>>;
|
|
213
217
|
filter_team_id: z.ZodOptional<z.ZodNumber>;
|
|
214
218
|
filter_names: z.ZodOptional<z.ZodString>;
|
|
@@ -228,6 +232,7 @@ export declare const LIST_PROJECTS_SUCCESS_RESPONSE_BODY: z.ZodObject<{
|
|
|
228
232
|
content_integration: "content_integration";
|
|
229
233
|
marketing: "marketing";
|
|
230
234
|
marketing_integrations: "marketing_integrations";
|
|
235
|
+
marketing_portal: "marketing_portal";
|
|
231
236
|
}>;
|
|
232
237
|
name: z.ZodString;
|
|
233
238
|
description: z.ZodString;
|
|
@@ -519,6 +524,7 @@ export declare const LIST_TEAM_PROJECTS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
519
524
|
content_integration: "content_integration";
|
|
520
525
|
marketing: "marketing";
|
|
521
526
|
marketing_integrations: "marketing_integrations";
|
|
527
|
+
marketing_portal: "marketing_portal";
|
|
522
528
|
}>;
|
|
523
529
|
name: z.ZodString;
|
|
524
530
|
description: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/workspaces-api-schemas",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
"package-version": "echo $npm_package_version"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@lokalise/api-common": "^6.0.1",
|
|
27
|
-
"@lokalise/api-contracts": "^5.2.0",
|
|
28
26
|
"@lokalise/common-api-schemas": "*",
|
|
29
27
|
"@lokalise/supported-languages": "^3.1.0",
|
|
30
28
|
"@lokalise/zod-extras": "^3.0.0"
|
|
@@ -38,6 +36,8 @@
|
|
|
38
36
|
"zod": "^4.1.11"
|
|
39
37
|
},
|
|
40
38
|
"peerDependencies": {
|
|
39
|
+
"@lokalise/api-common": ">=6.0.0",
|
|
40
|
+
"@lokalise/api-contracts": ">=6.0.0",
|
|
41
41
|
"zod": ">=3.25.76 <5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"repository": {
|