@opencrvs/toolkit 1.8.1-rc.5c415ba → 1.8.1-rc.60d51af

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 +409 -800
  2. package/dist/commons/conditionals/validate.d.ts +8 -0
  3. package/dist/commons/events/ActionConfig.d.ts +2004 -366
  4. package/dist/commons/events/ActionDocument.d.ts +1264 -1387
  5. package/dist/commons/events/ActionInput.d.ts +622 -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 +695 -168
  11. package/dist/commons/events/EventDocument.d.ts +449 -846
  12. package/dist/commons/events/EventIndex.d.ts +184 -68
  13. package/dist/commons/events/EventMetadata.d.ts +9 -15
  14. package/dist/commons/events/FieldConfig.d.ts +254 -43
  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 +1032 -246
  18. package/dist/commons/events/PageConfig.d.ts +264 -46
  19. package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
  20. package/dist/commons/events/defineConfig.d.ts +129 -30
  21. package/dist/commons/events/event.d.ts +14 -6
  22. package/dist/commons/events/field.d.ts +14 -0
  23. package/dist/commons/events/test.utils.d.ts +12 -12
  24. package/dist/commons/events/utils.d.ts +236 -64
  25. package/dist/conditionals/index.js +3 -2
  26. package/dist/events/index.js +153 -82
  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,28 +5673,18 @@ 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
  }, {
@@ -5937,8 +5729,8 @@ export declare const EventDocument: z.ZodObject<{
5937
5729
  street?: string | null | undefined;
5938
5730
  zipCode?: string | null | undefined;
5939
5731
  } | {
5940
- firstname?: string | null | undefined;
5941
- surname?: string | null | undefined;
5732
+ firstname: string;
5733
+ surname: string;
5942
5734
  middlename?: string | null | undefined;
5943
5735
  } | {
5944
5736
  country: string;
@@ -5985,8 +5777,8 @@ export declare const EventDocument: z.ZodObject<{
5985
5777
  street?: string | null | undefined;
5986
5778
  zipCode?: string | null | undefined;
5987
5779
  } | {
5988
- firstname?: string | null | undefined;
5989
- surname?: string | null | undefined;
5780
+ firstname: string;
5781
+ surname: string;
5990
5782
  middlename?: string | null | undefined;
5991
5783
  } | {
5992
5784
  country: string;
@@ -6014,10 +5806,6 @@ export declare const EventDocument: z.ZodObject<{
6014
5806
  start: string;
6015
5807
  end: string;
6016
5808
  } | null | undefined> | null | undefined;
6017
- actionDetails?: {
6018
- templateId?: string | undefined;
6019
- isImmediateCorrection?: boolean | undefined;
6020
- } | null | undefined;
6021
5809
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6022
5810
  }, {
6023
5811
  type: "REJECT_CORRECTION";
@@ -6048,8 +5836,8 @@ export declare const EventDocument: z.ZodObject<{
6048
5836
  street?: string | null | undefined;
6049
5837
  zipCode?: string | null | undefined;
6050
5838
  } | {
6051
- firstname?: string | null | undefined;
6052
- surname?: string | null | undefined;
5839
+ firstname: string;
5840
+ surname: string;
6053
5841
  middlename?: string | null | undefined;
6054
5842
  } | {
6055
5843
  country: string;
@@ -6096,8 +5884,8 @@ export declare const EventDocument: z.ZodObject<{
6096
5884
  street?: string | null | undefined;
6097
5885
  zipCode?: string | null | undefined;
6098
5886
  } | {
6099
- firstname?: string | null | undefined;
6100
- surname?: string | null | undefined;
5887
+ firstname: string;
5888
+ surname: string;
6101
5889
  middlename?: string | null | undefined;
6102
5890
  } | {
6103
5891
  country: string;
@@ -6125,10 +5913,6 @@ export declare const EventDocument: z.ZodObject<{
6125
5913
  start: string;
6126
5914
  end: string;
6127
5915
  } | null | undefined> | null | undefined;
6128
- actionDetails?: {
6129
- templateId?: string | undefined;
6130
- isImmediateCorrection?: boolean | undefined;
6131
- } | null | undefined;
6132
5916
  originalActionId?: string | null | undefined;
6133
5917
  }>, z.ZodObject<z.objectUtil.extendShape<{
6134
5918
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6262,16 +6046,16 @@ export declare const EventDocument: z.ZodObject<{
6262
6046
  addressLine3?: string | null | undefined;
6263
6047
  postcodeOrZip?: string | null | undefined;
6264
6048
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6265
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6266
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6049
+ firstname: z.ZodString;
6050
+ surname: z.ZodString;
6267
6051
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6268
6052
  }, "strip", z.ZodTypeAny, {
6269
- firstname?: string | null | undefined;
6270
- surname?: string | null | undefined;
6053
+ firstname: string;
6054
+ surname: string;
6271
6055
  middlename?: string | null | undefined;
6272
6056
  }, {
6273
- firstname?: string | null | undefined;
6274
- surname?: string | null | undefined;
6057
+ firstname: string;
6058
+ surname: string;
6275
6059
  middlename?: string | null | undefined;
6276
6060
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6277
6061
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -6397,28 +6181,18 @@ export declare const EventDocument: z.ZodObject<{
6397
6181
  addressLine3?: string | null | undefined;
6398
6182
  postcodeOrZip?: string | null | undefined;
6399
6183
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6400
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6401
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6184
+ firstname: z.ZodString;
6185
+ surname: z.ZodString;
6402
6186
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6403
6187
  }, "strip", z.ZodTypeAny, {
6404
- firstname?: string | null | undefined;
6405
- surname?: string | null | undefined;
6188
+ firstname: string;
6189
+ surname: string;
6406
6190
  middlename?: string | null | undefined;
6407
6191
  }, {
6408
- firstname?: string | null | undefined;
6409
- surname?: string | null | undefined;
6192
+ firstname: string;
6193
+ surname: string;
6410
6194
  middlename?: string | null | undefined;
6411
6195
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6412
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6413
- templateId: z.ZodOptional<z.ZodString>;
6414
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6415
- }, "strip", z.ZodTypeAny, {
6416
- templateId?: string | undefined;
6417
- isImmediateCorrection?: boolean | undefined;
6418
- }, {
6419
- templateId?: string | undefined;
6420
- isImmediateCorrection?: boolean | undefined;
6421
- }>>>;
6422
6196
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6423
6197
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6424
6198
  }, {
@@ -6448,8 +6222,8 @@ export declare const EventDocument: z.ZodObject<{
6448
6222
  street?: string | null | undefined;
6449
6223
  zipCode?: string | null | undefined;
6450
6224
  } | {
6451
- firstname?: string | null | undefined;
6452
- surname?: string | null | undefined;
6225
+ firstname: string;
6226
+ surname: string;
6453
6227
  middlename?: string | null | undefined;
6454
6228
  } | {
6455
6229
  country: string;
@@ -6495,8 +6269,8 @@ export declare const EventDocument: z.ZodObject<{
6495
6269
  street?: string | null | undefined;
6496
6270
  zipCode?: string | null | undefined;
6497
6271
  } | {
6498
- firstname?: string | null | undefined;
6499
- surname?: string | null | undefined;
6272
+ firstname: string;
6273
+ surname: string;
6500
6274
  middlename?: string | null | undefined;
6501
6275
  } | {
6502
6276
  country: string;
@@ -6524,10 +6298,6 @@ export declare const EventDocument: z.ZodObject<{
6524
6298
  start: string;
6525
6299
  end: string;
6526
6300
  } | null | undefined> | null | undefined;
6527
- actionDetails?: {
6528
- templateId?: string | undefined;
6529
- isImmediateCorrection?: boolean | undefined;
6530
- } | null | undefined;
6531
6301
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6532
6302
  }, {
6533
6303
  type: "UNASSIGN";
@@ -6554,8 +6324,8 @@ export declare const EventDocument: z.ZodObject<{
6554
6324
  street?: string | null | undefined;
6555
6325
  zipCode?: string | null | undefined;
6556
6326
  } | {
6557
- firstname?: string | null | undefined;
6558
- surname?: string | null | undefined;
6327
+ firstname: string;
6328
+ surname: string;
6559
6329
  middlename?: string | null | undefined;
6560
6330
  } | {
6561
6331
  country: string;
@@ -6601,8 +6371,8 @@ export declare const EventDocument: z.ZodObject<{
6601
6371
  street?: string | null | undefined;
6602
6372
  zipCode?: string | null | undefined;
6603
6373
  } | {
6604
- firstname?: string | null | undefined;
6605
- surname?: string | null | undefined;
6374
+ firstname: string;
6375
+ surname: string;
6606
6376
  middlename?: string | null | undefined;
6607
6377
  } | {
6608
6378
  country: string;
@@ -6630,10 +6400,6 @@ export declare const EventDocument: z.ZodObject<{
6630
6400
  start: string;
6631
6401
  end: string;
6632
6402
  } | null | undefined> | null | undefined;
6633
- actionDetails?: {
6634
- templateId?: string | undefined;
6635
- isImmediateCorrection?: boolean | undefined;
6636
- } | null | undefined;
6637
6403
  originalActionId?: string | null | undefined;
6638
6404
  }>, z.ZodObject<z.objectUtil.extendShape<{
6639
6405
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6767,16 +6533,16 @@ export declare const EventDocument: z.ZodObject<{
6767
6533
  addressLine3?: string | null | undefined;
6768
6534
  postcodeOrZip?: string | null | undefined;
6769
6535
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6770
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6771
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6536
+ firstname: z.ZodString;
6537
+ surname: z.ZodString;
6772
6538
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6773
6539
  }, "strip", z.ZodTypeAny, {
6774
- firstname?: string | null | undefined;
6775
- surname?: string | null | undefined;
6540
+ firstname: string;
6541
+ surname: string;
6776
6542
  middlename?: string | null | undefined;
6777
6543
  }, {
6778
- firstname?: string | null | undefined;
6779
- surname?: string | null | undefined;
6544
+ firstname: string;
6545
+ surname: string;
6780
6546
  middlename?: string | null | undefined;
6781
6547
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6782
6548
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -6902,32 +6668,29 @@ export declare const EventDocument: z.ZodObject<{
6902
6668
  addressLine3?: string | null | undefined;
6903
6669
  postcodeOrZip?: string | null | undefined;
6904
6670
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6905
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6906
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6671
+ firstname: z.ZodString;
6672
+ surname: z.ZodString;
6907
6673
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6908
6674
  }, "strip", z.ZodTypeAny, {
6909
- firstname?: string | null | undefined;
6910
- surname?: string | null | undefined;
6675
+ firstname: string;
6676
+ surname: string;
6911
6677
  middlename?: string | null | undefined;
6912
6678
  }, {
6913
- firstname?: string | null | undefined;
6914
- surname?: string | null | undefined;
6679
+ firstname: string;
6680
+ surname: string;
6915
6681
  middlename?: string | null | undefined;
6916
6682
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6917
- 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<{
6918
6688
  templateId: z.ZodOptional<z.ZodString>;
6919
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6920
6689
  }, "strip", z.ZodTypeAny, {
6921
6690
  templateId?: string | undefined;
6922
- isImmediateCorrection?: boolean | undefined;
6923
6691
  }, {
6924
6692
  templateId?: string | undefined;
6925
- isImmediateCorrection?: boolean | undefined;
6926
6693
  }>>>;
6927
- status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6928
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6929
- }, {
6930
- type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6931
6694
  }>, "strip", z.ZodTypeAny, {
6932
6695
  type: "PRINT_CERTIFICATE";
6933
6696
  id: string & z.BRAND<"UUID">;
@@ -6953,8 +6716,8 @@ export declare const EventDocument: z.ZodObject<{
6953
6716
  street?: string | null | undefined;
6954
6717
  zipCode?: string | null | undefined;
6955
6718
  } | {
6956
- firstname?: string | null | undefined;
6957
- surname?: string | null | undefined;
6719
+ firstname: string;
6720
+ surname: string;
6958
6721
  middlename?: string | null | undefined;
6959
6722
  } | {
6960
6723
  country: string;
@@ -6982,6 +6745,9 @@ export declare const EventDocument: z.ZodObject<{
6982
6745
  start: string;
6983
6746
  end: string;
6984
6747
  } | null | undefined>;
6748
+ content?: {
6749
+ templateId?: string | undefined;
6750
+ } | null | undefined;
6985
6751
  createdBySignature?: string | null | undefined;
6986
6752
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6987
6753
  annotation?: Record<string, string | number | boolean | {
@@ -7000,8 +6766,8 @@ export declare const EventDocument: z.ZodObject<{
7000
6766
  street?: string | null | undefined;
7001
6767
  zipCode?: string | null | undefined;
7002
6768
  } | {
7003
- firstname?: string | null | undefined;
7004
- surname?: string | null | undefined;
6769
+ firstname: string;
6770
+ surname: string;
7005
6771
  middlename?: string | null | undefined;
7006
6772
  } | {
7007
6773
  country: string;
@@ -7029,10 +6795,6 @@ export declare const EventDocument: z.ZodObject<{
7029
6795
  start: string;
7030
6796
  end: string;
7031
6797
  } | null | undefined> | null | undefined;
7032
- actionDetails?: {
7033
- templateId?: string | undefined;
7034
- isImmediateCorrection?: boolean | undefined;
7035
- } | null | undefined;
7036
6798
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7037
6799
  }, {
7038
6800
  type: "PRINT_CERTIFICATE";
@@ -7059,8 +6821,8 @@ export declare const EventDocument: z.ZodObject<{
7059
6821
  street?: string | null | undefined;
7060
6822
  zipCode?: string | null | undefined;
7061
6823
  } | {
7062
- firstname?: string | null | undefined;
7063
- surname?: string | null | undefined;
6824
+ firstname: string;
6825
+ surname: string;
7064
6826
  middlename?: string | null | undefined;
7065
6827
  } | {
7066
6828
  country: string;
@@ -7088,6 +6850,9 @@ export declare const EventDocument: z.ZodObject<{
7088
6850
  start: string;
7089
6851
  end: string;
7090
6852
  } | null | undefined>;
6853
+ content?: {
6854
+ templateId?: string | undefined;
6855
+ } | null | undefined;
7091
6856
  createdBySignature?: string | null | undefined;
7092
6857
  createdAtLocation?: string | null | undefined;
7093
6858
  annotation?: Record<string, string | number | boolean | {
@@ -7106,8 +6871,8 @@ export declare const EventDocument: z.ZodObject<{
7106
6871
  street?: string | null | undefined;
7107
6872
  zipCode?: string | null | undefined;
7108
6873
  } | {
7109
- firstname?: string | null | undefined;
7110
- surname?: string | null | undefined;
6874
+ firstname: string;
6875
+ surname: string;
7111
6876
  middlename?: string | null | undefined;
7112
6877
  } | {
7113
6878
  country: string;
@@ -7135,10 +6900,6 @@ export declare const EventDocument: z.ZodObject<{
7135
6900
  start: string;
7136
6901
  end: string;
7137
6902
  } | null | undefined> | null | undefined;
7138
- actionDetails?: {
7139
- templateId?: string | undefined;
7140
- isImmediateCorrection?: boolean | undefined;
7141
- } | null | undefined;
7142
6903
  originalActionId?: string | null | undefined;
7143
6904
  }>, z.ZodObject<z.objectUtil.extendShape<{
7144
6905
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7272,16 +7033,16 @@ export declare const EventDocument: z.ZodObject<{
7272
7033
  addressLine3?: string | null | undefined;
7273
7034
  postcodeOrZip?: string | null | undefined;
7274
7035
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7275
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7276
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
+ firstname: z.ZodString;
7037
+ surname: z.ZodString;
7277
7038
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7278
7039
  }, "strip", z.ZodTypeAny, {
7279
- firstname?: string | null | undefined;
7280
- surname?: string | null | undefined;
7040
+ firstname: string;
7041
+ surname: string;
7281
7042
  middlename?: string | null | undefined;
7282
7043
  }, {
7283
- firstname?: string | null | undefined;
7284
- surname?: string | null | undefined;
7044
+ firstname: string;
7045
+ surname: string;
7285
7046
  middlename?: string | null | undefined;
7286
7047
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7287
7048
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -7407,28 +7168,18 @@ export declare const EventDocument: z.ZodObject<{
7407
7168
  addressLine3?: string | null | undefined;
7408
7169
  postcodeOrZip?: string | null | undefined;
7409
7170
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7410
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7411
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7171
+ firstname: z.ZodString;
7172
+ surname: z.ZodString;
7412
7173
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7413
7174
  }, "strip", z.ZodTypeAny, {
7414
- firstname?: string | null | undefined;
7415
- surname?: string | null | undefined;
7175
+ firstname: string;
7176
+ surname: string;
7416
7177
  middlename?: string | null | undefined;
7417
7178
  }, {
7418
- firstname?: string | null | undefined;
7419
- surname?: string | null | undefined;
7179
+ firstname: string;
7180
+ surname: string;
7420
7181
  middlename?: string | null | undefined;
7421
7182
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7422
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7423
- templateId: z.ZodOptional<z.ZodString>;
7424
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7425
- }, "strip", z.ZodTypeAny, {
7426
- templateId?: string | undefined;
7427
- isImmediateCorrection?: boolean | undefined;
7428
- }, {
7429
- templateId?: string | undefined;
7430
- isImmediateCorrection?: boolean | undefined;
7431
- }>>>;
7432
7183
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7433
7184
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7434
7185
  }, {
@@ -7458,8 +7209,8 @@ export declare const EventDocument: z.ZodObject<{
7458
7209
  street?: string | null | undefined;
7459
7210
  zipCode?: string | null | undefined;
7460
7211
  } | {
7461
- firstname?: string | null | undefined;
7462
- surname?: string | null | undefined;
7212
+ firstname: string;
7213
+ surname: string;
7463
7214
  middlename?: string | null | undefined;
7464
7215
  } | {
7465
7216
  country: string;
@@ -7505,8 +7256,8 @@ export declare const EventDocument: z.ZodObject<{
7505
7256
  street?: string | null | undefined;
7506
7257
  zipCode?: string | null | undefined;
7507
7258
  } | {
7508
- firstname?: string | null | undefined;
7509
- surname?: string | null | undefined;
7259
+ firstname: string;
7260
+ surname: string;
7510
7261
  middlename?: string | null | undefined;
7511
7262
  } | {
7512
7263
  country: string;
@@ -7534,10 +7285,6 @@ export declare const EventDocument: z.ZodObject<{
7534
7285
  start: string;
7535
7286
  end: string;
7536
7287
  } | null | undefined> | null | undefined;
7537
- actionDetails?: {
7538
- templateId?: string | undefined;
7539
- isImmediateCorrection?: boolean | undefined;
7540
- } | null | undefined;
7541
7288
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7542
7289
  }, {
7543
7290
  type: "READ";
@@ -7564,8 +7311,8 @@ export declare const EventDocument: z.ZodObject<{
7564
7311
  street?: string | null | undefined;
7565
7312
  zipCode?: string | null | undefined;
7566
7313
  } | {
7567
- firstname?: string | null | undefined;
7568
- surname?: string | null | undefined;
7314
+ firstname: string;
7315
+ surname: string;
7569
7316
  middlename?: string | null | undefined;
7570
7317
  } | {
7571
7318
  country: string;
@@ -7611,8 +7358,8 @@ export declare const EventDocument: z.ZodObject<{
7611
7358
  street?: string | null | undefined;
7612
7359
  zipCode?: string | null | undefined;
7613
7360
  } | {
7614
- firstname?: string | null | undefined;
7615
- surname?: string | null | undefined;
7361
+ firstname: string;
7362
+ surname: string;
7616
7363
  middlename?: string | null | undefined;
7617
7364
  } | {
7618
7365
  country: string;
@@ -7640,10 +7387,6 @@ export declare const EventDocument: z.ZodObject<{
7640
7387
  start: string;
7641
7388
  end: string;
7642
7389
  } | null | undefined> | null | undefined;
7643
- actionDetails?: {
7644
- templateId?: string | undefined;
7645
- isImmediateCorrection?: boolean | undefined;
7646
- } | null | undefined;
7647
7390
  originalActionId?: string | null | undefined;
7648
7391
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
7649
7392
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7777,16 +7520,16 @@ export declare const EventDocument: z.ZodObject<{
7777
7520
  addressLine3?: string | null | undefined;
7778
7521
  postcodeOrZip?: string | null | undefined;
7779
7522
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7780
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7781
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7523
+ firstname: z.ZodString;
7524
+ surname: z.ZodString;
7782
7525
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7783
7526
  }, "strip", z.ZodTypeAny, {
7784
- firstname?: string | null | undefined;
7785
- surname?: string | null | undefined;
7527
+ firstname: string;
7528
+ surname: string;
7786
7529
  middlename?: string | null | undefined;
7787
7530
  }, {
7788
- firstname?: string | null | undefined;
7789
- surname?: string | null | undefined;
7531
+ firstname: string;
7532
+ surname: string;
7790
7533
  middlename?: string | null | undefined;
7791
7534
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7792
7535
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -7912,28 +7655,18 @@ export declare const EventDocument: z.ZodObject<{
7912
7655
  addressLine3?: string | null | undefined;
7913
7656
  postcodeOrZip?: string | null | undefined;
7914
7657
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7915
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7916
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7658
+ firstname: z.ZodString;
7659
+ surname: z.ZodString;
7917
7660
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7918
7661
  }, "strip", z.ZodTypeAny, {
7919
- firstname?: string | null | undefined;
7920
- surname?: string | null | undefined;
7662
+ firstname: string;
7663
+ surname: string;
7921
7664
  middlename?: string | null | undefined;
7922
7665
  }, {
7923
- firstname?: string | null | undefined;
7924
- surname?: string | null | undefined;
7666
+ firstname: string;
7667
+ surname: string;
7925
7668
  middlename?: string | null | undefined;
7926
7669
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7927
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7928
- templateId: z.ZodOptional<z.ZodString>;
7929
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7930
- }, "strip", z.ZodTypeAny, {
7931
- templateId?: string | undefined;
7932
- isImmediateCorrection?: boolean | undefined;
7933
- }, {
7934
- templateId?: string | undefined;
7935
- isImmediateCorrection?: boolean | undefined;
7936
- }>>>;
7937
7670
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7938
7671
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7939
7672
  }, "declaration" | "annotation">, {
@@ -7950,10 +7683,6 @@ export declare const EventDocument: z.ZodObject<{
7950
7683
  createdByRole: string;
7951
7684
  createdBySignature?: string | null | undefined;
7952
7685
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7953
- actionDetails?: {
7954
- templateId?: string | undefined;
7955
- isImmediateCorrection?: boolean | undefined;
7956
- } | null | undefined;
7957
7686
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7958
7687
  }, {
7959
7688
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -7966,10 +7695,6 @@ export declare const EventDocument: z.ZodObject<{
7966
7695
  createdByRole: string;
7967
7696
  createdBySignature?: string | null | undefined;
7968
7697
  createdAtLocation?: string | null | undefined;
7969
- actionDetails?: {
7970
- templateId?: string | undefined;
7971
- isImmediateCorrection?: boolean | undefined;
7972
- } | null | undefined;
7973
7698
  originalActionId?: string | null | undefined;
7974
7699
  }>]>, "many">;
7975
7700
  trackingId: z.ZodString;
@@ -8003,8 +7728,8 @@ export declare const EventDocument: z.ZodObject<{
8003
7728
  street?: string | null | undefined;
8004
7729
  zipCode?: string | null | undefined;
8005
7730
  } | {
8006
- firstname?: string | null | undefined;
8007
- surname?: string | null | undefined;
7731
+ firstname: string;
7732
+ surname: string;
8008
7733
  middlename?: string | null | undefined;
8009
7734
  } | {
8010
7735
  country: string;
@@ -8051,8 +7776,8 @@ export declare const EventDocument: z.ZodObject<{
8051
7776
  street?: string | null | undefined;
8052
7777
  zipCode?: string | null | undefined;
8053
7778
  } | {
8054
- firstname?: string | null | undefined;
8055
- surname?: string | null | undefined;
7779
+ firstname: string;
7780
+ surname: string;
8056
7781
  middlename?: string | null | undefined;
8057
7782
  } | {
8058
7783
  country: string;
@@ -8080,10 +7805,6 @@ export declare const EventDocument: z.ZodObject<{
8080
7805
  start: string;
8081
7806
  end: string;
8082
7807
  } | null | undefined> | null | undefined;
8083
- actionDetails?: {
8084
- templateId?: string | undefined;
8085
- isImmediateCorrection?: boolean | undefined;
8086
- } | null | undefined;
8087
7808
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8088
7809
  } | {
8089
7810
  type: "UNASSIGN";
@@ -8110,8 +7831,8 @@ export declare const EventDocument: z.ZodObject<{
8110
7831
  street?: string | null | undefined;
8111
7832
  zipCode?: string | null | undefined;
8112
7833
  } | {
8113
- firstname?: string | null | undefined;
8114
- surname?: string | null | undefined;
7834
+ firstname: string;
7835
+ surname: string;
8115
7836
  middlename?: string | null | undefined;
8116
7837
  } | {
8117
7838
  country: string;
@@ -8157,8 +7878,8 @@ export declare const EventDocument: z.ZodObject<{
8157
7878
  street?: string | null | undefined;
8158
7879
  zipCode?: string | null | undefined;
8159
7880
  } | {
8160
- firstname?: string | null | undefined;
8161
- surname?: string | null | undefined;
7881
+ firstname: string;
7882
+ surname: string;
8162
7883
  middlename?: string | null | undefined;
8163
7884
  } | {
8164
7885
  country: string;
@@ -8186,10 +7907,6 @@ export declare const EventDocument: z.ZodObject<{
8186
7907
  start: string;
8187
7908
  end: string;
8188
7909
  } | null | undefined> | null | undefined;
8189
- actionDetails?: {
8190
- templateId?: string | undefined;
8191
- isImmediateCorrection?: boolean | undefined;
8192
- } | null | undefined;
8193
7910
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8194
7911
  } | {
8195
7912
  type: "REGISTER";
@@ -8216,8 +7933,8 @@ export declare const EventDocument: z.ZodObject<{
8216
7933
  street?: string | null | undefined;
8217
7934
  zipCode?: string | null | undefined;
8218
7935
  } | {
8219
- firstname?: string | null | undefined;
8220
- surname?: string | null | undefined;
7936
+ firstname: string;
7937
+ surname: string;
8221
7938
  middlename?: string | null | undefined;
8222
7939
  } | {
8223
7940
  country: string;
@@ -8263,8 +7980,8 @@ export declare const EventDocument: z.ZodObject<{
8263
7980
  street?: string | null | undefined;
8264
7981
  zipCode?: string | null | undefined;
8265
7982
  } | {
8266
- firstname?: string | null | undefined;
8267
- surname?: string | null | undefined;
7983
+ firstname: string;
7984
+ surname: string;
8268
7985
  middlename?: string | null | undefined;
8269
7986
  } | {
8270
7987
  country: string;
@@ -8292,10 +8009,6 @@ export declare const EventDocument: z.ZodObject<{
8292
8009
  start: string;
8293
8010
  end: string;
8294
8011
  } | null | undefined> | null | undefined;
8295
- actionDetails?: {
8296
- templateId?: string | undefined;
8297
- isImmediateCorrection?: boolean | undefined;
8298
- } | null | undefined;
8299
8012
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8300
8013
  registrationNumber?: string | undefined;
8301
8014
  } | {
@@ -8323,8 +8036,8 @@ export declare const EventDocument: z.ZodObject<{
8323
8036
  street?: string | null | undefined;
8324
8037
  zipCode?: string | null | undefined;
8325
8038
  } | {
8326
- firstname?: string | null | undefined;
8327
- surname?: string | null | undefined;
8039
+ firstname: string;
8040
+ surname: string;
8328
8041
  middlename?: string | null | undefined;
8329
8042
  } | {
8330
8043
  country: string;
@@ -8370,8 +8083,8 @@ export declare const EventDocument: z.ZodObject<{
8370
8083
  street?: string | null | undefined;
8371
8084
  zipCode?: string | null | undefined;
8372
8085
  } | {
8373
- firstname?: string | null | undefined;
8374
- surname?: string | null | undefined;
8086
+ firstname: string;
8087
+ surname: string;
8375
8088
  middlename?: string | null | undefined;
8376
8089
  } | {
8377
8090
  country: string;
@@ -8399,10 +8112,6 @@ export declare const EventDocument: z.ZodObject<{
8399
8112
  start: string;
8400
8113
  end: string;
8401
8114
  } | null | undefined> | null | undefined;
8402
- actionDetails?: {
8403
- templateId?: string | undefined;
8404
- isImmediateCorrection?: boolean | undefined;
8405
- } | null | undefined;
8406
8115
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8407
8116
  } | {
8408
8117
  type: "VALIDATE";
@@ -8429,8 +8138,8 @@ export declare const EventDocument: z.ZodObject<{
8429
8138
  street?: string | null | undefined;
8430
8139
  zipCode?: string | null | undefined;
8431
8140
  } | {
8432
- firstname?: string | null | undefined;
8433
- surname?: string | null | undefined;
8141
+ firstname: string;
8142
+ surname: string;
8434
8143
  middlename?: string | null | undefined;
8435
8144
  } | {
8436
8145
  country: string;
@@ -8476,8 +8185,8 @@ export declare const EventDocument: z.ZodObject<{
8476
8185
  street?: string | null | undefined;
8477
8186
  zipCode?: string | null | undefined;
8478
8187
  } | {
8479
- firstname?: string | null | undefined;
8480
- surname?: string | null | undefined;
8188
+ firstname: string;
8189
+ surname: string;
8481
8190
  middlename?: string | null | undefined;
8482
8191
  } | {
8483
8192
  country: string;
@@ -8505,10 +8214,6 @@ export declare const EventDocument: z.ZodObject<{
8505
8214
  start: string;
8506
8215
  end: string;
8507
8216
  } | null | undefined> | null | undefined;
8508
- actionDetails?: {
8509
- templateId?: string | undefined;
8510
- isImmediateCorrection?: boolean | undefined;
8511
- } | null | undefined;
8512
8217
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8513
8218
  } | {
8514
8219
  type: "REJECT";
@@ -8539,8 +8244,8 @@ export declare const EventDocument: z.ZodObject<{
8539
8244
  street?: string | null | undefined;
8540
8245
  zipCode?: string | null | undefined;
8541
8246
  } | {
8542
- firstname?: string | null | undefined;
8543
- surname?: string | null | undefined;
8247
+ firstname: string;
8248
+ surname: string;
8544
8249
  middlename?: string | null | undefined;
8545
8250
  } | {
8546
8251
  country: string;
@@ -8586,8 +8291,8 @@ export declare const EventDocument: z.ZodObject<{
8586
8291
  street?: string | null | undefined;
8587
8292
  zipCode?: string | null | undefined;
8588
8293
  } | {
8589
- firstname?: string | null | undefined;
8590
- surname?: string | null | undefined;
8294
+ firstname: string;
8295
+ surname: string;
8591
8296
  middlename?: string | null | undefined;
8592
8297
  } | {
8593
8298
  country: string;
@@ -8615,10 +8320,6 @@ export declare const EventDocument: z.ZodObject<{
8615
8320
  start: string;
8616
8321
  end: string;
8617
8322
  } | null | undefined> | null | undefined;
8618
- actionDetails?: {
8619
- templateId?: string | undefined;
8620
- isImmediateCorrection?: boolean | undefined;
8621
- } | null | undefined;
8622
8323
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8623
8324
  } | {
8624
8325
  type: "MARKED_AS_DUPLICATE";
@@ -8645,8 +8346,8 @@ export declare const EventDocument: z.ZodObject<{
8645
8346
  street?: string | null | undefined;
8646
8347
  zipCode?: string | null | undefined;
8647
8348
  } | {
8648
- firstname?: string | null | undefined;
8649
- surname?: string | null | undefined;
8349
+ firstname: string;
8350
+ surname: string;
8650
8351
  middlename?: string | null | undefined;
8651
8352
  } | {
8652
8353
  country: string;
@@ -8692,8 +8393,8 @@ export declare const EventDocument: z.ZodObject<{
8692
8393
  street?: string | null | undefined;
8693
8394
  zipCode?: string | null | undefined;
8694
8395
  } | {
8695
- firstname?: string | null | undefined;
8696
- surname?: string | null | undefined;
8396
+ firstname: string;
8397
+ surname: string;
8697
8398
  middlename?: string | null | undefined;
8698
8399
  } | {
8699
8400
  country: string;
@@ -8721,10 +8422,6 @@ export declare const EventDocument: z.ZodObject<{
8721
8422
  start: string;
8722
8423
  end: string;
8723
8424
  } | null | undefined> | null | undefined;
8724
- actionDetails?: {
8725
- templateId?: string | undefined;
8726
- isImmediateCorrection?: boolean | undefined;
8727
- } | null | undefined;
8728
8425
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8729
8426
  } | {
8730
8427
  type: "ARCHIVE";
@@ -8755,8 +8452,8 @@ export declare const EventDocument: z.ZodObject<{
8755
8452
  street?: string | null | undefined;
8756
8453
  zipCode?: string | null | undefined;
8757
8454
  } | {
8758
- firstname?: string | null | undefined;
8759
- surname?: string | null | undefined;
8455
+ firstname: string;
8456
+ surname: string;
8760
8457
  middlename?: string | null | undefined;
8761
8458
  } | {
8762
8459
  country: string;
@@ -8802,8 +8499,8 @@ export declare const EventDocument: z.ZodObject<{
8802
8499
  street?: string | null | undefined;
8803
8500
  zipCode?: string | null | undefined;
8804
8501
  } | {
8805
- firstname?: string | null | undefined;
8806
- surname?: string | null | undefined;
8502
+ firstname: string;
8503
+ surname: string;
8807
8504
  middlename?: string | null | undefined;
8808
8505
  } | {
8809
8506
  country: string;
@@ -8831,10 +8528,6 @@ export declare const EventDocument: z.ZodObject<{
8831
8528
  start: string;
8832
8529
  end: string;
8833
8530
  } | null | undefined> | null | undefined;
8834
- actionDetails?: {
8835
- templateId?: string | undefined;
8836
- isImmediateCorrection?: boolean | undefined;
8837
- } | null | undefined;
8838
8531
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8839
8532
  } | {
8840
8533
  type: "CREATE";
@@ -8861,8 +8554,8 @@ export declare const EventDocument: z.ZodObject<{
8861
8554
  street?: string | null | undefined;
8862
8555
  zipCode?: string | null | undefined;
8863
8556
  } | {
8864
- firstname?: string | null | undefined;
8865
- surname?: string | null | undefined;
8557
+ firstname: string;
8558
+ surname: string;
8866
8559
  middlename?: string | null | undefined;
8867
8560
  } | {
8868
8561
  country: string;
@@ -8908,8 +8601,8 @@ export declare const EventDocument: z.ZodObject<{
8908
8601
  street?: string | null | undefined;
8909
8602
  zipCode?: string | null | undefined;
8910
8603
  } | {
8911
- firstname?: string | null | undefined;
8912
- surname?: string | null | undefined;
8604
+ firstname: string;
8605
+ surname: string;
8913
8606
  middlename?: string | null | undefined;
8914
8607
  } | {
8915
8608
  country: string;
@@ -8937,10 +8630,6 @@ export declare const EventDocument: z.ZodObject<{
8937
8630
  start: string;
8938
8631
  end: string;
8939
8632
  } | null | undefined> | null | undefined;
8940
- actionDetails?: {
8941
- templateId?: string | undefined;
8942
- isImmediateCorrection?: boolean | undefined;
8943
- } | null | undefined;
8944
8633
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8945
8634
  } | {
8946
8635
  type: "NOTIFY";
@@ -8967,8 +8656,8 @@ export declare const EventDocument: z.ZodObject<{
8967
8656
  street?: string | null | undefined;
8968
8657
  zipCode?: string | null | undefined;
8969
8658
  } | {
8970
- firstname?: string | null | undefined;
8971
- surname?: string | null | undefined;
8659
+ firstname: string;
8660
+ surname: string;
8972
8661
  middlename?: string | null | undefined;
8973
8662
  } | {
8974
8663
  country: string;
@@ -9014,8 +8703,8 @@ export declare const EventDocument: z.ZodObject<{
9014
8703
  street?: string | null | undefined;
9015
8704
  zipCode?: string | null | undefined;
9016
8705
  } | {
9017
- firstname?: string | null | undefined;
9018
- surname?: string | null | undefined;
8706
+ firstname: string;
8707
+ surname: string;
9019
8708
  middlename?: string | null | undefined;
9020
8709
  } | {
9021
8710
  country: string;
@@ -9043,10 +8732,6 @@ export declare const EventDocument: z.ZodObject<{
9043
8732
  start: string;
9044
8733
  end: string;
9045
8734
  } | null | undefined> | null | undefined;
9046
- actionDetails?: {
9047
- templateId?: string | undefined;
9048
- isImmediateCorrection?: boolean | undefined;
9049
- } | null | undefined;
9050
8735
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9051
8736
  } | {
9052
8737
  type: "PRINT_CERTIFICATE";
@@ -9073,8 +8758,8 @@ export declare const EventDocument: z.ZodObject<{
9073
8758
  street?: string | null | undefined;
9074
8759
  zipCode?: string | null | undefined;
9075
8760
  } | {
9076
- firstname?: string | null | undefined;
9077
- surname?: string | null | undefined;
8761
+ firstname: string;
8762
+ surname: string;
9078
8763
  middlename?: string | null | undefined;
9079
8764
  } | {
9080
8765
  country: string;
@@ -9102,6 +8787,9 @@ export declare const EventDocument: z.ZodObject<{
9102
8787
  start: string;
9103
8788
  end: string;
9104
8789
  } | null | undefined>;
8790
+ content?: {
8791
+ templateId?: string | undefined;
8792
+ } | null | undefined;
9105
8793
  createdBySignature?: string | null | undefined;
9106
8794
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9107
8795
  annotation?: Record<string, string | number | boolean | {
@@ -9120,8 +8808,8 @@ export declare const EventDocument: z.ZodObject<{
9120
8808
  street?: string | null | undefined;
9121
8809
  zipCode?: string | null | undefined;
9122
8810
  } | {
9123
- firstname?: string | null | undefined;
9124
- surname?: string | null | undefined;
8811
+ firstname: string;
8812
+ surname: string;
9125
8813
  middlename?: string | null | undefined;
9126
8814
  } | {
9127
8815
  country: string;
@@ -9149,10 +8837,6 @@ export declare const EventDocument: z.ZodObject<{
9149
8837
  start: string;
9150
8838
  end: string;
9151
8839
  } | null | undefined> | null | undefined;
9152
- actionDetails?: {
9153
- templateId?: string | undefined;
9154
- isImmediateCorrection?: boolean | undefined;
9155
- } | null | undefined;
9156
8840
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9157
8841
  } | {
9158
8842
  type: "REQUEST_CORRECTION";
@@ -9179,8 +8863,8 @@ export declare const EventDocument: z.ZodObject<{
9179
8863
  street?: string | null | undefined;
9180
8864
  zipCode?: string | null | undefined;
9181
8865
  } | {
9182
- firstname?: string | null | undefined;
9183
- surname?: string | null | undefined;
8866
+ firstname: string;
8867
+ surname: string;
9184
8868
  middlename?: string | null | undefined;
9185
8869
  } | {
9186
8870
  country: string;
@@ -9226,8 +8910,8 @@ export declare const EventDocument: z.ZodObject<{
9226
8910
  street?: string | null | undefined;
9227
8911
  zipCode?: string | null | undefined;
9228
8912
  } | {
9229
- firstname?: string | null | undefined;
9230
- surname?: string | null | undefined;
8913
+ firstname: string;
8914
+ surname: string;
9231
8915
  middlename?: string | null | undefined;
9232
8916
  } | {
9233
8917
  country: string;
@@ -9255,10 +8939,6 @@ export declare const EventDocument: z.ZodObject<{
9255
8939
  start: string;
9256
8940
  end: string;
9257
8941
  } | null | undefined> | null | undefined;
9258
- actionDetails?: {
9259
- templateId?: string | undefined;
9260
- isImmediateCorrection?: boolean | undefined;
9261
- } | null | undefined;
9262
8942
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9263
8943
  } | {
9264
8944
  type: "APPROVE_CORRECTION";
@@ -9285,8 +8965,8 @@ export declare const EventDocument: z.ZodObject<{
9285
8965
  street?: string | null | undefined;
9286
8966
  zipCode?: string | null | undefined;
9287
8967
  } | {
9288
- firstname?: string | null | undefined;
9289
- surname?: string | null | undefined;
8968
+ firstname: string;
8969
+ surname: string;
9290
8970
  middlename?: string | null | undefined;
9291
8971
  } | {
9292
8972
  country: string;
@@ -9333,8 +9013,8 @@ export declare const EventDocument: z.ZodObject<{
9333
9013
  street?: string | null | undefined;
9334
9014
  zipCode?: string | null | undefined;
9335
9015
  } | {
9336
- firstname?: string | null | undefined;
9337
- surname?: string | null | undefined;
9016
+ firstname: string;
9017
+ surname: string;
9338
9018
  middlename?: string | null | undefined;
9339
9019
  } | {
9340
9020
  country: string;
@@ -9362,10 +9042,6 @@ export declare const EventDocument: z.ZodObject<{
9362
9042
  start: string;
9363
9043
  end: string;
9364
9044
  } | null | undefined> | null | undefined;
9365
- actionDetails?: {
9366
- templateId?: string | undefined;
9367
- isImmediateCorrection?: boolean | undefined;
9368
- } | null | undefined;
9369
9045
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9370
9046
  } | {
9371
9047
  type: "REJECT_CORRECTION";
@@ -9396,8 +9072,8 @@ export declare const EventDocument: z.ZodObject<{
9396
9072
  street?: string | null | undefined;
9397
9073
  zipCode?: string | null | undefined;
9398
9074
  } | {
9399
- firstname?: string | null | undefined;
9400
- surname?: string | null | undefined;
9075
+ firstname: string;
9076
+ surname: string;
9401
9077
  middlename?: string | null | undefined;
9402
9078
  } | {
9403
9079
  country: string;
@@ -9444,8 +9120,8 @@ export declare const EventDocument: z.ZodObject<{
9444
9120
  street?: string | null | undefined;
9445
9121
  zipCode?: string | null | undefined;
9446
9122
  } | {
9447
- firstname?: string | null | undefined;
9448
- surname?: string | null | undefined;
9123
+ firstname: string;
9124
+ surname: string;
9449
9125
  middlename?: string | null | undefined;
9450
9126
  } | {
9451
9127
  country: string;
@@ -9473,10 +9149,6 @@ export declare const EventDocument: z.ZodObject<{
9473
9149
  start: string;
9474
9150
  end: string;
9475
9151
  } | null | undefined> | null | undefined;
9476
- actionDetails?: {
9477
- templateId?: string | undefined;
9478
- isImmediateCorrection?: boolean | undefined;
9479
- } | null | undefined;
9480
9152
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9481
9153
  } | {
9482
9154
  type: "READ";
@@ -9503,8 +9175,8 @@ export declare const EventDocument: z.ZodObject<{
9503
9175
  street?: string | null | undefined;
9504
9176
  zipCode?: string | null | undefined;
9505
9177
  } | {
9506
- firstname?: string | null | undefined;
9507
- surname?: string | null | undefined;
9178
+ firstname: string;
9179
+ surname: string;
9508
9180
  middlename?: string | null | undefined;
9509
9181
  } | {
9510
9182
  country: string;
@@ -9550,8 +9222,8 @@ export declare const EventDocument: z.ZodObject<{
9550
9222
  street?: string | null | undefined;
9551
9223
  zipCode?: string | null | undefined;
9552
9224
  } | {
9553
- firstname?: string | null | undefined;
9554
- surname?: string | null | undefined;
9225
+ firstname: string;
9226
+ surname: string;
9555
9227
  middlename?: string | null | undefined;
9556
9228
  } | {
9557
9229
  country: string;
@@ -9579,10 +9251,6 @@ export declare const EventDocument: z.ZodObject<{
9579
9251
  start: string;
9580
9252
  end: string;
9581
9253
  } | null | undefined> | null | undefined;
9582
- actionDetails?: {
9583
- templateId?: string | undefined;
9584
- isImmediateCorrection?: boolean | undefined;
9585
- } | null | undefined;
9586
9254
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9587
9255
  } | {
9588
9256
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -9595,10 +9263,6 @@ export declare const EventDocument: z.ZodObject<{
9595
9263
  createdByRole: string;
9596
9264
  createdBySignature?: string | null | undefined;
9597
9265
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9598
- actionDetails?: {
9599
- templateId?: string | undefined;
9600
- isImmediateCorrection?: boolean | undefined;
9601
- } | null | undefined;
9602
9266
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9603
9267
  })[];
9604
9268
  trackingId: string;
@@ -9632,8 +9296,8 @@ export declare const EventDocument: z.ZodObject<{
9632
9296
  street?: string | null | undefined;
9633
9297
  zipCode?: string | null | undefined;
9634
9298
  } | {
9635
- firstname?: string | null | undefined;
9636
- surname?: string | null | undefined;
9299
+ firstname: string;
9300
+ surname: string;
9637
9301
  middlename?: string | null | undefined;
9638
9302
  } | {
9639
9303
  country: string;
@@ -9680,8 +9344,8 @@ export declare const EventDocument: z.ZodObject<{
9680
9344
  street?: string | null | undefined;
9681
9345
  zipCode?: string | null | undefined;
9682
9346
  } | {
9683
- firstname?: string | null | undefined;
9684
- surname?: string | null | undefined;
9347
+ firstname: string;
9348
+ surname: string;
9685
9349
  middlename?: string | null | undefined;
9686
9350
  } | {
9687
9351
  country: string;
@@ -9709,10 +9373,6 @@ export declare const EventDocument: z.ZodObject<{
9709
9373
  start: string;
9710
9374
  end: string;
9711
9375
  } | null | undefined> | null | undefined;
9712
- actionDetails?: {
9713
- templateId?: string | undefined;
9714
- isImmediateCorrection?: boolean | undefined;
9715
- } | null | undefined;
9716
9376
  originalActionId?: string | null | undefined;
9717
9377
  } | {
9718
9378
  type: "UNASSIGN";
@@ -9739,8 +9399,8 @@ export declare const EventDocument: z.ZodObject<{
9739
9399
  street?: string | null | undefined;
9740
9400
  zipCode?: string | null | undefined;
9741
9401
  } | {
9742
- firstname?: string | null | undefined;
9743
- surname?: string | null | undefined;
9402
+ firstname: string;
9403
+ surname: string;
9744
9404
  middlename?: string | null | undefined;
9745
9405
  } | {
9746
9406
  country: string;
@@ -9786,8 +9446,8 @@ export declare const EventDocument: z.ZodObject<{
9786
9446
  street?: string | null | undefined;
9787
9447
  zipCode?: string | null | undefined;
9788
9448
  } | {
9789
- firstname?: string | null | undefined;
9790
- surname?: string | null | undefined;
9449
+ firstname: string;
9450
+ surname: string;
9791
9451
  middlename?: string | null | undefined;
9792
9452
  } | {
9793
9453
  country: string;
@@ -9815,10 +9475,6 @@ export declare const EventDocument: z.ZodObject<{
9815
9475
  start: string;
9816
9476
  end: string;
9817
9477
  } | null | undefined> | null | undefined;
9818
- actionDetails?: {
9819
- templateId?: string | undefined;
9820
- isImmediateCorrection?: boolean | undefined;
9821
- } | null | undefined;
9822
9478
  originalActionId?: string | null | undefined;
9823
9479
  } | {
9824
9480
  type: "REGISTER";
@@ -9845,8 +9501,8 @@ export declare const EventDocument: z.ZodObject<{
9845
9501
  street?: string | null | undefined;
9846
9502
  zipCode?: string | null | undefined;
9847
9503
  } | {
9848
- firstname?: string | null | undefined;
9849
- surname?: string | null | undefined;
9504
+ firstname: string;
9505
+ surname: string;
9850
9506
  middlename?: string | null | undefined;
9851
9507
  } | {
9852
9508
  country: string;
@@ -9892,8 +9548,8 @@ export declare const EventDocument: z.ZodObject<{
9892
9548
  street?: string | null | undefined;
9893
9549
  zipCode?: string | null | undefined;
9894
9550
  } | {
9895
- firstname?: string | null | undefined;
9896
- surname?: string | null | undefined;
9551
+ firstname: string;
9552
+ surname: string;
9897
9553
  middlename?: string | null | undefined;
9898
9554
  } | {
9899
9555
  country: string;
@@ -9921,10 +9577,6 @@ export declare const EventDocument: z.ZodObject<{
9921
9577
  start: string;
9922
9578
  end: string;
9923
9579
  } | null | undefined> | null | undefined;
9924
- actionDetails?: {
9925
- templateId?: string | undefined;
9926
- isImmediateCorrection?: boolean | undefined;
9927
- } | null | undefined;
9928
9580
  originalActionId?: string | null | undefined;
9929
9581
  registrationNumber?: string | undefined;
9930
9582
  } | {
@@ -9952,8 +9604,8 @@ export declare const EventDocument: z.ZodObject<{
9952
9604
  street?: string | null | undefined;
9953
9605
  zipCode?: string | null | undefined;
9954
9606
  } | {
9955
- firstname?: string | null | undefined;
9956
- surname?: string | null | undefined;
9607
+ firstname: string;
9608
+ surname: string;
9957
9609
  middlename?: string | null | undefined;
9958
9610
  } | {
9959
9611
  country: string;
@@ -9999,8 +9651,8 @@ export declare const EventDocument: z.ZodObject<{
9999
9651
  street?: string | null | undefined;
10000
9652
  zipCode?: string | null | undefined;
10001
9653
  } | {
10002
- firstname?: string | null | undefined;
10003
- surname?: string | null | undefined;
9654
+ firstname: string;
9655
+ surname: string;
10004
9656
  middlename?: string | null | undefined;
10005
9657
  } | {
10006
9658
  country: string;
@@ -10028,10 +9680,6 @@ export declare const EventDocument: z.ZodObject<{
10028
9680
  start: string;
10029
9681
  end: string;
10030
9682
  } | null | undefined> | null | undefined;
10031
- actionDetails?: {
10032
- templateId?: string | undefined;
10033
- isImmediateCorrection?: boolean | undefined;
10034
- } | null | undefined;
10035
9683
  originalActionId?: string | null | undefined;
10036
9684
  } | {
10037
9685
  type: "VALIDATE";
@@ -10058,8 +9706,8 @@ export declare const EventDocument: z.ZodObject<{
10058
9706
  street?: string | null | undefined;
10059
9707
  zipCode?: string | null | undefined;
10060
9708
  } | {
10061
- firstname?: string | null | undefined;
10062
- surname?: string | null | undefined;
9709
+ firstname: string;
9710
+ surname: string;
10063
9711
  middlename?: string | null | undefined;
10064
9712
  } | {
10065
9713
  country: string;
@@ -10105,8 +9753,8 @@ export declare const EventDocument: z.ZodObject<{
10105
9753
  street?: string | null | undefined;
10106
9754
  zipCode?: string | null | undefined;
10107
9755
  } | {
10108
- firstname?: string | null | undefined;
10109
- surname?: string | null | undefined;
9756
+ firstname: string;
9757
+ surname: string;
10110
9758
  middlename?: string | null | undefined;
10111
9759
  } | {
10112
9760
  country: string;
@@ -10134,10 +9782,6 @@ export declare const EventDocument: z.ZodObject<{
10134
9782
  start: string;
10135
9783
  end: string;
10136
9784
  } | null | undefined> | null | undefined;
10137
- actionDetails?: {
10138
- templateId?: string | undefined;
10139
- isImmediateCorrection?: boolean | undefined;
10140
- } | null | undefined;
10141
9785
  originalActionId?: string | null | undefined;
10142
9786
  } | {
10143
9787
  type: "REJECT";
@@ -10168,8 +9812,8 @@ export declare const EventDocument: z.ZodObject<{
10168
9812
  street?: string | null | undefined;
10169
9813
  zipCode?: string | null | undefined;
10170
9814
  } | {
10171
- firstname?: string | null | undefined;
10172
- surname?: string | null | undefined;
9815
+ firstname: string;
9816
+ surname: string;
10173
9817
  middlename?: string | null | undefined;
10174
9818
  } | {
10175
9819
  country: string;
@@ -10215,8 +9859,8 @@ export declare const EventDocument: z.ZodObject<{
10215
9859
  street?: string | null | undefined;
10216
9860
  zipCode?: string | null | undefined;
10217
9861
  } | {
10218
- firstname?: string | null | undefined;
10219
- surname?: string | null | undefined;
9862
+ firstname: string;
9863
+ surname: string;
10220
9864
  middlename?: string | null | undefined;
10221
9865
  } | {
10222
9866
  country: string;
@@ -10244,10 +9888,6 @@ export declare const EventDocument: z.ZodObject<{
10244
9888
  start: string;
10245
9889
  end: string;
10246
9890
  } | null | undefined> | null | undefined;
10247
- actionDetails?: {
10248
- templateId?: string | undefined;
10249
- isImmediateCorrection?: boolean | undefined;
10250
- } | null | undefined;
10251
9891
  originalActionId?: string | null | undefined;
10252
9892
  } | {
10253
9893
  type: "MARKED_AS_DUPLICATE";
@@ -10274,8 +9914,8 @@ export declare const EventDocument: z.ZodObject<{
10274
9914
  street?: string | null | undefined;
10275
9915
  zipCode?: string | null | undefined;
10276
9916
  } | {
10277
- firstname?: string | null | undefined;
10278
- surname?: string | null | undefined;
9917
+ firstname: string;
9918
+ surname: string;
10279
9919
  middlename?: string | null | undefined;
10280
9920
  } | {
10281
9921
  country: string;
@@ -10321,8 +9961,8 @@ export declare const EventDocument: z.ZodObject<{
10321
9961
  street?: string | null | undefined;
10322
9962
  zipCode?: string | null | undefined;
10323
9963
  } | {
10324
- firstname?: string | null | undefined;
10325
- surname?: string | null | undefined;
9964
+ firstname: string;
9965
+ surname: string;
10326
9966
  middlename?: string | null | undefined;
10327
9967
  } | {
10328
9968
  country: string;
@@ -10350,10 +9990,6 @@ export declare const EventDocument: z.ZodObject<{
10350
9990
  start: string;
10351
9991
  end: string;
10352
9992
  } | null | undefined> | null | undefined;
10353
- actionDetails?: {
10354
- templateId?: string | undefined;
10355
- isImmediateCorrection?: boolean | undefined;
10356
- } | null | undefined;
10357
9993
  originalActionId?: string | null | undefined;
10358
9994
  } | {
10359
9995
  type: "ARCHIVE";
@@ -10384,8 +10020,8 @@ export declare const EventDocument: z.ZodObject<{
10384
10020
  street?: string | null | undefined;
10385
10021
  zipCode?: string | null | undefined;
10386
10022
  } | {
10387
- firstname?: string | null | undefined;
10388
- surname?: string | null | undefined;
10023
+ firstname: string;
10024
+ surname: string;
10389
10025
  middlename?: string | null | undefined;
10390
10026
  } | {
10391
10027
  country: string;
@@ -10431,8 +10067,8 @@ export declare const EventDocument: z.ZodObject<{
10431
10067
  street?: string | null | undefined;
10432
10068
  zipCode?: string | null | undefined;
10433
10069
  } | {
10434
- firstname?: string | null | undefined;
10435
- surname?: string | null | undefined;
10070
+ firstname: string;
10071
+ surname: string;
10436
10072
  middlename?: string | null | undefined;
10437
10073
  } | {
10438
10074
  country: string;
@@ -10460,10 +10096,6 @@ export declare const EventDocument: z.ZodObject<{
10460
10096
  start: string;
10461
10097
  end: string;
10462
10098
  } | null | undefined> | null | undefined;
10463
- actionDetails?: {
10464
- templateId?: string | undefined;
10465
- isImmediateCorrection?: boolean | undefined;
10466
- } | null | undefined;
10467
10099
  originalActionId?: string | null | undefined;
10468
10100
  } | {
10469
10101
  type: "CREATE";
@@ -10490,8 +10122,8 @@ export declare const EventDocument: z.ZodObject<{
10490
10122
  street?: string | null | undefined;
10491
10123
  zipCode?: string | null | undefined;
10492
10124
  } | {
10493
- firstname?: string | null | undefined;
10494
- surname?: string | null | undefined;
10125
+ firstname: string;
10126
+ surname: string;
10495
10127
  middlename?: string | null | undefined;
10496
10128
  } | {
10497
10129
  country: string;
@@ -10537,8 +10169,8 @@ export declare const EventDocument: z.ZodObject<{
10537
10169
  street?: string | null | undefined;
10538
10170
  zipCode?: string | null | undefined;
10539
10171
  } | {
10540
- firstname?: string | null | undefined;
10541
- surname?: string | null | undefined;
10172
+ firstname: string;
10173
+ surname: string;
10542
10174
  middlename?: string | null | undefined;
10543
10175
  } | {
10544
10176
  country: string;
@@ -10566,10 +10198,6 @@ export declare const EventDocument: z.ZodObject<{
10566
10198
  start: string;
10567
10199
  end: string;
10568
10200
  } | null | undefined> | null | undefined;
10569
- actionDetails?: {
10570
- templateId?: string | undefined;
10571
- isImmediateCorrection?: boolean | undefined;
10572
- } | null | undefined;
10573
10201
  originalActionId?: string | null | undefined;
10574
10202
  } | {
10575
10203
  type: "NOTIFY";
@@ -10596,8 +10224,8 @@ export declare const EventDocument: z.ZodObject<{
10596
10224
  street?: string | null | undefined;
10597
10225
  zipCode?: string | null | undefined;
10598
10226
  } | {
10599
- firstname?: string | null | undefined;
10600
- surname?: string | null | undefined;
10227
+ firstname: string;
10228
+ surname: string;
10601
10229
  middlename?: string | null | undefined;
10602
10230
  } | {
10603
10231
  country: string;
@@ -10643,8 +10271,8 @@ export declare const EventDocument: z.ZodObject<{
10643
10271
  street?: string | null | undefined;
10644
10272
  zipCode?: string | null | undefined;
10645
10273
  } | {
10646
- firstname?: string | null | undefined;
10647
- surname?: string | null | undefined;
10274
+ firstname: string;
10275
+ surname: string;
10648
10276
  middlename?: string | null | undefined;
10649
10277
  } | {
10650
10278
  country: string;
@@ -10672,10 +10300,6 @@ export declare const EventDocument: z.ZodObject<{
10672
10300
  start: string;
10673
10301
  end: string;
10674
10302
  } | null | undefined> | null | undefined;
10675
- actionDetails?: {
10676
- templateId?: string | undefined;
10677
- isImmediateCorrection?: boolean | undefined;
10678
- } | null | undefined;
10679
10303
  originalActionId?: string | null | undefined;
10680
10304
  } | {
10681
10305
  type: "PRINT_CERTIFICATE";
@@ -10702,8 +10326,8 @@ export declare const EventDocument: z.ZodObject<{
10702
10326
  street?: string | null | undefined;
10703
10327
  zipCode?: string | null | undefined;
10704
10328
  } | {
10705
- firstname?: string | null | undefined;
10706
- surname?: string | null | undefined;
10329
+ firstname: string;
10330
+ surname: string;
10707
10331
  middlename?: string | null | undefined;
10708
10332
  } | {
10709
10333
  country: string;
@@ -10731,6 +10355,9 @@ export declare const EventDocument: z.ZodObject<{
10731
10355
  start: string;
10732
10356
  end: string;
10733
10357
  } | null | undefined>;
10358
+ content?: {
10359
+ templateId?: string | undefined;
10360
+ } | null | undefined;
10734
10361
  createdBySignature?: string | null | undefined;
10735
10362
  createdAtLocation?: string | null | undefined;
10736
10363
  annotation?: Record<string, string | number | boolean | {
@@ -10749,8 +10376,8 @@ export declare const EventDocument: z.ZodObject<{
10749
10376
  street?: string | null | undefined;
10750
10377
  zipCode?: string | null | undefined;
10751
10378
  } | {
10752
- firstname?: string | null | undefined;
10753
- surname?: string | null | undefined;
10379
+ firstname: string;
10380
+ surname: string;
10754
10381
  middlename?: string | null | undefined;
10755
10382
  } | {
10756
10383
  country: string;
@@ -10778,10 +10405,6 @@ export declare const EventDocument: z.ZodObject<{
10778
10405
  start: string;
10779
10406
  end: string;
10780
10407
  } | null | undefined> | null | undefined;
10781
- actionDetails?: {
10782
- templateId?: string | undefined;
10783
- isImmediateCorrection?: boolean | undefined;
10784
- } | null | undefined;
10785
10408
  originalActionId?: string | null | undefined;
10786
10409
  } | {
10787
10410
  type: "REQUEST_CORRECTION";
@@ -10808,8 +10431,8 @@ export declare const EventDocument: z.ZodObject<{
10808
10431
  street?: string | null | undefined;
10809
10432
  zipCode?: string | null | undefined;
10810
10433
  } | {
10811
- firstname?: string | null | undefined;
10812
- surname?: string | null | undefined;
10434
+ firstname: string;
10435
+ surname: string;
10813
10436
  middlename?: string | null | undefined;
10814
10437
  } | {
10815
10438
  country: string;
@@ -10855,8 +10478,8 @@ export declare const EventDocument: z.ZodObject<{
10855
10478
  street?: string | null | undefined;
10856
10479
  zipCode?: string | null | undefined;
10857
10480
  } | {
10858
- firstname?: string | null | undefined;
10859
- surname?: string | null | undefined;
10481
+ firstname: string;
10482
+ surname: string;
10860
10483
  middlename?: string | null | undefined;
10861
10484
  } | {
10862
10485
  country: string;
@@ -10884,10 +10507,6 @@ export declare const EventDocument: z.ZodObject<{
10884
10507
  start: string;
10885
10508
  end: string;
10886
10509
  } | null | undefined> | null | undefined;
10887
- actionDetails?: {
10888
- templateId?: string | undefined;
10889
- isImmediateCorrection?: boolean | undefined;
10890
- } | null | undefined;
10891
10510
  originalActionId?: string | null | undefined;
10892
10511
  } | {
10893
10512
  type: "APPROVE_CORRECTION";
@@ -10914,8 +10533,8 @@ export declare const EventDocument: z.ZodObject<{
10914
10533
  street?: string | null | undefined;
10915
10534
  zipCode?: string | null | undefined;
10916
10535
  } | {
10917
- firstname?: string | null | undefined;
10918
- surname?: string | null | undefined;
10536
+ firstname: string;
10537
+ surname: string;
10919
10538
  middlename?: string | null | undefined;
10920
10539
  } | {
10921
10540
  country: string;
@@ -10962,8 +10581,8 @@ export declare const EventDocument: z.ZodObject<{
10962
10581
  street?: string | null | undefined;
10963
10582
  zipCode?: string | null | undefined;
10964
10583
  } | {
10965
- firstname?: string | null | undefined;
10966
- surname?: string | null | undefined;
10584
+ firstname: string;
10585
+ surname: string;
10967
10586
  middlename?: string | null | undefined;
10968
10587
  } | {
10969
10588
  country: string;
@@ -10991,10 +10610,6 @@ export declare const EventDocument: z.ZodObject<{
10991
10610
  start: string;
10992
10611
  end: string;
10993
10612
  } | null | undefined> | null | undefined;
10994
- actionDetails?: {
10995
- templateId?: string | undefined;
10996
- isImmediateCorrection?: boolean | undefined;
10997
- } | null | undefined;
10998
10613
  originalActionId?: string | null | undefined;
10999
10614
  } | {
11000
10615
  type: "REJECT_CORRECTION";
@@ -11025,8 +10640,8 @@ export declare const EventDocument: z.ZodObject<{
11025
10640
  street?: string | null | undefined;
11026
10641
  zipCode?: string | null | undefined;
11027
10642
  } | {
11028
- firstname?: string | null | undefined;
11029
- surname?: string | null | undefined;
10643
+ firstname: string;
10644
+ surname: string;
11030
10645
  middlename?: string | null | undefined;
11031
10646
  } | {
11032
10647
  country: string;
@@ -11073,8 +10688,8 @@ export declare const EventDocument: z.ZodObject<{
11073
10688
  street?: string | null | undefined;
11074
10689
  zipCode?: string | null | undefined;
11075
10690
  } | {
11076
- firstname?: string | null | undefined;
11077
- surname?: string | null | undefined;
10691
+ firstname: string;
10692
+ surname: string;
11078
10693
  middlename?: string | null | undefined;
11079
10694
  } | {
11080
10695
  country: string;
@@ -11102,10 +10717,6 @@ export declare const EventDocument: z.ZodObject<{
11102
10717
  start: string;
11103
10718
  end: string;
11104
10719
  } | null | undefined> | null | undefined;
11105
- actionDetails?: {
11106
- templateId?: string | undefined;
11107
- isImmediateCorrection?: boolean | undefined;
11108
- } | null | undefined;
11109
10720
  originalActionId?: string | null | undefined;
11110
10721
  } | {
11111
10722
  type: "READ";
@@ -11132,8 +10743,8 @@ export declare const EventDocument: z.ZodObject<{
11132
10743
  street?: string | null | undefined;
11133
10744
  zipCode?: string | null | undefined;
11134
10745
  } | {
11135
- firstname?: string | null | undefined;
11136
- surname?: string | null | undefined;
10746
+ firstname: string;
10747
+ surname: string;
11137
10748
  middlename?: string | null | undefined;
11138
10749
  } | {
11139
10750
  country: string;
@@ -11179,8 +10790,8 @@ export declare const EventDocument: z.ZodObject<{
11179
10790
  street?: string | null | undefined;
11180
10791
  zipCode?: string | null | undefined;
11181
10792
  } | {
11182
- firstname?: string | null | undefined;
11183
- surname?: string | null | undefined;
10793
+ firstname: string;
10794
+ surname: string;
11184
10795
  middlename?: string | null | undefined;
11185
10796
  } | {
11186
10797
  country: string;
@@ -11208,10 +10819,6 @@ export declare const EventDocument: z.ZodObject<{
11208
10819
  start: string;
11209
10820
  end: string;
11210
10821
  } | null | undefined> | null | undefined;
11211
- actionDetails?: {
11212
- templateId?: string | undefined;
11213
- isImmediateCorrection?: boolean | undefined;
11214
- } | null | undefined;
11215
10822
  originalActionId?: string | null | undefined;
11216
10823
  } | {
11217
10824
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -11224,10 +10831,6 @@ export declare const EventDocument: z.ZodObject<{
11224
10831
  createdByRole: string;
11225
10832
  createdBySignature?: string | null | undefined;
11226
10833
  createdAtLocation?: string | null | undefined;
11227
- actionDetails?: {
11228
- templateId?: string | undefined;
11229
- isImmediateCorrection?: boolean | undefined;
11230
- } | null | undefined;
11231
10834
  originalActionId?: string | null | undefined;
11232
10835
  })[];
11233
10836
  trackingId: string;