@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 LQA_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 LQA_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 LQA_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;
@@ -72,12 +72,12 @@ declare const LQA_CONTENT_UNIT_SCHEMA: z.ZodObject<{
72
72
  value: z.ZodEffects<z.ZodString, string, string>;
73
73
  }, "strip", z.ZodTypeAny, {
74
74
  value: string;
75
- locale: string;
76
75
  id: string;
76
+ locale: string;
77
77
  }, {
78
78
  value: string;
79
- locale: string;
80
79
  id: string;
80
+ locale: string;
81
81
  }>, "atleastone">;
82
82
  tmMatch: z.ZodOptional<z.ZodObject<{
83
83
  sourceValue: z.ZodString;
@@ -93,12 +93,12 @@ declare const LQA_CONTENT_UNIT_SCHEMA: z.ZodObject<{
93
93
  sourceValue: string;
94
94
  translations: [{
95
95
  value: string;
96
- locale: string;
97
96
  id: string;
97
+ locale: string;
98
98
  }, ...{
99
99
  value: string;
100
- locale: string;
101
100
  id: string;
101
+ locale: string;
102
102
  }[]];
103
103
  tmMatch?: {
104
104
  sourceValue: string;
@@ -108,12 +108,12 @@ declare const LQA_CONTENT_UNIT_SCHEMA: z.ZodObject<{
108
108
  sourceValue: string;
109
109
  translations: [{
110
110
  value: string;
111
- locale: string;
112
111
  id: string;
112
+ locale: string;
113
113
  }, ...{
114
114
  value: string;
115
- locale: string;
116
115
  id: string;
116
+ locale: string;
117
117
  }[]];
118
118
  tmMatch?: {
119
119
  sourceValue: string;
@@ -122,17 +122,16 @@ declare const LQA_CONTENT_UNIT_SCHEMA: z.ZodObject<{
122
122
  }>, "atleastone">;
123
123
  characterLimit: z.ZodOptional<z.ZodNumber>;
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 LQA_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 LQA_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;
@@ -255,12 +255,12 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
255
255
  translation: z.ZodString;
256
256
  description: z.ZodOptional<z.ZodString>;
257
257
  }, "strip", z.ZodTypeAny, {
258
- locale: string;
259
258
  translation: string;
259
+ locale: string;
260
260
  description?: string | undefined;
261
261
  }, {
262
- locale: string;
263
262
  translation: string;
263
+ locale: string;
264
264
  description?: string | undefined;
265
265
  }>, "many">>;
266
266
  }, "strip", z.ZodTypeAny, {
@@ -270,8 +270,8 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
270
270
  caseSensitive: boolean;
271
271
  description?: string | undefined;
272
272
  translations?: {
273
- locale: string;
274
273
  translation: string;
274
+ locale: string;
275
275
  description?: string | undefined;
276
276
  }[] | undefined;
277
277
  }, {
@@ -281,8 +281,8 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
281
281
  forbidden?: boolean | undefined;
282
282
  caseSensitive?: boolean | undefined;
283
283
  translations?: {
284
- locale: string;
285
284
  translation: string;
285
+ locale: string;
286
286
  description?: string | undefined;
287
287
  }[] | undefined;
288
288
  }>, {
@@ -292,8 +292,8 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
292
292
  caseSensitive: boolean;
293
293
  description?: string | undefined;
294
294
  translations?: {
295
- locale: string;
296
295
  translation: string;
296
+ locale: string;
297
297
  description?: string | undefined;
298
298
  }[] | undefined;
299
299
  }, {
@@ -303,8 +303,8 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
303
303
  forbidden?: boolean | undefined;
304
304
  caseSensitive?: boolean | undefined;
305
305
  translations?: {
306
- locale: string;
307
306
  translation: string;
307
+ locale: string;
308
308
  description?: string | undefined;
309
309
  }[] | undefined;
310
310
  }>, "many">>;
@@ -320,6 +320,10 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
320
320
  translatedValue: string;
321
321
  }>, "many">>;
322
322
  }, "strip", z.ZodTypeAny, {
323
+ translationExamples?: {
324
+ sourceValue: string;
325
+ translatedValue: string;
326
+ }[] | undefined;
323
327
  description?: string | undefined;
324
328
  styleGuide?: {
325
329
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -336,17 +340,17 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
336
340
  caseSensitive: boolean;
337
341
  description?: string | undefined;
338
342
  translations?: {
339
- locale: string;
340
343
  translation: string;
344
+ locale: string;
341
345
  description?: string | undefined;
342
346
  }[] | undefined;
343
347
  }[] | undefined;
344
348
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
349
+ }, {
345
350
  translationExamples?: {
346
351
  sourceValue: string;
347
352
  translatedValue: string;
348
353
  }[] | undefined;
349
- }, {
350
354
  description?: string | undefined;
351
355
  styleGuide?: {
352
356
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -363,16 +367,12 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
363
367
  forbidden?: boolean | undefined;
364
368
  caseSensitive?: boolean | undefined;
365
369
  translations?: {
366
- locale: string;
367
370
  translation: string;
371
+ locale: string;
368
372
  description?: string | undefined;
369
373
  }[] | undefined;
370
374
  }[] | undefined;
371
375
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
372
- translationExamples?: {
373
- sourceValue: string;
374
- translatedValue: string;
375
- }[] | undefined;
376
376
  }>>;
377
377
  contentUnits: z.ZodArray<z.ZodObject<{
378
378
  id: z.ZodString;
@@ -391,12 +391,12 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
391
391
  value: z.ZodEffects<z.ZodString, string, string>;
392
392
  }, "strip", z.ZodTypeAny, {
393
393
  value: string;
394
- locale: string;
395
394
  id: string;
395
+ locale: string;
396
396
  }, {
397
397
  value: string;
398
- locale: string;
399
398
  id: string;
399
+ locale: string;
400
400
  }>, "atleastone">;
401
401
  tmMatch: z.ZodOptional<z.ZodObject<{
402
402
  sourceValue: z.ZodString;
@@ -412,12 +412,12 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
412
412
  sourceValue: string;
413
413
  translations: [{
414
414
  value: string;
415
- locale: string;
416
415
  id: string;
416
+ locale: string;
417
417
  }, ...{
418
418
  value: string;
419
- locale: string;
420
419
  id: string;
420
+ locale: string;
421
421
  }[]];
422
422
  tmMatch?: {
423
423
  sourceValue: string;
@@ -427,12 +427,12 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
427
427
  sourceValue: string;
428
428
  translations: [{
429
429
  value: string;
430
- locale: string;
431
430
  id: string;
431
+ locale: string;
432
432
  }, ...{
433
433
  value: string;
434
- locale: string;
435
434
  id: string;
435
+ locale: string;
436
436
  }[]];
437
437
  tmMatch?: {
438
438
  sourceValue: string;
@@ -441,17 +441,16 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
441
441
  }>, "atleastone">;
442
442
  characterLimit: z.ZodOptional<z.ZodNumber>;
443
443
  }, "strip", z.ZodTypeAny, {
444
- id: string;
445
444
  segments: [{
446
445
  sourceValue: string;
447
446
  translations: [{
448
447
  value: string;
449
- locale: string;
450
448
  id: string;
449
+ locale: string;
451
450
  }, ...{
452
451
  value: string;
453
- locale: string;
454
452
  id: string;
453
+ locale: string;
455
454
  }[]];
456
455
  tmMatch?: {
457
456
  sourceValue: string;
@@ -461,34 +460,34 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
461
460
  sourceValue: string;
462
461
  translations: [{
463
462
  value: string;
464
- locale: string;
465
463
  id: string;
464
+ locale: string;
466
465
  }, ...{
467
466
  value: string;
468
- locale: string;
469
467
  id: string;
468
+ locale: string;
470
469
  }[]];
471
470
  tmMatch?: {
472
471
  sourceValue: string;
473
472
  translatedValue: string;
474
473
  } | undefined;
475
474
  }[]];
475
+ id: string;
476
476
  context?: {
477
477
  description?: string | undefined;
478
478
  } | undefined;
479
479
  characterLimit?: number | undefined;
480
480
  }, {
481
- id: string;
482
481
  segments: [{
483
482
  sourceValue: string;
484
483
  translations: [{
485
484
  value: string;
486
- locale: string;
487
485
  id: string;
486
+ locale: string;
488
487
  }, ...{
489
488
  value: string;
490
- locale: string;
491
489
  id: string;
490
+ locale: string;
492
491
  }[]];
493
492
  tmMatch?: {
494
493
  sourceValue: string;
@@ -498,18 +497,19 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
498
497
  sourceValue: string;
499
498
  translations: [{
500
499
  value: string;
501
- locale: string;
502
500
  id: string;
501
+ locale: string;
503
502
  }, ...{
504
503
  value: string;
505
- locale: string;
506
504
  id: string;
505
+ locale: string;
507
506
  }[]];
508
507
  tmMatch?: {
509
508
  sourceValue: string;
510
509
  translatedValue: string;
511
510
  } | undefined;
512
511
  }[]];
512
+ id: string;
513
513
  context?: {
514
514
  description?: string | undefined;
515
515
  } | undefined;
@@ -522,17 +522,16 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
522
522
  callbackToken: string;
523
523
  sourceLocale: string;
524
524
  contentUnits: [{
525
- id: string;
526
525
  segments: [{
527
526
  sourceValue: string;
528
527
  translations: [{
529
528
  value: string;
530
- locale: string;
531
529
  id: string;
530
+ locale: string;
532
531
  }, ...{
533
532
  value: string;
534
- locale: string;
535
533
  id: string;
534
+ locale: string;
536
535
  }[]];
537
536
  tmMatch?: {
538
537
  sourceValue: string;
@@ -542,34 +541,34 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
542
541
  sourceValue: string;
543
542
  translations: [{
544
543
  value: string;
545
- locale: string;
546
544
  id: string;
545
+ locale: string;
547
546
  }, ...{
548
547
  value: string;
549
- locale: string;
550
548
  id: string;
549
+ locale: string;
551
550
  }[]];
552
551
  tmMatch?: {
553
552
  sourceValue: string;
554
553
  translatedValue: string;
555
554
  } | undefined;
556
555
  }[]];
556
+ id: string;
557
557
  context?: {
558
558
  description?: string | undefined;
559
559
  } | undefined;
560
560
  characterLimit?: number | undefined;
561
561
  }, ...{
562
- id: string;
563
562
  segments: [{
564
563
  sourceValue: string;
565
564
  translations: [{
566
565
  value: string;
567
- locale: string;
568
566
  id: string;
567
+ locale: string;
569
568
  }, ...{
570
569
  value: string;
571
- locale: string;
572
570
  id: string;
571
+ locale: string;
573
572
  }[]];
574
573
  tmMatch?: {
575
574
  sourceValue: string;
@@ -579,24 +578,29 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
579
578
  sourceValue: string;
580
579
  translations: [{
581
580
  value: string;
582
- locale: string;
583
581
  id: string;
582
+ locale: string;
584
583
  }, ...{
585
584
  value: string;
586
- locale: string;
587
585
  id: string;
586
+ locale: string;
588
587
  }[]];
589
588
  tmMatch?: {
590
589
  sourceValue: string;
591
590
  translatedValue: string;
592
591
  } | undefined;
593
592
  }[]];
593
+ id: string;
594
594
  context?: {
595
595
  description?: string | undefined;
596
596
  } | undefined;
597
597
  characterLimit?: number | undefined;
598
598
  }[]];
599
599
  context?: {
600
+ translationExamples?: {
601
+ sourceValue: string;
602
+ translatedValue: string;
603
+ }[] | undefined;
600
604
  description?: string | undefined;
601
605
  styleGuide?: {
602
606
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -613,16 +617,12 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
613
617
  caseSensitive: boolean;
614
618
  description?: string | undefined;
615
619
  translations?: {
616
- locale: string;
617
620
  translation: string;
621
+ locale: string;
618
622
  description?: string | undefined;
619
623
  }[] | undefined;
620
624
  }[] | undefined;
621
625
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
622
- translationExamples?: {
623
- sourceValue: string;
624
- translatedValue: string;
625
- }[] | undefined;
626
626
  } | undefined;
627
627
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | undefined;
628
628
  }, {
@@ -632,17 +632,16 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
632
632
  callbackToken: string;
633
633
  sourceLocale: string;
634
634
  contentUnits: [{
635
- id: string;
636
635
  segments: [{
637
636
  sourceValue: string;
638
637
  translations: [{
639
638
  value: string;
640
- locale: string;
641
639
  id: string;
640
+ locale: string;
642
641
  }, ...{
643
642
  value: string;
644
- locale: string;
645
643
  id: string;
644
+ locale: string;
646
645
  }[]];
647
646
  tmMatch?: {
648
647
  sourceValue: string;
@@ -652,34 +651,34 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
652
651
  sourceValue: string;
653
652
  translations: [{
654
653
  value: string;
655
- locale: string;
656
654
  id: string;
655
+ locale: string;
657
656
  }, ...{
658
657
  value: string;
659
- locale: string;
660
658
  id: string;
659
+ locale: string;
661
660
  }[]];
662
661
  tmMatch?: {
663
662
  sourceValue: string;
664
663
  translatedValue: string;
665
664
  } | undefined;
666
665
  }[]];
666
+ id: string;
667
667
  context?: {
668
668
  description?: string | undefined;
669
669
  } | undefined;
670
670
  characterLimit?: number | undefined;
671
671
  }, ...{
672
- id: string;
673
672
  segments: [{
674
673
  sourceValue: string;
675
674
  translations: [{
676
675
  value: string;
677
- locale: string;
678
676
  id: string;
677
+ locale: string;
679
678
  }, ...{
680
679
  value: string;
681
- locale: string;
682
680
  id: string;
681
+ locale: string;
683
682
  }[]];
684
683
  tmMatch?: {
685
684
  sourceValue: string;
@@ -689,24 +688,29 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
689
688
  sourceValue: string;
690
689
  translations: [{
691
690
  value: string;
692
- locale: string;
693
691
  id: string;
692
+ locale: string;
694
693
  }, ...{
695
694
  value: string;
696
- locale: string;
697
695
  id: string;
696
+ locale: string;
698
697
  }[]];
699
698
  tmMatch?: {
700
699
  sourceValue: string;
701
700
  translatedValue: string;
702
701
  } | undefined;
703
702
  }[]];
703
+ id: string;
704
704
  context?: {
705
705
  description?: string | undefined;
706
706
  } | undefined;
707
707
  characterLimit?: number | undefined;
708
708
  }[]];
709
709
  context?: {
710
+ translationExamples?: {
711
+ sourceValue: string;
712
+ translatedValue: string;
713
+ }[] | undefined;
710
714
  description?: string | undefined;
711
715
  styleGuide?: {
712
716
  targetAudience?: "general" | "technical" | "non-technical" | undefined;
@@ -723,16 +727,12 @@ export declare const LQA_ASYNC_BODY_SCHEMA: z.ZodObject<{
723
727
  forbidden?: boolean | undefined;
724
728
  caseSensitive?: boolean | undefined;
725
729
  translations?: {
726
- locale: string;
727
730
  translation: string;
731
+ locale: string;
728
732
  description?: string | undefined;
729
733
  }[] | undefined;
730
734
  }[] | undefined;
731
735
  targetPluralForms?: ["many" | "zero" | "one" | "two" | "few" | "other", ...("many" | "zero" | "one" | "two" | "few" | "other")[]] | undefined;
732
- translationExamples?: {
733
- sourceValue: string;
734
- translatedValue: string;
735
- }[] | undefined;
736
736
  } | undefined;
737
737
  integration?: "FT-OpenAI" | "Claude" | "GPT" | "Gemini" | "ChatGPT-4" | undefined;
738
738
  }>;
@@ -757,6 +757,7 @@ export declare const LQA_ASYNC_SUCCESS_SCHEMA: z.ZodObject<{
757
757
  status: z.ZodLiteral<"success">;
758
758
  originCorrelationId: z.ZodString;
759
759
  data: z.ZodArray<z.ZodObject<{
760
+ polyglotRefId: z.ZodString;
760
761
  contentUnitId: z.ZodString;
761
762
  translationId: z.ZodString;
762
763
  suggestion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -785,6 +786,7 @@ export declare const LQA_ASYNC_SUCCESS_SCHEMA: z.ZodObject<{
785
786
  severity: "neutral" | "minor" | "major" | "critical";
786
787
  comment?: string | null | undefined;
787
788
  }[];
789
+ polyglotRefId: string;
788
790
  contentUnitId: string;
789
791
  translationId: string;
790
792
  score: number;
@@ -795,6 +797,7 @@ export declare const LQA_ASYNC_SUCCESS_SCHEMA: z.ZodObject<{
795
797
  severity: "neutral" | "minor" | "major" | "critical";
796
798
  comment?: string | null | undefined;
797
799
  }[];
800
+ polyglotRefId: string;
798
801
  contentUnitId: string;
799
802
  translationId: string;
800
803
  score: number;
@@ -805,17 +808,20 @@ export declare const LQA_ASYNC_SUCCESS_SCHEMA: z.ZodObject<{
805
808
  errorCode: z.ZodString;
806
809
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
807
810
  } & {
811
+ polyglotRefId: z.ZodString;
808
812
  contentUnitId: z.ZodString;
809
813
  translationId: z.ZodString;
810
814
  }, "strip", z.ZodTypeAny, {
811
815
  message: string;
812
816
  errorCode: string;
817
+ polyglotRefId: string;
813
818
  contentUnitId: string;
814
819
  translationId: string;
815
820
  details?: Record<string, unknown> | undefined;
816
821
  }, {
817
822
  message: string;
818
823
  errorCode: string;
824
+ polyglotRefId: string;
819
825
  contentUnitId: string;
820
826
  translationId: string;
821
827
  details?: Record<string, unknown> | undefined;
@@ -829,6 +835,7 @@ export declare const LQA_ASYNC_SUCCESS_SCHEMA: z.ZodObject<{
829
835
  severity: "neutral" | "minor" | "major" | "critical";
830
836
  comment?: string | null | undefined;
831
837
  }[];
838
+ polyglotRefId: string;
832
839
  contentUnitId: string;
833
840
  translationId: string;
834
841
  score: number;
@@ -837,6 +844,7 @@ export declare const LQA_ASYNC_SUCCESS_SCHEMA: z.ZodObject<{
837
844
  errors?: {
838
845
  message: string;
839
846
  errorCode: string;
847
+ polyglotRefId: string;
840
848
  contentUnitId: string;
841
849
  translationId: string;
842
850
  details?: Record<string, unknown> | undefined;
@@ -850,6 +858,7 @@ export declare const LQA_ASYNC_SUCCESS_SCHEMA: z.ZodObject<{
850
858
  severity: "neutral" | "minor" | "major" | "critical";
851
859
  comment?: string | null | undefined;
852
860
  }[];
861
+ polyglotRefId: string;
853
862
  contentUnitId: string;
854
863
  translationId: string;
855
864
  score: number;
@@ -858,6 +867,7 @@ export declare const LQA_ASYNC_SUCCESS_SCHEMA: z.ZodObject<{
858
867
  errors?: {
859
868
  message: string;
860
869
  errorCode: string;
870
+ polyglotRefId: string;
861
871
  contentUnitId: string;
862
872
  translationId: string;
863
873
  details?: Record<string, unknown> | undefined;
@@ -867,6 +877,7 @@ export declare const LQA_ASYNC_CALLBACK_SCHEMA: z.ZodDiscriminatedUnion<"status"
867
877
  status: z.ZodLiteral<"success">;
868
878
  originCorrelationId: z.ZodString;
869
879
  data: z.ZodArray<z.ZodObject<{
880
+ polyglotRefId: z.ZodString;
870
881
  contentUnitId: z.ZodString;
871
882
  translationId: z.ZodString;
872
883
  suggestion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -895,6 +906,7 @@ export declare const LQA_ASYNC_CALLBACK_SCHEMA: z.ZodDiscriminatedUnion<"status"
895
906
  severity: "neutral" | "minor" | "major" | "critical";
896
907
  comment?: string | null | undefined;
897
908
  }[];
909
+ polyglotRefId: string;
898
910
  contentUnitId: string;
899
911
  translationId: string;
900
912
  score: number;
@@ -905,6 +917,7 @@ export declare const LQA_ASYNC_CALLBACK_SCHEMA: z.ZodDiscriminatedUnion<"status"
905
917
  severity: "neutral" | "minor" | "major" | "critical";
906
918
  comment?: string | null | undefined;
907
919
  }[];
920
+ polyglotRefId: string;
908
921
  contentUnitId: string;
909
922
  translationId: string;
910
923
  score: number;
@@ -915,17 +928,20 @@ export declare const LQA_ASYNC_CALLBACK_SCHEMA: z.ZodDiscriminatedUnion<"status"
915
928
  errorCode: z.ZodString;
916
929
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
917
930
  } & {
931
+ polyglotRefId: z.ZodString;
918
932
  contentUnitId: z.ZodString;
919
933
  translationId: z.ZodString;
920
934
  }, "strip", z.ZodTypeAny, {
921
935
  message: string;
922
936
  errorCode: string;
937
+ polyglotRefId: string;
923
938
  contentUnitId: string;
924
939
  translationId: string;
925
940
  details?: Record<string, unknown> | undefined;
926
941
  }, {
927
942
  message: string;
928
943
  errorCode: string;
944
+ polyglotRefId: string;
929
945
  contentUnitId: string;
930
946
  translationId: string;
931
947
  details?: Record<string, unknown> | undefined;
@@ -939,6 +955,7 @@ export declare const LQA_ASYNC_CALLBACK_SCHEMA: z.ZodDiscriminatedUnion<"status"
939
955
  severity: "neutral" | "minor" | "major" | "critical";
940
956
  comment?: string | null | undefined;
941
957
  }[];
958
+ polyglotRefId: string;
942
959
  contentUnitId: string;
943
960
  translationId: string;
944
961
  score: number;
@@ -947,6 +964,7 @@ export declare const LQA_ASYNC_CALLBACK_SCHEMA: z.ZodDiscriminatedUnion<"status"
947
964
  errors?: {
948
965
  message: string;
949
966
  errorCode: string;
967
+ polyglotRefId: string;
950
968
  contentUnitId: string;
951
969
  translationId: string;
952
970
  details?: Record<string, unknown> | undefined;
@@ -960,6 +978,7 @@ export declare const LQA_ASYNC_CALLBACK_SCHEMA: z.ZodDiscriminatedUnion<"status"
960
978
  severity: "neutral" | "minor" | "major" | "critical";
961
979
  comment?: string | null | undefined;
962
980
  }[];
981
+ polyglotRefId: string;
963
982
  contentUnitId: string;
964
983
  translationId: string;
965
984
  score: number;
@@ -968,6 +987,7 @@ export declare const LQA_ASYNC_CALLBACK_SCHEMA: z.ZodDiscriminatedUnion<"status"
968
987
  errors?: {
969
988
  message: string;
970
989
  errorCode: string;
990
+ polyglotRefId: string;
971
991
  contentUnitId: string;
972
992
  translationId: string;
973
993
  details?: Record<string, unknown> | undefined;