@opencrvs/toolkit 1.8.1-rc.e23b224 → 1.8.1-rc.e59d03c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/commons/api/router.d.ts +433 -410
  2. package/dist/commons/conditionals/validate.d.ts +11 -2
  3. package/dist/commons/events/ActionConfig.d.ts +2004 -366
  4. package/dist/commons/events/ActionDocument.d.ts +795 -759
  5. package/dist/commons/events/ActionInput.d.ts +650 -614
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +83 -65
  7. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  9. package/dist/commons/events/Draft.d.ts +48 -48
  10. package/dist/commons/events/EventConfig.d.ts +695 -168
  11. package/dist/commons/events/EventDocument.d.ts +471 -445
  12. package/dist/commons/events/EventIndex.d.ts +184 -62
  13. package/dist/commons/events/EventMetadata.d.ts +9 -9
  14. package/dist/commons/events/FieldConfig.d.ts +254 -43
  15. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  16. package/dist/commons/events/FieldValue.d.ts +12 -12
  17. package/dist/commons/events/FormConfig.d.ts +1032 -246
  18. package/dist/commons/events/PageConfig.d.ts +264 -46
  19. package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
  20. package/dist/commons/events/defineConfig.d.ts +129 -30
  21. package/dist/commons/events/event.d.ts +68 -6
  22. package/dist/commons/events/field.d.ts +14 -0
  23. package/dist/commons/events/test.utils.d.ts +17 -13
  24. package/dist/commons/events/utils.d.ts +236 -60
  25. package/dist/conditionals/index.js +3 -2
  26. package/dist/events/index.js +260 -99
  27. package/package.json +1 -1
  28. package/tsconfig.json +1 -1
  29. package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
  30. package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
  31. package/dist/commons/conditionals/validate.test.d.ts +0 -2
  32. package/dist/commons/events/utils.test.d.ts +0 -2
@@ -136,16 +136,16 @@ export declare const EventDocument: z.ZodObject<{
136
136
  addressLine3?: string | null | undefined;
137
137
  postcodeOrZip?: string | null | undefined;
138
138
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
139
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
+ firstname: z.ZodString;
140
+ surname: z.ZodString;
141
141
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
142
142
  }, "strip", z.ZodTypeAny, {
143
- firstname?: string | null | undefined;
144
- surname?: string | null | undefined;
143
+ firstname: string;
144
+ surname: string;
145
145
  middlename?: string | null | undefined;
146
146
  }, {
147
- firstname?: string | null | undefined;
148
- surname?: string | null | undefined;
147
+ firstname: string;
148
+ surname: string;
149
149
  middlename?: string | null | undefined;
150
150
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
151
151
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -271,16 +271,16 @@ export declare const EventDocument: z.ZodObject<{
271
271
  addressLine3?: string | null | undefined;
272
272
  postcodeOrZip?: string | null | undefined;
273
273
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
274
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ firstname: z.ZodString;
275
+ surname: z.ZodString;
276
276
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
277
  }, "strip", z.ZodTypeAny, {
278
- firstname?: string | null | undefined;
279
- surname?: string | null | undefined;
278
+ firstname: string;
279
+ surname: string;
280
280
  middlename?: string | null | undefined;
281
281
  }, {
282
- firstname?: string | null | undefined;
283
- surname?: string | null | undefined;
282
+ firstname: string;
283
+ surname: string;
284
284
  middlename?: string | null | undefined;
285
285
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
286
286
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -312,8 +312,8 @@ export declare const EventDocument: z.ZodObject<{
312
312
  street?: string | null | undefined;
313
313
  zipCode?: string | null | undefined;
314
314
  } | {
315
- firstname?: string | null | undefined;
316
- surname?: string | null | undefined;
315
+ firstname: string;
316
+ surname: string;
317
317
  middlename?: string | null | undefined;
318
318
  } | {
319
319
  country: string;
@@ -359,8 +359,8 @@ export declare const EventDocument: z.ZodObject<{
359
359
  street?: string | null | undefined;
360
360
  zipCode?: string | null | undefined;
361
361
  } | {
362
- firstname?: string | null | undefined;
363
- surname?: string | null | undefined;
362
+ firstname: string;
363
+ surname: string;
364
364
  middlename?: string | null | undefined;
365
365
  } | {
366
366
  country: string;
@@ -414,8 +414,8 @@ export declare const EventDocument: z.ZodObject<{
414
414
  street?: string | null | undefined;
415
415
  zipCode?: string | null | undefined;
416
416
  } | {
417
- firstname?: string | null | undefined;
418
- surname?: string | null | undefined;
417
+ firstname: string;
418
+ surname: string;
419
419
  middlename?: string | null | undefined;
420
420
  } | {
421
421
  country: string;
@@ -461,8 +461,8 @@ export declare const EventDocument: z.ZodObject<{
461
461
  street?: string | null | undefined;
462
462
  zipCode?: string | null | undefined;
463
463
  } | {
464
- firstname?: string | null | undefined;
465
- surname?: string | null | undefined;
464
+ firstname: string;
465
+ surname: string;
466
466
  middlename?: string | null | undefined;
467
467
  } | {
468
468
  country: string;
@@ -623,16 +623,16 @@ export declare const EventDocument: z.ZodObject<{
623
623
  addressLine3?: string | null | undefined;
624
624
  postcodeOrZip?: string | null | undefined;
625
625
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
626
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
626
+ firstname: z.ZodString;
627
+ surname: z.ZodString;
628
628
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
629
629
  }, "strip", z.ZodTypeAny, {
630
- firstname?: string | null | undefined;
631
- surname?: string | null | undefined;
630
+ firstname: string;
631
+ surname: string;
632
632
  middlename?: string | null | undefined;
633
633
  }, {
634
- firstname?: string | null | undefined;
635
- surname?: string | null | undefined;
634
+ firstname: string;
635
+ surname: string;
636
636
  middlename?: string | null | undefined;
637
637
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
638
638
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -758,16 +758,16 @@ export declare const EventDocument: z.ZodObject<{
758
758
  addressLine3?: string | null | undefined;
759
759
  postcodeOrZip?: string | null | undefined;
760
760
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
761
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
762
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
761
+ firstname: z.ZodString;
762
+ surname: z.ZodString;
763
763
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
764
  }, "strip", z.ZodTypeAny, {
765
- firstname?: string | null | undefined;
766
- surname?: string | null | undefined;
765
+ firstname: string;
766
+ surname: string;
767
767
  middlename?: string | null | undefined;
768
768
  }, {
769
- firstname?: string | null | undefined;
770
- surname?: string | null | undefined;
769
+ firstname: string;
770
+ surname: string;
771
771
  middlename?: string | null | undefined;
772
772
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
773
773
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -799,8 +799,8 @@ export declare const EventDocument: z.ZodObject<{
799
799
  street?: string | null | undefined;
800
800
  zipCode?: string | null | undefined;
801
801
  } | {
802
- firstname?: string | null | undefined;
803
- surname?: string | null | undefined;
802
+ firstname: string;
803
+ surname: string;
804
804
  middlename?: string | null | undefined;
805
805
  } | {
806
806
  country: string;
@@ -846,8 +846,8 @@ export declare const EventDocument: z.ZodObject<{
846
846
  street?: string | null | undefined;
847
847
  zipCode?: string | null | undefined;
848
848
  } | {
849
- firstname?: string | null | undefined;
850
- surname?: string | null | undefined;
849
+ firstname: string;
850
+ surname: string;
851
851
  middlename?: string | null | undefined;
852
852
  } | {
853
853
  country: string;
@@ -901,8 +901,8 @@ export declare const EventDocument: z.ZodObject<{
901
901
  street?: string | null | undefined;
902
902
  zipCode?: string | null | undefined;
903
903
  } | {
904
- firstname?: string | null | undefined;
905
- surname?: string | null | undefined;
904
+ firstname: string;
905
+ surname: string;
906
906
  middlename?: string | null | undefined;
907
907
  } | {
908
908
  country: string;
@@ -948,8 +948,8 @@ export declare const EventDocument: z.ZodObject<{
948
948
  street?: string | null | undefined;
949
949
  zipCode?: string | null | undefined;
950
950
  } | {
951
- firstname?: string | null | undefined;
952
- surname?: string | null | undefined;
951
+ firstname: string;
952
+ surname: string;
953
953
  middlename?: string | null | undefined;
954
954
  } | {
955
955
  country: string;
@@ -1110,16 +1110,16 @@ export declare const EventDocument: z.ZodObject<{
1110
1110
  addressLine3?: string | null | undefined;
1111
1111
  postcodeOrZip?: string | null | undefined;
1112
1112
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1113
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1114
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1113
+ firstname: z.ZodString;
1114
+ surname: z.ZodString;
1115
1115
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
1116
  }, "strip", z.ZodTypeAny, {
1117
- firstname?: string | null | undefined;
1118
- surname?: string | null | undefined;
1117
+ firstname: string;
1118
+ surname: string;
1119
1119
  middlename?: string | null | undefined;
1120
1120
  }, {
1121
- firstname?: string | null | undefined;
1122
- surname?: string | null | undefined;
1121
+ firstname: string;
1122
+ surname: string;
1123
1123
  middlename?: string | null | undefined;
1124
1124
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1125
1125
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -1245,16 +1245,16 @@ export declare const EventDocument: z.ZodObject<{
1245
1245
  addressLine3?: string | null | undefined;
1246
1246
  postcodeOrZip?: string | null | undefined;
1247
1247
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1248
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1249
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1248
+ firstname: z.ZodString;
1249
+ surname: z.ZodString;
1250
1250
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1251
1251
  }, "strip", z.ZodTypeAny, {
1252
- firstname?: string | null | undefined;
1253
- surname?: string | null | undefined;
1252
+ firstname: string;
1253
+ surname: string;
1254
1254
  middlename?: string | null | undefined;
1255
1255
  }, {
1256
- firstname?: string | null | undefined;
1257
- surname?: string | null | undefined;
1256
+ firstname: string;
1257
+ surname: string;
1258
1258
  middlename?: string | null | undefined;
1259
1259
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1260
1260
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -1300,8 +1300,8 @@ export declare const EventDocument: z.ZodObject<{
1300
1300
  street?: string | null | undefined;
1301
1301
  zipCode?: string | null | undefined;
1302
1302
  } | {
1303
- firstname?: string | null | undefined;
1304
- surname?: string | null | undefined;
1303
+ firstname: string;
1304
+ surname: string;
1305
1305
  middlename?: string | null | undefined;
1306
1306
  } | {
1307
1307
  country: string;
@@ -1347,8 +1347,8 @@ export declare const EventDocument: z.ZodObject<{
1347
1347
  street?: string | null | undefined;
1348
1348
  zipCode?: string | null | undefined;
1349
1349
  } | {
1350
- firstname?: string | null | undefined;
1351
- surname?: string | null | undefined;
1350
+ firstname: string;
1351
+ surname: string;
1352
1352
  middlename?: string | null | undefined;
1353
1353
  } | {
1354
1354
  country: string;
@@ -1406,8 +1406,8 @@ export declare const EventDocument: z.ZodObject<{
1406
1406
  street?: string | null | undefined;
1407
1407
  zipCode?: string | null | undefined;
1408
1408
  } | {
1409
- firstname?: string | null | undefined;
1410
- surname?: string | null | undefined;
1409
+ firstname: string;
1410
+ surname: string;
1411
1411
  middlename?: string | null | undefined;
1412
1412
  } | {
1413
1413
  country: string;
@@ -1453,8 +1453,8 @@ export declare const EventDocument: z.ZodObject<{
1453
1453
  street?: string | null | undefined;
1454
1454
  zipCode?: string | null | undefined;
1455
1455
  } | {
1456
- firstname?: string | null | undefined;
1457
- surname?: string | null | undefined;
1456
+ firstname: string;
1457
+ surname: string;
1458
1458
  middlename?: string | null | undefined;
1459
1459
  } | {
1460
1460
  country: string;
@@ -1615,16 +1615,16 @@ export declare const EventDocument: z.ZodObject<{
1615
1615
  addressLine3?: string | null | undefined;
1616
1616
  postcodeOrZip?: string | null | undefined;
1617
1617
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1618
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1619
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1618
+ firstname: z.ZodString;
1619
+ surname: z.ZodString;
1620
1620
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1621
1621
  }, "strip", z.ZodTypeAny, {
1622
- firstname?: string | null | undefined;
1623
- surname?: string | null | undefined;
1622
+ firstname: string;
1623
+ surname: string;
1624
1624
  middlename?: string | null | undefined;
1625
1625
  }, {
1626
- firstname?: string | null | undefined;
1627
- surname?: string | null | undefined;
1626
+ firstname: string;
1627
+ surname: string;
1628
1628
  middlename?: string | null | undefined;
1629
1629
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1630
1630
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -1750,16 +1750,16 @@ export declare const EventDocument: z.ZodObject<{
1750
1750
  addressLine3?: string | null | undefined;
1751
1751
  postcodeOrZip?: string | null | undefined;
1752
1752
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1753
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1754
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1753
+ firstname: z.ZodString;
1754
+ surname: z.ZodString;
1755
1755
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1756
1756
  }, "strip", z.ZodTypeAny, {
1757
- firstname?: string | null | undefined;
1758
- surname?: string | null | undefined;
1757
+ firstname: string;
1758
+ surname: string;
1759
1759
  middlename?: string | null | undefined;
1760
1760
  }, {
1761
- firstname?: string | null | undefined;
1762
- surname?: string | null | undefined;
1761
+ firstname: string;
1762
+ surname: string;
1763
1763
  middlename?: string | null | undefined;
1764
1764
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1765
1765
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -1791,8 +1791,8 @@ export declare const EventDocument: z.ZodObject<{
1791
1791
  street?: string | null | undefined;
1792
1792
  zipCode?: string | null | undefined;
1793
1793
  } | {
1794
- firstname?: string | null | undefined;
1795
- surname?: string | null | undefined;
1794
+ firstname: string;
1795
+ surname: string;
1796
1796
  middlename?: string | null | undefined;
1797
1797
  } | {
1798
1798
  country: string;
@@ -1838,8 +1838,8 @@ export declare const EventDocument: z.ZodObject<{
1838
1838
  street?: string | null | undefined;
1839
1839
  zipCode?: string | null | undefined;
1840
1840
  } | {
1841
- firstname?: string | null | undefined;
1842
- surname?: string | null | undefined;
1841
+ firstname: string;
1842
+ surname: string;
1843
1843
  middlename?: string | null | undefined;
1844
1844
  } | {
1845
1845
  country: string;
@@ -1893,8 +1893,8 @@ export declare const EventDocument: z.ZodObject<{
1893
1893
  street?: string | null | undefined;
1894
1894
  zipCode?: string | null | undefined;
1895
1895
  } | {
1896
- firstname?: string | null | undefined;
1897
- surname?: string | null | undefined;
1896
+ firstname: string;
1897
+ surname: string;
1898
1898
  middlename?: string | null | undefined;
1899
1899
  } | {
1900
1900
  country: string;
@@ -1940,8 +1940,8 @@ export declare const EventDocument: z.ZodObject<{
1940
1940
  street?: string | null | undefined;
1941
1941
  zipCode?: string | null | undefined;
1942
1942
  } | {
1943
- firstname?: string | null | undefined;
1944
- surname?: string | null | undefined;
1943
+ firstname: string;
1944
+ surname: string;
1945
1945
  middlename?: string | null | undefined;
1946
1946
  } | {
1947
1947
  country: string;
@@ -2102,16 +2102,16 @@ export declare const EventDocument: z.ZodObject<{
2102
2102
  addressLine3?: string | null | undefined;
2103
2103
  postcodeOrZip?: string | null | undefined;
2104
2104
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2105
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2106
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
+ firstname: z.ZodString;
2106
+ surname: z.ZodString;
2107
2107
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2108
2108
  }, "strip", z.ZodTypeAny, {
2109
- firstname?: string | null | undefined;
2110
- surname?: string | null | undefined;
2109
+ firstname: string;
2110
+ surname: string;
2111
2111
  middlename?: string | null | undefined;
2112
2112
  }, {
2113
- firstname?: string | null | undefined;
2114
- surname?: string | null | undefined;
2113
+ firstname: string;
2114
+ surname: string;
2115
2115
  middlename?: string | null | undefined;
2116
2116
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2117
2117
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -2237,16 +2237,16 @@ export declare const EventDocument: z.ZodObject<{
2237
2237
  addressLine3?: string | null | undefined;
2238
2238
  postcodeOrZip?: string | null | undefined;
2239
2239
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2240
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2241
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2240
+ firstname: z.ZodString;
2241
+ surname: z.ZodString;
2242
2242
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2243
2243
  }, "strip", z.ZodTypeAny, {
2244
- firstname?: string | null | undefined;
2245
- surname?: string | null | undefined;
2244
+ firstname: string;
2245
+ surname: string;
2246
2246
  middlename?: string | null | undefined;
2247
2247
  }, {
2248
- firstname?: string | null | undefined;
2249
- surname?: string | null | undefined;
2248
+ firstname: string;
2249
+ surname: string;
2250
2250
  middlename?: string | null | undefined;
2251
2251
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2252
2252
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -2292,8 +2292,8 @@ export declare const EventDocument: z.ZodObject<{
2292
2292
  street?: string | null | undefined;
2293
2293
  zipCode?: string | null | undefined;
2294
2294
  } | {
2295
- firstname?: string | null | undefined;
2296
- surname?: string | null | undefined;
2295
+ firstname: string;
2296
+ surname: string;
2297
2297
  middlename?: string | null | undefined;
2298
2298
  } | {
2299
2299
  country: string;
@@ -2339,8 +2339,8 @@ export declare const EventDocument: z.ZodObject<{
2339
2339
  street?: string | null | undefined;
2340
2340
  zipCode?: string | null | undefined;
2341
2341
  } | {
2342
- firstname?: string | null | undefined;
2343
- surname?: string | null | undefined;
2342
+ firstname: string;
2343
+ surname: string;
2344
2344
  middlename?: string | null | undefined;
2345
2345
  } | {
2346
2346
  country: string;
@@ -2398,8 +2398,8 @@ export declare const EventDocument: z.ZodObject<{
2398
2398
  street?: string | null | undefined;
2399
2399
  zipCode?: string | null | undefined;
2400
2400
  } | {
2401
- firstname?: string | null | undefined;
2402
- surname?: string | null | undefined;
2401
+ firstname: string;
2402
+ surname: string;
2403
2403
  middlename?: string | null | undefined;
2404
2404
  } | {
2405
2405
  country: string;
@@ -2445,8 +2445,8 @@ export declare const EventDocument: z.ZodObject<{
2445
2445
  street?: string | null | undefined;
2446
2446
  zipCode?: string | null | undefined;
2447
2447
  } | {
2448
- firstname?: string | null | undefined;
2449
- surname?: string | null | undefined;
2448
+ firstname: string;
2449
+ surname: string;
2450
2450
  middlename?: string | null | undefined;
2451
2451
  } | {
2452
2452
  country: string;
@@ -2607,16 +2607,16 @@ export declare const EventDocument: z.ZodObject<{
2607
2607
  addressLine3?: string | null | undefined;
2608
2608
  postcodeOrZip?: string | null | undefined;
2609
2609
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2610
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2611
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2610
+ firstname: z.ZodString;
2611
+ surname: z.ZodString;
2612
2612
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2613
2613
  }, "strip", z.ZodTypeAny, {
2614
- firstname?: string | null | undefined;
2615
- surname?: string | null | undefined;
2614
+ firstname: string;
2615
+ surname: string;
2616
2616
  middlename?: string | null | undefined;
2617
2617
  }, {
2618
- firstname?: string | null | undefined;
2619
- surname?: string | null | undefined;
2618
+ firstname: string;
2619
+ surname: string;
2620
2620
  middlename?: string | null | undefined;
2621
2621
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2622
2622
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -2742,16 +2742,16 @@ export declare const EventDocument: z.ZodObject<{
2742
2742
  addressLine3?: string | null | undefined;
2743
2743
  postcodeOrZip?: string | null | undefined;
2744
2744
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2745
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2746
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2745
+ firstname: z.ZodString;
2746
+ surname: z.ZodString;
2747
2747
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2748
2748
  }, "strip", z.ZodTypeAny, {
2749
- firstname?: string | null | undefined;
2750
- surname?: string | null | undefined;
2749
+ firstname: string;
2750
+ surname: string;
2751
2751
  middlename?: string | null | undefined;
2752
2752
  }, {
2753
- firstname?: string | null | undefined;
2754
- surname?: string | null | undefined;
2753
+ firstname: string;
2754
+ surname: string;
2755
2755
  middlename?: string | null | undefined;
2756
2756
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2757
2757
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -2783,8 +2783,8 @@ export declare const EventDocument: z.ZodObject<{
2783
2783
  street?: string | null | undefined;
2784
2784
  zipCode?: string | null | undefined;
2785
2785
  } | {
2786
- firstname?: string | null | undefined;
2787
- surname?: string | null | undefined;
2786
+ firstname: string;
2787
+ surname: string;
2788
2788
  middlename?: string | null | undefined;
2789
2789
  } | {
2790
2790
  country: string;
@@ -2830,8 +2830,8 @@ export declare const EventDocument: z.ZodObject<{
2830
2830
  street?: string | null | undefined;
2831
2831
  zipCode?: string | null | undefined;
2832
2832
  } | {
2833
- firstname?: string | null | undefined;
2834
- surname?: string | null | undefined;
2833
+ firstname: string;
2834
+ surname: string;
2835
2835
  middlename?: string | null | undefined;
2836
2836
  } | {
2837
2837
  country: string;
@@ -2885,8 +2885,8 @@ export declare const EventDocument: z.ZodObject<{
2885
2885
  street?: string | null | undefined;
2886
2886
  zipCode?: string | null | undefined;
2887
2887
  } | {
2888
- firstname?: string | null | undefined;
2889
- surname?: string | null | undefined;
2888
+ firstname: string;
2889
+ surname: string;
2890
2890
  middlename?: string | null | undefined;
2891
2891
  } | {
2892
2892
  country: string;
@@ -2932,8 +2932,8 @@ export declare const EventDocument: z.ZodObject<{
2932
2932
  street?: string | null | undefined;
2933
2933
  zipCode?: string | null | undefined;
2934
2934
  } | {
2935
- firstname?: string | null | undefined;
2936
- surname?: string | null | undefined;
2935
+ firstname: string;
2936
+ surname: string;
2937
2937
  middlename?: string | null | undefined;
2938
2938
  } | {
2939
2939
  country: string;
@@ -3094,16 +3094,16 @@ export declare const EventDocument: z.ZodObject<{
3094
3094
  addressLine3?: string | null | undefined;
3095
3095
  postcodeOrZip?: string | null | undefined;
3096
3096
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3097
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3098
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3097
+ firstname: z.ZodString;
3098
+ surname: z.ZodString;
3099
3099
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3100
3100
  }, "strip", z.ZodTypeAny, {
3101
- firstname?: string | null | undefined;
3102
- surname?: string | null | undefined;
3101
+ firstname: string;
3102
+ surname: string;
3103
3103
  middlename?: string | null | undefined;
3104
3104
  }, {
3105
- firstname?: string | null | undefined;
3106
- surname?: string | null | undefined;
3105
+ firstname: string;
3106
+ surname: string;
3107
3107
  middlename?: string | null | undefined;
3108
3108
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3109
3109
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -3229,16 +3229,16 @@ export declare const EventDocument: z.ZodObject<{
3229
3229
  addressLine3?: string | null | undefined;
3230
3230
  postcodeOrZip?: string | null | undefined;
3231
3231
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3232
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3233
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3232
+ firstname: z.ZodString;
3233
+ surname: z.ZodString;
3234
3234
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3235
3235
  }, "strip", z.ZodTypeAny, {
3236
- firstname?: string | null | undefined;
3237
- surname?: string | null | undefined;
3236
+ firstname: string;
3237
+ surname: string;
3238
3238
  middlename?: string | null | undefined;
3239
3239
  }, {
3240
- firstname?: string | null | undefined;
3241
- surname?: string | null | undefined;
3240
+ firstname: string;
3241
+ surname: string;
3242
3242
  middlename?: string | null | undefined;
3243
3243
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3244
3244
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -3271,8 +3271,8 @@ export declare const EventDocument: z.ZodObject<{
3271
3271
  street?: string | null | undefined;
3272
3272
  zipCode?: string | null | undefined;
3273
3273
  } | {
3274
- firstname?: string | null | undefined;
3275
- surname?: string | null | undefined;
3274
+ firstname: string;
3275
+ surname: string;
3276
3276
  middlename?: string | null | undefined;
3277
3277
  } | {
3278
3278
  country: string;
@@ -3318,8 +3318,8 @@ export declare const EventDocument: z.ZodObject<{
3318
3318
  street?: string | null | undefined;
3319
3319
  zipCode?: string | null | undefined;
3320
3320
  } | {
3321
- firstname?: string | null | undefined;
3322
- surname?: string | null | undefined;
3321
+ firstname: string;
3322
+ surname: string;
3323
3323
  middlename?: string | null | undefined;
3324
3324
  } | {
3325
3325
  country: string;
@@ -3374,8 +3374,8 @@ export declare const EventDocument: z.ZodObject<{
3374
3374
  street?: string | null | undefined;
3375
3375
  zipCode?: string | null | undefined;
3376
3376
  } | {
3377
- firstname?: string | null | undefined;
3378
- surname?: string | null | undefined;
3377
+ firstname: string;
3378
+ surname: string;
3379
3379
  middlename?: string | null | undefined;
3380
3380
  } | {
3381
3381
  country: string;
@@ -3421,8 +3421,8 @@ export declare const EventDocument: z.ZodObject<{
3421
3421
  street?: string | null | undefined;
3422
3422
  zipCode?: string | null | undefined;
3423
3423
  } | {
3424
- firstname?: string | null | undefined;
3425
- surname?: string | null | undefined;
3424
+ firstname: string;
3425
+ surname: string;
3426
3426
  middlename?: string | null | undefined;
3427
3427
  } | {
3428
3428
  country: string;
@@ -3584,16 +3584,16 @@ export declare const EventDocument: z.ZodObject<{
3584
3584
  addressLine3?: string | null | undefined;
3585
3585
  postcodeOrZip?: string | null | undefined;
3586
3586
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3587
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3588
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3587
+ firstname: z.ZodString;
3588
+ surname: z.ZodString;
3589
3589
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3590
3590
  }, "strip", z.ZodTypeAny, {
3591
- firstname?: string | null | undefined;
3592
- surname?: string | null | undefined;
3591
+ firstname: string;
3592
+ surname: string;
3593
3593
  middlename?: string | null | undefined;
3594
3594
  }, {
3595
- firstname?: string | null | undefined;
3596
- surname?: string | null | undefined;
3595
+ firstname: string;
3596
+ surname: string;
3597
3597
  middlename?: string | null | undefined;
3598
3598
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3599
3599
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -3719,16 +3719,16 @@ export declare const EventDocument: z.ZodObject<{
3719
3719
  addressLine3?: string | null | undefined;
3720
3720
  postcodeOrZip?: string | null | undefined;
3721
3721
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3722
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3723
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3722
+ firstname: z.ZodString;
3723
+ surname: z.ZodString;
3724
3724
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3725
3725
  }, "strip", z.ZodTypeAny, {
3726
- firstname?: string | null | undefined;
3727
- surname?: string | null | undefined;
3726
+ firstname: string;
3727
+ surname: string;
3728
3728
  middlename?: string | null | undefined;
3729
3729
  }, {
3730
- firstname?: string | null | undefined;
3731
- surname?: string | null | undefined;
3730
+ firstname: string;
3731
+ surname: string;
3732
3732
  middlename?: string | null | undefined;
3733
3733
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3734
3734
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -3760,8 +3760,8 @@ export declare const EventDocument: z.ZodObject<{
3760
3760
  street?: string | null | undefined;
3761
3761
  zipCode?: string | null | undefined;
3762
3762
  } | {
3763
- firstname?: string | null | undefined;
3764
- surname?: string | null | undefined;
3763
+ firstname: string;
3764
+ surname: string;
3765
3765
  middlename?: string | null | undefined;
3766
3766
  } | {
3767
3767
  country: string;
@@ -3807,8 +3807,8 @@ export declare const EventDocument: z.ZodObject<{
3807
3807
  street?: string | null | undefined;
3808
3808
  zipCode?: string | null | undefined;
3809
3809
  } | {
3810
- firstname?: string | null | undefined;
3811
- surname?: string | null | undefined;
3810
+ firstname: string;
3811
+ surname: string;
3812
3812
  middlename?: string | null | undefined;
3813
3813
  } | {
3814
3814
  country: string;
@@ -3862,8 +3862,8 @@ export declare const EventDocument: z.ZodObject<{
3862
3862
  street?: string | null | undefined;
3863
3863
  zipCode?: string | null | undefined;
3864
3864
  } | {
3865
- firstname?: string | null | undefined;
3866
- surname?: string | null | undefined;
3865
+ firstname: string;
3866
+ surname: string;
3867
3867
  middlename?: string | null | undefined;
3868
3868
  } | {
3869
3869
  country: string;
@@ -3909,8 +3909,8 @@ export declare const EventDocument: z.ZodObject<{
3909
3909
  street?: string | null | undefined;
3910
3910
  zipCode?: string | null | undefined;
3911
3911
  } | {
3912
- firstname?: string | null | undefined;
3913
- surname?: string | null | undefined;
3912
+ firstname: string;
3913
+ surname: string;
3914
3914
  middlename?: string | null | undefined;
3915
3915
  } | {
3916
3916
  country: string;
@@ -4071,16 +4071,16 @@ export declare const EventDocument: z.ZodObject<{
4071
4071
  addressLine3?: string | null | undefined;
4072
4072
  postcodeOrZip?: string | null | undefined;
4073
4073
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4074
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4075
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4074
+ firstname: z.ZodString;
4075
+ surname: z.ZodString;
4076
4076
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4077
4077
  }, "strip", z.ZodTypeAny, {
4078
- firstname?: string | null | undefined;
4079
- surname?: string | null | undefined;
4078
+ firstname: string;
4079
+ surname: string;
4080
4080
  middlename?: string | null | undefined;
4081
4081
  }, {
4082
- firstname?: string | null | undefined;
4083
- surname?: string | null | undefined;
4082
+ firstname: string;
4083
+ surname: string;
4084
4084
  middlename?: string | null | undefined;
4085
4085
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4086
4086
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -4206,16 +4206,16 @@ export declare const EventDocument: z.ZodObject<{
4206
4206
  addressLine3?: string | null | undefined;
4207
4207
  postcodeOrZip?: string | null | undefined;
4208
4208
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4209
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4210
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4209
+ firstname: z.ZodString;
4210
+ surname: z.ZodString;
4211
4211
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4212
4212
  }, "strip", z.ZodTypeAny, {
4213
- firstname?: string | null | undefined;
4214
- surname?: string | null | undefined;
4213
+ firstname: string;
4214
+ surname: string;
4215
4215
  middlename?: string | null | undefined;
4216
4216
  }, {
4217
- firstname?: string | null | undefined;
4218
- surname?: string | null | undefined;
4217
+ firstname: string;
4218
+ surname: string;
4219
4219
  middlename?: string | null | undefined;
4220
4220
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4221
4221
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -4248,8 +4248,8 @@ export declare const EventDocument: z.ZodObject<{
4248
4248
  street?: string | null | undefined;
4249
4249
  zipCode?: string | null | undefined;
4250
4250
  } | {
4251
- firstname?: string | null | undefined;
4252
- surname?: string | null | undefined;
4251
+ firstname: string;
4252
+ surname: string;
4253
4253
  middlename?: string | null | undefined;
4254
4254
  } | {
4255
4255
  country: string;
@@ -4296,8 +4296,8 @@ export declare const EventDocument: z.ZodObject<{
4296
4296
  street?: string | null | undefined;
4297
4297
  zipCode?: string | null | undefined;
4298
4298
  } | {
4299
- firstname?: string | null | undefined;
4300
- surname?: string | null | undefined;
4299
+ firstname: string;
4300
+ surname: string;
4301
4301
  middlename?: string | null | undefined;
4302
4302
  } | {
4303
4303
  country: string;
@@ -4351,8 +4351,8 @@ export declare const EventDocument: z.ZodObject<{
4351
4351
  street?: string | null | undefined;
4352
4352
  zipCode?: string | null | undefined;
4353
4353
  } | {
4354
- firstname?: string | null | undefined;
4355
- surname?: string | null | undefined;
4354
+ firstname: string;
4355
+ surname: string;
4356
4356
  middlename?: string | null | undefined;
4357
4357
  } | {
4358
4358
  country: string;
@@ -4399,8 +4399,8 @@ export declare const EventDocument: z.ZodObject<{
4399
4399
  street?: string | null | undefined;
4400
4400
  zipCode?: string | null | undefined;
4401
4401
  } | {
4402
- firstname?: string | null | undefined;
4403
- surname?: string | null | undefined;
4402
+ firstname: string;
4403
+ surname: string;
4404
4404
  middlename?: string | null | undefined;
4405
4405
  } | {
4406
4406
  country: string;
@@ -4561,16 +4561,16 @@ export declare const EventDocument: z.ZodObject<{
4561
4561
  addressLine3?: string | null | undefined;
4562
4562
  postcodeOrZip?: string | null | undefined;
4563
4563
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4564
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4565
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4564
+ firstname: z.ZodString;
4565
+ surname: z.ZodString;
4566
4566
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4567
4567
  }, "strip", z.ZodTypeAny, {
4568
- firstname?: string | null | undefined;
4569
- surname?: string | null | undefined;
4568
+ firstname: string;
4569
+ surname: string;
4570
4570
  middlename?: string | null | undefined;
4571
4571
  }, {
4572
- firstname?: string | null | undefined;
4573
- surname?: string | null | undefined;
4572
+ firstname: string;
4573
+ surname: string;
4574
4574
  middlename?: string | null | undefined;
4575
4575
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4576
4576
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -4696,16 +4696,16 @@ export declare const EventDocument: z.ZodObject<{
4696
4696
  addressLine3?: string | null | undefined;
4697
4697
  postcodeOrZip?: string | null | undefined;
4698
4698
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4699
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4700
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4699
+ firstname: z.ZodString;
4700
+ surname: z.ZodString;
4701
4701
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4702
4702
  }, "strip", z.ZodTypeAny, {
4703
- firstname?: string | null | undefined;
4704
- surname?: string | null | undefined;
4703
+ firstname: string;
4704
+ surname: string;
4705
4705
  middlename?: string | null | undefined;
4706
4706
  }, {
4707
- firstname?: string | null | undefined;
4708
- surname?: string | null | undefined;
4707
+ firstname: string;
4708
+ surname: string;
4709
4709
  middlename?: string | null | undefined;
4710
4710
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4711
4711
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -4737,8 +4737,8 @@ export declare const EventDocument: z.ZodObject<{
4737
4737
  street?: string | null | undefined;
4738
4738
  zipCode?: string | null | undefined;
4739
4739
  } | {
4740
- firstname?: string | null | undefined;
4741
- surname?: string | null | undefined;
4740
+ firstname: string;
4741
+ surname: string;
4742
4742
  middlename?: string | null | undefined;
4743
4743
  } | {
4744
4744
  country: string;
@@ -4784,8 +4784,8 @@ export declare const EventDocument: z.ZodObject<{
4784
4784
  street?: string | null | undefined;
4785
4785
  zipCode?: string | null | undefined;
4786
4786
  } | {
4787
- firstname?: string | null | undefined;
4788
- surname?: string | null | undefined;
4787
+ firstname: string;
4788
+ surname: string;
4789
4789
  middlename?: string | null | undefined;
4790
4790
  } | {
4791
4791
  country: string;
@@ -4839,8 +4839,8 @@ export declare const EventDocument: z.ZodObject<{
4839
4839
  street?: string | null | undefined;
4840
4840
  zipCode?: string | null | undefined;
4841
4841
  } | {
4842
- firstname?: string | null | undefined;
4843
- surname?: string | null | undefined;
4842
+ firstname: string;
4843
+ surname: string;
4844
4844
  middlename?: string | null | undefined;
4845
4845
  } | {
4846
4846
  country: string;
@@ -4886,8 +4886,8 @@ export declare const EventDocument: z.ZodObject<{
4886
4886
  street?: string | null | undefined;
4887
4887
  zipCode?: string | null | undefined;
4888
4888
  } | {
4889
- firstname?: string | null | undefined;
4890
- surname?: string | null | undefined;
4889
+ firstname: string;
4890
+ surname: string;
4891
4891
  middlename?: string | null | undefined;
4892
4892
  } | {
4893
4893
  country: string;
@@ -5048,16 +5048,16 @@ export declare const EventDocument: z.ZodObject<{
5048
5048
  addressLine3?: string | null | undefined;
5049
5049
  postcodeOrZip?: string | null | undefined;
5050
5050
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5051
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5052
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5051
+ firstname: z.ZodString;
5052
+ surname: z.ZodString;
5053
5053
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5054
5054
  }, "strip", z.ZodTypeAny, {
5055
- firstname?: string | null | undefined;
5056
- surname?: string | null | undefined;
5055
+ firstname: string;
5056
+ surname: string;
5057
5057
  middlename?: string | null | undefined;
5058
5058
  }, {
5059
- firstname?: string | null | undefined;
5060
- surname?: string | null | undefined;
5059
+ firstname: string;
5060
+ surname: string;
5061
5061
  middlename?: string | null | undefined;
5062
5062
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5063
5063
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -5183,16 +5183,16 @@ export declare const EventDocument: z.ZodObject<{
5183
5183
  addressLine3?: string | null | undefined;
5184
5184
  postcodeOrZip?: string | null | undefined;
5185
5185
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5186
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5187
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5186
+ firstname: z.ZodString;
5187
+ surname: z.ZodString;
5188
5188
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5189
5189
  }, "strip", z.ZodTypeAny, {
5190
- firstname?: string | null | undefined;
5191
- surname?: string | null | undefined;
5190
+ firstname: string;
5191
+ surname: string;
5192
5192
  middlename?: string | null | undefined;
5193
5193
  }, {
5194
- firstname?: string | null | undefined;
5195
- surname?: string | null | undefined;
5194
+ firstname: string;
5195
+ surname: string;
5196
5196
  middlename?: string | null | undefined;
5197
5197
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5198
5198
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -5225,8 +5225,8 @@ export declare const EventDocument: z.ZodObject<{
5225
5225
  street?: string | null | undefined;
5226
5226
  zipCode?: string | null | undefined;
5227
5227
  } | {
5228
- firstname?: string | null | undefined;
5229
- surname?: string | null | undefined;
5228
+ firstname: string;
5229
+ surname: string;
5230
5230
  middlename?: string | null | undefined;
5231
5231
  } | {
5232
5232
  country: string;
@@ -5273,8 +5273,8 @@ export declare const EventDocument: z.ZodObject<{
5273
5273
  street?: string | null | undefined;
5274
5274
  zipCode?: string | null | undefined;
5275
5275
  } | {
5276
- firstname?: string | null | undefined;
5277
- surname?: string | null | undefined;
5276
+ firstname: string;
5277
+ surname: string;
5278
5278
  middlename?: string | null | undefined;
5279
5279
  } | {
5280
5280
  country: string;
@@ -5328,8 +5328,8 @@ export declare const EventDocument: z.ZodObject<{
5328
5328
  street?: string | null | undefined;
5329
5329
  zipCode?: string | null | undefined;
5330
5330
  } | {
5331
- firstname?: string | null | undefined;
5332
- surname?: string | null | undefined;
5331
+ firstname: string;
5332
+ surname: string;
5333
5333
  middlename?: string | null | undefined;
5334
5334
  } | {
5335
5335
  country: string;
@@ -5376,8 +5376,8 @@ export declare const EventDocument: z.ZodObject<{
5376
5376
  street?: string | null | undefined;
5377
5377
  zipCode?: string | null | undefined;
5378
5378
  } | {
5379
- firstname?: string | null | undefined;
5380
- surname?: string | null | undefined;
5379
+ firstname: string;
5380
+ surname: string;
5381
5381
  middlename?: string | null | undefined;
5382
5382
  } | {
5383
5383
  country: string;
@@ -5538,16 +5538,16 @@ export declare const EventDocument: z.ZodObject<{
5538
5538
  addressLine3?: string | null | undefined;
5539
5539
  postcodeOrZip?: string | null | undefined;
5540
5540
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5541
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5542
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5541
+ firstname: z.ZodString;
5542
+ surname: z.ZodString;
5543
5543
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5544
5544
  }, "strip", z.ZodTypeAny, {
5545
- firstname?: string | null | undefined;
5546
- surname?: string | null | undefined;
5545
+ firstname: string;
5546
+ surname: string;
5547
5547
  middlename?: string | null | undefined;
5548
5548
  }, {
5549
- firstname?: string | null | undefined;
5550
- surname?: string | null | undefined;
5549
+ firstname: string;
5550
+ surname: string;
5551
5551
  middlename?: string | null | undefined;
5552
5552
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5553
5553
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -5673,16 +5673,16 @@ export declare const EventDocument: z.ZodObject<{
5673
5673
  addressLine3?: string | null | undefined;
5674
5674
  postcodeOrZip?: string | null | undefined;
5675
5675
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5676
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5677
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5676
+ firstname: z.ZodString;
5677
+ surname: z.ZodString;
5678
5678
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5679
5679
  }, "strip", z.ZodTypeAny, {
5680
- firstname?: string | null | undefined;
5681
- surname?: string | null | undefined;
5680
+ firstname: string;
5681
+ surname: string;
5682
5682
  middlename?: string | null | undefined;
5683
5683
  }, {
5684
- firstname?: string | null | undefined;
5685
- surname?: string | null | undefined;
5684
+ firstname: string;
5685
+ surname: string;
5686
5686
  middlename?: string | null | undefined;
5687
5687
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5688
5688
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -5690,10 +5690,24 @@ export declare const EventDocument: z.ZodObject<{
5690
5690
  }, {
5691
5691
  type: z.ZodLiteral<"REJECT_CORRECTION">;
5692
5692
  requestId: z.ZodString;
5693
+ reason: z.ZodObject<{
5694
+ message: z.ZodString;
5695
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
5696
+ }, "strip", z.ZodTypeAny, {
5697
+ message: string;
5698
+ isDuplicate?: boolean | undefined;
5699
+ }, {
5700
+ message: string;
5701
+ isDuplicate?: boolean | undefined;
5702
+ }>;
5693
5703
  }>, "strip", z.ZodTypeAny, {
5694
5704
  type: "REJECT_CORRECTION";
5695
5705
  id: string & z.BRAND<"UUID">;
5696
5706
  status: "Rejected" | "Requested" | "Accepted";
5707
+ reason: {
5708
+ message: string;
5709
+ isDuplicate?: boolean | undefined;
5710
+ };
5697
5711
  transactionId: string;
5698
5712
  createdByUserType: "system" | "user";
5699
5713
  createdAt: string;
@@ -5715,8 +5729,8 @@ export declare const EventDocument: z.ZodObject<{
5715
5729
  street?: string | null | undefined;
5716
5730
  zipCode?: string | null | undefined;
5717
5731
  } | {
5718
- firstname?: string | null | undefined;
5719
- surname?: string | null | undefined;
5732
+ firstname: string;
5733
+ surname: string;
5720
5734
  middlename?: string | null | undefined;
5721
5735
  } | {
5722
5736
  country: string;
@@ -5763,8 +5777,8 @@ export declare const EventDocument: z.ZodObject<{
5763
5777
  street?: string | null | undefined;
5764
5778
  zipCode?: string | null | undefined;
5765
5779
  } | {
5766
- firstname?: string | null | undefined;
5767
- surname?: string | null | undefined;
5780
+ firstname: string;
5781
+ surname: string;
5768
5782
  middlename?: string | null | undefined;
5769
5783
  } | {
5770
5784
  country: string;
@@ -5797,6 +5811,10 @@ export declare const EventDocument: z.ZodObject<{
5797
5811
  type: "REJECT_CORRECTION";
5798
5812
  id: string;
5799
5813
  status: "Rejected" | "Requested" | "Accepted";
5814
+ reason: {
5815
+ message: string;
5816
+ isDuplicate?: boolean | undefined;
5817
+ };
5800
5818
  transactionId: string;
5801
5819
  createdByUserType: "system" | "user";
5802
5820
  createdAt: string;
@@ -5818,8 +5836,8 @@ export declare const EventDocument: z.ZodObject<{
5818
5836
  street?: string | null | undefined;
5819
5837
  zipCode?: string | null | undefined;
5820
5838
  } | {
5821
- firstname?: string | null | undefined;
5822
- surname?: string | null | undefined;
5839
+ firstname: string;
5840
+ surname: string;
5823
5841
  middlename?: string | null | undefined;
5824
5842
  } | {
5825
5843
  country: string;
@@ -5866,8 +5884,8 @@ export declare const EventDocument: z.ZodObject<{
5866
5884
  street?: string | null | undefined;
5867
5885
  zipCode?: string | null | undefined;
5868
5886
  } | {
5869
- firstname?: string | null | undefined;
5870
- surname?: string | null | undefined;
5887
+ firstname: string;
5888
+ surname: string;
5871
5889
  middlename?: string | null | undefined;
5872
5890
  } | {
5873
5891
  country: string;
@@ -6028,16 +6046,16 @@ export declare const EventDocument: z.ZodObject<{
6028
6046
  addressLine3?: string | null | undefined;
6029
6047
  postcodeOrZip?: string | null | undefined;
6030
6048
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6031
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6032
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6049
+ firstname: z.ZodString;
6050
+ surname: z.ZodString;
6033
6051
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6034
6052
  }, "strip", z.ZodTypeAny, {
6035
- firstname?: string | null | undefined;
6036
- surname?: string | null | undefined;
6053
+ firstname: string;
6054
+ surname: string;
6037
6055
  middlename?: string | null | undefined;
6038
6056
  }, {
6039
- firstname?: string | null | undefined;
6040
- surname?: string | null | undefined;
6057
+ firstname: string;
6058
+ surname: string;
6041
6059
  middlename?: string | null | undefined;
6042
6060
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6043
6061
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -6163,16 +6181,16 @@ export declare const EventDocument: z.ZodObject<{
6163
6181
  addressLine3?: string | null | undefined;
6164
6182
  postcodeOrZip?: string | null | undefined;
6165
6183
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6166
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6167
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6184
+ firstname: z.ZodString;
6185
+ surname: z.ZodString;
6168
6186
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6169
6187
  }, "strip", z.ZodTypeAny, {
6170
- firstname?: string | null | undefined;
6171
- surname?: string | null | undefined;
6188
+ firstname: string;
6189
+ surname: string;
6172
6190
  middlename?: string | null | undefined;
6173
6191
  }, {
6174
- firstname?: string | null | undefined;
6175
- surname?: string | null | undefined;
6192
+ firstname: string;
6193
+ surname: string;
6176
6194
  middlename?: string | null | undefined;
6177
6195
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6178
6196
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -6204,8 +6222,8 @@ export declare const EventDocument: z.ZodObject<{
6204
6222
  street?: string | null | undefined;
6205
6223
  zipCode?: string | null | undefined;
6206
6224
  } | {
6207
- firstname?: string | null | undefined;
6208
- surname?: string | null | undefined;
6225
+ firstname: string;
6226
+ surname: string;
6209
6227
  middlename?: string | null | undefined;
6210
6228
  } | {
6211
6229
  country: string;
@@ -6251,8 +6269,8 @@ export declare const EventDocument: z.ZodObject<{
6251
6269
  street?: string | null | undefined;
6252
6270
  zipCode?: string | null | undefined;
6253
6271
  } | {
6254
- firstname?: string | null | undefined;
6255
- surname?: string | null | undefined;
6272
+ firstname: string;
6273
+ surname: string;
6256
6274
  middlename?: string | null | undefined;
6257
6275
  } | {
6258
6276
  country: string;
@@ -6306,8 +6324,8 @@ export declare const EventDocument: z.ZodObject<{
6306
6324
  street?: string | null | undefined;
6307
6325
  zipCode?: string | null | undefined;
6308
6326
  } | {
6309
- firstname?: string | null | undefined;
6310
- surname?: string | null | undefined;
6327
+ firstname: string;
6328
+ surname: string;
6311
6329
  middlename?: string | null | undefined;
6312
6330
  } | {
6313
6331
  country: string;
@@ -6353,8 +6371,8 @@ export declare const EventDocument: z.ZodObject<{
6353
6371
  street?: string | null | undefined;
6354
6372
  zipCode?: string | null | undefined;
6355
6373
  } | {
6356
- firstname?: string | null | undefined;
6357
- surname?: string | null | undefined;
6374
+ firstname: string;
6375
+ surname: string;
6358
6376
  middlename?: string | null | undefined;
6359
6377
  } | {
6360
6378
  country: string;
@@ -6515,16 +6533,16 @@ export declare const EventDocument: z.ZodObject<{
6515
6533
  addressLine3?: string | null | undefined;
6516
6534
  postcodeOrZip?: string | null | undefined;
6517
6535
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6518
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6519
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6536
+ firstname: z.ZodString;
6537
+ surname: z.ZodString;
6520
6538
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6521
6539
  }, "strip", z.ZodTypeAny, {
6522
- firstname?: string | null | undefined;
6523
- surname?: string | null | undefined;
6540
+ firstname: string;
6541
+ surname: string;
6524
6542
  middlename?: string | null | undefined;
6525
6543
  }, {
6526
- firstname?: string | null | undefined;
6527
- surname?: string | null | undefined;
6544
+ firstname: string;
6545
+ surname: string;
6528
6546
  middlename?: string | null | undefined;
6529
6547
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6530
6548
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -6650,23 +6668,23 @@ export declare const EventDocument: z.ZodObject<{
6650
6668
  addressLine3?: string | null | undefined;
6651
6669
  postcodeOrZip?: string | null | undefined;
6652
6670
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6653
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6654
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6671
+ firstname: z.ZodString;
6672
+ surname: z.ZodString;
6655
6673
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6656
6674
  }, "strip", z.ZodTypeAny, {
6657
- firstname?: string | null | undefined;
6658
- surname?: string | null | undefined;
6675
+ firstname: string;
6676
+ surname: string;
6659
6677
  middlename?: string | null | undefined;
6660
6678
  }, {
6661
- firstname?: string | null | undefined;
6662
- surname?: string | null | undefined;
6679
+ firstname: string;
6680
+ surname: string;
6663
6681
  middlename?: string | null | undefined;
6664
6682
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6665
6683
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6666
6684
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6667
6685
  }, {
6668
6686
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6669
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6687
+ content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6670
6688
  templateId: z.ZodOptional<z.ZodString>;
6671
6689
  }, "strip", z.ZodTypeAny, {
6672
6690
  templateId?: string | undefined;
@@ -6698,8 +6716,8 @@ export declare const EventDocument: z.ZodObject<{
6698
6716
  street?: string | null | undefined;
6699
6717
  zipCode?: string | null | undefined;
6700
6718
  } | {
6701
- firstname?: string | null | undefined;
6702
- surname?: string | null | undefined;
6719
+ firstname: string;
6720
+ surname: string;
6703
6721
  middlename?: string | null | undefined;
6704
6722
  } | {
6705
6723
  country: string;
@@ -6727,6 +6745,9 @@ export declare const EventDocument: z.ZodObject<{
6727
6745
  start: string;
6728
6746
  end: string;
6729
6747
  } | null | undefined>;
6748
+ content?: {
6749
+ templateId?: string | undefined;
6750
+ } | null | undefined;
6730
6751
  createdBySignature?: string | null | undefined;
6731
6752
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6732
6753
  annotation?: Record<string, string | number | boolean | {
@@ -6745,8 +6766,8 @@ export declare const EventDocument: z.ZodObject<{
6745
6766
  street?: string | null | undefined;
6746
6767
  zipCode?: string | null | undefined;
6747
6768
  } | {
6748
- firstname?: string | null | undefined;
6749
- surname?: string | null | undefined;
6769
+ firstname: string;
6770
+ surname: string;
6750
6771
  middlename?: string | null | undefined;
6751
6772
  } | {
6752
6773
  country: string;
@@ -6775,9 +6796,6 @@ export declare const EventDocument: z.ZodObject<{
6775
6796
  end: string;
6776
6797
  } | null | undefined> | null | undefined;
6777
6798
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6778
- actionDetails?: {
6779
- templateId?: string | undefined;
6780
- } | null | undefined;
6781
6799
  }, {
6782
6800
  type: "PRINT_CERTIFICATE";
6783
6801
  id: string;
@@ -6803,8 +6821,8 @@ export declare const EventDocument: z.ZodObject<{
6803
6821
  street?: string | null | undefined;
6804
6822
  zipCode?: string | null | undefined;
6805
6823
  } | {
6806
- firstname?: string | null | undefined;
6807
- surname?: string | null | undefined;
6824
+ firstname: string;
6825
+ surname: string;
6808
6826
  middlename?: string | null | undefined;
6809
6827
  } | {
6810
6828
  country: string;
@@ -6832,6 +6850,9 @@ export declare const EventDocument: z.ZodObject<{
6832
6850
  start: string;
6833
6851
  end: string;
6834
6852
  } | null | undefined>;
6853
+ content?: {
6854
+ templateId?: string | undefined;
6855
+ } | null | undefined;
6835
6856
  createdBySignature?: string | null | undefined;
6836
6857
  createdAtLocation?: string | null | undefined;
6837
6858
  annotation?: Record<string, string | number | boolean | {
@@ -6850,8 +6871,8 @@ export declare const EventDocument: z.ZodObject<{
6850
6871
  street?: string | null | undefined;
6851
6872
  zipCode?: string | null | undefined;
6852
6873
  } | {
6853
- firstname?: string | null | undefined;
6854
- surname?: string | null | undefined;
6874
+ firstname: string;
6875
+ surname: string;
6855
6876
  middlename?: string | null | undefined;
6856
6877
  } | {
6857
6878
  country: string;
@@ -6880,9 +6901,6 @@ export declare const EventDocument: z.ZodObject<{
6880
6901
  end: string;
6881
6902
  } | null | undefined> | null | undefined;
6882
6903
  originalActionId?: string | null | undefined;
6883
- actionDetails?: {
6884
- templateId?: string | undefined;
6885
- } | null | undefined;
6886
6904
  }>, z.ZodObject<z.objectUtil.extendShape<{
6887
6905
  id: z.ZodBranded<z.ZodString, "UUID">;
6888
6906
  transactionId: z.ZodString;
@@ -7015,16 +7033,16 @@ export declare const EventDocument: z.ZodObject<{
7015
7033
  addressLine3?: string | null | undefined;
7016
7034
  postcodeOrZip?: string | null | undefined;
7017
7035
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7018
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7019
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
+ firstname: z.ZodString;
7037
+ surname: z.ZodString;
7020
7038
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7021
7039
  }, "strip", z.ZodTypeAny, {
7022
- firstname?: string | null | undefined;
7023
- surname?: string | null | undefined;
7040
+ firstname: string;
7041
+ surname: string;
7024
7042
  middlename?: string | null | undefined;
7025
7043
  }, {
7026
- firstname?: string | null | undefined;
7027
- surname?: string | null | undefined;
7044
+ firstname: string;
7045
+ surname: string;
7028
7046
  middlename?: string | null | undefined;
7029
7047
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7030
7048
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -7150,16 +7168,16 @@ export declare const EventDocument: z.ZodObject<{
7150
7168
  addressLine3?: string | null | undefined;
7151
7169
  postcodeOrZip?: string | null | undefined;
7152
7170
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7153
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7154
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7171
+ firstname: z.ZodString;
7172
+ surname: z.ZodString;
7155
7173
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7156
7174
  }, "strip", z.ZodTypeAny, {
7157
- firstname?: string | null | undefined;
7158
- surname?: string | null | undefined;
7175
+ firstname: string;
7176
+ surname: string;
7159
7177
  middlename?: string | null | undefined;
7160
7178
  }, {
7161
- firstname?: string | null | undefined;
7162
- surname?: string | null | undefined;
7179
+ firstname: string;
7180
+ surname: string;
7163
7181
  middlename?: string | null | undefined;
7164
7182
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7165
7183
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -7191,8 +7209,8 @@ export declare const EventDocument: z.ZodObject<{
7191
7209
  street?: string | null | undefined;
7192
7210
  zipCode?: string | null | undefined;
7193
7211
  } | {
7194
- firstname?: string | null | undefined;
7195
- surname?: string | null | undefined;
7212
+ firstname: string;
7213
+ surname: string;
7196
7214
  middlename?: string | null | undefined;
7197
7215
  } | {
7198
7216
  country: string;
@@ -7238,8 +7256,8 @@ export declare const EventDocument: z.ZodObject<{
7238
7256
  street?: string | null | undefined;
7239
7257
  zipCode?: string | null | undefined;
7240
7258
  } | {
7241
- firstname?: string | null | undefined;
7242
- surname?: string | null | undefined;
7259
+ firstname: string;
7260
+ surname: string;
7243
7261
  middlename?: string | null | undefined;
7244
7262
  } | {
7245
7263
  country: string;
@@ -7293,8 +7311,8 @@ export declare const EventDocument: z.ZodObject<{
7293
7311
  street?: string | null | undefined;
7294
7312
  zipCode?: string | null | undefined;
7295
7313
  } | {
7296
- firstname?: string | null | undefined;
7297
- surname?: string | null | undefined;
7314
+ firstname: string;
7315
+ surname: string;
7298
7316
  middlename?: string | null | undefined;
7299
7317
  } | {
7300
7318
  country: string;
@@ -7340,8 +7358,8 @@ export declare const EventDocument: z.ZodObject<{
7340
7358
  street?: string | null | undefined;
7341
7359
  zipCode?: string | null | undefined;
7342
7360
  } | {
7343
- firstname?: string | null | undefined;
7344
- surname?: string | null | undefined;
7361
+ firstname: string;
7362
+ surname: string;
7345
7363
  middlename?: string | null | undefined;
7346
7364
  } | {
7347
7365
  country: string;
@@ -7502,16 +7520,16 @@ export declare const EventDocument: z.ZodObject<{
7502
7520
  addressLine3?: string | null | undefined;
7503
7521
  postcodeOrZip?: string | null | undefined;
7504
7522
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7505
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7506
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7523
+ firstname: z.ZodString;
7524
+ surname: z.ZodString;
7507
7525
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7508
7526
  }, "strip", z.ZodTypeAny, {
7509
- firstname?: string | null | undefined;
7510
- surname?: string | null | undefined;
7527
+ firstname: string;
7528
+ surname: string;
7511
7529
  middlename?: string | null | undefined;
7512
7530
  }, {
7513
- firstname?: string | null | undefined;
7514
- surname?: string | null | undefined;
7531
+ firstname: string;
7532
+ surname: string;
7515
7533
  middlename?: string | null | undefined;
7516
7534
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7517
7535
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -7637,16 +7655,16 @@ export declare const EventDocument: z.ZodObject<{
7637
7655
  addressLine3?: string | null | undefined;
7638
7656
  postcodeOrZip?: string | null | undefined;
7639
7657
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7640
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7641
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7658
+ firstname: z.ZodString;
7659
+ surname: z.ZodString;
7642
7660
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7643
7661
  }, "strip", z.ZodTypeAny, {
7644
- firstname?: string | null | undefined;
7645
- surname?: string | null | undefined;
7662
+ firstname: string;
7663
+ surname: string;
7646
7664
  middlename?: string | null | undefined;
7647
7665
  }, {
7648
- firstname?: string | null | undefined;
7649
- surname?: string | null | undefined;
7666
+ firstname: string;
7667
+ surname: string;
7650
7668
  middlename?: string | null | undefined;
7651
7669
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7652
7670
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
@@ -7710,8 +7728,8 @@ export declare const EventDocument: z.ZodObject<{
7710
7728
  street?: string | null | undefined;
7711
7729
  zipCode?: string | null | undefined;
7712
7730
  } | {
7713
- firstname?: string | null | undefined;
7714
- surname?: string | null | undefined;
7731
+ firstname: string;
7732
+ surname: string;
7715
7733
  middlename?: string | null | undefined;
7716
7734
  } | {
7717
7735
  country: string;
@@ -7758,8 +7776,8 @@ export declare const EventDocument: z.ZodObject<{
7758
7776
  street?: string | null | undefined;
7759
7777
  zipCode?: string | null | undefined;
7760
7778
  } | {
7761
- firstname?: string | null | undefined;
7762
- surname?: string | null | undefined;
7779
+ firstname: string;
7780
+ surname: string;
7763
7781
  middlename?: string | null | undefined;
7764
7782
  } | {
7765
7783
  country: string;
@@ -7813,8 +7831,8 @@ export declare const EventDocument: z.ZodObject<{
7813
7831
  street?: string | null | undefined;
7814
7832
  zipCode?: string | null | undefined;
7815
7833
  } | {
7816
- firstname?: string | null | undefined;
7817
- surname?: string | null | undefined;
7834
+ firstname: string;
7835
+ surname: string;
7818
7836
  middlename?: string | null | undefined;
7819
7837
  } | {
7820
7838
  country: string;
@@ -7860,8 +7878,8 @@ export declare const EventDocument: z.ZodObject<{
7860
7878
  street?: string | null | undefined;
7861
7879
  zipCode?: string | null | undefined;
7862
7880
  } | {
7863
- firstname?: string | null | undefined;
7864
- surname?: string | null | undefined;
7881
+ firstname: string;
7882
+ surname: string;
7865
7883
  middlename?: string | null | undefined;
7866
7884
  } | {
7867
7885
  country: string;
@@ -7915,8 +7933,8 @@ export declare const EventDocument: z.ZodObject<{
7915
7933
  street?: string | null | undefined;
7916
7934
  zipCode?: string | null | undefined;
7917
7935
  } | {
7918
- firstname?: string | null | undefined;
7919
- surname?: string | null | undefined;
7936
+ firstname: string;
7937
+ surname: string;
7920
7938
  middlename?: string | null | undefined;
7921
7939
  } | {
7922
7940
  country: string;
@@ -7962,8 +7980,8 @@ export declare const EventDocument: z.ZodObject<{
7962
7980
  street?: string | null | undefined;
7963
7981
  zipCode?: string | null | undefined;
7964
7982
  } | {
7965
- firstname?: string | null | undefined;
7966
- surname?: string | null | undefined;
7983
+ firstname: string;
7984
+ surname: string;
7967
7985
  middlename?: string | null | undefined;
7968
7986
  } | {
7969
7987
  country: string;
@@ -8018,8 +8036,8 @@ export declare const EventDocument: z.ZodObject<{
8018
8036
  street?: string | null | undefined;
8019
8037
  zipCode?: string | null | undefined;
8020
8038
  } | {
8021
- firstname?: string | null | undefined;
8022
- surname?: string | null | undefined;
8039
+ firstname: string;
8040
+ surname: string;
8023
8041
  middlename?: string | null | undefined;
8024
8042
  } | {
8025
8043
  country: string;
@@ -8065,8 +8083,8 @@ export declare const EventDocument: z.ZodObject<{
8065
8083
  street?: string | null | undefined;
8066
8084
  zipCode?: string | null | undefined;
8067
8085
  } | {
8068
- firstname?: string | null | undefined;
8069
- surname?: string | null | undefined;
8086
+ firstname: string;
8087
+ surname: string;
8070
8088
  middlename?: string | null | undefined;
8071
8089
  } | {
8072
8090
  country: string;
@@ -8120,8 +8138,8 @@ export declare const EventDocument: z.ZodObject<{
8120
8138
  street?: string | null | undefined;
8121
8139
  zipCode?: string | null | undefined;
8122
8140
  } | {
8123
- firstname?: string | null | undefined;
8124
- surname?: string | null | undefined;
8141
+ firstname: string;
8142
+ surname: string;
8125
8143
  middlename?: string | null | undefined;
8126
8144
  } | {
8127
8145
  country: string;
@@ -8167,8 +8185,8 @@ export declare const EventDocument: z.ZodObject<{
8167
8185
  street?: string | null | undefined;
8168
8186
  zipCode?: string | null | undefined;
8169
8187
  } | {
8170
- firstname?: string | null | undefined;
8171
- surname?: string | null | undefined;
8188
+ firstname: string;
8189
+ surname: string;
8172
8190
  middlename?: string | null | undefined;
8173
8191
  } | {
8174
8192
  country: string;
@@ -8226,8 +8244,8 @@ export declare const EventDocument: z.ZodObject<{
8226
8244
  street?: string | null | undefined;
8227
8245
  zipCode?: string | null | undefined;
8228
8246
  } | {
8229
- firstname?: string | null | undefined;
8230
- surname?: string | null | undefined;
8247
+ firstname: string;
8248
+ surname: string;
8231
8249
  middlename?: string | null | undefined;
8232
8250
  } | {
8233
8251
  country: string;
@@ -8273,8 +8291,8 @@ export declare const EventDocument: z.ZodObject<{
8273
8291
  street?: string | null | undefined;
8274
8292
  zipCode?: string | null | undefined;
8275
8293
  } | {
8276
- firstname?: string | null | undefined;
8277
- surname?: string | null | undefined;
8294
+ firstname: string;
8295
+ surname: string;
8278
8296
  middlename?: string | null | undefined;
8279
8297
  } | {
8280
8298
  country: string;
@@ -8328,8 +8346,8 @@ export declare const EventDocument: z.ZodObject<{
8328
8346
  street?: string | null | undefined;
8329
8347
  zipCode?: string | null | undefined;
8330
8348
  } | {
8331
- firstname?: string | null | undefined;
8332
- surname?: string | null | undefined;
8349
+ firstname: string;
8350
+ surname: string;
8333
8351
  middlename?: string | null | undefined;
8334
8352
  } | {
8335
8353
  country: string;
@@ -8375,8 +8393,8 @@ export declare const EventDocument: z.ZodObject<{
8375
8393
  street?: string | null | undefined;
8376
8394
  zipCode?: string | null | undefined;
8377
8395
  } | {
8378
- firstname?: string | null | undefined;
8379
- surname?: string | null | undefined;
8396
+ firstname: string;
8397
+ surname: string;
8380
8398
  middlename?: string | null | undefined;
8381
8399
  } | {
8382
8400
  country: string;
@@ -8434,8 +8452,8 @@ export declare const EventDocument: z.ZodObject<{
8434
8452
  street?: string | null | undefined;
8435
8453
  zipCode?: string | null | undefined;
8436
8454
  } | {
8437
- firstname?: string | null | undefined;
8438
- surname?: string | null | undefined;
8455
+ firstname: string;
8456
+ surname: string;
8439
8457
  middlename?: string | null | undefined;
8440
8458
  } | {
8441
8459
  country: string;
@@ -8481,8 +8499,8 @@ export declare const EventDocument: z.ZodObject<{
8481
8499
  street?: string | null | undefined;
8482
8500
  zipCode?: string | null | undefined;
8483
8501
  } | {
8484
- firstname?: string | null | undefined;
8485
- surname?: string | null | undefined;
8502
+ firstname: string;
8503
+ surname: string;
8486
8504
  middlename?: string | null | undefined;
8487
8505
  } | {
8488
8506
  country: string;
@@ -8536,8 +8554,8 @@ export declare const EventDocument: z.ZodObject<{
8536
8554
  street?: string | null | undefined;
8537
8555
  zipCode?: string | null | undefined;
8538
8556
  } | {
8539
- firstname?: string | null | undefined;
8540
- surname?: string | null | undefined;
8557
+ firstname: string;
8558
+ surname: string;
8541
8559
  middlename?: string | null | undefined;
8542
8560
  } | {
8543
8561
  country: string;
@@ -8583,8 +8601,8 @@ export declare const EventDocument: z.ZodObject<{
8583
8601
  street?: string | null | undefined;
8584
8602
  zipCode?: string | null | undefined;
8585
8603
  } | {
8586
- firstname?: string | null | undefined;
8587
- surname?: string | null | undefined;
8604
+ firstname: string;
8605
+ surname: string;
8588
8606
  middlename?: string | null | undefined;
8589
8607
  } | {
8590
8608
  country: string;
@@ -8638,8 +8656,8 @@ export declare const EventDocument: z.ZodObject<{
8638
8656
  street?: string | null | undefined;
8639
8657
  zipCode?: string | null | undefined;
8640
8658
  } | {
8641
- firstname?: string | null | undefined;
8642
- surname?: string | null | undefined;
8659
+ firstname: string;
8660
+ surname: string;
8643
8661
  middlename?: string | null | undefined;
8644
8662
  } | {
8645
8663
  country: string;
@@ -8685,8 +8703,8 @@ export declare const EventDocument: z.ZodObject<{
8685
8703
  street?: string | null | undefined;
8686
8704
  zipCode?: string | null | undefined;
8687
8705
  } | {
8688
- firstname?: string | null | undefined;
8689
- surname?: string | null | undefined;
8706
+ firstname: string;
8707
+ surname: string;
8690
8708
  middlename?: string | null | undefined;
8691
8709
  } | {
8692
8710
  country: string;
@@ -8740,8 +8758,8 @@ export declare const EventDocument: z.ZodObject<{
8740
8758
  street?: string | null | undefined;
8741
8759
  zipCode?: string | null | undefined;
8742
8760
  } | {
8743
- firstname?: string | null | undefined;
8744
- surname?: string | null | undefined;
8761
+ firstname: string;
8762
+ surname: string;
8745
8763
  middlename?: string | null | undefined;
8746
8764
  } | {
8747
8765
  country: string;
@@ -8769,6 +8787,9 @@ export declare const EventDocument: z.ZodObject<{
8769
8787
  start: string;
8770
8788
  end: string;
8771
8789
  } | null | undefined>;
8790
+ content?: {
8791
+ templateId?: string | undefined;
8792
+ } | null | undefined;
8772
8793
  createdBySignature?: string | null | undefined;
8773
8794
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8774
8795
  annotation?: Record<string, string | number | boolean | {
@@ -8787,8 +8808,8 @@ export declare const EventDocument: z.ZodObject<{
8787
8808
  street?: string | null | undefined;
8788
8809
  zipCode?: string | null | undefined;
8789
8810
  } | {
8790
- firstname?: string | null | undefined;
8791
- surname?: string | null | undefined;
8811
+ firstname: string;
8812
+ surname: string;
8792
8813
  middlename?: string | null | undefined;
8793
8814
  } | {
8794
8815
  country: string;
@@ -8817,9 +8838,6 @@ export declare const EventDocument: z.ZodObject<{
8817
8838
  end: string;
8818
8839
  } | null | undefined> | null | undefined;
8819
8840
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8820
- actionDetails?: {
8821
- templateId?: string | undefined;
8822
- } | null | undefined;
8823
8841
  } | {
8824
8842
  type: "REQUEST_CORRECTION";
8825
8843
  id: string & z.BRAND<"UUID">;
@@ -8845,8 +8863,8 @@ export declare const EventDocument: z.ZodObject<{
8845
8863
  street?: string | null | undefined;
8846
8864
  zipCode?: string | null | undefined;
8847
8865
  } | {
8848
- firstname?: string | null | undefined;
8849
- surname?: string | null | undefined;
8866
+ firstname: string;
8867
+ surname: string;
8850
8868
  middlename?: string | null | undefined;
8851
8869
  } | {
8852
8870
  country: string;
@@ -8892,8 +8910,8 @@ export declare const EventDocument: z.ZodObject<{
8892
8910
  street?: string | null | undefined;
8893
8911
  zipCode?: string | null | undefined;
8894
8912
  } | {
8895
- firstname?: string | null | undefined;
8896
- surname?: string | null | undefined;
8913
+ firstname: string;
8914
+ surname: string;
8897
8915
  middlename?: string | null | undefined;
8898
8916
  } | {
8899
8917
  country: string;
@@ -8947,8 +8965,8 @@ export declare const EventDocument: z.ZodObject<{
8947
8965
  street?: string | null | undefined;
8948
8966
  zipCode?: string | null | undefined;
8949
8967
  } | {
8950
- firstname?: string | null | undefined;
8951
- surname?: string | null | undefined;
8968
+ firstname: string;
8969
+ surname: string;
8952
8970
  middlename?: string | null | undefined;
8953
8971
  } | {
8954
8972
  country: string;
@@ -8995,8 +9013,8 @@ export declare const EventDocument: z.ZodObject<{
8995
9013
  street?: string | null | undefined;
8996
9014
  zipCode?: string | null | undefined;
8997
9015
  } | {
8998
- firstname?: string | null | undefined;
8999
- surname?: string | null | undefined;
9016
+ firstname: string;
9017
+ surname: string;
9000
9018
  middlename?: string | null | undefined;
9001
9019
  } | {
9002
9020
  country: string;
@@ -9029,6 +9047,10 @@ export declare const EventDocument: z.ZodObject<{
9029
9047
  type: "REJECT_CORRECTION";
9030
9048
  id: string & z.BRAND<"UUID">;
9031
9049
  status: "Rejected" | "Requested" | "Accepted";
9050
+ reason: {
9051
+ message: string;
9052
+ isDuplicate?: boolean | undefined;
9053
+ };
9032
9054
  transactionId: string;
9033
9055
  createdByUserType: "system" | "user";
9034
9056
  createdAt: string;
@@ -9050,8 +9072,8 @@ export declare const EventDocument: z.ZodObject<{
9050
9072
  street?: string | null | undefined;
9051
9073
  zipCode?: string | null | undefined;
9052
9074
  } | {
9053
- firstname?: string | null | undefined;
9054
- surname?: string | null | undefined;
9075
+ firstname: string;
9076
+ surname: string;
9055
9077
  middlename?: string | null | undefined;
9056
9078
  } | {
9057
9079
  country: string;
@@ -9098,8 +9120,8 @@ export declare const EventDocument: z.ZodObject<{
9098
9120
  street?: string | null | undefined;
9099
9121
  zipCode?: string | null | undefined;
9100
9122
  } | {
9101
- firstname?: string | null | undefined;
9102
- surname?: string | null | undefined;
9123
+ firstname: string;
9124
+ surname: string;
9103
9125
  middlename?: string | null | undefined;
9104
9126
  } | {
9105
9127
  country: string;
@@ -9153,8 +9175,8 @@ export declare const EventDocument: z.ZodObject<{
9153
9175
  street?: string | null | undefined;
9154
9176
  zipCode?: string | null | undefined;
9155
9177
  } | {
9156
- firstname?: string | null | undefined;
9157
- surname?: string | null | undefined;
9178
+ firstname: string;
9179
+ surname: string;
9158
9180
  middlename?: string | null | undefined;
9159
9181
  } | {
9160
9182
  country: string;
@@ -9200,8 +9222,8 @@ export declare const EventDocument: z.ZodObject<{
9200
9222
  street?: string | null | undefined;
9201
9223
  zipCode?: string | null | undefined;
9202
9224
  } | {
9203
- firstname?: string | null | undefined;
9204
- surname?: string | null | undefined;
9225
+ firstname: string;
9226
+ surname: string;
9205
9227
  middlename?: string | null | undefined;
9206
9228
  } | {
9207
9229
  country: string;
@@ -9274,8 +9296,8 @@ export declare const EventDocument: z.ZodObject<{
9274
9296
  street?: string | null | undefined;
9275
9297
  zipCode?: string | null | undefined;
9276
9298
  } | {
9277
- firstname?: string | null | undefined;
9278
- surname?: string | null | undefined;
9299
+ firstname: string;
9300
+ surname: string;
9279
9301
  middlename?: string | null | undefined;
9280
9302
  } | {
9281
9303
  country: string;
@@ -9322,8 +9344,8 @@ export declare const EventDocument: z.ZodObject<{
9322
9344
  street?: string | null | undefined;
9323
9345
  zipCode?: string | null | undefined;
9324
9346
  } | {
9325
- firstname?: string | null | undefined;
9326
- surname?: string | null | undefined;
9347
+ firstname: string;
9348
+ surname: string;
9327
9349
  middlename?: string | null | undefined;
9328
9350
  } | {
9329
9351
  country: string;
@@ -9377,8 +9399,8 @@ export declare const EventDocument: z.ZodObject<{
9377
9399
  street?: string | null | undefined;
9378
9400
  zipCode?: string | null | undefined;
9379
9401
  } | {
9380
- firstname?: string | null | undefined;
9381
- surname?: string | null | undefined;
9402
+ firstname: string;
9403
+ surname: string;
9382
9404
  middlename?: string | null | undefined;
9383
9405
  } | {
9384
9406
  country: string;
@@ -9424,8 +9446,8 @@ export declare const EventDocument: z.ZodObject<{
9424
9446
  street?: string | null | undefined;
9425
9447
  zipCode?: string | null | undefined;
9426
9448
  } | {
9427
- firstname?: string | null | undefined;
9428
- surname?: string | null | undefined;
9449
+ firstname: string;
9450
+ surname: string;
9429
9451
  middlename?: string | null | undefined;
9430
9452
  } | {
9431
9453
  country: string;
@@ -9479,8 +9501,8 @@ export declare const EventDocument: z.ZodObject<{
9479
9501
  street?: string | null | undefined;
9480
9502
  zipCode?: string | null | undefined;
9481
9503
  } | {
9482
- firstname?: string | null | undefined;
9483
- surname?: string | null | undefined;
9504
+ firstname: string;
9505
+ surname: string;
9484
9506
  middlename?: string | null | undefined;
9485
9507
  } | {
9486
9508
  country: string;
@@ -9526,8 +9548,8 @@ export declare const EventDocument: z.ZodObject<{
9526
9548
  street?: string | null | undefined;
9527
9549
  zipCode?: string | null | undefined;
9528
9550
  } | {
9529
- firstname?: string | null | undefined;
9530
- surname?: string | null | undefined;
9551
+ firstname: string;
9552
+ surname: string;
9531
9553
  middlename?: string | null | undefined;
9532
9554
  } | {
9533
9555
  country: string;
@@ -9582,8 +9604,8 @@ export declare const EventDocument: z.ZodObject<{
9582
9604
  street?: string | null | undefined;
9583
9605
  zipCode?: string | null | undefined;
9584
9606
  } | {
9585
- firstname?: string | null | undefined;
9586
- surname?: string | null | undefined;
9607
+ firstname: string;
9608
+ surname: string;
9587
9609
  middlename?: string | null | undefined;
9588
9610
  } | {
9589
9611
  country: string;
@@ -9629,8 +9651,8 @@ export declare const EventDocument: z.ZodObject<{
9629
9651
  street?: string | null | undefined;
9630
9652
  zipCode?: string | null | undefined;
9631
9653
  } | {
9632
- firstname?: string | null | undefined;
9633
- surname?: string | null | undefined;
9654
+ firstname: string;
9655
+ surname: string;
9634
9656
  middlename?: string | null | undefined;
9635
9657
  } | {
9636
9658
  country: string;
@@ -9684,8 +9706,8 @@ export declare const EventDocument: z.ZodObject<{
9684
9706
  street?: string | null | undefined;
9685
9707
  zipCode?: string | null | undefined;
9686
9708
  } | {
9687
- firstname?: string | null | undefined;
9688
- surname?: string | null | undefined;
9709
+ firstname: string;
9710
+ surname: string;
9689
9711
  middlename?: string | null | undefined;
9690
9712
  } | {
9691
9713
  country: string;
@@ -9731,8 +9753,8 @@ export declare const EventDocument: z.ZodObject<{
9731
9753
  street?: string | null | undefined;
9732
9754
  zipCode?: string | null | undefined;
9733
9755
  } | {
9734
- firstname?: string | null | undefined;
9735
- surname?: string | null | undefined;
9756
+ firstname: string;
9757
+ surname: string;
9736
9758
  middlename?: string | null | undefined;
9737
9759
  } | {
9738
9760
  country: string;
@@ -9790,8 +9812,8 @@ export declare const EventDocument: z.ZodObject<{
9790
9812
  street?: string | null | undefined;
9791
9813
  zipCode?: string | null | undefined;
9792
9814
  } | {
9793
- firstname?: string | null | undefined;
9794
- surname?: string | null | undefined;
9815
+ firstname: string;
9816
+ surname: string;
9795
9817
  middlename?: string | null | undefined;
9796
9818
  } | {
9797
9819
  country: string;
@@ -9837,8 +9859,8 @@ export declare const EventDocument: z.ZodObject<{
9837
9859
  street?: string | null | undefined;
9838
9860
  zipCode?: string | null | undefined;
9839
9861
  } | {
9840
- firstname?: string | null | undefined;
9841
- surname?: string | null | undefined;
9862
+ firstname: string;
9863
+ surname: string;
9842
9864
  middlename?: string | null | undefined;
9843
9865
  } | {
9844
9866
  country: string;
@@ -9892,8 +9914,8 @@ export declare const EventDocument: z.ZodObject<{
9892
9914
  street?: string | null | undefined;
9893
9915
  zipCode?: string | null | undefined;
9894
9916
  } | {
9895
- firstname?: string | null | undefined;
9896
- surname?: string | null | undefined;
9917
+ firstname: string;
9918
+ surname: string;
9897
9919
  middlename?: string | null | undefined;
9898
9920
  } | {
9899
9921
  country: string;
@@ -9939,8 +9961,8 @@ export declare const EventDocument: z.ZodObject<{
9939
9961
  street?: string | null | undefined;
9940
9962
  zipCode?: string | null | undefined;
9941
9963
  } | {
9942
- firstname?: string | null | undefined;
9943
- surname?: string | null | undefined;
9964
+ firstname: string;
9965
+ surname: string;
9944
9966
  middlename?: string | null | undefined;
9945
9967
  } | {
9946
9968
  country: string;
@@ -9998,8 +10020,8 @@ export declare const EventDocument: z.ZodObject<{
9998
10020
  street?: string | null | undefined;
9999
10021
  zipCode?: string | null | undefined;
10000
10022
  } | {
10001
- firstname?: string | null | undefined;
10002
- surname?: string | null | undefined;
10023
+ firstname: string;
10024
+ surname: string;
10003
10025
  middlename?: string | null | undefined;
10004
10026
  } | {
10005
10027
  country: string;
@@ -10045,8 +10067,8 @@ export declare const EventDocument: z.ZodObject<{
10045
10067
  street?: string | null | undefined;
10046
10068
  zipCode?: string | null | undefined;
10047
10069
  } | {
10048
- firstname?: string | null | undefined;
10049
- surname?: string | null | undefined;
10070
+ firstname: string;
10071
+ surname: string;
10050
10072
  middlename?: string | null | undefined;
10051
10073
  } | {
10052
10074
  country: string;
@@ -10100,8 +10122,8 @@ export declare const EventDocument: z.ZodObject<{
10100
10122
  street?: string | null | undefined;
10101
10123
  zipCode?: string | null | undefined;
10102
10124
  } | {
10103
- firstname?: string | null | undefined;
10104
- surname?: string | null | undefined;
10125
+ firstname: string;
10126
+ surname: string;
10105
10127
  middlename?: string | null | undefined;
10106
10128
  } | {
10107
10129
  country: string;
@@ -10147,8 +10169,8 @@ export declare const EventDocument: z.ZodObject<{
10147
10169
  street?: string | null | undefined;
10148
10170
  zipCode?: string | null | undefined;
10149
10171
  } | {
10150
- firstname?: string | null | undefined;
10151
- surname?: string | null | undefined;
10172
+ firstname: string;
10173
+ surname: string;
10152
10174
  middlename?: string | null | undefined;
10153
10175
  } | {
10154
10176
  country: string;
@@ -10202,8 +10224,8 @@ export declare const EventDocument: z.ZodObject<{
10202
10224
  street?: string | null | undefined;
10203
10225
  zipCode?: string | null | undefined;
10204
10226
  } | {
10205
- firstname?: string | null | undefined;
10206
- surname?: string | null | undefined;
10227
+ firstname: string;
10228
+ surname: string;
10207
10229
  middlename?: string | null | undefined;
10208
10230
  } | {
10209
10231
  country: string;
@@ -10249,8 +10271,8 @@ export declare const EventDocument: z.ZodObject<{
10249
10271
  street?: string | null | undefined;
10250
10272
  zipCode?: string | null | undefined;
10251
10273
  } | {
10252
- firstname?: string | null | undefined;
10253
- surname?: string | null | undefined;
10274
+ firstname: string;
10275
+ surname: string;
10254
10276
  middlename?: string | null | undefined;
10255
10277
  } | {
10256
10278
  country: string;
@@ -10304,8 +10326,8 @@ export declare const EventDocument: z.ZodObject<{
10304
10326
  street?: string | null | undefined;
10305
10327
  zipCode?: string | null | undefined;
10306
10328
  } | {
10307
- firstname?: string | null | undefined;
10308
- surname?: string | null | undefined;
10329
+ firstname: string;
10330
+ surname: string;
10309
10331
  middlename?: string | null | undefined;
10310
10332
  } | {
10311
10333
  country: string;
@@ -10333,6 +10355,9 @@ export declare const EventDocument: z.ZodObject<{
10333
10355
  start: string;
10334
10356
  end: string;
10335
10357
  } | null | undefined>;
10358
+ content?: {
10359
+ templateId?: string | undefined;
10360
+ } | null | undefined;
10336
10361
  createdBySignature?: string | null | undefined;
10337
10362
  createdAtLocation?: string | null | undefined;
10338
10363
  annotation?: Record<string, string | number | boolean | {
@@ -10351,8 +10376,8 @@ export declare const EventDocument: z.ZodObject<{
10351
10376
  street?: string | null | undefined;
10352
10377
  zipCode?: string | null | undefined;
10353
10378
  } | {
10354
- firstname?: string | null | undefined;
10355
- surname?: string | null | undefined;
10379
+ firstname: string;
10380
+ surname: string;
10356
10381
  middlename?: string | null | undefined;
10357
10382
  } | {
10358
10383
  country: string;
@@ -10381,9 +10406,6 @@ export declare const EventDocument: z.ZodObject<{
10381
10406
  end: string;
10382
10407
  } | null | undefined> | null | undefined;
10383
10408
  originalActionId?: string | null | undefined;
10384
- actionDetails?: {
10385
- templateId?: string | undefined;
10386
- } | null | undefined;
10387
10409
  } | {
10388
10410
  type: "REQUEST_CORRECTION";
10389
10411
  id: string;
@@ -10409,8 +10431,8 @@ export declare const EventDocument: z.ZodObject<{
10409
10431
  street?: string | null | undefined;
10410
10432
  zipCode?: string | null | undefined;
10411
10433
  } | {
10412
- firstname?: string | null | undefined;
10413
- surname?: string | null | undefined;
10434
+ firstname: string;
10435
+ surname: string;
10414
10436
  middlename?: string | null | undefined;
10415
10437
  } | {
10416
10438
  country: string;
@@ -10456,8 +10478,8 @@ export declare const EventDocument: z.ZodObject<{
10456
10478
  street?: string | null | undefined;
10457
10479
  zipCode?: string | null | undefined;
10458
10480
  } | {
10459
- firstname?: string | null | undefined;
10460
- surname?: string | null | undefined;
10481
+ firstname: string;
10482
+ surname: string;
10461
10483
  middlename?: string | null | undefined;
10462
10484
  } | {
10463
10485
  country: string;
@@ -10511,8 +10533,8 @@ export declare const EventDocument: z.ZodObject<{
10511
10533
  street?: string | null | undefined;
10512
10534
  zipCode?: string | null | undefined;
10513
10535
  } | {
10514
- firstname?: string | null | undefined;
10515
- surname?: string | null | undefined;
10536
+ firstname: string;
10537
+ surname: string;
10516
10538
  middlename?: string | null | undefined;
10517
10539
  } | {
10518
10540
  country: string;
@@ -10559,8 +10581,8 @@ export declare const EventDocument: z.ZodObject<{
10559
10581
  street?: string | null | undefined;
10560
10582
  zipCode?: string | null | undefined;
10561
10583
  } | {
10562
- firstname?: string | null | undefined;
10563
- surname?: string | null | undefined;
10584
+ firstname: string;
10585
+ surname: string;
10564
10586
  middlename?: string | null | undefined;
10565
10587
  } | {
10566
10588
  country: string;
@@ -10593,6 +10615,10 @@ export declare const EventDocument: z.ZodObject<{
10593
10615
  type: "REJECT_CORRECTION";
10594
10616
  id: string;
10595
10617
  status: "Rejected" | "Requested" | "Accepted";
10618
+ reason: {
10619
+ message: string;
10620
+ isDuplicate?: boolean | undefined;
10621
+ };
10596
10622
  transactionId: string;
10597
10623
  createdByUserType: "system" | "user";
10598
10624
  createdAt: string;
@@ -10614,8 +10640,8 @@ export declare const EventDocument: z.ZodObject<{
10614
10640
  street?: string | null | undefined;
10615
10641
  zipCode?: string | null | undefined;
10616
10642
  } | {
10617
- firstname?: string | null | undefined;
10618
- surname?: string | null | undefined;
10643
+ firstname: string;
10644
+ surname: string;
10619
10645
  middlename?: string | null | undefined;
10620
10646
  } | {
10621
10647
  country: string;
@@ -10662,8 +10688,8 @@ export declare const EventDocument: z.ZodObject<{
10662
10688
  street?: string | null | undefined;
10663
10689
  zipCode?: string | null | undefined;
10664
10690
  } | {
10665
- firstname?: string | null | undefined;
10666
- surname?: string | null | undefined;
10691
+ firstname: string;
10692
+ surname: string;
10667
10693
  middlename?: string | null | undefined;
10668
10694
  } | {
10669
10695
  country: string;
@@ -10717,8 +10743,8 @@ export declare const EventDocument: z.ZodObject<{
10717
10743
  street?: string | null | undefined;
10718
10744
  zipCode?: string | null | undefined;
10719
10745
  } | {
10720
- firstname?: string | null | undefined;
10721
- surname?: string | null | undefined;
10746
+ firstname: string;
10747
+ surname: string;
10722
10748
  middlename?: string | null | undefined;
10723
10749
  } | {
10724
10750
  country: string;
@@ -10764,8 +10790,8 @@ export declare const EventDocument: z.ZodObject<{
10764
10790
  street?: string | null | undefined;
10765
10791
  zipCode?: string | null | undefined;
10766
10792
  } | {
10767
- firstname?: string | null | undefined;
10768
- surname?: string | null | undefined;
10793
+ firstname: string;
10794
+ surname: string;
10769
10795
  middlename?: string | null | undefined;
10770
10796
  } | {
10771
10797
  country: string;