@lokalise/workspaces-api-schemas 5.0.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.
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|