@opencrvs/toolkit 1.8.0-rc.f8aa0c5 → 1.8.0-rc.f8be155

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 (30) hide show
  1. package/dist/commons/api/router.d.ts +9861 -5350
  2. package/dist/commons/events/ActionConfig.d.ts +0 -2856
  3. package/dist/commons/events/ActionDocument.d.ts +706 -805
  4. package/dist/commons/events/ActionInput.d.ts +602 -602
  5. package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -222
  6. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  7. package/dist/commons/events/CountryConfigQueryInput.d.ts +412 -1160
  8. package/dist/commons/events/Draft.d.ts +54 -59
  9. package/dist/commons/events/EventConfig.d.ts +0 -1564
  10. package/dist/commons/events/EventDocument.d.ts +441 -516
  11. package/dist/commons/events/EventIndex.d.ts +210 -630
  12. package/dist/commons/events/EventMetadata.d.ts +7 -49
  13. package/dist/commons/events/FieldConfig.d.ts +0 -198
  14. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  15. package/dist/commons/events/FieldValue.d.ts +12 -12
  16. package/dist/commons/events/FormConfig.d.ts +0 -1200
  17. package/dist/commons/events/PageConfig.d.ts +0 -288
  18. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  19. package/dist/commons/events/WorkqueueConfig.d.ts +750 -3247
  20. package/dist/commons/events/defineConfig.d.ts +0 -316
  21. package/dist/commons/events/field.d.ts +0 -5
  22. package/dist/commons/events/index.d.ts +0 -1
  23. package/dist/commons/events/scopes.d.ts +2 -1
  24. package/dist/commons/events/test.utils.d.ts +15 -37
  25. package/dist/commons/events/utils.d.ts +9 -466
  26. package/dist/conditionals/index.js +17 -20
  27. package/dist/events/index.js +654 -1053
  28. package/dist/scopes/index.d.ts +7 -96
  29. package/dist/scopes/index.js +26 -105
  30. package/package.json +3 -3
@@ -7,7 +7,6 @@ export declare const EventDocument: z.ZodObject<{
7
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
8
  id: z.ZodBranded<z.ZodString, "UUID">;
9
9
  transactionId: z.ZodString;
10
- createdByUserType: z.ZodEnum<["user", "system"]>;
11
10
  createdAt: z.ZodString;
12
11
  createdBy: z.ZodString;
13
12
  createdByRole: z.ZodString;
@@ -127,16 +126,16 @@ export declare const EventDocument: z.ZodObject<{
127
126
  addressLine3?: string | null | undefined;
128
127
  postcodeOrZip?: string | null | undefined;
129
128
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
130
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ firstname: z.ZodString;
130
+ surname: z.ZodString;
132
131
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
132
  }, "strip", z.ZodTypeAny, {
134
- firstname?: string | null | undefined;
135
- surname?: string | null | undefined;
133
+ firstname: string;
134
+ surname: string;
136
135
  middlename?: string | null | undefined;
137
136
  }, {
138
- firstname?: string | null | undefined;
139
- surname?: string | null | undefined;
137
+ firstname: string;
138
+ surname: string;
140
139
  middlename?: string | null | undefined;
141
140
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
142
141
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -253,16 +252,16 @@ export declare const EventDocument: z.ZodObject<{
253
252
  addressLine3?: string | null | undefined;
254
253
  postcodeOrZip?: string | null | undefined;
255
254
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
256
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
+ firstname: z.ZodString;
256
+ surname: z.ZodString;
258
257
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
258
  }, "strip", z.ZodTypeAny, {
260
- firstname?: string | null | undefined;
261
- surname?: string | null | undefined;
259
+ firstname: string;
260
+ surname: string;
262
261
  middlename?: string | null | undefined;
263
262
  }, {
264
- firstname?: string | null | undefined;
265
- surname?: string | null | undefined;
263
+ firstname: string;
264
+ surname: string;
266
265
  middlename?: string | null | undefined;
267
266
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
268
267
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -274,7 +273,6 @@ export declare const EventDocument: z.ZodObject<{
274
273
  id: string & z.BRAND<"UUID">;
275
274
  status: "Rejected" | "Requested" | "Accepted";
276
275
  transactionId: string;
277
- createdByUserType: "system" | "user";
278
276
  createdAt: string;
279
277
  createdBy: string;
280
278
  createdByRole: string;
@@ -294,8 +292,8 @@ export declare const EventDocument: z.ZodObject<{
294
292
  street?: string | null | undefined;
295
293
  zipCode?: string | null | undefined;
296
294
  } | {
297
- firstname?: string | null | undefined;
298
- surname?: string | null | undefined;
295
+ firstname: string;
296
+ surname: string;
299
297
  middlename?: string | null | undefined;
300
298
  } | {
301
299
  country: string;
@@ -338,8 +336,8 @@ export declare const EventDocument: z.ZodObject<{
338
336
  street?: string | null | undefined;
339
337
  zipCode?: string | null | undefined;
340
338
  } | {
341
- firstname?: string | null | undefined;
342
- surname?: string | null | undefined;
339
+ firstname: string;
340
+ surname: string;
343
341
  middlename?: string | null | undefined;
344
342
  } | {
345
343
  country: string;
@@ -370,7 +368,6 @@ export declare const EventDocument: z.ZodObject<{
370
368
  id: string;
371
369
  status: "Rejected" | "Requested" | "Accepted";
372
370
  transactionId: string;
373
- createdByUserType: "system" | "user";
374
371
  createdAt: string;
375
372
  createdBy: string;
376
373
  createdByRole: string;
@@ -390,8 +387,8 @@ export declare const EventDocument: z.ZodObject<{
390
387
  street?: string | null | undefined;
391
388
  zipCode?: string | null | undefined;
392
389
  } | {
393
- firstname?: string | null | undefined;
394
- surname?: string | null | undefined;
390
+ firstname: string;
391
+ surname: string;
395
392
  middlename?: string | null | undefined;
396
393
  } | {
397
394
  country: string;
@@ -434,8 +431,8 @@ export declare const EventDocument: z.ZodObject<{
434
431
  street?: string | null | undefined;
435
432
  zipCode?: string | null | undefined;
436
433
  } | {
437
- firstname?: string | null | undefined;
438
- surname?: string | null | undefined;
434
+ firstname: string;
435
+ surname: string;
439
436
  middlename?: string | null | undefined;
440
437
  } | {
441
438
  country: string;
@@ -464,7 +461,6 @@ export declare const EventDocument: z.ZodObject<{
464
461
  }>, z.ZodObject<z.objectUtil.extendShape<{
465
462
  id: z.ZodBranded<z.ZodString, "UUID">;
466
463
  transactionId: z.ZodString;
467
- createdByUserType: z.ZodEnum<["user", "system"]>;
468
464
  createdAt: z.ZodString;
469
465
  createdBy: z.ZodString;
470
466
  createdByRole: z.ZodString;
@@ -584,16 +580,16 @@ export declare const EventDocument: z.ZodObject<{
584
580
  addressLine3?: string | null | undefined;
585
581
  postcodeOrZip?: string | null | undefined;
586
582
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
587
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
583
+ firstname: z.ZodString;
584
+ surname: z.ZodString;
589
585
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
586
  }, "strip", z.ZodTypeAny, {
591
- firstname?: string | null | undefined;
592
- surname?: string | null | undefined;
587
+ firstname: string;
588
+ surname: string;
593
589
  middlename?: string | null | undefined;
594
590
  }, {
595
- firstname?: string | null | undefined;
596
- surname?: string | null | undefined;
591
+ firstname: string;
592
+ surname: string;
597
593
  middlename?: string | null | undefined;
598
594
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
599
595
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -710,16 +706,16 @@ export declare const EventDocument: z.ZodObject<{
710
706
  addressLine3?: string | null | undefined;
711
707
  postcodeOrZip?: string | null | undefined;
712
708
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
713
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
709
+ firstname: z.ZodString;
710
+ surname: z.ZodString;
715
711
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
712
  }, "strip", z.ZodTypeAny, {
717
- firstname?: string | null | undefined;
718
- surname?: string | null | undefined;
713
+ firstname: string;
714
+ surname: string;
719
715
  middlename?: string | null | undefined;
720
716
  }, {
721
- firstname?: string | null | undefined;
722
- surname?: string | null | undefined;
717
+ firstname: string;
718
+ surname: string;
723
719
  middlename?: string | null | undefined;
724
720
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
725
721
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -731,7 +727,6 @@ export declare const EventDocument: z.ZodObject<{
731
727
  id: string & z.BRAND<"UUID">;
732
728
  status: "Rejected" | "Requested" | "Accepted";
733
729
  transactionId: string;
734
- createdByUserType: "system" | "user";
735
730
  createdAt: string;
736
731
  createdBy: string;
737
732
  createdByRole: string;
@@ -751,8 +746,8 @@ export declare const EventDocument: z.ZodObject<{
751
746
  street?: string | null | undefined;
752
747
  zipCode?: string | null | undefined;
753
748
  } | {
754
- firstname?: string | null | undefined;
755
- surname?: string | null | undefined;
749
+ firstname: string;
750
+ surname: string;
756
751
  middlename?: string | null | undefined;
757
752
  } | {
758
753
  country: string;
@@ -795,8 +790,8 @@ export declare const EventDocument: z.ZodObject<{
795
790
  street?: string | null | undefined;
796
791
  zipCode?: string | null | undefined;
797
792
  } | {
798
- firstname?: string | null | undefined;
799
- surname?: string | null | undefined;
793
+ firstname: string;
794
+ surname: string;
800
795
  middlename?: string | null | undefined;
801
796
  } | {
802
797
  country: string;
@@ -827,7 +822,6 @@ export declare const EventDocument: z.ZodObject<{
827
822
  id: string;
828
823
  status: "Rejected" | "Requested" | "Accepted";
829
824
  transactionId: string;
830
- createdByUserType: "system" | "user";
831
825
  createdAt: string;
832
826
  createdBy: string;
833
827
  createdByRole: string;
@@ -847,8 +841,8 @@ export declare const EventDocument: z.ZodObject<{
847
841
  street?: string | null | undefined;
848
842
  zipCode?: string | null | undefined;
849
843
  } | {
850
- firstname?: string | null | undefined;
851
- surname?: string | null | undefined;
844
+ firstname: string;
845
+ surname: string;
852
846
  middlename?: string | null | undefined;
853
847
  } | {
854
848
  country: string;
@@ -891,8 +885,8 @@ export declare const EventDocument: z.ZodObject<{
891
885
  street?: string | null | undefined;
892
886
  zipCode?: string | null | undefined;
893
887
  } | {
894
- firstname?: string | null | undefined;
895
- surname?: string | null | undefined;
888
+ firstname: string;
889
+ surname: string;
896
890
  middlename?: string | null | undefined;
897
891
  } | {
898
892
  country: string;
@@ -921,7 +915,6 @@ export declare const EventDocument: z.ZodObject<{
921
915
  }>, z.ZodObject<z.objectUtil.extendShape<{
922
916
  id: z.ZodBranded<z.ZodString, "UUID">;
923
917
  transactionId: z.ZodString;
924
- createdByUserType: z.ZodEnum<["user", "system"]>;
925
918
  createdAt: z.ZodString;
926
919
  createdBy: z.ZodString;
927
920
  createdByRole: z.ZodString;
@@ -1041,16 +1034,16 @@ export declare const EventDocument: z.ZodObject<{
1041
1034
  addressLine3?: string | null | undefined;
1042
1035
  postcodeOrZip?: string | null | undefined;
1043
1036
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1044
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1037
+ firstname: z.ZodString;
1038
+ surname: z.ZodString;
1046
1039
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
1040
  }, "strip", z.ZodTypeAny, {
1048
- firstname?: string | null | undefined;
1049
- surname?: string | null | undefined;
1041
+ firstname: string;
1042
+ surname: string;
1050
1043
  middlename?: string | null | undefined;
1051
1044
  }, {
1052
- firstname?: string | null | undefined;
1053
- surname?: string | null | undefined;
1045
+ firstname: string;
1046
+ surname: string;
1054
1047
  middlename?: string | null | undefined;
1055
1048
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1056
1049
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -1167,16 +1160,16 @@ export declare const EventDocument: z.ZodObject<{
1167
1160
  addressLine3?: string | null | undefined;
1168
1161
  postcodeOrZip?: string | null | undefined;
1169
1162
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1170
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
+ firstname: z.ZodString;
1164
+ surname: z.ZodString;
1172
1165
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
1166
  }, "strip", z.ZodTypeAny, {
1174
- firstname?: string | null | undefined;
1175
- surname?: string | null | undefined;
1167
+ firstname: string;
1168
+ surname: string;
1176
1169
  middlename?: string | null | undefined;
1177
1170
  }, {
1178
- firstname?: string | null | undefined;
1179
- surname?: string | null | undefined;
1171
+ firstname: string;
1172
+ surname: string;
1180
1173
  middlename?: string | null | undefined;
1181
1174
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1182
1175
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -1202,7 +1195,6 @@ export declare const EventDocument: z.ZodObject<{
1202
1195
  isDuplicate?: boolean | undefined;
1203
1196
  };
1204
1197
  transactionId: string;
1205
- createdByUserType: "system" | "user";
1206
1198
  createdAt: string;
1207
1199
  createdBy: string;
1208
1200
  createdByRole: string;
@@ -1222,8 +1214,8 @@ export declare const EventDocument: z.ZodObject<{
1222
1214
  street?: string | null | undefined;
1223
1215
  zipCode?: string | null | undefined;
1224
1216
  } | {
1225
- firstname?: string | null | undefined;
1226
- surname?: string | null | undefined;
1217
+ firstname: string;
1218
+ surname: string;
1227
1219
  middlename?: string | null | undefined;
1228
1220
  } | {
1229
1221
  country: string;
@@ -1266,8 +1258,8 @@ export declare const EventDocument: z.ZodObject<{
1266
1258
  street?: string | null | undefined;
1267
1259
  zipCode?: string | null | undefined;
1268
1260
  } | {
1269
- firstname?: string | null | undefined;
1270
- surname?: string | null | undefined;
1261
+ firstname: string;
1262
+ surname: string;
1271
1263
  middlename?: string | null | undefined;
1272
1264
  } | {
1273
1265
  country: string;
@@ -1302,7 +1294,6 @@ export declare const EventDocument: z.ZodObject<{
1302
1294
  isDuplicate?: boolean | undefined;
1303
1295
  };
1304
1296
  transactionId: string;
1305
- createdByUserType: "system" | "user";
1306
1297
  createdAt: string;
1307
1298
  createdBy: string;
1308
1299
  createdByRole: string;
@@ -1322,8 +1313,8 @@ export declare const EventDocument: z.ZodObject<{
1322
1313
  street?: string | null | undefined;
1323
1314
  zipCode?: string | null | undefined;
1324
1315
  } | {
1325
- firstname?: string | null | undefined;
1326
- surname?: string | null | undefined;
1316
+ firstname: string;
1317
+ surname: string;
1327
1318
  middlename?: string | null | undefined;
1328
1319
  } | {
1329
1320
  country: string;
@@ -1366,8 +1357,8 @@ export declare const EventDocument: z.ZodObject<{
1366
1357
  street?: string | null | undefined;
1367
1358
  zipCode?: string | null | undefined;
1368
1359
  } | {
1369
- firstname?: string | null | undefined;
1370
- surname?: string | null | undefined;
1360
+ firstname: string;
1361
+ surname: string;
1371
1362
  middlename?: string | null | undefined;
1372
1363
  } | {
1373
1364
  country: string;
@@ -1396,7 +1387,6 @@ export declare const EventDocument: z.ZodObject<{
1396
1387
  }>, z.ZodObject<z.objectUtil.extendShape<{
1397
1388
  id: z.ZodBranded<z.ZodString, "UUID">;
1398
1389
  transactionId: z.ZodString;
1399
- createdByUserType: z.ZodEnum<["user", "system"]>;
1400
1390
  createdAt: z.ZodString;
1401
1391
  createdBy: z.ZodString;
1402
1392
  createdByRole: z.ZodString;
@@ -1516,16 +1506,16 @@ export declare const EventDocument: z.ZodObject<{
1516
1506
  addressLine3?: string | null | undefined;
1517
1507
  postcodeOrZip?: string | null | undefined;
1518
1508
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1519
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1509
+ firstname: z.ZodString;
1510
+ surname: z.ZodString;
1521
1511
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
1512
  }, "strip", z.ZodTypeAny, {
1523
- firstname?: string | null | undefined;
1524
- surname?: string | null | undefined;
1513
+ firstname: string;
1514
+ surname: string;
1525
1515
  middlename?: string | null | undefined;
1526
1516
  }, {
1527
- firstname?: string | null | undefined;
1528
- surname?: string | null | undefined;
1517
+ firstname: string;
1518
+ surname: string;
1529
1519
  middlename?: string | null | undefined;
1530
1520
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1531
1521
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -1642,16 +1632,16 @@ export declare const EventDocument: z.ZodObject<{
1642
1632
  addressLine3?: string | null | undefined;
1643
1633
  postcodeOrZip?: string | null | undefined;
1644
1634
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1645
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1646
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1635
+ firstname: z.ZodString;
1636
+ surname: z.ZodString;
1647
1637
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
1638
  }, "strip", z.ZodTypeAny, {
1649
- firstname?: string | null | undefined;
1650
- surname?: string | null | undefined;
1639
+ firstname: string;
1640
+ surname: string;
1651
1641
  middlename?: string | null | undefined;
1652
1642
  }, {
1653
- firstname?: string | null | undefined;
1654
- surname?: string | null | undefined;
1643
+ firstname: string;
1644
+ surname: string;
1655
1645
  middlename?: string | null | undefined;
1656
1646
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1657
1647
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -1663,7 +1653,6 @@ export declare const EventDocument: z.ZodObject<{
1663
1653
  id: string & z.BRAND<"UUID">;
1664
1654
  status: "Rejected" | "Requested" | "Accepted";
1665
1655
  transactionId: string;
1666
- createdByUserType: "system" | "user";
1667
1656
  createdAt: string;
1668
1657
  createdBy: string;
1669
1658
  createdByRole: string;
@@ -1683,8 +1672,8 @@ export declare const EventDocument: z.ZodObject<{
1683
1672
  street?: string | null | undefined;
1684
1673
  zipCode?: string | null | undefined;
1685
1674
  } | {
1686
- firstname?: string | null | undefined;
1687
- surname?: string | null | undefined;
1675
+ firstname: string;
1676
+ surname: string;
1688
1677
  middlename?: string | null | undefined;
1689
1678
  } | {
1690
1679
  country: string;
@@ -1727,8 +1716,8 @@ export declare const EventDocument: z.ZodObject<{
1727
1716
  street?: string | null | undefined;
1728
1717
  zipCode?: string | null | undefined;
1729
1718
  } | {
1730
- firstname?: string | null | undefined;
1731
- surname?: string | null | undefined;
1719
+ firstname: string;
1720
+ surname: string;
1732
1721
  middlename?: string | null | undefined;
1733
1722
  } | {
1734
1723
  country: string;
@@ -1759,7 +1748,6 @@ export declare const EventDocument: z.ZodObject<{
1759
1748
  id: string;
1760
1749
  status: "Rejected" | "Requested" | "Accepted";
1761
1750
  transactionId: string;
1762
- createdByUserType: "system" | "user";
1763
1751
  createdAt: string;
1764
1752
  createdBy: string;
1765
1753
  createdByRole: string;
@@ -1779,8 +1767,8 @@ export declare const EventDocument: z.ZodObject<{
1779
1767
  street?: string | null | undefined;
1780
1768
  zipCode?: string | null | undefined;
1781
1769
  } | {
1782
- firstname?: string | null | undefined;
1783
- surname?: string | null | undefined;
1770
+ firstname: string;
1771
+ surname: string;
1784
1772
  middlename?: string | null | undefined;
1785
1773
  } | {
1786
1774
  country: string;
@@ -1823,8 +1811,8 @@ export declare const EventDocument: z.ZodObject<{
1823
1811
  street?: string | null | undefined;
1824
1812
  zipCode?: string | null | undefined;
1825
1813
  } | {
1826
- firstname?: string | null | undefined;
1827
- surname?: string | null | undefined;
1814
+ firstname: string;
1815
+ surname: string;
1828
1816
  middlename?: string | null | undefined;
1829
1817
  } | {
1830
1818
  country: string;
@@ -1853,7 +1841,6 @@ export declare const EventDocument: z.ZodObject<{
1853
1841
  }>, z.ZodObject<z.objectUtil.extendShape<{
1854
1842
  id: z.ZodBranded<z.ZodString, "UUID">;
1855
1843
  transactionId: z.ZodString;
1856
- createdByUserType: z.ZodEnum<["user", "system"]>;
1857
1844
  createdAt: z.ZodString;
1858
1845
  createdBy: z.ZodString;
1859
1846
  createdByRole: z.ZodString;
@@ -1973,16 +1960,16 @@ export declare const EventDocument: z.ZodObject<{
1973
1960
  addressLine3?: string | null | undefined;
1974
1961
  postcodeOrZip?: string | null | undefined;
1975
1962
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1976
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1963
+ firstname: z.ZodString;
1964
+ surname: z.ZodString;
1978
1965
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
1966
  }, "strip", z.ZodTypeAny, {
1980
- firstname?: string | null | undefined;
1981
- surname?: string | null | undefined;
1967
+ firstname: string;
1968
+ surname: string;
1982
1969
  middlename?: string | null | undefined;
1983
1970
  }, {
1984
- firstname?: string | null | undefined;
1985
- surname?: string | null | undefined;
1971
+ firstname: string;
1972
+ surname: string;
1986
1973
  middlename?: string | null | undefined;
1987
1974
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1988
1975
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -2099,16 +2086,16 @@ export declare const EventDocument: z.ZodObject<{
2099
2086
  addressLine3?: string | null | undefined;
2100
2087
  postcodeOrZip?: string | null | undefined;
2101
2088
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2102
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2089
+ firstname: z.ZodString;
2090
+ surname: z.ZodString;
2104
2091
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
2092
  }, "strip", z.ZodTypeAny, {
2106
- firstname?: string | null | undefined;
2107
- surname?: string | null | undefined;
2093
+ firstname: string;
2094
+ surname: string;
2108
2095
  middlename?: string | null | undefined;
2109
2096
  }, {
2110
- firstname?: string | null | undefined;
2111
- surname?: string | null | undefined;
2097
+ firstname: string;
2098
+ surname: string;
2112
2099
  middlename?: string | null | undefined;
2113
2100
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2114
2101
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -2134,7 +2121,6 @@ export declare const EventDocument: z.ZodObject<{
2134
2121
  isDuplicate?: boolean | undefined;
2135
2122
  };
2136
2123
  transactionId: string;
2137
- createdByUserType: "system" | "user";
2138
2124
  createdAt: string;
2139
2125
  createdBy: string;
2140
2126
  createdByRole: string;
@@ -2154,8 +2140,8 @@ export declare const EventDocument: z.ZodObject<{
2154
2140
  street?: string | null | undefined;
2155
2141
  zipCode?: string | null | undefined;
2156
2142
  } | {
2157
- firstname?: string | null | undefined;
2158
- surname?: string | null | undefined;
2143
+ firstname: string;
2144
+ surname: string;
2159
2145
  middlename?: string | null | undefined;
2160
2146
  } | {
2161
2147
  country: string;
@@ -2198,8 +2184,8 @@ export declare const EventDocument: z.ZodObject<{
2198
2184
  street?: string | null | undefined;
2199
2185
  zipCode?: string | null | undefined;
2200
2186
  } | {
2201
- firstname?: string | null | undefined;
2202
- surname?: string | null | undefined;
2187
+ firstname: string;
2188
+ surname: string;
2203
2189
  middlename?: string | null | undefined;
2204
2190
  } | {
2205
2191
  country: string;
@@ -2234,7 +2220,6 @@ export declare const EventDocument: z.ZodObject<{
2234
2220
  isDuplicate?: boolean | undefined;
2235
2221
  };
2236
2222
  transactionId: string;
2237
- createdByUserType: "system" | "user";
2238
2223
  createdAt: string;
2239
2224
  createdBy: string;
2240
2225
  createdByRole: string;
@@ -2254,8 +2239,8 @@ export declare const EventDocument: z.ZodObject<{
2254
2239
  street?: string | null | undefined;
2255
2240
  zipCode?: string | null | undefined;
2256
2241
  } | {
2257
- firstname?: string | null | undefined;
2258
- surname?: string | null | undefined;
2242
+ firstname: string;
2243
+ surname: string;
2259
2244
  middlename?: string | null | undefined;
2260
2245
  } | {
2261
2246
  country: string;
@@ -2298,8 +2283,8 @@ export declare const EventDocument: z.ZodObject<{
2298
2283
  street?: string | null | undefined;
2299
2284
  zipCode?: string | null | undefined;
2300
2285
  } | {
2301
- firstname?: string | null | undefined;
2302
- surname?: string | null | undefined;
2286
+ firstname: string;
2287
+ surname: string;
2303
2288
  middlename?: string | null | undefined;
2304
2289
  } | {
2305
2290
  country: string;
@@ -2328,7 +2313,6 @@ export declare const EventDocument: z.ZodObject<{
2328
2313
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
2314
  id: z.ZodBranded<z.ZodString, "UUID">;
2330
2315
  transactionId: z.ZodString;
2331
- createdByUserType: z.ZodEnum<["user", "system"]>;
2332
2316
  createdAt: z.ZodString;
2333
2317
  createdBy: z.ZodString;
2334
2318
  createdByRole: z.ZodString;
@@ -2448,16 +2432,16 @@ export declare const EventDocument: z.ZodObject<{
2448
2432
  addressLine3?: string | null | undefined;
2449
2433
  postcodeOrZip?: string | null | undefined;
2450
2434
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2451
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2435
+ firstname: z.ZodString;
2436
+ surname: z.ZodString;
2453
2437
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
2438
  }, "strip", z.ZodTypeAny, {
2455
- firstname?: string | null | undefined;
2456
- surname?: string | null | undefined;
2439
+ firstname: string;
2440
+ surname: string;
2457
2441
  middlename?: string | null | undefined;
2458
2442
  }, {
2459
- firstname?: string | null | undefined;
2460
- surname?: string | null | undefined;
2443
+ firstname: string;
2444
+ surname: string;
2461
2445
  middlename?: string | null | undefined;
2462
2446
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2463
2447
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -2574,16 +2558,16 @@ export declare const EventDocument: z.ZodObject<{
2574
2558
  addressLine3?: string | null | undefined;
2575
2559
  postcodeOrZip?: string | null | undefined;
2576
2560
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2577
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2561
+ firstname: z.ZodString;
2562
+ surname: z.ZodString;
2579
2563
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
2564
  }, "strip", z.ZodTypeAny, {
2581
- firstname?: string | null | undefined;
2582
- surname?: string | null | undefined;
2565
+ firstname: string;
2566
+ surname: string;
2583
2567
  middlename?: string | null | undefined;
2584
2568
  }, {
2585
- firstname?: string | null | undefined;
2586
- surname?: string | null | undefined;
2569
+ firstname: string;
2570
+ surname: string;
2587
2571
  middlename?: string | null | undefined;
2588
2572
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2589
2573
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -2595,7 +2579,6 @@ export declare const EventDocument: z.ZodObject<{
2595
2579
  id: string & z.BRAND<"UUID">;
2596
2580
  status: "Rejected" | "Requested" | "Accepted";
2597
2581
  transactionId: string;
2598
- createdByUserType: "system" | "user";
2599
2582
  createdAt: string;
2600
2583
  createdBy: string;
2601
2584
  createdByRole: string;
@@ -2615,8 +2598,8 @@ export declare const EventDocument: z.ZodObject<{
2615
2598
  street?: string | null | undefined;
2616
2599
  zipCode?: string | null | undefined;
2617
2600
  } | {
2618
- firstname?: string | null | undefined;
2619
- surname?: string | null | undefined;
2601
+ firstname: string;
2602
+ surname: string;
2620
2603
  middlename?: string | null | undefined;
2621
2604
  } | {
2622
2605
  country: string;
@@ -2659,8 +2642,8 @@ export declare const EventDocument: z.ZodObject<{
2659
2642
  street?: string | null | undefined;
2660
2643
  zipCode?: string | null | undefined;
2661
2644
  } | {
2662
- firstname?: string | null | undefined;
2663
- surname?: string | null | undefined;
2645
+ firstname: string;
2646
+ surname: string;
2664
2647
  middlename?: string | null | undefined;
2665
2648
  } | {
2666
2649
  country: string;
@@ -2691,7 +2674,6 @@ export declare const EventDocument: z.ZodObject<{
2691
2674
  id: string;
2692
2675
  status: "Rejected" | "Requested" | "Accepted";
2693
2676
  transactionId: string;
2694
- createdByUserType: "system" | "user";
2695
2677
  createdAt: string;
2696
2678
  createdBy: string;
2697
2679
  createdByRole: string;
@@ -2711,8 +2693,8 @@ export declare const EventDocument: z.ZodObject<{
2711
2693
  street?: string | null | undefined;
2712
2694
  zipCode?: string | null | undefined;
2713
2695
  } | {
2714
- firstname?: string | null | undefined;
2715
- surname?: string | null | undefined;
2696
+ firstname: string;
2697
+ surname: string;
2716
2698
  middlename?: string | null | undefined;
2717
2699
  } | {
2718
2700
  country: string;
@@ -2755,8 +2737,8 @@ export declare const EventDocument: z.ZodObject<{
2755
2737
  street?: string | null | undefined;
2756
2738
  zipCode?: string | null | undefined;
2757
2739
  } | {
2758
- firstname?: string | null | undefined;
2759
- surname?: string | null | undefined;
2740
+ firstname: string;
2741
+ surname: string;
2760
2742
  middlename?: string | null | undefined;
2761
2743
  } | {
2762
2744
  country: string;
@@ -2785,7 +2767,6 @@ export declare const EventDocument: z.ZodObject<{
2785
2767
  }>, z.ZodObject<z.objectUtil.extendShape<{
2786
2768
  id: z.ZodBranded<z.ZodString, "UUID">;
2787
2769
  transactionId: z.ZodString;
2788
- createdByUserType: z.ZodEnum<["user", "system"]>;
2789
2770
  createdAt: z.ZodString;
2790
2771
  createdBy: z.ZodString;
2791
2772
  createdByRole: z.ZodString;
@@ -2905,16 +2886,16 @@ export declare const EventDocument: z.ZodObject<{
2905
2886
  addressLine3?: string | null | undefined;
2906
2887
  postcodeOrZip?: string | null | undefined;
2907
2888
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2908
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2909
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2889
+ firstname: z.ZodString;
2890
+ surname: z.ZodString;
2910
2891
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
2892
  }, "strip", z.ZodTypeAny, {
2912
- firstname?: string | null | undefined;
2913
- surname?: string | null | undefined;
2893
+ firstname: string;
2894
+ surname: string;
2914
2895
  middlename?: string | null | undefined;
2915
2896
  }, {
2916
- firstname?: string | null | undefined;
2917
- surname?: string | null | undefined;
2897
+ firstname: string;
2898
+ surname: string;
2918
2899
  middlename?: string | null | undefined;
2919
2900
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2920
2901
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -3031,16 +3012,16 @@ export declare const EventDocument: z.ZodObject<{
3031
3012
  addressLine3?: string | null | undefined;
3032
3013
  postcodeOrZip?: string | null | undefined;
3033
3014
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3034
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3015
+ firstname: z.ZodString;
3016
+ surname: z.ZodString;
3036
3017
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
3018
  }, "strip", z.ZodTypeAny, {
3038
- firstname?: string | null | undefined;
3039
- surname?: string | null | undefined;
3019
+ firstname: string;
3020
+ surname: string;
3040
3021
  middlename?: string | null | undefined;
3041
3022
  }, {
3042
- firstname?: string | null | undefined;
3043
- surname?: string | null | undefined;
3023
+ firstname: string;
3024
+ surname: string;
3044
3025
  middlename?: string | null | undefined;
3045
3026
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3046
3027
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -3053,7 +3034,6 @@ export declare const EventDocument: z.ZodObject<{
3053
3034
  id: string & z.BRAND<"UUID">;
3054
3035
  status: "Rejected" | "Requested" | "Accepted";
3055
3036
  transactionId: string;
3056
- createdByUserType: "system" | "user";
3057
3037
  createdAt: string;
3058
3038
  createdBy: string;
3059
3039
  createdByRole: string;
@@ -3073,8 +3053,8 @@ export declare const EventDocument: z.ZodObject<{
3073
3053
  street?: string | null | undefined;
3074
3054
  zipCode?: string | null | undefined;
3075
3055
  } | {
3076
- firstname?: string | null | undefined;
3077
- surname?: string | null | undefined;
3056
+ firstname: string;
3057
+ surname: string;
3078
3058
  middlename?: string | null | undefined;
3079
3059
  } | {
3080
3060
  country: string;
@@ -3117,8 +3097,8 @@ export declare const EventDocument: z.ZodObject<{
3117
3097
  street?: string | null | undefined;
3118
3098
  zipCode?: string | null | undefined;
3119
3099
  } | {
3120
- firstname?: string | null | undefined;
3121
- surname?: string | null | undefined;
3100
+ firstname: string;
3101
+ surname: string;
3122
3102
  middlename?: string | null | undefined;
3123
3103
  } | {
3124
3104
  country: string;
@@ -3150,7 +3130,6 @@ export declare const EventDocument: z.ZodObject<{
3150
3130
  id: string;
3151
3131
  status: "Rejected" | "Requested" | "Accepted";
3152
3132
  transactionId: string;
3153
- createdByUserType: "system" | "user";
3154
3133
  createdAt: string;
3155
3134
  createdBy: string;
3156
3135
  createdByRole: string;
@@ -3170,8 +3149,8 @@ export declare const EventDocument: z.ZodObject<{
3170
3149
  street?: string | null | undefined;
3171
3150
  zipCode?: string | null | undefined;
3172
3151
  } | {
3173
- firstname?: string | null | undefined;
3174
- surname?: string | null | undefined;
3152
+ firstname: string;
3153
+ surname: string;
3175
3154
  middlename?: string | null | undefined;
3176
3155
  } | {
3177
3156
  country: string;
@@ -3214,8 +3193,8 @@ export declare const EventDocument: z.ZodObject<{
3214
3193
  street?: string | null | undefined;
3215
3194
  zipCode?: string | null | undefined;
3216
3195
  } | {
3217
- firstname?: string | null | undefined;
3218
- surname?: string | null | undefined;
3196
+ firstname: string;
3197
+ surname: string;
3219
3198
  middlename?: string | null | undefined;
3220
3199
  } | {
3221
3200
  country: string;
@@ -3245,7 +3224,6 @@ export declare const EventDocument: z.ZodObject<{
3245
3224
  }>, z.ZodObject<z.objectUtil.extendShape<{
3246
3225
  id: z.ZodBranded<z.ZodString, "UUID">;
3247
3226
  transactionId: z.ZodString;
3248
- createdByUserType: z.ZodEnum<["user", "system"]>;
3249
3227
  createdAt: z.ZodString;
3250
3228
  createdBy: z.ZodString;
3251
3229
  createdByRole: z.ZodString;
@@ -3365,16 +3343,16 @@ export declare const EventDocument: z.ZodObject<{
3365
3343
  addressLine3?: string | null | undefined;
3366
3344
  postcodeOrZip?: string | null | undefined;
3367
3345
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3368
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3346
+ firstname: z.ZodString;
3347
+ surname: z.ZodString;
3370
3348
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
3349
  }, "strip", z.ZodTypeAny, {
3372
- firstname?: string | null | undefined;
3373
- surname?: string | null | undefined;
3350
+ firstname: string;
3351
+ surname: string;
3374
3352
  middlename?: string | null | undefined;
3375
3353
  }, {
3376
- firstname?: string | null | undefined;
3377
- surname?: string | null | undefined;
3354
+ firstname: string;
3355
+ surname: string;
3378
3356
  middlename?: string | null | undefined;
3379
3357
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3380
3358
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -3491,16 +3469,16 @@ export declare const EventDocument: z.ZodObject<{
3491
3469
  addressLine3?: string | null | undefined;
3492
3470
  postcodeOrZip?: string | null | undefined;
3493
3471
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3494
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3472
+ firstname: z.ZodString;
3473
+ surname: z.ZodString;
3496
3474
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
3475
  }, "strip", z.ZodTypeAny, {
3498
- firstname?: string | null | undefined;
3499
- surname?: string | null | undefined;
3476
+ firstname: string;
3477
+ surname: string;
3500
3478
  middlename?: string | null | undefined;
3501
3479
  }, {
3502
- firstname?: string | null | undefined;
3503
- surname?: string | null | undefined;
3480
+ firstname: string;
3481
+ surname: string;
3504
3482
  middlename?: string | null | undefined;
3505
3483
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3506
3484
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -3512,7 +3490,6 @@ export declare const EventDocument: z.ZodObject<{
3512
3490
  id: string & z.BRAND<"UUID">;
3513
3491
  status: "Rejected" | "Requested" | "Accepted";
3514
3492
  transactionId: string;
3515
- createdByUserType: "system" | "user";
3516
3493
  createdAt: string;
3517
3494
  createdBy: string;
3518
3495
  createdByRole: string;
@@ -3532,8 +3509,8 @@ export declare const EventDocument: z.ZodObject<{
3532
3509
  street?: string | null | undefined;
3533
3510
  zipCode?: string | null | undefined;
3534
3511
  } | {
3535
- firstname?: string | null | undefined;
3536
- surname?: string | null | undefined;
3512
+ firstname: string;
3513
+ surname: string;
3537
3514
  middlename?: string | null | undefined;
3538
3515
  } | {
3539
3516
  country: string;
@@ -3576,8 +3553,8 @@ export declare const EventDocument: z.ZodObject<{
3576
3553
  street?: string | null | undefined;
3577
3554
  zipCode?: string | null | undefined;
3578
3555
  } | {
3579
- firstname?: string | null | undefined;
3580
- surname?: string | null | undefined;
3556
+ firstname: string;
3557
+ surname: string;
3581
3558
  middlename?: string | null | undefined;
3582
3559
  } | {
3583
3560
  country: string;
@@ -3608,7 +3585,6 @@ export declare const EventDocument: z.ZodObject<{
3608
3585
  id: string;
3609
3586
  status: "Rejected" | "Requested" | "Accepted";
3610
3587
  transactionId: string;
3611
- createdByUserType: "system" | "user";
3612
3588
  createdAt: string;
3613
3589
  createdBy: string;
3614
3590
  createdByRole: string;
@@ -3628,8 +3604,8 @@ export declare const EventDocument: z.ZodObject<{
3628
3604
  street?: string | null | undefined;
3629
3605
  zipCode?: string | null | undefined;
3630
3606
  } | {
3631
- firstname?: string | null | undefined;
3632
- surname?: string | null | undefined;
3607
+ firstname: string;
3608
+ surname: string;
3633
3609
  middlename?: string | null | undefined;
3634
3610
  } | {
3635
3611
  country: string;
@@ -3672,8 +3648,8 @@ export declare const EventDocument: z.ZodObject<{
3672
3648
  street?: string | null | undefined;
3673
3649
  zipCode?: string | null | undefined;
3674
3650
  } | {
3675
- firstname?: string | null | undefined;
3676
- surname?: string | null | undefined;
3651
+ firstname: string;
3652
+ surname: string;
3677
3653
  middlename?: string | null | undefined;
3678
3654
  } | {
3679
3655
  country: string;
@@ -3702,7 +3678,6 @@ export declare const EventDocument: z.ZodObject<{
3702
3678
  }>, z.ZodObject<z.objectUtil.extendShape<{
3703
3679
  id: z.ZodBranded<z.ZodString, "UUID">;
3704
3680
  transactionId: z.ZodString;
3705
- createdByUserType: z.ZodEnum<["user", "system"]>;
3706
3681
  createdAt: z.ZodString;
3707
3682
  createdBy: z.ZodString;
3708
3683
  createdByRole: z.ZodString;
@@ -3822,16 +3797,16 @@ export declare const EventDocument: z.ZodObject<{
3822
3797
  addressLine3?: string | null | undefined;
3823
3798
  postcodeOrZip?: string | null | undefined;
3824
3799
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3825
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3800
+ firstname: z.ZodString;
3801
+ surname: z.ZodString;
3827
3802
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
3803
  }, "strip", z.ZodTypeAny, {
3829
- firstname?: string | null | undefined;
3830
- surname?: string | null | undefined;
3804
+ firstname: string;
3805
+ surname: string;
3831
3806
  middlename?: string | null | undefined;
3832
3807
  }, {
3833
- firstname?: string | null | undefined;
3834
- surname?: string | null | undefined;
3808
+ firstname: string;
3809
+ surname: string;
3835
3810
  middlename?: string | null | undefined;
3836
3811
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3837
3812
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -3948,16 +3923,16 @@ export declare const EventDocument: z.ZodObject<{
3948
3923
  addressLine3?: string | null | undefined;
3949
3924
  postcodeOrZip?: string | null | undefined;
3950
3925
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3951
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3952
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3926
+ firstname: z.ZodString;
3927
+ surname: z.ZodString;
3953
3928
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3954
3929
  }, "strip", z.ZodTypeAny, {
3955
- firstname?: string | null | undefined;
3956
- surname?: string | null | undefined;
3930
+ firstname: string;
3931
+ surname: string;
3957
3932
  middlename?: string | null | undefined;
3958
3933
  }, {
3959
- firstname?: string | null | undefined;
3960
- surname?: string | null | undefined;
3934
+ firstname: string;
3935
+ surname: string;
3961
3936
  middlename?: string | null | undefined;
3962
3937
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3963
3938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -3970,7 +3945,6 @@ export declare const EventDocument: z.ZodObject<{
3970
3945
  id: string & z.BRAND<"UUID">;
3971
3946
  status: "Rejected" | "Requested" | "Accepted";
3972
3947
  transactionId: string;
3973
- createdByUserType: "system" | "user";
3974
3948
  createdAt: string;
3975
3949
  createdBy: string;
3976
3950
  createdByRole: string;
@@ -3990,8 +3964,8 @@ export declare const EventDocument: z.ZodObject<{
3990
3964
  street?: string | null | undefined;
3991
3965
  zipCode?: string | null | undefined;
3992
3966
  } | {
3993
- firstname?: string | null | undefined;
3994
- surname?: string | null | undefined;
3967
+ firstname: string;
3968
+ surname: string;
3995
3969
  middlename?: string | null | undefined;
3996
3970
  } | {
3997
3971
  country: string;
@@ -4035,8 +4009,8 @@ export declare const EventDocument: z.ZodObject<{
4035
4009
  street?: string | null | undefined;
4036
4010
  zipCode?: string | null | undefined;
4037
4011
  } | {
4038
- firstname?: string | null | undefined;
4039
- surname?: string | null | undefined;
4012
+ firstname: string;
4013
+ surname: string;
4040
4014
  middlename?: string | null | undefined;
4041
4015
  } | {
4042
4016
  country: string;
@@ -4067,7 +4041,6 @@ export declare const EventDocument: z.ZodObject<{
4067
4041
  id: string;
4068
4042
  status: "Rejected" | "Requested" | "Accepted";
4069
4043
  transactionId: string;
4070
- createdByUserType: "system" | "user";
4071
4044
  createdAt: string;
4072
4045
  createdBy: string;
4073
4046
  createdByRole: string;
@@ -4087,8 +4060,8 @@ export declare const EventDocument: z.ZodObject<{
4087
4060
  street?: string | null | undefined;
4088
4061
  zipCode?: string | null | undefined;
4089
4062
  } | {
4090
- firstname?: string | null | undefined;
4091
- surname?: string | null | undefined;
4063
+ firstname: string;
4064
+ surname: string;
4092
4065
  middlename?: string | null | undefined;
4093
4066
  } | {
4094
4067
  country: string;
@@ -4132,8 +4105,8 @@ export declare const EventDocument: z.ZodObject<{
4132
4105
  street?: string | null | undefined;
4133
4106
  zipCode?: string | null | undefined;
4134
4107
  } | {
4135
- firstname?: string | null | undefined;
4136
- surname?: string | null | undefined;
4108
+ firstname: string;
4109
+ surname: string;
4137
4110
  middlename?: string | null | undefined;
4138
4111
  } | {
4139
4112
  country: string;
@@ -4162,7 +4135,6 @@ export declare const EventDocument: z.ZodObject<{
4162
4135
  }>, z.ZodObject<z.objectUtil.extendShape<{
4163
4136
  id: z.ZodBranded<z.ZodString, "UUID">;
4164
4137
  transactionId: z.ZodString;
4165
- createdByUserType: z.ZodEnum<["user", "system"]>;
4166
4138
  createdAt: z.ZodString;
4167
4139
  createdBy: z.ZodString;
4168
4140
  createdByRole: z.ZodString;
@@ -4282,16 +4254,16 @@ export declare const EventDocument: z.ZodObject<{
4282
4254
  addressLine3?: string | null | undefined;
4283
4255
  postcodeOrZip?: string | null | undefined;
4284
4256
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4285
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4286
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4257
+ firstname: z.ZodString;
4258
+ surname: z.ZodString;
4287
4259
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
4260
  }, "strip", z.ZodTypeAny, {
4289
- firstname?: string | null | undefined;
4290
- surname?: string | null | undefined;
4261
+ firstname: string;
4262
+ surname: string;
4291
4263
  middlename?: string | null | undefined;
4292
4264
  }, {
4293
- firstname?: string | null | undefined;
4294
- surname?: string | null | undefined;
4265
+ firstname: string;
4266
+ surname: string;
4295
4267
  middlename?: string | null | undefined;
4296
4268
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4297
4269
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -4408,16 +4380,16 @@ export declare const EventDocument: z.ZodObject<{
4408
4380
  addressLine3?: string | null | undefined;
4409
4381
  postcodeOrZip?: string | null | undefined;
4410
4382
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4411
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4412
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4383
+ firstname: z.ZodString;
4384
+ surname: z.ZodString;
4413
4385
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4414
4386
  }, "strip", z.ZodTypeAny, {
4415
- firstname?: string | null | undefined;
4416
- surname?: string | null | undefined;
4387
+ firstname: string;
4388
+ surname: string;
4417
4389
  middlename?: string | null | undefined;
4418
4390
  }, {
4419
- firstname?: string | null | undefined;
4420
- surname?: string | null | undefined;
4391
+ firstname: string;
4392
+ surname: string;
4421
4393
  middlename?: string | null | undefined;
4422
4394
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4423
4395
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -4429,7 +4401,6 @@ export declare const EventDocument: z.ZodObject<{
4429
4401
  id: string & z.BRAND<"UUID">;
4430
4402
  status: "Rejected" | "Requested" | "Accepted";
4431
4403
  transactionId: string;
4432
- createdByUserType: "system" | "user";
4433
4404
  createdAt: string;
4434
4405
  createdBy: string;
4435
4406
  createdByRole: string;
@@ -4449,8 +4420,8 @@ export declare const EventDocument: z.ZodObject<{
4449
4420
  street?: string | null | undefined;
4450
4421
  zipCode?: string | null | undefined;
4451
4422
  } | {
4452
- firstname?: string | null | undefined;
4453
- surname?: string | null | undefined;
4423
+ firstname: string;
4424
+ surname: string;
4454
4425
  middlename?: string | null | undefined;
4455
4426
  } | {
4456
4427
  country: string;
@@ -4493,8 +4464,8 @@ export declare const EventDocument: z.ZodObject<{
4493
4464
  street?: string | null | undefined;
4494
4465
  zipCode?: string | null | undefined;
4495
4466
  } | {
4496
- firstname?: string | null | undefined;
4497
- surname?: string | null | undefined;
4467
+ firstname: string;
4468
+ surname: string;
4498
4469
  middlename?: string | null | undefined;
4499
4470
  } | {
4500
4471
  country: string;
@@ -4525,7 +4496,6 @@ export declare const EventDocument: z.ZodObject<{
4525
4496
  id: string;
4526
4497
  status: "Rejected" | "Requested" | "Accepted";
4527
4498
  transactionId: string;
4528
- createdByUserType: "system" | "user";
4529
4499
  createdAt: string;
4530
4500
  createdBy: string;
4531
4501
  createdByRole: string;
@@ -4545,8 +4515,8 @@ export declare const EventDocument: z.ZodObject<{
4545
4515
  street?: string | null | undefined;
4546
4516
  zipCode?: string | null | undefined;
4547
4517
  } | {
4548
- firstname?: string | null | undefined;
4549
- surname?: string | null | undefined;
4518
+ firstname: string;
4519
+ surname: string;
4550
4520
  middlename?: string | null | undefined;
4551
4521
  } | {
4552
4522
  country: string;
@@ -4589,8 +4559,8 @@ export declare const EventDocument: z.ZodObject<{
4589
4559
  street?: string | null | undefined;
4590
4560
  zipCode?: string | null | undefined;
4591
4561
  } | {
4592
- firstname?: string | null | undefined;
4593
- surname?: string | null | undefined;
4562
+ firstname: string;
4563
+ surname: string;
4594
4564
  middlename?: string | null | undefined;
4595
4565
  } | {
4596
4566
  country: string;
@@ -4619,7 +4589,6 @@ export declare const EventDocument: z.ZodObject<{
4619
4589
  }>, z.ZodObject<z.objectUtil.extendShape<{
4620
4590
  id: z.ZodBranded<z.ZodString, "UUID">;
4621
4591
  transactionId: z.ZodString;
4622
- createdByUserType: z.ZodEnum<["user", "system"]>;
4623
4592
  createdAt: z.ZodString;
4624
4593
  createdBy: z.ZodString;
4625
4594
  createdByRole: z.ZodString;
@@ -4739,16 +4708,16 @@ export declare const EventDocument: z.ZodObject<{
4739
4708
  addressLine3?: string | null | undefined;
4740
4709
  postcodeOrZip?: string | null | undefined;
4741
4710
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4742
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4743
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4711
+ firstname: z.ZodString;
4712
+ surname: z.ZodString;
4744
4713
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
4714
  }, "strip", z.ZodTypeAny, {
4746
- firstname?: string | null | undefined;
4747
- surname?: string | null | undefined;
4715
+ firstname: string;
4716
+ surname: string;
4748
4717
  middlename?: string | null | undefined;
4749
4718
  }, {
4750
- firstname?: string | null | undefined;
4751
- surname?: string | null | undefined;
4719
+ firstname: string;
4720
+ surname: string;
4752
4721
  middlename?: string | null | undefined;
4753
4722
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4754
4723
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -4865,16 +4834,16 @@ export declare const EventDocument: z.ZodObject<{
4865
4834
  addressLine3?: string | null | undefined;
4866
4835
  postcodeOrZip?: string | null | undefined;
4867
4836
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4868
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4869
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4837
+ firstname: z.ZodString;
4838
+ surname: z.ZodString;
4870
4839
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
4840
  }, "strip", z.ZodTypeAny, {
4872
- firstname?: string | null | undefined;
4873
- surname?: string | null | undefined;
4841
+ firstname: string;
4842
+ surname: string;
4874
4843
  middlename?: string | null | undefined;
4875
4844
  }, {
4876
- firstname?: string | null | undefined;
4877
- surname?: string | null | undefined;
4845
+ firstname: string;
4846
+ surname: string;
4878
4847
  middlename?: string | null | undefined;
4879
4848
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4880
4849
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -4887,7 +4856,6 @@ export declare const EventDocument: z.ZodObject<{
4887
4856
  id: string & z.BRAND<"UUID">;
4888
4857
  status: "Rejected" | "Requested" | "Accepted";
4889
4858
  transactionId: string;
4890
- createdByUserType: "system" | "user";
4891
4859
  createdAt: string;
4892
4860
  createdBy: string;
4893
4861
  createdByRole: string;
@@ -4907,8 +4875,8 @@ export declare const EventDocument: z.ZodObject<{
4907
4875
  street?: string | null | undefined;
4908
4876
  zipCode?: string | null | undefined;
4909
4877
  } | {
4910
- firstname?: string | null | undefined;
4911
- surname?: string | null | undefined;
4878
+ firstname: string;
4879
+ surname: string;
4912
4880
  middlename?: string | null | undefined;
4913
4881
  } | {
4914
4882
  country: string;
@@ -4952,8 +4920,8 @@ export declare const EventDocument: z.ZodObject<{
4952
4920
  street?: string | null | undefined;
4953
4921
  zipCode?: string | null | undefined;
4954
4922
  } | {
4955
- firstname?: string | null | undefined;
4956
- surname?: string | null | undefined;
4923
+ firstname: string;
4924
+ surname: string;
4957
4925
  middlename?: string | null | undefined;
4958
4926
  } | {
4959
4927
  country: string;
@@ -4984,7 +4952,6 @@ export declare const EventDocument: z.ZodObject<{
4984
4952
  id: string;
4985
4953
  status: "Rejected" | "Requested" | "Accepted";
4986
4954
  transactionId: string;
4987
- createdByUserType: "system" | "user";
4988
4955
  createdAt: string;
4989
4956
  createdBy: string;
4990
4957
  createdByRole: string;
@@ -5004,8 +4971,8 @@ export declare const EventDocument: z.ZodObject<{
5004
4971
  street?: string | null | undefined;
5005
4972
  zipCode?: string | null | undefined;
5006
4973
  } | {
5007
- firstname?: string | null | undefined;
5008
- surname?: string | null | undefined;
4974
+ firstname: string;
4975
+ surname: string;
5009
4976
  middlename?: string | null | undefined;
5010
4977
  } | {
5011
4978
  country: string;
@@ -5049,8 +5016,8 @@ export declare const EventDocument: z.ZodObject<{
5049
5016
  street?: string | null | undefined;
5050
5017
  zipCode?: string | null | undefined;
5051
5018
  } | {
5052
- firstname?: string | null | undefined;
5053
- surname?: string | null | undefined;
5019
+ firstname: string;
5020
+ surname: string;
5054
5021
  middlename?: string | null | undefined;
5055
5022
  } | {
5056
5023
  country: string;
@@ -5079,7 +5046,6 @@ export declare const EventDocument: z.ZodObject<{
5079
5046
  }>, z.ZodObject<z.objectUtil.extendShape<{
5080
5047
  id: z.ZodBranded<z.ZodString, "UUID">;
5081
5048
  transactionId: z.ZodString;
5082
- createdByUserType: z.ZodEnum<["user", "system"]>;
5083
5049
  createdAt: z.ZodString;
5084
5050
  createdBy: z.ZodString;
5085
5051
  createdByRole: z.ZodString;
@@ -5199,16 +5165,16 @@ export declare const EventDocument: z.ZodObject<{
5199
5165
  addressLine3?: string | null | undefined;
5200
5166
  postcodeOrZip?: string | null | undefined;
5201
5167
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5202
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5168
+ firstname: z.ZodString;
5169
+ surname: z.ZodString;
5204
5170
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
5171
  }, "strip", z.ZodTypeAny, {
5206
- firstname?: string | null | undefined;
5207
- surname?: string | null | undefined;
5172
+ firstname: string;
5173
+ surname: string;
5208
5174
  middlename?: string | null | undefined;
5209
5175
  }, {
5210
- firstname?: string | null | undefined;
5211
- surname?: string | null | undefined;
5176
+ firstname: string;
5177
+ surname: string;
5212
5178
  middlename?: string | null | undefined;
5213
5179
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5214
5180
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -5325,16 +5291,16 @@ export declare const EventDocument: z.ZodObject<{
5325
5291
  addressLine3?: string | null | undefined;
5326
5292
  postcodeOrZip?: string | null | undefined;
5327
5293
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5328
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5329
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5294
+ firstname: z.ZodString;
5295
+ surname: z.ZodString;
5330
5296
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
5297
  }, "strip", z.ZodTypeAny, {
5332
- firstname?: string | null | undefined;
5333
- surname?: string | null | undefined;
5298
+ firstname: string;
5299
+ surname: string;
5334
5300
  middlename?: string | null | undefined;
5335
5301
  }, {
5336
- firstname?: string | null | undefined;
5337
- surname?: string | null | undefined;
5302
+ firstname: string;
5303
+ surname: string;
5338
5304
  middlename?: string | null | undefined;
5339
5305
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5340
5306
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -5347,7 +5313,6 @@ export declare const EventDocument: z.ZodObject<{
5347
5313
  id: string & z.BRAND<"UUID">;
5348
5314
  status: "Rejected" | "Requested" | "Accepted";
5349
5315
  transactionId: string;
5350
- createdByUserType: "system" | "user";
5351
5316
  createdAt: string;
5352
5317
  createdBy: string;
5353
5318
  createdByRole: string;
@@ -5367,8 +5332,8 @@ export declare const EventDocument: z.ZodObject<{
5367
5332
  street?: string | null | undefined;
5368
5333
  zipCode?: string | null | undefined;
5369
5334
  } | {
5370
- firstname?: string | null | undefined;
5371
- surname?: string | null | undefined;
5335
+ firstname: string;
5336
+ surname: string;
5372
5337
  middlename?: string | null | undefined;
5373
5338
  } | {
5374
5339
  country: string;
@@ -5412,8 +5377,8 @@ export declare const EventDocument: z.ZodObject<{
5412
5377
  street?: string | null | undefined;
5413
5378
  zipCode?: string | null | undefined;
5414
5379
  } | {
5415
- firstname?: string | null | undefined;
5416
- surname?: string | null | undefined;
5380
+ firstname: string;
5381
+ surname: string;
5417
5382
  middlename?: string | null | undefined;
5418
5383
  } | {
5419
5384
  country: string;
@@ -5444,7 +5409,6 @@ export declare const EventDocument: z.ZodObject<{
5444
5409
  id: string;
5445
5410
  status: "Rejected" | "Requested" | "Accepted";
5446
5411
  transactionId: string;
5447
- createdByUserType: "system" | "user";
5448
5412
  createdAt: string;
5449
5413
  createdBy: string;
5450
5414
  createdByRole: string;
@@ -5464,8 +5428,8 @@ export declare const EventDocument: z.ZodObject<{
5464
5428
  street?: string | null | undefined;
5465
5429
  zipCode?: string | null | undefined;
5466
5430
  } | {
5467
- firstname?: string | null | undefined;
5468
- surname?: string | null | undefined;
5431
+ firstname: string;
5432
+ surname: string;
5469
5433
  middlename?: string | null | undefined;
5470
5434
  } | {
5471
5435
  country: string;
@@ -5509,8 +5473,8 @@ export declare const EventDocument: z.ZodObject<{
5509
5473
  street?: string | null | undefined;
5510
5474
  zipCode?: string | null | undefined;
5511
5475
  } | {
5512
- firstname?: string | null | undefined;
5513
- surname?: string | null | undefined;
5476
+ firstname: string;
5477
+ surname: string;
5514
5478
  middlename?: string | null | undefined;
5515
5479
  } | {
5516
5480
  country: string;
@@ -5539,7 +5503,6 @@ export declare const EventDocument: z.ZodObject<{
5539
5503
  }>, z.ZodObject<z.objectUtil.extendShape<{
5540
5504
  id: z.ZodBranded<z.ZodString, "UUID">;
5541
5505
  transactionId: z.ZodString;
5542
- createdByUserType: z.ZodEnum<["user", "system"]>;
5543
5506
  createdAt: z.ZodString;
5544
5507
  createdBy: z.ZodString;
5545
5508
  createdByRole: z.ZodString;
@@ -5659,16 +5622,16 @@ export declare const EventDocument: z.ZodObject<{
5659
5622
  addressLine3?: string | null | undefined;
5660
5623
  postcodeOrZip?: string | null | undefined;
5661
5624
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5662
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5663
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5625
+ firstname: z.ZodString;
5626
+ surname: z.ZodString;
5664
5627
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
5628
  }, "strip", z.ZodTypeAny, {
5666
- firstname?: string | null | undefined;
5667
- surname?: string | null | undefined;
5629
+ firstname: string;
5630
+ surname: string;
5668
5631
  middlename?: string | null | undefined;
5669
5632
  }, {
5670
- firstname?: string | null | undefined;
5671
- surname?: string | null | undefined;
5633
+ firstname: string;
5634
+ surname: string;
5672
5635
  middlename?: string | null | undefined;
5673
5636
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5674
5637
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -5785,28 +5748,28 @@ export declare const EventDocument: z.ZodObject<{
5785
5748
  addressLine3?: string | null | undefined;
5786
5749
  postcodeOrZip?: string | null | undefined;
5787
5750
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5788
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5789
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5751
+ firstname: z.ZodString;
5752
+ surname: z.ZodString;
5790
5753
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
5754
  }, "strip", z.ZodTypeAny, {
5792
- firstname?: string | null | undefined;
5793
- surname?: string | null | undefined;
5755
+ firstname: string;
5756
+ surname: string;
5794
5757
  middlename?: string | null | undefined;
5795
5758
  }, {
5796
- firstname?: string | null | undefined;
5797
- surname?: string | null | undefined;
5759
+ firstname: string;
5760
+ surname: string;
5798
5761
  middlename?: string | null | undefined;
5799
5762
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5800
5763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5801
5764
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5802
5765
  }, {
5803
5766
  type: z.ZodLiteral<"UNASSIGN">;
5767
+ assignedTo: z.ZodLiteral<null>;
5804
5768
  }>, "strip", z.ZodTypeAny, {
5805
5769
  type: "UNASSIGN";
5806
5770
  id: string & z.BRAND<"UUID">;
5807
5771
  status: "Rejected" | "Requested" | "Accepted";
5808
5772
  transactionId: string;
5809
- createdByUserType: "system" | "user";
5810
5773
  createdAt: string;
5811
5774
  createdBy: string;
5812
5775
  createdByRole: string;
@@ -5826,8 +5789,8 @@ export declare const EventDocument: z.ZodObject<{
5826
5789
  street?: string | null | undefined;
5827
5790
  zipCode?: string | null | undefined;
5828
5791
  } | {
5829
- firstname?: string | null | undefined;
5830
- surname?: string | null | undefined;
5792
+ firstname: string;
5793
+ surname: string;
5831
5794
  middlename?: string | null | undefined;
5832
5795
  } | {
5833
5796
  country: string;
@@ -5852,6 +5815,7 @@ export declare const EventDocument: z.ZodObject<{
5852
5815
  filename: string;
5853
5816
  originalFilename: string;
5854
5817
  }[] | [string, string] | null | undefined>;
5818
+ assignedTo: null;
5855
5819
  createdBySignature?: string | null | undefined;
5856
5820
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5857
5821
  annotation?: Record<string, string | number | boolean | {
@@ -5870,8 +5834,8 @@ export declare const EventDocument: z.ZodObject<{
5870
5834
  street?: string | null | undefined;
5871
5835
  zipCode?: string | null | undefined;
5872
5836
  } | {
5873
- firstname?: string | null | undefined;
5874
- surname?: string | null | undefined;
5837
+ firstname: string;
5838
+ surname: string;
5875
5839
  middlename?: string | null | undefined;
5876
5840
  } | {
5877
5841
  country: string;
@@ -5902,7 +5866,6 @@ export declare const EventDocument: z.ZodObject<{
5902
5866
  id: string;
5903
5867
  status: "Rejected" | "Requested" | "Accepted";
5904
5868
  transactionId: string;
5905
- createdByUserType: "system" | "user";
5906
5869
  createdAt: string;
5907
5870
  createdBy: string;
5908
5871
  createdByRole: string;
@@ -5922,8 +5885,8 @@ export declare const EventDocument: z.ZodObject<{
5922
5885
  street?: string | null | undefined;
5923
5886
  zipCode?: string | null | undefined;
5924
5887
  } | {
5925
- firstname?: string | null | undefined;
5926
- surname?: string | null | undefined;
5888
+ firstname: string;
5889
+ surname: string;
5927
5890
  middlename?: string | null | undefined;
5928
5891
  } | {
5929
5892
  country: string;
@@ -5948,6 +5911,7 @@ export declare const EventDocument: z.ZodObject<{
5948
5911
  filename: string;
5949
5912
  originalFilename: string;
5950
5913
  }[] | [string, string] | null | undefined>;
5914
+ assignedTo: null;
5951
5915
  createdBySignature?: string | null | undefined;
5952
5916
  createdAtLocation?: string | null | undefined;
5953
5917
  annotation?: Record<string, string | number | boolean | {
@@ -5966,8 +5930,8 @@ export declare const EventDocument: z.ZodObject<{
5966
5930
  street?: string | null | undefined;
5967
5931
  zipCode?: string | null | undefined;
5968
5932
  } | {
5969
- firstname?: string | null | undefined;
5970
- surname?: string | null | undefined;
5933
+ firstname: string;
5934
+ surname: string;
5971
5935
  middlename?: string | null | undefined;
5972
5936
  } | {
5973
5937
  country: string;
@@ -5996,7 +5960,6 @@ export declare const EventDocument: z.ZodObject<{
5996
5960
  }>, z.ZodObject<z.objectUtil.extendShape<{
5997
5961
  id: z.ZodBranded<z.ZodString, "UUID">;
5998
5962
  transactionId: z.ZodString;
5999
- createdByUserType: z.ZodEnum<["user", "system"]>;
6000
5963
  createdAt: z.ZodString;
6001
5964
  createdBy: z.ZodString;
6002
5965
  createdByRole: z.ZodString;
@@ -6116,16 +6079,16 @@ export declare const EventDocument: z.ZodObject<{
6116
6079
  addressLine3?: string | null | undefined;
6117
6080
  postcodeOrZip?: string | null | undefined;
6118
6081
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6119
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6120
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6082
+ firstname: z.ZodString;
6083
+ surname: z.ZodString;
6121
6084
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
6085
  }, "strip", z.ZodTypeAny, {
6123
- firstname?: string | null | undefined;
6124
- surname?: string | null | undefined;
6086
+ firstname: string;
6087
+ surname: string;
6125
6088
  middlename?: string | null | undefined;
6126
6089
  }, {
6127
- firstname?: string | null | undefined;
6128
- surname?: string | null | undefined;
6090
+ firstname: string;
6091
+ surname: string;
6129
6092
  middlename?: string | null | undefined;
6130
6093
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6131
6094
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -6242,16 +6205,16 @@ export declare const EventDocument: z.ZodObject<{
6242
6205
  addressLine3?: string | null | undefined;
6243
6206
  postcodeOrZip?: string | null | undefined;
6244
6207
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6245
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6246
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6208
+ firstname: z.ZodString;
6209
+ surname: z.ZodString;
6247
6210
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
6211
  }, "strip", z.ZodTypeAny, {
6249
- firstname?: string | null | undefined;
6250
- surname?: string | null | undefined;
6212
+ firstname: string;
6213
+ surname: string;
6251
6214
  middlename?: string | null | undefined;
6252
6215
  }, {
6253
- firstname?: string | null | undefined;
6254
- surname?: string | null | undefined;
6216
+ firstname: string;
6217
+ surname: string;
6255
6218
  middlename?: string | null | undefined;
6256
6219
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6257
6220
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -6263,7 +6226,6 @@ export declare const EventDocument: z.ZodObject<{
6263
6226
  id: string & z.BRAND<"UUID">;
6264
6227
  status: "Rejected" | "Requested" | "Accepted";
6265
6228
  transactionId: string;
6266
- createdByUserType: "system" | "user";
6267
6229
  createdAt: string;
6268
6230
  createdBy: string;
6269
6231
  createdByRole: string;
@@ -6283,8 +6245,8 @@ export declare const EventDocument: z.ZodObject<{
6283
6245
  street?: string | null | undefined;
6284
6246
  zipCode?: string | null | undefined;
6285
6247
  } | {
6286
- firstname?: string | null | undefined;
6287
- surname?: string | null | undefined;
6248
+ firstname: string;
6249
+ surname: string;
6288
6250
  middlename?: string | null | undefined;
6289
6251
  } | {
6290
6252
  country: string;
@@ -6327,8 +6289,8 @@ export declare const EventDocument: z.ZodObject<{
6327
6289
  street?: string | null | undefined;
6328
6290
  zipCode?: string | null | undefined;
6329
6291
  } | {
6330
- firstname?: string | null | undefined;
6331
- surname?: string | null | undefined;
6292
+ firstname: string;
6293
+ surname: string;
6332
6294
  middlename?: string | null | undefined;
6333
6295
  } | {
6334
6296
  country: string;
@@ -6359,7 +6321,6 @@ export declare const EventDocument: z.ZodObject<{
6359
6321
  id: string;
6360
6322
  status: "Rejected" | "Requested" | "Accepted";
6361
6323
  transactionId: string;
6362
- createdByUserType: "system" | "user";
6363
6324
  createdAt: string;
6364
6325
  createdBy: string;
6365
6326
  createdByRole: string;
@@ -6379,8 +6340,8 @@ export declare const EventDocument: z.ZodObject<{
6379
6340
  street?: string | null | undefined;
6380
6341
  zipCode?: string | null | undefined;
6381
6342
  } | {
6382
- firstname?: string | null | undefined;
6383
- surname?: string | null | undefined;
6343
+ firstname: string;
6344
+ surname: string;
6384
6345
  middlename?: string | null | undefined;
6385
6346
  } | {
6386
6347
  country: string;
@@ -6423,8 +6384,8 @@ export declare const EventDocument: z.ZodObject<{
6423
6384
  street?: string | null | undefined;
6424
6385
  zipCode?: string | null | undefined;
6425
6386
  } | {
6426
- firstname?: string | null | undefined;
6427
- surname?: string | null | undefined;
6387
+ firstname: string;
6388
+ surname: string;
6428
6389
  middlename?: string | null | undefined;
6429
6390
  } | {
6430
6391
  country: string;
@@ -6453,7 +6414,6 @@ export declare const EventDocument: z.ZodObject<{
6453
6414
  }>, z.ZodObject<z.objectUtil.extendShape<{
6454
6415
  id: z.ZodBranded<z.ZodString, "UUID">;
6455
6416
  transactionId: z.ZodString;
6456
- createdByUserType: z.ZodEnum<["user", "system"]>;
6457
6417
  createdAt: z.ZodString;
6458
6418
  createdBy: z.ZodString;
6459
6419
  createdByRole: z.ZodString;
@@ -6573,16 +6533,16 @@ export declare const EventDocument: z.ZodObject<{
6573
6533
  addressLine3?: string | null | undefined;
6574
6534
  postcodeOrZip?: string | null | undefined;
6575
6535
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6576
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6577
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6536
+ firstname: z.ZodString;
6537
+ surname: z.ZodString;
6578
6538
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6579
6539
  }, "strip", z.ZodTypeAny, {
6580
- firstname?: string | null | undefined;
6581
- surname?: string | null | undefined;
6540
+ firstname: string;
6541
+ surname: string;
6582
6542
  middlename?: string | null | undefined;
6583
6543
  }, {
6584
- firstname?: string | null | undefined;
6585
- surname?: string | null | undefined;
6544
+ firstname: string;
6545
+ surname: string;
6586
6546
  middlename?: string | null | undefined;
6587
6547
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6588
6548
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -6699,16 +6659,16 @@ export declare const EventDocument: z.ZodObject<{
6699
6659
  addressLine3?: string | null | undefined;
6700
6660
  postcodeOrZip?: string | null | undefined;
6701
6661
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6702
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6703
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6662
+ firstname: z.ZodString;
6663
+ surname: z.ZodString;
6704
6664
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6705
6665
  }, "strip", z.ZodTypeAny, {
6706
- firstname?: string | null | undefined;
6707
- surname?: string | null | undefined;
6666
+ firstname: string;
6667
+ surname: string;
6708
6668
  middlename?: string | null | undefined;
6709
6669
  }, {
6710
- firstname?: string | null | undefined;
6711
- surname?: string | null | undefined;
6670
+ firstname: string;
6671
+ surname: string;
6712
6672
  middlename?: string | null | undefined;
6713
6673
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6714
6674
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -6720,7 +6680,6 @@ export declare const EventDocument: z.ZodObject<{
6720
6680
  id: string & z.BRAND<"UUID">;
6721
6681
  status: "Rejected" | "Requested" | "Accepted";
6722
6682
  transactionId: string;
6723
- createdByUserType: "system" | "user";
6724
6683
  createdAt: string;
6725
6684
  createdBy: string;
6726
6685
  createdByRole: string;
@@ -6740,8 +6699,8 @@ export declare const EventDocument: z.ZodObject<{
6740
6699
  street?: string | null | undefined;
6741
6700
  zipCode?: string | null | undefined;
6742
6701
  } | {
6743
- firstname?: string | null | undefined;
6744
- surname?: string | null | undefined;
6702
+ firstname: string;
6703
+ surname: string;
6745
6704
  middlename?: string | null | undefined;
6746
6705
  } | {
6747
6706
  country: string;
@@ -6784,8 +6743,8 @@ export declare const EventDocument: z.ZodObject<{
6784
6743
  street?: string | null | undefined;
6785
6744
  zipCode?: string | null | undefined;
6786
6745
  } | {
6787
- firstname?: string | null | undefined;
6788
- surname?: string | null | undefined;
6746
+ firstname: string;
6747
+ surname: string;
6789
6748
  middlename?: string | null | undefined;
6790
6749
  } | {
6791
6750
  country: string;
@@ -6816,7 +6775,6 @@ export declare const EventDocument: z.ZodObject<{
6816
6775
  id: string;
6817
6776
  status: "Rejected" | "Requested" | "Accepted";
6818
6777
  transactionId: string;
6819
- createdByUserType: "system" | "user";
6820
6778
  createdAt: string;
6821
6779
  createdBy: string;
6822
6780
  createdByRole: string;
@@ -6836,8 +6794,8 @@ export declare const EventDocument: z.ZodObject<{
6836
6794
  street?: string | null | undefined;
6837
6795
  zipCode?: string | null | undefined;
6838
6796
  } | {
6839
- firstname?: string | null | undefined;
6840
- surname?: string | null | undefined;
6797
+ firstname: string;
6798
+ surname: string;
6841
6799
  middlename?: string | null | undefined;
6842
6800
  } | {
6843
6801
  country: string;
@@ -6880,8 +6838,8 @@ export declare const EventDocument: z.ZodObject<{
6880
6838
  street?: string | null | undefined;
6881
6839
  zipCode?: string | null | undefined;
6882
6840
  } | {
6883
- firstname?: string | null | undefined;
6884
- surname?: string | null | undefined;
6841
+ firstname: string;
6842
+ surname: string;
6885
6843
  middlename?: string | null | undefined;
6886
6844
  } | {
6887
6845
  country: string;
@@ -6910,7 +6868,6 @@ export declare const EventDocument: z.ZodObject<{
6910
6868
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6911
6869
  id: z.ZodBranded<z.ZodString, "UUID">;
6912
6870
  transactionId: z.ZodString;
6913
- createdByUserType: z.ZodEnum<["user", "system"]>;
6914
6871
  createdAt: z.ZodString;
6915
6872
  createdBy: z.ZodString;
6916
6873
  createdByRole: z.ZodString;
@@ -7030,16 +6987,16 @@ export declare const EventDocument: z.ZodObject<{
7030
6987
  addressLine3?: string | null | undefined;
7031
6988
  postcodeOrZip?: string | null | undefined;
7032
6989
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7033
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7034
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6990
+ firstname: z.ZodString;
6991
+ surname: z.ZodString;
7035
6992
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
6993
  }, "strip", z.ZodTypeAny, {
7037
- firstname?: string | null | undefined;
7038
- surname?: string | null | undefined;
6994
+ firstname: string;
6995
+ surname: string;
7039
6996
  middlename?: string | null | undefined;
7040
6997
  }, {
7041
- firstname?: string | null | undefined;
7042
- surname?: string | null | undefined;
6998
+ firstname: string;
6999
+ surname: string;
7043
7000
  middlename?: string | null | undefined;
7044
7001
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7045
7002
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
@@ -7156,16 +7113,16 @@ export declare const EventDocument: z.ZodObject<{
7156
7113
  addressLine3?: string | null | undefined;
7157
7114
  postcodeOrZip?: string | null | undefined;
7158
7115
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7159
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7160
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7116
+ firstname: z.ZodString;
7117
+ surname: z.ZodString;
7161
7118
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7162
7119
  }, "strip", z.ZodTypeAny, {
7163
- firstname?: string | null | undefined;
7164
- surname?: string | null | undefined;
7120
+ firstname: string;
7121
+ surname: string;
7165
7122
  middlename?: string | null | undefined;
7166
7123
  }, {
7167
- firstname?: string | null | undefined;
7168
- surname?: string | null | undefined;
7124
+ firstname: string;
7125
+ surname: string;
7169
7126
  middlename?: string | null | undefined;
7170
7127
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7171
7128
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -7174,11 +7131,10 @@ export declare const EventDocument: z.ZodObject<{
7174
7131
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7175
7132
  status: z.ZodLiteral<"Rejected">;
7176
7133
  }>, "strip", z.ZodTypeAny, {
7177
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7134
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7178
7135
  id: string & z.BRAND<"UUID">;
7179
7136
  status: "Rejected";
7180
7137
  transactionId: string;
7181
- createdByUserType: "system" | "user";
7182
7138
  createdAt: string;
7183
7139
  createdBy: string;
7184
7140
  createdByRole: string;
@@ -7186,11 +7142,10 @@ export declare const EventDocument: z.ZodObject<{
7186
7142
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7187
7143
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7188
7144
  }, {
7189
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7145
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7190
7146
  id: string;
7191
7147
  status: "Rejected";
7192
7148
  transactionId: string;
7193
- createdByUserType: "system" | "user";
7194
7149
  createdAt: string;
7195
7150
  createdBy: string;
7196
7151
  createdByRole: string;
@@ -7209,7 +7164,6 @@ export declare const EventDocument: z.ZodObject<{
7209
7164
  id: string & z.BRAND<"UUID">;
7210
7165
  status: "Rejected" | "Requested" | "Accepted";
7211
7166
  transactionId: string;
7212
- createdByUserType: "system" | "user";
7213
7167
  createdAt: string;
7214
7168
  createdBy: string;
7215
7169
  createdByRole: string;
@@ -7229,8 +7183,8 @@ export declare const EventDocument: z.ZodObject<{
7229
7183
  street?: string | null | undefined;
7230
7184
  zipCode?: string | null | undefined;
7231
7185
  } | {
7232
- firstname?: string | null | undefined;
7233
- surname?: string | null | undefined;
7186
+ firstname: string;
7187
+ surname: string;
7234
7188
  middlename?: string | null | undefined;
7235
7189
  } | {
7236
7190
  country: string;
@@ -7274,8 +7228,8 @@ export declare const EventDocument: z.ZodObject<{
7274
7228
  street?: string | null | undefined;
7275
7229
  zipCode?: string | null | undefined;
7276
7230
  } | {
7277
- firstname?: string | null | undefined;
7278
- surname?: string | null | undefined;
7231
+ firstname: string;
7232
+ surname: string;
7279
7233
  middlename?: string | null | undefined;
7280
7234
  } | {
7281
7235
  country: string;
@@ -7306,7 +7260,6 @@ export declare const EventDocument: z.ZodObject<{
7306
7260
  id: string & z.BRAND<"UUID">;
7307
7261
  status: "Rejected" | "Requested" | "Accepted";
7308
7262
  transactionId: string;
7309
- createdByUserType: "system" | "user";
7310
7263
  createdAt: string;
7311
7264
  createdBy: string;
7312
7265
  createdByRole: string;
@@ -7326,8 +7279,8 @@ export declare const EventDocument: z.ZodObject<{
7326
7279
  street?: string | null | undefined;
7327
7280
  zipCode?: string | null | undefined;
7328
7281
  } | {
7329
- firstname?: string | null | undefined;
7330
- surname?: string | null | undefined;
7282
+ firstname: string;
7283
+ surname: string;
7331
7284
  middlename?: string | null | undefined;
7332
7285
  } | {
7333
7286
  country: string;
@@ -7352,6 +7305,7 @@ export declare const EventDocument: z.ZodObject<{
7352
7305
  filename: string;
7353
7306
  originalFilename: string;
7354
7307
  }[] | [string, string] | null | undefined>;
7308
+ assignedTo: null;
7355
7309
  createdBySignature?: string | null | undefined;
7356
7310
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7357
7311
  annotation?: Record<string, string | number | boolean | {
@@ -7370,8 +7324,8 @@ export declare const EventDocument: z.ZodObject<{
7370
7324
  street?: string | null | undefined;
7371
7325
  zipCode?: string | null | undefined;
7372
7326
  } | {
7373
- firstname?: string | null | undefined;
7374
- surname?: string | null | undefined;
7327
+ firstname: string;
7328
+ surname: string;
7375
7329
  middlename?: string | null | undefined;
7376
7330
  } | {
7377
7331
  country: string;
@@ -7402,7 +7356,6 @@ export declare const EventDocument: z.ZodObject<{
7402
7356
  id: string & z.BRAND<"UUID">;
7403
7357
  status: "Rejected" | "Requested" | "Accepted";
7404
7358
  transactionId: string;
7405
- createdByUserType: "system" | "user";
7406
7359
  createdAt: string;
7407
7360
  createdBy: string;
7408
7361
  createdByRole: string;
@@ -7422,8 +7375,8 @@ export declare const EventDocument: z.ZodObject<{
7422
7375
  street?: string | null | undefined;
7423
7376
  zipCode?: string | null | undefined;
7424
7377
  } | {
7425
- firstname?: string | null | undefined;
7426
- surname?: string | null | undefined;
7378
+ firstname: string;
7379
+ surname: string;
7427
7380
  middlename?: string | null | undefined;
7428
7381
  } | {
7429
7382
  country: string;
@@ -7466,8 +7419,8 @@ export declare const EventDocument: z.ZodObject<{
7466
7419
  street?: string | null | undefined;
7467
7420
  zipCode?: string | null | undefined;
7468
7421
  } | {
7469
- firstname?: string | null | undefined;
7470
- surname?: string | null | undefined;
7422
+ firstname: string;
7423
+ surname: string;
7471
7424
  middlename?: string | null | undefined;
7472
7425
  } | {
7473
7426
  country: string;
@@ -7499,7 +7452,6 @@ export declare const EventDocument: z.ZodObject<{
7499
7452
  id: string & z.BRAND<"UUID">;
7500
7453
  status: "Rejected" | "Requested" | "Accepted";
7501
7454
  transactionId: string;
7502
- createdByUserType: "system" | "user";
7503
7455
  createdAt: string;
7504
7456
  createdBy: string;
7505
7457
  createdByRole: string;
@@ -7519,8 +7471,8 @@ export declare const EventDocument: z.ZodObject<{
7519
7471
  street?: string | null | undefined;
7520
7472
  zipCode?: string | null | undefined;
7521
7473
  } | {
7522
- firstname?: string | null | undefined;
7523
- surname?: string | null | undefined;
7474
+ firstname: string;
7475
+ surname: string;
7524
7476
  middlename?: string | null | undefined;
7525
7477
  } | {
7526
7478
  country: string;
@@ -7563,8 +7515,8 @@ export declare const EventDocument: z.ZodObject<{
7563
7515
  street?: string | null | undefined;
7564
7516
  zipCode?: string | null | undefined;
7565
7517
  } | {
7566
- firstname?: string | null | undefined;
7567
- surname?: string | null | undefined;
7518
+ firstname: string;
7519
+ surname: string;
7568
7520
  middlename?: string | null | undefined;
7569
7521
  } | {
7570
7522
  country: string;
@@ -7595,7 +7547,6 @@ export declare const EventDocument: z.ZodObject<{
7595
7547
  id: string & z.BRAND<"UUID">;
7596
7548
  status: "Rejected" | "Requested" | "Accepted";
7597
7549
  transactionId: string;
7598
- createdByUserType: "system" | "user";
7599
7550
  createdAt: string;
7600
7551
  createdBy: string;
7601
7552
  createdByRole: string;
@@ -7615,8 +7566,8 @@ export declare const EventDocument: z.ZodObject<{
7615
7566
  street?: string | null | undefined;
7616
7567
  zipCode?: string | null | undefined;
7617
7568
  } | {
7618
- firstname?: string | null | undefined;
7619
- surname?: string | null | undefined;
7569
+ firstname: string;
7570
+ surname: string;
7620
7571
  middlename?: string | null | undefined;
7621
7572
  } | {
7622
7573
  country: string;
@@ -7659,8 +7610,8 @@ export declare const EventDocument: z.ZodObject<{
7659
7610
  street?: string | null | undefined;
7660
7611
  zipCode?: string | null | undefined;
7661
7612
  } | {
7662
- firstname?: string | null | undefined;
7663
- surname?: string | null | undefined;
7613
+ firstname: string;
7614
+ surname: string;
7664
7615
  middlename?: string | null | undefined;
7665
7616
  } | {
7666
7617
  country: string;
@@ -7695,7 +7646,6 @@ export declare const EventDocument: z.ZodObject<{
7695
7646
  isDuplicate?: boolean | undefined;
7696
7647
  };
7697
7648
  transactionId: string;
7698
- createdByUserType: "system" | "user";
7699
7649
  createdAt: string;
7700
7650
  createdBy: string;
7701
7651
  createdByRole: string;
@@ -7715,8 +7665,8 @@ export declare const EventDocument: z.ZodObject<{
7715
7665
  street?: string | null | undefined;
7716
7666
  zipCode?: string | null | undefined;
7717
7667
  } | {
7718
- firstname?: string | null | undefined;
7719
- surname?: string | null | undefined;
7668
+ firstname: string;
7669
+ surname: string;
7720
7670
  middlename?: string | null | undefined;
7721
7671
  } | {
7722
7672
  country: string;
@@ -7759,8 +7709,8 @@ export declare const EventDocument: z.ZodObject<{
7759
7709
  street?: string | null | undefined;
7760
7710
  zipCode?: string | null | undefined;
7761
7711
  } | {
7762
- firstname?: string | null | undefined;
7763
- surname?: string | null | undefined;
7712
+ firstname: string;
7713
+ surname: string;
7764
7714
  middlename?: string | null | undefined;
7765
7715
  } | {
7766
7716
  country: string;
@@ -7791,7 +7741,6 @@ export declare const EventDocument: z.ZodObject<{
7791
7741
  id: string & z.BRAND<"UUID">;
7792
7742
  status: "Rejected" | "Requested" | "Accepted";
7793
7743
  transactionId: string;
7794
- createdByUserType: "system" | "user";
7795
7744
  createdAt: string;
7796
7745
  createdBy: string;
7797
7746
  createdByRole: string;
@@ -7811,8 +7760,8 @@ export declare const EventDocument: z.ZodObject<{
7811
7760
  street?: string | null | undefined;
7812
7761
  zipCode?: string | null | undefined;
7813
7762
  } | {
7814
- firstname?: string | null | undefined;
7815
- surname?: string | null | undefined;
7763
+ firstname: string;
7764
+ surname: string;
7816
7765
  middlename?: string | null | undefined;
7817
7766
  } | {
7818
7767
  country: string;
@@ -7855,8 +7804,8 @@ export declare const EventDocument: z.ZodObject<{
7855
7804
  street?: string | null | undefined;
7856
7805
  zipCode?: string | null | undefined;
7857
7806
  } | {
7858
- firstname?: string | null | undefined;
7859
- surname?: string | null | undefined;
7807
+ firstname: string;
7808
+ surname: string;
7860
7809
  middlename?: string | null | undefined;
7861
7810
  } | {
7862
7811
  country: string;
@@ -7891,7 +7840,6 @@ export declare const EventDocument: z.ZodObject<{
7891
7840
  isDuplicate?: boolean | undefined;
7892
7841
  };
7893
7842
  transactionId: string;
7894
- createdByUserType: "system" | "user";
7895
7843
  createdAt: string;
7896
7844
  createdBy: string;
7897
7845
  createdByRole: string;
@@ -7911,8 +7859,8 @@ export declare const EventDocument: z.ZodObject<{
7911
7859
  street?: string | null | undefined;
7912
7860
  zipCode?: string | null | undefined;
7913
7861
  } | {
7914
- firstname?: string | null | undefined;
7915
- surname?: string | null | undefined;
7862
+ firstname: string;
7863
+ surname: string;
7916
7864
  middlename?: string | null | undefined;
7917
7865
  } | {
7918
7866
  country: string;
@@ -7955,8 +7903,8 @@ export declare const EventDocument: z.ZodObject<{
7955
7903
  street?: string | null | undefined;
7956
7904
  zipCode?: string | null | undefined;
7957
7905
  } | {
7958
- firstname?: string | null | undefined;
7959
- surname?: string | null | undefined;
7906
+ firstname: string;
7907
+ surname: string;
7960
7908
  middlename?: string | null | undefined;
7961
7909
  } | {
7962
7910
  country: string;
@@ -7987,7 +7935,6 @@ export declare const EventDocument: z.ZodObject<{
7987
7935
  id: string & z.BRAND<"UUID">;
7988
7936
  status: "Rejected" | "Requested" | "Accepted";
7989
7937
  transactionId: string;
7990
- createdByUserType: "system" | "user";
7991
7938
  createdAt: string;
7992
7939
  createdBy: string;
7993
7940
  createdByRole: string;
@@ -8007,8 +7954,8 @@ export declare const EventDocument: z.ZodObject<{
8007
7954
  street?: string | null | undefined;
8008
7955
  zipCode?: string | null | undefined;
8009
7956
  } | {
8010
- firstname?: string | null | undefined;
8011
- surname?: string | null | undefined;
7957
+ firstname: string;
7958
+ surname: string;
8012
7959
  middlename?: string | null | undefined;
8013
7960
  } | {
8014
7961
  country: string;
@@ -8051,8 +7998,8 @@ export declare const EventDocument: z.ZodObject<{
8051
7998
  street?: string | null | undefined;
8052
7999
  zipCode?: string | null | undefined;
8053
8000
  } | {
8054
- firstname?: string | null | undefined;
8055
- surname?: string | null | undefined;
8001
+ firstname: string;
8002
+ surname: string;
8056
8003
  middlename?: string | null | undefined;
8057
8004
  } | {
8058
8005
  country: string;
@@ -8083,7 +8030,6 @@ export declare const EventDocument: z.ZodObject<{
8083
8030
  id: string & z.BRAND<"UUID">;
8084
8031
  status: "Rejected" | "Requested" | "Accepted";
8085
8032
  transactionId: string;
8086
- createdByUserType: "system" | "user";
8087
8033
  createdAt: string;
8088
8034
  createdBy: string;
8089
8035
  createdByRole: string;
@@ -8103,8 +8049,8 @@ export declare const EventDocument: z.ZodObject<{
8103
8049
  street?: string | null | undefined;
8104
8050
  zipCode?: string | null | undefined;
8105
8051
  } | {
8106
- firstname?: string | null | undefined;
8107
- surname?: string | null | undefined;
8052
+ firstname: string;
8053
+ surname: string;
8108
8054
  middlename?: string | null | undefined;
8109
8055
  } | {
8110
8056
  country: string;
@@ -8147,8 +8093,8 @@ export declare const EventDocument: z.ZodObject<{
8147
8093
  street?: string | null | undefined;
8148
8094
  zipCode?: string | null | undefined;
8149
8095
  } | {
8150
- firstname?: string | null | undefined;
8151
- surname?: string | null | undefined;
8096
+ firstname: string;
8097
+ surname: string;
8152
8098
  middlename?: string | null | undefined;
8153
8099
  } | {
8154
8100
  country: string;
@@ -8179,7 +8125,6 @@ export declare const EventDocument: z.ZodObject<{
8179
8125
  id: string & z.BRAND<"UUID">;
8180
8126
  status: "Rejected" | "Requested" | "Accepted";
8181
8127
  transactionId: string;
8182
- createdByUserType: "system" | "user";
8183
8128
  createdAt: string;
8184
8129
  createdBy: string;
8185
8130
  createdByRole: string;
@@ -8199,8 +8144,8 @@ export declare const EventDocument: z.ZodObject<{
8199
8144
  street?: string | null | undefined;
8200
8145
  zipCode?: string | null | undefined;
8201
8146
  } | {
8202
- firstname?: string | null | undefined;
8203
- surname?: string | null | undefined;
8147
+ firstname: string;
8148
+ surname: string;
8204
8149
  middlename?: string | null | undefined;
8205
8150
  } | {
8206
8151
  country: string;
@@ -8243,8 +8188,8 @@ export declare const EventDocument: z.ZodObject<{
8243
8188
  street?: string | null | undefined;
8244
8189
  zipCode?: string | null | undefined;
8245
8190
  } | {
8246
- firstname?: string | null | undefined;
8247
- surname?: string | null | undefined;
8191
+ firstname: string;
8192
+ surname: string;
8248
8193
  middlename?: string | null | undefined;
8249
8194
  } | {
8250
8195
  country: string;
@@ -8275,7 +8220,6 @@ export declare const EventDocument: z.ZodObject<{
8275
8220
  id: string & z.BRAND<"UUID">;
8276
8221
  status: "Rejected" | "Requested" | "Accepted";
8277
8222
  transactionId: string;
8278
- createdByUserType: "system" | "user";
8279
8223
  createdAt: string;
8280
8224
  createdBy: string;
8281
8225
  createdByRole: string;
@@ -8295,8 +8239,8 @@ export declare const EventDocument: z.ZodObject<{
8295
8239
  street?: string | null | undefined;
8296
8240
  zipCode?: string | null | undefined;
8297
8241
  } | {
8298
- firstname?: string | null | undefined;
8299
- surname?: string | null | undefined;
8242
+ firstname: string;
8243
+ surname: string;
8300
8244
  middlename?: string | null | undefined;
8301
8245
  } | {
8302
8246
  country: string;
@@ -8339,8 +8283,8 @@ export declare const EventDocument: z.ZodObject<{
8339
8283
  street?: string | null | undefined;
8340
8284
  zipCode?: string | null | undefined;
8341
8285
  } | {
8342
- firstname?: string | null | undefined;
8343
- surname?: string | null | undefined;
8286
+ firstname: string;
8287
+ surname: string;
8344
8288
  middlename?: string | null | undefined;
8345
8289
  } | {
8346
8290
  country: string;
@@ -8371,7 +8315,6 @@ export declare const EventDocument: z.ZodObject<{
8371
8315
  id: string & z.BRAND<"UUID">;
8372
8316
  status: "Rejected" | "Requested" | "Accepted";
8373
8317
  transactionId: string;
8374
- createdByUserType: "system" | "user";
8375
8318
  createdAt: string;
8376
8319
  createdBy: string;
8377
8320
  createdByRole: string;
@@ -8391,8 +8334,8 @@ export declare const EventDocument: z.ZodObject<{
8391
8334
  street?: string | null | undefined;
8392
8335
  zipCode?: string | null | undefined;
8393
8336
  } | {
8394
- firstname?: string | null | undefined;
8395
- surname?: string | null | undefined;
8337
+ firstname: string;
8338
+ surname: string;
8396
8339
  middlename?: string | null | undefined;
8397
8340
  } | {
8398
8341
  country: string;
@@ -8436,8 +8379,8 @@ export declare const EventDocument: z.ZodObject<{
8436
8379
  street?: string | null | undefined;
8437
8380
  zipCode?: string | null | undefined;
8438
8381
  } | {
8439
- firstname?: string | null | undefined;
8440
- surname?: string | null | undefined;
8382
+ firstname: string;
8383
+ surname: string;
8441
8384
  middlename?: string | null | undefined;
8442
8385
  } | {
8443
8386
  country: string;
@@ -8468,7 +8411,6 @@ export declare const EventDocument: z.ZodObject<{
8468
8411
  id: string & z.BRAND<"UUID">;
8469
8412
  status: "Rejected" | "Requested" | "Accepted";
8470
8413
  transactionId: string;
8471
- createdByUserType: "system" | "user";
8472
8414
  createdAt: string;
8473
8415
  createdBy: string;
8474
8416
  createdByRole: string;
@@ -8488,8 +8430,8 @@ export declare const EventDocument: z.ZodObject<{
8488
8430
  street?: string | null | undefined;
8489
8431
  zipCode?: string | null | undefined;
8490
8432
  } | {
8491
- firstname?: string | null | undefined;
8492
- surname?: string | null | undefined;
8433
+ firstname: string;
8434
+ surname: string;
8493
8435
  middlename?: string | null | undefined;
8494
8436
  } | {
8495
8437
  country: string;
@@ -8533,8 +8475,8 @@ export declare const EventDocument: z.ZodObject<{
8533
8475
  street?: string | null | undefined;
8534
8476
  zipCode?: string | null | undefined;
8535
8477
  } | {
8536
- firstname?: string | null | undefined;
8537
- surname?: string | null | undefined;
8478
+ firstname: string;
8479
+ surname: string;
8538
8480
  middlename?: string | null | undefined;
8539
8481
  } | {
8540
8482
  country: string;
@@ -8565,7 +8507,6 @@ export declare const EventDocument: z.ZodObject<{
8565
8507
  id: string & z.BRAND<"UUID">;
8566
8508
  status: "Rejected" | "Requested" | "Accepted";
8567
8509
  transactionId: string;
8568
- createdByUserType: "system" | "user";
8569
8510
  createdAt: string;
8570
8511
  createdBy: string;
8571
8512
  createdByRole: string;
@@ -8585,8 +8526,8 @@ export declare const EventDocument: z.ZodObject<{
8585
8526
  street?: string | null | undefined;
8586
8527
  zipCode?: string | null | undefined;
8587
8528
  } | {
8588
- firstname?: string | null | undefined;
8589
- surname?: string | null | undefined;
8529
+ firstname: string;
8530
+ surname: string;
8590
8531
  middlename?: string | null | undefined;
8591
8532
  } | {
8592
8533
  country: string;
@@ -8629,8 +8570,8 @@ export declare const EventDocument: z.ZodObject<{
8629
8570
  street?: string | null | undefined;
8630
8571
  zipCode?: string | null | undefined;
8631
8572
  } | {
8632
- firstname?: string | null | undefined;
8633
- surname?: string | null | undefined;
8573
+ firstname: string;
8574
+ surname: string;
8634
8575
  middlename?: string | null | undefined;
8635
8576
  } | {
8636
8577
  country: string;
@@ -8657,11 +8598,10 @@ export declare const EventDocument: z.ZodObject<{
8657
8598
  }[] | [string, string] | null | undefined> | null | undefined;
8658
8599
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8659
8600
  } | {
8660
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8601
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8661
8602
  id: string & z.BRAND<"UUID">;
8662
8603
  status: "Rejected";
8663
8604
  transactionId: string;
8664
- createdByUserType: "system" | "user";
8665
8605
  createdAt: string;
8666
8606
  createdBy: string;
8667
8607
  createdByRole: string;
@@ -8680,7 +8620,6 @@ export declare const EventDocument: z.ZodObject<{
8680
8620
  id: string;
8681
8621
  status: "Rejected" | "Requested" | "Accepted";
8682
8622
  transactionId: string;
8683
- createdByUserType: "system" | "user";
8684
8623
  createdAt: string;
8685
8624
  createdBy: string;
8686
8625
  createdByRole: string;
@@ -8700,8 +8639,8 @@ export declare const EventDocument: z.ZodObject<{
8700
8639
  street?: string | null | undefined;
8701
8640
  zipCode?: string | null | undefined;
8702
8641
  } | {
8703
- firstname?: string | null | undefined;
8704
- surname?: string | null | undefined;
8642
+ firstname: string;
8643
+ surname: string;
8705
8644
  middlename?: string | null | undefined;
8706
8645
  } | {
8707
8646
  country: string;
@@ -8745,8 +8684,8 @@ export declare const EventDocument: z.ZodObject<{
8745
8684
  street?: string | null | undefined;
8746
8685
  zipCode?: string | null | undefined;
8747
8686
  } | {
8748
- firstname?: string | null | undefined;
8749
- surname?: string | null | undefined;
8687
+ firstname: string;
8688
+ surname: string;
8750
8689
  middlename?: string | null | undefined;
8751
8690
  } | {
8752
8691
  country: string;
@@ -8777,7 +8716,6 @@ export declare const EventDocument: z.ZodObject<{
8777
8716
  id: string;
8778
8717
  status: "Rejected" | "Requested" | "Accepted";
8779
8718
  transactionId: string;
8780
- createdByUserType: "system" | "user";
8781
8719
  createdAt: string;
8782
8720
  createdBy: string;
8783
8721
  createdByRole: string;
@@ -8797,8 +8735,8 @@ export declare const EventDocument: z.ZodObject<{
8797
8735
  street?: string | null | undefined;
8798
8736
  zipCode?: string | null | undefined;
8799
8737
  } | {
8800
- firstname?: string | null | undefined;
8801
- surname?: string | null | undefined;
8738
+ firstname: string;
8739
+ surname: string;
8802
8740
  middlename?: string | null | undefined;
8803
8741
  } | {
8804
8742
  country: string;
@@ -8823,6 +8761,7 @@ export declare const EventDocument: z.ZodObject<{
8823
8761
  filename: string;
8824
8762
  originalFilename: string;
8825
8763
  }[] | [string, string] | null | undefined>;
8764
+ assignedTo: null;
8826
8765
  createdBySignature?: string | null | undefined;
8827
8766
  createdAtLocation?: string | null | undefined;
8828
8767
  annotation?: Record<string, string | number | boolean | {
@@ -8841,8 +8780,8 @@ export declare const EventDocument: z.ZodObject<{
8841
8780
  street?: string | null | undefined;
8842
8781
  zipCode?: string | null | undefined;
8843
8782
  } | {
8844
- firstname?: string | null | undefined;
8845
- surname?: string | null | undefined;
8783
+ firstname: string;
8784
+ surname: string;
8846
8785
  middlename?: string | null | undefined;
8847
8786
  } | {
8848
8787
  country: string;
@@ -8873,7 +8812,6 @@ export declare const EventDocument: z.ZodObject<{
8873
8812
  id: string;
8874
8813
  status: "Rejected" | "Requested" | "Accepted";
8875
8814
  transactionId: string;
8876
- createdByUserType: "system" | "user";
8877
8815
  createdAt: string;
8878
8816
  createdBy: string;
8879
8817
  createdByRole: string;
@@ -8893,8 +8831,8 @@ export declare const EventDocument: z.ZodObject<{
8893
8831
  street?: string | null | undefined;
8894
8832
  zipCode?: string | null | undefined;
8895
8833
  } | {
8896
- firstname?: string | null | undefined;
8897
- surname?: string | null | undefined;
8834
+ firstname: string;
8835
+ surname: string;
8898
8836
  middlename?: string | null | undefined;
8899
8837
  } | {
8900
8838
  country: string;
@@ -8937,8 +8875,8 @@ export declare const EventDocument: z.ZodObject<{
8937
8875
  street?: string | null | undefined;
8938
8876
  zipCode?: string | null | undefined;
8939
8877
  } | {
8940
- firstname?: string | null | undefined;
8941
- surname?: string | null | undefined;
8878
+ firstname: string;
8879
+ surname: string;
8942
8880
  middlename?: string | null | undefined;
8943
8881
  } | {
8944
8882
  country: string;
@@ -8970,7 +8908,6 @@ export declare const EventDocument: z.ZodObject<{
8970
8908
  id: string;
8971
8909
  status: "Rejected" | "Requested" | "Accepted";
8972
8910
  transactionId: string;
8973
- createdByUserType: "system" | "user";
8974
8911
  createdAt: string;
8975
8912
  createdBy: string;
8976
8913
  createdByRole: string;
@@ -8990,8 +8927,8 @@ export declare const EventDocument: z.ZodObject<{
8990
8927
  street?: string | null | undefined;
8991
8928
  zipCode?: string | null | undefined;
8992
8929
  } | {
8993
- firstname?: string | null | undefined;
8994
- surname?: string | null | undefined;
8930
+ firstname: string;
8931
+ surname: string;
8995
8932
  middlename?: string | null | undefined;
8996
8933
  } | {
8997
8934
  country: string;
@@ -9034,8 +8971,8 @@ export declare const EventDocument: z.ZodObject<{
9034
8971
  street?: string | null | undefined;
9035
8972
  zipCode?: string | null | undefined;
9036
8973
  } | {
9037
- firstname?: string | null | undefined;
9038
- surname?: string | null | undefined;
8974
+ firstname: string;
8975
+ surname: string;
9039
8976
  middlename?: string | null | undefined;
9040
8977
  } | {
9041
8978
  country: string;
@@ -9066,7 +9003,6 @@ export declare const EventDocument: z.ZodObject<{
9066
9003
  id: string;
9067
9004
  status: "Rejected" | "Requested" | "Accepted";
9068
9005
  transactionId: string;
9069
- createdByUserType: "system" | "user";
9070
9006
  createdAt: string;
9071
9007
  createdBy: string;
9072
9008
  createdByRole: string;
@@ -9086,8 +9022,8 @@ export declare const EventDocument: z.ZodObject<{
9086
9022
  street?: string | null | undefined;
9087
9023
  zipCode?: string | null | undefined;
9088
9024
  } | {
9089
- firstname?: string | null | undefined;
9090
- surname?: string | null | undefined;
9025
+ firstname: string;
9026
+ surname: string;
9091
9027
  middlename?: string | null | undefined;
9092
9028
  } | {
9093
9029
  country: string;
@@ -9130,8 +9066,8 @@ export declare const EventDocument: z.ZodObject<{
9130
9066
  street?: string | null | undefined;
9131
9067
  zipCode?: string | null | undefined;
9132
9068
  } | {
9133
- firstname?: string | null | undefined;
9134
- surname?: string | null | undefined;
9069
+ firstname: string;
9070
+ surname: string;
9135
9071
  middlename?: string | null | undefined;
9136
9072
  } | {
9137
9073
  country: string;
@@ -9166,7 +9102,6 @@ export declare const EventDocument: z.ZodObject<{
9166
9102
  isDuplicate?: boolean | undefined;
9167
9103
  };
9168
9104
  transactionId: string;
9169
- createdByUserType: "system" | "user";
9170
9105
  createdAt: string;
9171
9106
  createdBy: string;
9172
9107
  createdByRole: string;
@@ -9186,8 +9121,8 @@ export declare const EventDocument: z.ZodObject<{
9186
9121
  street?: string | null | undefined;
9187
9122
  zipCode?: string | null | undefined;
9188
9123
  } | {
9189
- firstname?: string | null | undefined;
9190
- surname?: string | null | undefined;
9124
+ firstname: string;
9125
+ surname: string;
9191
9126
  middlename?: string | null | undefined;
9192
9127
  } | {
9193
9128
  country: string;
@@ -9230,8 +9165,8 @@ export declare const EventDocument: z.ZodObject<{
9230
9165
  street?: string | null | undefined;
9231
9166
  zipCode?: string | null | undefined;
9232
9167
  } | {
9233
- firstname?: string | null | undefined;
9234
- surname?: string | null | undefined;
9168
+ firstname: string;
9169
+ surname: string;
9235
9170
  middlename?: string | null | undefined;
9236
9171
  } | {
9237
9172
  country: string;
@@ -9262,7 +9197,6 @@ export declare const EventDocument: z.ZodObject<{
9262
9197
  id: string;
9263
9198
  status: "Rejected" | "Requested" | "Accepted";
9264
9199
  transactionId: string;
9265
- createdByUserType: "system" | "user";
9266
9200
  createdAt: string;
9267
9201
  createdBy: string;
9268
9202
  createdByRole: string;
@@ -9282,8 +9216,8 @@ export declare const EventDocument: z.ZodObject<{
9282
9216
  street?: string | null | undefined;
9283
9217
  zipCode?: string | null | undefined;
9284
9218
  } | {
9285
- firstname?: string | null | undefined;
9286
- surname?: string | null | undefined;
9219
+ firstname: string;
9220
+ surname: string;
9287
9221
  middlename?: string | null | undefined;
9288
9222
  } | {
9289
9223
  country: string;
@@ -9326,8 +9260,8 @@ export declare const EventDocument: z.ZodObject<{
9326
9260
  street?: string | null | undefined;
9327
9261
  zipCode?: string | null | undefined;
9328
9262
  } | {
9329
- firstname?: string | null | undefined;
9330
- surname?: string | null | undefined;
9263
+ firstname: string;
9264
+ surname: string;
9331
9265
  middlename?: string | null | undefined;
9332
9266
  } | {
9333
9267
  country: string;
@@ -9362,7 +9296,6 @@ export declare const EventDocument: z.ZodObject<{
9362
9296
  isDuplicate?: boolean | undefined;
9363
9297
  };
9364
9298
  transactionId: string;
9365
- createdByUserType: "system" | "user";
9366
9299
  createdAt: string;
9367
9300
  createdBy: string;
9368
9301
  createdByRole: string;
@@ -9382,8 +9315,8 @@ export declare const EventDocument: z.ZodObject<{
9382
9315
  street?: string | null | undefined;
9383
9316
  zipCode?: string | null | undefined;
9384
9317
  } | {
9385
- firstname?: string | null | undefined;
9386
- surname?: string | null | undefined;
9318
+ firstname: string;
9319
+ surname: string;
9387
9320
  middlename?: string | null | undefined;
9388
9321
  } | {
9389
9322
  country: string;
@@ -9426,8 +9359,8 @@ export declare const EventDocument: z.ZodObject<{
9426
9359
  street?: string | null | undefined;
9427
9360
  zipCode?: string | null | undefined;
9428
9361
  } | {
9429
- firstname?: string | null | undefined;
9430
- surname?: string | null | undefined;
9362
+ firstname: string;
9363
+ surname: string;
9431
9364
  middlename?: string | null | undefined;
9432
9365
  } | {
9433
9366
  country: string;
@@ -9458,7 +9391,6 @@ export declare const EventDocument: z.ZodObject<{
9458
9391
  id: string;
9459
9392
  status: "Rejected" | "Requested" | "Accepted";
9460
9393
  transactionId: string;
9461
- createdByUserType: "system" | "user";
9462
9394
  createdAt: string;
9463
9395
  createdBy: string;
9464
9396
  createdByRole: string;
@@ -9478,8 +9410,8 @@ export declare const EventDocument: z.ZodObject<{
9478
9410
  street?: string | null | undefined;
9479
9411
  zipCode?: string | null | undefined;
9480
9412
  } | {
9481
- firstname?: string | null | undefined;
9482
- surname?: string | null | undefined;
9413
+ firstname: string;
9414
+ surname: string;
9483
9415
  middlename?: string | null | undefined;
9484
9416
  } | {
9485
9417
  country: string;
@@ -9522,8 +9454,8 @@ export declare const EventDocument: z.ZodObject<{
9522
9454
  street?: string | null | undefined;
9523
9455
  zipCode?: string | null | undefined;
9524
9456
  } | {
9525
- firstname?: string | null | undefined;
9526
- surname?: string | null | undefined;
9457
+ firstname: string;
9458
+ surname: string;
9527
9459
  middlename?: string | null | undefined;
9528
9460
  } | {
9529
9461
  country: string;
@@ -9554,7 +9486,6 @@ export declare const EventDocument: z.ZodObject<{
9554
9486
  id: string;
9555
9487
  status: "Rejected" | "Requested" | "Accepted";
9556
9488
  transactionId: string;
9557
- createdByUserType: "system" | "user";
9558
9489
  createdAt: string;
9559
9490
  createdBy: string;
9560
9491
  createdByRole: string;
@@ -9574,8 +9505,8 @@ export declare const EventDocument: z.ZodObject<{
9574
9505
  street?: string | null | undefined;
9575
9506
  zipCode?: string | null | undefined;
9576
9507
  } | {
9577
- firstname?: string | null | undefined;
9578
- surname?: string | null | undefined;
9508
+ firstname: string;
9509
+ surname: string;
9579
9510
  middlename?: string | null | undefined;
9580
9511
  } | {
9581
9512
  country: string;
@@ -9618,8 +9549,8 @@ export declare const EventDocument: z.ZodObject<{
9618
9549
  street?: string | null | undefined;
9619
9550
  zipCode?: string | null | undefined;
9620
9551
  } | {
9621
- firstname?: string | null | undefined;
9622
- surname?: string | null | undefined;
9552
+ firstname: string;
9553
+ surname: string;
9623
9554
  middlename?: string | null | undefined;
9624
9555
  } | {
9625
9556
  country: string;
@@ -9650,7 +9581,6 @@ export declare const EventDocument: z.ZodObject<{
9650
9581
  id: string;
9651
9582
  status: "Rejected" | "Requested" | "Accepted";
9652
9583
  transactionId: string;
9653
- createdByUserType: "system" | "user";
9654
9584
  createdAt: string;
9655
9585
  createdBy: string;
9656
9586
  createdByRole: string;
@@ -9670,8 +9600,8 @@ export declare const EventDocument: z.ZodObject<{
9670
9600
  street?: string | null | undefined;
9671
9601
  zipCode?: string | null | undefined;
9672
9602
  } | {
9673
- firstname?: string | null | undefined;
9674
- surname?: string | null | undefined;
9603
+ firstname: string;
9604
+ surname: string;
9675
9605
  middlename?: string | null | undefined;
9676
9606
  } | {
9677
9607
  country: string;
@@ -9714,8 +9644,8 @@ export declare const EventDocument: z.ZodObject<{
9714
9644
  street?: string | null | undefined;
9715
9645
  zipCode?: string | null | undefined;
9716
9646
  } | {
9717
- firstname?: string | null | undefined;
9718
- surname?: string | null | undefined;
9647
+ firstname: string;
9648
+ surname: string;
9719
9649
  middlename?: string | null | undefined;
9720
9650
  } | {
9721
9651
  country: string;
@@ -9746,7 +9676,6 @@ export declare const EventDocument: z.ZodObject<{
9746
9676
  id: string;
9747
9677
  status: "Rejected" | "Requested" | "Accepted";
9748
9678
  transactionId: string;
9749
- createdByUserType: "system" | "user";
9750
9679
  createdAt: string;
9751
9680
  createdBy: string;
9752
9681
  createdByRole: string;
@@ -9766,8 +9695,8 @@ export declare const EventDocument: z.ZodObject<{
9766
9695
  street?: string | null | undefined;
9767
9696
  zipCode?: string | null | undefined;
9768
9697
  } | {
9769
- firstname?: string | null | undefined;
9770
- surname?: string | null | undefined;
9698
+ firstname: string;
9699
+ surname: string;
9771
9700
  middlename?: string | null | undefined;
9772
9701
  } | {
9773
9702
  country: string;
@@ -9810,8 +9739,8 @@ export declare const EventDocument: z.ZodObject<{
9810
9739
  street?: string | null | undefined;
9811
9740
  zipCode?: string | null | undefined;
9812
9741
  } | {
9813
- firstname?: string | null | undefined;
9814
- surname?: string | null | undefined;
9742
+ firstname: string;
9743
+ surname: string;
9815
9744
  middlename?: string | null | undefined;
9816
9745
  } | {
9817
9746
  country: string;
@@ -9842,7 +9771,6 @@ export declare const EventDocument: z.ZodObject<{
9842
9771
  id: string;
9843
9772
  status: "Rejected" | "Requested" | "Accepted";
9844
9773
  transactionId: string;
9845
- createdByUserType: "system" | "user";
9846
9774
  createdAt: string;
9847
9775
  createdBy: string;
9848
9776
  createdByRole: string;
@@ -9862,8 +9790,8 @@ export declare const EventDocument: z.ZodObject<{
9862
9790
  street?: string | null | undefined;
9863
9791
  zipCode?: string | null | undefined;
9864
9792
  } | {
9865
- firstname?: string | null | undefined;
9866
- surname?: string | null | undefined;
9793
+ firstname: string;
9794
+ surname: string;
9867
9795
  middlename?: string | null | undefined;
9868
9796
  } | {
9869
9797
  country: string;
@@ -9907,8 +9835,8 @@ export declare const EventDocument: z.ZodObject<{
9907
9835
  street?: string | null | undefined;
9908
9836
  zipCode?: string | null | undefined;
9909
9837
  } | {
9910
- firstname?: string | null | undefined;
9911
- surname?: string | null | undefined;
9838
+ firstname: string;
9839
+ surname: string;
9912
9840
  middlename?: string | null | undefined;
9913
9841
  } | {
9914
9842
  country: string;
@@ -9939,7 +9867,6 @@ export declare const EventDocument: z.ZodObject<{
9939
9867
  id: string;
9940
9868
  status: "Rejected" | "Requested" | "Accepted";
9941
9869
  transactionId: string;
9942
- createdByUserType: "system" | "user";
9943
9870
  createdAt: string;
9944
9871
  createdBy: string;
9945
9872
  createdByRole: string;
@@ -9959,8 +9886,8 @@ export declare const EventDocument: z.ZodObject<{
9959
9886
  street?: string | null | undefined;
9960
9887
  zipCode?: string | null | undefined;
9961
9888
  } | {
9962
- firstname?: string | null | undefined;
9963
- surname?: string | null | undefined;
9889
+ firstname: string;
9890
+ surname: string;
9964
9891
  middlename?: string | null | undefined;
9965
9892
  } | {
9966
9893
  country: string;
@@ -10004,8 +9931,8 @@ export declare const EventDocument: z.ZodObject<{
10004
9931
  street?: string | null | undefined;
10005
9932
  zipCode?: string | null | undefined;
10006
9933
  } | {
10007
- firstname?: string | null | undefined;
10008
- surname?: string | null | undefined;
9934
+ firstname: string;
9935
+ surname: string;
10009
9936
  middlename?: string | null | undefined;
10010
9937
  } | {
10011
9938
  country: string;
@@ -10036,7 +9963,6 @@ export declare const EventDocument: z.ZodObject<{
10036
9963
  id: string;
10037
9964
  status: "Rejected" | "Requested" | "Accepted";
10038
9965
  transactionId: string;
10039
- createdByUserType: "system" | "user";
10040
9966
  createdAt: string;
10041
9967
  createdBy: string;
10042
9968
  createdByRole: string;
@@ -10056,8 +9982,8 @@ export declare const EventDocument: z.ZodObject<{
10056
9982
  street?: string | null | undefined;
10057
9983
  zipCode?: string | null | undefined;
10058
9984
  } | {
10059
- firstname?: string | null | undefined;
10060
- surname?: string | null | undefined;
9985
+ firstname: string;
9986
+ surname: string;
10061
9987
  middlename?: string | null | undefined;
10062
9988
  } | {
10063
9989
  country: string;
@@ -10100,8 +10026,8 @@ export declare const EventDocument: z.ZodObject<{
10100
10026
  street?: string | null | undefined;
10101
10027
  zipCode?: string | null | undefined;
10102
10028
  } | {
10103
- firstname?: string | null | undefined;
10104
- surname?: string | null | undefined;
10029
+ firstname: string;
10030
+ surname: string;
10105
10031
  middlename?: string | null | undefined;
10106
10032
  } | {
10107
10033
  country: string;
@@ -10128,11 +10054,10 @@ export declare const EventDocument: z.ZodObject<{
10128
10054
  }[] | [string, string] | null | undefined> | null | undefined;
10129
10055
  originalActionId?: string | null | undefined;
10130
10056
  } | {
10131
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10057
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10132
10058
  id: string;
10133
10059
  status: "Rejected";
10134
10060
  transactionId: string;
10135
- createdByUserType: "system" | "user";
10136
10061
  createdAt: string;
10137
10062
  createdBy: string;
10138
10063
  createdByRole: string;