@opencrvs/toolkit 1.8.0-rc.f8e4107 → 1.8.0-rc.f97f8f2

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 (39) hide show
  1. package/dist/commons/api/router.d.ts +8418 -4827
  2. package/dist/commons/conditionals/conditionals.d.ts +9 -70
  3. package/dist/commons/conditionals/validate.d.ts +4 -6
  4. package/dist/commons/events/ActionConfig.d.ts +90025 -1680
  5. package/dist/commons/events/ActionDocument.d.ts +643 -417
  6. package/dist/commons/events/ActionInput.d.ts +248 -240
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +274 -23
  8. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  9. package/dist/commons/events/CountryConfigQueryInput.d.ts +1506 -0
  10. package/dist/commons/events/Draft.d.ts +38 -30
  11. package/dist/commons/events/EventConfig.d.ts +42787 -1385
  12. package/dist/commons/events/EventDocument.d.ts +413 -312
  13. package/dist/commons/events/EventIndex.d.ts +948 -155
  14. package/dist/commons/events/EventInput.d.ts +13 -0
  15. package/dist/commons/events/EventMetadata.d.ts +274 -11
  16. package/dist/commons/events/FieldConfig.d.ts +3778 -769
  17. package/dist/commons/events/FieldType.d.ts +3 -3
  18. package/dist/commons/events/FieldTypeMapping.d.ts +11 -4
  19. package/dist/commons/events/FieldValue.d.ts +7 -4
  20. package/dist/commons/events/FormConfig.d.ts +40417 -439
  21. package/dist/commons/events/PageConfig.d.ts +10077 -203
  22. package/dist/commons/events/SummaryConfig.d.ts +95 -39
  23. package/dist/commons/events/User.d.ts +31 -2
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +42 -0
  25. package/dist/commons/events/WorkqueueConfig.d.ts +2834 -19
  26. package/dist/commons/events/defineConfig.d.ts +7008 -81
  27. package/dist/commons/events/event.d.ts +27 -0
  28. package/dist/commons/events/field.d.ts +68 -0
  29. package/dist/commons/events/index.d.ts +6 -0
  30. package/dist/commons/events/scopes.d.ts +26 -0
  31. package/dist/commons/events/serializer.d.ts +2 -0
  32. package/dist/commons/events/test.utils.d.ts +7 -44
  33. package/dist/commons/events/utils.d.ts +3551 -65
  34. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  35. package/dist/conditionals/index.js +54 -83
  36. package/dist/events/index.js +2044 -1072
  37. package/dist/scopes/index.d.ts +105 -1
  38. package/dist/scopes/index.js +140 -0
  39. package/package.json +3 -2
@@ -2,13 +2,22 @@ import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  type: z.ZodString;
5
+ dateOfEvent: z.ZodOptional<z.ZodObject<{
6
+ fieldId: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ fieldId: string;
9
+ }, {
10
+ fieldId: string;
11
+ }>>;
5
12
  createdAt: z.ZodString;
6
13
  updatedAt: z.ZodString;
7
14
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
15
  id: z.ZodString;
16
+ transactionId: z.ZodString;
9
17
  createdAt: z.ZodString;
10
18
  createdBy: z.ZodString;
11
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
19
+ createdByRole: z.ZodString;
20
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12
21
  filename: z.ZodString;
13
22
  originalFilename: z.ZodString;
14
23
  type: z.ZodString;
@@ -122,7 +131,7 @@ export declare const EventDocument: z.ZodObject<{
122
131
  addressLine3?: string | null | undefined;
123
132
  postcodeOrZip?: string | null | undefined;
124
133
  }>]>>;
125
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
134
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
126
135
  filename: z.ZodString;
127
136
  originalFilename: z.ZodString;
128
137
  type: z.ZodString;
@@ -236,8 +245,7 @@ export declare const EventDocument: z.ZodObject<{
236
245
  addressLine3?: string | null | undefined;
237
246
  postcodeOrZip?: string | null | undefined;
238
247
  }>]>>>;
239
- createdAtLocation: z.ZodOptional<z.ZodString>;
240
- updatedAtLocation: z.ZodOptional<z.ZodString>;
248
+ createdAtLocation: z.ZodString;
241
249
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
242
250
  originalActionId: z.ZodOptional<z.ZodString>;
243
251
  }, {
@@ -246,8 +254,10 @@ export declare const EventDocument: z.ZodObject<{
246
254
  type: "CREATE";
247
255
  id: string;
248
256
  status: "Rejected" | "Requested" | "Accepted";
257
+ transactionId: string;
249
258
  createdAt: string;
250
259
  createdBy: string;
260
+ createdByRole: string;
251
261
  declaration: Record<string, string | number | boolean | {
252
262
  type: string;
253
263
  filename: string;
@@ -285,7 +295,8 @@ export declare const EventDocument: z.ZodObject<{
285
295
  option: string;
286
296
  filename: string;
287
297
  originalFilename: string;
288
- }[] | undefined>;
298
+ }[] | [string, string] | undefined>;
299
+ createdAtLocation: string;
289
300
  annotation?: Record<string, string | number | boolean | {
290
301
  type: string;
291
302
  filename: string;
@@ -323,16 +334,16 @@ export declare const EventDocument: z.ZodObject<{
323
334
  option: string;
324
335
  filename: string;
325
336
  originalFilename: string;
326
- }[] | undefined> | undefined;
327
- createdAtLocation?: string | undefined;
328
- updatedAtLocation?: string | undefined;
337
+ }[] | [string, string] | undefined> | undefined;
329
338
  originalActionId?: string | undefined;
330
339
  }, {
331
340
  type: "CREATE";
332
341
  id: string;
333
342
  status: "Rejected" | "Requested" | "Accepted";
343
+ transactionId: string;
334
344
  createdAt: string;
335
345
  createdBy: string;
346
+ createdByRole: string;
336
347
  declaration: Record<string, string | number | boolean | {
337
348
  type: string;
338
349
  filename: string;
@@ -370,7 +381,8 @@ export declare const EventDocument: z.ZodObject<{
370
381
  option: string;
371
382
  filename: string;
372
383
  originalFilename: string;
373
- }[] | undefined>;
384
+ }[] | [string, string] | undefined>;
385
+ createdAtLocation: string;
374
386
  annotation?: Record<string, string | number | boolean | {
375
387
  type: string;
376
388
  filename: string;
@@ -408,15 +420,15 @@ export declare const EventDocument: z.ZodObject<{
408
420
  option: string;
409
421
  filename: string;
410
422
  originalFilename: string;
411
- }[] | undefined> | undefined;
412
- createdAtLocation?: string | undefined;
413
- updatedAtLocation?: string | undefined;
423
+ }[] | [string, string] | undefined> | undefined;
414
424
  originalActionId?: string | undefined;
415
425
  }>, z.ZodObject<z.objectUtil.extendShape<{
416
426
  id: z.ZodString;
427
+ transactionId: z.ZodString;
417
428
  createdAt: z.ZodString;
418
429
  createdBy: z.ZodString;
419
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
430
+ createdByRole: z.ZodString;
431
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
420
432
  filename: z.ZodString;
421
433
  originalFilename: z.ZodString;
422
434
  type: z.ZodString;
@@ -530,7 +542,7 @@ export declare const EventDocument: z.ZodObject<{
530
542
  addressLine3?: string | null | undefined;
531
543
  postcodeOrZip?: string | null | undefined;
532
544
  }>]>>;
533
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
545
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
534
546
  filename: z.ZodString;
535
547
  originalFilename: z.ZodString;
536
548
  type: z.ZodString;
@@ -644,8 +656,7 @@ export declare const EventDocument: z.ZodObject<{
644
656
  addressLine3?: string | null | undefined;
645
657
  postcodeOrZip?: string | null | undefined;
646
658
  }>]>>>;
647
- createdAtLocation: z.ZodOptional<z.ZodString>;
648
- updatedAtLocation: z.ZodOptional<z.ZodString>;
659
+ createdAtLocation: z.ZodString;
649
660
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
650
661
  originalActionId: z.ZodOptional<z.ZodString>;
651
662
  }, {
@@ -654,8 +665,10 @@ export declare const EventDocument: z.ZodObject<{
654
665
  type: "VALIDATE";
655
666
  id: string;
656
667
  status: "Rejected" | "Requested" | "Accepted";
668
+ transactionId: string;
657
669
  createdAt: string;
658
670
  createdBy: string;
671
+ createdByRole: string;
659
672
  declaration: Record<string, string | number | boolean | {
660
673
  type: string;
661
674
  filename: string;
@@ -693,7 +706,8 @@ export declare const EventDocument: z.ZodObject<{
693
706
  option: string;
694
707
  filename: string;
695
708
  originalFilename: string;
696
- }[] | undefined>;
709
+ }[] | [string, string] | undefined>;
710
+ createdAtLocation: string;
697
711
  annotation?: Record<string, string | number | boolean | {
698
712
  type: string;
699
713
  filename: string;
@@ -731,16 +745,16 @@ export declare const EventDocument: z.ZodObject<{
731
745
  option: string;
732
746
  filename: string;
733
747
  originalFilename: string;
734
- }[] | undefined> | undefined;
735
- createdAtLocation?: string | undefined;
736
- updatedAtLocation?: string | undefined;
748
+ }[] | [string, string] | undefined> | undefined;
737
749
  originalActionId?: string | undefined;
738
750
  }, {
739
751
  type: "VALIDATE";
740
752
  id: string;
741
753
  status: "Rejected" | "Requested" | "Accepted";
754
+ transactionId: string;
742
755
  createdAt: string;
743
756
  createdBy: string;
757
+ createdByRole: string;
744
758
  declaration: Record<string, string | number | boolean | {
745
759
  type: string;
746
760
  filename: string;
@@ -778,7 +792,8 @@ export declare const EventDocument: z.ZodObject<{
778
792
  option: string;
779
793
  filename: string;
780
794
  originalFilename: string;
781
- }[] | undefined>;
795
+ }[] | [string, string] | undefined>;
796
+ createdAtLocation: string;
782
797
  annotation?: Record<string, string | number | boolean | {
783
798
  type: string;
784
799
  filename: string;
@@ -816,15 +831,15 @@ export declare const EventDocument: z.ZodObject<{
816
831
  option: string;
817
832
  filename: string;
818
833
  originalFilename: string;
819
- }[] | undefined> | undefined;
820
- createdAtLocation?: string | undefined;
821
- updatedAtLocation?: string | undefined;
834
+ }[] | [string, string] | undefined> | undefined;
822
835
  originalActionId?: string | undefined;
823
836
  }>, z.ZodObject<z.objectUtil.extendShape<{
824
837
  id: z.ZodString;
838
+ transactionId: z.ZodString;
825
839
  createdAt: z.ZodString;
826
840
  createdBy: z.ZodString;
827
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
841
+ createdByRole: z.ZodString;
842
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
828
843
  filename: z.ZodString;
829
844
  originalFilename: z.ZodString;
830
845
  type: z.ZodString;
@@ -938,7 +953,7 @@ export declare const EventDocument: z.ZodObject<{
938
953
  addressLine3?: string | null | undefined;
939
954
  postcodeOrZip?: string | null | undefined;
940
955
  }>]>>;
941
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
956
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
942
957
  filename: z.ZodString;
943
958
  originalFilename: z.ZodString;
944
959
  type: z.ZodString;
@@ -1052,8 +1067,7 @@ export declare const EventDocument: z.ZodObject<{
1052
1067
  addressLine3?: string | null | undefined;
1053
1068
  postcodeOrZip?: string | null | undefined;
1054
1069
  }>]>>>;
1055
- createdAtLocation: z.ZodOptional<z.ZodString>;
1056
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1070
+ createdAtLocation: z.ZodString;
1057
1071
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1058
1072
  originalActionId: z.ZodOptional<z.ZodString>;
1059
1073
  }, {
@@ -1062,8 +1076,10 @@ export declare const EventDocument: z.ZodObject<{
1062
1076
  type: "REJECT";
1063
1077
  id: string;
1064
1078
  status: "Rejected" | "Requested" | "Accepted";
1079
+ transactionId: string;
1065
1080
  createdAt: string;
1066
1081
  createdBy: string;
1082
+ createdByRole: string;
1067
1083
  declaration: Record<string, string | number | boolean | {
1068
1084
  type: string;
1069
1085
  filename: string;
@@ -1101,7 +1117,8 @@ export declare const EventDocument: z.ZodObject<{
1101
1117
  option: string;
1102
1118
  filename: string;
1103
1119
  originalFilename: string;
1104
- }[] | undefined>;
1120
+ }[] | [string, string] | undefined>;
1121
+ createdAtLocation: string;
1105
1122
  annotation?: Record<string, string | number | boolean | {
1106
1123
  type: string;
1107
1124
  filename: string;
@@ -1139,16 +1156,16 @@ export declare const EventDocument: z.ZodObject<{
1139
1156
  option: string;
1140
1157
  filename: string;
1141
1158
  originalFilename: string;
1142
- }[] | undefined> | undefined;
1143
- createdAtLocation?: string | undefined;
1144
- updatedAtLocation?: string | undefined;
1159
+ }[] | [string, string] | undefined> | undefined;
1145
1160
  originalActionId?: string | undefined;
1146
1161
  }, {
1147
1162
  type: "REJECT";
1148
1163
  id: string;
1149
1164
  status: "Rejected" | "Requested" | "Accepted";
1165
+ transactionId: string;
1150
1166
  createdAt: string;
1151
1167
  createdBy: string;
1168
+ createdByRole: string;
1152
1169
  declaration: Record<string, string | number | boolean | {
1153
1170
  type: string;
1154
1171
  filename: string;
@@ -1186,7 +1203,8 @@ export declare const EventDocument: z.ZodObject<{
1186
1203
  option: string;
1187
1204
  filename: string;
1188
1205
  originalFilename: string;
1189
- }[] | undefined>;
1206
+ }[] | [string, string] | undefined>;
1207
+ createdAtLocation: string;
1190
1208
  annotation?: Record<string, string | number | boolean | {
1191
1209
  type: string;
1192
1210
  filename: string;
@@ -1224,15 +1242,15 @@ export declare const EventDocument: z.ZodObject<{
1224
1242
  option: string;
1225
1243
  filename: string;
1226
1244
  originalFilename: string;
1227
- }[] | undefined> | undefined;
1228
- createdAtLocation?: string | undefined;
1229
- updatedAtLocation?: string | undefined;
1245
+ }[] | [string, string] | undefined> | undefined;
1230
1246
  originalActionId?: string | undefined;
1231
1247
  }>, z.ZodObject<z.objectUtil.extendShape<{
1232
1248
  id: z.ZodString;
1249
+ transactionId: z.ZodString;
1233
1250
  createdAt: z.ZodString;
1234
1251
  createdBy: z.ZodString;
1235
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1252
+ createdByRole: z.ZodString;
1253
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1236
1254
  filename: z.ZodString;
1237
1255
  originalFilename: z.ZodString;
1238
1256
  type: z.ZodString;
@@ -1346,7 +1364,7 @@ export declare const EventDocument: z.ZodObject<{
1346
1364
  addressLine3?: string | null | undefined;
1347
1365
  postcodeOrZip?: string | null | undefined;
1348
1366
  }>]>>;
1349
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1367
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1350
1368
  filename: z.ZodString;
1351
1369
  originalFilename: z.ZodString;
1352
1370
  type: z.ZodString;
@@ -1460,8 +1478,7 @@ export declare const EventDocument: z.ZodObject<{
1460
1478
  addressLine3?: string | null | undefined;
1461
1479
  postcodeOrZip?: string | null | undefined;
1462
1480
  }>]>>>;
1463
- createdAtLocation: z.ZodOptional<z.ZodString>;
1464
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1481
+ createdAtLocation: z.ZodString;
1465
1482
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1466
1483
  originalActionId: z.ZodOptional<z.ZodString>;
1467
1484
  }, {
@@ -1470,8 +1487,10 @@ export declare const EventDocument: z.ZodObject<{
1470
1487
  type: "MARKED_AS_DUPLICATE";
1471
1488
  id: string;
1472
1489
  status: "Rejected" | "Requested" | "Accepted";
1490
+ transactionId: string;
1473
1491
  createdAt: string;
1474
1492
  createdBy: string;
1493
+ createdByRole: string;
1475
1494
  declaration: Record<string, string | number | boolean | {
1476
1495
  type: string;
1477
1496
  filename: string;
@@ -1509,7 +1528,8 @@ export declare const EventDocument: z.ZodObject<{
1509
1528
  option: string;
1510
1529
  filename: string;
1511
1530
  originalFilename: string;
1512
- }[] | undefined>;
1531
+ }[] | [string, string] | undefined>;
1532
+ createdAtLocation: string;
1513
1533
  annotation?: Record<string, string | number | boolean | {
1514
1534
  type: string;
1515
1535
  filename: string;
@@ -1547,16 +1567,16 @@ export declare const EventDocument: z.ZodObject<{
1547
1567
  option: string;
1548
1568
  filename: string;
1549
1569
  originalFilename: string;
1550
- }[] | undefined> | undefined;
1551
- createdAtLocation?: string | undefined;
1552
- updatedAtLocation?: string | undefined;
1570
+ }[] | [string, string] | undefined> | undefined;
1553
1571
  originalActionId?: string | undefined;
1554
1572
  }, {
1555
1573
  type: "MARKED_AS_DUPLICATE";
1556
1574
  id: string;
1557
1575
  status: "Rejected" | "Requested" | "Accepted";
1576
+ transactionId: string;
1558
1577
  createdAt: string;
1559
1578
  createdBy: string;
1579
+ createdByRole: string;
1560
1580
  declaration: Record<string, string | number | boolean | {
1561
1581
  type: string;
1562
1582
  filename: string;
@@ -1594,7 +1614,8 @@ export declare const EventDocument: z.ZodObject<{
1594
1614
  option: string;
1595
1615
  filename: string;
1596
1616
  originalFilename: string;
1597
- }[] | undefined>;
1617
+ }[] | [string, string] | undefined>;
1618
+ createdAtLocation: string;
1598
1619
  annotation?: Record<string, string | number | boolean | {
1599
1620
  type: string;
1600
1621
  filename: string;
@@ -1632,15 +1653,15 @@ export declare const EventDocument: z.ZodObject<{
1632
1653
  option: string;
1633
1654
  filename: string;
1634
1655
  originalFilename: string;
1635
- }[] | undefined> | undefined;
1636
- createdAtLocation?: string | undefined;
1637
- updatedAtLocation?: string | undefined;
1656
+ }[] | [string, string] | undefined> | undefined;
1638
1657
  originalActionId?: string | undefined;
1639
1658
  }>, z.ZodObject<z.objectUtil.extendShape<{
1640
1659
  id: z.ZodString;
1660
+ transactionId: z.ZodString;
1641
1661
  createdAt: z.ZodString;
1642
1662
  createdBy: z.ZodString;
1643
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1663
+ createdByRole: z.ZodString;
1664
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1644
1665
  filename: z.ZodString;
1645
1666
  originalFilename: z.ZodString;
1646
1667
  type: z.ZodString;
@@ -1754,7 +1775,7 @@ export declare const EventDocument: z.ZodObject<{
1754
1775
  addressLine3?: string | null | undefined;
1755
1776
  postcodeOrZip?: string | null | undefined;
1756
1777
  }>]>>;
1757
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1778
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1758
1779
  filename: z.ZodString;
1759
1780
  originalFilename: z.ZodString;
1760
1781
  type: z.ZodString;
@@ -1868,8 +1889,7 @@ export declare const EventDocument: z.ZodObject<{
1868
1889
  addressLine3?: string | null | undefined;
1869
1890
  postcodeOrZip?: string | null | undefined;
1870
1891
  }>]>>>;
1871
- createdAtLocation: z.ZodOptional<z.ZodString>;
1872
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1892
+ createdAtLocation: z.ZodString;
1873
1893
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1874
1894
  originalActionId: z.ZodOptional<z.ZodString>;
1875
1895
  }, {
@@ -1878,8 +1898,10 @@ export declare const EventDocument: z.ZodObject<{
1878
1898
  type: "ARCHIVE";
1879
1899
  id: string;
1880
1900
  status: "Rejected" | "Requested" | "Accepted";
1901
+ transactionId: string;
1881
1902
  createdAt: string;
1882
1903
  createdBy: string;
1904
+ createdByRole: string;
1883
1905
  declaration: Record<string, string | number | boolean | {
1884
1906
  type: string;
1885
1907
  filename: string;
@@ -1917,7 +1939,8 @@ export declare const EventDocument: z.ZodObject<{
1917
1939
  option: string;
1918
1940
  filename: string;
1919
1941
  originalFilename: string;
1920
- }[] | undefined>;
1942
+ }[] | [string, string] | undefined>;
1943
+ createdAtLocation: string;
1921
1944
  annotation?: Record<string, string | number | boolean | {
1922
1945
  type: string;
1923
1946
  filename: string;
@@ -1955,16 +1978,16 @@ export declare const EventDocument: z.ZodObject<{
1955
1978
  option: string;
1956
1979
  filename: string;
1957
1980
  originalFilename: string;
1958
- }[] | undefined> | undefined;
1959
- createdAtLocation?: string | undefined;
1960
- updatedAtLocation?: string | undefined;
1981
+ }[] | [string, string] | undefined> | undefined;
1961
1982
  originalActionId?: string | undefined;
1962
1983
  }, {
1963
1984
  type: "ARCHIVE";
1964
1985
  id: string;
1965
1986
  status: "Rejected" | "Requested" | "Accepted";
1987
+ transactionId: string;
1966
1988
  createdAt: string;
1967
1989
  createdBy: string;
1990
+ createdByRole: string;
1968
1991
  declaration: Record<string, string | number | boolean | {
1969
1992
  type: string;
1970
1993
  filename: string;
@@ -2002,7 +2025,8 @@ export declare const EventDocument: z.ZodObject<{
2002
2025
  option: string;
2003
2026
  filename: string;
2004
2027
  originalFilename: string;
2005
- }[] | undefined>;
2028
+ }[] | [string, string] | undefined>;
2029
+ createdAtLocation: string;
2006
2030
  annotation?: Record<string, string | number | boolean | {
2007
2031
  type: string;
2008
2032
  filename: string;
@@ -2040,15 +2064,15 @@ export declare const EventDocument: z.ZodObject<{
2040
2064
  option: string;
2041
2065
  filename: string;
2042
2066
  originalFilename: string;
2043
- }[] | undefined> | undefined;
2044
- createdAtLocation?: string | undefined;
2045
- updatedAtLocation?: string | undefined;
2067
+ }[] | [string, string] | undefined> | undefined;
2046
2068
  originalActionId?: string | undefined;
2047
2069
  }>, z.ZodObject<z.objectUtil.extendShape<{
2048
2070
  id: z.ZodString;
2071
+ transactionId: z.ZodString;
2049
2072
  createdAt: z.ZodString;
2050
2073
  createdBy: z.ZodString;
2051
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2074
+ createdByRole: z.ZodString;
2075
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2052
2076
  filename: z.ZodString;
2053
2077
  originalFilename: z.ZodString;
2054
2078
  type: z.ZodString;
@@ -2162,7 +2186,7 @@ export declare const EventDocument: z.ZodObject<{
2162
2186
  addressLine3?: string | null | undefined;
2163
2187
  postcodeOrZip?: string | null | undefined;
2164
2188
  }>]>>;
2165
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2189
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2166
2190
  filename: z.ZodString;
2167
2191
  originalFilename: z.ZodString;
2168
2192
  type: z.ZodString;
@@ -2276,8 +2300,7 @@ export declare const EventDocument: z.ZodObject<{
2276
2300
  addressLine3?: string | null | undefined;
2277
2301
  postcodeOrZip?: string | null | undefined;
2278
2302
  }>]>>>;
2279
- createdAtLocation: z.ZodOptional<z.ZodString>;
2280
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2303
+ createdAtLocation: z.ZodString;
2281
2304
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2282
2305
  originalActionId: z.ZodOptional<z.ZodString>;
2283
2306
  }, {
@@ -2286,8 +2309,10 @@ export declare const EventDocument: z.ZodObject<{
2286
2309
  type: "NOTIFY";
2287
2310
  id: string;
2288
2311
  status: "Rejected" | "Requested" | "Accepted";
2312
+ transactionId: string;
2289
2313
  createdAt: string;
2290
2314
  createdBy: string;
2315
+ createdByRole: string;
2291
2316
  declaration: Record<string, string | number | boolean | {
2292
2317
  type: string;
2293
2318
  filename: string;
@@ -2325,7 +2350,8 @@ export declare const EventDocument: z.ZodObject<{
2325
2350
  option: string;
2326
2351
  filename: string;
2327
2352
  originalFilename: string;
2328
- }[] | undefined>;
2353
+ }[] | [string, string] | undefined>;
2354
+ createdAtLocation: string;
2329
2355
  annotation?: Record<string, string | number | boolean | {
2330
2356
  type: string;
2331
2357
  filename: string;
@@ -2363,16 +2389,16 @@ export declare const EventDocument: z.ZodObject<{
2363
2389
  option: string;
2364
2390
  filename: string;
2365
2391
  originalFilename: string;
2366
- }[] | undefined> | undefined;
2367
- createdAtLocation?: string | undefined;
2368
- updatedAtLocation?: string | undefined;
2392
+ }[] | [string, string] | undefined> | undefined;
2369
2393
  originalActionId?: string | undefined;
2370
2394
  }, {
2371
2395
  type: "NOTIFY";
2372
2396
  id: string;
2373
2397
  status: "Rejected" | "Requested" | "Accepted";
2398
+ transactionId: string;
2374
2399
  createdAt: string;
2375
2400
  createdBy: string;
2401
+ createdByRole: string;
2376
2402
  declaration: Record<string, string | number | boolean | {
2377
2403
  type: string;
2378
2404
  filename: string;
@@ -2410,7 +2436,8 @@ export declare const EventDocument: z.ZodObject<{
2410
2436
  option: string;
2411
2437
  filename: string;
2412
2438
  originalFilename: string;
2413
- }[] | undefined>;
2439
+ }[] | [string, string] | undefined>;
2440
+ createdAtLocation: string;
2414
2441
  annotation?: Record<string, string | number | boolean | {
2415
2442
  type: string;
2416
2443
  filename: string;
@@ -2448,15 +2475,15 @@ export declare const EventDocument: z.ZodObject<{
2448
2475
  option: string;
2449
2476
  filename: string;
2450
2477
  originalFilename: string;
2451
- }[] | undefined> | undefined;
2452
- createdAtLocation?: string | undefined;
2453
- updatedAtLocation?: string | undefined;
2478
+ }[] | [string, string] | undefined> | undefined;
2454
2479
  originalActionId?: string | undefined;
2455
2480
  }>, z.ZodObject<z.objectUtil.extendShape<{
2456
2481
  id: z.ZodString;
2482
+ transactionId: z.ZodString;
2457
2483
  createdAt: z.ZodString;
2458
2484
  createdBy: z.ZodString;
2459
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2485
+ createdByRole: z.ZodString;
2486
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2460
2487
  filename: z.ZodString;
2461
2488
  originalFilename: z.ZodString;
2462
2489
  type: z.ZodString;
@@ -2570,7 +2597,7 @@ export declare const EventDocument: z.ZodObject<{
2570
2597
  addressLine3?: string | null | undefined;
2571
2598
  postcodeOrZip?: string | null | undefined;
2572
2599
  }>]>>;
2573
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2600
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2574
2601
  filename: z.ZodString;
2575
2602
  originalFilename: z.ZodString;
2576
2603
  type: z.ZodString;
@@ -2684,8 +2711,7 @@ export declare const EventDocument: z.ZodObject<{
2684
2711
  addressLine3?: string | null | undefined;
2685
2712
  postcodeOrZip?: string | null | undefined;
2686
2713
  }>]>>>;
2687
- createdAtLocation: z.ZodOptional<z.ZodString>;
2688
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2714
+ createdAtLocation: z.ZodString;
2689
2715
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2690
2716
  originalActionId: z.ZodOptional<z.ZodString>;
2691
2717
  }, {
@@ -2695,8 +2721,10 @@ export declare const EventDocument: z.ZodObject<{
2695
2721
  type: "REGISTER";
2696
2722
  id: string;
2697
2723
  status: "Rejected" | "Requested" | "Accepted";
2724
+ transactionId: string;
2698
2725
  createdAt: string;
2699
2726
  createdBy: string;
2727
+ createdByRole: string;
2700
2728
  declaration: Record<string, string | number | boolean | {
2701
2729
  type: string;
2702
2730
  filename: string;
@@ -2734,7 +2762,8 @@ export declare const EventDocument: z.ZodObject<{
2734
2762
  option: string;
2735
2763
  filename: string;
2736
2764
  originalFilename: string;
2737
- }[] | undefined>;
2765
+ }[] | [string, string] | undefined>;
2766
+ createdAtLocation: string;
2738
2767
  annotation?: Record<string, string | number | boolean | {
2739
2768
  type: string;
2740
2769
  filename: string;
@@ -2772,17 +2801,17 @@ export declare const EventDocument: z.ZodObject<{
2772
2801
  option: string;
2773
2802
  filename: string;
2774
2803
  originalFilename: string;
2775
- }[] | undefined> | undefined;
2776
- createdAtLocation?: string | undefined;
2777
- updatedAtLocation?: string | undefined;
2804
+ }[] | [string, string] | undefined> | undefined;
2778
2805
  originalActionId?: string | undefined;
2779
2806
  registrationNumber?: string | undefined;
2780
2807
  }, {
2781
2808
  type: "REGISTER";
2782
2809
  id: string;
2783
2810
  status: "Rejected" | "Requested" | "Accepted";
2811
+ transactionId: string;
2784
2812
  createdAt: string;
2785
2813
  createdBy: string;
2814
+ createdByRole: string;
2786
2815
  declaration: Record<string, string | number | boolean | {
2787
2816
  type: string;
2788
2817
  filename: string;
@@ -2820,7 +2849,8 @@ export declare const EventDocument: z.ZodObject<{
2820
2849
  option: string;
2821
2850
  filename: string;
2822
2851
  originalFilename: string;
2823
- }[] | undefined>;
2852
+ }[] | [string, string] | undefined>;
2853
+ createdAtLocation: string;
2824
2854
  annotation?: Record<string, string | number | boolean | {
2825
2855
  type: string;
2826
2856
  filename: string;
@@ -2858,16 +2888,16 @@ export declare const EventDocument: z.ZodObject<{
2858
2888
  option: string;
2859
2889
  filename: string;
2860
2890
  originalFilename: string;
2861
- }[] | undefined> | undefined;
2862
- createdAtLocation?: string | undefined;
2863
- updatedAtLocation?: string | undefined;
2891
+ }[] | [string, string] | undefined> | undefined;
2864
2892
  originalActionId?: string | undefined;
2865
2893
  registrationNumber?: string | undefined;
2866
2894
  }>, z.ZodObject<z.objectUtil.extendShape<{
2867
2895
  id: z.ZodString;
2896
+ transactionId: z.ZodString;
2868
2897
  createdAt: z.ZodString;
2869
2898
  createdBy: z.ZodString;
2870
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2899
+ createdByRole: z.ZodString;
2900
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2871
2901
  filename: z.ZodString;
2872
2902
  originalFilename: z.ZodString;
2873
2903
  type: z.ZodString;
@@ -2981,7 +3011,7 @@ export declare const EventDocument: z.ZodObject<{
2981
3011
  addressLine3?: string | null | undefined;
2982
3012
  postcodeOrZip?: string | null | undefined;
2983
3013
  }>]>>;
2984
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3014
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2985
3015
  filename: z.ZodString;
2986
3016
  originalFilename: z.ZodString;
2987
3017
  type: z.ZodString;
@@ -3095,8 +3125,7 @@ export declare const EventDocument: z.ZodObject<{
3095
3125
  addressLine3?: string | null | undefined;
3096
3126
  postcodeOrZip?: string | null | undefined;
3097
3127
  }>]>>>;
3098
- createdAtLocation: z.ZodOptional<z.ZodString>;
3099
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3128
+ createdAtLocation: z.ZodString;
3100
3129
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3101
3130
  originalActionId: z.ZodOptional<z.ZodString>;
3102
3131
  }, {
@@ -3105,8 +3134,10 @@ export declare const EventDocument: z.ZodObject<{
3105
3134
  type: "DECLARE";
3106
3135
  id: string;
3107
3136
  status: "Rejected" | "Requested" | "Accepted";
3137
+ transactionId: string;
3108
3138
  createdAt: string;
3109
3139
  createdBy: string;
3140
+ createdByRole: string;
3110
3141
  declaration: Record<string, string | number | boolean | {
3111
3142
  type: string;
3112
3143
  filename: string;
@@ -3144,7 +3175,8 @@ export declare const EventDocument: z.ZodObject<{
3144
3175
  option: string;
3145
3176
  filename: string;
3146
3177
  originalFilename: string;
3147
- }[] | undefined>;
3178
+ }[] | [string, string] | undefined>;
3179
+ createdAtLocation: string;
3148
3180
  annotation?: Record<string, string | number | boolean | {
3149
3181
  type: string;
3150
3182
  filename: string;
@@ -3182,16 +3214,16 @@ export declare const EventDocument: z.ZodObject<{
3182
3214
  option: string;
3183
3215
  filename: string;
3184
3216
  originalFilename: string;
3185
- }[] | undefined> | undefined;
3186
- createdAtLocation?: string | undefined;
3187
- updatedAtLocation?: string | undefined;
3217
+ }[] | [string, string] | undefined> | undefined;
3188
3218
  originalActionId?: string | undefined;
3189
3219
  }, {
3190
3220
  type: "DECLARE";
3191
3221
  id: string;
3192
3222
  status: "Rejected" | "Requested" | "Accepted";
3223
+ transactionId: string;
3193
3224
  createdAt: string;
3194
3225
  createdBy: string;
3226
+ createdByRole: string;
3195
3227
  declaration: Record<string, string | number | boolean | {
3196
3228
  type: string;
3197
3229
  filename: string;
@@ -3229,7 +3261,8 @@ export declare const EventDocument: z.ZodObject<{
3229
3261
  option: string;
3230
3262
  filename: string;
3231
3263
  originalFilename: string;
3232
- }[] | undefined>;
3264
+ }[] | [string, string] | undefined>;
3265
+ createdAtLocation: string;
3233
3266
  annotation?: Record<string, string | number | boolean | {
3234
3267
  type: string;
3235
3268
  filename: string;
@@ -3267,15 +3300,15 @@ export declare const EventDocument: z.ZodObject<{
3267
3300
  option: string;
3268
3301
  filename: string;
3269
3302
  originalFilename: string;
3270
- }[] | undefined> | undefined;
3271
- createdAtLocation?: string | undefined;
3272
- updatedAtLocation?: string | undefined;
3303
+ }[] | [string, string] | undefined> | undefined;
3273
3304
  originalActionId?: string | undefined;
3274
3305
  }>, z.ZodObject<z.objectUtil.extendShape<{
3275
3306
  id: z.ZodString;
3307
+ transactionId: z.ZodString;
3276
3308
  createdAt: z.ZodString;
3277
3309
  createdBy: z.ZodString;
3278
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3310
+ createdByRole: z.ZodString;
3311
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3279
3312
  filename: z.ZodString;
3280
3313
  originalFilename: z.ZodString;
3281
3314
  type: z.ZodString;
@@ -3389,7 +3422,7 @@ export declare const EventDocument: z.ZodObject<{
3389
3422
  addressLine3?: string | null | undefined;
3390
3423
  postcodeOrZip?: string | null | undefined;
3391
3424
  }>]>>;
3392
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3425
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3393
3426
  filename: z.ZodString;
3394
3427
  originalFilename: z.ZodString;
3395
3428
  type: z.ZodString;
@@ -3503,8 +3536,7 @@ export declare const EventDocument: z.ZodObject<{
3503
3536
  addressLine3?: string | null | undefined;
3504
3537
  postcodeOrZip?: string | null | undefined;
3505
3538
  }>]>>>;
3506
- createdAtLocation: z.ZodOptional<z.ZodString>;
3507
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3539
+ createdAtLocation: z.ZodString;
3508
3540
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3509
3541
  originalActionId: z.ZodOptional<z.ZodString>;
3510
3542
  }, {
@@ -3514,8 +3546,10 @@ export declare const EventDocument: z.ZodObject<{
3514
3546
  type: "ASSIGN";
3515
3547
  id: string;
3516
3548
  status: "Rejected" | "Requested" | "Accepted";
3549
+ transactionId: string;
3517
3550
  createdAt: string;
3518
3551
  createdBy: string;
3552
+ createdByRole: string;
3519
3553
  declaration: Record<string, string | number | boolean | {
3520
3554
  type: string;
3521
3555
  filename: string;
@@ -3553,7 +3587,8 @@ export declare const EventDocument: z.ZodObject<{
3553
3587
  option: string;
3554
3588
  filename: string;
3555
3589
  originalFilename: string;
3556
- }[] | undefined>;
3590
+ }[] | [string, string] | undefined>;
3591
+ createdAtLocation: string;
3557
3592
  assignedTo: string;
3558
3593
  annotation?: Record<string, string | number | boolean | {
3559
3594
  type: string;
@@ -3592,16 +3627,16 @@ export declare const EventDocument: z.ZodObject<{
3592
3627
  option: string;
3593
3628
  filename: string;
3594
3629
  originalFilename: string;
3595
- }[] | undefined> | undefined;
3596
- createdAtLocation?: string | undefined;
3597
- updatedAtLocation?: string | undefined;
3630
+ }[] | [string, string] | undefined> | undefined;
3598
3631
  originalActionId?: string | undefined;
3599
3632
  }, {
3600
3633
  type: "ASSIGN";
3601
3634
  id: string;
3602
3635
  status: "Rejected" | "Requested" | "Accepted";
3636
+ transactionId: string;
3603
3637
  createdAt: string;
3604
3638
  createdBy: string;
3639
+ createdByRole: string;
3605
3640
  declaration: Record<string, string | number | boolean | {
3606
3641
  type: string;
3607
3642
  filename: string;
@@ -3639,7 +3674,8 @@ export declare const EventDocument: z.ZodObject<{
3639
3674
  option: string;
3640
3675
  filename: string;
3641
3676
  originalFilename: string;
3642
- }[] | undefined>;
3677
+ }[] | [string, string] | undefined>;
3678
+ createdAtLocation: string;
3643
3679
  assignedTo: string;
3644
3680
  annotation?: Record<string, string | number | boolean | {
3645
3681
  type: string;
@@ -3678,15 +3714,15 @@ export declare const EventDocument: z.ZodObject<{
3678
3714
  option: string;
3679
3715
  filename: string;
3680
3716
  originalFilename: string;
3681
- }[] | undefined> | undefined;
3682
- createdAtLocation?: string | undefined;
3683
- updatedAtLocation?: string | undefined;
3717
+ }[] | [string, string] | undefined> | undefined;
3684
3718
  originalActionId?: string | undefined;
3685
3719
  }>, z.ZodObject<z.objectUtil.extendShape<{
3686
3720
  id: z.ZodString;
3721
+ transactionId: z.ZodString;
3687
3722
  createdAt: z.ZodString;
3688
3723
  createdBy: z.ZodString;
3689
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3724
+ createdByRole: z.ZodString;
3725
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3690
3726
  filename: z.ZodString;
3691
3727
  originalFilename: z.ZodString;
3692
3728
  type: z.ZodString;
@@ -3800,7 +3836,7 @@ export declare const EventDocument: z.ZodObject<{
3800
3836
  addressLine3?: string | null | undefined;
3801
3837
  postcodeOrZip?: string | null | undefined;
3802
3838
  }>]>>;
3803
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3839
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3804
3840
  filename: z.ZodString;
3805
3841
  originalFilename: z.ZodString;
3806
3842
  type: z.ZodString;
@@ -3914,8 +3950,7 @@ export declare const EventDocument: z.ZodObject<{
3914
3950
  addressLine3?: string | null | undefined;
3915
3951
  postcodeOrZip?: string | null | undefined;
3916
3952
  }>]>>>;
3917
- createdAtLocation: z.ZodOptional<z.ZodString>;
3918
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3953
+ createdAtLocation: z.ZodString;
3919
3954
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3920
3955
  originalActionId: z.ZodOptional<z.ZodString>;
3921
3956
  }, {
@@ -3924,8 +3959,10 @@ export declare const EventDocument: z.ZodObject<{
3924
3959
  type: "REQUEST_CORRECTION";
3925
3960
  id: string;
3926
3961
  status: "Rejected" | "Requested" | "Accepted";
3962
+ transactionId: string;
3927
3963
  createdAt: string;
3928
3964
  createdBy: string;
3965
+ createdByRole: string;
3929
3966
  declaration: Record<string, string | number | boolean | {
3930
3967
  type: string;
3931
3968
  filename: string;
@@ -3963,7 +4000,8 @@ export declare const EventDocument: z.ZodObject<{
3963
4000
  option: string;
3964
4001
  filename: string;
3965
4002
  originalFilename: string;
3966
- }[] | undefined>;
4003
+ }[] | [string, string] | undefined>;
4004
+ createdAtLocation: string;
3967
4005
  annotation?: Record<string, string | number | boolean | {
3968
4006
  type: string;
3969
4007
  filename: string;
@@ -4001,16 +4039,16 @@ export declare const EventDocument: z.ZodObject<{
4001
4039
  option: string;
4002
4040
  filename: string;
4003
4041
  originalFilename: string;
4004
- }[] | undefined> | undefined;
4005
- createdAtLocation?: string | undefined;
4006
- updatedAtLocation?: string | undefined;
4042
+ }[] | [string, string] | undefined> | undefined;
4007
4043
  originalActionId?: string | undefined;
4008
4044
  }, {
4009
4045
  type: "REQUEST_CORRECTION";
4010
4046
  id: string;
4011
4047
  status: "Rejected" | "Requested" | "Accepted";
4048
+ transactionId: string;
4012
4049
  createdAt: string;
4013
4050
  createdBy: string;
4051
+ createdByRole: string;
4014
4052
  declaration: Record<string, string | number | boolean | {
4015
4053
  type: string;
4016
4054
  filename: string;
@@ -4048,7 +4086,8 @@ export declare const EventDocument: z.ZodObject<{
4048
4086
  option: string;
4049
4087
  filename: string;
4050
4088
  originalFilename: string;
4051
- }[] | undefined>;
4089
+ }[] | [string, string] | undefined>;
4090
+ createdAtLocation: string;
4052
4091
  annotation?: Record<string, string | number | boolean | {
4053
4092
  type: string;
4054
4093
  filename: string;
@@ -4086,15 +4125,15 @@ export declare const EventDocument: z.ZodObject<{
4086
4125
  option: string;
4087
4126
  filename: string;
4088
4127
  originalFilename: string;
4089
- }[] | undefined> | undefined;
4090
- createdAtLocation?: string | undefined;
4091
- updatedAtLocation?: string | undefined;
4128
+ }[] | [string, string] | undefined> | undefined;
4092
4129
  originalActionId?: string | undefined;
4093
4130
  }>, z.ZodObject<z.objectUtil.extendShape<{
4094
4131
  id: z.ZodString;
4132
+ transactionId: z.ZodString;
4095
4133
  createdAt: z.ZodString;
4096
4134
  createdBy: z.ZodString;
4097
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4135
+ createdByRole: z.ZodString;
4136
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4098
4137
  filename: z.ZodString;
4099
4138
  originalFilename: z.ZodString;
4100
4139
  type: z.ZodString;
@@ -4208,7 +4247,7 @@ export declare const EventDocument: z.ZodObject<{
4208
4247
  addressLine3?: string | null | undefined;
4209
4248
  postcodeOrZip?: string | null | undefined;
4210
4249
  }>]>>;
4211
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4250
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4212
4251
  filename: z.ZodString;
4213
4252
  originalFilename: z.ZodString;
4214
4253
  type: z.ZodString;
@@ -4322,8 +4361,7 @@ export declare const EventDocument: z.ZodObject<{
4322
4361
  addressLine3?: string | null | undefined;
4323
4362
  postcodeOrZip?: string | null | undefined;
4324
4363
  }>]>>>;
4325
- createdAtLocation: z.ZodOptional<z.ZodString>;
4326
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4364
+ createdAtLocation: z.ZodString;
4327
4365
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4328
4366
  originalActionId: z.ZodOptional<z.ZodString>;
4329
4367
  }, {
@@ -4333,8 +4371,10 @@ export declare const EventDocument: z.ZodObject<{
4333
4371
  type: "APPROVE_CORRECTION";
4334
4372
  id: string;
4335
4373
  status: "Rejected" | "Requested" | "Accepted";
4374
+ transactionId: string;
4336
4375
  createdAt: string;
4337
4376
  createdBy: string;
4377
+ createdByRole: string;
4338
4378
  declaration: Record<string, string | number | boolean | {
4339
4379
  type: string;
4340
4380
  filename: string;
@@ -4372,7 +4412,8 @@ export declare const EventDocument: z.ZodObject<{
4372
4412
  option: string;
4373
4413
  filename: string;
4374
4414
  originalFilename: string;
4375
- }[] | undefined>;
4415
+ }[] | [string, string] | undefined>;
4416
+ createdAtLocation: string;
4376
4417
  requestId: string;
4377
4418
  annotation?: Record<string, string | number | boolean | {
4378
4419
  type: string;
@@ -4411,16 +4452,16 @@ export declare const EventDocument: z.ZodObject<{
4411
4452
  option: string;
4412
4453
  filename: string;
4413
4454
  originalFilename: string;
4414
- }[] | undefined> | undefined;
4415
- createdAtLocation?: string | undefined;
4416
- updatedAtLocation?: string | undefined;
4455
+ }[] | [string, string] | undefined> | undefined;
4417
4456
  originalActionId?: string | undefined;
4418
4457
  }, {
4419
4458
  type: "APPROVE_CORRECTION";
4420
4459
  id: string;
4421
4460
  status: "Rejected" | "Requested" | "Accepted";
4461
+ transactionId: string;
4422
4462
  createdAt: string;
4423
4463
  createdBy: string;
4464
+ createdByRole: string;
4424
4465
  declaration: Record<string, string | number | boolean | {
4425
4466
  type: string;
4426
4467
  filename: string;
@@ -4458,7 +4499,8 @@ export declare const EventDocument: z.ZodObject<{
4458
4499
  option: string;
4459
4500
  filename: string;
4460
4501
  originalFilename: string;
4461
- }[] | undefined>;
4502
+ }[] | [string, string] | undefined>;
4503
+ createdAtLocation: string;
4462
4504
  requestId: string;
4463
4505
  annotation?: Record<string, string | number | boolean | {
4464
4506
  type: string;
@@ -4497,15 +4539,15 @@ export declare const EventDocument: z.ZodObject<{
4497
4539
  option: string;
4498
4540
  filename: string;
4499
4541
  originalFilename: string;
4500
- }[] | undefined> | undefined;
4501
- createdAtLocation?: string | undefined;
4502
- updatedAtLocation?: string | undefined;
4542
+ }[] | [string, string] | undefined> | undefined;
4503
4543
  originalActionId?: string | undefined;
4504
4544
  }>, z.ZodObject<z.objectUtil.extendShape<{
4505
4545
  id: z.ZodString;
4546
+ transactionId: z.ZodString;
4506
4547
  createdAt: z.ZodString;
4507
4548
  createdBy: z.ZodString;
4508
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4549
+ createdByRole: z.ZodString;
4550
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4509
4551
  filename: z.ZodString;
4510
4552
  originalFilename: z.ZodString;
4511
4553
  type: z.ZodString;
@@ -4619,7 +4661,7 @@ export declare const EventDocument: z.ZodObject<{
4619
4661
  addressLine3?: string | null | undefined;
4620
4662
  postcodeOrZip?: string | null | undefined;
4621
4663
  }>]>>;
4622
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4664
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4623
4665
  filename: z.ZodString;
4624
4666
  originalFilename: z.ZodString;
4625
4667
  type: z.ZodString;
@@ -4733,8 +4775,7 @@ export declare const EventDocument: z.ZodObject<{
4733
4775
  addressLine3?: string | null | undefined;
4734
4776
  postcodeOrZip?: string | null | undefined;
4735
4777
  }>]>>>;
4736
- createdAtLocation: z.ZodOptional<z.ZodString>;
4737
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4778
+ createdAtLocation: z.ZodString;
4738
4779
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4739
4780
  originalActionId: z.ZodOptional<z.ZodString>;
4740
4781
  }, {
@@ -4744,8 +4785,10 @@ export declare const EventDocument: z.ZodObject<{
4744
4785
  type: "REJECT_CORRECTION";
4745
4786
  id: string;
4746
4787
  status: "Rejected" | "Requested" | "Accepted";
4788
+ transactionId: string;
4747
4789
  createdAt: string;
4748
4790
  createdBy: string;
4791
+ createdByRole: string;
4749
4792
  declaration: Record<string, string | number | boolean | {
4750
4793
  type: string;
4751
4794
  filename: string;
@@ -4783,7 +4826,8 @@ export declare const EventDocument: z.ZodObject<{
4783
4826
  option: string;
4784
4827
  filename: string;
4785
4828
  originalFilename: string;
4786
- }[] | undefined>;
4829
+ }[] | [string, string] | undefined>;
4830
+ createdAtLocation: string;
4787
4831
  requestId: string;
4788
4832
  annotation?: Record<string, string | number | boolean | {
4789
4833
  type: string;
@@ -4822,16 +4866,16 @@ export declare const EventDocument: z.ZodObject<{
4822
4866
  option: string;
4823
4867
  filename: string;
4824
4868
  originalFilename: string;
4825
- }[] | undefined> | undefined;
4826
- createdAtLocation?: string | undefined;
4827
- updatedAtLocation?: string | undefined;
4869
+ }[] | [string, string] | undefined> | undefined;
4828
4870
  originalActionId?: string | undefined;
4829
4871
  }, {
4830
4872
  type: "REJECT_CORRECTION";
4831
4873
  id: string;
4832
4874
  status: "Rejected" | "Requested" | "Accepted";
4875
+ transactionId: string;
4833
4876
  createdAt: string;
4834
4877
  createdBy: string;
4878
+ createdByRole: string;
4835
4879
  declaration: Record<string, string | number | boolean | {
4836
4880
  type: string;
4837
4881
  filename: string;
@@ -4869,7 +4913,8 @@ export declare const EventDocument: z.ZodObject<{
4869
4913
  option: string;
4870
4914
  filename: string;
4871
4915
  originalFilename: string;
4872
- }[] | undefined>;
4916
+ }[] | [string, string] | undefined>;
4917
+ createdAtLocation: string;
4873
4918
  requestId: string;
4874
4919
  annotation?: Record<string, string | number | boolean | {
4875
4920
  type: string;
@@ -4908,15 +4953,15 @@ export declare const EventDocument: z.ZodObject<{
4908
4953
  option: string;
4909
4954
  filename: string;
4910
4955
  originalFilename: string;
4911
- }[] | undefined> | undefined;
4912
- createdAtLocation?: string | undefined;
4913
- updatedAtLocation?: string | undefined;
4956
+ }[] | [string, string] | undefined> | undefined;
4914
4957
  originalActionId?: string | undefined;
4915
4958
  }>, z.ZodObject<z.objectUtil.extendShape<{
4916
4959
  id: z.ZodString;
4960
+ transactionId: z.ZodString;
4917
4961
  createdAt: z.ZodString;
4918
4962
  createdBy: z.ZodString;
4919
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4963
+ createdByRole: z.ZodString;
4964
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4920
4965
  filename: z.ZodString;
4921
4966
  originalFilename: z.ZodString;
4922
4967
  type: z.ZodString;
@@ -5030,7 +5075,7 @@ export declare const EventDocument: z.ZodObject<{
5030
5075
  addressLine3?: string | null | undefined;
5031
5076
  postcodeOrZip?: string | null | undefined;
5032
5077
  }>]>>;
5033
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5078
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5034
5079
  filename: z.ZodString;
5035
5080
  originalFilename: z.ZodString;
5036
5081
  type: z.ZodString;
@@ -5144,19 +5189,20 @@ export declare const EventDocument: z.ZodObject<{
5144
5189
  addressLine3?: string | null | undefined;
5145
5190
  postcodeOrZip?: string | null | undefined;
5146
5191
  }>]>>>;
5147
- createdAtLocation: z.ZodOptional<z.ZodString>;
5148
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5192
+ createdAtLocation: z.ZodString;
5149
5193
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5150
5194
  originalActionId: z.ZodOptional<z.ZodString>;
5151
5195
  }, {
5152
5196
  type: z.ZodLiteral<"UNASSIGN">;
5153
- assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
5197
+ assignedTo: z.ZodLiteral<null>;
5154
5198
  }>, "strip", z.ZodTypeAny, {
5155
5199
  type: "UNASSIGN";
5156
5200
  id: string;
5157
5201
  status: "Rejected" | "Requested" | "Accepted";
5202
+ transactionId: string;
5158
5203
  createdAt: string;
5159
5204
  createdBy: string;
5205
+ createdByRole: string;
5160
5206
  declaration: Record<string, string | number | boolean | {
5161
5207
  type: string;
5162
5208
  filename: string;
@@ -5194,7 +5240,8 @@ export declare const EventDocument: z.ZodObject<{
5194
5240
  option: string;
5195
5241
  filename: string;
5196
5242
  originalFilename: string;
5197
- }[] | undefined>;
5243
+ }[] | [string, string] | undefined>;
5244
+ createdAtLocation: string;
5198
5245
  assignedTo: null;
5199
5246
  annotation?: Record<string, string | number | boolean | {
5200
5247
  type: string;
@@ -5233,16 +5280,16 @@ export declare const EventDocument: z.ZodObject<{
5233
5280
  option: string;
5234
5281
  filename: string;
5235
5282
  originalFilename: string;
5236
- }[] | undefined> | undefined;
5237
- createdAtLocation?: string | undefined;
5238
- updatedAtLocation?: string | undefined;
5283
+ }[] | [string, string] | undefined> | undefined;
5239
5284
  originalActionId?: string | undefined;
5240
5285
  }, {
5241
5286
  type: "UNASSIGN";
5242
5287
  id: string;
5243
5288
  status: "Rejected" | "Requested" | "Accepted";
5289
+ transactionId: string;
5244
5290
  createdAt: string;
5245
5291
  createdBy: string;
5292
+ createdByRole: string;
5246
5293
  declaration: Record<string, string | number | boolean | {
5247
5294
  type: string;
5248
5295
  filename: string;
@@ -5280,7 +5327,9 @@ export declare const EventDocument: z.ZodObject<{
5280
5327
  option: string;
5281
5328
  filename: string;
5282
5329
  originalFilename: string;
5283
- }[] | undefined>;
5330
+ }[] | [string, string] | undefined>;
5331
+ createdAtLocation: string;
5332
+ assignedTo: null;
5284
5333
  annotation?: Record<string, string | number | boolean | {
5285
5334
  type: string;
5286
5335
  filename: string;
@@ -5318,16 +5367,15 @@ export declare const EventDocument: z.ZodObject<{
5318
5367
  option: string;
5319
5368
  filename: string;
5320
5369
  originalFilename: string;
5321
- }[] | undefined> | undefined;
5322
- createdAtLocation?: string | undefined;
5323
- updatedAtLocation?: string | undefined;
5370
+ }[] | [string, string] | undefined> | undefined;
5324
5371
  originalActionId?: string | undefined;
5325
- assignedTo?: null | undefined;
5326
5372
  }>, z.ZodObject<z.objectUtil.extendShape<{
5327
5373
  id: z.ZodString;
5374
+ transactionId: z.ZodString;
5328
5375
  createdAt: z.ZodString;
5329
5376
  createdBy: z.ZodString;
5330
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5377
+ createdByRole: z.ZodString;
5378
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5331
5379
  filename: z.ZodString;
5332
5380
  originalFilename: z.ZodString;
5333
5381
  type: z.ZodString;
@@ -5441,7 +5489,7 @@ export declare const EventDocument: z.ZodObject<{
5441
5489
  addressLine3?: string | null | undefined;
5442
5490
  postcodeOrZip?: string | null | undefined;
5443
5491
  }>]>>;
5444
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5492
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5445
5493
  filename: z.ZodString;
5446
5494
  originalFilename: z.ZodString;
5447
5495
  type: z.ZodString;
@@ -5555,8 +5603,7 @@ export declare const EventDocument: z.ZodObject<{
5555
5603
  addressLine3?: string | null | undefined;
5556
5604
  postcodeOrZip?: string | null | undefined;
5557
5605
  }>]>>>;
5558
- createdAtLocation: z.ZodOptional<z.ZodString>;
5559
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5606
+ createdAtLocation: z.ZodString;
5560
5607
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5561
5608
  originalActionId: z.ZodOptional<z.ZodString>;
5562
5609
  }, {
@@ -5565,8 +5612,10 @@ export declare const EventDocument: z.ZodObject<{
5565
5612
  type: "PRINT_CERTIFICATE";
5566
5613
  id: string;
5567
5614
  status: "Rejected" | "Requested" | "Accepted";
5615
+ transactionId: string;
5568
5616
  createdAt: string;
5569
5617
  createdBy: string;
5618
+ createdByRole: string;
5570
5619
  declaration: Record<string, string | number | boolean | {
5571
5620
  type: string;
5572
5621
  filename: string;
@@ -5604,7 +5653,8 @@ export declare const EventDocument: z.ZodObject<{
5604
5653
  option: string;
5605
5654
  filename: string;
5606
5655
  originalFilename: string;
5607
- }[] | undefined>;
5656
+ }[] | [string, string] | undefined>;
5657
+ createdAtLocation: string;
5608
5658
  annotation?: Record<string, string | number | boolean | {
5609
5659
  type: string;
5610
5660
  filename: string;
@@ -5642,16 +5692,16 @@ export declare const EventDocument: z.ZodObject<{
5642
5692
  option: string;
5643
5693
  filename: string;
5644
5694
  originalFilename: string;
5645
- }[] | undefined> | undefined;
5646
- createdAtLocation?: string | undefined;
5647
- updatedAtLocation?: string | undefined;
5695
+ }[] | [string, string] | undefined> | undefined;
5648
5696
  originalActionId?: string | undefined;
5649
5697
  }, {
5650
5698
  type: "PRINT_CERTIFICATE";
5651
5699
  id: string;
5652
5700
  status: "Rejected" | "Requested" | "Accepted";
5701
+ transactionId: string;
5653
5702
  createdAt: string;
5654
5703
  createdBy: string;
5704
+ createdByRole: string;
5655
5705
  declaration: Record<string, string | number | boolean | {
5656
5706
  type: string;
5657
5707
  filename: string;
@@ -5689,7 +5739,8 @@ export declare const EventDocument: z.ZodObject<{
5689
5739
  option: string;
5690
5740
  filename: string;
5691
5741
  originalFilename: string;
5692
- }[] | undefined>;
5742
+ }[] | [string, string] | undefined>;
5743
+ createdAtLocation: string;
5693
5744
  annotation?: Record<string, string | number | boolean | {
5694
5745
  type: string;
5695
5746
  filename: string;
@@ -5727,15 +5778,15 @@ export declare const EventDocument: z.ZodObject<{
5727
5778
  option: string;
5728
5779
  filename: string;
5729
5780
  originalFilename: string;
5730
- }[] | undefined> | undefined;
5731
- createdAtLocation?: string | undefined;
5732
- updatedAtLocation?: string | undefined;
5781
+ }[] | [string, string] | undefined> | undefined;
5733
5782
  originalActionId?: string | undefined;
5734
5783
  }>, z.ZodObject<z.objectUtil.extendShape<{
5735
5784
  id: z.ZodString;
5785
+ transactionId: z.ZodString;
5736
5786
  createdAt: z.ZodString;
5737
5787
  createdBy: z.ZodString;
5738
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5788
+ createdByRole: z.ZodString;
5789
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5739
5790
  filename: z.ZodString;
5740
5791
  originalFilename: z.ZodString;
5741
5792
  type: z.ZodString;
@@ -5849,7 +5900,7 @@ export declare const EventDocument: z.ZodObject<{
5849
5900
  addressLine3?: string | null | undefined;
5850
5901
  postcodeOrZip?: string | null | undefined;
5851
5902
  }>]>>;
5852
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5903
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5853
5904
  filename: z.ZodString;
5854
5905
  originalFilename: z.ZodString;
5855
5906
  type: z.ZodString;
@@ -5963,8 +6014,7 @@ export declare const EventDocument: z.ZodObject<{
5963
6014
  addressLine3?: string | null | undefined;
5964
6015
  postcodeOrZip?: string | null | undefined;
5965
6016
  }>]>>>;
5966
- createdAtLocation: z.ZodOptional<z.ZodString>;
5967
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6017
+ createdAtLocation: z.ZodString;
5968
6018
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5969
6019
  originalActionId: z.ZodOptional<z.ZodString>;
5970
6020
  }, {
@@ -5973,8 +6023,10 @@ export declare const EventDocument: z.ZodObject<{
5973
6023
  type: "READ";
5974
6024
  id: string;
5975
6025
  status: "Rejected" | "Requested" | "Accepted";
6026
+ transactionId: string;
5976
6027
  createdAt: string;
5977
6028
  createdBy: string;
6029
+ createdByRole: string;
5978
6030
  declaration: Record<string, string | number | boolean | {
5979
6031
  type: string;
5980
6032
  filename: string;
@@ -6012,7 +6064,8 @@ export declare const EventDocument: z.ZodObject<{
6012
6064
  option: string;
6013
6065
  filename: string;
6014
6066
  originalFilename: string;
6015
- }[] | undefined>;
6067
+ }[] | [string, string] | undefined>;
6068
+ createdAtLocation: string;
6016
6069
  annotation?: Record<string, string | number | boolean | {
6017
6070
  type: string;
6018
6071
  filename: string;
@@ -6050,16 +6103,16 @@ export declare const EventDocument: z.ZodObject<{
6050
6103
  option: string;
6051
6104
  filename: string;
6052
6105
  originalFilename: string;
6053
- }[] | undefined> | undefined;
6054
- createdAtLocation?: string | undefined;
6055
- updatedAtLocation?: string | undefined;
6106
+ }[] | [string, string] | undefined> | undefined;
6056
6107
  originalActionId?: string | undefined;
6057
6108
  }, {
6058
6109
  type: "READ";
6059
6110
  id: string;
6060
6111
  status: "Rejected" | "Requested" | "Accepted";
6112
+ transactionId: string;
6061
6113
  createdAt: string;
6062
6114
  createdBy: string;
6115
+ createdByRole: string;
6063
6116
  declaration: Record<string, string | number | boolean | {
6064
6117
  type: string;
6065
6118
  filename: string;
@@ -6097,7 +6150,8 @@ export declare const EventDocument: z.ZodObject<{
6097
6150
  option: string;
6098
6151
  filename: string;
6099
6152
  originalFilename: string;
6100
- }[] | undefined>;
6153
+ }[] | [string, string] | undefined>;
6154
+ createdAtLocation: string;
6101
6155
  annotation?: Record<string, string | number | boolean | {
6102
6156
  type: string;
6103
6157
  filename: string;
@@ -6135,15 +6189,15 @@ export declare const EventDocument: z.ZodObject<{
6135
6189
  option: string;
6136
6190
  filename: string;
6137
6191
  originalFilename: string;
6138
- }[] | undefined> | undefined;
6139
- createdAtLocation?: string | undefined;
6140
- updatedAtLocation?: string | undefined;
6192
+ }[] | [string, string] | undefined> | undefined;
6141
6193
  originalActionId?: string | undefined;
6142
6194
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6143
6195
  id: z.ZodString;
6196
+ transactionId: z.ZodString;
6144
6197
  createdAt: z.ZodString;
6145
6198
  createdBy: z.ZodString;
6146
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6199
+ createdByRole: z.ZodString;
6200
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6147
6201
  filename: z.ZodString;
6148
6202
  originalFilename: z.ZodString;
6149
6203
  type: z.ZodString;
@@ -6257,7 +6311,7 @@ export declare const EventDocument: z.ZodObject<{
6257
6311
  addressLine3?: string | null | undefined;
6258
6312
  postcodeOrZip?: string | null | undefined;
6259
6313
  }>]>>;
6260
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6314
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6261
6315
  filename: z.ZodString;
6262
6316
  originalFilename: z.ZodString;
6263
6317
  type: z.ZodString;
@@ -6371,26 +6425,31 @@ export declare const EventDocument: z.ZodObject<{
6371
6425
  addressLine3?: string | null | undefined;
6372
6426
  postcodeOrZip?: string | null | undefined;
6373
6427
  }>]>>>;
6374
- createdAtLocation: z.ZodOptional<z.ZodString>;
6375
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6428
+ createdAtLocation: z.ZodString;
6376
6429
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6377
6430
  originalActionId: z.ZodOptional<z.ZodString>;
6378
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6431
+ }, "declaration" | "annotation">, {
6379
6432
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6380
6433
  status: z.ZodLiteral<"Rejected">;
6381
6434
  }>, "strip", z.ZodTypeAny, {
6382
6435
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6383
6436
  id: string;
6384
6437
  status: "Rejected";
6438
+ transactionId: string;
6385
6439
  createdAt: string;
6386
- updatedAtLocation?: string | undefined;
6440
+ createdBy: string;
6441
+ createdByRole: string;
6442
+ createdAtLocation: string;
6387
6443
  originalActionId?: string | undefined;
6388
6444
  }, {
6389
6445
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6390
6446
  id: string;
6391
6447
  status: "Rejected";
6448
+ transactionId: string;
6392
6449
  createdAt: string;
6393
- updatedAtLocation?: string | undefined;
6450
+ createdBy: string;
6451
+ createdByRole: string;
6452
+ createdAtLocation: string;
6394
6453
  originalActionId?: string | undefined;
6395
6454
  }>]>, "many">;
6396
6455
  trackingId: z.ZodString;
@@ -6403,8 +6462,10 @@ export declare const EventDocument: z.ZodObject<{
6403
6462
  type: "ASSIGN";
6404
6463
  id: string;
6405
6464
  status: "Rejected" | "Requested" | "Accepted";
6465
+ transactionId: string;
6406
6466
  createdAt: string;
6407
6467
  createdBy: string;
6468
+ createdByRole: string;
6408
6469
  declaration: Record<string, string | number | boolean | {
6409
6470
  type: string;
6410
6471
  filename: string;
@@ -6442,7 +6503,8 @@ export declare const EventDocument: z.ZodObject<{
6442
6503
  option: string;
6443
6504
  filename: string;
6444
6505
  originalFilename: string;
6445
- }[] | undefined>;
6506
+ }[] | [string, string] | undefined>;
6507
+ createdAtLocation: string;
6446
6508
  assignedTo: string;
6447
6509
  annotation?: Record<string, string | number | boolean | {
6448
6510
  type: string;
@@ -6481,16 +6543,16 @@ export declare const EventDocument: z.ZodObject<{
6481
6543
  option: string;
6482
6544
  filename: string;
6483
6545
  originalFilename: string;
6484
- }[] | undefined> | undefined;
6485
- createdAtLocation?: string | undefined;
6486
- updatedAtLocation?: string | undefined;
6546
+ }[] | [string, string] | undefined> | undefined;
6487
6547
  originalActionId?: string | undefined;
6488
6548
  } | {
6489
6549
  type: "UNASSIGN";
6490
6550
  id: string;
6491
6551
  status: "Rejected" | "Requested" | "Accepted";
6552
+ transactionId: string;
6492
6553
  createdAt: string;
6493
6554
  createdBy: string;
6555
+ createdByRole: string;
6494
6556
  declaration: Record<string, string | number | boolean | {
6495
6557
  type: string;
6496
6558
  filename: string;
@@ -6528,7 +6590,8 @@ export declare const EventDocument: z.ZodObject<{
6528
6590
  option: string;
6529
6591
  filename: string;
6530
6592
  originalFilename: string;
6531
- }[] | undefined>;
6593
+ }[] | [string, string] | undefined>;
6594
+ createdAtLocation: string;
6532
6595
  assignedTo: null;
6533
6596
  annotation?: Record<string, string | number | boolean | {
6534
6597
  type: string;
@@ -6567,16 +6630,16 @@ export declare const EventDocument: z.ZodObject<{
6567
6630
  option: string;
6568
6631
  filename: string;
6569
6632
  originalFilename: string;
6570
- }[] | undefined> | undefined;
6571
- createdAtLocation?: string | undefined;
6572
- updatedAtLocation?: string | undefined;
6633
+ }[] | [string, string] | undefined> | undefined;
6573
6634
  originalActionId?: string | undefined;
6574
6635
  } | {
6575
6636
  type: "REGISTER";
6576
6637
  id: string;
6577
6638
  status: "Rejected" | "Requested" | "Accepted";
6639
+ transactionId: string;
6578
6640
  createdAt: string;
6579
6641
  createdBy: string;
6642
+ createdByRole: string;
6580
6643
  declaration: Record<string, string | number | boolean | {
6581
6644
  type: string;
6582
6645
  filename: string;
@@ -6614,7 +6677,8 @@ export declare const EventDocument: z.ZodObject<{
6614
6677
  option: string;
6615
6678
  filename: string;
6616
6679
  originalFilename: string;
6617
- }[] | undefined>;
6680
+ }[] | [string, string] | undefined>;
6681
+ createdAtLocation: string;
6618
6682
  annotation?: Record<string, string | number | boolean | {
6619
6683
  type: string;
6620
6684
  filename: string;
@@ -6652,17 +6716,17 @@ export declare const EventDocument: z.ZodObject<{
6652
6716
  option: string;
6653
6717
  filename: string;
6654
6718
  originalFilename: string;
6655
- }[] | undefined> | undefined;
6656
- createdAtLocation?: string | undefined;
6657
- updatedAtLocation?: string | undefined;
6719
+ }[] | [string, string] | undefined> | undefined;
6658
6720
  originalActionId?: string | undefined;
6659
6721
  registrationNumber?: string | undefined;
6660
6722
  } | {
6661
6723
  type: "DECLARE";
6662
6724
  id: string;
6663
6725
  status: "Rejected" | "Requested" | "Accepted";
6726
+ transactionId: string;
6664
6727
  createdAt: string;
6665
6728
  createdBy: string;
6729
+ createdByRole: string;
6666
6730
  declaration: Record<string, string | number | boolean | {
6667
6731
  type: string;
6668
6732
  filename: string;
@@ -6700,7 +6764,8 @@ export declare const EventDocument: z.ZodObject<{
6700
6764
  option: string;
6701
6765
  filename: string;
6702
6766
  originalFilename: string;
6703
- }[] | undefined>;
6767
+ }[] | [string, string] | undefined>;
6768
+ createdAtLocation: string;
6704
6769
  annotation?: Record<string, string | number | boolean | {
6705
6770
  type: string;
6706
6771
  filename: string;
@@ -6738,16 +6803,16 @@ export declare const EventDocument: z.ZodObject<{
6738
6803
  option: string;
6739
6804
  filename: string;
6740
6805
  originalFilename: string;
6741
- }[] | undefined> | undefined;
6742
- createdAtLocation?: string | undefined;
6743
- updatedAtLocation?: string | undefined;
6806
+ }[] | [string, string] | undefined> | undefined;
6744
6807
  originalActionId?: string | undefined;
6745
6808
  } | {
6746
6809
  type: "VALIDATE";
6747
6810
  id: string;
6748
6811
  status: "Rejected" | "Requested" | "Accepted";
6812
+ transactionId: string;
6749
6813
  createdAt: string;
6750
6814
  createdBy: string;
6815
+ createdByRole: string;
6751
6816
  declaration: Record<string, string | number | boolean | {
6752
6817
  type: string;
6753
6818
  filename: string;
@@ -6785,7 +6850,8 @@ export declare const EventDocument: z.ZodObject<{
6785
6850
  option: string;
6786
6851
  filename: string;
6787
6852
  originalFilename: string;
6788
- }[] | undefined>;
6853
+ }[] | [string, string] | undefined>;
6854
+ createdAtLocation: string;
6789
6855
  annotation?: Record<string, string | number | boolean | {
6790
6856
  type: string;
6791
6857
  filename: string;
@@ -6823,16 +6889,16 @@ export declare const EventDocument: z.ZodObject<{
6823
6889
  option: string;
6824
6890
  filename: string;
6825
6891
  originalFilename: string;
6826
- }[] | undefined> | undefined;
6827
- createdAtLocation?: string | undefined;
6828
- updatedAtLocation?: string | undefined;
6892
+ }[] | [string, string] | undefined> | undefined;
6829
6893
  originalActionId?: string | undefined;
6830
6894
  } | {
6831
6895
  type: "REJECT";
6832
6896
  id: string;
6833
6897
  status: "Rejected" | "Requested" | "Accepted";
6898
+ transactionId: string;
6834
6899
  createdAt: string;
6835
6900
  createdBy: string;
6901
+ createdByRole: string;
6836
6902
  declaration: Record<string, string | number | boolean | {
6837
6903
  type: string;
6838
6904
  filename: string;
@@ -6870,7 +6936,8 @@ export declare const EventDocument: z.ZodObject<{
6870
6936
  option: string;
6871
6937
  filename: string;
6872
6938
  originalFilename: string;
6873
- }[] | undefined>;
6939
+ }[] | [string, string] | undefined>;
6940
+ createdAtLocation: string;
6874
6941
  annotation?: Record<string, string | number | boolean | {
6875
6942
  type: string;
6876
6943
  filename: string;
@@ -6908,16 +6975,16 @@ export declare const EventDocument: z.ZodObject<{
6908
6975
  option: string;
6909
6976
  filename: string;
6910
6977
  originalFilename: string;
6911
- }[] | undefined> | undefined;
6912
- createdAtLocation?: string | undefined;
6913
- updatedAtLocation?: string | undefined;
6978
+ }[] | [string, string] | undefined> | undefined;
6914
6979
  originalActionId?: string | undefined;
6915
6980
  } | {
6916
6981
  type: "MARKED_AS_DUPLICATE";
6917
6982
  id: string;
6918
6983
  status: "Rejected" | "Requested" | "Accepted";
6984
+ transactionId: string;
6919
6985
  createdAt: string;
6920
6986
  createdBy: string;
6987
+ createdByRole: string;
6921
6988
  declaration: Record<string, string | number | boolean | {
6922
6989
  type: string;
6923
6990
  filename: string;
@@ -6955,7 +7022,8 @@ export declare const EventDocument: z.ZodObject<{
6955
7022
  option: string;
6956
7023
  filename: string;
6957
7024
  originalFilename: string;
6958
- }[] | undefined>;
7025
+ }[] | [string, string] | undefined>;
7026
+ createdAtLocation: string;
6959
7027
  annotation?: Record<string, string | number | boolean | {
6960
7028
  type: string;
6961
7029
  filename: string;
@@ -6993,16 +7061,16 @@ export declare const EventDocument: z.ZodObject<{
6993
7061
  option: string;
6994
7062
  filename: string;
6995
7063
  originalFilename: string;
6996
- }[] | undefined> | undefined;
6997
- createdAtLocation?: string | undefined;
6998
- updatedAtLocation?: string | undefined;
7064
+ }[] | [string, string] | undefined> | undefined;
6999
7065
  originalActionId?: string | undefined;
7000
7066
  } | {
7001
7067
  type: "ARCHIVE";
7002
7068
  id: string;
7003
7069
  status: "Rejected" | "Requested" | "Accepted";
7070
+ transactionId: string;
7004
7071
  createdAt: string;
7005
7072
  createdBy: string;
7073
+ createdByRole: string;
7006
7074
  declaration: Record<string, string | number | boolean | {
7007
7075
  type: string;
7008
7076
  filename: string;
@@ -7040,7 +7108,8 @@ export declare const EventDocument: z.ZodObject<{
7040
7108
  option: string;
7041
7109
  filename: string;
7042
7110
  originalFilename: string;
7043
- }[] | undefined>;
7111
+ }[] | [string, string] | undefined>;
7112
+ createdAtLocation: string;
7044
7113
  annotation?: Record<string, string | number | boolean | {
7045
7114
  type: string;
7046
7115
  filename: string;
@@ -7078,16 +7147,16 @@ export declare const EventDocument: z.ZodObject<{
7078
7147
  option: string;
7079
7148
  filename: string;
7080
7149
  originalFilename: string;
7081
- }[] | undefined> | undefined;
7082
- createdAtLocation?: string | undefined;
7083
- updatedAtLocation?: string | undefined;
7150
+ }[] | [string, string] | undefined> | undefined;
7084
7151
  originalActionId?: string | undefined;
7085
7152
  } | {
7086
7153
  type: "CREATE";
7087
7154
  id: string;
7088
7155
  status: "Rejected" | "Requested" | "Accepted";
7156
+ transactionId: string;
7089
7157
  createdAt: string;
7090
7158
  createdBy: string;
7159
+ createdByRole: string;
7091
7160
  declaration: Record<string, string | number | boolean | {
7092
7161
  type: string;
7093
7162
  filename: string;
@@ -7125,7 +7194,8 @@ export declare const EventDocument: z.ZodObject<{
7125
7194
  option: string;
7126
7195
  filename: string;
7127
7196
  originalFilename: string;
7128
- }[] | undefined>;
7197
+ }[] | [string, string] | undefined>;
7198
+ createdAtLocation: string;
7129
7199
  annotation?: Record<string, string | number | boolean | {
7130
7200
  type: string;
7131
7201
  filename: string;
@@ -7163,16 +7233,16 @@ export declare const EventDocument: z.ZodObject<{
7163
7233
  option: string;
7164
7234
  filename: string;
7165
7235
  originalFilename: string;
7166
- }[] | undefined> | undefined;
7167
- createdAtLocation?: string | undefined;
7168
- updatedAtLocation?: string | undefined;
7236
+ }[] | [string, string] | undefined> | undefined;
7169
7237
  originalActionId?: string | undefined;
7170
7238
  } | {
7171
7239
  type: "NOTIFY";
7172
7240
  id: string;
7173
7241
  status: "Rejected" | "Requested" | "Accepted";
7242
+ transactionId: string;
7174
7243
  createdAt: string;
7175
7244
  createdBy: string;
7245
+ createdByRole: string;
7176
7246
  declaration: Record<string, string | number | boolean | {
7177
7247
  type: string;
7178
7248
  filename: string;
@@ -7210,7 +7280,8 @@ export declare const EventDocument: z.ZodObject<{
7210
7280
  option: string;
7211
7281
  filename: string;
7212
7282
  originalFilename: string;
7213
- }[] | undefined>;
7283
+ }[] | [string, string] | undefined>;
7284
+ createdAtLocation: string;
7214
7285
  annotation?: Record<string, string | number | boolean | {
7215
7286
  type: string;
7216
7287
  filename: string;
@@ -7248,16 +7319,16 @@ export declare const EventDocument: z.ZodObject<{
7248
7319
  option: string;
7249
7320
  filename: string;
7250
7321
  originalFilename: string;
7251
- }[] | undefined> | undefined;
7252
- createdAtLocation?: string | undefined;
7253
- updatedAtLocation?: string | undefined;
7322
+ }[] | [string, string] | undefined> | undefined;
7254
7323
  originalActionId?: string | undefined;
7255
7324
  } | {
7256
7325
  type: "PRINT_CERTIFICATE";
7257
7326
  id: string;
7258
7327
  status: "Rejected" | "Requested" | "Accepted";
7328
+ transactionId: string;
7259
7329
  createdAt: string;
7260
7330
  createdBy: string;
7331
+ createdByRole: string;
7261
7332
  declaration: Record<string, string | number | boolean | {
7262
7333
  type: string;
7263
7334
  filename: string;
@@ -7295,7 +7366,8 @@ export declare const EventDocument: z.ZodObject<{
7295
7366
  option: string;
7296
7367
  filename: string;
7297
7368
  originalFilename: string;
7298
- }[] | undefined>;
7369
+ }[] | [string, string] | undefined>;
7370
+ createdAtLocation: string;
7299
7371
  annotation?: Record<string, string | number | boolean | {
7300
7372
  type: string;
7301
7373
  filename: string;
@@ -7333,16 +7405,16 @@ export declare const EventDocument: z.ZodObject<{
7333
7405
  option: string;
7334
7406
  filename: string;
7335
7407
  originalFilename: string;
7336
- }[] | undefined> | undefined;
7337
- createdAtLocation?: string | undefined;
7338
- updatedAtLocation?: string | undefined;
7408
+ }[] | [string, string] | undefined> | undefined;
7339
7409
  originalActionId?: string | undefined;
7340
7410
  } | {
7341
7411
  type: "REQUEST_CORRECTION";
7342
7412
  id: string;
7343
7413
  status: "Rejected" | "Requested" | "Accepted";
7414
+ transactionId: string;
7344
7415
  createdAt: string;
7345
7416
  createdBy: string;
7417
+ createdByRole: string;
7346
7418
  declaration: Record<string, string | number | boolean | {
7347
7419
  type: string;
7348
7420
  filename: string;
@@ -7380,7 +7452,8 @@ export declare const EventDocument: z.ZodObject<{
7380
7452
  option: string;
7381
7453
  filename: string;
7382
7454
  originalFilename: string;
7383
- }[] | undefined>;
7455
+ }[] | [string, string] | undefined>;
7456
+ createdAtLocation: string;
7384
7457
  annotation?: Record<string, string | number | boolean | {
7385
7458
  type: string;
7386
7459
  filename: string;
@@ -7418,16 +7491,16 @@ export declare const EventDocument: z.ZodObject<{
7418
7491
  option: string;
7419
7492
  filename: string;
7420
7493
  originalFilename: string;
7421
- }[] | undefined> | undefined;
7422
- createdAtLocation?: string | undefined;
7423
- updatedAtLocation?: string | undefined;
7494
+ }[] | [string, string] | undefined> | undefined;
7424
7495
  originalActionId?: string | undefined;
7425
7496
  } | {
7426
7497
  type: "APPROVE_CORRECTION";
7427
7498
  id: string;
7428
7499
  status: "Rejected" | "Requested" | "Accepted";
7500
+ transactionId: string;
7429
7501
  createdAt: string;
7430
7502
  createdBy: string;
7503
+ createdByRole: string;
7431
7504
  declaration: Record<string, string | number | boolean | {
7432
7505
  type: string;
7433
7506
  filename: string;
@@ -7465,7 +7538,8 @@ export declare const EventDocument: z.ZodObject<{
7465
7538
  option: string;
7466
7539
  filename: string;
7467
7540
  originalFilename: string;
7468
- }[] | undefined>;
7541
+ }[] | [string, string] | undefined>;
7542
+ createdAtLocation: string;
7469
7543
  requestId: string;
7470
7544
  annotation?: Record<string, string | number | boolean | {
7471
7545
  type: string;
@@ -7504,16 +7578,16 @@ export declare const EventDocument: z.ZodObject<{
7504
7578
  option: string;
7505
7579
  filename: string;
7506
7580
  originalFilename: string;
7507
- }[] | undefined> | undefined;
7508
- createdAtLocation?: string | undefined;
7509
- updatedAtLocation?: string | undefined;
7581
+ }[] | [string, string] | undefined> | undefined;
7510
7582
  originalActionId?: string | undefined;
7511
7583
  } | {
7512
7584
  type: "REJECT_CORRECTION";
7513
7585
  id: string;
7514
7586
  status: "Rejected" | "Requested" | "Accepted";
7587
+ transactionId: string;
7515
7588
  createdAt: string;
7516
7589
  createdBy: string;
7590
+ createdByRole: string;
7517
7591
  declaration: Record<string, string | number | boolean | {
7518
7592
  type: string;
7519
7593
  filename: string;
@@ -7551,7 +7625,8 @@ export declare const EventDocument: z.ZodObject<{
7551
7625
  option: string;
7552
7626
  filename: string;
7553
7627
  originalFilename: string;
7554
- }[] | undefined>;
7628
+ }[] | [string, string] | undefined>;
7629
+ createdAtLocation: string;
7555
7630
  requestId: string;
7556
7631
  annotation?: Record<string, string | number | boolean | {
7557
7632
  type: string;
@@ -7590,16 +7665,16 @@ export declare const EventDocument: z.ZodObject<{
7590
7665
  option: string;
7591
7666
  filename: string;
7592
7667
  originalFilename: string;
7593
- }[] | undefined> | undefined;
7594
- createdAtLocation?: string | undefined;
7595
- updatedAtLocation?: string | undefined;
7668
+ }[] | [string, string] | undefined> | undefined;
7596
7669
  originalActionId?: string | undefined;
7597
7670
  } | {
7598
7671
  type: "READ";
7599
7672
  id: string;
7600
7673
  status: "Rejected" | "Requested" | "Accepted";
7674
+ transactionId: string;
7601
7675
  createdAt: string;
7602
7676
  createdBy: string;
7677
+ createdByRole: string;
7603
7678
  declaration: Record<string, string | number | boolean | {
7604
7679
  type: string;
7605
7680
  filename: string;
@@ -7637,7 +7712,8 @@ export declare const EventDocument: z.ZodObject<{
7637
7712
  option: string;
7638
7713
  filename: string;
7639
7714
  originalFilename: string;
7640
- }[] | undefined>;
7715
+ }[] | [string, string] | undefined>;
7716
+ createdAtLocation: string;
7641
7717
  annotation?: Record<string, string | number | boolean | {
7642
7718
  type: string;
7643
7719
  filename: string;
@@ -7675,19 +7751,23 @@ export declare const EventDocument: z.ZodObject<{
7675
7751
  option: string;
7676
7752
  filename: string;
7677
7753
  originalFilename: string;
7678
- }[] | undefined> | undefined;
7679
- createdAtLocation?: string | undefined;
7680
- updatedAtLocation?: string | undefined;
7754
+ }[] | [string, string] | undefined> | undefined;
7681
7755
  originalActionId?: string | undefined;
7682
7756
  } | {
7683
7757
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7684
7758
  id: string;
7685
7759
  status: "Rejected";
7760
+ transactionId: string;
7686
7761
  createdAt: string;
7687
- updatedAtLocation?: string | undefined;
7762
+ createdBy: string;
7763
+ createdByRole: string;
7764
+ createdAtLocation: string;
7688
7765
  originalActionId?: string | undefined;
7689
7766
  })[];
7690
7767
  trackingId: string;
7768
+ dateOfEvent?: {
7769
+ fieldId: string;
7770
+ } | undefined;
7691
7771
  }, {
7692
7772
  type: string;
7693
7773
  id: string;
@@ -7697,8 +7777,10 @@ export declare const EventDocument: z.ZodObject<{
7697
7777
  type: "ASSIGN";
7698
7778
  id: string;
7699
7779
  status: "Rejected" | "Requested" | "Accepted";
7780
+ transactionId: string;
7700
7781
  createdAt: string;
7701
7782
  createdBy: string;
7783
+ createdByRole: string;
7702
7784
  declaration: Record<string, string | number | boolean | {
7703
7785
  type: string;
7704
7786
  filename: string;
@@ -7736,7 +7818,8 @@ export declare const EventDocument: z.ZodObject<{
7736
7818
  option: string;
7737
7819
  filename: string;
7738
7820
  originalFilename: string;
7739
- }[] | undefined>;
7821
+ }[] | [string, string] | undefined>;
7822
+ createdAtLocation: string;
7740
7823
  assignedTo: string;
7741
7824
  annotation?: Record<string, string | number | boolean | {
7742
7825
  type: string;
@@ -7775,16 +7858,16 @@ export declare const EventDocument: z.ZodObject<{
7775
7858
  option: string;
7776
7859
  filename: string;
7777
7860
  originalFilename: string;
7778
- }[] | undefined> | undefined;
7779
- createdAtLocation?: string | undefined;
7780
- updatedAtLocation?: string | undefined;
7861
+ }[] | [string, string] | undefined> | undefined;
7781
7862
  originalActionId?: string | undefined;
7782
7863
  } | {
7783
7864
  type: "UNASSIGN";
7784
7865
  id: string;
7785
7866
  status: "Rejected" | "Requested" | "Accepted";
7867
+ transactionId: string;
7786
7868
  createdAt: string;
7787
7869
  createdBy: string;
7870
+ createdByRole: string;
7788
7871
  declaration: Record<string, string | number | boolean | {
7789
7872
  type: string;
7790
7873
  filename: string;
@@ -7822,7 +7905,9 @@ export declare const EventDocument: z.ZodObject<{
7822
7905
  option: string;
7823
7906
  filename: string;
7824
7907
  originalFilename: string;
7825
- }[] | undefined>;
7908
+ }[] | [string, string] | undefined>;
7909
+ createdAtLocation: string;
7910
+ assignedTo: null;
7826
7911
  annotation?: Record<string, string | number | boolean | {
7827
7912
  type: string;
7828
7913
  filename: string;
@@ -7860,17 +7945,16 @@ export declare const EventDocument: z.ZodObject<{
7860
7945
  option: string;
7861
7946
  filename: string;
7862
7947
  originalFilename: string;
7863
- }[] | undefined> | undefined;
7864
- createdAtLocation?: string | undefined;
7865
- updatedAtLocation?: string | undefined;
7948
+ }[] | [string, string] | undefined> | undefined;
7866
7949
  originalActionId?: string | undefined;
7867
- assignedTo?: null | undefined;
7868
7950
  } | {
7869
7951
  type: "REGISTER";
7870
7952
  id: string;
7871
7953
  status: "Rejected" | "Requested" | "Accepted";
7954
+ transactionId: string;
7872
7955
  createdAt: string;
7873
7956
  createdBy: string;
7957
+ createdByRole: string;
7874
7958
  declaration: Record<string, string | number | boolean | {
7875
7959
  type: string;
7876
7960
  filename: string;
@@ -7908,7 +7992,8 @@ export declare const EventDocument: z.ZodObject<{
7908
7992
  option: string;
7909
7993
  filename: string;
7910
7994
  originalFilename: string;
7911
- }[] | undefined>;
7995
+ }[] | [string, string] | undefined>;
7996
+ createdAtLocation: string;
7912
7997
  annotation?: Record<string, string | number | boolean | {
7913
7998
  type: string;
7914
7999
  filename: string;
@@ -7946,17 +8031,17 @@ export declare const EventDocument: z.ZodObject<{
7946
8031
  option: string;
7947
8032
  filename: string;
7948
8033
  originalFilename: string;
7949
- }[] | undefined> | undefined;
7950
- createdAtLocation?: string | undefined;
7951
- updatedAtLocation?: string | undefined;
8034
+ }[] | [string, string] | undefined> | undefined;
7952
8035
  originalActionId?: string | undefined;
7953
8036
  registrationNumber?: string | undefined;
7954
8037
  } | {
7955
8038
  type: "DECLARE";
7956
8039
  id: string;
7957
8040
  status: "Rejected" | "Requested" | "Accepted";
8041
+ transactionId: string;
7958
8042
  createdAt: string;
7959
8043
  createdBy: string;
8044
+ createdByRole: string;
7960
8045
  declaration: Record<string, string | number | boolean | {
7961
8046
  type: string;
7962
8047
  filename: string;
@@ -7994,7 +8079,8 @@ export declare const EventDocument: z.ZodObject<{
7994
8079
  option: string;
7995
8080
  filename: string;
7996
8081
  originalFilename: string;
7997
- }[] | undefined>;
8082
+ }[] | [string, string] | undefined>;
8083
+ createdAtLocation: string;
7998
8084
  annotation?: Record<string, string | number | boolean | {
7999
8085
  type: string;
8000
8086
  filename: string;
@@ -8032,16 +8118,16 @@ export declare const EventDocument: z.ZodObject<{
8032
8118
  option: string;
8033
8119
  filename: string;
8034
8120
  originalFilename: string;
8035
- }[] | undefined> | undefined;
8036
- createdAtLocation?: string | undefined;
8037
- updatedAtLocation?: string | undefined;
8121
+ }[] | [string, string] | undefined> | undefined;
8038
8122
  originalActionId?: string | undefined;
8039
8123
  } | {
8040
8124
  type: "VALIDATE";
8041
8125
  id: string;
8042
8126
  status: "Rejected" | "Requested" | "Accepted";
8127
+ transactionId: string;
8043
8128
  createdAt: string;
8044
8129
  createdBy: string;
8130
+ createdByRole: string;
8045
8131
  declaration: Record<string, string | number | boolean | {
8046
8132
  type: string;
8047
8133
  filename: string;
@@ -8079,7 +8165,8 @@ export declare const EventDocument: z.ZodObject<{
8079
8165
  option: string;
8080
8166
  filename: string;
8081
8167
  originalFilename: string;
8082
- }[] | undefined>;
8168
+ }[] | [string, string] | undefined>;
8169
+ createdAtLocation: string;
8083
8170
  annotation?: Record<string, string | number | boolean | {
8084
8171
  type: string;
8085
8172
  filename: string;
@@ -8117,16 +8204,16 @@ export declare const EventDocument: z.ZodObject<{
8117
8204
  option: string;
8118
8205
  filename: string;
8119
8206
  originalFilename: string;
8120
- }[] | undefined> | undefined;
8121
- createdAtLocation?: string | undefined;
8122
- updatedAtLocation?: string | undefined;
8207
+ }[] | [string, string] | undefined> | undefined;
8123
8208
  originalActionId?: string | undefined;
8124
8209
  } | {
8125
8210
  type: "REJECT";
8126
8211
  id: string;
8127
8212
  status: "Rejected" | "Requested" | "Accepted";
8213
+ transactionId: string;
8128
8214
  createdAt: string;
8129
8215
  createdBy: string;
8216
+ createdByRole: string;
8130
8217
  declaration: Record<string, string | number | boolean | {
8131
8218
  type: string;
8132
8219
  filename: string;
@@ -8164,7 +8251,8 @@ export declare const EventDocument: z.ZodObject<{
8164
8251
  option: string;
8165
8252
  filename: string;
8166
8253
  originalFilename: string;
8167
- }[] | undefined>;
8254
+ }[] | [string, string] | undefined>;
8255
+ createdAtLocation: string;
8168
8256
  annotation?: Record<string, string | number | boolean | {
8169
8257
  type: string;
8170
8258
  filename: string;
@@ -8202,16 +8290,16 @@ export declare const EventDocument: z.ZodObject<{
8202
8290
  option: string;
8203
8291
  filename: string;
8204
8292
  originalFilename: string;
8205
- }[] | undefined> | undefined;
8206
- createdAtLocation?: string | undefined;
8207
- updatedAtLocation?: string | undefined;
8293
+ }[] | [string, string] | undefined> | undefined;
8208
8294
  originalActionId?: string | undefined;
8209
8295
  } | {
8210
8296
  type: "MARKED_AS_DUPLICATE";
8211
8297
  id: string;
8212
8298
  status: "Rejected" | "Requested" | "Accepted";
8299
+ transactionId: string;
8213
8300
  createdAt: string;
8214
8301
  createdBy: string;
8302
+ createdByRole: string;
8215
8303
  declaration: Record<string, string | number | boolean | {
8216
8304
  type: string;
8217
8305
  filename: string;
@@ -8249,7 +8337,8 @@ export declare const EventDocument: z.ZodObject<{
8249
8337
  option: string;
8250
8338
  filename: string;
8251
8339
  originalFilename: string;
8252
- }[] | undefined>;
8340
+ }[] | [string, string] | undefined>;
8341
+ createdAtLocation: string;
8253
8342
  annotation?: Record<string, string | number | boolean | {
8254
8343
  type: string;
8255
8344
  filename: string;
@@ -8287,16 +8376,16 @@ export declare const EventDocument: z.ZodObject<{
8287
8376
  option: string;
8288
8377
  filename: string;
8289
8378
  originalFilename: string;
8290
- }[] | undefined> | undefined;
8291
- createdAtLocation?: string | undefined;
8292
- updatedAtLocation?: string | undefined;
8379
+ }[] | [string, string] | undefined> | undefined;
8293
8380
  originalActionId?: string | undefined;
8294
8381
  } | {
8295
8382
  type: "ARCHIVE";
8296
8383
  id: string;
8297
8384
  status: "Rejected" | "Requested" | "Accepted";
8385
+ transactionId: string;
8298
8386
  createdAt: string;
8299
8387
  createdBy: string;
8388
+ createdByRole: string;
8300
8389
  declaration: Record<string, string | number | boolean | {
8301
8390
  type: string;
8302
8391
  filename: string;
@@ -8334,7 +8423,8 @@ export declare const EventDocument: z.ZodObject<{
8334
8423
  option: string;
8335
8424
  filename: string;
8336
8425
  originalFilename: string;
8337
- }[] | undefined>;
8426
+ }[] | [string, string] | undefined>;
8427
+ createdAtLocation: string;
8338
8428
  annotation?: Record<string, string | number | boolean | {
8339
8429
  type: string;
8340
8430
  filename: string;
@@ -8372,16 +8462,16 @@ export declare const EventDocument: z.ZodObject<{
8372
8462
  option: string;
8373
8463
  filename: string;
8374
8464
  originalFilename: string;
8375
- }[] | undefined> | undefined;
8376
- createdAtLocation?: string | undefined;
8377
- updatedAtLocation?: string | undefined;
8465
+ }[] | [string, string] | undefined> | undefined;
8378
8466
  originalActionId?: string | undefined;
8379
8467
  } | {
8380
8468
  type: "CREATE";
8381
8469
  id: string;
8382
8470
  status: "Rejected" | "Requested" | "Accepted";
8471
+ transactionId: string;
8383
8472
  createdAt: string;
8384
8473
  createdBy: string;
8474
+ createdByRole: string;
8385
8475
  declaration: Record<string, string | number | boolean | {
8386
8476
  type: string;
8387
8477
  filename: string;
@@ -8419,7 +8509,8 @@ export declare const EventDocument: z.ZodObject<{
8419
8509
  option: string;
8420
8510
  filename: string;
8421
8511
  originalFilename: string;
8422
- }[] | undefined>;
8512
+ }[] | [string, string] | undefined>;
8513
+ createdAtLocation: string;
8423
8514
  annotation?: Record<string, string | number | boolean | {
8424
8515
  type: string;
8425
8516
  filename: string;
@@ -8457,16 +8548,16 @@ export declare const EventDocument: z.ZodObject<{
8457
8548
  option: string;
8458
8549
  filename: string;
8459
8550
  originalFilename: string;
8460
- }[] | undefined> | undefined;
8461
- createdAtLocation?: string | undefined;
8462
- updatedAtLocation?: string | undefined;
8551
+ }[] | [string, string] | undefined> | undefined;
8463
8552
  originalActionId?: string | undefined;
8464
8553
  } | {
8465
8554
  type: "NOTIFY";
8466
8555
  id: string;
8467
8556
  status: "Rejected" | "Requested" | "Accepted";
8557
+ transactionId: string;
8468
8558
  createdAt: string;
8469
8559
  createdBy: string;
8560
+ createdByRole: string;
8470
8561
  declaration: Record<string, string | number | boolean | {
8471
8562
  type: string;
8472
8563
  filename: string;
@@ -8504,7 +8595,8 @@ export declare const EventDocument: z.ZodObject<{
8504
8595
  option: string;
8505
8596
  filename: string;
8506
8597
  originalFilename: string;
8507
- }[] | undefined>;
8598
+ }[] | [string, string] | undefined>;
8599
+ createdAtLocation: string;
8508
8600
  annotation?: Record<string, string | number | boolean | {
8509
8601
  type: string;
8510
8602
  filename: string;
@@ -8542,16 +8634,16 @@ export declare const EventDocument: z.ZodObject<{
8542
8634
  option: string;
8543
8635
  filename: string;
8544
8636
  originalFilename: string;
8545
- }[] | undefined> | undefined;
8546
- createdAtLocation?: string | undefined;
8547
- updatedAtLocation?: string | undefined;
8637
+ }[] | [string, string] | undefined> | undefined;
8548
8638
  originalActionId?: string | undefined;
8549
8639
  } | {
8550
8640
  type: "PRINT_CERTIFICATE";
8551
8641
  id: string;
8552
8642
  status: "Rejected" | "Requested" | "Accepted";
8643
+ transactionId: string;
8553
8644
  createdAt: string;
8554
8645
  createdBy: string;
8646
+ createdByRole: string;
8555
8647
  declaration: Record<string, string | number | boolean | {
8556
8648
  type: string;
8557
8649
  filename: string;
@@ -8589,7 +8681,8 @@ export declare const EventDocument: z.ZodObject<{
8589
8681
  option: string;
8590
8682
  filename: string;
8591
8683
  originalFilename: string;
8592
- }[] | undefined>;
8684
+ }[] | [string, string] | undefined>;
8685
+ createdAtLocation: string;
8593
8686
  annotation?: Record<string, string | number | boolean | {
8594
8687
  type: string;
8595
8688
  filename: string;
@@ -8627,16 +8720,16 @@ export declare const EventDocument: z.ZodObject<{
8627
8720
  option: string;
8628
8721
  filename: string;
8629
8722
  originalFilename: string;
8630
- }[] | undefined> | undefined;
8631
- createdAtLocation?: string | undefined;
8632
- updatedAtLocation?: string | undefined;
8723
+ }[] | [string, string] | undefined> | undefined;
8633
8724
  originalActionId?: string | undefined;
8634
8725
  } | {
8635
8726
  type: "REQUEST_CORRECTION";
8636
8727
  id: string;
8637
8728
  status: "Rejected" | "Requested" | "Accepted";
8729
+ transactionId: string;
8638
8730
  createdAt: string;
8639
8731
  createdBy: string;
8732
+ createdByRole: string;
8640
8733
  declaration: Record<string, string | number | boolean | {
8641
8734
  type: string;
8642
8735
  filename: string;
@@ -8674,7 +8767,8 @@ export declare const EventDocument: z.ZodObject<{
8674
8767
  option: string;
8675
8768
  filename: string;
8676
8769
  originalFilename: string;
8677
- }[] | undefined>;
8770
+ }[] | [string, string] | undefined>;
8771
+ createdAtLocation: string;
8678
8772
  annotation?: Record<string, string | number | boolean | {
8679
8773
  type: string;
8680
8774
  filename: string;
@@ -8712,16 +8806,16 @@ export declare const EventDocument: z.ZodObject<{
8712
8806
  option: string;
8713
8807
  filename: string;
8714
8808
  originalFilename: string;
8715
- }[] | undefined> | undefined;
8716
- createdAtLocation?: string | undefined;
8717
- updatedAtLocation?: string | undefined;
8809
+ }[] | [string, string] | undefined> | undefined;
8718
8810
  originalActionId?: string | undefined;
8719
8811
  } | {
8720
8812
  type: "APPROVE_CORRECTION";
8721
8813
  id: string;
8722
8814
  status: "Rejected" | "Requested" | "Accepted";
8815
+ transactionId: string;
8723
8816
  createdAt: string;
8724
8817
  createdBy: string;
8818
+ createdByRole: string;
8725
8819
  declaration: Record<string, string | number | boolean | {
8726
8820
  type: string;
8727
8821
  filename: string;
@@ -8759,7 +8853,8 @@ export declare const EventDocument: z.ZodObject<{
8759
8853
  option: string;
8760
8854
  filename: string;
8761
8855
  originalFilename: string;
8762
- }[] | undefined>;
8856
+ }[] | [string, string] | undefined>;
8857
+ createdAtLocation: string;
8763
8858
  requestId: string;
8764
8859
  annotation?: Record<string, string | number | boolean | {
8765
8860
  type: string;
@@ -8798,16 +8893,16 @@ export declare const EventDocument: z.ZodObject<{
8798
8893
  option: string;
8799
8894
  filename: string;
8800
8895
  originalFilename: string;
8801
- }[] | undefined> | undefined;
8802
- createdAtLocation?: string | undefined;
8803
- updatedAtLocation?: string | undefined;
8896
+ }[] | [string, string] | undefined> | undefined;
8804
8897
  originalActionId?: string | undefined;
8805
8898
  } | {
8806
8899
  type: "REJECT_CORRECTION";
8807
8900
  id: string;
8808
8901
  status: "Rejected" | "Requested" | "Accepted";
8902
+ transactionId: string;
8809
8903
  createdAt: string;
8810
8904
  createdBy: string;
8905
+ createdByRole: string;
8811
8906
  declaration: Record<string, string | number | boolean | {
8812
8907
  type: string;
8813
8908
  filename: string;
@@ -8845,7 +8940,8 @@ export declare const EventDocument: z.ZodObject<{
8845
8940
  option: string;
8846
8941
  filename: string;
8847
8942
  originalFilename: string;
8848
- }[] | undefined>;
8943
+ }[] | [string, string] | undefined>;
8944
+ createdAtLocation: string;
8849
8945
  requestId: string;
8850
8946
  annotation?: Record<string, string | number | boolean | {
8851
8947
  type: string;
@@ -8884,16 +8980,16 @@ export declare const EventDocument: z.ZodObject<{
8884
8980
  option: string;
8885
8981
  filename: string;
8886
8982
  originalFilename: string;
8887
- }[] | undefined> | undefined;
8888
- createdAtLocation?: string | undefined;
8889
- updatedAtLocation?: string | undefined;
8983
+ }[] | [string, string] | undefined> | undefined;
8890
8984
  originalActionId?: string | undefined;
8891
8985
  } | {
8892
8986
  type: "READ";
8893
8987
  id: string;
8894
8988
  status: "Rejected" | "Requested" | "Accepted";
8989
+ transactionId: string;
8895
8990
  createdAt: string;
8896
8991
  createdBy: string;
8992
+ createdByRole: string;
8897
8993
  declaration: Record<string, string | number | boolean | {
8898
8994
  type: string;
8899
8995
  filename: string;
@@ -8931,7 +9027,8 @@ export declare const EventDocument: z.ZodObject<{
8931
9027
  option: string;
8932
9028
  filename: string;
8933
9029
  originalFilename: string;
8934
- }[] | undefined>;
9030
+ }[] | [string, string] | undefined>;
9031
+ createdAtLocation: string;
8935
9032
  annotation?: Record<string, string | number | boolean | {
8936
9033
  type: string;
8937
9034
  filename: string;
@@ -8969,19 +9066,23 @@ export declare const EventDocument: z.ZodObject<{
8969
9066
  option: string;
8970
9067
  filename: string;
8971
9068
  originalFilename: string;
8972
- }[] | undefined> | undefined;
8973
- createdAtLocation?: string | undefined;
8974
- updatedAtLocation?: string | undefined;
9069
+ }[] | [string, string] | undefined> | undefined;
8975
9070
  originalActionId?: string | undefined;
8976
9071
  } | {
8977
9072
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8978
9073
  id: string;
8979
9074
  status: "Rejected";
9075
+ transactionId: string;
8980
9076
  createdAt: string;
8981
- updatedAtLocation?: string | undefined;
9077
+ createdBy: string;
9078
+ createdByRole: string;
9079
+ createdAtLocation: string;
8982
9080
  originalActionId?: string | undefined;
8983
9081
  })[];
8984
9082
  trackingId: string;
9083
+ dateOfEvent?: {
9084
+ fieldId: string;
9085
+ } | undefined;
8985
9086
  }>;
8986
9087
  export type EventDocument = z.infer<typeof EventDocument>;
8987
9088
  //# sourceMappingURL=EventDocument.d.ts.map