@lokalise/content-type-app-engine-contracts 5.27.1 → 5.29.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.
|
@@ -2,11 +2,11 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const getScheduleConfigContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
|
|
3
3
|
autoImport: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
4
|
enabled: z.ZodBoolean;
|
|
5
|
-
hour: z.ZodNumber;
|
|
6
5
|
minute: z.ZodNumber;
|
|
7
6
|
timezone: z.ZodString;
|
|
7
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
8
8
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
9
|
-
frequency: z.ZodLiteral<"
|
|
9
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
10
10
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
11
|
options: z.ZodOptional<z.ZodObject<{
|
|
12
12
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -22,9 +22,31 @@ export declare const getScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
24
|
enabled: z.ZodBoolean;
|
|
25
|
+
minute: z.ZodNumber;
|
|
26
|
+
timezone: z.ZodString;
|
|
27
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
25
28
|
hour: z.ZodNumber;
|
|
29
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
30
|
+
frequency: z.ZodLiteral<"daily">;
|
|
31
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
skipEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
importTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
38
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
39
|
+
id: z.ZodString;
|
|
40
|
+
slug: z.ZodString;
|
|
41
|
+
}, z.core.$strict>>>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
+
enabled: z.ZodBoolean;
|
|
26
46
|
minute: z.ZodNumber;
|
|
27
47
|
timezone: z.ZodString;
|
|
48
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
49
|
+
hour: z.ZodNumber;
|
|
28
50
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
29
51
|
frequency: z.ZodLiteral<"weekly">;
|
|
30
52
|
day: z.ZodNumber;
|
|
@@ -44,11 +66,11 @@ export declare const getScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
44
66
|
}, z.core.$strip>], "frequency">>;
|
|
45
67
|
autoExport: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
46
68
|
enabled: z.ZodBoolean;
|
|
47
|
-
hour: z.ZodNumber;
|
|
48
69
|
minute: z.ZodNumber;
|
|
49
70
|
timezone: z.ZodString;
|
|
71
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
50
72
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
51
|
-
frequency: z.ZodLiteral<"
|
|
73
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
52
74
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
75
|
options: z.ZodOptional<z.ZodObject<{
|
|
54
76
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -65,9 +87,32 @@ export declare const getScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
65
87
|
}, z.core.$strip>>;
|
|
66
88
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
89
|
enabled: z.ZodBoolean;
|
|
90
|
+
minute: z.ZodNumber;
|
|
91
|
+
timezone: z.ZodString;
|
|
92
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
68
93
|
hour: z.ZodNumber;
|
|
94
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
95
|
+
frequency: z.ZodLiteral<"daily">;
|
|
96
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
+
exportableTranslationStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
100
|
+
REVIEWED: "REVIEWED";
|
|
101
|
+
VERIFIED: "VERIFIED";
|
|
102
|
+
}>>>;
|
|
103
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
105
|
+
id: z.ZodString;
|
|
106
|
+
slug: z.ZodString;
|
|
107
|
+
}, z.core.$strict>>>;
|
|
108
|
+
}, z.core.$strip>>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
+
enabled: z.ZodBoolean;
|
|
69
112
|
minute: z.ZodNumber;
|
|
70
113
|
timezone: z.ZodString;
|
|
114
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
115
|
+
hour: z.ZodNumber;
|
|
71
116
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
72
117
|
frequency: z.ZodLiteral<"weekly">;
|
|
73
118
|
day: z.ZodNumber;
|
|
@@ -92,9 +137,9 @@ export declare const getScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
92
137
|
export declare const putScheduleConfigContract: import("@lokalise/api-contracts").PayloadRouteDefinition<z.ZodObject<{
|
|
93
138
|
autoImport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
94
139
|
enabled: z.ZodBoolean;
|
|
95
|
-
hour: z.ZodNumber;
|
|
96
140
|
minute: z.ZodNumber;
|
|
97
141
|
timezone: z.ZodString;
|
|
142
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
98
143
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
99
144
|
filter: z.ZodOptional<z.ZodObject<{
|
|
100
145
|
id: z.ZodOptional<z.ZodGUID>;
|
|
@@ -128,7 +173,7 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
128
173
|
filter: z.ZodString;
|
|
129
174
|
}, z.core.$strip>]>;
|
|
130
175
|
}, z.core.$strip>>;
|
|
131
|
-
frequency: z.ZodLiteral<"
|
|
176
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
132
177
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
133
178
|
options: z.ZodOptional<z.ZodObject<{
|
|
134
179
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -144,9 +189,63 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
144
189
|
}, z.core.$strip>>;
|
|
145
190
|
}, z.core.$strip>, z.ZodObject<{
|
|
146
191
|
enabled: z.ZodBoolean;
|
|
192
|
+
minute: z.ZodNumber;
|
|
193
|
+
timezone: z.ZodString;
|
|
194
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
147
195
|
hour: z.ZodNumber;
|
|
196
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
197
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
198
|
+
id: z.ZodOptional<z.ZodGUID>;
|
|
199
|
+
name: z.ZodString;
|
|
200
|
+
definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
201
|
+
relation: z.ZodEnum<{
|
|
202
|
+
AND: "AND";
|
|
203
|
+
OR: "OR";
|
|
204
|
+
}>;
|
|
205
|
+
object: z.ZodString;
|
|
206
|
+
option: z.ZodEnum<{
|
|
207
|
+
contains: "contains";
|
|
208
|
+
containsAll: "containsAll";
|
|
209
|
+
endsWith: "endsWith";
|
|
210
|
+
equals: "equals";
|
|
211
|
+
notContains: "notContains";
|
|
212
|
+
notContainsAll: "notContainsAll";
|
|
213
|
+
notEquals: "notEquals";
|
|
214
|
+
startsWith: "startsWith";
|
|
215
|
+
within: "within";
|
|
216
|
+
}>;
|
|
217
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
218
|
+
kind: z.ZodLiteral<"relative">;
|
|
219
|
+
amount: z.ZodNumber;
|
|
220
|
+
unit: z.ZodEnum<{
|
|
221
|
+
days: "days";
|
|
222
|
+
hours: "hours";
|
|
223
|
+
}>;
|
|
224
|
+
}, z.core.$strip>]>>;
|
|
225
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
226
|
+
filter: z.ZodString;
|
|
227
|
+
}, z.core.$strip>]>;
|
|
228
|
+
}, z.core.$strip>>;
|
|
229
|
+
frequency: z.ZodLiteral<"daily">;
|
|
230
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
231
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
232
|
+
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
233
|
+
skipEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
+
importTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
236
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
238
|
+
id: z.ZodString;
|
|
239
|
+
slug: z.ZodString;
|
|
240
|
+
}, z.core.$strict>>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
}, z.core.$strip>>;
|
|
243
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
244
|
+
enabled: z.ZodBoolean;
|
|
148
245
|
minute: z.ZodNumber;
|
|
149
246
|
timezone: z.ZodString;
|
|
247
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
248
|
+
hour: z.ZodNumber;
|
|
150
249
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
151
250
|
filter: z.ZodOptional<z.ZodObject<{
|
|
152
251
|
id: z.ZodOptional<z.ZodGUID>;
|
|
@@ -198,9 +297,9 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
198
297
|
}, z.core.$strip>], "frequency">>;
|
|
199
298
|
autoExport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
200
299
|
enabled: z.ZodBoolean;
|
|
201
|
-
hour: z.ZodNumber;
|
|
202
300
|
minute: z.ZodNumber;
|
|
203
301
|
timezone: z.ZodString;
|
|
302
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
204
303
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
205
304
|
filter: z.ZodOptional<z.ZodObject<{
|
|
206
305
|
id: z.ZodOptional<z.ZodGUID>;
|
|
@@ -234,7 +333,7 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
234
333
|
filter: z.ZodString;
|
|
235
334
|
}, z.core.$strip>]>;
|
|
236
335
|
}, z.core.$strip>>;
|
|
237
|
-
frequency: z.ZodLiteral<"
|
|
336
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
238
337
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
239
338
|
options: z.ZodOptional<z.ZodObject<{
|
|
240
339
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -251,9 +350,64 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
251
350
|
}, z.core.$strip>>;
|
|
252
351
|
}, z.core.$strip>, z.ZodObject<{
|
|
253
352
|
enabled: z.ZodBoolean;
|
|
353
|
+
minute: z.ZodNumber;
|
|
354
|
+
timezone: z.ZodString;
|
|
355
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
254
356
|
hour: z.ZodNumber;
|
|
357
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
358
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
359
|
+
id: z.ZodOptional<z.ZodGUID>;
|
|
360
|
+
name: z.ZodString;
|
|
361
|
+
definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
362
|
+
relation: z.ZodEnum<{
|
|
363
|
+
AND: "AND";
|
|
364
|
+
OR: "OR";
|
|
365
|
+
}>;
|
|
366
|
+
object: z.ZodString;
|
|
367
|
+
option: z.ZodEnum<{
|
|
368
|
+
contains: "contains";
|
|
369
|
+
containsAll: "containsAll";
|
|
370
|
+
endsWith: "endsWith";
|
|
371
|
+
equals: "equals";
|
|
372
|
+
notContains: "notContains";
|
|
373
|
+
notContainsAll: "notContainsAll";
|
|
374
|
+
notEquals: "notEquals";
|
|
375
|
+
startsWith: "startsWith";
|
|
376
|
+
within: "within";
|
|
377
|
+
}>;
|
|
378
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
379
|
+
kind: z.ZodLiteral<"relative">;
|
|
380
|
+
amount: z.ZodNumber;
|
|
381
|
+
unit: z.ZodEnum<{
|
|
382
|
+
days: "days";
|
|
383
|
+
hours: "hours";
|
|
384
|
+
}>;
|
|
385
|
+
}, z.core.$strip>]>>;
|
|
386
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
387
|
+
filter: z.ZodString;
|
|
388
|
+
}, z.core.$strip>]>;
|
|
389
|
+
}, z.core.$strip>>;
|
|
390
|
+
frequency: z.ZodLiteral<"daily">;
|
|
391
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
392
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
393
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
394
|
+
exportableTranslationStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
395
|
+
REVIEWED: "REVIEWED";
|
|
396
|
+
VERIFIED: "VERIFIED";
|
|
397
|
+
}>>>;
|
|
398
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
399
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
400
|
+
id: z.ZodString;
|
|
401
|
+
slug: z.ZodString;
|
|
402
|
+
}, z.core.$strict>>>;
|
|
403
|
+
}, z.core.$strip>>;
|
|
404
|
+
}, z.core.$strip>>;
|
|
405
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
406
|
+
enabled: z.ZodBoolean;
|
|
255
407
|
minute: z.ZodNumber;
|
|
256
408
|
timezone: z.ZodString;
|
|
409
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
410
|
+
hour: z.ZodNumber;
|
|
257
411
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
258
412
|
filter: z.ZodOptional<z.ZodObject<{
|
|
259
413
|
id: z.ZodOptional<z.ZodGUID>;
|
|
@@ -307,11 +461,11 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
307
461
|
}, z.core.$strip>, z.ZodObject<{
|
|
308
462
|
autoImport: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
309
463
|
enabled: z.ZodBoolean;
|
|
310
|
-
hour: z.ZodNumber;
|
|
311
464
|
minute: z.ZodNumber;
|
|
312
465
|
timezone: z.ZodString;
|
|
466
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
313
467
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
314
|
-
frequency: z.ZodLiteral<"
|
|
468
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
315
469
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
316
470
|
options: z.ZodOptional<z.ZodObject<{
|
|
317
471
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -327,9 +481,31 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
327
481
|
}, z.core.$strip>>;
|
|
328
482
|
}, z.core.$strip>, z.ZodObject<{
|
|
329
483
|
enabled: z.ZodBoolean;
|
|
484
|
+
minute: z.ZodNumber;
|
|
485
|
+
timezone: z.ZodString;
|
|
486
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
330
487
|
hour: z.ZodNumber;
|
|
488
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
489
|
+
frequency: z.ZodLiteral<"daily">;
|
|
490
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
491
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
492
|
+
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
493
|
+
skipEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
495
|
+
importTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
496
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
497
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
498
|
+
id: z.ZodString;
|
|
499
|
+
slug: z.ZodString;
|
|
500
|
+
}, z.core.$strict>>>;
|
|
501
|
+
}, z.core.$strip>>;
|
|
502
|
+
}, z.core.$strip>>;
|
|
503
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
504
|
+
enabled: z.ZodBoolean;
|
|
331
505
|
minute: z.ZodNumber;
|
|
332
506
|
timezone: z.ZodString;
|
|
507
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
508
|
+
hour: z.ZodNumber;
|
|
333
509
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
334
510
|
frequency: z.ZodLiteral<"weekly">;
|
|
335
511
|
day: z.ZodNumber;
|
|
@@ -349,11 +525,11 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
349
525
|
}, z.core.$strip>], "frequency">>;
|
|
350
526
|
autoExport: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
351
527
|
enabled: z.ZodBoolean;
|
|
352
|
-
hour: z.ZodNumber;
|
|
353
528
|
minute: z.ZodNumber;
|
|
354
529
|
timezone: z.ZodString;
|
|
530
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
355
531
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
356
|
-
frequency: z.ZodLiteral<"
|
|
532
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
357
533
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
358
534
|
options: z.ZodOptional<z.ZodObject<{
|
|
359
535
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -370,9 +546,32 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
370
546
|
}, z.core.$strip>>;
|
|
371
547
|
}, z.core.$strip>, z.ZodObject<{
|
|
372
548
|
enabled: z.ZodBoolean;
|
|
549
|
+
minute: z.ZodNumber;
|
|
550
|
+
timezone: z.ZodString;
|
|
551
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
373
552
|
hour: z.ZodNumber;
|
|
553
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
554
|
+
frequency: z.ZodLiteral<"daily">;
|
|
555
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
556
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
557
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
558
|
+
exportableTranslationStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
559
|
+
REVIEWED: "REVIEWED";
|
|
560
|
+
VERIFIED: "VERIFIED";
|
|
561
|
+
}>>>;
|
|
562
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
563
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
564
|
+
id: z.ZodString;
|
|
565
|
+
slug: z.ZodString;
|
|
566
|
+
}, z.core.$strict>>>;
|
|
567
|
+
}, z.core.$strip>>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
570
|
+
enabled: z.ZodBoolean;
|
|
374
571
|
minute: z.ZodNumber;
|
|
375
572
|
timezone: z.ZodString;
|
|
573
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
574
|
+
hour: z.ZodNumber;
|
|
376
575
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
377
576
|
frequency: z.ZodLiteral<"weekly">;
|
|
378
577
|
day: z.ZodNumber;
|
|
@@ -408,11 +607,11 @@ export declare const putScheduleConfigContract: import("@lokalise/api-contracts"
|
|
|
408
607
|
export declare const getScheduleListContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
|
|
409
608
|
autoImports: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
410
609
|
enabled: z.ZodBoolean;
|
|
411
|
-
hour: z.ZodNumber;
|
|
412
610
|
minute: z.ZodNumber;
|
|
413
611
|
timezone: z.ZodString;
|
|
612
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
414
613
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
415
|
-
frequency: z.ZodLiteral<"
|
|
614
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
416
615
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
417
616
|
options: z.ZodOptional<z.ZodObject<{
|
|
418
617
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -428,9 +627,31 @@ export declare const getScheduleListContract: import("@lokalise/api-contracts").
|
|
|
428
627
|
}, z.core.$strip>>;
|
|
429
628
|
}, z.core.$strip>, z.ZodObject<{
|
|
430
629
|
enabled: z.ZodBoolean;
|
|
630
|
+
minute: z.ZodNumber;
|
|
631
|
+
timezone: z.ZodString;
|
|
632
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
431
633
|
hour: z.ZodNumber;
|
|
634
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
635
|
+
frequency: z.ZodLiteral<"daily">;
|
|
636
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
637
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
638
|
+
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
639
|
+
skipEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
640
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
641
|
+
importTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
642
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
643
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
644
|
+
id: z.ZodString;
|
|
645
|
+
slug: z.ZodString;
|
|
646
|
+
}, z.core.$strict>>>;
|
|
647
|
+
}, z.core.$strip>>;
|
|
648
|
+
}, z.core.$strip>>;
|
|
649
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
650
|
+
enabled: z.ZodBoolean;
|
|
432
651
|
minute: z.ZodNumber;
|
|
433
652
|
timezone: z.ZodString;
|
|
653
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
654
|
+
hour: z.ZodNumber;
|
|
434
655
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
435
656
|
frequency: z.ZodLiteral<"weekly">;
|
|
436
657
|
day: z.ZodNumber;
|
|
@@ -486,11 +707,11 @@ export declare const getScheduleListContract: import("@lokalise/api-contracts").
|
|
|
486
707
|
}, z.core.$strip>>>;
|
|
487
708
|
autoExports: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
488
709
|
enabled: z.ZodBoolean;
|
|
489
|
-
hour: z.ZodNumber;
|
|
490
710
|
minute: z.ZodNumber;
|
|
491
711
|
timezone: z.ZodString;
|
|
712
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
492
713
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
493
|
-
frequency: z.ZodLiteral<"
|
|
714
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
494
715
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
495
716
|
options: z.ZodOptional<z.ZodObject<{
|
|
496
717
|
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -507,9 +728,32 @@ export declare const getScheduleListContract: import("@lokalise/api-contracts").
|
|
|
507
728
|
}, z.core.$strip>>;
|
|
508
729
|
}, z.core.$strip>, z.ZodObject<{
|
|
509
730
|
enabled: z.ZodBoolean;
|
|
731
|
+
minute: z.ZodNumber;
|
|
732
|
+
timezone: z.ZodString;
|
|
733
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
510
734
|
hour: z.ZodNumber;
|
|
735
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
736
|
+
frequency: z.ZodLiteral<"daily">;
|
|
737
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
738
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
739
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
740
|
+
exportableTranslationStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
741
|
+
REVIEWED: "REVIEWED";
|
|
742
|
+
VERIFIED: "VERIFIED";
|
|
743
|
+
}>>>;
|
|
744
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
745
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
746
|
+
id: z.ZodString;
|
|
747
|
+
slug: z.ZodString;
|
|
748
|
+
}, z.core.$strict>>>;
|
|
749
|
+
}, z.core.$strip>>;
|
|
750
|
+
}, z.core.$strip>>;
|
|
751
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
752
|
+
enabled: z.ZodBoolean;
|
|
511
753
|
minute: z.ZodNumber;
|
|
512
754
|
timezone: z.ZodString;
|
|
755
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
756
|
+
hour: z.ZodNumber;
|
|
513
757
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
514
758
|
frequency: z.ZodLiteral<"weekly">;
|
|
515
759
|
day: z.ZodNumber;
|
|
@@ -569,9 +813,9 @@ export declare const getScheduleListContract: import("@lokalise/api-contracts").
|
|
|
569
813
|
}, z.core.$strip>, undefined, false, false, undefined>;
|
|
570
814
|
export declare const putScheduleItemContract: import("@lokalise/api-contracts").PayloadRouteDefinition<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
571
815
|
enabled: z.ZodBoolean;
|
|
572
|
-
hour: z.ZodNumber;
|
|
573
816
|
minute: z.ZodNumber;
|
|
574
817
|
timezone: z.ZodString;
|
|
818
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
575
819
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
576
820
|
filter: z.ZodOptional<z.ZodObject<{
|
|
577
821
|
id: z.ZodOptional<z.ZodGUID>;
|
|
@@ -605,7 +849,7 @@ export declare const putScheduleItemContract: import("@lokalise/api-contracts").
|
|
|
605
849
|
filter: z.ZodString;
|
|
606
850
|
}, z.core.$strip>]>;
|
|
607
851
|
}, z.core.$strip>>;
|
|
608
|
-
frequency: z.ZodLiteral<"
|
|
852
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
609
853
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
610
854
|
options: z.ZodOptional<z.ZodObject<{
|
|
611
855
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -625,9 +869,67 @@ export declare const putScheduleItemContract: import("@lokalise/api-contracts").
|
|
|
625
869
|
}, z.core.$strip>>;
|
|
626
870
|
}, z.core.$strip>, z.ZodObject<{
|
|
627
871
|
enabled: z.ZodBoolean;
|
|
872
|
+
minute: z.ZodNumber;
|
|
873
|
+
timezone: z.ZodString;
|
|
874
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
628
875
|
hour: z.ZodNumber;
|
|
876
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
877
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
878
|
+
id: z.ZodOptional<z.ZodGUID>;
|
|
879
|
+
name: z.ZodString;
|
|
880
|
+
definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
881
|
+
relation: z.ZodEnum<{
|
|
882
|
+
AND: "AND";
|
|
883
|
+
OR: "OR";
|
|
884
|
+
}>;
|
|
885
|
+
object: z.ZodString;
|
|
886
|
+
option: z.ZodEnum<{
|
|
887
|
+
contains: "contains";
|
|
888
|
+
containsAll: "containsAll";
|
|
889
|
+
endsWith: "endsWith";
|
|
890
|
+
equals: "equals";
|
|
891
|
+
notContains: "notContains";
|
|
892
|
+
notContainsAll: "notContainsAll";
|
|
893
|
+
notEquals: "notEquals";
|
|
894
|
+
startsWith: "startsWith";
|
|
895
|
+
within: "within";
|
|
896
|
+
}>;
|
|
897
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
898
|
+
kind: z.ZodLiteral<"relative">;
|
|
899
|
+
amount: z.ZodNumber;
|
|
900
|
+
unit: z.ZodEnum<{
|
|
901
|
+
days: "days";
|
|
902
|
+
hours: "hours";
|
|
903
|
+
}>;
|
|
904
|
+
}, z.core.$strip>]>>;
|
|
905
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
906
|
+
filter: z.ZodString;
|
|
907
|
+
}, z.core.$strip>]>;
|
|
908
|
+
}, z.core.$strip>>;
|
|
909
|
+
frequency: z.ZodLiteral<"daily">;
|
|
910
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
911
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
913
|
+
skipEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
914
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
915
|
+
importTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
916
|
+
exportableTranslationStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
917
|
+
REVIEWED: "REVIEWED";
|
|
918
|
+
VERIFIED: "VERIFIED";
|
|
919
|
+
}>>>;
|
|
920
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
921
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
922
|
+
id: z.ZodString;
|
|
923
|
+
slug: z.ZodString;
|
|
924
|
+
}, z.core.$strict>>>;
|
|
925
|
+
}, z.core.$strip>>;
|
|
926
|
+
}, z.core.$strip>>;
|
|
927
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
928
|
+
enabled: z.ZodBoolean;
|
|
629
929
|
minute: z.ZodNumber;
|
|
630
930
|
timezone: z.ZodString;
|
|
931
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
932
|
+
hour: z.ZodNumber;
|
|
631
933
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
632
934
|
filter: z.ZodOptional<z.ZodObject<{
|
|
633
935
|
id: z.ZodOptional<z.ZodGUID>;
|
|
@@ -682,11 +984,11 @@ export declare const putScheduleItemContract: import("@lokalise/api-contracts").
|
|
|
682
984
|
}, z.core.$strip>>;
|
|
683
985
|
}, z.core.$strip>], "frequency">, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
684
986
|
enabled: z.ZodBoolean;
|
|
685
|
-
hour: z.ZodNumber;
|
|
686
987
|
minute: z.ZodNumber;
|
|
687
988
|
timezone: z.ZodString;
|
|
989
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
688
990
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
689
|
-
frequency: z.ZodLiteral<"
|
|
991
|
+
frequency: z.ZodLiteral<"hourly">;
|
|
690
992
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
691
993
|
options: z.ZodOptional<z.ZodObject<{
|
|
692
994
|
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -706,9 +1008,35 @@ export declare const putScheduleItemContract: import("@lokalise/api-contracts").
|
|
|
706
1008
|
}, z.core.$strip>>;
|
|
707
1009
|
}, z.core.$strip>, z.ZodObject<{
|
|
708
1010
|
enabled: z.ZodBoolean;
|
|
1011
|
+
minute: z.ZodNumber;
|
|
1012
|
+
timezone: z.ZodString;
|
|
1013
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
709
1014
|
hour: z.ZodNumber;
|
|
1015
|
+
filterId: z.ZodOptional<z.ZodGUID>;
|
|
1016
|
+
frequency: z.ZodLiteral<"daily">;
|
|
1017
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1018
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
1020
|
+
skipEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
1021
|
+
includeReferencedEntries: z.ZodOptional<z.ZodBoolean>;
|
|
1022
|
+
importTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1023
|
+
exportableTranslationStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1024
|
+
REVIEWED: "REVIEWED";
|
|
1025
|
+
VERIFIED: "VERIFIED";
|
|
1026
|
+
}>>>;
|
|
1027
|
+
connector: z.ZodOptional<z.ZodObject<{
|
|
1028
|
+
languageFolders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1029
|
+
id: z.ZodString;
|
|
1030
|
+
slug: z.ZodString;
|
|
1031
|
+
}, z.core.$strict>>>;
|
|
1032
|
+
}, z.core.$strip>>;
|
|
1033
|
+
}, z.core.$strip>>;
|
|
1034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1035
|
+
enabled: z.ZodBoolean;
|
|
710
1036
|
minute: z.ZodNumber;
|
|
711
1037
|
timezone: z.ZodString;
|
|
1038
|
+
startAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1039
|
+
hour: z.ZodNumber;
|
|
712
1040
|
filterId: z.ZodOptional<z.ZodGUID>;
|
|
713
1041
|
frequency: z.ZodLiteral<"weekly">;
|
|
714
1042
|
day: z.ZodNumber;
|