@lokalise/content-type-app-engine-contracts 1.0.2

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.
Files changed (43) hide show
  1. package/dist/index.d.ts +13 -0
  2. package/dist/index.js +14 -0
  3. package/dist/index.js.map +1 -0
  4. package/dist/schemas/auth/authApiSchemas.d.ts +247 -0
  5. package/dist/schemas/auth/authApiSchemas.js +83 -0
  6. package/dist/schemas/auth/authApiSchemas.js.map +1 -0
  7. package/dist/schemas/auth/authSchemas.d.ts +96 -0
  8. package/dist/schemas/auth/authSchemas.js +38 -0
  9. package/dist/schemas/auth/authSchemas.js.map +1 -0
  10. package/dist/schemas/commonRequestSchemas.d.ts +69 -0
  11. package/dist/schemas/commonRequestSchemas.js +29 -0
  12. package/dist/schemas/commonRequestSchemas.js.map +1 -0
  13. package/dist/schemas/content/contentApiSchemas.d.ts +729 -0
  14. package/dist/schemas/content/contentApiSchemas.js +140 -0
  15. package/dist/schemas/content/contentApiSchemas.js.map +1 -0
  16. package/dist/schemas/content/contentSchemas.d.ts +730 -0
  17. package/dist/schemas/content/contentSchemas.js +163 -0
  18. package/dist/schemas/content/contentSchemas.js.map +1 -0
  19. package/dist/schemas/env/envApiSchemas.d.ts +67 -0
  20. package/dist/schemas/env/envApiSchemas.js +18 -0
  21. package/dist/schemas/env/envApiSchemas.js.map +1 -0
  22. package/dist/schemas/env/envSchemas.d.ts +33 -0
  23. package/dist/schemas/env/envSchemas.js +9 -0
  24. package/dist/schemas/env/envSchemas.js.map +1 -0
  25. package/dist/schemas/integration/integrationApiSchemas.d.ts +107 -0
  26. package/dist/schemas/integration/integrationApiSchemas.js +36 -0
  27. package/dist/schemas/integration/integrationApiSchemas.js.map +1 -0
  28. package/dist/schemas/integration/integrationSchemas.d.ts +126 -0
  29. package/dist/schemas/integration/integrationSchemas.js +34 -0
  30. package/dist/schemas/integration/integrationSchemas.js.map +1 -0
  31. package/dist/schemas/language/languageApiSchemas.d.ts +61 -0
  32. package/dist/schemas/language/languageApiSchemas.js +19 -0
  33. package/dist/schemas/language/languageApiSchemas.js.map +1 -0
  34. package/dist/schemas/language/languageSchemas.d.ts +38 -0
  35. package/dist/schemas/language/languageSchemas.js +10 -0
  36. package/dist/schemas/language/languageSchemas.js.map +1 -0
  37. package/dist/schemas/status/statusApiSchemas.d.ts +74 -0
  38. package/dist/schemas/status/statusApiSchemas.js +22 -0
  39. package/dist/schemas/status/statusApiSchemas.js.map +1 -0
  40. package/dist/schemas/status/statusSchemas.d.ts +57 -0
  41. package/dist/schemas/status/statusSchemas.js +23 -0
  42. package/dist/schemas/status/statusSchemas.js.map +1 -0
  43. package/package.json +36 -0
@@ -0,0 +1,729 @@
1
+ import { z } from 'zod';
2
+ export declare const postGetContentContract: import("@lokalise/api-contracts").PayloadRouteDefinition<never, z.ZodObject<{
3
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5
+ searchQuery: z.ZodOptional<z.ZodString>;
6
+ status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
7
+ Untranslated: string;
8
+ InProgress: string;
9
+ Completed: string;
10
+ Published: string;
11
+ }>, "many">>;
12
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ relation: z.ZodNativeEnum<{
14
+ AND: string;
15
+ OR: string;
16
+ }>;
17
+ object: z.ZodString;
18
+ option: z.ZodNativeEnum<{
19
+ equals: string;
20
+ notEquals: string;
21
+ contains: string;
22
+ containsAll: string;
23
+ notContainsAll: string;
24
+ startsWith: string;
25
+ endsWith: string;
26
+ }>;
27
+ values: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "atleastone">;
28
+ }, "strip", z.ZodTypeAny, {
29
+ object: string;
30
+ values: [string | number, ...(string | number)[]];
31
+ relation: string;
32
+ option: string;
33
+ }, {
34
+ object: string;
35
+ values: [string | number, ...(string | number)[]];
36
+ relation: string;
37
+ option: string;
38
+ }>, "many">>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ page: number;
41
+ limit: number;
42
+ status?: string[] | undefined;
43
+ searchQuery?: string | undefined;
44
+ filters?: {
45
+ object: string;
46
+ values: [string | number, ...(string | number)[]];
47
+ relation: string;
48
+ option: string;
49
+ }[] | undefined;
50
+ }, {
51
+ status?: string[] | undefined;
52
+ page?: number | undefined;
53
+ limit?: number | undefined;
54
+ searchQuery?: string | undefined;
55
+ filters?: {
56
+ object: string;
57
+ values: [string | number, ...(string | number)[]];
58
+ relation: string;
59
+ option: string;
60
+ }[] | undefined;
61
+ }>, z.ZodUnion<[z.ZodObject<{
62
+ total: z.ZodNumber;
63
+ items: z.ZodArray<z.ZodObject<{
64
+ groupId: z.ZodString;
65
+ items: z.ZodArray<z.ZodObject<{
66
+ groupId: z.ZodString;
67
+ uniqueId: z.ZodString;
68
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
69
+ groupTitle: z.ZodOptional<z.ZodString>;
70
+ title: z.ZodOptional<z.ZodString>;
71
+ cacheItemLanguages: z.ZodArray<z.ZodObject<{
72
+ status: z.ZodNativeEnum<{
73
+ Untranslated: string;
74
+ InProgress: string;
75
+ Completed: string;
76
+ Published: string;
77
+ }>;
78
+ langIsoCode: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ status: string;
81
+ langIsoCode: string;
82
+ }, {
83
+ status: string;
84
+ langIsoCode: string;
85
+ }>, "many">;
86
+ }, "strip", z.ZodTypeAny, {
87
+ groupId: string;
88
+ uniqueId: string;
89
+ fields: Record<string, string>;
90
+ cacheItemLanguages: {
91
+ status: string;
92
+ langIsoCode: string;
93
+ }[];
94
+ groupTitle?: string | undefined;
95
+ title?: string | undefined;
96
+ }, {
97
+ groupId: string;
98
+ uniqueId: string;
99
+ fields: Record<string, string>;
100
+ cacheItemLanguages: {
101
+ status: string;
102
+ langIsoCode: string;
103
+ }[];
104
+ groupTitle?: string | undefined;
105
+ title?: string | undefined;
106
+ }>, "many">;
107
+ }, "strip", z.ZodTypeAny, {
108
+ groupId: string;
109
+ items: {
110
+ groupId: string;
111
+ uniqueId: string;
112
+ fields: Record<string, string>;
113
+ cacheItemLanguages: {
114
+ status: string;
115
+ langIsoCode: string;
116
+ }[];
117
+ groupTitle?: string | undefined;
118
+ title?: string | undefined;
119
+ }[];
120
+ }, {
121
+ groupId: string;
122
+ items: {
123
+ groupId: string;
124
+ uniqueId: string;
125
+ fields: Record<string, string>;
126
+ cacheItemLanguages: {
127
+ status: string;
128
+ langIsoCode: string;
129
+ }[];
130
+ groupTitle?: string | undefined;
131
+ title?: string | undefined;
132
+ }[];
133
+ }>, "many">;
134
+ }, "strip", z.ZodTypeAny, {
135
+ items: {
136
+ groupId: string;
137
+ items: {
138
+ groupId: string;
139
+ uniqueId: string;
140
+ fields: Record<string, string>;
141
+ cacheItemLanguages: {
142
+ status: string;
143
+ langIsoCode: string;
144
+ }[];
145
+ groupTitle?: string | undefined;
146
+ title?: string | undefined;
147
+ }[];
148
+ }[];
149
+ total: number;
150
+ }, {
151
+ items: {
152
+ groupId: string;
153
+ items: {
154
+ groupId: string;
155
+ uniqueId: string;
156
+ fields: Record<string, string>;
157
+ cacheItemLanguages: {
158
+ status: string;
159
+ langIsoCode: string;
160
+ }[];
161
+ groupTitle?: string | undefined;
162
+ title?: string | undefined;
163
+ }[];
164
+ }[];
165
+ total: number;
166
+ }>, z.ZodObject<{
167
+ statusCode: z.ZodNumber;
168
+ payload: z.ZodObject<{
169
+ message: z.ZodString;
170
+ errorCode: z.ZodString;
171
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ message: string;
174
+ errorCode: string;
175
+ details?: Record<string, any> | undefined;
176
+ }, {
177
+ message: string;
178
+ errorCode: string;
179
+ details?: Record<string, any> | undefined;
180
+ }>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ statusCode: number;
183
+ payload: {
184
+ message: string;
185
+ errorCode: string;
186
+ details?: Record<string, any> | undefined;
187
+ };
188
+ }, {
189
+ statusCode: number;
190
+ payload: {
191
+ message: string;
192
+ errorCode: string;
193
+ details?: Record<string, any> | undefined;
194
+ };
195
+ }>]>, undefined, undefined, z.ZodObject<{
196
+ authorization: z.ZodOptional<z.ZodString>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ authorization?: string | undefined;
199
+ }, {
200
+ authorization?: string | undefined;
201
+ }>, false, false>;
202
+ export declare const postRefreshContentContract: import("@lokalise/api-contracts").PayloadRouteDefinition<never, z.ZodNull, z.ZodUnion<[z.ZodObject<{
203
+ statusCode: z.ZodNumber;
204
+ message: z.ZodString;
205
+ jobId: z.ZodString;
206
+ }, "strip", z.ZodTypeAny, {
207
+ message: string;
208
+ statusCode: number;
209
+ jobId: string;
210
+ }, {
211
+ message: string;
212
+ statusCode: number;
213
+ jobId: string;
214
+ }>, z.ZodObject<{
215
+ statusCode: z.ZodNumber;
216
+ payload: z.ZodObject<{
217
+ message: z.ZodString;
218
+ errorCode: z.ZodString;
219
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ message: string;
222
+ errorCode: string;
223
+ details?: Record<string, any> | undefined;
224
+ }, {
225
+ message: string;
226
+ errorCode: string;
227
+ details?: Record<string, any> | undefined;
228
+ }>;
229
+ }, "strip", z.ZodTypeAny, {
230
+ statusCode: number;
231
+ payload: {
232
+ message: string;
233
+ errorCode: string;
234
+ details?: Record<string, any> | undefined;
235
+ };
236
+ }, {
237
+ statusCode: number;
238
+ payload: {
239
+ message: string;
240
+ errorCode: string;
241
+ details?: Record<string, any> | undefined;
242
+ };
243
+ }>]>, undefined, undefined, z.ZodObject<{
244
+ authorization: z.ZodOptional<z.ZodString>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ authorization?: string | undefined;
247
+ }, {
248
+ authorization?: string | undefined;
249
+ }>, false, false>;
250
+ export declare const partialRefreshContentContract: import("@lokalise/api-contracts").PayloadRouteDefinition<never, z.ZodObject<{
251
+ items: z.ZodArray<z.ZodObject<{
252
+ updatedAtTimestamp: z.ZodOptional<z.ZodNumber>;
253
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
254
+ groupId: z.ZodString;
255
+ groupTitle: z.ZodString;
256
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">]>>;
257
+ title: z.ZodString;
258
+ uniqueId: z.ZodString;
259
+ }, "strip", z.ZodTypeAny, {
260
+ metadata: Record<string, string | number | string[]>;
261
+ groupId: string;
262
+ uniqueId: string;
263
+ fields: Record<string, string | number>;
264
+ groupTitle: string;
265
+ title: string;
266
+ updatedAtTimestamp?: number | undefined;
267
+ }, {
268
+ metadata: Record<string, string | number | string[]>;
269
+ groupId: string;
270
+ uniqueId: string;
271
+ fields: Record<string, string | number>;
272
+ groupTitle: string;
273
+ title: string;
274
+ updatedAtTimestamp?: number | undefined;
275
+ }>, "many">;
276
+ }, "strip", z.ZodTypeAny, {
277
+ items: {
278
+ metadata: Record<string, string | number | string[]>;
279
+ groupId: string;
280
+ uniqueId: string;
281
+ fields: Record<string, string | number>;
282
+ groupTitle: string;
283
+ title: string;
284
+ updatedAtTimestamp?: number | undefined;
285
+ }[];
286
+ }, {
287
+ items: {
288
+ metadata: Record<string, string | number | string[]>;
289
+ groupId: string;
290
+ uniqueId: string;
291
+ fields: Record<string, string | number>;
292
+ groupTitle: string;
293
+ title: string;
294
+ updatedAtTimestamp?: number | undefined;
295
+ }[];
296
+ }>, z.ZodUnion<[z.ZodNull, z.ZodObject<{
297
+ statusCode: z.ZodNumber;
298
+ payload: z.ZodObject<{
299
+ message: z.ZodString;
300
+ errorCode: z.ZodString;
301
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ message: string;
304
+ errorCode: string;
305
+ details?: Record<string, any> | undefined;
306
+ }, {
307
+ message: string;
308
+ errorCode: string;
309
+ details?: Record<string, any> | undefined;
310
+ }>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ statusCode: number;
313
+ payload: {
314
+ message: string;
315
+ errorCode: string;
316
+ details?: Record<string, any> | undefined;
317
+ };
318
+ }, {
319
+ statusCode: number;
320
+ payload: {
321
+ message: string;
322
+ errorCode: string;
323
+ details?: Record<string, any> | undefined;
324
+ };
325
+ }>]>, undefined, undefined, z.ZodObject<{
326
+ authorization: z.ZodOptional<z.ZodString>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ authorization?: string | undefined;
329
+ }, {
330
+ authorization?: string | undefined;
331
+ }>, false, false>;
332
+ export declare const postTranslateContentContract: import("@lokalise/api-contracts").PayloadRouteDefinition<never, z.ZodObject<{
333
+ languages: z.ZodArray<z.ZodString, "many">;
334
+ groupIds: z.ZodArray<z.ZodString, "many">;
335
+ options: z.ZodOptional<z.ZodObject<{
336
+ convertPlaceholders: z.ZodOptional<z.ZodBoolean>;
337
+ overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
338
+ }, "strip", z.ZodTypeAny, {
339
+ convertPlaceholders?: boolean | undefined;
340
+ overrideUpdatedTranslations?: boolean | undefined;
341
+ }, {
342
+ convertPlaceholders?: boolean | undefined;
343
+ overrideUpdatedTranslations?: boolean | undefined;
344
+ }>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ languages: string[];
347
+ groupIds: string[];
348
+ options?: {
349
+ convertPlaceholders?: boolean | undefined;
350
+ overrideUpdatedTranslations?: boolean | undefined;
351
+ } | undefined;
352
+ }, {
353
+ languages: string[];
354
+ groupIds: string[];
355
+ options?: {
356
+ convertPlaceholders?: boolean | undefined;
357
+ overrideUpdatedTranslations?: boolean | undefined;
358
+ } | undefined;
359
+ }>, z.ZodUnion<[z.ZodObject<{
360
+ statusCode: z.ZodNumber;
361
+ message: z.ZodString;
362
+ jobId: z.ZodString;
363
+ }, "strip", z.ZodTypeAny, {
364
+ message: string;
365
+ statusCode: number;
366
+ jobId: string;
367
+ }, {
368
+ message: string;
369
+ statusCode: number;
370
+ jobId: string;
371
+ }>, z.ZodObject<{
372
+ statusCode: z.ZodNumber;
373
+ payload: z.ZodObject<{
374
+ message: z.ZodString;
375
+ errorCode: z.ZodString;
376
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ message: string;
379
+ errorCode: string;
380
+ details?: Record<string, any> | undefined;
381
+ }, {
382
+ message: string;
383
+ errorCode: string;
384
+ details?: Record<string, any> | undefined;
385
+ }>;
386
+ }, "strip", z.ZodTypeAny, {
387
+ statusCode: number;
388
+ payload: {
389
+ message: string;
390
+ errorCode: string;
391
+ details?: Record<string, any> | undefined;
392
+ };
393
+ }, {
394
+ statusCode: number;
395
+ payload: {
396
+ message: string;
397
+ errorCode: string;
398
+ details?: Record<string, any> | undefined;
399
+ };
400
+ }>]>, undefined, undefined, z.ZodObject<{
401
+ authorization: z.ZodOptional<z.ZodString>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ authorization?: string | undefined;
404
+ }, {
405
+ authorization?: string | undefined;
406
+ }>, false, false>;
407
+ export declare const postTranslateSingleContentContract: import("@lokalise/api-contracts").PayloadRouteDefinition<never, z.ZodObject<{
408
+ languages: z.ZodArray<z.ZodString, "many">;
409
+ groupIds: z.ZodArray<z.ZodString, "many">;
410
+ options: z.ZodOptional<z.ZodObject<{
411
+ convertPlaceholders: z.ZodOptional<z.ZodBoolean>;
412
+ overrideUpdatedTranslations: z.ZodOptional<z.ZodBoolean>;
413
+ }, "strip", z.ZodTypeAny, {
414
+ convertPlaceholders?: boolean | undefined;
415
+ overrideUpdatedTranslations?: boolean | undefined;
416
+ }, {
417
+ convertPlaceholders?: boolean | undefined;
418
+ overrideUpdatedTranslations?: boolean | undefined;
419
+ }>>;
420
+ items: z.ZodArray<z.ZodObject<{
421
+ groupId: z.ZodString;
422
+ uniqueId: z.ZodString;
423
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">]>>;
424
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ metadata: Record<string, string | number | string[]>;
427
+ groupId: string;
428
+ uniqueId: string;
429
+ translations: Record<string, string>;
430
+ }, {
431
+ metadata: Record<string, string | number | string[]>;
432
+ groupId: string;
433
+ uniqueId: string;
434
+ translations: Record<string, string>;
435
+ }>, "many">;
436
+ }, "strip", z.ZodTypeAny, {
437
+ items: {
438
+ metadata: Record<string, string | number | string[]>;
439
+ groupId: string;
440
+ uniqueId: string;
441
+ translations: Record<string, string>;
442
+ }[];
443
+ languages: string[];
444
+ groupIds: string[];
445
+ options?: {
446
+ convertPlaceholders?: boolean | undefined;
447
+ overrideUpdatedTranslations?: boolean | undefined;
448
+ } | undefined;
449
+ }, {
450
+ items: {
451
+ metadata: Record<string, string | number | string[]>;
452
+ groupId: string;
453
+ uniqueId: string;
454
+ translations: Record<string, string>;
455
+ }[];
456
+ languages: string[];
457
+ groupIds: string[];
458
+ options?: {
459
+ convertPlaceholders?: boolean | undefined;
460
+ overrideUpdatedTranslations?: boolean | undefined;
461
+ } | undefined;
462
+ }>, z.ZodUnion<[z.ZodObject<{
463
+ statusCode: z.ZodNumber;
464
+ message: z.ZodString;
465
+ jobId: z.ZodString;
466
+ }, "strip", z.ZodTypeAny, {
467
+ message: string;
468
+ statusCode: number;
469
+ jobId: string;
470
+ }, {
471
+ message: string;
472
+ statusCode: number;
473
+ jobId: string;
474
+ }>, z.ZodObject<{
475
+ statusCode: z.ZodNumber;
476
+ payload: z.ZodObject<{
477
+ message: z.ZodString;
478
+ errorCode: z.ZodString;
479
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ message: string;
482
+ errorCode: string;
483
+ details?: Record<string, any> | undefined;
484
+ }, {
485
+ message: string;
486
+ errorCode: string;
487
+ details?: Record<string, any> | undefined;
488
+ }>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ statusCode: number;
491
+ payload: {
492
+ message: string;
493
+ errorCode: string;
494
+ details?: Record<string, any> | undefined;
495
+ };
496
+ }, {
497
+ statusCode: number;
498
+ payload: {
499
+ message: string;
500
+ errorCode: string;
501
+ details?: Record<string, any> | undefined;
502
+ };
503
+ }>]>, undefined, undefined, z.ZodObject<{
504
+ authorization: z.ZodOptional<z.ZodString>;
505
+ }, "strip", z.ZodTypeAny, {
506
+ authorization?: string | undefined;
507
+ }, {
508
+ authorization?: string | undefined;
509
+ }>, false, false>;
510
+ export declare const postPublishContentContract: import("@lokalise/api-contracts").PayloadRouteDefinition<never, z.ZodObject<{
511
+ languages: z.ZodArray<z.ZodString, "many">;
512
+ groupIds: z.ZodArray<z.ZodString, "many">;
513
+ }, "strip", z.ZodTypeAny, {
514
+ languages: string[];
515
+ groupIds: string[];
516
+ }, {
517
+ languages: string[];
518
+ groupIds: string[];
519
+ }>, z.ZodUnion<[z.ZodObject<{
520
+ statusCode: z.ZodNumber;
521
+ message: z.ZodString;
522
+ jobId: z.ZodString;
523
+ }, "strip", z.ZodTypeAny, {
524
+ message: string;
525
+ statusCode: number;
526
+ jobId: string;
527
+ }, {
528
+ message: string;
529
+ statusCode: number;
530
+ jobId: string;
531
+ }>, z.ZodObject<{
532
+ statusCode: z.ZodNumber;
533
+ payload: z.ZodObject<{
534
+ message: z.ZodString;
535
+ errorCode: z.ZodString;
536
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ message: string;
539
+ errorCode: string;
540
+ details?: Record<string, any> | undefined;
541
+ }, {
542
+ message: string;
543
+ errorCode: string;
544
+ details?: Record<string, any> | undefined;
545
+ }>;
546
+ }, "strip", z.ZodTypeAny, {
547
+ statusCode: number;
548
+ payload: {
549
+ message: string;
550
+ errorCode: string;
551
+ details?: Record<string, any> | undefined;
552
+ };
553
+ }, {
554
+ statusCode: number;
555
+ payload: {
556
+ message: string;
557
+ errorCode: string;
558
+ details?: Record<string, any> | undefined;
559
+ };
560
+ }>]>, undefined, undefined, z.ZodObject<{
561
+ authorization: z.ZodOptional<z.ZodString>;
562
+ }, "strip", z.ZodTypeAny, {
563
+ authorization?: string | undefined;
564
+ }, {
565
+ authorization?: string | undefined;
566
+ }>, false, false>;
567
+ export declare const completeImportUploadContract: import("@lokalise/api-contracts").PayloadRouteDefinition<{
568
+ integrationId: string;
569
+ importId: string;
570
+ }, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodUnion<[z.ZodObject<{
571
+ receivedCount: z.ZodNumber;
572
+ }, "strip", z.ZodTypeAny, {
573
+ receivedCount: number;
574
+ }, {
575
+ receivedCount: number;
576
+ }>, z.ZodObject<{
577
+ message: z.ZodString;
578
+ errorCode: z.ZodString;
579
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ message: string;
582
+ errorCode: string;
583
+ details?: Record<string, any> | undefined;
584
+ }, {
585
+ message: string;
586
+ errorCode: string;
587
+ details?: Record<string, any> | undefined;
588
+ }>]>, z.ZodObject<{
589
+ integrationId: z.ZodString;
590
+ importId: z.ZodString;
591
+ }, "strip", z.ZodTypeAny, {
592
+ integrationId: string;
593
+ importId: string;
594
+ }, {
595
+ integrationId: string;
596
+ importId: string;
597
+ }>, undefined, undefined, false, false>;
598
+ export declare const initializeContentImportContract: import("@lokalise/api-contracts").PayloadRouteDefinition<{
599
+ integrationId: string;
600
+ }, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodUnion<[z.ZodObject<{
601
+ importId: z.ZodString;
602
+ }, "strip", z.ZodTypeAny, {
603
+ importId: string;
604
+ }, {
605
+ importId: string;
606
+ }>, z.ZodObject<{
607
+ message: z.ZodString;
608
+ errorCode: z.ZodString;
609
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ message: string;
612
+ errorCode: string;
613
+ details?: Record<string, any> | undefined;
614
+ }, {
615
+ message: string;
616
+ errorCode: string;
617
+ details?: Record<string, any> | undefined;
618
+ }>]>, z.ZodObject<{
619
+ integrationId: z.ZodString;
620
+ }, "strip", z.ZodTypeAny, {
621
+ integrationId: string;
622
+ }, {
623
+ integrationId: string;
624
+ }>, undefined, undefined, false, false>;
625
+ export declare const uploadContentItemsChunkContract: import("@lokalise/api-contracts").PayloadRouteDefinition<{
626
+ integrationId: string;
627
+ importId: string;
628
+ }, z.ZodObject<{
629
+ items: z.ZodArray<z.ZodObject<{
630
+ id: z.ZodString;
631
+ name: z.ZodString;
632
+ contentUnits: z.ZodArray<z.ZodObject<{
633
+ id: z.ZodString;
634
+ type: z.ZodString;
635
+ source: z.ZodString;
636
+ context: z.ZodOptional<z.ZodString>;
637
+ characterLimit: z.ZodOptional<z.ZodString>;
638
+ }, "strip", z.ZodTypeAny, {
639
+ type: string;
640
+ id: string;
641
+ source: string;
642
+ context?: string | undefined;
643
+ characterLimit?: string | undefined;
644
+ }, {
645
+ type: string;
646
+ id: string;
647
+ source: string;
648
+ context?: string | undefined;
649
+ characterLimit?: string | undefined;
650
+ }>, "many">;
651
+ }, "strip", z.ZodTypeAny, {
652
+ id: string;
653
+ name: string;
654
+ contentUnits: {
655
+ type: string;
656
+ id: string;
657
+ source: string;
658
+ context?: string | undefined;
659
+ characterLimit?: string | undefined;
660
+ }[];
661
+ }, {
662
+ id: string;
663
+ name: string;
664
+ contentUnits: {
665
+ type: string;
666
+ id: string;
667
+ source: string;
668
+ context?: string | undefined;
669
+ characterLimit?: string | undefined;
670
+ }[];
671
+ }>, "many">;
672
+ chunkId: z.ZodString;
673
+ }, "strip", z.ZodTypeAny, {
674
+ items: {
675
+ id: string;
676
+ name: string;
677
+ contentUnits: {
678
+ type: string;
679
+ id: string;
680
+ source: string;
681
+ context?: string | undefined;
682
+ characterLimit?: string | undefined;
683
+ }[];
684
+ }[];
685
+ chunkId: string;
686
+ }, {
687
+ items: {
688
+ id: string;
689
+ name: string;
690
+ contentUnits: {
691
+ type: string;
692
+ id: string;
693
+ source: string;
694
+ context?: string | undefined;
695
+ characterLimit?: string | undefined;
696
+ }[];
697
+ }[];
698
+ chunkId: string;
699
+ }>, z.ZodUnion<[z.ZodObject<{
700
+ receivedCount: z.ZodNumber;
701
+ chunkId: z.ZodString;
702
+ }, "strip", z.ZodTypeAny, {
703
+ receivedCount: number;
704
+ chunkId: string;
705
+ }, {
706
+ receivedCount: number;
707
+ chunkId: string;
708
+ }>, z.ZodObject<{
709
+ message: z.ZodString;
710
+ errorCode: z.ZodString;
711
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ message: string;
714
+ errorCode: string;
715
+ details?: Record<string, any> | undefined;
716
+ }, {
717
+ message: string;
718
+ errorCode: string;
719
+ details?: Record<string, any> | undefined;
720
+ }>]>, z.ZodObject<{
721
+ integrationId: z.ZodString;
722
+ importId: z.ZodString;
723
+ }, "strip", z.ZodTypeAny, {
724
+ integrationId: string;
725
+ importId: string;
726
+ }, {
727
+ integrationId: string;
728
+ importId: string;
729
+ }>, undefined, undefined, false, false>;