@lokalise/content-type-app-engine-contracts 5.15.0 → 5.16.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 +2 -0
- package/dist/index.js +43 -41
- package/dist/index.js.map +1 -1
- package/dist/schemas/auth/authApiSchemas.js +2 -2
- package/dist/schemas/auth/integrationAuthApiSchemas.d.ts +6 -6
- package/dist/schemas/auth/integrationAuthApiSchemas.js +2 -2
- package/dist/schemas/auth/integrationAuthSchemas.d.ts +6 -6
- package/dist/schemas/cache/cacheApiSchemas.d.ts +4 -4
- package/dist/schemas/cache/cacheApiSchemas.js +2 -2
- package/dist/schemas/cache/cacheSchemas.d.ts +6 -6
- package/dist/schemas/config/integrationConfigApiSchemas.js +2 -2
- package/dist/schemas/connector/connectorApiSchemas.d.ts +1 -1
- package/dist/schemas/connector/connectorApiSchemas.js +2 -2
- package/dist/schemas/connector/connectorSchemas.d.ts +2 -2
- package/dist/schemas/content/contentApiSchemas.d.ts +10 -10
- package/dist/schemas/content/contentApiSchemas.js +2 -2
- package/dist/schemas/content/contentExportApiSchemas.d.ts +11 -9
- package/dist/schemas/content/contentExportApiSchemas.js +3 -2
- package/dist/schemas/content/contentExportApiSchemas.js.map +1 -1
- package/dist/schemas/content/contentExportSchemas.d.ts +8 -8
- package/dist/schemas/content/contentSchemas.d.ts +21 -21
- package/dist/schemas/content/contentSchemas.js +1 -1
- package/dist/schemas/env/envApiSchemas.js +2 -2
- package/dist/schemas/env/envSchemas.js +1 -1
- package/dist/schemas/filter/filterApiSchemas.d.ts +12 -12
- package/dist/schemas/filter/filterApiSchemas.js +2 -2
- package/dist/schemas/filter/filterSchemas.d.ts +16 -16
- package/dist/schemas/filter/filterSchemas.js +1 -1
- package/dist/schemas/integration/integrationApiSchemas.d.ts +2 -2
- package/dist/schemas/integration/integrationApiSchemas.js +2 -2
- package/dist/schemas/integration/integrationSchemas.d.ts +9 -9
- package/dist/schemas/integration/integrationSchemas.js +1 -1
- package/dist/schemas/integrationProject/integrationProjectApiSchemas.js +2 -2
- package/dist/schemas/integrationProject/integrationProjectSchemas.d.ts +8 -8
- package/dist/schemas/integrationProject/integrationProjectSchemas.js +2 -2
- package/dist/schemas/itemGroup/integrationItemGroupApiSchemas.js +2 -2
- package/dist/schemas/itemGroup/linkItemGroupApiSchemas.js +1 -1
- package/dist/schemas/itemList/integrationItemListApiSchemas.js +2 -2
- package/dist/schemas/itemList/itemListContracts.js +1 -1
- package/dist/schemas/language/languageApiSchemas.js +2 -2
- package/dist/schemas/link/linkApiSchemas.js +2 -2
- package/dist/schemas/processResult/integrationProcessResultsApiSchemas.d.ts +110 -0
- package/dist/schemas/processResult/integrationProcessResultsApiSchemas.js +40 -0
- package/dist/schemas/processResult/integrationProcessResultsApiSchemas.js.map +1 -0
- package/dist/schemas/processResult/integrationProcessResultsSchemas.d.ts +29 -0
- package/dist/schemas/processResult/integrationProcessResultsSchemas.js +13 -0
- package/dist/schemas/processResult/integrationProcessResultsSchemas.js.map +1 -0
- package/dist/schemas/project/projectApiSchemas.d.ts +2 -2
- package/dist/schemas/project/projectApiSchemas.js +3 -3
- package/dist/schemas/project/projectSchemas.d.ts +7 -7
- package/dist/schemas/project/projectSchemas.js +1 -1
- package/dist/schemas/schedule/scheduleApiSchemas.d.ts +18 -18
- package/dist/schemas/schedule/scheduleApiSchemas.js +2 -2
- package/dist/schemas/schedule/scheduleSchemas.d.ts +21 -21
- package/dist/schemas/schedule/scheduleSchemas.js +1 -1
- package/dist/schemas/settings/settingsApiSchemas.js +2 -2
- package/dist/schemas/settings/settingsSchemas.js +1 -1
- package/dist/schemas/status/statusApiSchemas.d.ts +6 -6
- package/dist/schemas/status/statusApiSchemas.js +2 -2
- package/dist/schemas/status/statusSchemas.d.ts +6 -6
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const getScheduleConfigContract: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodObject<{
|
|
2
2
|
autoImport: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3
|
-
frequency: import("zod").ZodLiteral<"daily">;
|
|
4
3
|
enabled: import("zod").ZodBoolean;
|
|
5
4
|
hour: import("zod").ZodNumber;
|
|
6
5
|
minute: import("zod").ZodNumber;
|
|
7
6
|
timezone: import("zod").ZodString;
|
|
8
7
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
8
|
+
frequency: import("zod").ZodLiteral<"daily">;
|
|
9
9
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
10
10
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
11
11
|
overrideUpdatedTranslations: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -20,13 +20,13 @@ export declare const getScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
20
20
|
}, import("zod/v4/core").$strip>>;
|
|
21
21
|
}, import("zod/v4/core").$strip>>;
|
|
22
22
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
23
|
-
frequency: import("zod").ZodLiteral<"weekly">;
|
|
24
|
-
day: import("zod").ZodNumber;
|
|
25
23
|
enabled: import("zod").ZodBoolean;
|
|
26
24
|
hour: import("zod").ZodNumber;
|
|
27
25
|
minute: import("zod").ZodNumber;
|
|
28
26
|
timezone: import("zod").ZodString;
|
|
29
27
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
28
|
+
frequency: import("zod").ZodLiteral<"weekly">;
|
|
29
|
+
day: import("zod").ZodNumber;
|
|
30
30
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
31
31
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
32
32
|
overrideUpdatedTranslations: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -42,12 +42,12 @@ export declare const getScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
42
42
|
}, import("zod/v4/core").$strip>>;
|
|
43
43
|
}, import("zod/v4/core").$strip>], "frequency">>;
|
|
44
44
|
autoExport: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
45
|
-
frequency: import("zod").ZodLiteral<"daily">;
|
|
46
45
|
enabled: import("zod").ZodBoolean;
|
|
47
46
|
hour: import("zod").ZodNumber;
|
|
48
47
|
minute: import("zod").ZodNumber;
|
|
49
48
|
timezone: import("zod").ZodString;
|
|
50
49
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
50
|
+
frequency: import("zod").ZodLiteral<"daily">;
|
|
51
51
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
52
52
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
53
53
|
includeReferencedEntries: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -63,13 +63,13 @@ export declare const getScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
63
63
|
}, import("zod/v4/core").$strip>>;
|
|
64
64
|
}, import("zod/v4/core").$strip>>;
|
|
65
65
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
66
|
-
frequency: import("zod").ZodLiteral<"weekly">;
|
|
67
|
-
day: import("zod").ZodNumber;
|
|
68
66
|
enabled: import("zod").ZodBoolean;
|
|
69
67
|
hour: import("zod").ZodNumber;
|
|
70
68
|
minute: import("zod").ZodNumber;
|
|
71
69
|
timezone: import("zod").ZodString;
|
|
72
70
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
71
|
+
frequency: import("zod").ZodLiteral<"weekly">;
|
|
72
|
+
day: import("zod").ZodNumber;
|
|
73
73
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
74
74
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
75
75
|
includeReferencedEntries: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -90,12 +90,12 @@ export declare const getScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
90
90
|
}, import("zod/v4/core").$strip>, undefined, false, false, undefined>;
|
|
91
91
|
export declare const putScheduleConfigContract: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod").ZodObject<{
|
|
92
92
|
autoImport: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
93
|
-
frequency: import("zod").ZodLiteral<"daily">;
|
|
94
93
|
enabled: import("zod").ZodBoolean;
|
|
95
94
|
hour: import("zod").ZodNumber;
|
|
96
95
|
minute: import("zod").ZodNumber;
|
|
97
96
|
timezone: import("zod").ZodString;
|
|
98
97
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
98
|
+
frequency: import("zod").ZodLiteral<"daily">;
|
|
99
99
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
100
100
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
101
101
|
overrideUpdatedTranslations: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -110,13 +110,13 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
110
110
|
}, import("zod/v4/core").$strip>>;
|
|
111
111
|
}, import("zod/v4/core").$strip>>;
|
|
112
112
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
113
|
-
frequency: import("zod").ZodLiteral<"weekly">;
|
|
114
|
-
day: import("zod").ZodNumber;
|
|
115
113
|
enabled: import("zod").ZodBoolean;
|
|
116
114
|
hour: import("zod").ZodNumber;
|
|
117
115
|
minute: import("zod").ZodNumber;
|
|
118
116
|
timezone: import("zod").ZodString;
|
|
119
117
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
118
|
+
frequency: import("zod").ZodLiteral<"weekly">;
|
|
119
|
+
day: import("zod").ZodNumber;
|
|
120
120
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
121
121
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
122
122
|
overrideUpdatedTranslations: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -132,12 +132,12 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
132
132
|
}, import("zod/v4/core").$strip>>;
|
|
133
133
|
}, import("zod/v4/core").$strip>], "frequency">>;
|
|
134
134
|
autoExport: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
135
|
-
frequency: import("zod").ZodLiteral<"daily">;
|
|
136
135
|
enabled: import("zod").ZodBoolean;
|
|
137
136
|
hour: import("zod").ZodNumber;
|
|
138
137
|
minute: import("zod").ZodNumber;
|
|
139
138
|
timezone: import("zod").ZodString;
|
|
140
139
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
140
|
+
frequency: import("zod").ZodLiteral<"daily">;
|
|
141
141
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
142
142
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
143
143
|
includeReferencedEntries: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -153,13 +153,13 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
153
153
|
}, import("zod/v4/core").$strip>>;
|
|
154
154
|
}, import("zod/v4/core").$strip>>;
|
|
155
155
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
156
|
-
frequency: import("zod").ZodLiteral<"weekly">;
|
|
157
|
-
day: import("zod").ZodNumber;
|
|
158
156
|
enabled: import("zod").ZodBoolean;
|
|
159
157
|
hour: import("zod").ZodNumber;
|
|
160
158
|
minute: import("zod").ZodNumber;
|
|
161
159
|
timezone: import("zod").ZodString;
|
|
162
160
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
161
|
+
frequency: import("zod").ZodLiteral<"weekly">;
|
|
162
|
+
day: import("zod").ZodNumber;
|
|
163
163
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
164
164
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
165
165
|
includeReferencedEntries: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -177,12 +177,12 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
177
177
|
}, import("zod/v4/core").$strip>], "frequency">>;
|
|
178
178
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
179
179
|
autoImport: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
180
|
-
frequency: import("zod").ZodLiteral<"daily">;
|
|
181
180
|
enabled: import("zod").ZodBoolean;
|
|
182
181
|
hour: import("zod").ZodNumber;
|
|
183
182
|
minute: import("zod").ZodNumber;
|
|
184
183
|
timezone: import("zod").ZodString;
|
|
185
184
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
185
|
+
frequency: import("zod").ZodLiteral<"daily">;
|
|
186
186
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
187
187
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
188
188
|
overrideUpdatedTranslations: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -197,13 +197,13 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
197
197
|
}, import("zod/v4/core").$strip>>;
|
|
198
198
|
}, import("zod/v4/core").$strip>>;
|
|
199
199
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
200
|
-
frequency: import("zod").ZodLiteral<"weekly">;
|
|
201
|
-
day: import("zod").ZodNumber;
|
|
202
200
|
enabled: import("zod").ZodBoolean;
|
|
203
201
|
hour: import("zod").ZodNumber;
|
|
204
202
|
minute: import("zod").ZodNumber;
|
|
205
203
|
timezone: import("zod").ZodString;
|
|
206
204
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
205
|
+
frequency: import("zod").ZodLiteral<"weekly">;
|
|
206
|
+
day: import("zod").ZodNumber;
|
|
207
207
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
208
208
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
209
209
|
overrideUpdatedTranslations: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -219,12 +219,12 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
219
219
|
}, import("zod/v4/core").$strip>>;
|
|
220
220
|
}, import("zod/v4/core").$strip>], "frequency">>;
|
|
221
221
|
autoExport: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
222
|
-
frequency: import("zod").ZodLiteral<"daily">;
|
|
223
222
|
enabled: import("zod").ZodBoolean;
|
|
224
223
|
hour: import("zod").ZodNumber;
|
|
225
224
|
minute: import("zod").ZodNumber;
|
|
226
225
|
timezone: import("zod").ZodString;
|
|
227
226
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
227
|
+
frequency: import("zod").ZodLiteral<"daily">;
|
|
228
228
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
229
229
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
230
230
|
includeReferencedEntries: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -240,13 +240,13 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
240
240
|
}, import("zod/v4/core").$strip>>;
|
|
241
241
|
}, import("zod/v4/core").$strip>>;
|
|
242
242
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
243
|
-
frequency: import("zod").ZodLiteral<"weekly">;
|
|
244
|
-
day: import("zod").ZodNumber;
|
|
245
243
|
enabled: import("zod").ZodBoolean;
|
|
246
244
|
hour: import("zod").ZodNumber;
|
|
247
245
|
minute: import("zod").ZodNumber;
|
|
248
246
|
timezone: import("zod").ZodString;
|
|
249
247
|
filterId: import("zod").ZodOptional<import("zod").ZodGUID>;
|
|
248
|
+
frequency: import("zod").ZodLiteral<"weekly">;
|
|
249
|
+
day: import("zod").ZodNumber;
|
|
250
250
|
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
251
251
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
252
252
|
includeReferencedEntries: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { buildRestContract } from '@lokalise/api-contracts';
|
|
2
|
-
import { AUTHORIZATION_HEADER_SCHEMA } from
|
|
3
|
-
import { EXECUTIONS_RESPONSE, SCHEDULE_CONFIG_RESPONSE, UPDATE_SCHEDULE_REQUEST_BODY, } from
|
|
2
|
+
import { AUTHORIZATION_HEADER_SCHEMA } from '../commonRequestSchemas.js';
|
|
3
|
+
import { EXECUTIONS_RESPONSE, SCHEDULE_CONFIG_RESPONSE, UPDATE_SCHEDULE_REQUEST_BODY, } from './scheduleSchemas.js';
|
|
4
4
|
export const getScheduleConfigContract = buildRestContract({
|
|
5
5
|
method: 'get',
|
|
6
6
|
summary: 'Get schedule configuration',
|
|
@@ -9,21 +9,21 @@ export declare const SCHEDULE_COMMON_FIELDS: {
|
|
|
9
9
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
10
10
|
};
|
|
11
11
|
export declare const DAILY_SCHEDULE_SCHEMA: z.ZodObject<{
|
|
12
|
-
frequency: z.ZodLiteral<"daily">;
|
|
13
12
|
enabled: z.ZodBoolean;
|
|
14
13
|
hour: z.ZodNumber;
|
|
15
14
|
minute: z.ZodNumber;
|
|
16
15
|
timezone: z.ZodString;
|
|
17
16
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
17
|
+
frequency: z.ZodLiteral<"daily">;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
export declare const WEEKLY_SCHEDULE_SCHEMA: z.ZodObject<{
|
|
20
|
-
frequency: z.ZodLiteral<"weekly">;
|
|
21
|
-
day: z.ZodNumber;
|
|
22
20
|
enabled: z.ZodBoolean;
|
|
23
21
|
hour: z.ZodNumber;
|
|
24
22
|
minute: z.ZodNumber;
|
|
25
23
|
timezone: z.ZodString;
|
|
26
24
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
25
|
+
frequency: z.ZodLiteral<"weekly">;
|
|
26
|
+
day: z.ZodNumber;
|
|
27
27
|
}, z.core.$strip>;
|
|
28
28
|
export declare const AUTO_IMPORT_EXTRA: {
|
|
29
29
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -41,12 +41,12 @@ export declare const AUTO_IMPORT_EXTRA: {
|
|
|
41
41
|
}, z.core.$strip>>;
|
|
42
42
|
};
|
|
43
43
|
export declare const AUTO_IMPORT_OPTIONS_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
|
-
frequency: z.ZodLiteral<"daily">;
|
|
45
44
|
enabled: z.ZodBoolean;
|
|
46
45
|
hour: z.ZodNumber;
|
|
47
46
|
minute: z.ZodNumber;
|
|
48
47
|
timezone: z.ZodString;
|
|
49
48
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
49
|
+
frequency: z.ZodLiteral<"daily">;
|
|
50
50
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
51
|
options: z.ZodOptional<z.ZodObject<{
|
|
52
52
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -61,13 +61,13 @@ export declare const AUTO_IMPORT_OPTIONS_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
61
61
|
}, z.core.$strip>>;
|
|
62
62
|
}, z.core.$strip>>;
|
|
63
63
|
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
frequency: z.ZodLiteral<"weekly">;
|
|
65
|
-
day: z.ZodNumber;
|
|
66
64
|
enabled: z.ZodBoolean;
|
|
67
65
|
hour: z.ZodNumber;
|
|
68
66
|
minute: z.ZodNumber;
|
|
69
67
|
timezone: z.ZodString;
|
|
70
68
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
69
|
+
frequency: z.ZodLiteral<"weekly">;
|
|
70
|
+
day: z.ZodNumber;
|
|
71
71
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
72
|
options: z.ZodOptional<z.ZodObject<{
|
|
73
73
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -99,12 +99,12 @@ export declare const AUTO_EXPORT_EXTRA: {
|
|
|
99
99
|
}, z.core.$strip>>;
|
|
100
100
|
};
|
|
101
101
|
export declare const AUTO_EXPORT_OPTIONS_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
102
|
-
frequency: z.ZodLiteral<"daily">;
|
|
103
102
|
enabled: z.ZodBoolean;
|
|
104
103
|
hour: z.ZodNumber;
|
|
105
104
|
minute: z.ZodNumber;
|
|
106
105
|
timezone: z.ZodString;
|
|
107
106
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
107
|
+
frequency: z.ZodLiteral<"daily">;
|
|
108
108
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
109
109
|
options: z.ZodOptional<z.ZodObject<{
|
|
110
110
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -120,13 +120,13 @@ export declare const AUTO_EXPORT_OPTIONS_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
120
120
|
}, z.core.$strip>>;
|
|
121
121
|
}, z.core.$strip>>;
|
|
122
122
|
}, z.core.$strip>, z.ZodObject<{
|
|
123
|
-
frequency: z.ZodLiteral<"weekly">;
|
|
124
|
-
day: z.ZodNumber;
|
|
125
123
|
enabled: z.ZodBoolean;
|
|
126
124
|
hour: z.ZodNumber;
|
|
127
125
|
minute: z.ZodNumber;
|
|
128
126
|
timezone: z.ZodString;
|
|
129
127
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
128
|
+
frequency: z.ZodLiteral<"weekly">;
|
|
129
|
+
day: z.ZodNumber;
|
|
130
130
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
131
131
|
options: z.ZodOptional<z.ZodObject<{
|
|
132
132
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -144,12 +144,12 @@ export declare const AUTO_EXPORT_OPTIONS_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
144
144
|
}, z.core.$strip>], "frequency">;
|
|
145
145
|
export declare const SCHEDULE_CONFIG_RESPONSE: z.ZodObject<{
|
|
146
146
|
autoImport: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
147
|
-
frequency: z.ZodLiteral<"daily">;
|
|
148
147
|
enabled: z.ZodBoolean;
|
|
149
148
|
hour: z.ZodNumber;
|
|
150
149
|
minute: z.ZodNumber;
|
|
151
150
|
timezone: z.ZodString;
|
|
152
151
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
152
|
+
frequency: z.ZodLiteral<"daily">;
|
|
153
153
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
154
|
options: z.ZodOptional<z.ZodObject<{
|
|
155
155
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -164,13 +164,13 @@ export declare const SCHEDULE_CONFIG_RESPONSE: z.ZodObject<{
|
|
|
164
164
|
}, z.core.$strip>>;
|
|
165
165
|
}, z.core.$strip>>;
|
|
166
166
|
}, z.core.$strip>, z.ZodObject<{
|
|
167
|
-
frequency: z.ZodLiteral<"weekly">;
|
|
168
|
-
day: z.ZodNumber;
|
|
169
167
|
enabled: z.ZodBoolean;
|
|
170
168
|
hour: z.ZodNumber;
|
|
171
169
|
minute: z.ZodNumber;
|
|
172
170
|
timezone: z.ZodString;
|
|
173
171
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
172
|
+
frequency: z.ZodLiteral<"weekly">;
|
|
173
|
+
day: z.ZodNumber;
|
|
174
174
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
175
175
|
options: z.ZodOptional<z.ZodObject<{
|
|
176
176
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -186,12 +186,12 @@ export declare const SCHEDULE_CONFIG_RESPONSE: z.ZodObject<{
|
|
|
186
186
|
}, z.core.$strip>>;
|
|
187
187
|
}, z.core.$strip>], "frequency">>;
|
|
188
188
|
autoExport: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
189
|
-
frequency: z.ZodLiteral<"daily">;
|
|
190
189
|
enabled: z.ZodBoolean;
|
|
191
190
|
hour: z.ZodNumber;
|
|
192
191
|
minute: z.ZodNumber;
|
|
193
192
|
timezone: z.ZodString;
|
|
194
193
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
194
|
+
frequency: z.ZodLiteral<"daily">;
|
|
195
195
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
196
196
|
options: z.ZodOptional<z.ZodObject<{
|
|
197
197
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -207,13 +207,13 @@ export declare const SCHEDULE_CONFIG_RESPONSE: z.ZodObject<{
|
|
|
207
207
|
}, z.core.$strip>>;
|
|
208
208
|
}, z.core.$strip>>;
|
|
209
209
|
}, z.core.$strip>, z.ZodObject<{
|
|
210
|
-
frequency: z.ZodLiteral<"weekly">;
|
|
211
|
-
day: z.ZodNumber;
|
|
212
210
|
enabled: z.ZodBoolean;
|
|
213
211
|
hour: z.ZodNumber;
|
|
214
212
|
minute: z.ZodNumber;
|
|
215
213
|
timezone: z.ZodString;
|
|
216
214
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
215
|
+
frequency: z.ZodLiteral<"weekly">;
|
|
216
|
+
day: z.ZodNumber;
|
|
217
217
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
218
218
|
options: z.ZodOptional<z.ZodObject<{
|
|
219
219
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -232,12 +232,12 @@ export declare const SCHEDULE_CONFIG_RESPONSE: z.ZodObject<{
|
|
|
232
232
|
}, z.core.$strip>;
|
|
233
233
|
export declare const UPDATE_SCHEDULE_REQUEST_BODY: z.ZodObject<{
|
|
234
234
|
autoImport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
235
|
-
frequency: z.ZodLiteral<"daily">;
|
|
236
235
|
enabled: z.ZodBoolean;
|
|
237
236
|
hour: z.ZodNumber;
|
|
238
237
|
minute: z.ZodNumber;
|
|
239
238
|
timezone: z.ZodString;
|
|
240
239
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
240
|
+
frequency: z.ZodLiteral<"daily">;
|
|
241
241
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
242
242
|
options: z.ZodOptional<z.ZodObject<{
|
|
243
243
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -252,13 +252,13 @@ export declare const UPDATE_SCHEDULE_REQUEST_BODY: z.ZodObject<{
|
|
|
252
252
|
}, z.core.$strip>>;
|
|
253
253
|
}, z.core.$strip>>;
|
|
254
254
|
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
-
frequency: z.ZodLiteral<"weekly">;
|
|
256
|
-
day: z.ZodNumber;
|
|
257
255
|
enabled: z.ZodBoolean;
|
|
258
256
|
hour: z.ZodNumber;
|
|
259
257
|
minute: z.ZodNumber;
|
|
260
258
|
timezone: z.ZodString;
|
|
261
259
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
260
|
+
frequency: z.ZodLiteral<"weekly">;
|
|
261
|
+
day: z.ZodNumber;
|
|
262
262
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
263
263
|
options: z.ZodOptional<z.ZodObject<{
|
|
264
264
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -274,12 +274,12 @@ export declare const UPDATE_SCHEDULE_REQUEST_BODY: z.ZodObject<{
|
|
|
274
274
|
}, z.core.$strip>>;
|
|
275
275
|
}, z.core.$strip>], "frequency">>;
|
|
276
276
|
autoExport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
277
|
-
frequency: z.ZodLiteral<"daily">;
|
|
278
277
|
enabled: z.ZodBoolean;
|
|
279
278
|
hour: z.ZodNumber;
|
|
280
279
|
minute: z.ZodNumber;
|
|
281
280
|
timezone: z.ZodString;
|
|
282
281
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
282
|
+
frequency: z.ZodLiteral<"daily">;
|
|
283
283
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
284
284
|
options: z.ZodOptional<z.ZodObject<{
|
|
285
285
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -295,13 +295,13 @@ export declare const UPDATE_SCHEDULE_REQUEST_BODY: z.ZodObject<{
|
|
|
295
295
|
}, z.core.$strip>>;
|
|
296
296
|
}, z.core.$strip>>;
|
|
297
297
|
}, z.core.$strip>, z.ZodObject<{
|
|
298
|
-
frequency: z.ZodLiteral<"weekly">;
|
|
299
|
-
day: z.ZodNumber;
|
|
300
298
|
enabled: z.ZodBoolean;
|
|
301
299
|
hour: z.ZodNumber;
|
|
302
300
|
minute: z.ZodNumber;
|
|
303
301
|
timezone: z.ZodString;
|
|
304
302
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
303
|
+
frequency: z.ZodLiteral<"weekly">;
|
|
304
|
+
day: z.ZodNumber;
|
|
305
305
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
306
306
|
options: z.ZodOptional<z.ZodObject<{
|
|
307
307
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CONNECTOR_SETTINGS_BAG } from '@lokalise/connector-api-contracts';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { EXPORT_TRANSLATION_STATUS_SCHEMA } from
|
|
3
|
+
import { EXPORT_TRANSLATION_STATUS_SCHEMA } from '../content/contentSchemas.js';
|
|
4
4
|
export const VALID_TIMEZONES = new Set(Intl.supportedValuesOf('timeZone'));
|
|
5
5
|
export const TIMEZONE_SCHEMA = z
|
|
6
6
|
.string()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { buildGetRoute, buildPayloadRoute } from '@lokalise/api-contracts';
|
|
2
|
-
import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from
|
|
3
|
-
import { GET_SETTINGS_RESPONSE, SETTINGS_PATH_PARAMS, UPDATE_SETTINGS_BODY, UPDATE_SETTINGS_RESPONSE, } from
|
|
2
|
+
import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
|
|
3
|
+
import { GET_SETTINGS_RESPONSE, SETTINGS_PATH_PARAMS, UPDATE_SETTINGS_BODY, UPDATE_SETTINGS_RESPONSE, } from './settingsSchemas.js';
|
|
4
4
|
export const getSettingsContract = buildGetRoute({
|
|
5
5
|
pathResolver: ({ type, id }) => `/v1/settings/parent/${type}/${id}`,
|
|
6
6
|
requestPathParamsSchema: SETTINGS_PATH_PARAMS,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LANGUAGE_FOLDERS } from '@lokalise/connector-api-contracts';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
|
-
import { EXPORT_TRANSLATION_STATUS_SCHEMA } from
|
|
3
|
+
import { EXPORT_TRANSLATION_STATUS_SCHEMA } from '../content/contentSchemas.js';
|
|
4
4
|
const EXPORT_OPTIONS = z.discriminatedUnion('version', [
|
|
5
5
|
z.strictObject({
|
|
6
6
|
version: z.literal(1),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export declare const getJobStatusContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodUnion<readonly [z.ZodObject<{
|
|
3
3
|
status: z.ZodEnum<{
|
|
4
|
-
completed: "completed";
|
|
5
|
-
failed: "failed";
|
|
6
|
-
waiting: "waiting";
|
|
7
4
|
active: "active";
|
|
5
|
+
completed: "completed";
|
|
8
6
|
delayed: "delayed";
|
|
7
|
+
failed: "failed";
|
|
9
8
|
paused: "paused";
|
|
10
9
|
stuck: "stuck";
|
|
10
|
+
waiting: "waiting";
|
|
11
11
|
}>;
|
|
12
12
|
results: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13
13
|
language: z.ZodString;
|
|
@@ -28,13 +28,13 @@ export declare const getJobStatusContract: import("@lokalise/api-contracts").Get
|
|
|
28
28
|
}, z.core.$strip>, undefined, false, false, {
|
|
29
29
|
200: z.ZodObject<{
|
|
30
30
|
status: z.ZodEnum<{
|
|
31
|
-
completed: "completed";
|
|
32
|
-
failed: "failed";
|
|
33
|
-
waiting: "waiting";
|
|
34
31
|
active: "active";
|
|
32
|
+
completed: "completed";
|
|
35
33
|
delayed: "delayed";
|
|
34
|
+
failed: "failed";
|
|
36
35
|
paused: "paused";
|
|
37
36
|
stuck: "stuck";
|
|
37
|
+
waiting: "waiting";
|
|
38
38
|
}>;
|
|
39
39
|
results: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
40
40
|
language: z.ZodString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { buildGetRoute } from '@lokalise/api-contracts';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
|
-
import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA, } from
|
|
4
|
-
import { GET_JOB_STATUS_REQUEST_PATH_PARAMS_SCHEMA, GET_JOB_STATUS_RESPONSE_SCHEMA, } from
|
|
3
|
+
import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA, } from '../commonRequestSchemas.js';
|
|
4
|
+
import { GET_JOB_STATUS_REQUEST_PATH_PARAMS_SCHEMA, GET_JOB_STATUS_RESPONSE_SCHEMA, } from './statusSchemas.js';
|
|
5
5
|
const tags = ['Status'];
|
|
6
6
|
export const getJobStatusContract = buildGetRoute({
|
|
7
7
|
pathResolver: ({ id }) => `/v1/status/jobs/${id}`,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export declare const JOB_STATUS_ENUM_SCHEMA: z.ZodEnum<{
|
|
3
|
-
completed: "completed";
|
|
4
|
-
failed: "failed";
|
|
5
|
-
waiting: "waiting";
|
|
6
3
|
active: "active";
|
|
4
|
+
completed: "completed";
|
|
7
5
|
delayed: "delayed";
|
|
6
|
+
failed: "failed";
|
|
8
7
|
paused: "paused";
|
|
9
8
|
stuck: "stuck";
|
|
9
|
+
waiting: "waiting";
|
|
10
10
|
}>;
|
|
11
11
|
export type JobStatus = z.infer<typeof JOB_STATUS_ENUM_SCHEMA>;
|
|
12
12
|
declare const BG_PROCESS_RESULT_SCHEMA: z.ZodObject<{
|
|
@@ -17,13 +17,13 @@ declare const BG_PROCESS_RESULT_SCHEMA: z.ZodObject<{
|
|
|
17
17
|
export type BgProcessResult = z.infer<typeof BG_PROCESS_RESULT_SCHEMA>;
|
|
18
18
|
export declare const GET_JOB_STATUS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
19
19
|
status: z.ZodEnum<{
|
|
20
|
-
completed: "completed";
|
|
21
|
-
failed: "failed";
|
|
22
|
-
waiting: "waiting";
|
|
23
20
|
active: "active";
|
|
21
|
+
completed: "completed";
|
|
24
22
|
delayed: "delayed";
|
|
23
|
+
failed: "failed";
|
|
25
24
|
paused: "paused";
|
|
26
25
|
stuck: "stuck";
|
|
26
|
+
waiting: "waiting";
|
|
27
27
|
}>;
|
|
28
28
|
results: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
29
29
|
language: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/content-type-app-engine-contracts",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.16.0",
|
|
4
4
|
"description": "Content Type App Engine service contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@biomejs/biome": "^2.4.16",
|
|
25
25
|
"@lokalise/api-common": "^7.1.1",
|
|
26
26
|
"@lokalise/biome-config": "^3.1.0",
|
|
27
|
-
"@lokalise/tsconfig": "^
|
|
27
|
+
"@lokalise/tsconfig": "^5.0.0",
|
|
28
28
|
"rimraf": "^6.0.1",
|
|
29
|
-
"typescript": "^
|
|
29
|
+
"typescript": "^7.0.2",
|
|
30
30
|
"zod": "^4.1.13"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|