@opencrvs/toolkit 1.8.1-rc.e32d7b8 → 1.8.1-rc.ebf61ab

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 (32) hide show
  1. package/dist/commons/api/router.d.ts +433 -796
  2. package/dist/commons/conditionals/validate.d.ts +11 -2
  3. package/dist/commons/events/ActionConfig.d.ts +3924 -642
  4. package/dist/commons/events/ActionDocument.d.ts +1302 -1389
  5. package/dist/commons/events/ActionInput.d.ts +658 -1136
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +83 -65
  7. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  9. package/dist/commons/events/Draft.d.ts +48 -92
  10. package/dist/commons/events/EventConfig.d.ts +1281 -262
  11. package/dist/commons/events/EventDocument.d.ts +475 -846
  12. package/dist/commons/events/EventIndex.d.ts +184 -62
  13. package/dist/commons/events/EventMetadata.d.ts +9 -9
  14. package/dist/commons/events/FieldConfig.d.ts +517 -71
  15. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  16. package/dist/commons/events/FieldValue.d.ts +12 -12
  17. package/dist/commons/events/FormConfig.d.ts +1956 -378
  18. package/dist/commons/events/PageConfig.d.ts +524 -82
  19. package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
  20. package/dist/commons/events/defineConfig.d.ts +183 -48
  21. package/dist/commons/events/event.d.ts +68 -6
  22. package/dist/commons/events/field.d.ts +14 -0
  23. package/dist/commons/events/test.utils.d.ts +17 -13
  24. package/dist/commons/events/utils.d.ts +332 -96
  25. package/dist/conditionals/index.js +3 -2
  26. package/dist/events/index.js +293 -108
  27. package/package.json +1 -1
  28. package/tsconfig.json +1 -1
  29. package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
  30. package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
  31. package/dist/commons/conditionals/validate.test.d.ts +0 -2
  32. package/dist/commons/events/utils.test.d.ts +0 -2
@@ -136,16 +136,16 @@ export declare const EventDocument: z.ZodObject<{
136
136
  addressLine3?: string | null | undefined;
137
137
  postcodeOrZip?: string | null | undefined;
138
138
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
139
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
+ firstname: z.ZodString;
140
+ surname: z.ZodString;
141
141
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
142
142
  }, "strip", z.ZodTypeAny, {
143
- firstname?: string | null | undefined;
144
- surname?: string | null | undefined;
143
+ firstname: string;
144
+ surname: string;
145
145
  middlename?: string | null | undefined;
146
146
  }, {
147
- firstname?: string | null | undefined;
148
- surname?: string | null | undefined;
147
+ firstname: string;
148
+ surname: string;
149
149
  middlename?: string | null | undefined;
150
150
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
151
151
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -271,28 +271,18 @@ export declare const EventDocument: z.ZodObject<{
271
271
  addressLine3?: string | null | undefined;
272
272
  postcodeOrZip?: string | null | undefined;
273
273
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
274
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ firstname: z.ZodString;
275
+ surname: z.ZodString;
276
276
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
277
  }, "strip", z.ZodTypeAny, {
278
- firstname?: string | null | undefined;
279
- surname?: string | null | undefined;
278
+ firstname: string;
279
+ surname: string;
280
280
  middlename?: string | null | undefined;
281
281
  }, {
282
- firstname?: string | null | undefined;
283
- surname?: string | null | undefined;
282
+ firstname: string;
283
+ surname: string;
284
284
  middlename?: string | null | undefined;
285
285
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
286
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
287
- templateId: z.ZodOptional<z.ZodString>;
288
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
289
- }, "strip", z.ZodTypeAny, {
290
- templateId?: string | undefined;
291
- isImmediateCorrection?: boolean | undefined;
292
- }, {
293
- templateId?: string | undefined;
294
- isImmediateCorrection?: boolean | undefined;
295
- }>>>;
296
286
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
297
287
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
298
288
  }, {
@@ -322,8 +312,8 @@ export declare const EventDocument: z.ZodObject<{
322
312
  street?: string | null | undefined;
323
313
  zipCode?: string | null | undefined;
324
314
  } | {
325
- firstname?: string | null | undefined;
326
- surname?: string | null | undefined;
315
+ firstname: string;
316
+ surname: string;
327
317
  middlename?: string | null | undefined;
328
318
  } | {
329
319
  country: string;
@@ -369,8 +359,8 @@ export declare const EventDocument: z.ZodObject<{
369
359
  street?: string | null | undefined;
370
360
  zipCode?: string | null | undefined;
371
361
  } | {
372
- firstname?: string | null | undefined;
373
- surname?: string | null | undefined;
362
+ firstname: string;
363
+ surname: string;
374
364
  middlename?: string | null | undefined;
375
365
  } | {
376
366
  country: string;
@@ -398,10 +388,6 @@ export declare const EventDocument: z.ZodObject<{
398
388
  start: string;
399
389
  end: string;
400
390
  } | null | undefined> | null | undefined;
401
- actionDetails?: {
402
- templateId?: string | undefined;
403
- isImmediateCorrection?: boolean | undefined;
404
- } | null | undefined;
405
391
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
406
392
  }, {
407
393
  type: "CREATE";
@@ -428,8 +414,8 @@ export declare const EventDocument: z.ZodObject<{
428
414
  street?: string | null | undefined;
429
415
  zipCode?: string | null | undefined;
430
416
  } | {
431
- firstname?: string | null | undefined;
432
- surname?: string | null | undefined;
417
+ firstname: string;
418
+ surname: string;
433
419
  middlename?: string | null | undefined;
434
420
  } | {
435
421
  country: string;
@@ -475,8 +461,8 @@ export declare const EventDocument: z.ZodObject<{
475
461
  street?: string | null | undefined;
476
462
  zipCode?: string | null | undefined;
477
463
  } | {
478
- firstname?: string | null | undefined;
479
- surname?: string | null | undefined;
464
+ firstname: string;
465
+ surname: string;
480
466
  middlename?: string | null | undefined;
481
467
  } | {
482
468
  country: string;
@@ -504,10 +490,6 @@ export declare const EventDocument: z.ZodObject<{
504
490
  start: string;
505
491
  end: string;
506
492
  } | null | undefined> | null | undefined;
507
- actionDetails?: {
508
- templateId?: string | undefined;
509
- isImmediateCorrection?: boolean | undefined;
510
- } | null | undefined;
511
493
  originalActionId?: string | null | undefined;
512
494
  }>, z.ZodObject<z.objectUtil.extendShape<{
513
495
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -641,16 +623,16 @@ export declare const EventDocument: z.ZodObject<{
641
623
  addressLine3?: string | null | undefined;
642
624
  postcodeOrZip?: string | null | undefined;
643
625
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
644
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
626
+ firstname: z.ZodString;
627
+ surname: z.ZodString;
646
628
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
647
629
  }, "strip", z.ZodTypeAny, {
648
- firstname?: string | null | undefined;
649
- surname?: string | null | undefined;
630
+ firstname: string;
631
+ surname: string;
650
632
  middlename?: string | null | undefined;
651
633
  }, {
652
- firstname?: string | null | undefined;
653
- surname?: string | null | undefined;
634
+ firstname: string;
635
+ surname: string;
654
636
  middlename?: string | null | undefined;
655
637
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
656
638
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -776,28 +758,18 @@ export declare const EventDocument: z.ZodObject<{
776
758
  addressLine3?: string | null | undefined;
777
759
  postcodeOrZip?: string | null | undefined;
778
760
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
779
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
780
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
761
+ firstname: z.ZodString;
762
+ surname: z.ZodString;
781
763
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
782
764
  }, "strip", z.ZodTypeAny, {
783
- firstname?: string | null | undefined;
784
- surname?: string | null | undefined;
765
+ firstname: string;
766
+ surname: string;
785
767
  middlename?: string | null | undefined;
786
768
  }, {
787
- firstname?: string | null | undefined;
788
- surname?: string | null | undefined;
769
+ firstname: string;
770
+ surname: string;
789
771
  middlename?: string | null | undefined;
790
772
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
791
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
792
- templateId: z.ZodOptional<z.ZodString>;
793
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
794
- }, "strip", z.ZodTypeAny, {
795
- templateId?: string | undefined;
796
- isImmediateCorrection?: boolean | undefined;
797
- }, {
798
- templateId?: string | undefined;
799
- isImmediateCorrection?: boolean | undefined;
800
- }>>>;
801
773
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
802
774
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
803
775
  }, {
@@ -827,8 +799,8 @@ export declare const EventDocument: z.ZodObject<{
827
799
  street?: string | null | undefined;
828
800
  zipCode?: string | null | undefined;
829
801
  } | {
830
- firstname?: string | null | undefined;
831
- surname?: string | null | undefined;
802
+ firstname: string;
803
+ surname: string;
832
804
  middlename?: string | null | undefined;
833
805
  } | {
834
806
  country: string;
@@ -874,8 +846,8 @@ export declare const EventDocument: z.ZodObject<{
874
846
  street?: string | null | undefined;
875
847
  zipCode?: string | null | undefined;
876
848
  } | {
877
- firstname?: string | null | undefined;
878
- surname?: string | null | undefined;
849
+ firstname: string;
850
+ surname: string;
879
851
  middlename?: string | null | undefined;
880
852
  } | {
881
853
  country: string;
@@ -903,10 +875,6 @@ export declare const EventDocument: z.ZodObject<{
903
875
  start: string;
904
876
  end: string;
905
877
  } | null | undefined> | null | undefined;
906
- actionDetails?: {
907
- templateId?: string | undefined;
908
- isImmediateCorrection?: boolean | undefined;
909
- } | null | undefined;
910
878
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
911
879
  }, {
912
880
  type: "VALIDATE";
@@ -933,8 +901,8 @@ export declare const EventDocument: z.ZodObject<{
933
901
  street?: string | null | undefined;
934
902
  zipCode?: string | null | undefined;
935
903
  } | {
936
- firstname?: string | null | undefined;
937
- surname?: string | null | undefined;
904
+ firstname: string;
905
+ surname: string;
938
906
  middlename?: string | null | undefined;
939
907
  } | {
940
908
  country: string;
@@ -980,8 +948,8 @@ export declare const EventDocument: z.ZodObject<{
980
948
  street?: string | null | undefined;
981
949
  zipCode?: string | null | undefined;
982
950
  } | {
983
- firstname?: string | null | undefined;
984
- surname?: string | null | undefined;
951
+ firstname: string;
952
+ surname: string;
985
953
  middlename?: string | null | undefined;
986
954
  } | {
987
955
  country: string;
@@ -1009,10 +977,6 @@ export declare const EventDocument: z.ZodObject<{
1009
977
  start: string;
1010
978
  end: string;
1011
979
  } | null | undefined> | null | undefined;
1012
- actionDetails?: {
1013
- templateId?: string | undefined;
1014
- isImmediateCorrection?: boolean | undefined;
1015
- } | null | undefined;
1016
980
  originalActionId?: string | null | undefined;
1017
981
  }>, z.ZodObject<z.objectUtil.extendShape<{
1018
982
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -1146,16 +1110,16 @@ export declare const EventDocument: z.ZodObject<{
1146
1110
  addressLine3?: string | null | undefined;
1147
1111
  postcodeOrZip?: string | null | undefined;
1148
1112
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1149
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1150
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1113
+ firstname: z.ZodString;
1114
+ surname: z.ZodString;
1151
1115
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1152
1116
  }, "strip", z.ZodTypeAny, {
1153
- firstname?: string | null | undefined;
1154
- surname?: string | null | undefined;
1117
+ firstname: string;
1118
+ surname: string;
1155
1119
  middlename?: string | null | undefined;
1156
1120
  }, {
1157
- firstname?: string | null | undefined;
1158
- surname?: string | null | undefined;
1121
+ firstname: string;
1122
+ surname: string;
1159
1123
  middlename?: string | null | undefined;
1160
1124
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1161
1125
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -1281,28 +1245,18 @@ export declare const EventDocument: z.ZodObject<{
1281
1245
  addressLine3?: string | null | undefined;
1282
1246
  postcodeOrZip?: string | null | undefined;
1283
1247
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1284
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1285
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1248
+ firstname: z.ZodString;
1249
+ surname: z.ZodString;
1286
1250
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1287
1251
  }, "strip", z.ZodTypeAny, {
1288
- firstname?: string | null | undefined;
1289
- surname?: string | null | undefined;
1252
+ firstname: string;
1253
+ surname: string;
1290
1254
  middlename?: string | null | undefined;
1291
1255
  }, {
1292
- firstname?: string | null | undefined;
1293
- surname?: string | null | undefined;
1256
+ firstname: string;
1257
+ surname: string;
1294
1258
  middlename?: string | null | undefined;
1295
1259
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1296
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1297
- templateId: z.ZodOptional<z.ZodString>;
1298
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
1299
- }, "strip", z.ZodTypeAny, {
1300
- templateId?: string | undefined;
1301
- isImmediateCorrection?: boolean | undefined;
1302
- }, {
1303
- templateId?: string | undefined;
1304
- isImmediateCorrection?: boolean | undefined;
1305
- }>>>;
1306
1260
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1307
1261
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1308
1262
  }, {
@@ -1346,8 +1300,8 @@ export declare const EventDocument: z.ZodObject<{
1346
1300
  street?: string | null | undefined;
1347
1301
  zipCode?: string | null | undefined;
1348
1302
  } | {
1349
- firstname?: string | null | undefined;
1350
- surname?: string | null | undefined;
1303
+ firstname: string;
1304
+ surname: string;
1351
1305
  middlename?: string | null | undefined;
1352
1306
  } | {
1353
1307
  country: string;
@@ -1393,8 +1347,8 @@ export declare const EventDocument: z.ZodObject<{
1393
1347
  street?: string | null | undefined;
1394
1348
  zipCode?: string | null | undefined;
1395
1349
  } | {
1396
- firstname?: string | null | undefined;
1397
- surname?: string | null | undefined;
1350
+ firstname: string;
1351
+ surname: string;
1398
1352
  middlename?: string | null | undefined;
1399
1353
  } | {
1400
1354
  country: string;
@@ -1422,10 +1376,6 @@ export declare const EventDocument: z.ZodObject<{
1422
1376
  start: string;
1423
1377
  end: string;
1424
1378
  } | null | undefined> | null | undefined;
1425
- actionDetails?: {
1426
- templateId?: string | undefined;
1427
- isImmediateCorrection?: boolean | undefined;
1428
- } | null | undefined;
1429
1379
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1430
1380
  }, {
1431
1381
  type: "REJECT";
@@ -1456,8 +1406,8 @@ export declare const EventDocument: z.ZodObject<{
1456
1406
  street?: string | null | undefined;
1457
1407
  zipCode?: string | null | undefined;
1458
1408
  } | {
1459
- firstname?: string | null | undefined;
1460
- surname?: string | null | undefined;
1409
+ firstname: string;
1410
+ surname: string;
1461
1411
  middlename?: string | null | undefined;
1462
1412
  } | {
1463
1413
  country: string;
@@ -1503,8 +1453,8 @@ export declare const EventDocument: z.ZodObject<{
1503
1453
  street?: string | null | undefined;
1504
1454
  zipCode?: string | null | undefined;
1505
1455
  } | {
1506
- firstname?: string | null | undefined;
1507
- surname?: string | null | undefined;
1456
+ firstname: string;
1457
+ surname: string;
1508
1458
  middlename?: string | null | undefined;
1509
1459
  } | {
1510
1460
  country: string;
@@ -1532,10 +1482,6 @@ export declare const EventDocument: z.ZodObject<{
1532
1482
  start: string;
1533
1483
  end: string;
1534
1484
  } | null | undefined> | null | undefined;
1535
- actionDetails?: {
1536
- templateId?: string | undefined;
1537
- isImmediateCorrection?: boolean | undefined;
1538
- } | null | undefined;
1539
1485
  originalActionId?: string | null | undefined;
1540
1486
  }>, z.ZodObject<z.objectUtil.extendShape<{
1541
1487
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -1669,16 +1615,16 @@ export declare const EventDocument: z.ZodObject<{
1669
1615
  addressLine3?: string | null | undefined;
1670
1616
  postcodeOrZip?: string | null | undefined;
1671
1617
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1672
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1618
+ firstname: z.ZodString;
1619
+ surname: z.ZodString;
1674
1620
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1675
1621
  }, "strip", z.ZodTypeAny, {
1676
- firstname?: string | null | undefined;
1677
- surname?: string | null | undefined;
1622
+ firstname: string;
1623
+ surname: string;
1678
1624
  middlename?: string | null | undefined;
1679
1625
  }, {
1680
- firstname?: string | null | undefined;
1681
- surname?: string | null | undefined;
1626
+ firstname: string;
1627
+ surname: string;
1682
1628
  middlename?: string | null | undefined;
1683
1629
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1684
1630
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -1804,28 +1750,18 @@ export declare const EventDocument: z.ZodObject<{
1804
1750
  addressLine3?: string | null | undefined;
1805
1751
  postcodeOrZip?: string | null | undefined;
1806
1752
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1807
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1808
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1753
+ firstname: z.ZodString;
1754
+ surname: z.ZodString;
1809
1755
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1810
1756
  }, "strip", z.ZodTypeAny, {
1811
- firstname?: string | null | undefined;
1812
- surname?: string | null | undefined;
1757
+ firstname: string;
1758
+ surname: string;
1813
1759
  middlename?: string | null | undefined;
1814
1760
  }, {
1815
- firstname?: string | null | undefined;
1816
- surname?: string | null | undefined;
1761
+ firstname: string;
1762
+ surname: string;
1817
1763
  middlename?: string | null | undefined;
1818
1764
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1819
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1820
- templateId: z.ZodOptional<z.ZodString>;
1821
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
1822
- }, "strip", z.ZodTypeAny, {
1823
- templateId?: string | undefined;
1824
- isImmediateCorrection?: boolean | undefined;
1825
- }, {
1826
- templateId?: string | undefined;
1827
- isImmediateCorrection?: boolean | undefined;
1828
- }>>>;
1829
1765
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1830
1766
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1831
1767
  }, {
@@ -1855,8 +1791,8 @@ export declare const EventDocument: z.ZodObject<{
1855
1791
  street?: string | null | undefined;
1856
1792
  zipCode?: string | null | undefined;
1857
1793
  } | {
1858
- firstname?: string | null | undefined;
1859
- surname?: string | null | undefined;
1794
+ firstname: string;
1795
+ surname: string;
1860
1796
  middlename?: string | null | undefined;
1861
1797
  } | {
1862
1798
  country: string;
@@ -1902,8 +1838,8 @@ export declare const EventDocument: z.ZodObject<{
1902
1838
  street?: string | null | undefined;
1903
1839
  zipCode?: string | null | undefined;
1904
1840
  } | {
1905
- firstname?: string | null | undefined;
1906
- surname?: string | null | undefined;
1841
+ firstname: string;
1842
+ surname: string;
1907
1843
  middlename?: string | null | undefined;
1908
1844
  } | {
1909
1845
  country: string;
@@ -1931,10 +1867,6 @@ export declare const EventDocument: z.ZodObject<{
1931
1867
  start: string;
1932
1868
  end: string;
1933
1869
  } | null | undefined> | null | undefined;
1934
- actionDetails?: {
1935
- templateId?: string | undefined;
1936
- isImmediateCorrection?: boolean | undefined;
1937
- } | null | undefined;
1938
1870
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1939
1871
  }, {
1940
1872
  type: "MARKED_AS_DUPLICATE";
@@ -1961,8 +1893,8 @@ export declare const EventDocument: z.ZodObject<{
1961
1893
  street?: string | null | undefined;
1962
1894
  zipCode?: string | null | undefined;
1963
1895
  } | {
1964
- firstname?: string | null | undefined;
1965
- surname?: string | null | undefined;
1896
+ firstname: string;
1897
+ surname: string;
1966
1898
  middlename?: string | null | undefined;
1967
1899
  } | {
1968
1900
  country: string;
@@ -2008,8 +1940,8 @@ export declare const EventDocument: z.ZodObject<{
2008
1940
  street?: string | null | undefined;
2009
1941
  zipCode?: string | null | undefined;
2010
1942
  } | {
2011
- firstname?: string | null | undefined;
2012
- surname?: string | null | undefined;
1943
+ firstname: string;
1944
+ surname: string;
2013
1945
  middlename?: string | null | undefined;
2014
1946
  } | {
2015
1947
  country: string;
@@ -2037,10 +1969,6 @@ export declare const EventDocument: z.ZodObject<{
2037
1969
  start: string;
2038
1970
  end: string;
2039
1971
  } | null | undefined> | null | undefined;
2040
- actionDetails?: {
2041
- templateId?: string | undefined;
2042
- isImmediateCorrection?: boolean | undefined;
2043
- } | null | undefined;
2044
1972
  originalActionId?: string | null | undefined;
2045
1973
  }>, z.ZodObject<z.objectUtil.extendShape<{
2046
1974
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -2174,16 +2102,16 @@ export declare const EventDocument: z.ZodObject<{
2174
2102
  addressLine3?: string | null | undefined;
2175
2103
  postcodeOrZip?: string | null | undefined;
2176
2104
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2177
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2178
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
+ firstname: z.ZodString;
2106
+ surname: z.ZodString;
2179
2107
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2180
2108
  }, "strip", z.ZodTypeAny, {
2181
- firstname?: string | null | undefined;
2182
- surname?: string | null | undefined;
2109
+ firstname: string;
2110
+ surname: string;
2183
2111
  middlename?: string | null | undefined;
2184
2112
  }, {
2185
- firstname?: string | null | undefined;
2186
- surname?: string | null | undefined;
2113
+ firstname: string;
2114
+ surname: string;
2187
2115
  middlename?: string | null | undefined;
2188
2116
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2189
2117
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -2309,28 +2237,18 @@ export declare const EventDocument: z.ZodObject<{
2309
2237
  addressLine3?: string | null | undefined;
2310
2238
  postcodeOrZip?: string | null | undefined;
2311
2239
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2312
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2313
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2240
+ firstname: z.ZodString;
2241
+ surname: z.ZodString;
2314
2242
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2315
2243
  }, "strip", z.ZodTypeAny, {
2316
- firstname?: string | null | undefined;
2317
- surname?: string | null | undefined;
2244
+ firstname: string;
2245
+ surname: string;
2318
2246
  middlename?: string | null | undefined;
2319
2247
  }, {
2320
- firstname?: string | null | undefined;
2321
- surname?: string | null | undefined;
2248
+ firstname: string;
2249
+ surname: string;
2322
2250
  middlename?: string | null | undefined;
2323
2251
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2324
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2325
- templateId: z.ZodOptional<z.ZodString>;
2326
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2327
- }, "strip", z.ZodTypeAny, {
2328
- templateId?: string | undefined;
2329
- isImmediateCorrection?: boolean | undefined;
2330
- }, {
2331
- templateId?: string | undefined;
2332
- isImmediateCorrection?: boolean | undefined;
2333
- }>>>;
2334
2252
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2335
2253
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2336
2254
  }, {
@@ -2374,8 +2292,8 @@ export declare const EventDocument: z.ZodObject<{
2374
2292
  street?: string | null | undefined;
2375
2293
  zipCode?: string | null | undefined;
2376
2294
  } | {
2377
- firstname?: string | null | undefined;
2378
- surname?: string | null | undefined;
2295
+ firstname: string;
2296
+ surname: string;
2379
2297
  middlename?: string | null | undefined;
2380
2298
  } | {
2381
2299
  country: string;
@@ -2421,8 +2339,8 @@ export declare const EventDocument: z.ZodObject<{
2421
2339
  street?: string | null | undefined;
2422
2340
  zipCode?: string | null | undefined;
2423
2341
  } | {
2424
- firstname?: string | null | undefined;
2425
- surname?: string | null | undefined;
2342
+ firstname: string;
2343
+ surname: string;
2426
2344
  middlename?: string | null | undefined;
2427
2345
  } | {
2428
2346
  country: string;
@@ -2450,10 +2368,6 @@ export declare const EventDocument: z.ZodObject<{
2450
2368
  start: string;
2451
2369
  end: string;
2452
2370
  } | null | undefined> | null | undefined;
2453
- actionDetails?: {
2454
- templateId?: string | undefined;
2455
- isImmediateCorrection?: boolean | undefined;
2456
- } | null | undefined;
2457
2371
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2458
2372
  }, {
2459
2373
  type: "ARCHIVE";
@@ -2484,8 +2398,8 @@ export declare const EventDocument: z.ZodObject<{
2484
2398
  street?: string | null | undefined;
2485
2399
  zipCode?: string | null | undefined;
2486
2400
  } | {
2487
- firstname?: string | null | undefined;
2488
- surname?: string | null | undefined;
2401
+ firstname: string;
2402
+ surname: string;
2489
2403
  middlename?: string | null | undefined;
2490
2404
  } | {
2491
2405
  country: string;
@@ -2531,8 +2445,8 @@ export declare const EventDocument: z.ZodObject<{
2531
2445
  street?: string | null | undefined;
2532
2446
  zipCode?: string | null | undefined;
2533
2447
  } | {
2534
- firstname?: string | null | undefined;
2535
- surname?: string | null | undefined;
2448
+ firstname: string;
2449
+ surname: string;
2536
2450
  middlename?: string | null | undefined;
2537
2451
  } | {
2538
2452
  country: string;
@@ -2560,10 +2474,6 @@ export declare const EventDocument: z.ZodObject<{
2560
2474
  start: string;
2561
2475
  end: string;
2562
2476
  } | null | undefined> | null | undefined;
2563
- actionDetails?: {
2564
- templateId?: string | undefined;
2565
- isImmediateCorrection?: boolean | undefined;
2566
- } | null | undefined;
2567
2477
  originalActionId?: string | null | undefined;
2568
2478
  }>, z.ZodObject<z.objectUtil.extendShape<{
2569
2479
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -2697,16 +2607,16 @@ export declare const EventDocument: z.ZodObject<{
2697
2607
  addressLine3?: string | null | undefined;
2698
2608
  postcodeOrZip?: string | null | undefined;
2699
2609
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2700
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2610
+ firstname: z.ZodString;
2611
+ surname: z.ZodString;
2702
2612
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
2613
  }, "strip", z.ZodTypeAny, {
2704
- firstname?: string | null | undefined;
2705
- surname?: string | null | undefined;
2614
+ firstname: string;
2615
+ surname: string;
2706
2616
  middlename?: string | null | undefined;
2707
2617
  }, {
2708
- firstname?: string | null | undefined;
2709
- surname?: string | null | undefined;
2618
+ firstname: string;
2619
+ surname: string;
2710
2620
  middlename?: string | null | undefined;
2711
2621
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2712
2622
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -2832,28 +2742,18 @@ export declare const EventDocument: z.ZodObject<{
2832
2742
  addressLine3?: string | null | undefined;
2833
2743
  postcodeOrZip?: string | null | undefined;
2834
2744
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2835
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2836
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2745
+ firstname: z.ZodString;
2746
+ surname: z.ZodString;
2837
2747
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2838
2748
  }, "strip", z.ZodTypeAny, {
2839
- firstname?: string | null | undefined;
2840
- surname?: string | null | undefined;
2749
+ firstname: string;
2750
+ surname: string;
2841
2751
  middlename?: string | null | undefined;
2842
2752
  }, {
2843
- firstname?: string | null | undefined;
2844
- surname?: string | null | undefined;
2753
+ firstname: string;
2754
+ surname: string;
2845
2755
  middlename?: string | null | undefined;
2846
2756
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2847
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2848
- templateId: z.ZodOptional<z.ZodString>;
2849
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2850
- }, "strip", z.ZodTypeAny, {
2851
- templateId?: string | undefined;
2852
- isImmediateCorrection?: boolean | undefined;
2853
- }, {
2854
- templateId?: string | undefined;
2855
- isImmediateCorrection?: boolean | undefined;
2856
- }>>>;
2857
2757
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2858
2758
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2859
2759
  }, {
@@ -2883,8 +2783,8 @@ export declare const EventDocument: z.ZodObject<{
2883
2783
  street?: string | null | undefined;
2884
2784
  zipCode?: string | null | undefined;
2885
2785
  } | {
2886
- firstname?: string | null | undefined;
2887
- surname?: string | null | undefined;
2786
+ firstname: string;
2787
+ surname: string;
2888
2788
  middlename?: string | null | undefined;
2889
2789
  } | {
2890
2790
  country: string;
@@ -2930,8 +2830,8 @@ export declare const EventDocument: z.ZodObject<{
2930
2830
  street?: string | null | undefined;
2931
2831
  zipCode?: string | null | undefined;
2932
2832
  } | {
2933
- firstname?: string | null | undefined;
2934
- surname?: string | null | undefined;
2833
+ firstname: string;
2834
+ surname: string;
2935
2835
  middlename?: string | null | undefined;
2936
2836
  } | {
2937
2837
  country: string;
@@ -2959,10 +2859,6 @@ export declare const EventDocument: z.ZodObject<{
2959
2859
  start: string;
2960
2860
  end: string;
2961
2861
  } | null | undefined> | null | undefined;
2962
- actionDetails?: {
2963
- templateId?: string | undefined;
2964
- isImmediateCorrection?: boolean | undefined;
2965
- } | null | undefined;
2966
2862
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2967
2863
  }, {
2968
2864
  type: "NOTIFY";
@@ -2989,8 +2885,8 @@ export declare const EventDocument: z.ZodObject<{
2989
2885
  street?: string | null | undefined;
2990
2886
  zipCode?: string | null | undefined;
2991
2887
  } | {
2992
- firstname?: string | null | undefined;
2993
- surname?: string | null | undefined;
2888
+ firstname: string;
2889
+ surname: string;
2994
2890
  middlename?: string | null | undefined;
2995
2891
  } | {
2996
2892
  country: string;
@@ -3036,8 +2932,8 @@ export declare const EventDocument: z.ZodObject<{
3036
2932
  street?: string | null | undefined;
3037
2933
  zipCode?: string | null | undefined;
3038
2934
  } | {
3039
- firstname?: string | null | undefined;
3040
- surname?: string | null | undefined;
2935
+ firstname: string;
2936
+ surname: string;
3041
2937
  middlename?: string | null | undefined;
3042
2938
  } | {
3043
2939
  country: string;
@@ -3065,10 +2961,6 @@ export declare const EventDocument: z.ZodObject<{
3065
2961
  start: string;
3066
2962
  end: string;
3067
2963
  } | null | undefined> | null | undefined;
3068
- actionDetails?: {
3069
- templateId?: string | undefined;
3070
- isImmediateCorrection?: boolean | undefined;
3071
- } | null | undefined;
3072
2964
  originalActionId?: string | null | undefined;
3073
2965
  }>, z.ZodObject<z.objectUtil.extendShape<{
3074
2966
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -3202,16 +3094,16 @@ export declare const EventDocument: z.ZodObject<{
3202
3094
  addressLine3?: string | null | undefined;
3203
3095
  postcodeOrZip?: string | null | undefined;
3204
3096
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3205
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3206
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3097
+ firstname: z.ZodString;
3098
+ surname: z.ZodString;
3207
3099
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3208
3100
  }, "strip", z.ZodTypeAny, {
3209
- firstname?: string | null | undefined;
3210
- surname?: string | null | undefined;
3101
+ firstname: string;
3102
+ surname: string;
3211
3103
  middlename?: string | null | undefined;
3212
3104
  }, {
3213
- firstname?: string | null | undefined;
3214
- surname?: string | null | undefined;
3105
+ firstname: string;
3106
+ surname: string;
3215
3107
  middlename?: string | null | undefined;
3216
3108
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3217
3109
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -3337,28 +3229,18 @@ export declare const EventDocument: z.ZodObject<{
3337
3229
  addressLine3?: string | null | undefined;
3338
3230
  postcodeOrZip?: string | null | undefined;
3339
3231
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3340
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3341
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3232
+ firstname: z.ZodString;
3233
+ surname: z.ZodString;
3342
3234
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3343
3235
  }, "strip", z.ZodTypeAny, {
3344
- firstname?: string | null | undefined;
3345
- surname?: string | null | undefined;
3236
+ firstname: string;
3237
+ surname: string;
3346
3238
  middlename?: string | null | undefined;
3347
3239
  }, {
3348
- firstname?: string | null | undefined;
3349
- surname?: string | null | undefined;
3240
+ firstname: string;
3241
+ surname: string;
3350
3242
  middlename?: string | null | undefined;
3351
3243
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3352
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3353
- templateId: z.ZodOptional<z.ZodString>;
3354
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
3355
- }, "strip", z.ZodTypeAny, {
3356
- templateId?: string | undefined;
3357
- isImmediateCorrection?: boolean | undefined;
3358
- }, {
3359
- templateId?: string | undefined;
3360
- isImmediateCorrection?: boolean | undefined;
3361
- }>>>;
3362
3244
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3363
3245
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3364
3246
  }, {
@@ -3389,8 +3271,8 @@ export declare const EventDocument: z.ZodObject<{
3389
3271
  street?: string | null | undefined;
3390
3272
  zipCode?: string | null | undefined;
3391
3273
  } | {
3392
- firstname?: string | null | undefined;
3393
- surname?: string | null | undefined;
3274
+ firstname: string;
3275
+ surname: string;
3394
3276
  middlename?: string | null | undefined;
3395
3277
  } | {
3396
3278
  country: string;
@@ -3436,8 +3318,8 @@ export declare const EventDocument: z.ZodObject<{
3436
3318
  street?: string | null | undefined;
3437
3319
  zipCode?: string | null | undefined;
3438
3320
  } | {
3439
- firstname?: string | null | undefined;
3440
- surname?: string | null | undefined;
3321
+ firstname: string;
3322
+ surname: string;
3441
3323
  middlename?: string | null | undefined;
3442
3324
  } | {
3443
3325
  country: string;
@@ -3465,10 +3347,6 @@ export declare const EventDocument: z.ZodObject<{
3465
3347
  start: string;
3466
3348
  end: string;
3467
3349
  } | null | undefined> | null | undefined;
3468
- actionDetails?: {
3469
- templateId?: string | undefined;
3470
- isImmediateCorrection?: boolean | undefined;
3471
- } | null | undefined;
3472
3350
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3473
3351
  registrationNumber?: string | undefined;
3474
3352
  }, {
@@ -3496,8 +3374,8 @@ export declare const EventDocument: z.ZodObject<{
3496
3374
  street?: string | null | undefined;
3497
3375
  zipCode?: string | null | undefined;
3498
3376
  } | {
3499
- firstname?: string | null | undefined;
3500
- surname?: string | null | undefined;
3377
+ firstname: string;
3378
+ surname: string;
3501
3379
  middlename?: string | null | undefined;
3502
3380
  } | {
3503
3381
  country: string;
@@ -3543,8 +3421,8 @@ export declare const EventDocument: z.ZodObject<{
3543
3421
  street?: string | null | undefined;
3544
3422
  zipCode?: string | null | undefined;
3545
3423
  } | {
3546
- firstname?: string | null | undefined;
3547
- surname?: string | null | undefined;
3424
+ firstname: string;
3425
+ surname: string;
3548
3426
  middlename?: string | null | undefined;
3549
3427
  } | {
3550
3428
  country: string;
@@ -3572,10 +3450,6 @@ export declare const EventDocument: z.ZodObject<{
3572
3450
  start: string;
3573
3451
  end: string;
3574
3452
  } | null | undefined> | null | undefined;
3575
- actionDetails?: {
3576
- templateId?: string | undefined;
3577
- isImmediateCorrection?: boolean | undefined;
3578
- } | null | undefined;
3579
3453
  originalActionId?: string | null | undefined;
3580
3454
  registrationNumber?: string | undefined;
3581
3455
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -3710,16 +3584,16 @@ export declare const EventDocument: z.ZodObject<{
3710
3584
  addressLine3?: string | null | undefined;
3711
3585
  postcodeOrZip?: string | null | undefined;
3712
3586
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3713
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3714
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3587
+ firstname: z.ZodString;
3588
+ surname: z.ZodString;
3715
3589
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3716
3590
  }, "strip", z.ZodTypeAny, {
3717
- firstname?: string | null | undefined;
3718
- surname?: string | null | undefined;
3591
+ firstname: string;
3592
+ surname: string;
3719
3593
  middlename?: string | null | undefined;
3720
3594
  }, {
3721
- firstname?: string | null | undefined;
3722
- surname?: string | null | undefined;
3595
+ firstname: string;
3596
+ surname: string;
3723
3597
  middlename?: string | null | undefined;
3724
3598
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3725
3599
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -3845,28 +3719,18 @@ export declare const EventDocument: z.ZodObject<{
3845
3719
  addressLine3?: string | null | undefined;
3846
3720
  postcodeOrZip?: string | null | undefined;
3847
3721
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3848
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3849
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3722
+ firstname: z.ZodString;
3723
+ surname: z.ZodString;
3850
3724
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3851
3725
  }, "strip", z.ZodTypeAny, {
3852
- firstname?: string | null | undefined;
3853
- surname?: string | null | undefined;
3726
+ firstname: string;
3727
+ surname: string;
3854
3728
  middlename?: string | null | undefined;
3855
3729
  }, {
3856
- firstname?: string | null | undefined;
3857
- surname?: string | null | undefined;
3730
+ firstname: string;
3731
+ surname: string;
3858
3732
  middlename?: string | null | undefined;
3859
3733
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3860
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3861
- templateId: z.ZodOptional<z.ZodString>;
3862
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
3863
- }, "strip", z.ZodTypeAny, {
3864
- templateId?: string | undefined;
3865
- isImmediateCorrection?: boolean | undefined;
3866
- }, {
3867
- templateId?: string | undefined;
3868
- isImmediateCorrection?: boolean | undefined;
3869
- }>>>;
3870
3734
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3871
3735
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3872
3736
  }, {
@@ -3896,8 +3760,8 @@ export declare const EventDocument: z.ZodObject<{
3896
3760
  street?: string | null | undefined;
3897
3761
  zipCode?: string | null | undefined;
3898
3762
  } | {
3899
- firstname?: string | null | undefined;
3900
- surname?: string | null | undefined;
3763
+ firstname: string;
3764
+ surname: string;
3901
3765
  middlename?: string | null | undefined;
3902
3766
  } | {
3903
3767
  country: string;
@@ -3943,8 +3807,8 @@ export declare const EventDocument: z.ZodObject<{
3943
3807
  street?: string | null | undefined;
3944
3808
  zipCode?: string | null | undefined;
3945
3809
  } | {
3946
- firstname?: string | null | undefined;
3947
- surname?: string | null | undefined;
3810
+ firstname: string;
3811
+ surname: string;
3948
3812
  middlename?: string | null | undefined;
3949
3813
  } | {
3950
3814
  country: string;
@@ -3972,10 +3836,6 @@ export declare const EventDocument: z.ZodObject<{
3972
3836
  start: string;
3973
3837
  end: string;
3974
3838
  } | null | undefined> | null | undefined;
3975
- actionDetails?: {
3976
- templateId?: string | undefined;
3977
- isImmediateCorrection?: boolean | undefined;
3978
- } | null | undefined;
3979
3839
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3980
3840
  }, {
3981
3841
  type: "DECLARE";
@@ -4002,8 +3862,8 @@ export declare const EventDocument: z.ZodObject<{
4002
3862
  street?: string | null | undefined;
4003
3863
  zipCode?: string | null | undefined;
4004
3864
  } | {
4005
- firstname?: string | null | undefined;
4006
- surname?: string | null | undefined;
3865
+ firstname: string;
3866
+ surname: string;
4007
3867
  middlename?: string | null | undefined;
4008
3868
  } | {
4009
3869
  country: string;
@@ -4049,8 +3909,8 @@ export declare const EventDocument: z.ZodObject<{
4049
3909
  street?: string | null | undefined;
4050
3910
  zipCode?: string | null | undefined;
4051
3911
  } | {
4052
- firstname?: string | null | undefined;
4053
- surname?: string | null | undefined;
3912
+ firstname: string;
3913
+ surname: string;
4054
3914
  middlename?: string | null | undefined;
4055
3915
  } | {
4056
3916
  country: string;
@@ -4078,10 +3938,6 @@ export declare const EventDocument: z.ZodObject<{
4078
3938
  start: string;
4079
3939
  end: string;
4080
3940
  } | null | undefined> | null | undefined;
4081
- actionDetails?: {
4082
- templateId?: string | undefined;
4083
- isImmediateCorrection?: boolean | undefined;
4084
- } | null | undefined;
4085
3941
  originalActionId?: string | null | undefined;
4086
3942
  }>, z.ZodObject<z.objectUtil.extendShape<{
4087
3943
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -4215,16 +4071,16 @@ export declare const EventDocument: z.ZodObject<{
4215
4071
  addressLine3?: string | null | undefined;
4216
4072
  postcodeOrZip?: string | null | undefined;
4217
4073
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4218
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4219
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4074
+ firstname: z.ZodString;
4075
+ surname: z.ZodString;
4220
4076
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4221
4077
  }, "strip", z.ZodTypeAny, {
4222
- firstname?: string | null | undefined;
4223
- surname?: string | null | undefined;
4078
+ firstname: string;
4079
+ surname: string;
4224
4080
  middlename?: string | null | undefined;
4225
4081
  }, {
4226
- firstname?: string | null | undefined;
4227
- surname?: string | null | undefined;
4082
+ firstname: string;
4083
+ surname: string;
4228
4084
  middlename?: string | null | undefined;
4229
4085
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4230
4086
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -4350,28 +4206,18 @@ export declare const EventDocument: z.ZodObject<{
4350
4206
  addressLine3?: string | null | undefined;
4351
4207
  postcodeOrZip?: string | null | undefined;
4352
4208
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4353
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4354
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4209
+ firstname: z.ZodString;
4210
+ surname: z.ZodString;
4355
4211
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4356
4212
  }, "strip", z.ZodTypeAny, {
4357
- firstname?: string | null | undefined;
4358
- surname?: string | null | undefined;
4213
+ firstname: string;
4214
+ surname: string;
4359
4215
  middlename?: string | null | undefined;
4360
4216
  }, {
4361
- firstname?: string | null | undefined;
4362
- surname?: string | null | undefined;
4217
+ firstname: string;
4218
+ surname: string;
4363
4219
  middlename?: string | null | undefined;
4364
4220
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4365
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4366
- templateId: z.ZodOptional<z.ZodString>;
4367
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
4368
- }, "strip", z.ZodTypeAny, {
4369
- templateId?: string | undefined;
4370
- isImmediateCorrection?: boolean | undefined;
4371
- }, {
4372
- templateId?: string | undefined;
4373
- isImmediateCorrection?: boolean | undefined;
4374
- }>>>;
4375
4221
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4376
4222
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4377
4223
  }, {
@@ -4402,8 +4248,8 @@ export declare const EventDocument: z.ZodObject<{
4402
4248
  street?: string | null | undefined;
4403
4249
  zipCode?: string | null | undefined;
4404
4250
  } | {
4405
- firstname?: string | null | undefined;
4406
- surname?: string | null | undefined;
4251
+ firstname: string;
4252
+ surname: string;
4407
4253
  middlename?: string | null | undefined;
4408
4254
  } | {
4409
4255
  country: string;
@@ -4450,8 +4296,8 @@ export declare const EventDocument: z.ZodObject<{
4450
4296
  street?: string | null | undefined;
4451
4297
  zipCode?: string | null | undefined;
4452
4298
  } | {
4453
- firstname?: string | null | undefined;
4454
- surname?: string | null | undefined;
4299
+ firstname: string;
4300
+ surname: string;
4455
4301
  middlename?: string | null | undefined;
4456
4302
  } | {
4457
4303
  country: string;
@@ -4479,10 +4325,6 @@ export declare const EventDocument: z.ZodObject<{
4479
4325
  start: string;
4480
4326
  end: string;
4481
4327
  } | null | undefined> | null | undefined;
4482
- actionDetails?: {
4483
- templateId?: string | undefined;
4484
- isImmediateCorrection?: boolean | undefined;
4485
- } | null | undefined;
4486
4328
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4487
4329
  }, {
4488
4330
  type: "ASSIGN";
@@ -4509,8 +4351,8 @@ export declare const EventDocument: z.ZodObject<{
4509
4351
  street?: string | null | undefined;
4510
4352
  zipCode?: string | null | undefined;
4511
4353
  } | {
4512
- firstname?: string | null | undefined;
4513
- surname?: string | null | undefined;
4354
+ firstname: string;
4355
+ surname: string;
4514
4356
  middlename?: string | null | undefined;
4515
4357
  } | {
4516
4358
  country: string;
@@ -4557,8 +4399,8 @@ export declare const EventDocument: z.ZodObject<{
4557
4399
  street?: string | null | undefined;
4558
4400
  zipCode?: string | null | undefined;
4559
4401
  } | {
4560
- firstname?: string | null | undefined;
4561
- surname?: string | null | undefined;
4402
+ firstname: string;
4403
+ surname: string;
4562
4404
  middlename?: string | null | undefined;
4563
4405
  } | {
4564
4406
  country: string;
@@ -4586,10 +4428,6 @@ export declare const EventDocument: z.ZodObject<{
4586
4428
  start: string;
4587
4429
  end: string;
4588
4430
  } | null | undefined> | null | undefined;
4589
- actionDetails?: {
4590
- templateId?: string | undefined;
4591
- isImmediateCorrection?: boolean | undefined;
4592
- } | null | undefined;
4593
4431
  originalActionId?: string | null | undefined;
4594
4432
  }>, z.ZodObject<z.objectUtil.extendShape<{
4595
4433
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -4723,16 +4561,16 @@ export declare const EventDocument: z.ZodObject<{
4723
4561
  addressLine3?: string | null | undefined;
4724
4562
  postcodeOrZip?: string | null | undefined;
4725
4563
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4726
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4727
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4564
+ firstname: z.ZodString;
4565
+ surname: z.ZodString;
4728
4566
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4729
4567
  }, "strip", z.ZodTypeAny, {
4730
- firstname?: string | null | undefined;
4731
- surname?: string | null | undefined;
4568
+ firstname: string;
4569
+ surname: string;
4732
4570
  middlename?: string | null | undefined;
4733
4571
  }, {
4734
- firstname?: string | null | undefined;
4735
- surname?: string | null | undefined;
4572
+ firstname: string;
4573
+ surname: string;
4736
4574
  middlename?: string | null | undefined;
4737
4575
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4738
4576
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -4858,28 +4696,18 @@ export declare const EventDocument: z.ZodObject<{
4858
4696
  addressLine3?: string | null | undefined;
4859
4697
  postcodeOrZip?: string | null | undefined;
4860
4698
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4861
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4862
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4699
+ firstname: z.ZodString;
4700
+ surname: z.ZodString;
4863
4701
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4864
4702
  }, "strip", z.ZodTypeAny, {
4865
- firstname?: string | null | undefined;
4866
- surname?: string | null | undefined;
4703
+ firstname: string;
4704
+ surname: string;
4867
4705
  middlename?: string | null | undefined;
4868
4706
  }, {
4869
- firstname?: string | null | undefined;
4870
- surname?: string | null | undefined;
4707
+ firstname: string;
4708
+ surname: string;
4871
4709
  middlename?: string | null | undefined;
4872
4710
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4873
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4874
- templateId: z.ZodOptional<z.ZodString>;
4875
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
4876
- }, "strip", z.ZodTypeAny, {
4877
- templateId?: string | undefined;
4878
- isImmediateCorrection?: boolean | undefined;
4879
- }, {
4880
- templateId?: string | undefined;
4881
- isImmediateCorrection?: boolean | undefined;
4882
- }>>>;
4883
4711
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4884
4712
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4885
4713
  }, {
@@ -4909,8 +4737,8 @@ export declare const EventDocument: z.ZodObject<{
4909
4737
  street?: string | null | undefined;
4910
4738
  zipCode?: string | null | undefined;
4911
4739
  } | {
4912
- firstname?: string | null | undefined;
4913
- surname?: string | null | undefined;
4740
+ firstname: string;
4741
+ surname: string;
4914
4742
  middlename?: string | null | undefined;
4915
4743
  } | {
4916
4744
  country: string;
@@ -4956,8 +4784,8 @@ export declare const EventDocument: z.ZodObject<{
4956
4784
  street?: string | null | undefined;
4957
4785
  zipCode?: string | null | undefined;
4958
4786
  } | {
4959
- firstname?: string | null | undefined;
4960
- surname?: string | null | undefined;
4787
+ firstname: string;
4788
+ surname: string;
4961
4789
  middlename?: string | null | undefined;
4962
4790
  } | {
4963
4791
  country: string;
@@ -4985,10 +4813,6 @@ export declare const EventDocument: z.ZodObject<{
4985
4813
  start: string;
4986
4814
  end: string;
4987
4815
  } | null | undefined> | null | undefined;
4988
- actionDetails?: {
4989
- templateId?: string | undefined;
4990
- isImmediateCorrection?: boolean | undefined;
4991
- } | null | undefined;
4992
4816
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4993
4817
  }, {
4994
4818
  type: "REQUEST_CORRECTION";
@@ -5015,8 +4839,8 @@ export declare const EventDocument: z.ZodObject<{
5015
4839
  street?: string | null | undefined;
5016
4840
  zipCode?: string | null | undefined;
5017
4841
  } | {
5018
- firstname?: string | null | undefined;
5019
- surname?: string | null | undefined;
4842
+ firstname: string;
4843
+ surname: string;
5020
4844
  middlename?: string | null | undefined;
5021
4845
  } | {
5022
4846
  country: string;
@@ -5062,8 +4886,8 @@ export declare const EventDocument: z.ZodObject<{
5062
4886
  street?: string | null | undefined;
5063
4887
  zipCode?: string | null | undefined;
5064
4888
  } | {
5065
- firstname?: string | null | undefined;
5066
- surname?: string | null | undefined;
4889
+ firstname: string;
4890
+ surname: string;
5067
4891
  middlename?: string | null | undefined;
5068
4892
  } | {
5069
4893
  country: string;
@@ -5091,10 +4915,6 @@ export declare const EventDocument: z.ZodObject<{
5091
4915
  start: string;
5092
4916
  end: string;
5093
4917
  } | null | undefined> | null | undefined;
5094
- actionDetails?: {
5095
- templateId?: string | undefined;
5096
- isImmediateCorrection?: boolean | undefined;
5097
- } | null | undefined;
5098
4918
  originalActionId?: string | null | undefined;
5099
4919
  }>, z.ZodObject<z.objectUtil.extendShape<{
5100
4920
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -5228,16 +5048,16 @@ export declare const EventDocument: z.ZodObject<{
5228
5048
  addressLine3?: string | null | undefined;
5229
5049
  postcodeOrZip?: string | null | undefined;
5230
5050
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5231
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5232
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5051
+ firstname: z.ZodString;
5052
+ surname: z.ZodString;
5233
5053
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5234
5054
  }, "strip", z.ZodTypeAny, {
5235
- firstname?: string | null | undefined;
5236
- surname?: string | null | undefined;
5055
+ firstname: string;
5056
+ surname: string;
5237
5057
  middlename?: string | null | undefined;
5238
5058
  }, {
5239
- firstname?: string | null | undefined;
5240
- surname?: string | null | undefined;
5059
+ firstname: string;
5060
+ surname: string;
5241
5061
  middlename?: string | null | undefined;
5242
5062
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5243
5063
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -5363,28 +5183,18 @@ export declare const EventDocument: z.ZodObject<{
5363
5183
  addressLine3?: string | null | undefined;
5364
5184
  postcodeOrZip?: string | null | undefined;
5365
5185
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5366
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5367
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5186
+ firstname: z.ZodString;
5187
+ surname: z.ZodString;
5368
5188
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5369
5189
  }, "strip", z.ZodTypeAny, {
5370
- firstname?: string | null | undefined;
5371
- surname?: string | null | undefined;
5190
+ firstname: string;
5191
+ surname: string;
5372
5192
  middlename?: string | null | undefined;
5373
5193
  }, {
5374
- firstname?: string | null | undefined;
5375
- surname?: string | null | undefined;
5194
+ firstname: string;
5195
+ surname: string;
5376
5196
  middlename?: string | null | undefined;
5377
5197
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5378
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5379
- templateId: z.ZodOptional<z.ZodString>;
5380
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
5381
- }, "strip", z.ZodTypeAny, {
5382
- templateId?: string | undefined;
5383
- isImmediateCorrection?: boolean | undefined;
5384
- }, {
5385
- templateId?: string | undefined;
5386
- isImmediateCorrection?: boolean | undefined;
5387
- }>>>;
5388
5198
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5389
5199
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5390
5200
  }, {
@@ -5415,8 +5225,8 @@ export declare const EventDocument: z.ZodObject<{
5415
5225
  street?: string | null | undefined;
5416
5226
  zipCode?: string | null | undefined;
5417
5227
  } | {
5418
- firstname?: string | null | undefined;
5419
- surname?: string | null | undefined;
5228
+ firstname: string;
5229
+ surname: string;
5420
5230
  middlename?: string | null | undefined;
5421
5231
  } | {
5422
5232
  country: string;
@@ -5463,8 +5273,8 @@ export declare const EventDocument: z.ZodObject<{
5463
5273
  street?: string | null | undefined;
5464
5274
  zipCode?: string | null | undefined;
5465
5275
  } | {
5466
- firstname?: string | null | undefined;
5467
- surname?: string | null | undefined;
5276
+ firstname: string;
5277
+ surname: string;
5468
5278
  middlename?: string | null | undefined;
5469
5279
  } | {
5470
5280
  country: string;
@@ -5492,10 +5302,6 @@ export declare const EventDocument: z.ZodObject<{
5492
5302
  start: string;
5493
5303
  end: string;
5494
5304
  } | null | undefined> | null | undefined;
5495
- actionDetails?: {
5496
- templateId?: string | undefined;
5497
- isImmediateCorrection?: boolean | undefined;
5498
- } | null | undefined;
5499
5305
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5500
5306
  }, {
5501
5307
  type: "APPROVE_CORRECTION";
@@ -5522,8 +5328,8 @@ export declare const EventDocument: z.ZodObject<{
5522
5328
  street?: string | null | undefined;
5523
5329
  zipCode?: string | null | undefined;
5524
5330
  } | {
5525
- firstname?: string | null | undefined;
5526
- surname?: string | null | undefined;
5331
+ firstname: string;
5332
+ surname: string;
5527
5333
  middlename?: string | null | undefined;
5528
5334
  } | {
5529
5335
  country: string;
@@ -5570,8 +5376,8 @@ export declare const EventDocument: z.ZodObject<{
5570
5376
  street?: string | null | undefined;
5571
5377
  zipCode?: string | null | undefined;
5572
5378
  } | {
5573
- firstname?: string | null | undefined;
5574
- surname?: string | null | undefined;
5379
+ firstname: string;
5380
+ surname: string;
5575
5381
  middlename?: string | null | undefined;
5576
5382
  } | {
5577
5383
  country: string;
@@ -5599,10 +5405,6 @@ export declare const EventDocument: z.ZodObject<{
5599
5405
  start: string;
5600
5406
  end: string;
5601
5407
  } | null | undefined> | null | undefined;
5602
- actionDetails?: {
5603
- templateId?: string | undefined;
5604
- isImmediateCorrection?: boolean | undefined;
5605
- } | null | undefined;
5606
5408
  originalActionId?: string | null | undefined;
5607
5409
  }>, z.ZodObject<z.objectUtil.extendShape<{
5608
5410
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -5736,16 +5538,16 @@ export declare const EventDocument: z.ZodObject<{
5736
5538
  addressLine3?: string | null | undefined;
5737
5539
  postcodeOrZip?: string | null | undefined;
5738
5540
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5739
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5740
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5541
+ firstname: z.ZodString;
5542
+ surname: z.ZodString;
5741
5543
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5742
5544
  }, "strip", z.ZodTypeAny, {
5743
- firstname?: string | null | undefined;
5744
- surname?: string | null | undefined;
5545
+ firstname: string;
5546
+ surname: string;
5745
5547
  middlename?: string | null | undefined;
5746
5548
  }, {
5747
- firstname?: string | null | undefined;
5748
- surname?: string | null | undefined;
5549
+ firstname: string;
5550
+ surname: string;
5749
5551
  middlename?: string | null | undefined;
5750
5552
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5751
5553
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -5871,37 +5673,41 @@ export declare const EventDocument: z.ZodObject<{
5871
5673
  addressLine3?: string | null | undefined;
5872
5674
  postcodeOrZip?: string | null | undefined;
5873
5675
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5874
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5875
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5676
+ firstname: z.ZodString;
5677
+ surname: z.ZodString;
5876
5678
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5877
5679
  }, "strip", z.ZodTypeAny, {
5878
- firstname?: string | null | undefined;
5879
- surname?: string | null | undefined;
5680
+ firstname: string;
5681
+ surname: string;
5880
5682
  middlename?: string | null | undefined;
5881
5683
  }, {
5882
- firstname?: string | null | undefined;
5883
- surname?: string | null | undefined;
5684
+ firstname: string;
5685
+ surname: string;
5884
5686
  middlename?: string | null | undefined;
5885
5687
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5886
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5887
- templateId: z.ZodOptional<z.ZodString>;
5888
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
5889
- }, "strip", z.ZodTypeAny, {
5890
- templateId?: string | undefined;
5891
- isImmediateCorrection?: boolean | undefined;
5892
- }, {
5893
- templateId?: string | undefined;
5894
- isImmediateCorrection?: boolean | undefined;
5895
- }>>>;
5896
5688
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5897
5689
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5898
5690
  }, {
5899
5691
  type: z.ZodLiteral<"REJECT_CORRECTION">;
5900
5692
  requestId: z.ZodString;
5693
+ reason: z.ZodObject<{
5694
+ message: z.ZodString;
5695
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
5696
+ }, "strip", z.ZodTypeAny, {
5697
+ message: string;
5698
+ isDuplicate?: boolean | undefined;
5699
+ }, {
5700
+ message: string;
5701
+ isDuplicate?: boolean | undefined;
5702
+ }>;
5901
5703
  }>, "strip", z.ZodTypeAny, {
5902
5704
  type: "REJECT_CORRECTION";
5903
5705
  id: string & z.BRAND<"UUID">;
5904
5706
  status: "Rejected" | "Requested" | "Accepted";
5707
+ reason: {
5708
+ message: string;
5709
+ isDuplicate?: boolean | undefined;
5710
+ };
5905
5711
  transactionId: string;
5906
5712
  createdByUserType: "system" | "user";
5907
5713
  createdAt: string;
@@ -5923,8 +5729,8 @@ export declare const EventDocument: z.ZodObject<{
5923
5729
  street?: string | null | undefined;
5924
5730
  zipCode?: string | null | undefined;
5925
5731
  } | {
5926
- firstname?: string | null | undefined;
5927
- surname?: string | null | undefined;
5732
+ firstname: string;
5733
+ surname: string;
5928
5734
  middlename?: string | null | undefined;
5929
5735
  } | {
5930
5736
  country: string;
@@ -5971,8 +5777,8 @@ export declare const EventDocument: z.ZodObject<{
5971
5777
  street?: string | null | undefined;
5972
5778
  zipCode?: string | null | undefined;
5973
5779
  } | {
5974
- firstname?: string | null | undefined;
5975
- surname?: string | null | undefined;
5780
+ firstname: string;
5781
+ surname: string;
5976
5782
  middlename?: string | null | undefined;
5977
5783
  } | {
5978
5784
  country: string;
@@ -6000,15 +5806,15 @@ export declare const EventDocument: z.ZodObject<{
6000
5806
  start: string;
6001
5807
  end: string;
6002
5808
  } | null | undefined> | null | undefined;
6003
- actionDetails?: {
6004
- templateId?: string | undefined;
6005
- isImmediateCorrection?: boolean | undefined;
6006
- } | null | undefined;
6007
5809
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6008
5810
  }, {
6009
5811
  type: "REJECT_CORRECTION";
6010
5812
  id: string;
6011
5813
  status: "Rejected" | "Requested" | "Accepted";
5814
+ reason: {
5815
+ message: string;
5816
+ isDuplicate?: boolean | undefined;
5817
+ };
6012
5818
  transactionId: string;
6013
5819
  createdByUserType: "system" | "user";
6014
5820
  createdAt: string;
@@ -6030,8 +5836,8 @@ export declare const EventDocument: z.ZodObject<{
6030
5836
  street?: string | null | undefined;
6031
5837
  zipCode?: string | null | undefined;
6032
5838
  } | {
6033
- firstname?: string | null | undefined;
6034
- surname?: string | null | undefined;
5839
+ firstname: string;
5840
+ surname: string;
6035
5841
  middlename?: string | null | undefined;
6036
5842
  } | {
6037
5843
  country: string;
@@ -6078,8 +5884,8 @@ export declare const EventDocument: z.ZodObject<{
6078
5884
  street?: string | null | undefined;
6079
5885
  zipCode?: string | null | undefined;
6080
5886
  } | {
6081
- firstname?: string | null | undefined;
6082
- surname?: string | null | undefined;
5887
+ firstname: string;
5888
+ surname: string;
6083
5889
  middlename?: string | null | undefined;
6084
5890
  } | {
6085
5891
  country: string;
@@ -6107,10 +5913,6 @@ export declare const EventDocument: z.ZodObject<{
6107
5913
  start: string;
6108
5914
  end: string;
6109
5915
  } | null | undefined> | null | undefined;
6110
- actionDetails?: {
6111
- templateId?: string | undefined;
6112
- isImmediateCorrection?: boolean | undefined;
6113
- } | null | undefined;
6114
5916
  originalActionId?: string | null | undefined;
6115
5917
  }>, z.ZodObject<z.objectUtil.extendShape<{
6116
5918
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6244,16 +6046,16 @@ export declare const EventDocument: z.ZodObject<{
6244
6046
  addressLine3?: string | null | undefined;
6245
6047
  postcodeOrZip?: string | null | undefined;
6246
6048
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6247
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6049
+ firstname: z.ZodString;
6050
+ surname: z.ZodString;
6249
6051
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6250
6052
  }, "strip", z.ZodTypeAny, {
6251
- firstname?: string | null | undefined;
6252
- surname?: string | null | undefined;
6053
+ firstname: string;
6054
+ surname: string;
6253
6055
  middlename?: string | null | undefined;
6254
6056
  }, {
6255
- firstname?: string | null | undefined;
6256
- surname?: string | null | undefined;
6057
+ firstname: string;
6058
+ surname: string;
6257
6059
  middlename?: string | null | undefined;
6258
6060
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6259
6061
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -6379,28 +6181,18 @@ export declare const EventDocument: z.ZodObject<{
6379
6181
  addressLine3?: string | null | undefined;
6380
6182
  postcodeOrZip?: string | null | undefined;
6381
6183
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6382
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6383
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6184
+ firstname: z.ZodString;
6185
+ surname: z.ZodString;
6384
6186
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6385
6187
  }, "strip", z.ZodTypeAny, {
6386
- firstname?: string | null | undefined;
6387
- surname?: string | null | undefined;
6188
+ firstname: string;
6189
+ surname: string;
6388
6190
  middlename?: string | null | undefined;
6389
6191
  }, {
6390
- firstname?: string | null | undefined;
6391
- surname?: string | null | undefined;
6192
+ firstname: string;
6193
+ surname: string;
6392
6194
  middlename?: string | null | undefined;
6393
6195
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6394
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6395
- templateId: z.ZodOptional<z.ZodString>;
6396
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6397
- }, "strip", z.ZodTypeAny, {
6398
- templateId?: string | undefined;
6399
- isImmediateCorrection?: boolean | undefined;
6400
- }, {
6401
- templateId?: string | undefined;
6402
- isImmediateCorrection?: boolean | undefined;
6403
- }>>>;
6404
6196
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6405
6197
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6406
6198
  }, {
@@ -6430,8 +6222,8 @@ export declare const EventDocument: z.ZodObject<{
6430
6222
  street?: string | null | undefined;
6431
6223
  zipCode?: string | null | undefined;
6432
6224
  } | {
6433
- firstname?: string | null | undefined;
6434
- surname?: string | null | undefined;
6225
+ firstname: string;
6226
+ surname: string;
6435
6227
  middlename?: string | null | undefined;
6436
6228
  } | {
6437
6229
  country: string;
@@ -6477,8 +6269,8 @@ export declare const EventDocument: z.ZodObject<{
6477
6269
  street?: string | null | undefined;
6478
6270
  zipCode?: string | null | undefined;
6479
6271
  } | {
6480
- firstname?: string | null | undefined;
6481
- surname?: string | null | undefined;
6272
+ firstname: string;
6273
+ surname: string;
6482
6274
  middlename?: string | null | undefined;
6483
6275
  } | {
6484
6276
  country: string;
@@ -6506,10 +6298,6 @@ export declare const EventDocument: z.ZodObject<{
6506
6298
  start: string;
6507
6299
  end: string;
6508
6300
  } | null | undefined> | null | undefined;
6509
- actionDetails?: {
6510
- templateId?: string | undefined;
6511
- isImmediateCorrection?: boolean | undefined;
6512
- } | null | undefined;
6513
6301
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6514
6302
  }, {
6515
6303
  type: "UNASSIGN";
@@ -6536,8 +6324,8 @@ export declare const EventDocument: z.ZodObject<{
6536
6324
  street?: string | null | undefined;
6537
6325
  zipCode?: string | null | undefined;
6538
6326
  } | {
6539
- firstname?: string | null | undefined;
6540
- surname?: string | null | undefined;
6327
+ firstname: string;
6328
+ surname: string;
6541
6329
  middlename?: string | null | undefined;
6542
6330
  } | {
6543
6331
  country: string;
@@ -6583,8 +6371,8 @@ export declare const EventDocument: z.ZodObject<{
6583
6371
  street?: string | null | undefined;
6584
6372
  zipCode?: string | null | undefined;
6585
6373
  } | {
6586
- firstname?: string | null | undefined;
6587
- surname?: string | null | undefined;
6374
+ firstname: string;
6375
+ surname: string;
6588
6376
  middlename?: string | null | undefined;
6589
6377
  } | {
6590
6378
  country: string;
@@ -6612,10 +6400,6 @@ export declare const EventDocument: z.ZodObject<{
6612
6400
  start: string;
6613
6401
  end: string;
6614
6402
  } | null | undefined> | null | undefined;
6615
- actionDetails?: {
6616
- templateId?: string | undefined;
6617
- isImmediateCorrection?: boolean | undefined;
6618
- } | null | undefined;
6619
6403
  originalActionId?: string | null | undefined;
6620
6404
  }>, z.ZodObject<z.objectUtil.extendShape<{
6621
6405
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6749,16 +6533,16 @@ export declare const EventDocument: z.ZodObject<{
6749
6533
  addressLine3?: string | null | undefined;
6750
6534
  postcodeOrZip?: string | null | undefined;
6751
6535
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6752
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6753
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6536
+ firstname: z.ZodString;
6537
+ surname: z.ZodString;
6754
6538
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6755
6539
  }, "strip", z.ZodTypeAny, {
6756
- firstname?: string | null | undefined;
6757
- surname?: string | null | undefined;
6540
+ firstname: string;
6541
+ surname: string;
6758
6542
  middlename?: string | null | undefined;
6759
6543
  }, {
6760
- firstname?: string | null | undefined;
6761
- surname?: string | null | undefined;
6544
+ firstname: string;
6545
+ surname: string;
6762
6546
  middlename?: string | null | undefined;
6763
6547
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6764
6548
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -6884,32 +6668,29 @@ export declare const EventDocument: z.ZodObject<{
6884
6668
  addressLine3?: string | null | undefined;
6885
6669
  postcodeOrZip?: string | null | undefined;
6886
6670
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6887
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6888
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6671
+ firstname: z.ZodString;
6672
+ surname: z.ZodString;
6889
6673
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6890
6674
  }, "strip", z.ZodTypeAny, {
6891
- firstname?: string | null | undefined;
6892
- surname?: string | null | undefined;
6675
+ firstname: string;
6676
+ surname: string;
6893
6677
  middlename?: string | null | undefined;
6894
6678
  }, {
6895
- firstname?: string | null | undefined;
6896
- surname?: string | null | undefined;
6679
+ firstname: string;
6680
+ surname: string;
6897
6681
  middlename?: string | null | undefined;
6898
6682
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6899
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6683
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6684
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6685
+ }, {
6686
+ type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6687
+ content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6900
6688
  templateId: z.ZodOptional<z.ZodString>;
6901
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6902
6689
  }, "strip", z.ZodTypeAny, {
6903
6690
  templateId?: string | undefined;
6904
- isImmediateCorrection?: boolean | undefined;
6905
6691
  }, {
6906
6692
  templateId?: string | undefined;
6907
- isImmediateCorrection?: boolean | undefined;
6908
6693
  }>>>;
6909
- status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6910
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6911
- }, {
6912
- type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6913
6694
  }>, "strip", z.ZodTypeAny, {
6914
6695
  type: "PRINT_CERTIFICATE";
6915
6696
  id: string & z.BRAND<"UUID">;
@@ -6935,8 +6716,8 @@ export declare const EventDocument: z.ZodObject<{
6935
6716
  street?: string | null | undefined;
6936
6717
  zipCode?: string | null | undefined;
6937
6718
  } | {
6938
- firstname?: string | null | undefined;
6939
- surname?: string | null | undefined;
6719
+ firstname: string;
6720
+ surname: string;
6940
6721
  middlename?: string | null | undefined;
6941
6722
  } | {
6942
6723
  country: string;
@@ -6964,6 +6745,9 @@ export declare const EventDocument: z.ZodObject<{
6964
6745
  start: string;
6965
6746
  end: string;
6966
6747
  } | null | undefined>;
6748
+ content?: {
6749
+ templateId?: string | undefined;
6750
+ } | null | undefined;
6967
6751
  createdBySignature?: string | null | undefined;
6968
6752
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6969
6753
  annotation?: Record<string, string | number | boolean | {
@@ -6982,8 +6766,8 @@ export declare const EventDocument: z.ZodObject<{
6982
6766
  street?: string | null | undefined;
6983
6767
  zipCode?: string | null | undefined;
6984
6768
  } | {
6985
- firstname?: string | null | undefined;
6986
- surname?: string | null | undefined;
6769
+ firstname: string;
6770
+ surname: string;
6987
6771
  middlename?: string | null | undefined;
6988
6772
  } | {
6989
6773
  country: string;
@@ -7011,10 +6795,6 @@ export declare const EventDocument: z.ZodObject<{
7011
6795
  start: string;
7012
6796
  end: string;
7013
6797
  } | null | undefined> | null | undefined;
7014
- actionDetails?: {
7015
- templateId?: string | undefined;
7016
- isImmediateCorrection?: boolean | undefined;
7017
- } | null | undefined;
7018
6798
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7019
6799
  }, {
7020
6800
  type: "PRINT_CERTIFICATE";
@@ -7041,8 +6821,8 @@ export declare const EventDocument: z.ZodObject<{
7041
6821
  street?: string | null | undefined;
7042
6822
  zipCode?: string | null | undefined;
7043
6823
  } | {
7044
- firstname?: string | null | undefined;
7045
- surname?: string | null | undefined;
6824
+ firstname: string;
6825
+ surname: string;
7046
6826
  middlename?: string | null | undefined;
7047
6827
  } | {
7048
6828
  country: string;
@@ -7070,6 +6850,9 @@ export declare const EventDocument: z.ZodObject<{
7070
6850
  start: string;
7071
6851
  end: string;
7072
6852
  } | null | undefined>;
6853
+ content?: {
6854
+ templateId?: string | undefined;
6855
+ } | null | undefined;
7073
6856
  createdBySignature?: string | null | undefined;
7074
6857
  createdAtLocation?: string | null | undefined;
7075
6858
  annotation?: Record<string, string | number | boolean | {
@@ -7088,8 +6871,8 @@ export declare const EventDocument: z.ZodObject<{
7088
6871
  street?: string | null | undefined;
7089
6872
  zipCode?: string | null | undefined;
7090
6873
  } | {
7091
- firstname?: string | null | undefined;
7092
- surname?: string | null | undefined;
6874
+ firstname: string;
6875
+ surname: string;
7093
6876
  middlename?: string | null | undefined;
7094
6877
  } | {
7095
6878
  country: string;
@@ -7117,10 +6900,6 @@ export declare const EventDocument: z.ZodObject<{
7117
6900
  start: string;
7118
6901
  end: string;
7119
6902
  } | null | undefined> | null | undefined;
7120
- actionDetails?: {
7121
- templateId?: string | undefined;
7122
- isImmediateCorrection?: boolean | undefined;
7123
- } | null | undefined;
7124
6903
  originalActionId?: string | null | undefined;
7125
6904
  }>, z.ZodObject<z.objectUtil.extendShape<{
7126
6905
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7254,16 +7033,16 @@ export declare const EventDocument: z.ZodObject<{
7254
7033
  addressLine3?: string | null | undefined;
7255
7034
  postcodeOrZip?: string | null | undefined;
7256
7035
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7257
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7258
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
+ firstname: z.ZodString;
7037
+ surname: z.ZodString;
7259
7038
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7260
7039
  }, "strip", z.ZodTypeAny, {
7261
- firstname?: string | null | undefined;
7262
- surname?: string | null | undefined;
7040
+ firstname: string;
7041
+ surname: string;
7263
7042
  middlename?: string | null | undefined;
7264
7043
  }, {
7265
- firstname?: string | null | undefined;
7266
- surname?: string | null | undefined;
7044
+ firstname: string;
7045
+ surname: string;
7267
7046
  middlename?: string | null | undefined;
7268
7047
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7269
7048
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -7389,28 +7168,18 @@ export declare const EventDocument: z.ZodObject<{
7389
7168
  addressLine3?: string | null | undefined;
7390
7169
  postcodeOrZip?: string | null | undefined;
7391
7170
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7392
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7393
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7171
+ firstname: z.ZodString;
7172
+ surname: z.ZodString;
7394
7173
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7395
7174
  }, "strip", z.ZodTypeAny, {
7396
- firstname?: string | null | undefined;
7397
- surname?: string | null | undefined;
7175
+ firstname: string;
7176
+ surname: string;
7398
7177
  middlename?: string | null | undefined;
7399
7178
  }, {
7400
- firstname?: string | null | undefined;
7401
- surname?: string | null | undefined;
7179
+ firstname: string;
7180
+ surname: string;
7402
7181
  middlename?: string | null | undefined;
7403
7182
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7404
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7405
- templateId: z.ZodOptional<z.ZodString>;
7406
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7407
- }, "strip", z.ZodTypeAny, {
7408
- templateId?: string | undefined;
7409
- isImmediateCorrection?: boolean | undefined;
7410
- }, {
7411
- templateId?: string | undefined;
7412
- isImmediateCorrection?: boolean | undefined;
7413
- }>>>;
7414
7183
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7415
7184
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7416
7185
  }, {
@@ -7440,8 +7209,8 @@ export declare const EventDocument: z.ZodObject<{
7440
7209
  street?: string | null | undefined;
7441
7210
  zipCode?: string | null | undefined;
7442
7211
  } | {
7443
- firstname?: string | null | undefined;
7444
- surname?: string | null | undefined;
7212
+ firstname: string;
7213
+ surname: string;
7445
7214
  middlename?: string | null | undefined;
7446
7215
  } | {
7447
7216
  country: string;
@@ -7487,8 +7256,8 @@ export declare const EventDocument: z.ZodObject<{
7487
7256
  street?: string | null | undefined;
7488
7257
  zipCode?: string | null | undefined;
7489
7258
  } | {
7490
- firstname?: string | null | undefined;
7491
- surname?: string | null | undefined;
7259
+ firstname: string;
7260
+ surname: string;
7492
7261
  middlename?: string | null | undefined;
7493
7262
  } | {
7494
7263
  country: string;
@@ -7516,10 +7285,6 @@ export declare const EventDocument: z.ZodObject<{
7516
7285
  start: string;
7517
7286
  end: string;
7518
7287
  } | null | undefined> | null | undefined;
7519
- actionDetails?: {
7520
- templateId?: string | undefined;
7521
- isImmediateCorrection?: boolean | undefined;
7522
- } | null | undefined;
7523
7288
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7524
7289
  }, {
7525
7290
  type: "READ";
@@ -7546,8 +7311,8 @@ export declare const EventDocument: z.ZodObject<{
7546
7311
  street?: string | null | undefined;
7547
7312
  zipCode?: string | null | undefined;
7548
7313
  } | {
7549
- firstname?: string | null | undefined;
7550
- surname?: string | null | undefined;
7314
+ firstname: string;
7315
+ surname: string;
7551
7316
  middlename?: string | null | undefined;
7552
7317
  } | {
7553
7318
  country: string;
@@ -7593,8 +7358,8 @@ export declare const EventDocument: z.ZodObject<{
7593
7358
  street?: string | null | undefined;
7594
7359
  zipCode?: string | null | undefined;
7595
7360
  } | {
7596
- firstname?: string | null | undefined;
7597
- surname?: string | null | undefined;
7361
+ firstname: string;
7362
+ surname: string;
7598
7363
  middlename?: string | null | undefined;
7599
7364
  } | {
7600
7365
  country: string;
@@ -7622,10 +7387,6 @@ export declare const EventDocument: z.ZodObject<{
7622
7387
  start: string;
7623
7388
  end: string;
7624
7389
  } | null | undefined> | null | undefined;
7625
- actionDetails?: {
7626
- templateId?: string | undefined;
7627
- isImmediateCorrection?: boolean | undefined;
7628
- } | null | undefined;
7629
7390
  originalActionId?: string | null | undefined;
7630
7391
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
7631
7392
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7759,16 +7520,16 @@ export declare const EventDocument: z.ZodObject<{
7759
7520
  addressLine3?: string | null | undefined;
7760
7521
  postcodeOrZip?: string | null | undefined;
7761
7522
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7762
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7763
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7523
+ firstname: z.ZodString;
7524
+ surname: z.ZodString;
7764
7525
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7765
7526
  }, "strip", z.ZodTypeAny, {
7766
- firstname?: string | null | undefined;
7767
- surname?: string | null | undefined;
7527
+ firstname: string;
7528
+ surname: string;
7768
7529
  middlename?: string | null | undefined;
7769
7530
  }, {
7770
- firstname?: string | null | undefined;
7771
- surname?: string | null | undefined;
7531
+ firstname: string;
7532
+ surname: string;
7772
7533
  middlename?: string | null | undefined;
7773
7534
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7774
7535
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -7894,28 +7655,18 @@ export declare const EventDocument: z.ZodObject<{
7894
7655
  addressLine3?: string | null | undefined;
7895
7656
  postcodeOrZip?: string | null | undefined;
7896
7657
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7897
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7898
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7658
+ firstname: z.ZodString;
7659
+ surname: z.ZodString;
7899
7660
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7900
7661
  }, "strip", z.ZodTypeAny, {
7901
- firstname?: string | null | undefined;
7902
- surname?: string | null | undefined;
7662
+ firstname: string;
7663
+ surname: string;
7903
7664
  middlename?: string | null | undefined;
7904
7665
  }, {
7905
- firstname?: string | null | undefined;
7906
- surname?: string | null | undefined;
7666
+ firstname: string;
7667
+ surname: string;
7907
7668
  middlename?: string | null | undefined;
7908
7669
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7909
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7910
- templateId: z.ZodOptional<z.ZodString>;
7911
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7912
- }, "strip", z.ZodTypeAny, {
7913
- templateId?: string | undefined;
7914
- isImmediateCorrection?: boolean | undefined;
7915
- }, {
7916
- templateId?: string | undefined;
7917
- isImmediateCorrection?: boolean | undefined;
7918
- }>>>;
7919
7670
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7920
7671
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7921
7672
  }, "declaration" | "annotation">, {
@@ -7932,10 +7683,6 @@ export declare const EventDocument: z.ZodObject<{
7932
7683
  createdByRole: string;
7933
7684
  createdBySignature?: string | null | undefined;
7934
7685
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7935
- actionDetails?: {
7936
- templateId?: string | undefined;
7937
- isImmediateCorrection?: boolean | undefined;
7938
- } | null | undefined;
7939
7686
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7940
7687
  }, {
7941
7688
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -7948,10 +7695,6 @@ export declare const EventDocument: z.ZodObject<{
7948
7695
  createdByRole: string;
7949
7696
  createdBySignature?: string | null | undefined;
7950
7697
  createdAtLocation?: string | null | undefined;
7951
- actionDetails?: {
7952
- templateId?: string | undefined;
7953
- isImmediateCorrection?: boolean | undefined;
7954
- } | null | undefined;
7955
7698
  originalActionId?: string | null | undefined;
7956
7699
  }>]>, "many">;
7957
7700
  trackingId: z.ZodString;
@@ -7985,8 +7728,8 @@ export declare const EventDocument: z.ZodObject<{
7985
7728
  street?: string | null | undefined;
7986
7729
  zipCode?: string | null | undefined;
7987
7730
  } | {
7988
- firstname?: string | null | undefined;
7989
- surname?: string | null | undefined;
7731
+ firstname: string;
7732
+ surname: string;
7990
7733
  middlename?: string | null | undefined;
7991
7734
  } | {
7992
7735
  country: string;
@@ -8033,8 +7776,8 @@ export declare const EventDocument: z.ZodObject<{
8033
7776
  street?: string | null | undefined;
8034
7777
  zipCode?: string | null | undefined;
8035
7778
  } | {
8036
- firstname?: string | null | undefined;
8037
- surname?: string | null | undefined;
7779
+ firstname: string;
7780
+ surname: string;
8038
7781
  middlename?: string | null | undefined;
8039
7782
  } | {
8040
7783
  country: string;
@@ -8062,10 +7805,6 @@ export declare const EventDocument: z.ZodObject<{
8062
7805
  start: string;
8063
7806
  end: string;
8064
7807
  } | null | undefined> | null | undefined;
8065
- actionDetails?: {
8066
- templateId?: string | undefined;
8067
- isImmediateCorrection?: boolean | undefined;
8068
- } | null | undefined;
8069
7808
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8070
7809
  } | {
8071
7810
  type: "UNASSIGN";
@@ -8092,8 +7831,8 @@ export declare const EventDocument: z.ZodObject<{
8092
7831
  street?: string | null | undefined;
8093
7832
  zipCode?: string | null | undefined;
8094
7833
  } | {
8095
- firstname?: string | null | undefined;
8096
- surname?: string | null | undefined;
7834
+ firstname: string;
7835
+ surname: string;
8097
7836
  middlename?: string | null | undefined;
8098
7837
  } | {
8099
7838
  country: string;
@@ -8139,8 +7878,8 @@ export declare const EventDocument: z.ZodObject<{
8139
7878
  street?: string | null | undefined;
8140
7879
  zipCode?: string | null | undefined;
8141
7880
  } | {
8142
- firstname?: string | null | undefined;
8143
- surname?: string | null | undefined;
7881
+ firstname: string;
7882
+ surname: string;
8144
7883
  middlename?: string | null | undefined;
8145
7884
  } | {
8146
7885
  country: string;
@@ -8168,10 +7907,6 @@ export declare const EventDocument: z.ZodObject<{
8168
7907
  start: string;
8169
7908
  end: string;
8170
7909
  } | null | undefined> | null | undefined;
8171
- actionDetails?: {
8172
- templateId?: string | undefined;
8173
- isImmediateCorrection?: boolean | undefined;
8174
- } | null | undefined;
8175
7910
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8176
7911
  } | {
8177
7912
  type: "REGISTER";
@@ -8198,8 +7933,8 @@ export declare const EventDocument: z.ZodObject<{
8198
7933
  street?: string | null | undefined;
8199
7934
  zipCode?: string | null | undefined;
8200
7935
  } | {
8201
- firstname?: string | null | undefined;
8202
- surname?: string | null | undefined;
7936
+ firstname: string;
7937
+ surname: string;
8203
7938
  middlename?: string | null | undefined;
8204
7939
  } | {
8205
7940
  country: string;
@@ -8245,8 +7980,8 @@ export declare const EventDocument: z.ZodObject<{
8245
7980
  street?: string | null | undefined;
8246
7981
  zipCode?: string | null | undefined;
8247
7982
  } | {
8248
- firstname?: string | null | undefined;
8249
- surname?: string | null | undefined;
7983
+ firstname: string;
7984
+ surname: string;
8250
7985
  middlename?: string | null | undefined;
8251
7986
  } | {
8252
7987
  country: string;
@@ -8274,10 +8009,6 @@ export declare const EventDocument: z.ZodObject<{
8274
8009
  start: string;
8275
8010
  end: string;
8276
8011
  } | null | undefined> | null | undefined;
8277
- actionDetails?: {
8278
- templateId?: string | undefined;
8279
- isImmediateCorrection?: boolean | undefined;
8280
- } | null | undefined;
8281
8012
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8282
8013
  registrationNumber?: string | undefined;
8283
8014
  } | {
@@ -8305,8 +8036,8 @@ export declare const EventDocument: z.ZodObject<{
8305
8036
  street?: string | null | undefined;
8306
8037
  zipCode?: string | null | undefined;
8307
8038
  } | {
8308
- firstname?: string | null | undefined;
8309
- surname?: string | null | undefined;
8039
+ firstname: string;
8040
+ surname: string;
8310
8041
  middlename?: string | null | undefined;
8311
8042
  } | {
8312
8043
  country: string;
@@ -8352,8 +8083,8 @@ export declare const EventDocument: z.ZodObject<{
8352
8083
  street?: string | null | undefined;
8353
8084
  zipCode?: string | null | undefined;
8354
8085
  } | {
8355
- firstname?: string | null | undefined;
8356
- surname?: string | null | undefined;
8086
+ firstname: string;
8087
+ surname: string;
8357
8088
  middlename?: string | null | undefined;
8358
8089
  } | {
8359
8090
  country: string;
@@ -8381,10 +8112,6 @@ export declare const EventDocument: z.ZodObject<{
8381
8112
  start: string;
8382
8113
  end: string;
8383
8114
  } | null | undefined> | null | undefined;
8384
- actionDetails?: {
8385
- templateId?: string | undefined;
8386
- isImmediateCorrection?: boolean | undefined;
8387
- } | null | undefined;
8388
8115
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8389
8116
  } | {
8390
8117
  type: "VALIDATE";
@@ -8411,8 +8138,8 @@ export declare const EventDocument: z.ZodObject<{
8411
8138
  street?: string | null | undefined;
8412
8139
  zipCode?: string | null | undefined;
8413
8140
  } | {
8414
- firstname?: string | null | undefined;
8415
- surname?: string | null | undefined;
8141
+ firstname: string;
8142
+ surname: string;
8416
8143
  middlename?: string | null | undefined;
8417
8144
  } | {
8418
8145
  country: string;
@@ -8458,8 +8185,8 @@ export declare const EventDocument: z.ZodObject<{
8458
8185
  street?: string | null | undefined;
8459
8186
  zipCode?: string | null | undefined;
8460
8187
  } | {
8461
- firstname?: string | null | undefined;
8462
- surname?: string | null | undefined;
8188
+ firstname: string;
8189
+ surname: string;
8463
8190
  middlename?: string | null | undefined;
8464
8191
  } | {
8465
8192
  country: string;
@@ -8487,10 +8214,6 @@ export declare const EventDocument: z.ZodObject<{
8487
8214
  start: string;
8488
8215
  end: string;
8489
8216
  } | null | undefined> | null | undefined;
8490
- actionDetails?: {
8491
- templateId?: string | undefined;
8492
- isImmediateCorrection?: boolean | undefined;
8493
- } | null | undefined;
8494
8217
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8495
8218
  } | {
8496
8219
  type: "REJECT";
@@ -8521,8 +8244,8 @@ export declare const EventDocument: z.ZodObject<{
8521
8244
  street?: string | null | undefined;
8522
8245
  zipCode?: string | null | undefined;
8523
8246
  } | {
8524
- firstname?: string | null | undefined;
8525
- surname?: string | null | undefined;
8247
+ firstname: string;
8248
+ surname: string;
8526
8249
  middlename?: string | null | undefined;
8527
8250
  } | {
8528
8251
  country: string;
@@ -8568,8 +8291,8 @@ export declare const EventDocument: z.ZodObject<{
8568
8291
  street?: string | null | undefined;
8569
8292
  zipCode?: string | null | undefined;
8570
8293
  } | {
8571
- firstname?: string | null | undefined;
8572
- surname?: string | null | undefined;
8294
+ firstname: string;
8295
+ surname: string;
8573
8296
  middlename?: string | null | undefined;
8574
8297
  } | {
8575
8298
  country: string;
@@ -8597,10 +8320,6 @@ export declare const EventDocument: z.ZodObject<{
8597
8320
  start: string;
8598
8321
  end: string;
8599
8322
  } | null | undefined> | null | undefined;
8600
- actionDetails?: {
8601
- templateId?: string | undefined;
8602
- isImmediateCorrection?: boolean | undefined;
8603
- } | null | undefined;
8604
8323
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8605
8324
  } | {
8606
8325
  type: "MARKED_AS_DUPLICATE";
@@ -8627,8 +8346,8 @@ export declare const EventDocument: z.ZodObject<{
8627
8346
  street?: string | null | undefined;
8628
8347
  zipCode?: string | null | undefined;
8629
8348
  } | {
8630
- firstname?: string | null | undefined;
8631
- surname?: string | null | undefined;
8349
+ firstname: string;
8350
+ surname: string;
8632
8351
  middlename?: string | null | undefined;
8633
8352
  } | {
8634
8353
  country: string;
@@ -8674,8 +8393,8 @@ export declare const EventDocument: z.ZodObject<{
8674
8393
  street?: string | null | undefined;
8675
8394
  zipCode?: string | null | undefined;
8676
8395
  } | {
8677
- firstname?: string | null | undefined;
8678
- surname?: string | null | undefined;
8396
+ firstname: string;
8397
+ surname: string;
8679
8398
  middlename?: string | null | undefined;
8680
8399
  } | {
8681
8400
  country: string;
@@ -8703,10 +8422,6 @@ export declare const EventDocument: z.ZodObject<{
8703
8422
  start: string;
8704
8423
  end: string;
8705
8424
  } | null | undefined> | null | undefined;
8706
- actionDetails?: {
8707
- templateId?: string | undefined;
8708
- isImmediateCorrection?: boolean | undefined;
8709
- } | null | undefined;
8710
8425
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8711
8426
  } | {
8712
8427
  type: "ARCHIVE";
@@ -8737,8 +8452,8 @@ export declare const EventDocument: z.ZodObject<{
8737
8452
  street?: string | null | undefined;
8738
8453
  zipCode?: string | null | undefined;
8739
8454
  } | {
8740
- firstname?: string | null | undefined;
8741
- surname?: string | null | undefined;
8455
+ firstname: string;
8456
+ surname: string;
8742
8457
  middlename?: string | null | undefined;
8743
8458
  } | {
8744
8459
  country: string;
@@ -8784,8 +8499,8 @@ export declare const EventDocument: z.ZodObject<{
8784
8499
  street?: string | null | undefined;
8785
8500
  zipCode?: string | null | undefined;
8786
8501
  } | {
8787
- firstname?: string | null | undefined;
8788
- surname?: string | null | undefined;
8502
+ firstname: string;
8503
+ surname: string;
8789
8504
  middlename?: string | null | undefined;
8790
8505
  } | {
8791
8506
  country: string;
@@ -8813,10 +8528,6 @@ export declare const EventDocument: z.ZodObject<{
8813
8528
  start: string;
8814
8529
  end: string;
8815
8530
  } | null | undefined> | null | undefined;
8816
- actionDetails?: {
8817
- templateId?: string | undefined;
8818
- isImmediateCorrection?: boolean | undefined;
8819
- } | null | undefined;
8820
8531
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8821
8532
  } | {
8822
8533
  type: "CREATE";
@@ -8843,8 +8554,8 @@ export declare const EventDocument: z.ZodObject<{
8843
8554
  street?: string | null | undefined;
8844
8555
  zipCode?: string | null | undefined;
8845
8556
  } | {
8846
- firstname?: string | null | undefined;
8847
- surname?: string | null | undefined;
8557
+ firstname: string;
8558
+ surname: string;
8848
8559
  middlename?: string | null | undefined;
8849
8560
  } | {
8850
8561
  country: string;
@@ -8890,8 +8601,8 @@ export declare const EventDocument: z.ZodObject<{
8890
8601
  street?: string | null | undefined;
8891
8602
  zipCode?: string | null | undefined;
8892
8603
  } | {
8893
- firstname?: string | null | undefined;
8894
- surname?: string | null | undefined;
8604
+ firstname: string;
8605
+ surname: string;
8895
8606
  middlename?: string | null | undefined;
8896
8607
  } | {
8897
8608
  country: string;
@@ -8919,10 +8630,6 @@ export declare const EventDocument: z.ZodObject<{
8919
8630
  start: string;
8920
8631
  end: string;
8921
8632
  } | null | undefined> | null | undefined;
8922
- actionDetails?: {
8923
- templateId?: string | undefined;
8924
- isImmediateCorrection?: boolean | undefined;
8925
- } | null | undefined;
8926
8633
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8927
8634
  } | {
8928
8635
  type: "NOTIFY";
@@ -8949,8 +8656,8 @@ export declare const EventDocument: z.ZodObject<{
8949
8656
  street?: string | null | undefined;
8950
8657
  zipCode?: string | null | undefined;
8951
8658
  } | {
8952
- firstname?: string | null | undefined;
8953
- surname?: string | null | undefined;
8659
+ firstname: string;
8660
+ surname: string;
8954
8661
  middlename?: string | null | undefined;
8955
8662
  } | {
8956
8663
  country: string;
@@ -8996,8 +8703,8 @@ export declare const EventDocument: z.ZodObject<{
8996
8703
  street?: string | null | undefined;
8997
8704
  zipCode?: string | null | undefined;
8998
8705
  } | {
8999
- firstname?: string | null | undefined;
9000
- surname?: string | null | undefined;
8706
+ firstname: string;
8707
+ surname: string;
9001
8708
  middlename?: string | null | undefined;
9002
8709
  } | {
9003
8710
  country: string;
@@ -9025,10 +8732,6 @@ export declare const EventDocument: z.ZodObject<{
9025
8732
  start: string;
9026
8733
  end: string;
9027
8734
  } | null | undefined> | null | undefined;
9028
- actionDetails?: {
9029
- templateId?: string | undefined;
9030
- isImmediateCorrection?: boolean | undefined;
9031
- } | null | undefined;
9032
8735
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9033
8736
  } | {
9034
8737
  type: "PRINT_CERTIFICATE";
@@ -9055,8 +8758,8 @@ export declare const EventDocument: z.ZodObject<{
9055
8758
  street?: string | null | undefined;
9056
8759
  zipCode?: string | null | undefined;
9057
8760
  } | {
9058
- firstname?: string | null | undefined;
9059
- surname?: string | null | undefined;
8761
+ firstname: string;
8762
+ surname: string;
9060
8763
  middlename?: string | null | undefined;
9061
8764
  } | {
9062
8765
  country: string;
@@ -9084,6 +8787,9 @@ export declare const EventDocument: z.ZodObject<{
9084
8787
  start: string;
9085
8788
  end: string;
9086
8789
  } | null | undefined>;
8790
+ content?: {
8791
+ templateId?: string | undefined;
8792
+ } | null | undefined;
9087
8793
  createdBySignature?: string | null | undefined;
9088
8794
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9089
8795
  annotation?: Record<string, string | number | boolean | {
@@ -9102,8 +8808,8 @@ export declare const EventDocument: z.ZodObject<{
9102
8808
  street?: string | null | undefined;
9103
8809
  zipCode?: string | null | undefined;
9104
8810
  } | {
9105
- firstname?: string | null | undefined;
9106
- surname?: string | null | undefined;
8811
+ firstname: string;
8812
+ surname: string;
9107
8813
  middlename?: string | null | undefined;
9108
8814
  } | {
9109
8815
  country: string;
@@ -9131,10 +8837,6 @@ export declare const EventDocument: z.ZodObject<{
9131
8837
  start: string;
9132
8838
  end: string;
9133
8839
  } | null | undefined> | null | undefined;
9134
- actionDetails?: {
9135
- templateId?: string | undefined;
9136
- isImmediateCorrection?: boolean | undefined;
9137
- } | null | undefined;
9138
8840
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9139
8841
  } | {
9140
8842
  type: "REQUEST_CORRECTION";
@@ -9161,8 +8863,8 @@ export declare const EventDocument: z.ZodObject<{
9161
8863
  street?: string | null | undefined;
9162
8864
  zipCode?: string | null | undefined;
9163
8865
  } | {
9164
- firstname?: string | null | undefined;
9165
- surname?: string | null | undefined;
8866
+ firstname: string;
8867
+ surname: string;
9166
8868
  middlename?: string | null | undefined;
9167
8869
  } | {
9168
8870
  country: string;
@@ -9208,8 +8910,8 @@ export declare const EventDocument: z.ZodObject<{
9208
8910
  street?: string | null | undefined;
9209
8911
  zipCode?: string | null | undefined;
9210
8912
  } | {
9211
- firstname?: string | null | undefined;
9212
- surname?: string | null | undefined;
8913
+ firstname: string;
8914
+ surname: string;
9213
8915
  middlename?: string | null | undefined;
9214
8916
  } | {
9215
8917
  country: string;
@@ -9237,10 +8939,6 @@ export declare const EventDocument: z.ZodObject<{
9237
8939
  start: string;
9238
8940
  end: string;
9239
8941
  } | null | undefined> | null | undefined;
9240
- actionDetails?: {
9241
- templateId?: string | undefined;
9242
- isImmediateCorrection?: boolean | undefined;
9243
- } | null | undefined;
9244
8942
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9245
8943
  } | {
9246
8944
  type: "APPROVE_CORRECTION";
@@ -9267,8 +8965,8 @@ export declare const EventDocument: z.ZodObject<{
9267
8965
  street?: string | null | undefined;
9268
8966
  zipCode?: string | null | undefined;
9269
8967
  } | {
9270
- firstname?: string | null | undefined;
9271
- surname?: string | null | undefined;
8968
+ firstname: string;
8969
+ surname: string;
9272
8970
  middlename?: string | null | undefined;
9273
8971
  } | {
9274
8972
  country: string;
@@ -9315,8 +9013,8 @@ export declare const EventDocument: z.ZodObject<{
9315
9013
  street?: string | null | undefined;
9316
9014
  zipCode?: string | null | undefined;
9317
9015
  } | {
9318
- firstname?: string | null | undefined;
9319
- surname?: string | null | undefined;
9016
+ firstname: string;
9017
+ surname: string;
9320
9018
  middlename?: string | null | undefined;
9321
9019
  } | {
9322
9020
  country: string;
@@ -9344,15 +9042,15 @@ export declare const EventDocument: z.ZodObject<{
9344
9042
  start: string;
9345
9043
  end: string;
9346
9044
  } | null | undefined> | null | undefined;
9347
- actionDetails?: {
9348
- templateId?: string | undefined;
9349
- isImmediateCorrection?: boolean | undefined;
9350
- } | null | undefined;
9351
9045
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9352
9046
  } | {
9353
9047
  type: "REJECT_CORRECTION";
9354
9048
  id: string & z.BRAND<"UUID">;
9355
9049
  status: "Rejected" | "Requested" | "Accepted";
9050
+ reason: {
9051
+ message: string;
9052
+ isDuplicate?: boolean | undefined;
9053
+ };
9356
9054
  transactionId: string;
9357
9055
  createdByUserType: "system" | "user";
9358
9056
  createdAt: string;
@@ -9374,8 +9072,8 @@ export declare const EventDocument: z.ZodObject<{
9374
9072
  street?: string | null | undefined;
9375
9073
  zipCode?: string | null | undefined;
9376
9074
  } | {
9377
- firstname?: string | null | undefined;
9378
- surname?: string | null | undefined;
9075
+ firstname: string;
9076
+ surname: string;
9379
9077
  middlename?: string | null | undefined;
9380
9078
  } | {
9381
9079
  country: string;
@@ -9422,8 +9120,8 @@ export declare const EventDocument: z.ZodObject<{
9422
9120
  street?: string | null | undefined;
9423
9121
  zipCode?: string | null | undefined;
9424
9122
  } | {
9425
- firstname?: string | null | undefined;
9426
- surname?: string | null | undefined;
9123
+ firstname: string;
9124
+ surname: string;
9427
9125
  middlename?: string | null | undefined;
9428
9126
  } | {
9429
9127
  country: string;
@@ -9451,10 +9149,6 @@ export declare const EventDocument: z.ZodObject<{
9451
9149
  start: string;
9452
9150
  end: string;
9453
9151
  } | null | undefined> | null | undefined;
9454
- actionDetails?: {
9455
- templateId?: string | undefined;
9456
- isImmediateCorrection?: boolean | undefined;
9457
- } | null | undefined;
9458
9152
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9459
9153
  } | {
9460
9154
  type: "READ";
@@ -9481,8 +9175,8 @@ export declare const EventDocument: z.ZodObject<{
9481
9175
  street?: string | null | undefined;
9482
9176
  zipCode?: string | null | undefined;
9483
9177
  } | {
9484
- firstname?: string | null | undefined;
9485
- surname?: string | null | undefined;
9178
+ firstname: string;
9179
+ surname: string;
9486
9180
  middlename?: string | null | undefined;
9487
9181
  } | {
9488
9182
  country: string;
@@ -9528,8 +9222,8 @@ export declare const EventDocument: z.ZodObject<{
9528
9222
  street?: string | null | undefined;
9529
9223
  zipCode?: string | null | undefined;
9530
9224
  } | {
9531
- firstname?: string | null | undefined;
9532
- surname?: string | null | undefined;
9225
+ firstname: string;
9226
+ surname: string;
9533
9227
  middlename?: string | null | undefined;
9534
9228
  } | {
9535
9229
  country: string;
@@ -9557,10 +9251,6 @@ export declare const EventDocument: z.ZodObject<{
9557
9251
  start: string;
9558
9252
  end: string;
9559
9253
  } | null | undefined> | null | undefined;
9560
- actionDetails?: {
9561
- templateId?: string | undefined;
9562
- isImmediateCorrection?: boolean | undefined;
9563
- } | null | undefined;
9564
9254
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9565
9255
  } | {
9566
9256
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -9573,10 +9263,6 @@ export declare const EventDocument: z.ZodObject<{
9573
9263
  createdByRole: string;
9574
9264
  createdBySignature?: string | null | undefined;
9575
9265
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9576
- actionDetails?: {
9577
- templateId?: string | undefined;
9578
- isImmediateCorrection?: boolean | undefined;
9579
- } | null | undefined;
9580
9266
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9581
9267
  })[];
9582
9268
  trackingId: string;
@@ -9610,8 +9296,8 @@ export declare const EventDocument: z.ZodObject<{
9610
9296
  street?: string | null | undefined;
9611
9297
  zipCode?: string | null | undefined;
9612
9298
  } | {
9613
- firstname?: string | null | undefined;
9614
- surname?: string | null | undefined;
9299
+ firstname: string;
9300
+ surname: string;
9615
9301
  middlename?: string | null | undefined;
9616
9302
  } | {
9617
9303
  country: string;
@@ -9658,8 +9344,8 @@ export declare const EventDocument: z.ZodObject<{
9658
9344
  street?: string | null | undefined;
9659
9345
  zipCode?: string | null | undefined;
9660
9346
  } | {
9661
- firstname?: string | null | undefined;
9662
- surname?: string | null | undefined;
9347
+ firstname: string;
9348
+ surname: string;
9663
9349
  middlename?: string | null | undefined;
9664
9350
  } | {
9665
9351
  country: string;
@@ -9687,10 +9373,6 @@ export declare const EventDocument: z.ZodObject<{
9687
9373
  start: string;
9688
9374
  end: string;
9689
9375
  } | null | undefined> | null | undefined;
9690
- actionDetails?: {
9691
- templateId?: string | undefined;
9692
- isImmediateCorrection?: boolean | undefined;
9693
- } | null | undefined;
9694
9376
  originalActionId?: string | null | undefined;
9695
9377
  } | {
9696
9378
  type: "UNASSIGN";
@@ -9717,8 +9399,8 @@ export declare const EventDocument: z.ZodObject<{
9717
9399
  street?: string | null | undefined;
9718
9400
  zipCode?: string | null | undefined;
9719
9401
  } | {
9720
- firstname?: string | null | undefined;
9721
- surname?: string | null | undefined;
9402
+ firstname: string;
9403
+ surname: string;
9722
9404
  middlename?: string | null | undefined;
9723
9405
  } | {
9724
9406
  country: string;
@@ -9764,8 +9446,8 @@ export declare const EventDocument: z.ZodObject<{
9764
9446
  street?: string | null | undefined;
9765
9447
  zipCode?: string | null | undefined;
9766
9448
  } | {
9767
- firstname?: string | null | undefined;
9768
- surname?: string | null | undefined;
9449
+ firstname: string;
9450
+ surname: string;
9769
9451
  middlename?: string | null | undefined;
9770
9452
  } | {
9771
9453
  country: string;
@@ -9793,10 +9475,6 @@ export declare const EventDocument: z.ZodObject<{
9793
9475
  start: string;
9794
9476
  end: string;
9795
9477
  } | null | undefined> | null | undefined;
9796
- actionDetails?: {
9797
- templateId?: string | undefined;
9798
- isImmediateCorrection?: boolean | undefined;
9799
- } | null | undefined;
9800
9478
  originalActionId?: string | null | undefined;
9801
9479
  } | {
9802
9480
  type: "REGISTER";
@@ -9823,8 +9501,8 @@ export declare const EventDocument: z.ZodObject<{
9823
9501
  street?: string | null | undefined;
9824
9502
  zipCode?: string | null | undefined;
9825
9503
  } | {
9826
- firstname?: string | null | undefined;
9827
- surname?: string | null | undefined;
9504
+ firstname: string;
9505
+ surname: string;
9828
9506
  middlename?: string | null | undefined;
9829
9507
  } | {
9830
9508
  country: string;
@@ -9870,8 +9548,8 @@ export declare const EventDocument: z.ZodObject<{
9870
9548
  street?: string | null | undefined;
9871
9549
  zipCode?: string | null | undefined;
9872
9550
  } | {
9873
- firstname?: string | null | undefined;
9874
- surname?: string | null | undefined;
9551
+ firstname: string;
9552
+ surname: string;
9875
9553
  middlename?: string | null | undefined;
9876
9554
  } | {
9877
9555
  country: string;
@@ -9899,10 +9577,6 @@ export declare const EventDocument: z.ZodObject<{
9899
9577
  start: string;
9900
9578
  end: string;
9901
9579
  } | null | undefined> | null | undefined;
9902
- actionDetails?: {
9903
- templateId?: string | undefined;
9904
- isImmediateCorrection?: boolean | undefined;
9905
- } | null | undefined;
9906
9580
  originalActionId?: string | null | undefined;
9907
9581
  registrationNumber?: string | undefined;
9908
9582
  } | {
@@ -9930,8 +9604,8 @@ export declare const EventDocument: z.ZodObject<{
9930
9604
  street?: string | null | undefined;
9931
9605
  zipCode?: string | null | undefined;
9932
9606
  } | {
9933
- firstname?: string | null | undefined;
9934
- surname?: string | null | undefined;
9607
+ firstname: string;
9608
+ surname: string;
9935
9609
  middlename?: string | null | undefined;
9936
9610
  } | {
9937
9611
  country: string;
@@ -9977,8 +9651,8 @@ export declare const EventDocument: z.ZodObject<{
9977
9651
  street?: string | null | undefined;
9978
9652
  zipCode?: string | null | undefined;
9979
9653
  } | {
9980
- firstname?: string | null | undefined;
9981
- surname?: string | null | undefined;
9654
+ firstname: string;
9655
+ surname: string;
9982
9656
  middlename?: string | null | undefined;
9983
9657
  } | {
9984
9658
  country: string;
@@ -10006,10 +9680,6 @@ export declare const EventDocument: z.ZodObject<{
10006
9680
  start: string;
10007
9681
  end: string;
10008
9682
  } | null | undefined> | null | undefined;
10009
- actionDetails?: {
10010
- templateId?: string | undefined;
10011
- isImmediateCorrection?: boolean | undefined;
10012
- } | null | undefined;
10013
9683
  originalActionId?: string | null | undefined;
10014
9684
  } | {
10015
9685
  type: "VALIDATE";
@@ -10036,8 +9706,8 @@ export declare const EventDocument: z.ZodObject<{
10036
9706
  street?: string | null | undefined;
10037
9707
  zipCode?: string | null | undefined;
10038
9708
  } | {
10039
- firstname?: string | null | undefined;
10040
- surname?: string | null | undefined;
9709
+ firstname: string;
9710
+ surname: string;
10041
9711
  middlename?: string | null | undefined;
10042
9712
  } | {
10043
9713
  country: string;
@@ -10083,8 +9753,8 @@ export declare const EventDocument: z.ZodObject<{
10083
9753
  street?: string | null | undefined;
10084
9754
  zipCode?: string | null | undefined;
10085
9755
  } | {
10086
- firstname?: string | null | undefined;
10087
- surname?: string | null | undefined;
9756
+ firstname: string;
9757
+ surname: string;
10088
9758
  middlename?: string | null | undefined;
10089
9759
  } | {
10090
9760
  country: string;
@@ -10112,10 +9782,6 @@ export declare const EventDocument: z.ZodObject<{
10112
9782
  start: string;
10113
9783
  end: string;
10114
9784
  } | null | undefined> | null | undefined;
10115
- actionDetails?: {
10116
- templateId?: string | undefined;
10117
- isImmediateCorrection?: boolean | undefined;
10118
- } | null | undefined;
10119
9785
  originalActionId?: string | null | undefined;
10120
9786
  } | {
10121
9787
  type: "REJECT";
@@ -10146,8 +9812,8 @@ export declare const EventDocument: z.ZodObject<{
10146
9812
  street?: string | null | undefined;
10147
9813
  zipCode?: string | null | undefined;
10148
9814
  } | {
10149
- firstname?: string | null | undefined;
10150
- surname?: string | null | undefined;
9815
+ firstname: string;
9816
+ surname: string;
10151
9817
  middlename?: string | null | undefined;
10152
9818
  } | {
10153
9819
  country: string;
@@ -10193,8 +9859,8 @@ export declare const EventDocument: z.ZodObject<{
10193
9859
  street?: string | null | undefined;
10194
9860
  zipCode?: string | null | undefined;
10195
9861
  } | {
10196
- firstname?: string | null | undefined;
10197
- surname?: string | null | undefined;
9862
+ firstname: string;
9863
+ surname: string;
10198
9864
  middlename?: string | null | undefined;
10199
9865
  } | {
10200
9866
  country: string;
@@ -10222,10 +9888,6 @@ export declare const EventDocument: z.ZodObject<{
10222
9888
  start: string;
10223
9889
  end: string;
10224
9890
  } | null | undefined> | null | undefined;
10225
- actionDetails?: {
10226
- templateId?: string | undefined;
10227
- isImmediateCorrection?: boolean | undefined;
10228
- } | null | undefined;
10229
9891
  originalActionId?: string | null | undefined;
10230
9892
  } | {
10231
9893
  type: "MARKED_AS_DUPLICATE";
@@ -10252,8 +9914,8 @@ export declare const EventDocument: z.ZodObject<{
10252
9914
  street?: string | null | undefined;
10253
9915
  zipCode?: string | null | undefined;
10254
9916
  } | {
10255
- firstname?: string | null | undefined;
10256
- surname?: string | null | undefined;
9917
+ firstname: string;
9918
+ surname: string;
10257
9919
  middlename?: string | null | undefined;
10258
9920
  } | {
10259
9921
  country: string;
@@ -10299,8 +9961,8 @@ export declare const EventDocument: z.ZodObject<{
10299
9961
  street?: string | null | undefined;
10300
9962
  zipCode?: string | null | undefined;
10301
9963
  } | {
10302
- firstname?: string | null | undefined;
10303
- surname?: string | null | undefined;
9964
+ firstname: string;
9965
+ surname: string;
10304
9966
  middlename?: string | null | undefined;
10305
9967
  } | {
10306
9968
  country: string;
@@ -10328,10 +9990,6 @@ export declare const EventDocument: z.ZodObject<{
10328
9990
  start: string;
10329
9991
  end: string;
10330
9992
  } | null | undefined> | null | undefined;
10331
- actionDetails?: {
10332
- templateId?: string | undefined;
10333
- isImmediateCorrection?: boolean | undefined;
10334
- } | null | undefined;
10335
9993
  originalActionId?: string | null | undefined;
10336
9994
  } | {
10337
9995
  type: "ARCHIVE";
@@ -10362,8 +10020,8 @@ export declare const EventDocument: z.ZodObject<{
10362
10020
  street?: string | null | undefined;
10363
10021
  zipCode?: string | null | undefined;
10364
10022
  } | {
10365
- firstname?: string | null | undefined;
10366
- surname?: string | null | undefined;
10023
+ firstname: string;
10024
+ surname: string;
10367
10025
  middlename?: string | null | undefined;
10368
10026
  } | {
10369
10027
  country: string;
@@ -10409,8 +10067,8 @@ export declare const EventDocument: z.ZodObject<{
10409
10067
  street?: string | null | undefined;
10410
10068
  zipCode?: string | null | undefined;
10411
10069
  } | {
10412
- firstname?: string | null | undefined;
10413
- surname?: string | null | undefined;
10070
+ firstname: string;
10071
+ surname: string;
10414
10072
  middlename?: string | null | undefined;
10415
10073
  } | {
10416
10074
  country: string;
@@ -10438,10 +10096,6 @@ export declare const EventDocument: z.ZodObject<{
10438
10096
  start: string;
10439
10097
  end: string;
10440
10098
  } | null | undefined> | null | undefined;
10441
- actionDetails?: {
10442
- templateId?: string | undefined;
10443
- isImmediateCorrection?: boolean | undefined;
10444
- } | null | undefined;
10445
10099
  originalActionId?: string | null | undefined;
10446
10100
  } | {
10447
10101
  type: "CREATE";
@@ -10468,8 +10122,8 @@ export declare const EventDocument: z.ZodObject<{
10468
10122
  street?: string | null | undefined;
10469
10123
  zipCode?: string | null | undefined;
10470
10124
  } | {
10471
- firstname?: string | null | undefined;
10472
- surname?: string | null | undefined;
10125
+ firstname: string;
10126
+ surname: string;
10473
10127
  middlename?: string | null | undefined;
10474
10128
  } | {
10475
10129
  country: string;
@@ -10515,8 +10169,8 @@ export declare const EventDocument: z.ZodObject<{
10515
10169
  street?: string | null | undefined;
10516
10170
  zipCode?: string | null | undefined;
10517
10171
  } | {
10518
- firstname?: string | null | undefined;
10519
- surname?: string | null | undefined;
10172
+ firstname: string;
10173
+ surname: string;
10520
10174
  middlename?: string | null | undefined;
10521
10175
  } | {
10522
10176
  country: string;
@@ -10544,10 +10198,6 @@ export declare const EventDocument: z.ZodObject<{
10544
10198
  start: string;
10545
10199
  end: string;
10546
10200
  } | null | undefined> | null | undefined;
10547
- actionDetails?: {
10548
- templateId?: string | undefined;
10549
- isImmediateCorrection?: boolean | undefined;
10550
- } | null | undefined;
10551
10201
  originalActionId?: string | null | undefined;
10552
10202
  } | {
10553
10203
  type: "NOTIFY";
@@ -10574,8 +10224,8 @@ export declare const EventDocument: z.ZodObject<{
10574
10224
  street?: string | null | undefined;
10575
10225
  zipCode?: string | null | undefined;
10576
10226
  } | {
10577
- firstname?: string | null | undefined;
10578
- surname?: string | null | undefined;
10227
+ firstname: string;
10228
+ surname: string;
10579
10229
  middlename?: string | null | undefined;
10580
10230
  } | {
10581
10231
  country: string;
@@ -10621,8 +10271,8 @@ export declare const EventDocument: z.ZodObject<{
10621
10271
  street?: string | null | undefined;
10622
10272
  zipCode?: string | null | undefined;
10623
10273
  } | {
10624
- firstname?: string | null | undefined;
10625
- surname?: string | null | undefined;
10274
+ firstname: string;
10275
+ surname: string;
10626
10276
  middlename?: string | null | undefined;
10627
10277
  } | {
10628
10278
  country: string;
@@ -10650,10 +10300,6 @@ export declare const EventDocument: z.ZodObject<{
10650
10300
  start: string;
10651
10301
  end: string;
10652
10302
  } | null | undefined> | null | undefined;
10653
- actionDetails?: {
10654
- templateId?: string | undefined;
10655
- isImmediateCorrection?: boolean | undefined;
10656
- } | null | undefined;
10657
10303
  originalActionId?: string | null | undefined;
10658
10304
  } | {
10659
10305
  type: "PRINT_CERTIFICATE";
@@ -10680,8 +10326,8 @@ export declare const EventDocument: z.ZodObject<{
10680
10326
  street?: string | null | undefined;
10681
10327
  zipCode?: string | null | undefined;
10682
10328
  } | {
10683
- firstname?: string | null | undefined;
10684
- surname?: string | null | undefined;
10329
+ firstname: string;
10330
+ surname: string;
10685
10331
  middlename?: string | null | undefined;
10686
10332
  } | {
10687
10333
  country: string;
@@ -10709,6 +10355,9 @@ export declare const EventDocument: z.ZodObject<{
10709
10355
  start: string;
10710
10356
  end: string;
10711
10357
  } | null | undefined>;
10358
+ content?: {
10359
+ templateId?: string | undefined;
10360
+ } | null | undefined;
10712
10361
  createdBySignature?: string | null | undefined;
10713
10362
  createdAtLocation?: string | null | undefined;
10714
10363
  annotation?: Record<string, string | number | boolean | {
@@ -10727,8 +10376,8 @@ export declare const EventDocument: z.ZodObject<{
10727
10376
  street?: string | null | undefined;
10728
10377
  zipCode?: string | null | undefined;
10729
10378
  } | {
10730
- firstname?: string | null | undefined;
10731
- surname?: string | null | undefined;
10379
+ firstname: string;
10380
+ surname: string;
10732
10381
  middlename?: string | null | undefined;
10733
10382
  } | {
10734
10383
  country: string;
@@ -10756,10 +10405,6 @@ export declare const EventDocument: z.ZodObject<{
10756
10405
  start: string;
10757
10406
  end: string;
10758
10407
  } | null | undefined> | null | undefined;
10759
- actionDetails?: {
10760
- templateId?: string | undefined;
10761
- isImmediateCorrection?: boolean | undefined;
10762
- } | null | undefined;
10763
10408
  originalActionId?: string | null | undefined;
10764
10409
  } | {
10765
10410
  type: "REQUEST_CORRECTION";
@@ -10786,8 +10431,8 @@ export declare const EventDocument: z.ZodObject<{
10786
10431
  street?: string | null | undefined;
10787
10432
  zipCode?: string | null | undefined;
10788
10433
  } | {
10789
- firstname?: string | null | undefined;
10790
- surname?: string | null | undefined;
10434
+ firstname: string;
10435
+ surname: string;
10791
10436
  middlename?: string | null | undefined;
10792
10437
  } | {
10793
10438
  country: string;
@@ -10833,8 +10478,8 @@ export declare const EventDocument: z.ZodObject<{
10833
10478
  street?: string | null | undefined;
10834
10479
  zipCode?: string | null | undefined;
10835
10480
  } | {
10836
- firstname?: string | null | undefined;
10837
- surname?: string | null | undefined;
10481
+ firstname: string;
10482
+ surname: string;
10838
10483
  middlename?: string | null | undefined;
10839
10484
  } | {
10840
10485
  country: string;
@@ -10862,10 +10507,6 @@ export declare const EventDocument: z.ZodObject<{
10862
10507
  start: string;
10863
10508
  end: string;
10864
10509
  } | null | undefined> | null | undefined;
10865
- actionDetails?: {
10866
- templateId?: string | undefined;
10867
- isImmediateCorrection?: boolean | undefined;
10868
- } | null | undefined;
10869
10510
  originalActionId?: string | null | undefined;
10870
10511
  } | {
10871
10512
  type: "APPROVE_CORRECTION";
@@ -10892,8 +10533,8 @@ export declare const EventDocument: z.ZodObject<{
10892
10533
  street?: string | null | undefined;
10893
10534
  zipCode?: string | null | undefined;
10894
10535
  } | {
10895
- firstname?: string | null | undefined;
10896
- surname?: string | null | undefined;
10536
+ firstname: string;
10537
+ surname: string;
10897
10538
  middlename?: string | null | undefined;
10898
10539
  } | {
10899
10540
  country: string;
@@ -10940,8 +10581,8 @@ export declare const EventDocument: z.ZodObject<{
10940
10581
  street?: string | null | undefined;
10941
10582
  zipCode?: string | null | undefined;
10942
10583
  } | {
10943
- firstname?: string | null | undefined;
10944
- surname?: string | null | undefined;
10584
+ firstname: string;
10585
+ surname: string;
10945
10586
  middlename?: string | null | undefined;
10946
10587
  } | {
10947
10588
  country: string;
@@ -10969,15 +10610,15 @@ export declare const EventDocument: z.ZodObject<{
10969
10610
  start: string;
10970
10611
  end: string;
10971
10612
  } | null | undefined> | null | undefined;
10972
- actionDetails?: {
10973
- templateId?: string | undefined;
10974
- isImmediateCorrection?: boolean | undefined;
10975
- } | null | undefined;
10976
10613
  originalActionId?: string | null | undefined;
10977
10614
  } | {
10978
10615
  type: "REJECT_CORRECTION";
10979
10616
  id: string;
10980
10617
  status: "Rejected" | "Requested" | "Accepted";
10618
+ reason: {
10619
+ message: string;
10620
+ isDuplicate?: boolean | undefined;
10621
+ };
10981
10622
  transactionId: string;
10982
10623
  createdByUserType: "system" | "user";
10983
10624
  createdAt: string;
@@ -10999,8 +10640,8 @@ export declare const EventDocument: z.ZodObject<{
10999
10640
  street?: string | null | undefined;
11000
10641
  zipCode?: string | null | undefined;
11001
10642
  } | {
11002
- firstname?: string | null | undefined;
11003
- surname?: string | null | undefined;
10643
+ firstname: string;
10644
+ surname: string;
11004
10645
  middlename?: string | null | undefined;
11005
10646
  } | {
11006
10647
  country: string;
@@ -11047,8 +10688,8 @@ export declare const EventDocument: z.ZodObject<{
11047
10688
  street?: string | null | undefined;
11048
10689
  zipCode?: string | null | undefined;
11049
10690
  } | {
11050
- firstname?: string | null | undefined;
11051
- surname?: string | null | undefined;
10691
+ firstname: string;
10692
+ surname: string;
11052
10693
  middlename?: string | null | undefined;
11053
10694
  } | {
11054
10695
  country: string;
@@ -11076,10 +10717,6 @@ export declare const EventDocument: z.ZodObject<{
11076
10717
  start: string;
11077
10718
  end: string;
11078
10719
  } | null | undefined> | null | undefined;
11079
- actionDetails?: {
11080
- templateId?: string | undefined;
11081
- isImmediateCorrection?: boolean | undefined;
11082
- } | null | undefined;
11083
10720
  originalActionId?: string | null | undefined;
11084
10721
  } | {
11085
10722
  type: "READ";
@@ -11106,8 +10743,8 @@ export declare const EventDocument: z.ZodObject<{
11106
10743
  street?: string | null | undefined;
11107
10744
  zipCode?: string | null | undefined;
11108
10745
  } | {
11109
- firstname?: string | null | undefined;
11110
- surname?: string | null | undefined;
10746
+ firstname: string;
10747
+ surname: string;
11111
10748
  middlename?: string | null | undefined;
11112
10749
  } | {
11113
10750
  country: string;
@@ -11153,8 +10790,8 @@ export declare const EventDocument: z.ZodObject<{
11153
10790
  street?: string | null | undefined;
11154
10791
  zipCode?: string | null | undefined;
11155
10792
  } | {
11156
- firstname?: string | null | undefined;
11157
- surname?: string | null | undefined;
10793
+ firstname: string;
10794
+ surname: string;
11158
10795
  middlename?: string | null | undefined;
11159
10796
  } | {
11160
10797
  country: string;
@@ -11182,10 +10819,6 @@ export declare const EventDocument: z.ZodObject<{
11182
10819
  start: string;
11183
10820
  end: string;
11184
10821
  } | null | undefined> | null | undefined;
11185
- actionDetails?: {
11186
- templateId?: string | undefined;
11187
- isImmediateCorrection?: boolean | undefined;
11188
- } | null | undefined;
11189
10822
  originalActionId?: string | null | undefined;
11190
10823
  } | {
11191
10824
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -11198,10 +10831,6 @@ export declare const EventDocument: z.ZodObject<{
11198
10831
  createdByRole: string;
11199
10832
  createdBySignature?: string | null | undefined;
11200
10833
  createdAtLocation?: string | null | undefined;
11201
- actionDetails?: {
11202
- templateId?: string | undefined;
11203
- isImmediateCorrection?: boolean | undefined;
11204
- } | null | undefined;
11205
10834
  originalActionId?: string | null | undefined;
11206
10835
  })[];
11207
10836
  trackingId: string;