@opencrvs/toolkit 1.8.0-rc.f9c5526 → 1.8.0-rc.f9fb039

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 (35) hide show
  1. package/dist/commons/api/router.d.ts +7990 -4200
  2. package/dist/commons/conditionals/conditionals.d.ts +9 -6
  3. package/dist/commons/conditionals/validate.d.ts +4 -6
  4. package/dist/commons/events/ActionConfig.d.ts +97080 -1720
  5. package/dist/commons/events/ActionDocument.d.ts +544 -207
  6. package/dist/commons/events/ActionInput.d.ts +338 -240
  7. package/dist/commons/events/ActionType.d.ts +2 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +535 -25
  9. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  10. package/dist/commons/events/Draft.d.ts +36 -20
  11. package/dist/commons/events/EventConfig.d.ts +46232 -1342
  12. package/dist/commons/events/EventDocument.d.ts +345 -153
  13. package/dist/commons/events/EventIndex.d.ts +1589 -13
  14. package/dist/commons/events/EventInput.d.ts +13 -0
  15. package/dist/commons/events/EventMetadata.d.ts +273 -11
  16. package/dist/commons/events/FieldConfig.d.ts +4280 -754
  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 +43591 -439
  21. package/dist/commons/events/PageConfig.d.ts +10860 -204
  22. package/dist/commons/events/SummaryConfig.d.ts +81 -42
  23. package/dist/commons/events/User.d.ts +5 -0
  24. package/dist/commons/events/WorkqueueConfig.d.ts +1397 -19
  25. package/dist/commons/events/defineConfig.d.ts +7220 -40
  26. package/dist/commons/events/event.d.ts +54 -0
  27. package/dist/commons/events/field.d.ts +77 -0
  28. package/dist/commons/events/index.d.ts +3 -0
  29. package/dist/commons/events/scopes.d.ts +26 -0
  30. package/dist/commons/events/test.utils.d.ts +7 -44
  31. package/dist/commons/events/utils.d.ts +3668 -68
  32. package/dist/commons/events/utils.test.d.ts +2 -0
  33. package/dist/conditionals/index.js +36 -33
  34. package/dist/events/index.js +1617 -975
  35. package/package.json +3 -2
@@ -2,13 +2,24 @@ 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;
14
+ registeredAt: z.ZodOptional<z.ZodString>;
15
+ registeredAtLocation: z.ZodOptional<z.ZodString>;
7
16
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
17
  id: z.ZodString;
18
+ transactionId: z.ZodString;
9
19
  createdAt: z.ZodString;
10
20
  createdBy: z.ZodString;
11
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
21
+ createdByRole: z.ZodString;
22
+ 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
23
  filename: z.ZodString;
13
24
  originalFilename: z.ZodString;
14
25
  type: z.ZodString;
@@ -122,7 +133,7 @@ export declare const EventDocument: z.ZodObject<{
122
133
  addressLine3?: string | null | undefined;
123
134
  postcodeOrZip?: string | null | undefined;
124
135
  }>]>>;
125
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
136
+ 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
137
  filename: z.ZodString;
127
138
  originalFilename: z.ZodString;
128
139
  type: z.ZodString;
@@ -245,8 +256,10 @@ export declare const EventDocument: z.ZodObject<{
245
256
  type: "CREATE";
246
257
  id: string;
247
258
  status: "Rejected" | "Requested" | "Accepted";
259
+ transactionId: string;
248
260
  createdAt: string;
249
261
  createdBy: string;
262
+ createdByRole: string;
250
263
  declaration: Record<string, string | number | boolean | {
251
264
  type: string;
252
265
  filename: string;
@@ -284,7 +297,7 @@ export declare const EventDocument: z.ZodObject<{
284
297
  option: string;
285
298
  filename: string;
286
299
  originalFilename: string;
287
- }[] | undefined>;
300
+ }[] | [string, string] | undefined>;
288
301
  createdAtLocation: string;
289
302
  annotation?: Record<string, string | number | boolean | {
290
303
  type: string;
@@ -323,14 +336,16 @@ export declare const EventDocument: z.ZodObject<{
323
336
  option: string;
324
337
  filename: string;
325
338
  originalFilename: string;
326
- }[] | undefined> | undefined;
339
+ }[] | [string, string] | undefined> | undefined;
327
340
  originalActionId?: string | undefined;
328
341
  }, {
329
342
  type: "CREATE";
330
343
  id: string;
331
344
  status: "Rejected" | "Requested" | "Accepted";
345
+ transactionId: string;
332
346
  createdAt: string;
333
347
  createdBy: string;
348
+ createdByRole: string;
334
349
  declaration: Record<string, string | number | boolean | {
335
350
  type: string;
336
351
  filename: string;
@@ -368,7 +383,7 @@ export declare const EventDocument: z.ZodObject<{
368
383
  option: string;
369
384
  filename: string;
370
385
  originalFilename: string;
371
- }[] | undefined>;
386
+ }[] | [string, string] | undefined>;
372
387
  createdAtLocation: string;
373
388
  annotation?: Record<string, string | number | boolean | {
374
389
  type: string;
@@ -407,13 +422,15 @@ export declare const EventDocument: z.ZodObject<{
407
422
  option: string;
408
423
  filename: string;
409
424
  originalFilename: string;
410
- }[] | undefined> | undefined;
425
+ }[] | [string, string] | undefined> | undefined;
411
426
  originalActionId?: string | undefined;
412
427
  }>, z.ZodObject<z.objectUtil.extendShape<{
413
428
  id: z.ZodString;
429
+ transactionId: z.ZodString;
414
430
  createdAt: z.ZodString;
415
431
  createdBy: z.ZodString;
416
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
432
+ createdByRole: z.ZodString;
433
+ 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<{
417
434
  filename: z.ZodString;
418
435
  originalFilename: z.ZodString;
419
436
  type: z.ZodString;
@@ -527,7 +544,7 @@ export declare const EventDocument: z.ZodObject<{
527
544
  addressLine3?: string | null | undefined;
528
545
  postcodeOrZip?: string | null | undefined;
529
546
  }>]>>;
530
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
547
+ 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<{
531
548
  filename: z.ZodString;
532
549
  originalFilename: z.ZodString;
533
550
  type: z.ZodString;
@@ -650,8 +667,10 @@ export declare const EventDocument: z.ZodObject<{
650
667
  type: "VALIDATE";
651
668
  id: string;
652
669
  status: "Rejected" | "Requested" | "Accepted";
670
+ transactionId: string;
653
671
  createdAt: string;
654
672
  createdBy: string;
673
+ createdByRole: string;
655
674
  declaration: Record<string, string | number | boolean | {
656
675
  type: string;
657
676
  filename: string;
@@ -689,7 +708,7 @@ export declare const EventDocument: z.ZodObject<{
689
708
  option: string;
690
709
  filename: string;
691
710
  originalFilename: string;
692
- }[] | undefined>;
711
+ }[] | [string, string] | undefined>;
693
712
  createdAtLocation: string;
694
713
  annotation?: Record<string, string | number | boolean | {
695
714
  type: string;
@@ -728,14 +747,16 @@ export declare const EventDocument: z.ZodObject<{
728
747
  option: string;
729
748
  filename: string;
730
749
  originalFilename: string;
731
- }[] | undefined> | undefined;
750
+ }[] | [string, string] | undefined> | undefined;
732
751
  originalActionId?: string | undefined;
733
752
  }, {
734
753
  type: "VALIDATE";
735
754
  id: string;
736
755
  status: "Rejected" | "Requested" | "Accepted";
756
+ transactionId: string;
737
757
  createdAt: string;
738
758
  createdBy: string;
759
+ createdByRole: string;
739
760
  declaration: Record<string, string | number | boolean | {
740
761
  type: string;
741
762
  filename: string;
@@ -773,7 +794,7 @@ export declare const EventDocument: z.ZodObject<{
773
794
  option: string;
774
795
  filename: string;
775
796
  originalFilename: string;
776
- }[] | undefined>;
797
+ }[] | [string, string] | undefined>;
777
798
  createdAtLocation: string;
778
799
  annotation?: Record<string, string | number | boolean | {
779
800
  type: string;
@@ -812,13 +833,15 @@ export declare const EventDocument: z.ZodObject<{
812
833
  option: string;
813
834
  filename: string;
814
835
  originalFilename: string;
815
- }[] | undefined> | undefined;
836
+ }[] | [string, string] | undefined> | undefined;
816
837
  originalActionId?: string | undefined;
817
838
  }>, z.ZodObject<z.objectUtil.extendShape<{
818
839
  id: z.ZodString;
840
+ transactionId: z.ZodString;
819
841
  createdAt: z.ZodString;
820
842
  createdBy: z.ZodString;
821
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
843
+ createdByRole: z.ZodString;
844
+ 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<{
822
845
  filename: z.ZodString;
823
846
  originalFilename: z.ZodString;
824
847
  type: z.ZodString;
@@ -932,7 +955,7 @@ export declare const EventDocument: z.ZodObject<{
932
955
  addressLine3?: string | null | undefined;
933
956
  postcodeOrZip?: string | null | undefined;
934
957
  }>]>>;
935
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
958
+ 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<{
936
959
  filename: z.ZodString;
937
960
  originalFilename: z.ZodString;
938
961
  type: z.ZodString;
@@ -1055,8 +1078,10 @@ export declare const EventDocument: z.ZodObject<{
1055
1078
  type: "REJECT";
1056
1079
  id: string;
1057
1080
  status: "Rejected" | "Requested" | "Accepted";
1081
+ transactionId: string;
1058
1082
  createdAt: string;
1059
1083
  createdBy: string;
1084
+ createdByRole: string;
1060
1085
  declaration: Record<string, string | number | boolean | {
1061
1086
  type: string;
1062
1087
  filename: string;
@@ -1094,7 +1119,7 @@ export declare const EventDocument: z.ZodObject<{
1094
1119
  option: string;
1095
1120
  filename: string;
1096
1121
  originalFilename: string;
1097
- }[] | undefined>;
1122
+ }[] | [string, string] | undefined>;
1098
1123
  createdAtLocation: string;
1099
1124
  annotation?: Record<string, string | number | boolean | {
1100
1125
  type: string;
@@ -1133,14 +1158,16 @@ export declare const EventDocument: z.ZodObject<{
1133
1158
  option: string;
1134
1159
  filename: string;
1135
1160
  originalFilename: string;
1136
- }[] | undefined> | undefined;
1161
+ }[] | [string, string] | undefined> | undefined;
1137
1162
  originalActionId?: string | undefined;
1138
1163
  }, {
1139
1164
  type: "REJECT";
1140
1165
  id: string;
1141
1166
  status: "Rejected" | "Requested" | "Accepted";
1167
+ transactionId: string;
1142
1168
  createdAt: string;
1143
1169
  createdBy: string;
1170
+ createdByRole: string;
1144
1171
  declaration: Record<string, string | number | boolean | {
1145
1172
  type: string;
1146
1173
  filename: string;
@@ -1178,7 +1205,7 @@ export declare const EventDocument: z.ZodObject<{
1178
1205
  option: string;
1179
1206
  filename: string;
1180
1207
  originalFilename: string;
1181
- }[] | undefined>;
1208
+ }[] | [string, string] | undefined>;
1182
1209
  createdAtLocation: string;
1183
1210
  annotation?: Record<string, string | number | boolean | {
1184
1211
  type: string;
@@ -1217,13 +1244,15 @@ export declare const EventDocument: z.ZodObject<{
1217
1244
  option: string;
1218
1245
  filename: string;
1219
1246
  originalFilename: string;
1220
- }[] | undefined> | undefined;
1247
+ }[] | [string, string] | undefined> | undefined;
1221
1248
  originalActionId?: string | undefined;
1222
1249
  }>, z.ZodObject<z.objectUtil.extendShape<{
1223
1250
  id: z.ZodString;
1251
+ transactionId: z.ZodString;
1224
1252
  createdAt: z.ZodString;
1225
1253
  createdBy: z.ZodString;
1226
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1254
+ createdByRole: z.ZodString;
1255
+ 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<{
1227
1256
  filename: z.ZodString;
1228
1257
  originalFilename: z.ZodString;
1229
1258
  type: z.ZodString;
@@ -1337,7 +1366,7 @@ export declare const EventDocument: z.ZodObject<{
1337
1366
  addressLine3?: string | null | undefined;
1338
1367
  postcodeOrZip?: string | null | undefined;
1339
1368
  }>]>>;
1340
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1369
+ 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<{
1341
1370
  filename: z.ZodString;
1342
1371
  originalFilename: z.ZodString;
1343
1372
  type: z.ZodString;
@@ -1460,8 +1489,10 @@ export declare const EventDocument: z.ZodObject<{
1460
1489
  type: "MARKED_AS_DUPLICATE";
1461
1490
  id: string;
1462
1491
  status: "Rejected" | "Requested" | "Accepted";
1492
+ transactionId: string;
1463
1493
  createdAt: string;
1464
1494
  createdBy: string;
1495
+ createdByRole: string;
1465
1496
  declaration: Record<string, string | number | boolean | {
1466
1497
  type: string;
1467
1498
  filename: string;
@@ -1499,7 +1530,7 @@ export declare const EventDocument: z.ZodObject<{
1499
1530
  option: string;
1500
1531
  filename: string;
1501
1532
  originalFilename: string;
1502
- }[] | undefined>;
1533
+ }[] | [string, string] | undefined>;
1503
1534
  createdAtLocation: string;
1504
1535
  annotation?: Record<string, string | number | boolean | {
1505
1536
  type: string;
@@ -1538,14 +1569,16 @@ export declare const EventDocument: z.ZodObject<{
1538
1569
  option: string;
1539
1570
  filename: string;
1540
1571
  originalFilename: string;
1541
- }[] | undefined> | undefined;
1572
+ }[] | [string, string] | undefined> | undefined;
1542
1573
  originalActionId?: string | undefined;
1543
1574
  }, {
1544
1575
  type: "MARKED_AS_DUPLICATE";
1545
1576
  id: string;
1546
1577
  status: "Rejected" | "Requested" | "Accepted";
1578
+ transactionId: string;
1547
1579
  createdAt: string;
1548
1580
  createdBy: string;
1581
+ createdByRole: string;
1549
1582
  declaration: Record<string, string | number | boolean | {
1550
1583
  type: string;
1551
1584
  filename: string;
@@ -1583,7 +1616,7 @@ export declare const EventDocument: z.ZodObject<{
1583
1616
  option: string;
1584
1617
  filename: string;
1585
1618
  originalFilename: string;
1586
- }[] | undefined>;
1619
+ }[] | [string, string] | undefined>;
1587
1620
  createdAtLocation: string;
1588
1621
  annotation?: Record<string, string | number | boolean | {
1589
1622
  type: string;
@@ -1622,13 +1655,15 @@ export declare const EventDocument: z.ZodObject<{
1622
1655
  option: string;
1623
1656
  filename: string;
1624
1657
  originalFilename: string;
1625
- }[] | undefined> | undefined;
1658
+ }[] | [string, string] | undefined> | undefined;
1626
1659
  originalActionId?: string | undefined;
1627
1660
  }>, z.ZodObject<z.objectUtil.extendShape<{
1628
1661
  id: z.ZodString;
1662
+ transactionId: z.ZodString;
1629
1663
  createdAt: z.ZodString;
1630
1664
  createdBy: z.ZodString;
1631
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1665
+ createdByRole: z.ZodString;
1666
+ 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<{
1632
1667
  filename: z.ZodString;
1633
1668
  originalFilename: z.ZodString;
1634
1669
  type: z.ZodString;
@@ -1742,7 +1777,7 @@ export declare const EventDocument: z.ZodObject<{
1742
1777
  addressLine3?: string | null | undefined;
1743
1778
  postcodeOrZip?: string | null | undefined;
1744
1779
  }>]>>;
1745
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1780
+ 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<{
1746
1781
  filename: z.ZodString;
1747
1782
  originalFilename: z.ZodString;
1748
1783
  type: z.ZodString;
@@ -1865,8 +1900,10 @@ export declare const EventDocument: z.ZodObject<{
1865
1900
  type: "ARCHIVE";
1866
1901
  id: string;
1867
1902
  status: "Rejected" | "Requested" | "Accepted";
1903
+ transactionId: string;
1868
1904
  createdAt: string;
1869
1905
  createdBy: string;
1906
+ createdByRole: string;
1870
1907
  declaration: Record<string, string | number | boolean | {
1871
1908
  type: string;
1872
1909
  filename: string;
@@ -1904,7 +1941,7 @@ export declare const EventDocument: z.ZodObject<{
1904
1941
  option: string;
1905
1942
  filename: string;
1906
1943
  originalFilename: string;
1907
- }[] | undefined>;
1944
+ }[] | [string, string] | undefined>;
1908
1945
  createdAtLocation: string;
1909
1946
  annotation?: Record<string, string | number | boolean | {
1910
1947
  type: string;
@@ -1943,14 +1980,16 @@ export declare const EventDocument: z.ZodObject<{
1943
1980
  option: string;
1944
1981
  filename: string;
1945
1982
  originalFilename: string;
1946
- }[] | undefined> | undefined;
1983
+ }[] | [string, string] | undefined> | undefined;
1947
1984
  originalActionId?: string | undefined;
1948
1985
  }, {
1949
1986
  type: "ARCHIVE";
1950
1987
  id: string;
1951
1988
  status: "Rejected" | "Requested" | "Accepted";
1989
+ transactionId: string;
1952
1990
  createdAt: string;
1953
1991
  createdBy: string;
1992
+ createdByRole: string;
1954
1993
  declaration: Record<string, string | number | boolean | {
1955
1994
  type: string;
1956
1995
  filename: string;
@@ -1988,7 +2027,7 @@ export declare const EventDocument: z.ZodObject<{
1988
2027
  option: string;
1989
2028
  filename: string;
1990
2029
  originalFilename: string;
1991
- }[] | undefined>;
2030
+ }[] | [string, string] | undefined>;
1992
2031
  createdAtLocation: string;
1993
2032
  annotation?: Record<string, string | number | boolean | {
1994
2033
  type: string;
@@ -2027,13 +2066,15 @@ export declare const EventDocument: z.ZodObject<{
2027
2066
  option: string;
2028
2067
  filename: string;
2029
2068
  originalFilename: string;
2030
- }[] | undefined> | undefined;
2069
+ }[] | [string, string] | undefined> | undefined;
2031
2070
  originalActionId?: string | undefined;
2032
2071
  }>, z.ZodObject<z.objectUtil.extendShape<{
2033
2072
  id: z.ZodString;
2073
+ transactionId: z.ZodString;
2034
2074
  createdAt: z.ZodString;
2035
2075
  createdBy: z.ZodString;
2036
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2076
+ createdByRole: z.ZodString;
2077
+ 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<{
2037
2078
  filename: z.ZodString;
2038
2079
  originalFilename: z.ZodString;
2039
2080
  type: z.ZodString;
@@ -2147,7 +2188,7 @@ export declare const EventDocument: z.ZodObject<{
2147
2188
  addressLine3?: string | null | undefined;
2148
2189
  postcodeOrZip?: string | null | undefined;
2149
2190
  }>]>>;
2150
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2191
+ 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<{
2151
2192
  filename: z.ZodString;
2152
2193
  originalFilename: z.ZodString;
2153
2194
  type: z.ZodString;
@@ -2270,8 +2311,10 @@ export declare const EventDocument: z.ZodObject<{
2270
2311
  type: "NOTIFY";
2271
2312
  id: string;
2272
2313
  status: "Rejected" | "Requested" | "Accepted";
2314
+ transactionId: string;
2273
2315
  createdAt: string;
2274
2316
  createdBy: string;
2317
+ createdByRole: string;
2275
2318
  declaration: Record<string, string | number | boolean | {
2276
2319
  type: string;
2277
2320
  filename: string;
@@ -2309,7 +2352,7 @@ export declare const EventDocument: z.ZodObject<{
2309
2352
  option: string;
2310
2353
  filename: string;
2311
2354
  originalFilename: string;
2312
- }[] | undefined>;
2355
+ }[] | [string, string] | undefined>;
2313
2356
  createdAtLocation: string;
2314
2357
  annotation?: Record<string, string | number | boolean | {
2315
2358
  type: string;
@@ -2348,14 +2391,16 @@ export declare const EventDocument: z.ZodObject<{
2348
2391
  option: string;
2349
2392
  filename: string;
2350
2393
  originalFilename: string;
2351
- }[] | undefined> | undefined;
2394
+ }[] | [string, string] | undefined> | undefined;
2352
2395
  originalActionId?: string | undefined;
2353
2396
  }, {
2354
2397
  type: "NOTIFY";
2355
2398
  id: string;
2356
2399
  status: "Rejected" | "Requested" | "Accepted";
2400
+ transactionId: string;
2357
2401
  createdAt: string;
2358
2402
  createdBy: string;
2403
+ createdByRole: string;
2359
2404
  declaration: Record<string, string | number | boolean | {
2360
2405
  type: string;
2361
2406
  filename: string;
@@ -2393,7 +2438,7 @@ export declare const EventDocument: z.ZodObject<{
2393
2438
  option: string;
2394
2439
  filename: string;
2395
2440
  originalFilename: string;
2396
- }[] | undefined>;
2441
+ }[] | [string, string] | undefined>;
2397
2442
  createdAtLocation: string;
2398
2443
  annotation?: Record<string, string | number | boolean | {
2399
2444
  type: string;
@@ -2432,13 +2477,15 @@ export declare const EventDocument: z.ZodObject<{
2432
2477
  option: string;
2433
2478
  filename: string;
2434
2479
  originalFilename: string;
2435
- }[] | undefined> | undefined;
2480
+ }[] | [string, string] | undefined> | undefined;
2436
2481
  originalActionId?: string | undefined;
2437
2482
  }>, z.ZodObject<z.objectUtil.extendShape<{
2438
2483
  id: z.ZodString;
2484
+ transactionId: z.ZodString;
2439
2485
  createdAt: z.ZodString;
2440
2486
  createdBy: z.ZodString;
2441
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2487
+ createdByRole: z.ZodString;
2488
+ 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<{
2442
2489
  filename: z.ZodString;
2443
2490
  originalFilename: z.ZodString;
2444
2491
  type: z.ZodString;
@@ -2552,7 +2599,7 @@ export declare const EventDocument: z.ZodObject<{
2552
2599
  addressLine3?: string | null | undefined;
2553
2600
  postcodeOrZip?: string | null | undefined;
2554
2601
  }>]>>;
2555
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2602
+ 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<{
2556
2603
  filename: z.ZodString;
2557
2604
  originalFilename: z.ZodString;
2558
2605
  type: z.ZodString;
@@ -2676,8 +2723,10 @@ export declare const EventDocument: z.ZodObject<{
2676
2723
  type: "REGISTER";
2677
2724
  id: string;
2678
2725
  status: "Rejected" | "Requested" | "Accepted";
2726
+ transactionId: string;
2679
2727
  createdAt: string;
2680
2728
  createdBy: string;
2729
+ createdByRole: string;
2681
2730
  declaration: Record<string, string | number | boolean | {
2682
2731
  type: string;
2683
2732
  filename: string;
@@ -2715,7 +2764,7 @@ export declare const EventDocument: z.ZodObject<{
2715
2764
  option: string;
2716
2765
  filename: string;
2717
2766
  originalFilename: string;
2718
- }[] | undefined>;
2767
+ }[] | [string, string] | undefined>;
2719
2768
  createdAtLocation: string;
2720
2769
  annotation?: Record<string, string | number | boolean | {
2721
2770
  type: string;
@@ -2754,15 +2803,17 @@ export declare const EventDocument: z.ZodObject<{
2754
2803
  option: string;
2755
2804
  filename: string;
2756
2805
  originalFilename: string;
2757
- }[] | undefined> | undefined;
2806
+ }[] | [string, string] | undefined> | undefined;
2758
2807
  originalActionId?: string | undefined;
2759
2808
  registrationNumber?: string | undefined;
2760
2809
  }, {
2761
2810
  type: "REGISTER";
2762
2811
  id: string;
2763
2812
  status: "Rejected" | "Requested" | "Accepted";
2813
+ transactionId: string;
2764
2814
  createdAt: string;
2765
2815
  createdBy: string;
2816
+ createdByRole: string;
2766
2817
  declaration: Record<string, string | number | boolean | {
2767
2818
  type: string;
2768
2819
  filename: string;
@@ -2800,7 +2851,7 @@ export declare const EventDocument: z.ZodObject<{
2800
2851
  option: string;
2801
2852
  filename: string;
2802
2853
  originalFilename: string;
2803
- }[] | undefined>;
2854
+ }[] | [string, string] | undefined>;
2804
2855
  createdAtLocation: string;
2805
2856
  annotation?: Record<string, string | number | boolean | {
2806
2857
  type: string;
@@ -2839,14 +2890,16 @@ export declare const EventDocument: z.ZodObject<{
2839
2890
  option: string;
2840
2891
  filename: string;
2841
2892
  originalFilename: string;
2842
- }[] | undefined> | undefined;
2893
+ }[] | [string, string] | undefined> | undefined;
2843
2894
  originalActionId?: string | undefined;
2844
2895
  registrationNumber?: string | undefined;
2845
2896
  }>, z.ZodObject<z.objectUtil.extendShape<{
2846
2897
  id: z.ZodString;
2898
+ transactionId: z.ZodString;
2847
2899
  createdAt: z.ZodString;
2848
2900
  createdBy: z.ZodString;
2849
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2901
+ createdByRole: z.ZodString;
2902
+ 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<{
2850
2903
  filename: z.ZodString;
2851
2904
  originalFilename: z.ZodString;
2852
2905
  type: z.ZodString;
@@ -2960,7 +3013,7 @@ export declare const EventDocument: z.ZodObject<{
2960
3013
  addressLine3?: string | null | undefined;
2961
3014
  postcodeOrZip?: string | null | undefined;
2962
3015
  }>]>>;
2963
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3016
+ 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<{
2964
3017
  filename: z.ZodString;
2965
3018
  originalFilename: z.ZodString;
2966
3019
  type: z.ZodString;
@@ -3083,8 +3136,10 @@ export declare const EventDocument: z.ZodObject<{
3083
3136
  type: "DECLARE";
3084
3137
  id: string;
3085
3138
  status: "Rejected" | "Requested" | "Accepted";
3139
+ transactionId: string;
3086
3140
  createdAt: string;
3087
3141
  createdBy: string;
3142
+ createdByRole: string;
3088
3143
  declaration: Record<string, string | number | boolean | {
3089
3144
  type: string;
3090
3145
  filename: string;
@@ -3122,7 +3177,7 @@ export declare const EventDocument: z.ZodObject<{
3122
3177
  option: string;
3123
3178
  filename: string;
3124
3179
  originalFilename: string;
3125
- }[] | undefined>;
3180
+ }[] | [string, string] | undefined>;
3126
3181
  createdAtLocation: string;
3127
3182
  annotation?: Record<string, string | number | boolean | {
3128
3183
  type: string;
@@ -3161,14 +3216,16 @@ export declare const EventDocument: z.ZodObject<{
3161
3216
  option: string;
3162
3217
  filename: string;
3163
3218
  originalFilename: string;
3164
- }[] | undefined> | undefined;
3219
+ }[] | [string, string] | undefined> | undefined;
3165
3220
  originalActionId?: string | undefined;
3166
3221
  }, {
3167
3222
  type: "DECLARE";
3168
3223
  id: string;
3169
3224
  status: "Rejected" | "Requested" | "Accepted";
3225
+ transactionId: string;
3170
3226
  createdAt: string;
3171
3227
  createdBy: string;
3228
+ createdByRole: string;
3172
3229
  declaration: Record<string, string | number | boolean | {
3173
3230
  type: string;
3174
3231
  filename: string;
@@ -3206,7 +3263,7 @@ export declare const EventDocument: z.ZodObject<{
3206
3263
  option: string;
3207
3264
  filename: string;
3208
3265
  originalFilename: string;
3209
- }[] | undefined>;
3266
+ }[] | [string, string] | undefined>;
3210
3267
  createdAtLocation: string;
3211
3268
  annotation?: Record<string, string | number | boolean | {
3212
3269
  type: string;
@@ -3245,13 +3302,15 @@ export declare const EventDocument: z.ZodObject<{
3245
3302
  option: string;
3246
3303
  filename: string;
3247
3304
  originalFilename: string;
3248
- }[] | undefined> | undefined;
3305
+ }[] | [string, string] | undefined> | undefined;
3249
3306
  originalActionId?: string | undefined;
3250
3307
  }>, z.ZodObject<z.objectUtil.extendShape<{
3251
3308
  id: z.ZodString;
3309
+ transactionId: z.ZodString;
3252
3310
  createdAt: z.ZodString;
3253
3311
  createdBy: z.ZodString;
3254
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3312
+ createdByRole: z.ZodString;
3313
+ 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<{
3255
3314
  filename: z.ZodString;
3256
3315
  originalFilename: z.ZodString;
3257
3316
  type: z.ZodString;
@@ -3365,7 +3424,7 @@ export declare const EventDocument: z.ZodObject<{
3365
3424
  addressLine3?: string | null | undefined;
3366
3425
  postcodeOrZip?: string | null | undefined;
3367
3426
  }>]>>;
3368
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3427
+ 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<{
3369
3428
  filename: z.ZodString;
3370
3429
  originalFilename: z.ZodString;
3371
3430
  type: z.ZodString;
@@ -3489,8 +3548,10 @@ export declare const EventDocument: z.ZodObject<{
3489
3548
  type: "ASSIGN";
3490
3549
  id: string;
3491
3550
  status: "Rejected" | "Requested" | "Accepted";
3551
+ transactionId: string;
3492
3552
  createdAt: string;
3493
3553
  createdBy: string;
3554
+ createdByRole: string;
3494
3555
  declaration: Record<string, string | number | boolean | {
3495
3556
  type: string;
3496
3557
  filename: string;
@@ -3528,7 +3589,7 @@ export declare const EventDocument: z.ZodObject<{
3528
3589
  option: string;
3529
3590
  filename: string;
3530
3591
  originalFilename: string;
3531
- }[] | undefined>;
3592
+ }[] | [string, string] | undefined>;
3532
3593
  createdAtLocation: string;
3533
3594
  assignedTo: string;
3534
3595
  annotation?: Record<string, string | number | boolean | {
@@ -3568,14 +3629,16 @@ export declare const EventDocument: z.ZodObject<{
3568
3629
  option: string;
3569
3630
  filename: string;
3570
3631
  originalFilename: string;
3571
- }[] | undefined> | undefined;
3632
+ }[] | [string, string] | undefined> | undefined;
3572
3633
  originalActionId?: string | undefined;
3573
3634
  }, {
3574
3635
  type: "ASSIGN";
3575
3636
  id: string;
3576
3637
  status: "Rejected" | "Requested" | "Accepted";
3638
+ transactionId: string;
3577
3639
  createdAt: string;
3578
3640
  createdBy: string;
3641
+ createdByRole: string;
3579
3642
  declaration: Record<string, string | number | boolean | {
3580
3643
  type: string;
3581
3644
  filename: string;
@@ -3613,7 +3676,7 @@ export declare const EventDocument: z.ZodObject<{
3613
3676
  option: string;
3614
3677
  filename: string;
3615
3678
  originalFilename: string;
3616
- }[] | undefined>;
3679
+ }[] | [string, string] | undefined>;
3617
3680
  createdAtLocation: string;
3618
3681
  assignedTo: string;
3619
3682
  annotation?: Record<string, string | number | boolean | {
@@ -3653,13 +3716,15 @@ export declare const EventDocument: z.ZodObject<{
3653
3716
  option: string;
3654
3717
  filename: string;
3655
3718
  originalFilename: string;
3656
- }[] | undefined> | undefined;
3719
+ }[] | [string, string] | undefined> | undefined;
3657
3720
  originalActionId?: string | undefined;
3658
3721
  }>, z.ZodObject<z.objectUtil.extendShape<{
3659
3722
  id: z.ZodString;
3723
+ transactionId: z.ZodString;
3660
3724
  createdAt: z.ZodString;
3661
3725
  createdBy: z.ZodString;
3662
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3726
+ createdByRole: z.ZodString;
3727
+ 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<{
3663
3728
  filename: z.ZodString;
3664
3729
  originalFilename: z.ZodString;
3665
3730
  type: z.ZodString;
@@ -3773,7 +3838,7 @@ export declare const EventDocument: z.ZodObject<{
3773
3838
  addressLine3?: string | null | undefined;
3774
3839
  postcodeOrZip?: string | null | undefined;
3775
3840
  }>]>>;
3776
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3841
+ 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<{
3777
3842
  filename: z.ZodString;
3778
3843
  originalFilename: z.ZodString;
3779
3844
  type: z.ZodString;
@@ -3896,8 +3961,10 @@ export declare const EventDocument: z.ZodObject<{
3896
3961
  type: "REQUEST_CORRECTION";
3897
3962
  id: string;
3898
3963
  status: "Rejected" | "Requested" | "Accepted";
3964
+ transactionId: string;
3899
3965
  createdAt: string;
3900
3966
  createdBy: string;
3967
+ createdByRole: string;
3901
3968
  declaration: Record<string, string | number | boolean | {
3902
3969
  type: string;
3903
3970
  filename: string;
@@ -3935,7 +4002,7 @@ export declare const EventDocument: z.ZodObject<{
3935
4002
  option: string;
3936
4003
  filename: string;
3937
4004
  originalFilename: string;
3938
- }[] | undefined>;
4005
+ }[] | [string, string] | undefined>;
3939
4006
  createdAtLocation: string;
3940
4007
  annotation?: Record<string, string | number | boolean | {
3941
4008
  type: string;
@@ -3974,14 +4041,16 @@ export declare const EventDocument: z.ZodObject<{
3974
4041
  option: string;
3975
4042
  filename: string;
3976
4043
  originalFilename: string;
3977
- }[] | undefined> | undefined;
4044
+ }[] | [string, string] | undefined> | undefined;
3978
4045
  originalActionId?: string | undefined;
3979
4046
  }, {
3980
4047
  type: "REQUEST_CORRECTION";
3981
4048
  id: string;
3982
4049
  status: "Rejected" | "Requested" | "Accepted";
4050
+ transactionId: string;
3983
4051
  createdAt: string;
3984
4052
  createdBy: string;
4053
+ createdByRole: string;
3985
4054
  declaration: Record<string, string | number | boolean | {
3986
4055
  type: string;
3987
4056
  filename: string;
@@ -4019,7 +4088,7 @@ export declare const EventDocument: z.ZodObject<{
4019
4088
  option: string;
4020
4089
  filename: string;
4021
4090
  originalFilename: string;
4022
- }[] | undefined>;
4091
+ }[] | [string, string] | undefined>;
4023
4092
  createdAtLocation: string;
4024
4093
  annotation?: Record<string, string | number | boolean | {
4025
4094
  type: string;
@@ -4058,13 +4127,15 @@ export declare const EventDocument: z.ZodObject<{
4058
4127
  option: string;
4059
4128
  filename: string;
4060
4129
  originalFilename: string;
4061
- }[] | undefined> | undefined;
4130
+ }[] | [string, string] | undefined> | undefined;
4062
4131
  originalActionId?: string | undefined;
4063
4132
  }>, z.ZodObject<z.objectUtil.extendShape<{
4064
4133
  id: z.ZodString;
4134
+ transactionId: z.ZodString;
4065
4135
  createdAt: z.ZodString;
4066
4136
  createdBy: z.ZodString;
4067
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4137
+ createdByRole: z.ZodString;
4138
+ 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<{
4068
4139
  filename: z.ZodString;
4069
4140
  originalFilename: z.ZodString;
4070
4141
  type: z.ZodString;
@@ -4178,7 +4249,7 @@ export declare const EventDocument: z.ZodObject<{
4178
4249
  addressLine3?: string | null | undefined;
4179
4250
  postcodeOrZip?: string | null | undefined;
4180
4251
  }>]>>;
4181
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4252
+ 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<{
4182
4253
  filename: z.ZodString;
4183
4254
  originalFilename: z.ZodString;
4184
4255
  type: z.ZodString;
@@ -4302,8 +4373,10 @@ export declare const EventDocument: z.ZodObject<{
4302
4373
  type: "APPROVE_CORRECTION";
4303
4374
  id: string;
4304
4375
  status: "Rejected" | "Requested" | "Accepted";
4376
+ transactionId: string;
4305
4377
  createdAt: string;
4306
4378
  createdBy: string;
4379
+ createdByRole: string;
4307
4380
  declaration: Record<string, string | number | boolean | {
4308
4381
  type: string;
4309
4382
  filename: string;
@@ -4341,7 +4414,7 @@ export declare const EventDocument: z.ZodObject<{
4341
4414
  option: string;
4342
4415
  filename: string;
4343
4416
  originalFilename: string;
4344
- }[] | undefined>;
4417
+ }[] | [string, string] | undefined>;
4345
4418
  createdAtLocation: string;
4346
4419
  requestId: string;
4347
4420
  annotation?: Record<string, string | number | boolean | {
@@ -4381,14 +4454,16 @@ export declare const EventDocument: z.ZodObject<{
4381
4454
  option: string;
4382
4455
  filename: string;
4383
4456
  originalFilename: string;
4384
- }[] | undefined> | undefined;
4457
+ }[] | [string, string] | undefined> | undefined;
4385
4458
  originalActionId?: string | undefined;
4386
4459
  }, {
4387
4460
  type: "APPROVE_CORRECTION";
4388
4461
  id: string;
4389
4462
  status: "Rejected" | "Requested" | "Accepted";
4463
+ transactionId: string;
4390
4464
  createdAt: string;
4391
4465
  createdBy: string;
4466
+ createdByRole: string;
4392
4467
  declaration: Record<string, string | number | boolean | {
4393
4468
  type: string;
4394
4469
  filename: string;
@@ -4426,7 +4501,7 @@ export declare const EventDocument: z.ZodObject<{
4426
4501
  option: string;
4427
4502
  filename: string;
4428
4503
  originalFilename: string;
4429
- }[] | undefined>;
4504
+ }[] | [string, string] | undefined>;
4430
4505
  createdAtLocation: string;
4431
4506
  requestId: string;
4432
4507
  annotation?: Record<string, string | number | boolean | {
@@ -4466,13 +4541,15 @@ export declare const EventDocument: z.ZodObject<{
4466
4541
  option: string;
4467
4542
  filename: string;
4468
4543
  originalFilename: string;
4469
- }[] | undefined> | undefined;
4544
+ }[] | [string, string] | undefined> | undefined;
4470
4545
  originalActionId?: string | undefined;
4471
4546
  }>, z.ZodObject<z.objectUtil.extendShape<{
4472
4547
  id: z.ZodString;
4548
+ transactionId: z.ZodString;
4473
4549
  createdAt: z.ZodString;
4474
4550
  createdBy: z.ZodString;
4475
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4551
+ createdByRole: z.ZodString;
4552
+ 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<{
4476
4553
  filename: z.ZodString;
4477
4554
  originalFilename: z.ZodString;
4478
4555
  type: z.ZodString;
@@ -4586,7 +4663,7 @@ export declare const EventDocument: z.ZodObject<{
4586
4663
  addressLine3?: string | null | undefined;
4587
4664
  postcodeOrZip?: string | null | undefined;
4588
4665
  }>]>>;
4589
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4666
+ 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<{
4590
4667
  filename: z.ZodString;
4591
4668
  originalFilename: z.ZodString;
4592
4669
  type: z.ZodString;
@@ -4710,8 +4787,10 @@ export declare const EventDocument: z.ZodObject<{
4710
4787
  type: "REJECT_CORRECTION";
4711
4788
  id: string;
4712
4789
  status: "Rejected" | "Requested" | "Accepted";
4790
+ transactionId: string;
4713
4791
  createdAt: string;
4714
4792
  createdBy: string;
4793
+ createdByRole: string;
4715
4794
  declaration: Record<string, string | number | boolean | {
4716
4795
  type: string;
4717
4796
  filename: string;
@@ -4749,7 +4828,7 @@ export declare const EventDocument: z.ZodObject<{
4749
4828
  option: string;
4750
4829
  filename: string;
4751
4830
  originalFilename: string;
4752
- }[] | undefined>;
4831
+ }[] | [string, string] | undefined>;
4753
4832
  createdAtLocation: string;
4754
4833
  requestId: string;
4755
4834
  annotation?: Record<string, string | number | boolean | {
@@ -4789,14 +4868,16 @@ export declare const EventDocument: z.ZodObject<{
4789
4868
  option: string;
4790
4869
  filename: string;
4791
4870
  originalFilename: string;
4792
- }[] | undefined> | undefined;
4871
+ }[] | [string, string] | undefined> | undefined;
4793
4872
  originalActionId?: string | undefined;
4794
4873
  }, {
4795
4874
  type: "REJECT_CORRECTION";
4796
4875
  id: string;
4797
4876
  status: "Rejected" | "Requested" | "Accepted";
4877
+ transactionId: string;
4798
4878
  createdAt: string;
4799
4879
  createdBy: string;
4880
+ createdByRole: string;
4800
4881
  declaration: Record<string, string | number | boolean | {
4801
4882
  type: string;
4802
4883
  filename: string;
@@ -4834,7 +4915,7 @@ export declare const EventDocument: z.ZodObject<{
4834
4915
  option: string;
4835
4916
  filename: string;
4836
4917
  originalFilename: string;
4837
- }[] | undefined>;
4918
+ }[] | [string, string] | undefined>;
4838
4919
  createdAtLocation: string;
4839
4920
  requestId: string;
4840
4921
  annotation?: Record<string, string | number | boolean | {
@@ -4874,13 +4955,15 @@ export declare const EventDocument: z.ZodObject<{
4874
4955
  option: string;
4875
4956
  filename: string;
4876
4957
  originalFilename: string;
4877
- }[] | undefined> | undefined;
4958
+ }[] | [string, string] | undefined> | undefined;
4878
4959
  originalActionId?: string | undefined;
4879
4960
  }>, z.ZodObject<z.objectUtil.extendShape<{
4880
4961
  id: z.ZodString;
4962
+ transactionId: z.ZodString;
4881
4963
  createdAt: z.ZodString;
4882
4964
  createdBy: z.ZodString;
4883
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4965
+ createdByRole: z.ZodString;
4966
+ 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<{
4884
4967
  filename: z.ZodString;
4885
4968
  originalFilename: z.ZodString;
4886
4969
  type: z.ZodString;
@@ -4994,7 +5077,7 @@ export declare const EventDocument: z.ZodObject<{
4994
5077
  addressLine3?: string | null | undefined;
4995
5078
  postcodeOrZip?: string | null | undefined;
4996
5079
  }>]>>;
4997
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5080
+ 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<{
4998
5081
  filename: z.ZodString;
4999
5082
  originalFilename: z.ZodString;
5000
5083
  type: z.ZodString;
@@ -5113,12 +5196,15 @@ export declare const EventDocument: z.ZodObject<{
5113
5196
  originalActionId: z.ZodOptional<z.ZodString>;
5114
5197
  }, {
5115
5198
  type: z.ZodLiteral<"UNASSIGN">;
5199
+ assignedTo: z.ZodLiteral<null>;
5116
5200
  }>, "strip", z.ZodTypeAny, {
5117
5201
  type: "UNASSIGN";
5118
5202
  id: string;
5119
5203
  status: "Rejected" | "Requested" | "Accepted";
5204
+ transactionId: string;
5120
5205
  createdAt: string;
5121
5206
  createdBy: string;
5207
+ createdByRole: string;
5122
5208
  declaration: Record<string, string | number | boolean | {
5123
5209
  type: string;
5124
5210
  filename: string;
@@ -5156,8 +5242,9 @@ export declare const EventDocument: z.ZodObject<{
5156
5242
  option: string;
5157
5243
  filename: string;
5158
5244
  originalFilename: string;
5159
- }[] | undefined>;
5245
+ }[] | [string, string] | undefined>;
5160
5246
  createdAtLocation: string;
5247
+ assignedTo: null;
5161
5248
  annotation?: Record<string, string | number | boolean | {
5162
5249
  type: string;
5163
5250
  filename: string;
@@ -5195,14 +5282,16 @@ export declare const EventDocument: z.ZodObject<{
5195
5282
  option: string;
5196
5283
  filename: string;
5197
5284
  originalFilename: string;
5198
- }[] | undefined> | undefined;
5285
+ }[] | [string, string] | undefined> | undefined;
5199
5286
  originalActionId?: string | undefined;
5200
5287
  }, {
5201
5288
  type: "UNASSIGN";
5202
5289
  id: string;
5203
5290
  status: "Rejected" | "Requested" | "Accepted";
5291
+ transactionId: string;
5204
5292
  createdAt: string;
5205
5293
  createdBy: string;
5294
+ createdByRole: string;
5206
5295
  declaration: Record<string, string | number | boolean | {
5207
5296
  type: string;
5208
5297
  filename: string;
@@ -5240,8 +5329,9 @@ export declare const EventDocument: z.ZodObject<{
5240
5329
  option: string;
5241
5330
  filename: string;
5242
5331
  originalFilename: string;
5243
- }[] | undefined>;
5332
+ }[] | [string, string] | undefined>;
5244
5333
  createdAtLocation: string;
5334
+ assignedTo: null;
5245
5335
  annotation?: Record<string, string | number | boolean | {
5246
5336
  type: string;
5247
5337
  filename: string;
@@ -5279,13 +5369,15 @@ export declare const EventDocument: z.ZodObject<{
5279
5369
  option: string;
5280
5370
  filename: string;
5281
5371
  originalFilename: string;
5282
- }[] | undefined> | undefined;
5372
+ }[] | [string, string] | undefined> | undefined;
5283
5373
  originalActionId?: string | undefined;
5284
5374
  }>, z.ZodObject<z.objectUtil.extendShape<{
5285
5375
  id: z.ZodString;
5376
+ transactionId: z.ZodString;
5286
5377
  createdAt: z.ZodString;
5287
5378
  createdBy: z.ZodString;
5288
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5379
+ createdByRole: z.ZodString;
5380
+ 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<{
5289
5381
  filename: z.ZodString;
5290
5382
  originalFilename: z.ZodString;
5291
5383
  type: z.ZodString;
@@ -5399,7 +5491,7 @@ export declare const EventDocument: z.ZodObject<{
5399
5491
  addressLine3?: string | null | undefined;
5400
5492
  postcodeOrZip?: string | null | undefined;
5401
5493
  }>]>>;
5402
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5494
+ 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<{
5403
5495
  filename: z.ZodString;
5404
5496
  originalFilename: z.ZodString;
5405
5497
  type: z.ZodString;
@@ -5522,8 +5614,10 @@ export declare const EventDocument: z.ZodObject<{
5522
5614
  type: "PRINT_CERTIFICATE";
5523
5615
  id: string;
5524
5616
  status: "Rejected" | "Requested" | "Accepted";
5617
+ transactionId: string;
5525
5618
  createdAt: string;
5526
5619
  createdBy: string;
5620
+ createdByRole: string;
5527
5621
  declaration: Record<string, string | number | boolean | {
5528
5622
  type: string;
5529
5623
  filename: string;
@@ -5561,7 +5655,7 @@ export declare const EventDocument: z.ZodObject<{
5561
5655
  option: string;
5562
5656
  filename: string;
5563
5657
  originalFilename: string;
5564
- }[] | undefined>;
5658
+ }[] | [string, string] | undefined>;
5565
5659
  createdAtLocation: string;
5566
5660
  annotation?: Record<string, string | number | boolean | {
5567
5661
  type: string;
@@ -5600,14 +5694,16 @@ export declare const EventDocument: z.ZodObject<{
5600
5694
  option: string;
5601
5695
  filename: string;
5602
5696
  originalFilename: string;
5603
- }[] | undefined> | undefined;
5697
+ }[] | [string, string] | undefined> | undefined;
5604
5698
  originalActionId?: string | undefined;
5605
5699
  }, {
5606
5700
  type: "PRINT_CERTIFICATE";
5607
5701
  id: string;
5608
5702
  status: "Rejected" | "Requested" | "Accepted";
5703
+ transactionId: string;
5609
5704
  createdAt: string;
5610
5705
  createdBy: string;
5706
+ createdByRole: string;
5611
5707
  declaration: Record<string, string | number | boolean | {
5612
5708
  type: string;
5613
5709
  filename: string;
@@ -5645,7 +5741,7 @@ export declare const EventDocument: z.ZodObject<{
5645
5741
  option: string;
5646
5742
  filename: string;
5647
5743
  originalFilename: string;
5648
- }[] | undefined>;
5744
+ }[] | [string, string] | undefined>;
5649
5745
  createdAtLocation: string;
5650
5746
  annotation?: Record<string, string | number | boolean | {
5651
5747
  type: string;
@@ -5684,13 +5780,15 @@ export declare const EventDocument: z.ZodObject<{
5684
5780
  option: string;
5685
5781
  filename: string;
5686
5782
  originalFilename: string;
5687
- }[] | undefined> | undefined;
5783
+ }[] | [string, string] | undefined> | undefined;
5688
5784
  originalActionId?: string | undefined;
5689
5785
  }>, z.ZodObject<z.objectUtil.extendShape<{
5690
5786
  id: z.ZodString;
5787
+ transactionId: z.ZodString;
5691
5788
  createdAt: z.ZodString;
5692
5789
  createdBy: z.ZodString;
5693
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5790
+ createdByRole: z.ZodString;
5791
+ 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<{
5694
5792
  filename: z.ZodString;
5695
5793
  originalFilename: z.ZodString;
5696
5794
  type: z.ZodString;
@@ -5804,7 +5902,7 @@ export declare const EventDocument: z.ZodObject<{
5804
5902
  addressLine3?: string | null | undefined;
5805
5903
  postcodeOrZip?: string | null | undefined;
5806
5904
  }>]>>;
5807
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5905
+ 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<{
5808
5906
  filename: z.ZodString;
5809
5907
  originalFilename: z.ZodString;
5810
5908
  type: z.ZodString;
@@ -5927,8 +6025,10 @@ export declare const EventDocument: z.ZodObject<{
5927
6025
  type: "READ";
5928
6026
  id: string;
5929
6027
  status: "Rejected" | "Requested" | "Accepted";
6028
+ transactionId: string;
5930
6029
  createdAt: string;
5931
6030
  createdBy: string;
6031
+ createdByRole: string;
5932
6032
  declaration: Record<string, string | number | boolean | {
5933
6033
  type: string;
5934
6034
  filename: string;
@@ -5966,7 +6066,7 @@ export declare const EventDocument: z.ZodObject<{
5966
6066
  option: string;
5967
6067
  filename: string;
5968
6068
  originalFilename: string;
5969
- }[] | undefined>;
6069
+ }[] | [string, string] | undefined>;
5970
6070
  createdAtLocation: string;
5971
6071
  annotation?: Record<string, string | number | boolean | {
5972
6072
  type: string;
@@ -6005,14 +6105,16 @@ export declare const EventDocument: z.ZodObject<{
6005
6105
  option: string;
6006
6106
  filename: string;
6007
6107
  originalFilename: string;
6008
- }[] | undefined> | undefined;
6108
+ }[] | [string, string] | undefined> | undefined;
6009
6109
  originalActionId?: string | undefined;
6010
6110
  }, {
6011
6111
  type: "READ";
6012
6112
  id: string;
6013
6113
  status: "Rejected" | "Requested" | "Accepted";
6114
+ transactionId: string;
6014
6115
  createdAt: string;
6015
6116
  createdBy: string;
6117
+ createdByRole: string;
6016
6118
  declaration: Record<string, string | number | boolean | {
6017
6119
  type: string;
6018
6120
  filename: string;
@@ -6050,7 +6152,7 @@ export declare const EventDocument: z.ZodObject<{
6050
6152
  option: string;
6051
6153
  filename: string;
6052
6154
  originalFilename: string;
6053
- }[] | undefined>;
6155
+ }[] | [string, string] | undefined>;
6054
6156
  createdAtLocation: string;
6055
6157
  annotation?: Record<string, string | number | boolean | {
6056
6158
  type: string;
@@ -6089,13 +6191,15 @@ export declare const EventDocument: z.ZodObject<{
6089
6191
  option: string;
6090
6192
  filename: string;
6091
6193
  originalFilename: string;
6092
- }[] | undefined> | undefined;
6194
+ }[] | [string, string] | undefined> | undefined;
6093
6195
  originalActionId?: string | undefined;
6094
6196
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6095
6197
  id: z.ZodString;
6198
+ transactionId: z.ZodString;
6096
6199
  createdAt: z.ZodString;
6097
6200
  createdBy: z.ZodString;
6098
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6201
+ createdByRole: z.ZodString;
6202
+ 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<{
6099
6203
  filename: z.ZodString;
6100
6204
  originalFilename: z.ZodString;
6101
6205
  type: z.ZodString;
@@ -6209,7 +6313,7 @@ export declare const EventDocument: z.ZodObject<{
6209
6313
  addressLine3?: string | null | undefined;
6210
6314
  postcodeOrZip?: string | null | undefined;
6211
6315
  }>]>>;
6212
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6316
+ 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<{
6213
6317
  filename: z.ZodString;
6214
6318
  originalFilename: z.ZodString;
6215
6319
  type: z.ZodString;
@@ -6326,20 +6430,28 @@ export declare const EventDocument: z.ZodObject<{
6326
6430
  createdAtLocation: z.ZodString;
6327
6431
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6328
6432
  originalActionId: z.ZodOptional<z.ZodString>;
6329
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6433
+ }, "declaration" | "annotation">, {
6330
6434
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6331
6435
  status: z.ZodLiteral<"Rejected">;
6332
6436
  }>, "strip", z.ZodTypeAny, {
6333
6437
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6334
6438
  id: string;
6335
6439
  status: "Rejected";
6440
+ transactionId: string;
6336
6441
  createdAt: string;
6442
+ createdBy: string;
6443
+ createdByRole: string;
6444
+ createdAtLocation: string;
6337
6445
  originalActionId?: string | undefined;
6338
6446
  }, {
6339
6447
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6340
6448
  id: string;
6341
6449
  status: "Rejected";
6450
+ transactionId: string;
6342
6451
  createdAt: string;
6452
+ createdBy: string;
6453
+ createdByRole: string;
6454
+ createdAtLocation: string;
6343
6455
  originalActionId?: string | undefined;
6344
6456
  }>]>, "many">;
6345
6457
  trackingId: z.ZodString;
@@ -6352,8 +6464,10 @@ export declare const EventDocument: z.ZodObject<{
6352
6464
  type: "ASSIGN";
6353
6465
  id: string;
6354
6466
  status: "Rejected" | "Requested" | "Accepted";
6467
+ transactionId: string;
6355
6468
  createdAt: string;
6356
6469
  createdBy: string;
6470
+ createdByRole: string;
6357
6471
  declaration: Record<string, string | number | boolean | {
6358
6472
  type: string;
6359
6473
  filename: string;
@@ -6391,7 +6505,7 @@ export declare const EventDocument: z.ZodObject<{
6391
6505
  option: string;
6392
6506
  filename: string;
6393
6507
  originalFilename: string;
6394
- }[] | undefined>;
6508
+ }[] | [string, string] | undefined>;
6395
6509
  createdAtLocation: string;
6396
6510
  assignedTo: string;
6397
6511
  annotation?: Record<string, string | number | boolean | {
@@ -6431,14 +6545,16 @@ export declare const EventDocument: z.ZodObject<{
6431
6545
  option: string;
6432
6546
  filename: string;
6433
6547
  originalFilename: string;
6434
- }[] | undefined> | undefined;
6548
+ }[] | [string, string] | undefined> | undefined;
6435
6549
  originalActionId?: string | undefined;
6436
6550
  } | {
6437
6551
  type: "UNASSIGN";
6438
6552
  id: string;
6439
6553
  status: "Rejected" | "Requested" | "Accepted";
6554
+ transactionId: string;
6440
6555
  createdAt: string;
6441
6556
  createdBy: string;
6557
+ createdByRole: string;
6442
6558
  declaration: Record<string, string | number | boolean | {
6443
6559
  type: string;
6444
6560
  filename: string;
@@ -6476,8 +6592,9 @@ export declare const EventDocument: z.ZodObject<{
6476
6592
  option: string;
6477
6593
  filename: string;
6478
6594
  originalFilename: string;
6479
- }[] | undefined>;
6595
+ }[] | [string, string] | undefined>;
6480
6596
  createdAtLocation: string;
6597
+ assignedTo: null;
6481
6598
  annotation?: Record<string, string | number | boolean | {
6482
6599
  type: string;
6483
6600
  filename: string;
@@ -6515,14 +6632,16 @@ export declare const EventDocument: z.ZodObject<{
6515
6632
  option: string;
6516
6633
  filename: string;
6517
6634
  originalFilename: string;
6518
- }[] | undefined> | undefined;
6635
+ }[] | [string, string] | undefined> | undefined;
6519
6636
  originalActionId?: string | undefined;
6520
6637
  } | {
6521
6638
  type: "REGISTER";
6522
6639
  id: string;
6523
6640
  status: "Rejected" | "Requested" | "Accepted";
6641
+ transactionId: string;
6524
6642
  createdAt: string;
6525
6643
  createdBy: string;
6644
+ createdByRole: string;
6526
6645
  declaration: Record<string, string | number | boolean | {
6527
6646
  type: string;
6528
6647
  filename: string;
@@ -6560,7 +6679,7 @@ export declare const EventDocument: z.ZodObject<{
6560
6679
  option: string;
6561
6680
  filename: string;
6562
6681
  originalFilename: string;
6563
- }[] | undefined>;
6682
+ }[] | [string, string] | undefined>;
6564
6683
  createdAtLocation: string;
6565
6684
  annotation?: Record<string, string | number | boolean | {
6566
6685
  type: string;
@@ -6599,15 +6718,17 @@ export declare const EventDocument: z.ZodObject<{
6599
6718
  option: string;
6600
6719
  filename: string;
6601
6720
  originalFilename: string;
6602
- }[] | undefined> | undefined;
6721
+ }[] | [string, string] | undefined> | undefined;
6603
6722
  originalActionId?: string | undefined;
6604
6723
  registrationNumber?: string | undefined;
6605
6724
  } | {
6606
6725
  type: "DECLARE";
6607
6726
  id: string;
6608
6727
  status: "Rejected" | "Requested" | "Accepted";
6728
+ transactionId: string;
6609
6729
  createdAt: string;
6610
6730
  createdBy: string;
6731
+ createdByRole: string;
6611
6732
  declaration: Record<string, string | number | boolean | {
6612
6733
  type: string;
6613
6734
  filename: string;
@@ -6645,7 +6766,7 @@ export declare const EventDocument: z.ZodObject<{
6645
6766
  option: string;
6646
6767
  filename: string;
6647
6768
  originalFilename: string;
6648
- }[] | undefined>;
6769
+ }[] | [string, string] | undefined>;
6649
6770
  createdAtLocation: string;
6650
6771
  annotation?: Record<string, string | number | boolean | {
6651
6772
  type: string;
@@ -6684,14 +6805,16 @@ export declare const EventDocument: z.ZodObject<{
6684
6805
  option: string;
6685
6806
  filename: string;
6686
6807
  originalFilename: string;
6687
- }[] | undefined> | undefined;
6808
+ }[] | [string, string] | undefined> | undefined;
6688
6809
  originalActionId?: string | undefined;
6689
6810
  } | {
6690
6811
  type: "VALIDATE";
6691
6812
  id: string;
6692
6813
  status: "Rejected" | "Requested" | "Accepted";
6814
+ transactionId: string;
6693
6815
  createdAt: string;
6694
6816
  createdBy: string;
6817
+ createdByRole: string;
6695
6818
  declaration: Record<string, string | number | boolean | {
6696
6819
  type: string;
6697
6820
  filename: string;
@@ -6729,7 +6852,7 @@ export declare const EventDocument: z.ZodObject<{
6729
6852
  option: string;
6730
6853
  filename: string;
6731
6854
  originalFilename: string;
6732
- }[] | undefined>;
6855
+ }[] | [string, string] | undefined>;
6733
6856
  createdAtLocation: string;
6734
6857
  annotation?: Record<string, string | number | boolean | {
6735
6858
  type: string;
@@ -6768,14 +6891,16 @@ export declare const EventDocument: z.ZodObject<{
6768
6891
  option: string;
6769
6892
  filename: string;
6770
6893
  originalFilename: string;
6771
- }[] | undefined> | undefined;
6894
+ }[] | [string, string] | undefined> | undefined;
6772
6895
  originalActionId?: string | undefined;
6773
6896
  } | {
6774
6897
  type: "REJECT";
6775
6898
  id: string;
6776
6899
  status: "Rejected" | "Requested" | "Accepted";
6900
+ transactionId: string;
6777
6901
  createdAt: string;
6778
6902
  createdBy: string;
6903
+ createdByRole: string;
6779
6904
  declaration: Record<string, string | number | boolean | {
6780
6905
  type: string;
6781
6906
  filename: string;
@@ -6813,7 +6938,7 @@ export declare const EventDocument: z.ZodObject<{
6813
6938
  option: string;
6814
6939
  filename: string;
6815
6940
  originalFilename: string;
6816
- }[] | undefined>;
6941
+ }[] | [string, string] | undefined>;
6817
6942
  createdAtLocation: string;
6818
6943
  annotation?: Record<string, string | number | boolean | {
6819
6944
  type: string;
@@ -6852,14 +6977,16 @@ export declare const EventDocument: z.ZodObject<{
6852
6977
  option: string;
6853
6978
  filename: string;
6854
6979
  originalFilename: string;
6855
- }[] | undefined> | undefined;
6980
+ }[] | [string, string] | undefined> | undefined;
6856
6981
  originalActionId?: string | undefined;
6857
6982
  } | {
6858
6983
  type: "MARKED_AS_DUPLICATE";
6859
6984
  id: string;
6860
6985
  status: "Rejected" | "Requested" | "Accepted";
6986
+ transactionId: string;
6861
6987
  createdAt: string;
6862
6988
  createdBy: string;
6989
+ createdByRole: string;
6863
6990
  declaration: Record<string, string | number | boolean | {
6864
6991
  type: string;
6865
6992
  filename: string;
@@ -6897,7 +7024,7 @@ export declare const EventDocument: z.ZodObject<{
6897
7024
  option: string;
6898
7025
  filename: string;
6899
7026
  originalFilename: string;
6900
- }[] | undefined>;
7027
+ }[] | [string, string] | undefined>;
6901
7028
  createdAtLocation: string;
6902
7029
  annotation?: Record<string, string | number | boolean | {
6903
7030
  type: string;
@@ -6936,14 +7063,16 @@ export declare const EventDocument: z.ZodObject<{
6936
7063
  option: string;
6937
7064
  filename: string;
6938
7065
  originalFilename: string;
6939
- }[] | undefined> | undefined;
7066
+ }[] | [string, string] | undefined> | undefined;
6940
7067
  originalActionId?: string | undefined;
6941
7068
  } | {
6942
7069
  type: "ARCHIVE";
6943
7070
  id: string;
6944
7071
  status: "Rejected" | "Requested" | "Accepted";
7072
+ transactionId: string;
6945
7073
  createdAt: string;
6946
7074
  createdBy: string;
7075
+ createdByRole: string;
6947
7076
  declaration: Record<string, string | number | boolean | {
6948
7077
  type: string;
6949
7078
  filename: string;
@@ -6981,7 +7110,7 @@ export declare const EventDocument: z.ZodObject<{
6981
7110
  option: string;
6982
7111
  filename: string;
6983
7112
  originalFilename: string;
6984
- }[] | undefined>;
7113
+ }[] | [string, string] | undefined>;
6985
7114
  createdAtLocation: string;
6986
7115
  annotation?: Record<string, string | number | boolean | {
6987
7116
  type: string;
@@ -7020,14 +7149,16 @@ export declare const EventDocument: z.ZodObject<{
7020
7149
  option: string;
7021
7150
  filename: string;
7022
7151
  originalFilename: string;
7023
- }[] | undefined> | undefined;
7152
+ }[] | [string, string] | undefined> | undefined;
7024
7153
  originalActionId?: string | undefined;
7025
7154
  } | {
7026
7155
  type: "CREATE";
7027
7156
  id: string;
7028
7157
  status: "Rejected" | "Requested" | "Accepted";
7158
+ transactionId: string;
7029
7159
  createdAt: string;
7030
7160
  createdBy: string;
7161
+ createdByRole: string;
7031
7162
  declaration: Record<string, string | number | boolean | {
7032
7163
  type: string;
7033
7164
  filename: string;
@@ -7065,7 +7196,7 @@ export declare const EventDocument: z.ZodObject<{
7065
7196
  option: string;
7066
7197
  filename: string;
7067
7198
  originalFilename: string;
7068
- }[] | undefined>;
7199
+ }[] | [string, string] | undefined>;
7069
7200
  createdAtLocation: string;
7070
7201
  annotation?: Record<string, string | number | boolean | {
7071
7202
  type: string;
@@ -7104,14 +7235,16 @@ export declare const EventDocument: z.ZodObject<{
7104
7235
  option: string;
7105
7236
  filename: string;
7106
7237
  originalFilename: string;
7107
- }[] | undefined> | undefined;
7238
+ }[] | [string, string] | undefined> | undefined;
7108
7239
  originalActionId?: string | undefined;
7109
7240
  } | {
7110
7241
  type: "NOTIFY";
7111
7242
  id: string;
7112
7243
  status: "Rejected" | "Requested" | "Accepted";
7244
+ transactionId: string;
7113
7245
  createdAt: string;
7114
7246
  createdBy: string;
7247
+ createdByRole: string;
7115
7248
  declaration: Record<string, string | number | boolean | {
7116
7249
  type: string;
7117
7250
  filename: string;
@@ -7149,7 +7282,7 @@ export declare const EventDocument: z.ZodObject<{
7149
7282
  option: string;
7150
7283
  filename: string;
7151
7284
  originalFilename: string;
7152
- }[] | undefined>;
7285
+ }[] | [string, string] | undefined>;
7153
7286
  createdAtLocation: string;
7154
7287
  annotation?: Record<string, string | number | boolean | {
7155
7288
  type: string;
@@ -7188,14 +7321,16 @@ export declare const EventDocument: z.ZodObject<{
7188
7321
  option: string;
7189
7322
  filename: string;
7190
7323
  originalFilename: string;
7191
- }[] | undefined> | undefined;
7324
+ }[] | [string, string] | undefined> | undefined;
7192
7325
  originalActionId?: string | undefined;
7193
7326
  } | {
7194
7327
  type: "PRINT_CERTIFICATE";
7195
7328
  id: string;
7196
7329
  status: "Rejected" | "Requested" | "Accepted";
7330
+ transactionId: string;
7197
7331
  createdAt: string;
7198
7332
  createdBy: string;
7333
+ createdByRole: string;
7199
7334
  declaration: Record<string, string | number | boolean | {
7200
7335
  type: string;
7201
7336
  filename: string;
@@ -7233,7 +7368,7 @@ export declare const EventDocument: z.ZodObject<{
7233
7368
  option: string;
7234
7369
  filename: string;
7235
7370
  originalFilename: string;
7236
- }[] | undefined>;
7371
+ }[] | [string, string] | undefined>;
7237
7372
  createdAtLocation: string;
7238
7373
  annotation?: Record<string, string | number | boolean | {
7239
7374
  type: string;
@@ -7272,14 +7407,16 @@ export declare const EventDocument: z.ZodObject<{
7272
7407
  option: string;
7273
7408
  filename: string;
7274
7409
  originalFilename: string;
7275
- }[] | undefined> | undefined;
7410
+ }[] | [string, string] | undefined> | undefined;
7276
7411
  originalActionId?: string | undefined;
7277
7412
  } | {
7278
7413
  type: "REQUEST_CORRECTION";
7279
7414
  id: string;
7280
7415
  status: "Rejected" | "Requested" | "Accepted";
7416
+ transactionId: string;
7281
7417
  createdAt: string;
7282
7418
  createdBy: string;
7419
+ createdByRole: string;
7283
7420
  declaration: Record<string, string | number | boolean | {
7284
7421
  type: string;
7285
7422
  filename: string;
@@ -7317,7 +7454,7 @@ export declare const EventDocument: z.ZodObject<{
7317
7454
  option: string;
7318
7455
  filename: string;
7319
7456
  originalFilename: string;
7320
- }[] | undefined>;
7457
+ }[] | [string, string] | undefined>;
7321
7458
  createdAtLocation: string;
7322
7459
  annotation?: Record<string, string | number | boolean | {
7323
7460
  type: string;
@@ -7356,14 +7493,16 @@ export declare const EventDocument: z.ZodObject<{
7356
7493
  option: string;
7357
7494
  filename: string;
7358
7495
  originalFilename: string;
7359
- }[] | undefined> | undefined;
7496
+ }[] | [string, string] | undefined> | undefined;
7360
7497
  originalActionId?: string | undefined;
7361
7498
  } | {
7362
7499
  type: "APPROVE_CORRECTION";
7363
7500
  id: string;
7364
7501
  status: "Rejected" | "Requested" | "Accepted";
7502
+ transactionId: string;
7365
7503
  createdAt: string;
7366
7504
  createdBy: string;
7505
+ createdByRole: string;
7367
7506
  declaration: Record<string, string | number | boolean | {
7368
7507
  type: string;
7369
7508
  filename: string;
@@ -7401,7 +7540,7 @@ export declare const EventDocument: z.ZodObject<{
7401
7540
  option: string;
7402
7541
  filename: string;
7403
7542
  originalFilename: string;
7404
- }[] | undefined>;
7543
+ }[] | [string, string] | undefined>;
7405
7544
  createdAtLocation: string;
7406
7545
  requestId: string;
7407
7546
  annotation?: Record<string, string | number | boolean | {
@@ -7441,14 +7580,16 @@ export declare const EventDocument: z.ZodObject<{
7441
7580
  option: string;
7442
7581
  filename: string;
7443
7582
  originalFilename: string;
7444
- }[] | undefined> | undefined;
7583
+ }[] | [string, string] | undefined> | undefined;
7445
7584
  originalActionId?: string | undefined;
7446
7585
  } | {
7447
7586
  type: "REJECT_CORRECTION";
7448
7587
  id: string;
7449
7588
  status: "Rejected" | "Requested" | "Accepted";
7589
+ transactionId: string;
7450
7590
  createdAt: string;
7451
7591
  createdBy: string;
7592
+ createdByRole: string;
7452
7593
  declaration: Record<string, string | number | boolean | {
7453
7594
  type: string;
7454
7595
  filename: string;
@@ -7486,7 +7627,7 @@ export declare const EventDocument: z.ZodObject<{
7486
7627
  option: string;
7487
7628
  filename: string;
7488
7629
  originalFilename: string;
7489
- }[] | undefined>;
7630
+ }[] | [string, string] | undefined>;
7490
7631
  createdAtLocation: string;
7491
7632
  requestId: string;
7492
7633
  annotation?: Record<string, string | number | boolean | {
@@ -7526,14 +7667,16 @@ export declare const EventDocument: z.ZodObject<{
7526
7667
  option: string;
7527
7668
  filename: string;
7528
7669
  originalFilename: string;
7529
- }[] | undefined> | undefined;
7670
+ }[] | [string, string] | undefined> | undefined;
7530
7671
  originalActionId?: string | undefined;
7531
7672
  } | {
7532
7673
  type: "READ";
7533
7674
  id: string;
7534
7675
  status: "Rejected" | "Requested" | "Accepted";
7676
+ transactionId: string;
7535
7677
  createdAt: string;
7536
7678
  createdBy: string;
7679
+ createdByRole: string;
7537
7680
  declaration: Record<string, string | number | boolean | {
7538
7681
  type: string;
7539
7682
  filename: string;
@@ -7571,7 +7714,7 @@ export declare const EventDocument: z.ZodObject<{
7571
7714
  option: string;
7572
7715
  filename: string;
7573
7716
  originalFilename: string;
7574
- }[] | undefined>;
7717
+ }[] | [string, string] | undefined>;
7575
7718
  createdAtLocation: string;
7576
7719
  annotation?: Record<string, string | number | boolean | {
7577
7720
  type: string;
@@ -7610,16 +7753,25 @@ export declare const EventDocument: z.ZodObject<{
7610
7753
  option: string;
7611
7754
  filename: string;
7612
7755
  originalFilename: string;
7613
- }[] | undefined> | undefined;
7756
+ }[] | [string, string] | undefined> | undefined;
7614
7757
  originalActionId?: string | undefined;
7615
7758
  } | {
7616
7759
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7617
7760
  id: string;
7618
7761
  status: "Rejected";
7762
+ transactionId: string;
7619
7763
  createdAt: string;
7764
+ createdBy: string;
7765
+ createdByRole: string;
7766
+ createdAtLocation: string;
7620
7767
  originalActionId?: string | undefined;
7621
7768
  })[];
7622
7769
  trackingId: string;
7770
+ dateOfEvent?: {
7771
+ fieldId: string;
7772
+ } | undefined;
7773
+ registeredAt?: string | undefined;
7774
+ registeredAtLocation?: string | undefined;
7623
7775
  }, {
7624
7776
  type: string;
7625
7777
  id: string;
@@ -7629,8 +7781,10 @@ export declare const EventDocument: z.ZodObject<{
7629
7781
  type: "ASSIGN";
7630
7782
  id: string;
7631
7783
  status: "Rejected" | "Requested" | "Accepted";
7784
+ transactionId: string;
7632
7785
  createdAt: string;
7633
7786
  createdBy: string;
7787
+ createdByRole: string;
7634
7788
  declaration: Record<string, string | number | boolean | {
7635
7789
  type: string;
7636
7790
  filename: string;
@@ -7668,7 +7822,7 @@ export declare const EventDocument: z.ZodObject<{
7668
7822
  option: string;
7669
7823
  filename: string;
7670
7824
  originalFilename: string;
7671
- }[] | undefined>;
7825
+ }[] | [string, string] | undefined>;
7672
7826
  createdAtLocation: string;
7673
7827
  assignedTo: string;
7674
7828
  annotation?: Record<string, string | number | boolean | {
@@ -7708,14 +7862,16 @@ export declare const EventDocument: z.ZodObject<{
7708
7862
  option: string;
7709
7863
  filename: string;
7710
7864
  originalFilename: string;
7711
- }[] | undefined> | undefined;
7865
+ }[] | [string, string] | undefined> | undefined;
7712
7866
  originalActionId?: string | undefined;
7713
7867
  } | {
7714
7868
  type: "UNASSIGN";
7715
7869
  id: string;
7716
7870
  status: "Rejected" | "Requested" | "Accepted";
7871
+ transactionId: string;
7717
7872
  createdAt: string;
7718
7873
  createdBy: string;
7874
+ createdByRole: string;
7719
7875
  declaration: Record<string, string | number | boolean | {
7720
7876
  type: string;
7721
7877
  filename: string;
@@ -7753,8 +7909,9 @@ export declare const EventDocument: z.ZodObject<{
7753
7909
  option: string;
7754
7910
  filename: string;
7755
7911
  originalFilename: string;
7756
- }[] | undefined>;
7912
+ }[] | [string, string] | undefined>;
7757
7913
  createdAtLocation: string;
7914
+ assignedTo: null;
7758
7915
  annotation?: Record<string, string | number | boolean | {
7759
7916
  type: string;
7760
7917
  filename: string;
@@ -7792,14 +7949,16 @@ export declare const EventDocument: z.ZodObject<{
7792
7949
  option: string;
7793
7950
  filename: string;
7794
7951
  originalFilename: string;
7795
- }[] | undefined> | undefined;
7952
+ }[] | [string, string] | undefined> | undefined;
7796
7953
  originalActionId?: string | undefined;
7797
7954
  } | {
7798
7955
  type: "REGISTER";
7799
7956
  id: string;
7800
7957
  status: "Rejected" | "Requested" | "Accepted";
7958
+ transactionId: string;
7801
7959
  createdAt: string;
7802
7960
  createdBy: string;
7961
+ createdByRole: string;
7803
7962
  declaration: Record<string, string | number | boolean | {
7804
7963
  type: string;
7805
7964
  filename: string;
@@ -7837,7 +7996,7 @@ export declare const EventDocument: z.ZodObject<{
7837
7996
  option: string;
7838
7997
  filename: string;
7839
7998
  originalFilename: string;
7840
- }[] | undefined>;
7999
+ }[] | [string, string] | undefined>;
7841
8000
  createdAtLocation: string;
7842
8001
  annotation?: Record<string, string | number | boolean | {
7843
8002
  type: string;
@@ -7876,15 +8035,17 @@ export declare const EventDocument: z.ZodObject<{
7876
8035
  option: string;
7877
8036
  filename: string;
7878
8037
  originalFilename: string;
7879
- }[] | undefined> | undefined;
8038
+ }[] | [string, string] | undefined> | undefined;
7880
8039
  originalActionId?: string | undefined;
7881
8040
  registrationNumber?: string | undefined;
7882
8041
  } | {
7883
8042
  type: "DECLARE";
7884
8043
  id: string;
7885
8044
  status: "Rejected" | "Requested" | "Accepted";
8045
+ transactionId: string;
7886
8046
  createdAt: string;
7887
8047
  createdBy: string;
8048
+ createdByRole: string;
7888
8049
  declaration: Record<string, string | number | boolean | {
7889
8050
  type: string;
7890
8051
  filename: string;
@@ -7922,7 +8083,7 @@ export declare const EventDocument: z.ZodObject<{
7922
8083
  option: string;
7923
8084
  filename: string;
7924
8085
  originalFilename: string;
7925
- }[] | undefined>;
8086
+ }[] | [string, string] | undefined>;
7926
8087
  createdAtLocation: string;
7927
8088
  annotation?: Record<string, string | number | boolean | {
7928
8089
  type: string;
@@ -7961,14 +8122,16 @@ export declare const EventDocument: z.ZodObject<{
7961
8122
  option: string;
7962
8123
  filename: string;
7963
8124
  originalFilename: string;
7964
- }[] | undefined> | undefined;
8125
+ }[] | [string, string] | undefined> | undefined;
7965
8126
  originalActionId?: string | undefined;
7966
8127
  } | {
7967
8128
  type: "VALIDATE";
7968
8129
  id: string;
7969
8130
  status: "Rejected" | "Requested" | "Accepted";
8131
+ transactionId: string;
7970
8132
  createdAt: string;
7971
8133
  createdBy: string;
8134
+ createdByRole: string;
7972
8135
  declaration: Record<string, string | number | boolean | {
7973
8136
  type: string;
7974
8137
  filename: string;
@@ -8006,7 +8169,7 @@ export declare const EventDocument: z.ZodObject<{
8006
8169
  option: string;
8007
8170
  filename: string;
8008
8171
  originalFilename: string;
8009
- }[] | undefined>;
8172
+ }[] | [string, string] | undefined>;
8010
8173
  createdAtLocation: string;
8011
8174
  annotation?: Record<string, string | number | boolean | {
8012
8175
  type: string;
@@ -8045,14 +8208,16 @@ export declare const EventDocument: z.ZodObject<{
8045
8208
  option: string;
8046
8209
  filename: string;
8047
8210
  originalFilename: string;
8048
- }[] | undefined> | undefined;
8211
+ }[] | [string, string] | undefined> | undefined;
8049
8212
  originalActionId?: string | undefined;
8050
8213
  } | {
8051
8214
  type: "REJECT";
8052
8215
  id: string;
8053
8216
  status: "Rejected" | "Requested" | "Accepted";
8217
+ transactionId: string;
8054
8218
  createdAt: string;
8055
8219
  createdBy: string;
8220
+ createdByRole: string;
8056
8221
  declaration: Record<string, string | number | boolean | {
8057
8222
  type: string;
8058
8223
  filename: string;
@@ -8090,7 +8255,7 @@ export declare const EventDocument: z.ZodObject<{
8090
8255
  option: string;
8091
8256
  filename: string;
8092
8257
  originalFilename: string;
8093
- }[] | undefined>;
8258
+ }[] | [string, string] | undefined>;
8094
8259
  createdAtLocation: string;
8095
8260
  annotation?: Record<string, string | number | boolean | {
8096
8261
  type: string;
@@ -8129,14 +8294,16 @@ export declare const EventDocument: z.ZodObject<{
8129
8294
  option: string;
8130
8295
  filename: string;
8131
8296
  originalFilename: string;
8132
- }[] | undefined> | undefined;
8297
+ }[] | [string, string] | undefined> | undefined;
8133
8298
  originalActionId?: string | undefined;
8134
8299
  } | {
8135
8300
  type: "MARKED_AS_DUPLICATE";
8136
8301
  id: string;
8137
8302
  status: "Rejected" | "Requested" | "Accepted";
8303
+ transactionId: string;
8138
8304
  createdAt: string;
8139
8305
  createdBy: string;
8306
+ createdByRole: string;
8140
8307
  declaration: Record<string, string | number | boolean | {
8141
8308
  type: string;
8142
8309
  filename: string;
@@ -8174,7 +8341,7 @@ export declare const EventDocument: z.ZodObject<{
8174
8341
  option: string;
8175
8342
  filename: string;
8176
8343
  originalFilename: string;
8177
- }[] | undefined>;
8344
+ }[] | [string, string] | undefined>;
8178
8345
  createdAtLocation: string;
8179
8346
  annotation?: Record<string, string | number | boolean | {
8180
8347
  type: string;
@@ -8213,14 +8380,16 @@ export declare const EventDocument: z.ZodObject<{
8213
8380
  option: string;
8214
8381
  filename: string;
8215
8382
  originalFilename: string;
8216
- }[] | undefined> | undefined;
8383
+ }[] | [string, string] | undefined> | undefined;
8217
8384
  originalActionId?: string | undefined;
8218
8385
  } | {
8219
8386
  type: "ARCHIVE";
8220
8387
  id: string;
8221
8388
  status: "Rejected" | "Requested" | "Accepted";
8389
+ transactionId: string;
8222
8390
  createdAt: string;
8223
8391
  createdBy: string;
8392
+ createdByRole: string;
8224
8393
  declaration: Record<string, string | number | boolean | {
8225
8394
  type: string;
8226
8395
  filename: string;
@@ -8258,7 +8427,7 @@ export declare const EventDocument: z.ZodObject<{
8258
8427
  option: string;
8259
8428
  filename: string;
8260
8429
  originalFilename: string;
8261
- }[] | undefined>;
8430
+ }[] | [string, string] | undefined>;
8262
8431
  createdAtLocation: string;
8263
8432
  annotation?: Record<string, string | number | boolean | {
8264
8433
  type: string;
@@ -8297,14 +8466,16 @@ export declare const EventDocument: z.ZodObject<{
8297
8466
  option: string;
8298
8467
  filename: string;
8299
8468
  originalFilename: string;
8300
- }[] | undefined> | undefined;
8469
+ }[] | [string, string] | undefined> | undefined;
8301
8470
  originalActionId?: string | undefined;
8302
8471
  } | {
8303
8472
  type: "CREATE";
8304
8473
  id: string;
8305
8474
  status: "Rejected" | "Requested" | "Accepted";
8475
+ transactionId: string;
8306
8476
  createdAt: string;
8307
8477
  createdBy: string;
8478
+ createdByRole: string;
8308
8479
  declaration: Record<string, string | number | boolean | {
8309
8480
  type: string;
8310
8481
  filename: string;
@@ -8342,7 +8513,7 @@ export declare const EventDocument: z.ZodObject<{
8342
8513
  option: string;
8343
8514
  filename: string;
8344
8515
  originalFilename: string;
8345
- }[] | undefined>;
8516
+ }[] | [string, string] | undefined>;
8346
8517
  createdAtLocation: string;
8347
8518
  annotation?: Record<string, string | number | boolean | {
8348
8519
  type: string;
@@ -8381,14 +8552,16 @@ export declare const EventDocument: z.ZodObject<{
8381
8552
  option: string;
8382
8553
  filename: string;
8383
8554
  originalFilename: string;
8384
- }[] | undefined> | undefined;
8555
+ }[] | [string, string] | undefined> | undefined;
8385
8556
  originalActionId?: string | undefined;
8386
8557
  } | {
8387
8558
  type: "NOTIFY";
8388
8559
  id: string;
8389
8560
  status: "Rejected" | "Requested" | "Accepted";
8561
+ transactionId: string;
8390
8562
  createdAt: string;
8391
8563
  createdBy: string;
8564
+ createdByRole: string;
8392
8565
  declaration: Record<string, string | number | boolean | {
8393
8566
  type: string;
8394
8567
  filename: string;
@@ -8426,7 +8599,7 @@ export declare const EventDocument: z.ZodObject<{
8426
8599
  option: string;
8427
8600
  filename: string;
8428
8601
  originalFilename: string;
8429
- }[] | undefined>;
8602
+ }[] | [string, string] | undefined>;
8430
8603
  createdAtLocation: string;
8431
8604
  annotation?: Record<string, string | number | boolean | {
8432
8605
  type: string;
@@ -8465,14 +8638,16 @@ export declare const EventDocument: z.ZodObject<{
8465
8638
  option: string;
8466
8639
  filename: string;
8467
8640
  originalFilename: string;
8468
- }[] | undefined> | undefined;
8641
+ }[] | [string, string] | undefined> | undefined;
8469
8642
  originalActionId?: string | undefined;
8470
8643
  } | {
8471
8644
  type: "PRINT_CERTIFICATE";
8472
8645
  id: string;
8473
8646
  status: "Rejected" | "Requested" | "Accepted";
8647
+ transactionId: string;
8474
8648
  createdAt: string;
8475
8649
  createdBy: string;
8650
+ createdByRole: string;
8476
8651
  declaration: Record<string, string | number | boolean | {
8477
8652
  type: string;
8478
8653
  filename: string;
@@ -8510,7 +8685,7 @@ export declare const EventDocument: z.ZodObject<{
8510
8685
  option: string;
8511
8686
  filename: string;
8512
8687
  originalFilename: string;
8513
- }[] | undefined>;
8688
+ }[] | [string, string] | undefined>;
8514
8689
  createdAtLocation: string;
8515
8690
  annotation?: Record<string, string | number | boolean | {
8516
8691
  type: string;
@@ -8549,14 +8724,16 @@ export declare const EventDocument: z.ZodObject<{
8549
8724
  option: string;
8550
8725
  filename: string;
8551
8726
  originalFilename: string;
8552
- }[] | undefined> | undefined;
8727
+ }[] | [string, string] | undefined> | undefined;
8553
8728
  originalActionId?: string | undefined;
8554
8729
  } | {
8555
8730
  type: "REQUEST_CORRECTION";
8556
8731
  id: string;
8557
8732
  status: "Rejected" | "Requested" | "Accepted";
8733
+ transactionId: string;
8558
8734
  createdAt: string;
8559
8735
  createdBy: string;
8736
+ createdByRole: string;
8560
8737
  declaration: Record<string, string | number | boolean | {
8561
8738
  type: string;
8562
8739
  filename: string;
@@ -8594,7 +8771,7 @@ export declare const EventDocument: z.ZodObject<{
8594
8771
  option: string;
8595
8772
  filename: string;
8596
8773
  originalFilename: string;
8597
- }[] | undefined>;
8774
+ }[] | [string, string] | undefined>;
8598
8775
  createdAtLocation: string;
8599
8776
  annotation?: Record<string, string | number | boolean | {
8600
8777
  type: string;
@@ -8633,14 +8810,16 @@ export declare const EventDocument: z.ZodObject<{
8633
8810
  option: string;
8634
8811
  filename: string;
8635
8812
  originalFilename: string;
8636
- }[] | undefined> | undefined;
8813
+ }[] | [string, string] | undefined> | undefined;
8637
8814
  originalActionId?: string | undefined;
8638
8815
  } | {
8639
8816
  type: "APPROVE_CORRECTION";
8640
8817
  id: string;
8641
8818
  status: "Rejected" | "Requested" | "Accepted";
8819
+ transactionId: string;
8642
8820
  createdAt: string;
8643
8821
  createdBy: string;
8822
+ createdByRole: string;
8644
8823
  declaration: Record<string, string | number | boolean | {
8645
8824
  type: string;
8646
8825
  filename: string;
@@ -8678,7 +8857,7 @@ export declare const EventDocument: z.ZodObject<{
8678
8857
  option: string;
8679
8858
  filename: string;
8680
8859
  originalFilename: string;
8681
- }[] | undefined>;
8860
+ }[] | [string, string] | undefined>;
8682
8861
  createdAtLocation: string;
8683
8862
  requestId: string;
8684
8863
  annotation?: Record<string, string | number | boolean | {
@@ -8718,14 +8897,16 @@ export declare const EventDocument: z.ZodObject<{
8718
8897
  option: string;
8719
8898
  filename: string;
8720
8899
  originalFilename: string;
8721
- }[] | undefined> | undefined;
8900
+ }[] | [string, string] | undefined> | undefined;
8722
8901
  originalActionId?: string | undefined;
8723
8902
  } | {
8724
8903
  type: "REJECT_CORRECTION";
8725
8904
  id: string;
8726
8905
  status: "Rejected" | "Requested" | "Accepted";
8906
+ transactionId: string;
8727
8907
  createdAt: string;
8728
8908
  createdBy: string;
8909
+ createdByRole: string;
8729
8910
  declaration: Record<string, string | number | boolean | {
8730
8911
  type: string;
8731
8912
  filename: string;
@@ -8763,7 +8944,7 @@ export declare const EventDocument: z.ZodObject<{
8763
8944
  option: string;
8764
8945
  filename: string;
8765
8946
  originalFilename: string;
8766
- }[] | undefined>;
8947
+ }[] | [string, string] | undefined>;
8767
8948
  createdAtLocation: string;
8768
8949
  requestId: string;
8769
8950
  annotation?: Record<string, string | number | boolean | {
@@ -8803,14 +8984,16 @@ export declare const EventDocument: z.ZodObject<{
8803
8984
  option: string;
8804
8985
  filename: string;
8805
8986
  originalFilename: string;
8806
- }[] | undefined> | undefined;
8987
+ }[] | [string, string] | undefined> | undefined;
8807
8988
  originalActionId?: string | undefined;
8808
8989
  } | {
8809
8990
  type: "READ";
8810
8991
  id: string;
8811
8992
  status: "Rejected" | "Requested" | "Accepted";
8993
+ transactionId: string;
8812
8994
  createdAt: string;
8813
8995
  createdBy: string;
8996
+ createdByRole: string;
8814
8997
  declaration: Record<string, string | number | boolean | {
8815
8998
  type: string;
8816
8999
  filename: string;
@@ -8848,7 +9031,7 @@ export declare const EventDocument: z.ZodObject<{
8848
9031
  option: string;
8849
9032
  filename: string;
8850
9033
  originalFilename: string;
8851
- }[] | undefined>;
9034
+ }[] | [string, string] | undefined>;
8852
9035
  createdAtLocation: string;
8853
9036
  annotation?: Record<string, string | number | boolean | {
8854
9037
  type: string;
@@ -8887,16 +9070,25 @@ export declare const EventDocument: z.ZodObject<{
8887
9070
  option: string;
8888
9071
  filename: string;
8889
9072
  originalFilename: string;
8890
- }[] | undefined> | undefined;
9073
+ }[] | [string, string] | undefined> | undefined;
8891
9074
  originalActionId?: string | undefined;
8892
9075
  } | {
8893
9076
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8894
9077
  id: string;
8895
9078
  status: "Rejected";
9079
+ transactionId: string;
8896
9080
  createdAt: string;
9081
+ createdBy: string;
9082
+ createdByRole: string;
9083
+ createdAtLocation: string;
8897
9084
  originalActionId?: string | undefined;
8898
9085
  })[];
8899
9086
  trackingId: string;
9087
+ dateOfEvent?: {
9088
+ fieldId: string;
9089
+ } | undefined;
9090
+ registeredAt?: string | undefined;
9091
+ registeredAtLocation?: string | undefined;
8900
9092
  }>;
8901
9093
  export type EventDocument = z.infer<typeof EventDocument>;
8902
9094
  //# sourceMappingURL=EventDocument.d.ts.map