@lokalise/polyglot-sdk 20.0.0 → 20.0.1

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.
@@ -60,12 +60,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
60
60
  translation: z.ZodString;
61
61
  description: z.ZodOptional<z.ZodString>;
62
62
  }, "strip", z.ZodTypeAny, {
63
- locale: string;
64
63
  translation: string;
64
+ locale: string;
65
65
  description?: string | undefined;
66
66
  }, {
67
- locale: string;
68
67
  translation: string;
68
+ locale: string;
69
69
  description?: string | undefined;
70
70
  }>, "many">>;
71
71
  }, "strip", z.ZodTypeAny, {
@@ -75,8 +75,8 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
75
75
  caseSensitive: boolean;
76
76
  description?: string | undefined;
77
77
  translations?: {
78
- locale: string;
79
78
  translation: string;
79
+ locale: string;
80
80
  description?: string | undefined;
81
81
  }[] | undefined;
82
82
  }, {
@@ -86,8 +86,8 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
86
86
  forbidden?: boolean | undefined;
87
87
  caseSensitive?: boolean | undefined;
88
88
  translations?: {
89
- locale: string;
90
89
  translation: string;
90
+ locale: string;
91
91
  description?: string | undefined;
92
92
  }[] | undefined;
93
93
  }>, {
@@ -97,8 +97,8 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
97
97
  caseSensitive: boolean;
98
98
  description?: string | undefined;
99
99
  translations?: {
100
- locale: string;
101
100
  translation: string;
101
+ locale: string;
102
102
  description?: string | undefined;
103
103
  }[] | undefined;
104
104
  }, {
@@ -108,8 +108,8 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
108
108
  forbidden?: boolean | undefined;
109
109
  caseSensitive?: boolean | undefined;
110
110
  translations?: {
111
- locale: string;
112
111
  translation: string;
112
+ locale: string;
113
113
  description?: string | undefined;
114
114
  }[] | undefined;
115
115
  }>, "many">>;
@@ -125,6 +125,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
125
125
  translatedValue: string;
126
126
  }>, "many">>;
127
127
  }, "strip", z.ZodTypeAny, {
128
+ translationExamples?: {
129
+ sourceValue: string;
130
+ translatedValue: string;
131
+ }[] | undefined;
128
132
  description?: string | undefined;
129
133
  styleGuide?: {
130
134
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -141,17 +145,17 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
141
145
  caseSensitive: boolean;
142
146
  description?: string | undefined;
143
147
  translations?: {
144
- locale: string;
145
148
  translation: string;
149
+ locale: string;
146
150
  description?: string | undefined;
147
151
  }[] | undefined;
148
152
  }[] | undefined;
149
153
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
154
+ }, {
150
155
  translationExamples?: {
151
156
  sourceValue: string;
152
157
  translatedValue: string;
153
158
  }[] | undefined;
154
- }, {
155
159
  description?: string | undefined;
156
160
  styleGuide?: {
157
161
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -168,16 +172,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
168
172
  forbidden?: boolean | undefined;
169
173
  caseSensitive?: boolean | undefined;
170
174
  translations?: {
171
- locale: string;
172
175
  translation: string;
176
+ locale: string;
173
177
  description?: string | undefined;
174
178
  }[] | undefined;
175
179
  }[] | undefined;
176
180
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
177
- translationExamples?: {
178
- sourceValue: string;
179
- translatedValue: string;
180
- }[] | undefined;
181
181
  }>>;
182
182
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
183
183
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
@@ -264,262 +264,262 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
264
264
  }, "strip", z.ZodTypeAny, {
265
265
  value: string;
266
266
  id: string;
267
- translationExamples?: {
268
- sourceValue: string;
269
- translatedValue: string;
270
- }[] | undefined;
271
267
  tmMatch?: {
272
268
  sourceValue: string;
273
269
  translatedValue: string;
274
270
  } | undefined;
275
- }, {
276
- value: string;
277
- id: string;
278
271
  translationExamples?: {
279
272
  sourceValue: string;
280
273
  translatedValue: string;
281
274
  }[] | undefined;
275
+ }, {
276
+ value: string;
277
+ id: string;
282
278
  tmMatch?: {
283
279
  sourceValue: string;
284
280
  translatedValue: string;
285
281
  } | undefined;
286
- }>, {
287
- value: string;
288
- id: string;
289
282
  translationExamples?: {
290
283
  sourceValue: string;
291
284
  translatedValue: string;
292
285
  }[] | undefined;
286
+ }>, {
287
+ value: string;
288
+ id: string;
293
289
  tmMatch?: {
294
290
  sourceValue: string;
295
291
  translatedValue: string;
296
292
  } | undefined;
297
- }, {
298
- value: string;
299
- id: string;
300
293
  translationExamples?: {
301
294
  sourceValue: string;
302
295
  translatedValue: string;
303
296
  }[] | undefined;
297
+ }, {
298
+ value: string;
299
+ id: string;
304
300
  tmMatch?: {
305
301
  sourceValue: string;
306
302
  translatedValue: string;
307
303
  } | undefined;
308
- }>, "atleastone">, [{
309
- value: string;
310
- id: string;
311
304
  translationExamples?: {
312
305
  sourceValue: string;
313
306
  translatedValue: string;
314
307
  }[] | undefined;
308
+ }>, "atleastone">, [{
309
+ value: string;
310
+ id: string;
315
311
  tmMatch?: {
316
312
  sourceValue: string;
317
313
  translatedValue: string;
318
314
  } | undefined;
319
- }, ...{
320
- value: string;
321
- id: string;
322
315
  translationExamples?: {
323
316
  sourceValue: string;
324
317
  translatedValue: string;
325
318
  }[] | undefined;
319
+ }, ...{
320
+ value: string;
321
+ id: string;
326
322
  tmMatch?: {
327
323
  sourceValue: string;
328
324
  translatedValue: string;
329
325
  } | undefined;
330
- }[]], [{
331
- value: string;
332
- id: string;
333
326
  translationExamples?: {
334
327
  sourceValue: string;
335
328
  translatedValue: string;
336
329
  }[] | undefined;
330
+ }[]], [{
331
+ value: string;
332
+ id: string;
337
333
  tmMatch?: {
338
334
  sourceValue: string;
339
335
  translatedValue: string;
340
336
  } | undefined;
341
- }, ...{
342
- value: string;
343
- id: string;
344
337
  translationExamples?: {
345
338
  sourceValue: string;
346
339
  translatedValue: string;
347
340
  }[] | undefined;
341
+ }, ...{
342
+ value: string;
343
+ id: string;
348
344
  tmMatch?: {
349
345
  sourceValue: string;
350
346
  translatedValue: string;
351
347
  } | undefined;
348
+ translationExamples?: {
349
+ sourceValue: string;
350
+ translatedValue: string;
351
+ }[] | undefined;
352
352
  }[]]>;
353
353
  }, "strip", z.ZodTypeAny, {
354
- id: string;
355
354
  segments: [{
356
355
  value: string;
357
356
  id: string;
358
- translationExamples?: {
359
- sourceValue: string;
360
- translatedValue: string;
361
- }[] | undefined;
362
357
  tmMatch?: {
363
358
  sourceValue: string;
364
359
  translatedValue: string;
365
360
  } | undefined;
366
- }, ...{
367
- value: string;
368
- id: string;
369
361
  translationExamples?: {
370
362
  sourceValue: string;
371
363
  translatedValue: string;
372
364
  }[] | undefined;
365
+ }, ...{
366
+ value: string;
367
+ id: string;
373
368
  tmMatch?: {
374
369
  sourceValue: string;
375
370
  translatedValue: string;
376
371
  } | undefined;
372
+ translationExamples?: {
373
+ sourceValue: string;
374
+ translatedValue: string;
375
+ }[] | undefined;
377
376
  }[]];
377
+ id: string;
378
378
  context?: {
379
379
  description: string;
380
380
  } | undefined;
381
381
  characterLimit?: number | undefined;
382
382
  }, {
383
- id: string;
384
383
  segments: [{
385
384
  value: string;
386
385
  id: string;
387
- translationExamples?: {
388
- sourceValue: string;
389
- translatedValue: string;
390
- }[] | undefined;
391
386
  tmMatch?: {
392
387
  sourceValue: string;
393
388
  translatedValue: string;
394
389
  } | undefined;
395
- }, ...{
396
- value: string;
397
- id: string;
398
390
  translationExamples?: {
399
391
  sourceValue: string;
400
392
  translatedValue: string;
401
393
  }[] | undefined;
394
+ }, ...{
395
+ value: string;
396
+ id: string;
402
397
  tmMatch?: {
403
398
  sourceValue: string;
404
399
  translatedValue: string;
405
400
  } | undefined;
401
+ translationExamples?: {
402
+ sourceValue: string;
403
+ translatedValue: string;
404
+ }[] | undefined;
406
405
  }[]];
406
+ id: string;
407
407
  context?: {
408
408
  description: string;
409
409
  } | undefined;
410
410
  characterLimit?: number | undefined;
411
411
  }>, "atleastone">, [{
412
- id: string;
413
412
  segments: [{
414
413
  value: string;
415
414
  id: string;
416
- translationExamples?: {
417
- sourceValue: string;
418
- translatedValue: string;
419
- }[] | undefined;
420
415
  tmMatch?: {
421
416
  sourceValue: string;
422
417
  translatedValue: string;
423
418
  } | undefined;
424
- }, ...{
425
- value: string;
426
- id: string;
427
419
  translationExamples?: {
428
420
  sourceValue: string;
429
421
  translatedValue: string;
430
422
  }[] | undefined;
423
+ }, ...{
424
+ value: string;
425
+ id: string;
431
426
  tmMatch?: {
432
427
  sourceValue: string;
433
428
  translatedValue: string;
434
429
  } | undefined;
430
+ translationExamples?: {
431
+ sourceValue: string;
432
+ translatedValue: string;
433
+ }[] | undefined;
435
434
  }[]];
435
+ id: string;
436
436
  context?: {
437
437
  description: string;
438
438
  } | undefined;
439
439
  characterLimit?: number | undefined;
440
440
  }, ...{
441
- id: string;
442
441
  segments: [{
443
442
  value: string;
444
443
  id: string;
445
- translationExamples?: {
446
- sourceValue: string;
447
- translatedValue: string;
448
- }[] | undefined;
449
444
  tmMatch?: {
450
445
  sourceValue: string;
451
446
  translatedValue: string;
452
447
  } | undefined;
453
- }, ...{
454
- value: string;
455
- id: string;
456
448
  translationExamples?: {
457
449
  sourceValue: string;
458
450
  translatedValue: string;
459
451
  }[] | undefined;
452
+ }, ...{
453
+ value: string;
454
+ id: string;
460
455
  tmMatch?: {
461
456
  sourceValue: string;
462
457
  translatedValue: string;
463
458
  } | undefined;
459
+ translationExamples?: {
460
+ sourceValue: string;
461
+ translatedValue: string;
462
+ }[] | undefined;
464
463
  }[]];
464
+ id: string;
465
465
  context?: {
466
466
  description: string;
467
467
  } | undefined;
468
468
  characterLimit?: number | undefined;
469
469
  }[]], [{
470
- id: string;
471
470
  segments: [{
472
471
  value: string;
473
472
  id: string;
474
- translationExamples?: {
475
- sourceValue: string;
476
- translatedValue: string;
477
- }[] | undefined;
478
473
  tmMatch?: {
479
474
  sourceValue: string;
480
475
  translatedValue: string;
481
476
  } | undefined;
482
- }, ...{
483
- value: string;
484
- id: string;
485
477
  translationExamples?: {
486
478
  sourceValue: string;
487
479
  translatedValue: string;
488
480
  }[] | undefined;
481
+ }, ...{
482
+ value: string;
483
+ id: string;
489
484
  tmMatch?: {
490
485
  sourceValue: string;
491
486
  translatedValue: string;
492
487
  } | undefined;
488
+ translationExamples?: {
489
+ sourceValue: string;
490
+ translatedValue: string;
491
+ }[] | undefined;
493
492
  }[]];
493
+ id: string;
494
494
  context?: {
495
495
  description: string;
496
496
  } | undefined;
497
497
  characterLimit?: number | undefined;
498
498
  }, ...{
499
- id: string;
500
499
  segments: [{
501
500
  value: string;
502
501
  id: string;
503
- translationExamples?: {
504
- sourceValue: string;
505
- translatedValue: string;
506
- }[] | undefined;
507
502
  tmMatch?: {
508
503
  sourceValue: string;
509
504
  translatedValue: string;
510
505
  } | undefined;
511
- }, ...{
512
- value: string;
513
- id: string;
514
506
  translationExamples?: {
515
507
  sourceValue: string;
516
508
  translatedValue: string;
517
509
  }[] | undefined;
510
+ }, ...{
511
+ value: string;
512
+ id: string;
518
513
  tmMatch?: {
519
514
  sourceValue: string;
520
515
  translatedValue: string;
521
516
  } | undefined;
517
+ translationExamples?: {
518
+ sourceValue: string;
519
+ translatedValue: string;
520
+ }[] | undefined;
522
521
  }[]];
522
+ id: string;
523
523
  context?: {
524
524
  description: string;
525
525
  } | undefined;
@@ -528,59 +528,59 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
528
528
  }, "strip", z.ZodTypeAny, {
529
529
  sourceLocale: string;
530
530
  contentUnits: [{
531
- id: string;
532
531
  segments: [{
533
532
  value: string;
534
533
  id: string;
535
- translationExamples?: {
536
- sourceValue: string;
537
- translatedValue: string;
538
- }[] | undefined;
539
534
  tmMatch?: {
540
535
  sourceValue: string;
541
536
  translatedValue: string;
542
537
  } | undefined;
543
- }, ...{
544
- value: string;
545
- id: string;
546
538
  translationExamples?: {
547
539
  sourceValue: string;
548
540
  translatedValue: string;
549
541
  }[] | undefined;
542
+ }, ...{
543
+ value: string;
544
+ id: string;
550
545
  tmMatch?: {
551
546
  sourceValue: string;
552
547
  translatedValue: string;
553
548
  } | undefined;
549
+ translationExamples?: {
550
+ sourceValue: string;
551
+ translatedValue: string;
552
+ }[] | undefined;
554
553
  }[]];
554
+ id: string;
555
555
  context?: {
556
556
  description: string;
557
557
  } | undefined;
558
558
  characterLimit?: number | undefined;
559
559
  }, ...{
560
- id: string;
561
560
  segments: [{
562
561
  value: string;
563
562
  id: string;
564
- translationExamples?: {
565
- sourceValue: string;
566
- translatedValue: string;
567
- }[] | undefined;
568
563
  tmMatch?: {
569
564
  sourceValue: string;
570
565
  translatedValue: string;
571
566
  } | undefined;
572
- }, ...{
573
- value: string;
574
- id: string;
575
567
  translationExamples?: {
576
568
  sourceValue: string;
577
569
  translatedValue: string;
578
570
  }[] | undefined;
571
+ }, ...{
572
+ value: string;
573
+ id: string;
579
574
  tmMatch?: {
580
575
  sourceValue: string;
581
576
  translatedValue: string;
582
577
  } | undefined;
578
+ translationExamples?: {
579
+ sourceValue: string;
580
+ translatedValue: string;
581
+ }[] | undefined;
583
582
  }[]];
583
+ id: string;
584
584
  context?: {
585
585
  description: string;
586
586
  } | undefined;
@@ -589,6 +589,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
589
589
  targetLocale: string;
590
590
  ownerId?: string | undefined;
591
591
  context?: {
592
+ translationExamples?: {
593
+ sourceValue: string;
594
+ translatedValue: string;
595
+ }[] | undefined;
592
596
  description?: string | undefined;
593
597
  styleGuide?: {
594
598
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -605,16 +609,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
605
609
  caseSensitive: boolean;
606
610
  description?: string | undefined;
607
611
  translations?: {
608
- locale: string;
609
612
  translation: string;
613
+ locale: string;
610
614
  description?: string | undefined;
611
615
  }[] | undefined;
612
616
  }[] | undefined;
613
617
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
614
- translationExamples?: {
615
- sourceValue: string;
616
- translatedValue: string;
617
- }[] | undefined;
618
618
  } | undefined;
619
619
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "DeepL" | "GoogleTranslate" | "MicrosoftTranslator" | undefined;
620
620
  forceIntegration?: boolean | undefined;
@@ -647,59 +647,59 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
647
647
  }, {
648
648
  sourceLocale: string;
649
649
  contentUnits: [{
650
- id: string;
651
650
  segments: [{
652
651
  value: string;
653
652
  id: string;
654
- translationExamples?: {
655
- sourceValue: string;
656
- translatedValue: string;
657
- }[] | undefined;
658
653
  tmMatch?: {
659
654
  sourceValue: string;
660
655
  translatedValue: string;
661
656
  } | undefined;
662
- }, ...{
663
- value: string;
664
- id: string;
665
657
  translationExamples?: {
666
658
  sourceValue: string;
667
659
  translatedValue: string;
668
660
  }[] | undefined;
661
+ }, ...{
662
+ value: string;
663
+ id: string;
669
664
  tmMatch?: {
670
665
  sourceValue: string;
671
666
  translatedValue: string;
672
667
  } | undefined;
668
+ translationExamples?: {
669
+ sourceValue: string;
670
+ translatedValue: string;
671
+ }[] | undefined;
673
672
  }[]];
673
+ id: string;
674
674
  context?: {
675
675
  description: string;
676
676
  } | undefined;
677
677
  characterLimit?: number | undefined;
678
678
  }, ...{
679
- id: string;
680
679
  segments: [{
681
680
  value: string;
682
681
  id: string;
683
- translationExamples?: {
684
- sourceValue: string;
685
- translatedValue: string;
686
- }[] | undefined;
687
682
  tmMatch?: {
688
683
  sourceValue: string;
689
684
  translatedValue: string;
690
685
  } | undefined;
691
- }, ...{
692
- value: string;
693
- id: string;
694
686
  translationExamples?: {
695
687
  sourceValue: string;
696
688
  translatedValue: string;
697
689
  }[] | undefined;
690
+ }, ...{
691
+ value: string;
692
+ id: string;
698
693
  tmMatch?: {
699
694
  sourceValue: string;
700
695
  translatedValue: string;
701
696
  } | undefined;
697
+ translationExamples?: {
698
+ sourceValue: string;
699
+ translatedValue: string;
700
+ }[] | undefined;
702
701
  }[]];
702
+ id: string;
703
703
  context?: {
704
704
  description: string;
705
705
  } | undefined;
@@ -708,6 +708,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
708
708
  targetLocale: string;
709
709
  ownerId?: string | undefined;
710
710
  context?: {
711
+ translationExamples?: {
712
+ sourceValue: string;
713
+ translatedValue: string;
714
+ }[] | undefined;
711
715
  description?: string | undefined;
712
716
  styleGuide?: {
713
717
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -724,16 +728,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
724
728
  forbidden?: boolean | undefined;
725
729
  caseSensitive?: boolean | undefined;
726
730
  translations?: {
727
- locale: string;
728
731
  translation: string;
732
+ locale: string;
729
733
  description?: string | undefined;
730
734
  }[] | undefined;
731
735
  }[] | undefined;
732
736
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
733
- translationExamples?: {
734
- sourceValue: string;
735
- translatedValue: string;
736
- }[] | undefined;
737
737
  } | undefined;
738
738
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "ChatGPT-4" | "DeepL" | "GoogleTranslate" | "MicrosoftTranslator" | undefined;
739
739
  forceIntegration?: boolean | undefined;
@@ -766,59 +766,59 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
766
766
  }>, {
767
767
  sourceLocale: string;
768
768
  contentUnits: [{
769
- id: string;
770
769
  segments: [{
771
770
  value: string;
772
- id: string;
773
- translationExamples?: {
774
- sourceValue: string;
775
- translatedValue: string;
776
- }[] | undefined;
771
+ id: string;
777
772
  tmMatch?: {
778
773
  sourceValue: string;
779
774
  translatedValue: string;
780
775
  } | undefined;
781
- }, ...{
782
- value: string;
783
- id: string;
784
776
  translationExamples?: {
785
777
  sourceValue: string;
786
778
  translatedValue: string;
787
779
  }[] | undefined;
780
+ }, ...{
781
+ value: string;
782
+ id: string;
788
783
  tmMatch?: {
789
784
  sourceValue: string;
790
785
  translatedValue: string;
791
786
  } | undefined;
787
+ translationExamples?: {
788
+ sourceValue: string;
789
+ translatedValue: string;
790
+ }[] | undefined;
792
791
  }[]];
792
+ id: string;
793
793
  context?: {
794
794
  description: string;
795
795
  } | undefined;
796
796
  characterLimit?: number | undefined;
797
797
  }, ...{
798
- id: string;
799
798
  segments: [{
800
799
  value: string;
801
800
  id: string;
802
- translationExamples?: {
803
- sourceValue: string;
804
- translatedValue: string;
805
- }[] | undefined;
806
801
  tmMatch?: {
807
802
  sourceValue: string;
808
803
  translatedValue: string;
809
804
  } | undefined;
810
- }, ...{
811
- value: string;
812
- id: string;
813
805
  translationExamples?: {
814
806
  sourceValue: string;
815
807
  translatedValue: string;
816
808
  }[] | undefined;
809
+ }, ...{
810
+ value: string;
811
+ id: string;
817
812
  tmMatch?: {
818
813
  sourceValue: string;
819
814
  translatedValue: string;
820
815
  } | undefined;
816
+ translationExamples?: {
817
+ sourceValue: string;
818
+ translatedValue: string;
819
+ }[] | undefined;
821
820
  }[]];
821
+ id: string;
822
822
  context?: {
823
823
  description: string;
824
824
  } | undefined;
@@ -827,6 +827,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
827
827
  targetLocale: string;
828
828
  ownerId?: string | undefined;
829
829
  context?: {
830
+ translationExamples?: {
831
+ sourceValue: string;
832
+ translatedValue: string;
833
+ }[] | undefined;
830
834
  description?: string | undefined;
831
835
  styleGuide?: {
832
836
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -843,16 +847,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
843
847
  caseSensitive: boolean;
844
848
  description?: string | undefined;
845
849
  translations?: {
846
- locale: string;
847
850
  translation: string;
851
+ locale: string;
848
852
  description?: string | undefined;
849
853
  }[] | undefined;
850
854
  }[] | undefined;
851
855
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
852
- translationExamples?: {
853
- sourceValue: string;
854
- translatedValue: string;
855
- }[] | undefined;
856
856
  } | undefined;
857
857
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "DeepL" | "GoogleTranslate" | "MicrosoftTranslator" | undefined;
858
858
  forceIntegration?: boolean | undefined;
@@ -885,59 +885,59 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
885
885
  }, {
886
886
  sourceLocale: string;
887
887
  contentUnits: [{
888
- id: string;
889
888
  segments: [{
890
889
  value: string;
891
890
  id: string;
892
- translationExamples?: {
893
- sourceValue: string;
894
- translatedValue: string;
895
- }[] | undefined;
896
891
  tmMatch?: {
897
892
  sourceValue: string;
898
893
  translatedValue: string;
899
894
  } | undefined;
900
- }, ...{
901
- value: string;
902
- id: string;
903
895
  translationExamples?: {
904
896
  sourceValue: string;
905
897
  translatedValue: string;
906
898
  }[] | undefined;
899
+ }, ...{
900
+ value: string;
901
+ id: string;
907
902
  tmMatch?: {
908
903
  sourceValue: string;
909
904
  translatedValue: string;
910
905
  } | undefined;
906
+ translationExamples?: {
907
+ sourceValue: string;
908
+ translatedValue: string;
909
+ }[] | undefined;
911
910
  }[]];
911
+ id: string;
912
912
  context?: {
913
913
  description: string;
914
914
  } | undefined;
915
915
  characterLimit?: number | undefined;
916
916
  }, ...{
917
- id: string;
918
917
  segments: [{
919
918
  value: string;
920
919
  id: string;
921
- translationExamples?: {
922
- sourceValue: string;
923
- translatedValue: string;
924
- }[] | undefined;
925
920
  tmMatch?: {
926
921
  sourceValue: string;
927
922
  translatedValue: string;
928
923
  } | undefined;
929
- }, ...{
930
- value: string;
931
- id: string;
932
924
  translationExamples?: {
933
925
  sourceValue: string;
934
926
  translatedValue: string;
935
927
  }[] | undefined;
928
+ }, ...{
929
+ value: string;
930
+ id: string;
936
931
  tmMatch?: {
937
932
  sourceValue: string;
938
933
  translatedValue: string;
939
934
  } | undefined;
935
+ translationExamples?: {
936
+ sourceValue: string;
937
+ translatedValue: string;
938
+ }[] | undefined;
940
939
  }[]];
940
+ id: string;
941
941
  context?: {
942
942
  description: string;
943
943
  } | undefined;
@@ -946,6 +946,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
946
946
  targetLocale: string;
947
947
  ownerId?: string | undefined;
948
948
  context?: {
949
+ translationExamples?: {
950
+ sourceValue: string;
951
+ translatedValue: string;
952
+ }[] | undefined;
949
953
  description?: string | undefined;
950
954
  styleGuide?: {
951
955
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -962,16 +966,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
962
966
  forbidden?: boolean | undefined;
963
967
  caseSensitive?: boolean | undefined;
964
968
  translations?: {
965
- locale: string;
966
969
  translation: string;
970
+ locale: string;
967
971
  description?: string | undefined;
968
972
  }[] | undefined;
969
973
  }[] | undefined;
970
974
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
971
- translationExamples?: {
972
- sourceValue: string;
973
- translatedValue: string;
974
- }[] | undefined;
975
975
  } | undefined;
976
976
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "ChatGPT-4" | "DeepL" | "GoogleTranslate" | "MicrosoftTranslator" | undefined;
977
977
  forceIntegration?: boolean | undefined;
@@ -1004,59 +1004,59 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1004
1004
  }>, {
1005
1005
  sourceLocale: string;
1006
1006
  contentUnits: [{
1007
- id: string;
1008
1007
  segments: [{
1009
1008
  value: string;
1010
1009
  id: string;
1011
- translationExamples?: {
1012
- sourceValue: string;
1013
- translatedValue: string;
1014
- }[] | undefined;
1015
1010
  tmMatch?: {
1016
1011
  sourceValue: string;
1017
1012
  translatedValue: string;
1018
1013
  } | undefined;
1019
- }, ...{
1020
- value: string;
1021
- id: string;
1022
1014
  translationExamples?: {
1023
1015
  sourceValue: string;
1024
1016
  translatedValue: string;
1025
1017
  }[] | undefined;
1018
+ }, ...{
1019
+ value: string;
1020
+ id: string;
1026
1021
  tmMatch?: {
1027
1022
  sourceValue: string;
1028
1023
  translatedValue: string;
1029
1024
  } | undefined;
1025
+ translationExamples?: {
1026
+ sourceValue: string;
1027
+ translatedValue: string;
1028
+ }[] | undefined;
1030
1029
  }[]];
1030
+ id: string;
1031
1031
  context?: {
1032
1032
  description: string;
1033
1033
  } | undefined;
1034
1034
  characterLimit?: number | undefined;
1035
1035
  }, ...{
1036
- id: string;
1037
1036
  segments: [{
1038
1037
  value: string;
1039
1038
  id: string;
1040
- translationExamples?: {
1041
- sourceValue: string;
1042
- translatedValue: string;
1043
- }[] | undefined;
1044
1039
  tmMatch?: {
1045
1040
  sourceValue: string;
1046
1041
  translatedValue: string;
1047
1042
  } | undefined;
1048
- }, ...{
1049
- value: string;
1050
- id: string;
1051
1043
  translationExamples?: {
1052
1044
  sourceValue: string;
1053
1045
  translatedValue: string;
1054
1046
  }[] | undefined;
1047
+ }, ...{
1048
+ value: string;
1049
+ id: string;
1055
1050
  tmMatch?: {
1056
1051
  sourceValue: string;
1057
1052
  translatedValue: string;
1058
1053
  } | undefined;
1054
+ translationExamples?: {
1055
+ sourceValue: string;
1056
+ translatedValue: string;
1057
+ }[] | undefined;
1059
1058
  }[]];
1059
+ id: string;
1060
1060
  context?: {
1061
1061
  description: string;
1062
1062
  } | undefined;
@@ -1065,6 +1065,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1065
1065
  targetLocale: string;
1066
1066
  ownerId?: string | undefined;
1067
1067
  context?: {
1068
+ translationExamples?: {
1069
+ sourceValue: string;
1070
+ translatedValue: string;
1071
+ }[] | undefined;
1068
1072
  description?: string | undefined;
1069
1073
  styleGuide?: {
1070
1074
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -1081,16 +1085,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1081
1085
  caseSensitive: boolean;
1082
1086
  description?: string | undefined;
1083
1087
  translations?: {
1084
- locale: string;
1085
1088
  translation: string;
1089
+ locale: string;
1086
1090
  description?: string | undefined;
1087
1091
  }[] | undefined;
1088
1092
  }[] | undefined;
1089
1093
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
1090
- translationExamples?: {
1091
- sourceValue: string;
1092
- translatedValue: string;
1093
- }[] | undefined;
1094
1094
  } | undefined;
1095
1095
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "DeepL" | "GoogleTranslate" | "MicrosoftTranslator" | undefined;
1096
1096
  forceIntegration?: boolean | undefined;
@@ -1123,59 +1123,59 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1123
1123
  }, {
1124
1124
  sourceLocale: string;
1125
1125
  contentUnits: [{
1126
- id: string;
1127
1126
  segments: [{
1128
1127
  value: string;
1129
1128
  id: string;
1130
- translationExamples?: {
1131
- sourceValue: string;
1132
- translatedValue: string;
1133
- }[] | undefined;
1134
1129
  tmMatch?: {
1135
1130
  sourceValue: string;
1136
1131
  translatedValue: string;
1137
1132
  } | undefined;
1138
- }, ...{
1139
- value: string;
1140
- id: string;
1141
1133
  translationExamples?: {
1142
1134
  sourceValue: string;
1143
1135
  translatedValue: string;
1144
1136
  }[] | undefined;
1137
+ }, ...{
1138
+ value: string;
1139
+ id: string;
1145
1140
  tmMatch?: {
1146
1141
  sourceValue: string;
1147
1142
  translatedValue: string;
1148
1143
  } | undefined;
1144
+ translationExamples?: {
1145
+ sourceValue: string;
1146
+ translatedValue: string;
1147
+ }[] | undefined;
1149
1148
  }[]];
1149
+ id: string;
1150
1150
  context?: {
1151
1151
  description: string;
1152
1152
  } | undefined;
1153
1153
  characterLimit?: number | undefined;
1154
1154
  }, ...{
1155
- id: string;
1156
1155
  segments: [{
1157
1156
  value: string;
1158
1157
  id: string;
1159
- translationExamples?: {
1160
- sourceValue: string;
1161
- translatedValue: string;
1162
- }[] | undefined;
1163
1158
  tmMatch?: {
1164
1159
  sourceValue: string;
1165
1160
  translatedValue: string;
1166
1161
  } | undefined;
1167
- }, ...{
1168
- value: string;
1169
- id: string;
1170
1162
  translationExamples?: {
1171
1163
  sourceValue: string;
1172
1164
  translatedValue: string;
1173
1165
  }[] | undefined;
1166
+ }, ...{
1167
+ value: string;
1168
+ id: string;
1174
1169
  tmMatch?: {
1175
1170
  sourceValue: string;
1176
1171
  translatedValue: string;
1177
1172
  } | undefined;
1173
+ translationExamples?: {
1174
+ sourceValue: string;
1175
+ translatedValue: string;
1176
+ }[] | undefined;
1178
1177
  }[]];
1178
+ id: string;
1179
1179
  context?: {
1180
1180
  description: string;
1181
1181
  } | undefined;
@@ -1184,6 +1184,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1184
1184
  targetLocale: string;
1185
1185
  ownerId?: string | undefined;
1186
1186
  context?: {
1187
+ translationExamples?: {
1188
+ sourceValue: string;
1189
+ translatedValue: string;
1190
+ }[] | undefined;
1187
1191
  description?: string | undefined;
1188
1192
  styleGuide?: {
1189
1193
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -1200,16 +1204,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1200
1204
  forbidden?: boolean | undefined;
1201
1205
  caseSensitive?: boolean | undefined;
1202
1206
  translations?: {
1203
- locale: string;
1204
1207
  translation: string;
1208
+ locale: string;
1205
1209
  description?: string | undefined;
1206
1210
  }[] | undefined;
1207
1211
  }[] | undefined;
1208
1212
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
1209
- translationExamples?: {
1210
- sourceValue: string;
1211
- translatedValue: string;
1212
- }[] | undefined;
1213
1213
  } | undefined;
1214
1214
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "ChatGPT-4" | "DeepL" | "GoogleTranslate" | "MicrosoftTranslator" | undefined;
1215
1215
  forceIntegration?: boolean | undefined;
@@ -1242,59 +1242,59 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1242
1242
  }>, {
1243
1243
  sourceLocale: string;
1244
1244
  contentUnits: [{
1245
- id: string;
1246
1245
  segments: [{
1247
1246
  value: string;
1248
1247
  id: string;
1249
- translationExamples?: {
1250
- sourceValue: string;
1251
- translatedValue: string;
1252
- }[] | undefined;
1253
1248
  tmMatch?: {
1254
1249
  sourceValue: string;
1255
1250
  translatedValue: string;
1256
1251
  } | undefined;
1257
- }, ...{
1258
- value: string;
1259
- id: string;
1260
1252
  translationExamples?: {
1261
1253
  sourceValue: string;
1262
1254
  translatedValue: string;
1263
1255
  }[] | undefined;
1256
+ }, ...{
1257
+ value: string;
1258
+ id: string;
1264
1259
  tmMatch?: {
1265
1260
  sourceValue: string;
1266
1261
  translatedValue: string;
1267
1262
  } | undefined;
1263
+ translationExamples?: {
1264
+ sourceValue: string;
1265
+ translatedValue: string;
1266
+ }[] | undefined;
1268
1267
  }[]];
1268
+ id: string;
1269
1269
  context?: {
1270
1270
  description: string;
1271
1271
  } | undefined;
1272
1272
  characterLimit?: number | undefined;
1273
1273
  }, ...{
1274
- id: string;
1275
1274
  segments: [{
1276
1275
  value: string;
1277
1276
  id: string;
1278
- translationExamples?: {
1279
- sourceValue: string;
1280
- translatedValue: string;
1281
- }[] | undefined;
1282
1277
  tmMatch?: {
1283
1278
  sourceValue: string;
1284
1279
  translatedValue: string;
1285
1280
  } | undefined;
1286
- }, ...{
1287
- value: string;
1288
- id: string;
1289
1281
  translationExamples?: {
1290
1282
  sourceValue: string;
1291
1283
  translatedValue: string;
1292
1284
  }[] | undefined;
1285
+ }, ...{
1286
+ value: string;
1287
+ id: string;
1293
1288
  tmMatch?: {
1294
1289
  sourceValue: string;
1295
1290
  translatedValue: string;
1296
1291
  } | undefined;
1292
+ translationExamples?: {
1293
+ sourceValue: string;
1294
+ translatedValue: string;
1295
+ }[] | undefined;
1297
1296
  }[]];
1297
+ id: string;
1298
1298
  context?: {
1299
1299
  description: string;
1300
1300
  } | undefined;
@@ -1303,6 +1303,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1303
1303
  targetLocale: string;
1304
1304
  ownerId?: string | undefined;
1305
1305
  context?: {
1306
+ translationExamples?: {
1307
+ sourceValue: string;
1308
+ translatedValue: string;
1309
+ }[] | undefined;
1306
1310
  description?: string | undefined;
1307
1311
  styleGuide?: {
1308
1312
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -1319,16 +1323,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1319
1323
  caseSensitive: boolean;
1320
1324
  description?: string | undefined;
1321
1325
  translations?: {
1322
- locale: string;
1323
1326
  translation: string;
1327
+ locale: string;
1324
1328
  description?: string | undefined;
1325
1329
  }[] | undefined;
1326
1330
  }[] | undefined;
1327
1331
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
1328
- translationExamples?: {
1329
- sourceValue: string;
1330
- translatedValue: string;
1331
- }[] | undefined;
1332
1332
  } | undefined;
1333
1333
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "DeepL" | "GoogleTranslate" | "MicrosoftTranslator" | undefined;
1334
1334
  forceIntegration?: boolean | undefined;
@@ -1361,59 +1361,59 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1361
1361
  }, {
1362
1362
  sourceLocale: string;
1363
1363
  contentUnits: [{
1364
- id: string;
1365
1364
  segments: [{
1366
1365
  value: string;
1367
1366
  id: string;
1368
- translationExamples?: {
1369
- sourceValue: string;
1370
- translatedValue: string;
1371
- }[] | undefined;
1372
1367
  tmMatch?: {
1373
1368
  sourceValue: string;
1374
1369
  translatedValue: string;
1375
1370
  } | undefined;
1376
- }, ...{
1377
- value: string;
1378
- id: string;
1379
1371
  translationExamples?: {
1380
1372
  sourceValue: string;
1381
1373
  translatedValue: string;
1382
1374
  }[] | undefined;
1375
+ }, ...{
1376
+ value: string;
1377
+ id: string;
1383
1378
  tmMatch?: {
1384
1379
  sourceValue: string;
1385
1380
  translatedValue: string;
1386
1381
  } | undefined;
1382
+ translationExamples?: {
1383
+ sourceValue: string;
1384
+ translatedValue: string;
1385
+ }[] | undefined;
1387
1386
  }[]];
1387
+ id: string;
1388
1388
  context?: {
1389
1389
  description: string;
1390
1390
  } | undefined;
1391
1391
  characterLimit?: number | undefined;
1392
1392
  }, ...{
1393
- id: string;
1394
1393
  segments: [{
1395
1394
  value: string;
1396
1395
  id: string;
1397
- translationExamples?: {
1398
- sourceValue: string;
1399
- translatedValue: string;
1400
- }[] | undefined;
1401
1396
  tmMatch?: {
1402
1397
  sourceValue: string;
1403
1398
  translatedValue: string;
1404
1399
  } | undefined;
1405
- }, ...{
1406
- value: string;
1407
- id: string;
1408
1400
  translationExamples?: {
1409
1401
  sourceValue: string;
1410
1402
  translatedValue: string;
1411
1403
  }[] | undefined;
1404
+ }, ...{
1405
+ value: string;
1406
+ id: string;
1412
1407
  tmMatch?: {
1413
1408
  sourceValue: string;
1414
1409
  translatedValue: string;
1415
1410
  } | undefined;
1411
+ translationExamples?: {
1412
+ sourceValue: string;
1413
+ translatedValue: string;
1414
+ }[] | undefined;
1416
1415
  }[]];
1416
+ id: string;
1417
1417
  context?: {
1418
1418
  description: string;
1419
1419
  } | undefined;
@@ -1422,6 +1422,10 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1422
1422
  targetLocale: string;
1423
1423
  ownerId?: string | undefined;
1424
1424
  context?: {
1425
+ translationExamples?: {
1426
+ sourceValue: string;
1427
+ translatedValue: string;
1428
+ }[] | undefined;
1425
1429
  description?: string | undefined;
1426
1430
  styleGuide?: {
1427
1431
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -1438,16 +1442,12 @@ export declare const TRANSLATE_SYNC_BODY_SCHEMA: z.ZodEffects<z.ZodEffects<z.Zod
1438
1442
  forbidden?: boolean | undefined;
1439
1443
  caseSensitive?: boolean | undefined;
1440
1444
  translations?: {
1441
- locale: string;
1442
1445
  translation: string;
1446
+ locale: string;
1443
1447
  description?: string | undefined;
1444
1448
  }[] | undefined;
1445
1449
  }[] | undefined;
1446
1450
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
1447
- translationExamples?: {
1448
- sourceValue: string;
1449
- translatedValue: string;
1450
- }[] | undefined;
1451
1451
  } | undefined;
1452
1452
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "ChatGPT-4" | "DeepL" | "GoogleTranslate" | "MicrosoftTranslator" | undefined;
1453
1453
  forceIntegration?: boolean | undefined;
@@ -1504,19 +1504,19 @@ export declare const TRANSLATE_SYNC_RESPONSE_SCHEMA: z.ZodObject<{
1504
1504
  integration: string;
1505
1505
  contentUnitId: string;
1506
1506
  segmentId: string;
1507
+ polyglotRefId?: string | undefined;
1507
1508
  warnings?: {
1508
1509
  kind: "EDITED_NON_TRANSLATABLE_CONTENT" | "EDITED_ICU_PLURALS";
1509
1510
  }[] | undefined;
1510
- polyglotRefId?: string | undefined;
1511
1511
  }, {
1512
1512
  translation: string;
1513
1513
  integration: string;
1514
1514
  contentUnitId: string;
1515
1515
  segmentId: string;
1516
+ polyglotRefId?: string | undefined;
1516
1517
  warnings?: {
1517
1518
  kind: "EDITED_NON_TRANSLATABLE_CONTENT" | "EDITED_ICU_PLURALS";
1518
1519
  }[] | undefined;
1519
- polyglotRefId?: string | undefined;
1520
1520
  }>, "many">;
1521
1521
  errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1522
1522
  message: z.ZodString;
@@ -1547,10 +1547,10 @@ export declare const TRANSLATE_SYNC_RESPONSE_SCHEMA: z.ZodObject<{
1547
1547
  integration: string;
1548
1548
  contentUnitId: string;
1549
1549
  segmentId: string;
1550
+ polyglotRefId?: string | undefined;
1550
1551
  warnings?: {
1551
1552
  kind: "EDITED_NON_TRANSLATABLE_CONTENT" | "EDITED_ICU_PLURALS";
1552
1553
  }[] | undefined;
1553
- polyglotRefId?: string | undefined;
1554
1554
  }[];
1555
1555
  errors?: {
1556
1556
  message: string;
@@ -1566,10 +1566,10 @@ export declare const TRANSLATE_SYNC_RESPONSE_SCHEMA: z.ZodObject<{
1566
1566
  integration: string;
1567
1567
  contentUnitId: string;
1568
1568
  segmentId: string;
1569
+ polyglotRefId?: string | undefined;
1569
1570
  warnings?: {
1570
1571
  kind: "EDITED_NON_TRANSLATABLE_CONTENT" | "EDITED_ICU_PLURALS";
1571
1572
  }[] | undefined;
1572
- polyglotRefId?: string | undefined;
1573
1573
  }[];
1574
1574
  errors?: {
1575
1575
  message: string;