@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.
@@ -7,12 +7,12 @@ declare const SEGMENT_SCHEMA: z.ZodObject<{
7
7
  value: z.ZodEffects<z.ZodString, string, string>;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  value: string;
10
- locale: string;
11
10
  id: string;
11
+ locale: string;
12
12
  }, {
13
13
  value: string;
14
- locale: string;
15
14
  id: string;
15
+ locale: string;
16
16
  }>, "atleastone">;
17
17
  tmMatch: z.ZodOptional<z.ZodObject<{
18
18
  sourceValue: z.ZodString;
@@ -28,12 +28,12 @@ declare const SEGMENT_SCHEMA: z.ZodObject<{
28
28
  sourceValue: string;
29
29
  translations: [{
30
30
  value: string;
31
- locale: string;
32
31
  id: string;
32
+ locale: string;
33
33
  }, ...{
34
34
  value: string;
35
- locale: string;
36
35
  id: string;
36
+ locale: string;
37
37
  }[]];
38
38
  tmMatch?: {
39
39
  sourceValue: string;
@@ -43,12 +43,12 @@ declare const SEGMENT_SCHEMA: z.ZodObject<{
43
43
  sourceValue: string;
44
44
  translations: [{
45
45
  value: string;
46
- locale: string;
47
46
  id: string;
47
+ locale: string;
48
48
  }, ...{
49
49
  value: string;
50
- locale: string;
51
50
  id: string;
51
+ locale: string;
52
52
  }[]];
53
53
  tmMatch?: {
54
54
  sourceValue: string;
@@ -73,12 +73,12 @@ declare const CONTENT_UNIT_SCHEMA: z.ZodObject<{
73
73
  value: z.ZodEffects<z.ZodString, string, string>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  value: string;
76
- locale: string;
77
76
  id: string;
77
+ locale: string;
78
78
  }, {
79
79
  value: string;
80
- locale: string;
81
80
  id: string;
81
+ locale: string;
82
82
  }>, "atleastone">;
83
83
  tmMatch: z.ZodOptional<z.ZodObject<{
84
84
  sourceValue: z.ZodString;
@@ -94,12 +94,12 @@ declare const CONTENT_UNIT_SCHEMA: z.ZodObject<{
94
94
  sourceValue: string;
95
95
  translations: [{
96
96
  value: string;
97
- locale: string;
98
97
  id: string;
98
+ locale: string;
99
99
  }, ...{
100
100
  value: string;
101
- locale: string;
102
101
  id: string;
102
+ locale: string;
103
103
  }[]];
104
104
  tmMatch?: {
105
105
  sourceValue: string;
@@ -109,12 +109,12 @@ declare const CONTENT_UNIT_SCHEMA: z.ZodObject<{
109
109
  sourceValue: string;
110
110
  translations: [{
111
111
  value: string;
112
- locale: string;
113
112
  id: string;
113
+ locale: string;
114
114
  }, ...{
115
115
  value: string;
116
- locale: string;
117
116
  id: string;
117
+ locale: string;
118
118
  }[]];
119
119
  tmMatch?: {
120
120
  sourceValue: string;
@@ -122,17 +122,16 @@ declare const CONTENT_UNIT_SCHEMA: z.ZodObject<{
122
122
  } | undefined;
123
123
  }>, "atleastone">;
124
124
  }, "strip", z.ZodTypeAny, {
125
- id: string;
126
125
  segments: [{
127
126
  sourceValue: string;
128
127
  translations: [{
129
128
  value: string;
130
- locale: string;
131
129
  id: string;
130
+ locale: string;
132
131
  }, ...{
133
132
  value: string;
134
- locale: string;
135
133
  id: string;
134
+ locale: string;
136
135
  }[]];
137
136
  tmMatch?: {
138
137
  sourceValue: string;
@@ -142,34 +141,34 @@ declare const CONTENT_UNIT_SCHEMA: z.ZodObject<{
142
141
  sourceValue: string;
143
142
  translations: [{
144
143
  value: string;
145
- locale: string;
146
144
  id: string;
145
+ locale: string;
147
146
  }, ...{
148
147
  value: string;
149
- locale: string;
150
148
  id: string;
149
+ locale: string;
151
150
  }[]];
152
151
  tmMatch?: {
153
152
  sourceValue: string;
154
153
  translatedValue: string;
155
154
  } | undefined;
156
155
  }[]];
156
+ id: string;
157
157
  context?: {
158
158
  description?: string | undefined;
159
159
  } | undefined;
160
160
  characterLimit?: number | undefined;
161
161
  }, {
162
- id: string;
163
162
  segments: [{
164
163
  sourceValue: string;
165
164
  translations: [{
166
165
  value: string;
167
- locale: string;
168
166
  id: string;
167
+ locale: string;
169
168
  }, ...{
170
169
  value: string;
171
- locale: string;
172
170
  id: string;
171
+ locale: string;
173
172
  }[]];
174
173
  tmMatch?: {
175
174
  sourceValue: string;
@@ -179,18 +178,19 @@ declare const CONTENT_UNIT_SCHEMA: z.ZodObject<{
179
178
  sourceValue: string;
180
179
  translations: [{
181
180
  value: string;
182
- locale: string;
183
181
  id: string;
182
+ locale: string;
184
183
  }, ...{
185
184
  value: string;
186
- locale: string;
187
185
  id: string;
186
+ locale: string;
188
187
  }[]];
189
188
  tmMatch?: {
190
189
  sourceValue: string;
191
190
  translatedValue: string;
192
191
  } | undefined;
193
192
  }[]];
193
+ id: string;
194
194
  context?: {
195
195
  description?: string | undefined;
196
196
  } | undefined;
@@ -243,12 +243,12 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
243
243
  translation: z.ZodString;
244
244
  description: z.ZodOptional<z.ZodString>;
245
245
  }, "strip", z.ZodTypeAny, {
246
- locale: string;
247
246
  translation: string;
247
+ locale: string;
248
248
  description?: string | undefined;
249
249
  }, {
250
- locale: string;
251
250
  translation: string;
251
+ locale: string;
252
252
  description?: string | undefined;
253
253
  }>, "many">>;
254
254
  }, "strip", z.ZodTypeAny, {
@@ -258,8 +258,8 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
258
258
  caseSensitive: boolean;
259
259
  description?: string | undefined;
260
260
  translations?: {
261
- locale: string;
262
261
  translation: string;
262
+ locale: string;
263
263
  description?: string | undefined;
264
264
  }[] | undefined;
265
265
  }, {
@@ -269,8 +269,8 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
269
269
  forbidden?: boolean | undefined;
270
270
  caseSensitive?: boolean | undefined;
271
271
  translations?: {
272
- locale: string;
273
272
  translation: string;
273
+ locale: string;
274
274
  description?: string | undefined;
275
275
  }[] | undefined;
276
276
  }>, {
@@ -280,8 +280,8 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
280
280
  caseSensitive: boolean;
281
281
  description?: string | undefined;
282
282
  translations?: {
283
- locale: string;
284
283
  translation: string;
284
+ locale: string;
285
285
  description?: string | undefined;
286
286
  }[] | undefined;
287
287
  }, {
@@ -291,8 +291,8 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
291
291
  forbidden?: boolean | undefined;
292
292
  caseSensitive?: boolean | undefined;
293
293
  translations?: {
294
- locale: string;
295
294
  translation: string;
295
+ locale: string;
296
296
  description?: string | undefined;
297
297
  }[] | undefined;
298
298
  }>, "many">>;
@@ -308,6 +308,10 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
308
308
  translatedValue: string;
309
309
  }>, "many">>;
310
310
  }, "strip", z.ZodTypeAny, {
311
+ translationExamples?: {
312
+ sourceValue: string;
313
+ translatedValue: string;
314
+ }[] | undefined;
311
315
  description?: string | undefined;
312
316
  styleGuide?: {
313
317
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -324,17 +328,17 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
324
328
  caseSensitive: boolean;
325
329
  description?: string | undefined;
326
330
  translations?: {
327
- locale: string;
328
331
  translation: string;
332
+ locale: string;
329
333
  description?: string | undefined;
330
334
  }[] | undefined;
331
335
  }[] | undefined;
332
336
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
337
+ }, {
333
338
  translationExamples?: {
334
339
  sourceValue: string;
335
340
  translatedValue: string;
336
341
  }[] | undefined;
337
- }, {
338
342
  description?: string | undefined;
339
343
  styleGuide?: {
340
344
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -351,16 +355,12 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
351
355
  forbidden?: boolean | undefined;
352
356
  caseSensitive?: boolean | undefined;
353
357
  translations?: {
354
- locale: string;
355
358
  translation: string;
359
+ locale: string;
356
360
  description?: string | undefined;
357
361
  }[] | undefined;
358
362
  }[] | undefined;
359
363
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
360
- translationExamples?: {
361
- sourceValue: string;
362
- translatedValue: string;
363
- }[] | undefined;
364
364
  }>>;
365
365
  integration: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
366
366
  CHAT_GPT4: "ChatGPT-4";
@@ -387,12 +387,12 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
387
387
  value: z.ZodEffects<z.ZodString, string, string>;
388
388
  }, "strip", z.ZodTypeAny, {
389
389
  value: string;
390
- locale: string;
391
390
  id: string;
391
+ locale: string;
392
392
  }, {
393
393
  value: string;
394
- locale: string;
395
394
  id: string;
395
+ locale: string;
396
396
  }>, "atleastone">;
397
397
  tmMatch: z.ZodOptional<z.ZodObject<{
398
398
  sourceValue: z.ZodString;
@@ -408,12 +408,12 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
408
408
  sourceValue: string;
409
409
  translations: [{
410
410
  value: string;
411
- locale: string;
412
411
  id: string;
412
+ locale: string;
413
413
  }, ...{
414
414
  value: string;
415
- locale: string;
416
415
  id: string;
416
+ locale: string;
417
417
  }[]];
418
418
  tmMatch?: {
419
419
  sourceValue: string;
@@ -423,12 +423,12 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
423
423
  sourceValue: string;
424
424
  translations: [{
425
425
  value: string;
426
- locale: string;
427
426
  id: string;
427
+ locale: string;
428
428
  }, ...{
429
429
  value: string;
430
- locale: string;
431
430
  id: string;
431
+ locale: string;
432
432
  }[]];
433
433
  tmMatch?: {
434
434
  sourceValue: string;
@@ -436,17 +436,16 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
436
436
  } | undefined;
437
437
  }>, "atleastone">;
438
438
  }, "strip", z.ZodTypeAny, {
439
- id: string;
440
439
  segments: [{
441
440
  sourceValue: string;
442
441
  translations: [{
443
442
  value: string;
444
- locale: string;
445
443
  id: string;
444
+ locale: string;
446
445
  }, ...{
447
446
  value: string;
448
- locale: string;
449
447
  id: string;
448
+ locale: string;
450
449
  }[]];
451
450
  tmMatch?: {
452
451
  sourceValue: string;
@@ -456,34 +455,34 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
456
455
  sourceValue: string;
457
456
  translations: [{
458
457
  value: string;
459
- locale: string;
460
458
  id: string;
459
+ locale: string;
461
460
  }, ...{
462
461
  value: string;
463
- locale: string;
464
462
  id: string;
463
+ locale: string;
465
464
  }[]];
466
465
  tmMatch?: {
467
466
  sourceValue: string;
468
467
  translatedValue: string;
469
468
  } | undefined;
470
469
  }[]];
470
+ id: string;
471
471
  context?: {
472
472
  description?: string | undefined;
473
473
  } | undefined;
474
474
  characterLimit?: number | undefined;
475
475
  }, {
476
- id: string;
477
476
  segments: [{
478
477
  sourceValue: string;
479
478
  translations: [{
480
479
  value: string;
481
- locale: string;
482
480
  id: string;
481
+ locale: string;
483
482
  }, ...{
484
483
  value: string;
485
- locale: string;
486
484
  id: string;
485
+ locale: string;
487
486
  }[]];
488
487
  tmMatch?: {
489
488
  sourceValue: string;
@@ -493,18 +492,19 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
493
492
  sourceValue: string;
494
493
  translations: [{
495
494
  value: string;
496
- locale: string;
497
495
  id: string;
496
+ locale: string;
498
497
  }, ...{
499
498
  value: string;
500
- locale: string;
501
499
  id: string;
500
+ locale: string;
502
501
  }[]];
503
502
  tmMatch?: {
504
503
  sourceValue: string;
505
504
  translatedValue: string;
506
505
  } | undefined;
507
506
  }[]];
507
+ id: string;
508
508
  context?: {
509
509
  description?: string | undefined;
510
510
  } | undefined;
@@ -513,17 +513,16 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
513
513
  }, "strip", z.ZodTypeAny, {
514
514
  sourceLocale: string;
515
515
  contentUnits: [{
516
- id: string;
517
516
  segments: [{
518
517
  sourceValue: string;
519
518
  translations: [{
520
519
  value: string;
521
- locale: string;
522
520
  id: string;
521
+ locale: string;
523
522
  }, ...{
524
523
  value: string;
525
- locale: string;
526
524
  id: string;
525
+ locale: string;
527
526
  }[]];
528
527
  tmMatch?: {
529
528
  sourceValue: string;
@@ -533,34 +532,34 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
533
532
  sourceValue: string;
534
533
  translations: [{
535
534
  value: string;
536
- locale: string;
537
535
  id: string;
536
+ locale: string;
538
537
  }, ...{
539
538
  value: string;
540
- locale: string;
541
539
  id: string;
540
+ locale: string;
542
541
  }[]];
543
542
  tmMatch?: {
544
543
  sourceValue: string;
545
544
  translatedValue: string;
546
545
  } | undefined;
547
546
  }[]];
547
+ id: string;
548
548
  context?: {
549
549
  description?: string | undefined;
550
550
  } | undefined;
551
551
  characterLimit?: number | undefined;
552
552
  }, ...{
553
- id: string;
554
553
  segments: [{
555
554
  sourceValue: string;
556
555
  translations: [{
557
556
  value: string;
558
- locale: string;
559
557
  id: string;
558
+ locale: string;
560
559
  }, ...{
561
560
  value: string;
562
- locale: string;
563
561
  id: string;
562
+ locale: string;
564
563
  }[]];
565
564
  tmMatch?: {
566
565
  sourceValue: string;
@@ -570,24 +569,29 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
570
569
  sourceValue: string;
571
570
  translations: [{
572
571
  value: string;
573
- locale: string;
574
572
  id: string;
573
+ locale: string;
575
574
  }, ...{
576
575
  value: string;
577
- locale: string;
578
576
  id: string;
577
+ locale: string;
579
578
  }[]];
580
579
  tmMatch?: {
581
580
  sourceValue: string;
582
581
  translatedValue: string;
583
582
  } | undefined;
584
583
  }[]];
584
+ id: string;
585
585
  context?: {
586
586
  description?: string | undefined;
587
587
  } | undefined;
588
588
  characterLimit?: number | undefined;
589
589
  }[]];
590
590
  context?: {
591
+ translationExamples?: {
592
+ sourceValue: string;
593
+ translatedValue: string;
594
+ }[] | undefined;
591
595
  description?: string | undefined;
592
596
  styleGuide?: {
593
597
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -604,32 +608,27 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
604
608
  caseSensitive: boolean;
605
609
  description?: string | undefined;
606
610
  translations?: {
607
- locale: string;
608
611
  translation: string;
612
+ locale: string;
609
613
  description?: string | undefined;
610
614
  }[] | undefined;
611
615
  }[] | undefined;
612
616
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
613
- translationExamples?: {
614
- sourceValue: string;
615
- translatedValue: string;
616
- }[] | undefined;
617
617
  } | undefined;
618
618
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | undefined;
619
619
  }, {
620
620
  sourceLocale: string;
621
621
  contentUnits: [{
622
- id: string;
623
622
  segments: [{
624
623
  sourceValue: string;
625
624
  translations: [{
626
625
  value: string;
627
- locale: string;
628
626
  id: string;
627
+ locale: string;
629
628
  }, ...{
630
629
  value: string;
631
- locale: string;
632
630
  id: string;
631
+ locale: string;
633
632
  }[]];
634
633
  tmMatch?: {
635
634
  sourceValue: string;
@@ -639,34 +638,34 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
639
638
  sourceValue: string;
640
639
  translations: [{
641
640
  value: string;
642
- locale: string;
643
641
  id: string;
642
+ locale: string;
644
643
  }, ...{
645
644
  value: string;
646
- locale: string;
647
645
  id: string;
646
+ locale: string;
648
647
  }[]];
649
648
  tmMatch?: {
650
649
  sourceValue: string;
651
650
  translatedValue: string;
652
651
  } | undefined;
653
652
  }[]];
653
+ id: string;
654
654
  context?: {
655
655
  description?: string | undefined;
656
656
  } | undefined;
657
657
  characterLimit?: number | undefined;
658
658
  }, ...{
659
- id: string;
660
659
  segments: [{
661
660
  sourceValue: string;
662
661
  translations: [{
663
662
  value: string;
664
- locale: string;
665
663
  id: string;
664
+ locale: string;
666
665
  }, ...{
667
666
  value: string;
668
- locale: string;
669
667
  id: string;
668
+ locale: string;
670
669
  }[]];
671
670
  tmMatch?: {
672
671
  sourceValue: string;
@@ -676,24 +675,29 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
676
675
  sourceValue: string;
677
676
  translations: [{
678
677
  value: string;
679
- locale: string;
680
678
  id: string;
679
+ locale: string;
681
680
  }, ...{
682
681
  value: string;
683
- locale: string;
684
682
  id: string;
683
+ locale: string;
685
684
  }[]];
686
685
  tmMatch?: {
687
686
  sourceValue: string;
688
687
  translatedValue: string;
689
688
  } | undefined;
690
689
  }[]];
690
+ id: string;
691
691
  context?: {
692
692
  description?: string | undefined;
693
693
  } | undefined;
694
694
  characterLimit?: number | undefined;
695
695
  }[]];
696
696
  context?: {
697
+ translationExamples?: {
698
+ sourceValue: string;
699
+ translatedValue: string;
700
+ }[] | undefined;
697
701
  description?: string | undefined;
698
702
  styleGuide?: {
699
703
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -710,16 +714,12 @@ export declare const LQA_SYNC_BODY_SCHEMA: z.ZodObject<{
710
714
  forbidden?: boolean | undefined;
711
715
  caseSensitive?: boolean | undefined;
712
716
  translations?: {
713
- locale: string;
714
717
  translation: string;
718
+ locale: string;
715
719
  description?: string | undefined;
716
720
  }[] | undefined;
717
721
  }[] | undefined;
718
722
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
719
- translationExamples?: {
720
- sourceValue: string;
721
- translatedValue: string;
722
- }[] | undefined;
723
723
  } | undefined;
724
724
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "ChatGPT-4" | undefined;
725
725
  }>;
@@ -733,6 +733,7 @@ export declare const LQA_SYNC_HEADERS_SCHEMA: z.ZodObject<{
733
733
  export declare const LQA_SYNC_RESPONSE_SCHEMA: z.ZodObject<{
734
734
  integration: z.ZodString;
735
735
  data: z.ZodArray<z.ZodObject<{
736
+ polyglotRefId: z.ZodString;
736
737
  contentUnitId: z.ZodString;
737
738
  translationId: z.ZodString;
738
739
  suggestion: z.ZodNullable<z.ZodString>;
@@ -761,6 +762,7 @@ export declare const LQA_SYNC_RESPONSE_SCHEMA: z.ZodObject<{
761
762
  severity: "neutral" | "minor" | "major" | "critical";
762
763
  comment: string | null;
763
764
  }[];
765
+ polyglotRefId: string;
764
766
  contentUnitId: string;
765
767
  translationId: string;
766
768
  suggestion: string | null;
@@ -771,6 +773,7 @@ export declare const LQA_SYNC_RESPONSE_SCHEMA: z.ZodObject<{
771
773
  severity: "neutral" | "minor" | "major" | "critical";
772
774
  comment: string | null;
773
775
  }[];
776
+ polyglotRefId: string;
774
777
  contentUnitId: string;
775
778
  translationId: string;
776
779
  suggestion: string | null;
@@ -781,57 +784,64 @@ export declare const LQA_SYNC_RESPONSE_SCHEMA: z.ZodObject<{
781
784
  errorCode: z.ZodString;
782
785
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
783
786
  } & {
787
+ polyglotRefId: z.ZodString;
784
788
  contentUnitId: z.ZodString;
785
789
  translationId: z.ZodString;
786
790
  }, "strip", z.ZodTypeAny, {
787
791
  message: string;
788
792
  errorCode: string;
793
+ polyglotRefId: string;
789
794
  contentUnitId: string;
790
795
  translationId: string;
791
796
  details?: Record<string, unknown> | undefined;
792
797
  }, {
793
798
  message: string;
794
799
  errorCode: string;
800
+ polyglotRefId: string;
795
801
  contentUnitId: string;
796
802
  translationId: string;
797
803
  details?: Record<string, unknown> | undefined;
798
804
  }>, "many">>;
799
805
  }, "strip", z.ZodTypeAny, {
800
- integration: string;
801
806
  data: {
802
807
  issues: {
803
808
  category: string;
804
809
  severity: "neutral" | "minor" | "major" | "critical";
805
810
  comment: string | null;
806
811
  }[];
812
+ polyglotRefId: string;
807
813
  contentUnitId: string;
808
814
  translationId: string;
809
815
  suggestion: string | null;
810
816
  score: number;
811
817
  }[];
818
+ integration: string;
812
819
  errors?: {
813
820
  message: string;
814
821
  errorCode: string;
822
+ polyglotRefId: string;
815
823
  contentUnitId: string;
816
824
  translationId: string;
817
825
  details?: Record<string, unknown> | undefined;
818
826
  }[] | undefined;
819
827
  }, {
820
- integration: string;
821
828
  data: {
822
829
  issues: {
823
830
  category: string;
824
831
  severity: "neutral" | "minor" | "major" | "critical";
825
832
  comment: string | null;
826
833
  }[];
834
+ polyglotRefId: string;
827
835
  contentUnitId: string;
828
836
  translationId: string;
829
837
  suggestion: string | null;
830
838
  score: number;
831
839
  }[];
840
+ integration: string;
832
841
  errors?: {
833
842
  message: string;
834
843
  errorCode: string;
844
+ polyglotRefId: string;
835
845
  contentUnitId: string;
836
846
  translationId: string;
837
847
  details?: Record<string, unknown> | undefined;