@opencrvs/toolkit 1.8.0-rc.fd31705 → 1.8.0-rc.fd754eb

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 (38) hide show
  1. package/dist/commons/api/router.d.ts +7717 -4214
  2. package/dist/commons/conditionals/conditionals.d.ts +9 -6
  3. package/dist/commons/conditionals/validate.d.ts +5 -11
  4. package/dist/commons/events/ActionConfig.d.ts +90025 -1680
  5. package/dist/commons/events/ActionDocument.d.ts +544 -207
  6. package/dist/commons/events/ActionInput.d.ts +466 -368
  7. package/dist/commons/events/ActionType.d.ts +2 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +369 -25
  9. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  10. package/dist/commons/events/Draft.d.ts +39 -23
  11. package/dist/commons/events/EventConfig.d.ts +42812 -1344
  12. package/dist/commons/events/EventDocument.d.ts +339 -153
  13. package/dist/commons/events/EventIndex.d.ts +1346 -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 +3733 -724
  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/TemplateConfig.d.ts +4 -4
  24. package/dist/commons/events/User.d.ts +5 -0
  25. package/dist/commons/events/WorkqueueConfig.d.ts +1135 -19
  26. package/dist/commons/events/defineConfig.d.ts +6971 -40
  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 +3 -0
  30. package/dist/commons/events/scopes.d.ts +26 -0
  31. package/dist/commons/events/test.utils.d.ts +8 -45
  32. package/dist/commons/events/utils.d.ts +3562 -71
  33. package/dist/commons/events/utils.test.d.ts +2 -0
  34. package/dist/conditionals/index.js +36 -33
  35. package/dist/events/index.js +1864 -1099
  36. package/dist/scopes/index.d.ts +70 -1
  37. package/dist/scopes/index.js +130 -0
  38. 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;
@@ -245,8 +254,10 @@ export declare const EventDocument: z.ZodObject<{
245
254
  type: "CREATE";
246
255
  id: string;
247
256
  status: "Rejected" | "Requested" | "Accepted";
257
+ transactionId: string;
248
258
  createdAt: string;
249
259
  createdBy: string;
260
+ createdByRole: string;
250
261
  declaration: Record<string, string | number | boolean | {
251
262
  type: string;
252
263
  filename: string;
@@ -284,7 +295,7 @@ export declare const EventDocument: z.ZodObject<{
284
295
  option: string;
285
296
  filename: string;
286
297
  originalFilename: string;
287
- }[] | undefined>;
298
+ }[] | [string, string] | undefined>;
288
299
  createdAtLocation: string;
289
300
  annotation?: Record<string, string | number | boolean | {
290
301
  type: string;
@@ -323,14 +334,16 @@ export declare const EventDocument: z.ZodObject<{
323
334
  option: string;
324
335
  filename: string;
325
336
  originalFilename: string;
326
- }[] | undefined> | undefined;
337
+ }[] | [string, string] | undefined> | undefined;
327
338
  originalActionId?: string | undefined;
328
339
  }, {
329
340
  type: "CREATE";
330
341
  id: string;
331
342
  status: "Rejected" | "Requested" | "Accepted";
343
+ transactionId: string;
332
344
  createdAt: string;
333
345
  createdBy: string;
346
+ createdByRole: string;
334
347
  declaration: Record<string, string | number | boolean | {
335
348
  type: string;
336
349
  filename: string;
@@ -368,7 +381,7 @@ export declare const EventDocument: z.ZodObject<{
368
381
  option: string;
369
382
  filename: string;
370
383
  originalFilename: string;
371
- }[] | undefined>;
384
+ }[] | [string, string] | undefined>;
372
385
  createdAtLocation: string;
373
386
  annotation?: Record<string, string | number | boolean | {
374
387
  type: string;
@@ -407,13 +420,15 @@ export declare const EventDocument: z.ZodObject<{
407
420
  option: string;
408
421
  filename: string;
409
422
  originalFilename: string;
410
- }[] | undefined> | undefined;
423
+ }[] | [string, string] | undefined> | undefined;
411
424
  originalActionId?: string | undefined;
412
425
  }>, z.ZodObject<z.objectUtil.extendShape<{
413
426
  id: z.ZodString;
427
+ transactionId: z.ZodString;
414
428
  createdAt: z.ZodString;
415
429
  createdBy: z.ZodString;
416
- 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<{
417
432
  filename: z.ZodString;
418
433
  originalFilename: z.ZodString;
419
434
  type: z.ZodString;
@@ -527,7 +542,7 @@ export declare const EventDocument: z.ZodObject<{
527
542
  addressLine3?: string | null | undefined;
528
543
  postcodeOrZip?: string | null | undefined;
529
544
  }>]>>;
530
- 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<{
531
546
  filename: z.ZodString;
532
547
  originalFilename: z.ZodString;
533
548
  type: z.ZodString;
@@ -650,8 +665,10 @@ export declare const EventDocument: z.ZodObject<{
650
665
  type: "VALIDATE";
651
666
  id: string;
652
667
  status: "Rejected" | "Requested" | "Accepted";
668
+ transactionId: string;
653
669
  createdAt: string;
654
670
  createdBy: string;
671
+ createdByRole: string;
655
672
  declaration: Record<string, string | number | boolean | {
656
673
  type: string;
657
674
  filename: string;
@@ -689,7 +706,7 @@ export declare const EventDocument: z.ZodObject<{
689
706
  option: string;
690
707
  filename: string;
691
708
  originalFilename: string;
692
- }[] | undefined>;
709
+ }[] | [string, string] | undefined>;
693
710
  createdAtLocation: string;
694
711
  annotation?: Record<string, string | number | boolean | {
695
712
  type: string;
@@ -728,14 +745,16 @@ export declare const EventDocument: z.ZodObject<{
728
745
  option: string;
729
746
  filename: string;
730
747
  originalFilename: string;
731
- }[] | undefined> | undefined;
748
+ }[] | [string, string] | undefined> | undefined;
732
749
  originalActionId?: string | undefined;
733
750
  }, {
734
751
  type: "VALIDATE";
735
752
  id: string;
736
753
  status: "Rejected" | "Requested" | "Accepted";
754
+ transactionId: string;
737
755
  createdAt: string;
738
756
  createdBy: string;
757
+ createdByRole: string;
739
758
  declaration: Record<string, string | number | boolean | {
740
759
  type: string;
741
760
  filename: string;
@@ -773,7 +792,7 @@ export declare const EventDocument: z.ZodObject<{
773
792
  option: string;
774
793
  filename: string;
775
794
  originalFilename: string;
776
- }[] | undefined>;
795
+ }[] | [string, string] | undefined>;
777
796
  createdAtLocation: string;
778
797
  annotation?: Record<string, string | number | boolean | {
779
798
  type: string;
@@ -812,13 +831,15 @@ export declare const EventDocument: z.ZodObject<{
812
831
  option: string;
813
832
  filename: string;
814
833
  originalFilename: string;
815
- }[] | undefined> | undefined;
834
+ }[] | [string, string] | undefined> | undefined;
816
835
  originalActionId?: string | undefined;
817
836
  }>, z.ZodObject<z.objectUtil.extendShape<{
818
837
  id: z.ZodString;
838
+ transactionId: z.ZodString;
819
839
  createdAt: z.ZodString;
820
840
  createdBy: z.ZodString;
821
- 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<{
822
843
  filename: z.ZodString;
823
844
  originalFilename: z.ZodString;
824
845
  type: z.ZodString;
@@ -932,7 +953,7 @@ export declare const EventDocument: z.ZodObject<{
932
953
  addressLine3?: string | null | undefined;
933
954
  postcodeOrZip?: string | null | undefined;
934
955
  }>]>>;
935
- 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<{
936
957
  filename: z.ZodString;
937
958
  originalFilename: z.ZodString;
938
959
  type: z.ZodString;
@@ -1055,8 +1076,10 @@ export declare const EventDocument: z.ZodObject<{
1055
1076
  type: "REJECT";
1056
1077
  id: string;
1057
1078
  status: "Rejected" | "Requested" | "Accepted";
1079
+ transactionId: string;
1058
1080
  createdAt: string;
1059
1081
  createdBy: string;
1082
+ createdByRole: string;
1060
1083
  declaration: Record<string, string | number | boolean | {
1061
1084
  type: string;
1062
1085
  filename: string;
@@ -1094,7 +1117,7 @@ export declare const EventDocument: z.ZodObject<{
1094
1117
  option: string;
1095
1118
  filename: string;
1096
1119
  originalFilename: string;
1097
- }[] | undefined>;
1120
+ }[] | [string, string] | undefined>;
1098
1121
  createdAtLocation: string;
1099
1122
  annotation?: Record<string, string | number | boolean | {
1100
1123
  type: string;
@@ -1133,14 +1156,16 @@ export declare const EventDocument: z.ZodObject<{
1133
1156
  option: string;
1134
1157
  filename: string;
1135
1158
  originalFilename: string;
1136
- }[] | undefined> | undefined;
1159
+ }[] | [string, string] | undefined> | undefined;
1137
1160
  originalActionId?: string | undefined;
1138
1161
  }, {
1139
1162
  type: "REJECT";
1140
1163
  id: string;
1141
1164
  status: "Rejected" | "Requested" | "Accepted";
1165
+ transactionId: string;
1142
1166
  createdAt: string;
1143
1167
  createdBy: string;
1168
+ createdByRole: string;
1144
1169
  declaration: Record<string, string | number | boolean | {
1145
1170
  type: string;
1146
1171
  filename: string;
@@ -1178,7 +1203,7 @@ export declare const EventDocument: z.ZodObject<{
1178
1203
  option: string;
1179
1204
  filename: string;
1180
1205
  originalFilename: string;
1181
- }[] | undefined>;
1206
+ }[] | [string, string] | undefined>;
1182
1207
  createdAtLocation: string;
1183
1208
  annotation?: Record<string, string | number | boolean | {
1184
1209
  type: string;
@@ -1217,13 +1242,15 @@ export declare const EventDocument: z.ZodObject<{
1217
1242
  option: string;
1218
1243
  filename: string;
1219
1244
  originalFilename: string;
1220
- }[] | undefined> | undefined;
1245
+ }[] | [string, string] | undefined> | undefined;
1221
1246
  originalActionId?: string | undefined;
1222
1247
  }>, z.ZodObject<z.objectUtil.extendShape<{
1223
1248
  id: z.ZodString;
1249
+ transactionId: z.ZodString;
1224
1250
  createdAt: z.ZodString;
1225
1251
  createdBy: z.ZodString;
1226
- 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<{
1227
1254
  filename: z.ZodString;
1228
1255
  originalFilename: z.ZodString;
1229
1256
  type: z.ZodString;
@@ -1337,7 +1364,7 @@ export declare const EventDocument: z.ZodObject<{
1337
1364
  addressLine3?: string | null | undefined;
1338
1365
  postcodeOrZip?: string | null | undefined;
1339
1366
  }>]>>;
1340
- 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<{
1341
1368
  filename: z.ZodString;
1342
1369
  originalFilename: z.ZodString;
1343
1370
  type: z.ZodString;
@@ -1460,8 +1487,10 @@ export declare const EventDocument: z.ZodObject<{
1460
1487
  type: "MARKED_AS_DUPLICATE";
1461
1488
  id: string;
1462
1489
  status: "Rejected" | "Requested" | "Accepted";
1490
+ transactionId: string;
1463
1491
  createdAt: string;
1464
1492
  createdBy: string;
1493
+ createdByRole: string;
1465
1494
  declaration: Record<string, string | number | boolean | {
1466
1495
  type: string;
1467
1496
  filename: string;
@@ -1499,7 +1528,7 @@ export declare const EventDocument: z.ZodObject<{
1499
1528
  option: string;
1500
1529
  filename: string;
1501
1530
  originalFilename: string;
1502
- }[] | undefined>;
1531
+ }[] | [string, string] | undefined>;
1503
1532
  createdAtLocation: string;
1504
1533
  annotation?: Record<string, string | number | boolean | {
1505
1534
  type: string;
@@ -1538,14 +1567,16 @@ export declare const EventDocument: z.ZodObject<{
1538
1567
  option: string;
1539
1568
  filename: string;
1540
1569
  originalFilename: string;
1541
- }[] | undefined> | undefined;
1570
+ }[] | [string, string] | undefined> | undefined;
1542
1571
  originalActionId?: string | undefined;
1543
1572
  }, {
1544
1573
  type: "MARKED_AS_DUPLICATE";
1545
1574
  id: string;
1546
1575
  status: "Rejected" | "Requested" | "Accepted";
1576
+ transactionId: string;
1547
1577
  createdAt: string;
1548
1578
  createdBy: string;
1579
+ createdByRole: string;
1549
1580
  declaration: Record<string, string | number | boolean | {
1550
1581
  type: string;
1551
1582
  filename: string;
@@ -1583,7 +1614,7 @@ export declare const EventDocument: z.ZodObject<{
1583
1614
  option: string;
1584
1615
  filename: string;
1585
1616
  originalFilename: string;
1586
- }[] | undefined>;
1617
+ }[] | [string, string] | undefined>;
1587
1618
  createdAtLocation: string;
1588
1619
  annotation?: Record<string, string | number | boolean | {
1589
1620
  type: string;
@@ -1622,13 +1653,15 @@ export declare const EventDocument: z.ZodObject<{
1622
1653
  option: string;
1623
1654
  filename: string;
1624
1655
  originalFilename: string;
1625
- }[] | undefined> | undefined;
1656
+ }[] | [string, string] | undefined> | undefined;
1626
1657
  originalActionId?: string | undefined;
1627
1658
  }>, z.ZodObject<z.objectUtil.extendShape<{
1628
1659
  id: z.ZodString;
1660
+ transactionId: z.ZodString;
1629
1661
  createdAt: z.ZodString;
1630
1662
  createdBy: z.ZodString;
1631
- 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<{
1632
1665
  filename: z.ZodString;
1633
1666
  originalFilename: z.ZodString;
1634
1667
  type: z.ZodString;
@@ -1742,7 +1775,7 @@ export declare const EventDocument: z.ZodObject<{
1742
1775
  addressLine3?: string | null | undefined;
1743
1776
  postcodeOrZip?: string | null | undefined;
1744
1777
  }>]>>;
1745
- 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<{
1746
1779
  filename: z.ZodString;
1747
1780
  originalFilename: z.ZodString;
1748
1781
  type: z.ZodString;
@@ -1865,8 +1898,10 @@ export declare const EventDocument: z.ZodObject<{
1865
1898
  type: "ARCHIVE";
1866
1899
  id: string;
1867
1900
  status: "Rejected" | "Requested" | "Accepted";
1901
+ transactionId: string;
1868
1902
  createdAt: string;
1869
1903
  createdBy: string;
1904
+ createdByRole: string;
1870
1905
  declaration: Record<string, string | number | boolean | {
1871
1906
  type: string;
1872
1907
  filename: string;
@@ -1904,7 +1939,7 @@ export declare const EventDocument: z.ZodObject<{
1904
1939
  option: string;
1905
1940
  filename: string;
1906
1941
  originalFilename: string;
1907
- }[] | undefined>;
1942
+ }[] | [string, string] | undefined>;
1908
1943
  createdAtLocation: string;
1909
1944
  annotation?: Record<string, string | number | boolean | {
1910
1945
  type: string;
@@ -1943,14 +1978,16 @@ export declare const EventDocument: z.ZodObject<{
1943
1978
  option: string;
1944
1979
  filename: string;
1945
1980
  originalFilename: string;
1946
- }[] | undefined> | undefined;
1981
+ }[] | [string, string] | undefined> | undefined;
1947
1982
  originalActionId?: string | undefined;
1948
1983
  }, {
1949
1984
  type: "ARCHIVE";
1950
1985
  id: string;
1951
1986
  status: "Rejected" | "Requested" | "Accepted";
1987
+ transactionId: string;
1952
1988
  createdAt: string;
1953
1989
  createdBy: string;
1990
+ createdByRole: string;
1954
1991
  declaration: Record<string, string | number | boolean | {
1955
1992
  type: string;
1956
1993
  filename: string;
@@ -1988,7 +2025,7 @@ export declare const EventDocument: z.ZodObject<{
1988
2025
  option: string;
1989
2026
  filename: string;
1990
2027
  originalFilename: string;
1991
- }[] | undefined>;
2028
+ }[] | [string, string] | undefined>;
1992
2029
  createdAtLocation: string;
1993
2030
  annotation?: Record<string, string | number | boolean | {
1994
2031
  type: string;
@@ -2027,13 +2064,15 @@ export declare const EventDocument: z.ZodObject<{
2027
2064
  option: string;
2028
2065
  filename: string;
2029
2066
  originalFilename: string;
2030
- }[] | undefined> | undefined;
2067
+ }[] | [string, string] | undefined> | undefined;
2031
2068
  originalActionId?: string | undefined;
2032
2069
  }>, z.ZodObject<z.objectUtil.extendShape<{
2033
2070
  id: z.ZodString;
2071
+ transactionId: z.ZodString;
2034
2072
  createdAt: z.ZodString;
2035
2073
  createdBy: z.ZodString;
2036
- 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<{
2037
2076
  filename: z.ZodString;
2038
2077
  originalFilename: z.ZodString;
2039
2078
  type: z.ZodString;
@@ -2147,7 +2186,7 @@ export declare const EventDocument: z.ZodObject<{
2147
2186
  addressLine3?: string | null | undefined;
2148
2187
  postcodeOrZip?: string | null | undefined;
2149
2188
  }>]>>;
2150
- 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<{
2151
2190
  filename: z.ZodString;
2152
2191
  originalFilename: z.ZodString;
2153
2192
  type: z.ZodString;
@@ -2270,8 +2309,10 @@ export declare const EventDocument: z.ZodObject<{
2270
2309
  type: "NOTIFY";
2271
2310
  id: string;
2272
2311
  status: "Rejected" | "Requested" | "Accepted";
2312
+ transactionId: string;
2273
2313
  createdAt: string;
2274
2314
  createdBy: string;
2315
+ createdByRole: string;
2275
2316
  declaration: Record<string, string | number | boolean | {
2276
2317
  type: string;
2277
2318
  filename: string;
@@ -2309,7 +2350,7 @@ export declare const EventDocument: z.ZodObject<{
2309
2350
  option: string;
2310
2351
  filename: string;
2311
2352
  originalFilename: string;
2312
- }[] | undefined>;
2353
+ }[] | [string, string] | undefined>;
2313
2354
  createdAtLocation: string;
2314
2355
  annotation?: Record<string, string | number | boolean | {
2315
2356
  type: string;
@@ -2348,14 +2389,16 @@ export declare const EventDocument: z.ZodObject<{
2348
2389
  option: string;
2349
2390
  filename: string;
2350
2391
  originalFilename: string;
2351
- }[] | undefined> | undefined;
2392
+ }[] | [string, string] | undefined> | undefined;
2352
2393
  originalActionId?: string | undefined;
2353
2394
  }, {
2354
2395
  type: "NOTIFY";
2355
2396
  id: string;
2356
2397
  status: "Rejected" | "Requested" | "Accepted";
2398
+ transactionId: string;
2357
2399
  createdAt: string;
2358
2400
  createdBy: string;
2401
+ createdByRole: string;
2359
2402
  declaration: Record<string, string | number | boolean | {
2360
2403
  type: string;
2361
2404
  filename: string;
@@ -2393,7 +2436,7 @@ export declare const EventDocument: z.ZodObject<{
2393
2436
  option: string;
2394
2437
  filename: string;
2395
2438
  originalFilename: string;
2396
- }[] | undefined>;
2439
+ }[] | [string, string] | undefined>;
2397
2440
  createdAtLocation: string;
2398
2441
  annotation?: Record<string, string | number | boolean | {
2399
2442
  type: string;
@@ -2432,13 +2475,15 @@ export declare const EventDocument: z.ZodObject<{
2432
2475
  option: string;
2433
2476
  filename: string;
2434
2477
  originalFilename: string;
2435
- }[] | undefined> | undefined;
2478
+ }[] | [string, string] | undefined> | undefined;
2436
2479
  originalActionId?: string | undefined;
2437
2480
  }>, z.ZodObject<z.objectUtil.extendShape<{
2438
2481
  id: z.ZodString;
2482
+ transactionId: z.ZodString;
2439
2483
  createdAt: z.ZodString;
2440
2484
  createdBy: z.ZodString;
2441
- 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<{
2442
2487
  filename: z.ZodString;
2443
2488
  originalFilename: z.ZodString;
2444
2489
  type: z.ZodString;
@@ -2552,7 +2597,7 @@ export declare const EventDocument: z.ZodObject<{
2552
2597
  addressLine3?: string | null | undefined;
2553
2598
  postcodeOrZip?: string | null | undefined;
2554
2599
  }>]>>;
2555
- 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<{
2556
2601
  filename: z.ZodString;
2557
2602
  originalFilename: z.ZodString;
2558
2603
  type: z.ZodString;
@@ -2676,8 +2721,10 @@ export declare const EventDocument: z.ZodObject<{
2676
2721
  type: "REGISTER";
2677
2722
  id: string;
2678
2723
  status: "Rejected" | "Requested" | "Accepted";
2724
+ transactionId: string;
2679
2725
  createdAt: string;
2680
2726
  createdBy: string;
2727
+ createdByRole: string;
2681
2728
  declaration: Record<string, string | number | boolean | {
2682
2729
  type: string;
2683
2730
  filename: string;
@@ -2715,7 +2762,7 @@ export declare const EventDocument: z.ZodObject<{
2715
2762
  option: string;
2716
2763
  filename: string;
2717
2764
  originalFilename: string;
2718
- }[] | undefined>;
2765
+ }[] | [string, string] | undefined>;
2719
2766
  createdAtLocation: string;
2720
2767
  annotation?: Record<string, string | number | boolean | {
2721
2768
  type: string;
@@ -2754,15 +2801,17 @@ export declare const EventDocument: z.ZodObject<{
2754
2801
  option: string;
2755
2802
  filename: string;
2756
2803
  originalFilename: string;
2757
- }[] | undefined> | undefined;
2804
+ }[] | [string, string] | undefined> | undefined;
2758
2805
  originalActionId?: string | undefined;
2759
2806
  registrationNumber?: string | undefined;
2760
2807
  }, {
2761
2808
  type: "REGISTER";
2762
2809
  id: string;
2763
2810
  status: "Rejected" | "Requested" | "Accepted";
2811
+ transactionId: string;
2764
2812
  createdAt: string;
2765
2813
  createdBy: string;
2814
+ createdByRole: string;
2766
2815
  declaration: Record<string, string | number | boolean | {
2767
2816
  type: string;
2768
2817
  filename: string;
@@ -2800,7 +2849,7 @@ export declare const EventDocument: z.ZodObject<{
2800
2849
  option: string;
2801
2850
  filename: string;
2802
2851
  originalFilename: string;
2803
- }[] | undefined>;
2852
+ }[] | [string, string] | undefined>;
2804
2853
  createdAtLocation: string;
2805
2854
  annotation?: Record<string, string | number | boolean | {
2806
2855
  type: string;
@@ -2839,14 +2888,16 @@ export declare const EventDocument: z.ZodObject<{
2839
2888
  option: string;
2840
2889
  filename: string;
2841
2890
  originalFilename: string;
2842
- }[] | undefined> | undefined;
2891
+ }[] | [string, string] | undefined> | undefined;
2843
2892
  originalActionId?: string | undefined;
2844
2893
  registrationNumber?: string | undefined;
2845
2894
  }>, z.ZodObject<z.objectUtil.extendShape<{
2846
2895
  id: z.ZodString;
2896
+ transactionId: z.ZodString;
2847
2897
  createdAt: z.ZodString;
2848
2898
  createdBy: z.ZodString;
2849
- 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<{
2850
2901
  filename: z.ZodString;
2851
2902
  originalFilename: z.ZodString;
2852
2903
  type: z.ZodString;
@@ -2960,7 +3011,7 @@ export declare const EventDocument: z.ZodObject<{
2960
3011
  addressLine3?: string | null | undefined;
2961
3012
  postcodeOrZip?: string | null | undefined;
2962
3013
  }>]>>;
2963
- 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<{
2964
3015
  filename: z.ZodString;
2965
3016
  originalFilename: z.ZodString;
2966
3017
  type: z.ZodString;
@@ -3083,8 +3134,10 @@ export declare const EventDocument: z.ZodObject<{
3083
3134
  type: "DECLARE";
3084
3135
  id: string;
3085
3136
  status: "Rejected" | "Requested" | "Accepted";
3137
+ transactionId: string;
3086
3138
  createdAt: string;
3087
3139
  createdBy: string;
3140
+ createdByRole: string;
3088
3141
  declaration: Record<string, string | number | boolean | {
3089
3142
  type: string;
3090
3143
  filename: string;
@@ -3122,7 +3175,7 @@ export declare const EventDocument: z.ZodObject<{
3122
3175
  option: string;
3123
3176
  filename: string;
3124
3177
  originalFilename: string;
3125
- }[] | undefined>;
3178
+ }[] | [string, string] | undefined>;
3126
3179
  createdAtLocation: string;
3127
3180
  annotation?: Record<string, string | number | boolean | {
3128
3181
  type: string;
@@ -3161,14 +3214,16 @@ export declare const EventDocument: z.ZodObject<{
3161
3214
  option: string;
3162
3215
  filename: string;
3163
3216
  originalFilename: string;
3164
- }[] | undefined> | undefined;
3217
+ }[] | [string, string] | undefined> | undefined;
3165
3218
  originalActionId?: string | undefined;
3166
3219
  }, {
3167
3220
  type: "DECLARE";
3168
3221
  id: string;
3169
3222
  status: "Rejected" | "Requested" | "Accepted";
3223
+ transactionId: string;
3170
3224
  createdAt: string;
3171
3225
  createdBy: string;
3226
+ createdByRole: string;
3172
3227
  declaration: Record<string, string | number | boolean | {
3173
3228
  type: string;
3174
3229
  filename: string;
@@ -3206,7 +3261,7 @@ export declare const EventDocument: z.ZodObject<{
3206
3261
  option: string;
3207
3262
  filename: string;
3208
3263
  originalFilename: string;
3209
- }[] | undefined>;
3264
+ }[] | [string, string] | undefined>;
3210
3265
  createdAtLocation: string;
3211
3266
  annotation?: Record<string, string | number | boolean | {
3212
3267
  type: string;
@@ -3245,13 +3300,15 @@ export declare const EventDocument: z.ZodObject<{
3245
3300
  option: string;
3246
3301
  filename: string;
3247
3302
  originalFilename: string;
3248
- }[] | undefined> | undefined;
3303
+ }[] | [string, string] | undefined> | undefined;
3249
3304
  originalActionId?: string | undefined;
3250
3305
  }>, z.ZodObject<z.objectUtil.extendShape<{
3251
3306
  id: z.ZodString;
3307
+ transactionId: z.ZodString;
3252
3308
  createdAt: z.ZodString;
3253
3309
  createdBy: z.ZodString;
3254
- 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<{
3255
3312
  filename: z.ZodString;
3256
3313
  originalFilename: z.ZodString;
3257
3314
  type: z.ZodString;
@@ -3365,7 +3422,7 @@ export declare const EventDocument: z.ZodObject<{
3365
3422
  addressLine3?: string | null | undefined;
3366
3423
  postcodeOrZip?: string | null | undefined;
3367
3424
  }>]>>;
3368
- 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<{
3369
3426
  filename: z.ZodString;
3370
3427
  originalFilename: z.ZodString;
3371
3428
  type: z.ZodString;
@@ -3489,8 +3546,10 @@ export declare const EventDocument: z.ZodObject<{
3489
3546
  type: "ASSIGN";
3490
3547
  id: string;
3491
3548
  status: "Rejected" | "Requested" | "Accepted";
3549
+ transactionId: string;
3492
3550
  createdAt: string;
3493
3551
  createdBy: string;
3552
+ createdByRole: string;
3494
3553
  declaration: Record<string, string | number | boolean | {
3495
3554
  type: string;
3496
3555
  filename: string;
@@ -3528,7 +3587,7 @@ export declare const EventDocument: z.ZodObject<{
3528
3587
  option: string;
3529
3588
  filename: string;
3530
3589
  originalFilename: string;
3531
- }[] | undefined>;
3590
+ }[] | [string, string] | undefined>;
3532
3591
  createdAtLocation: string;
3533
3592
  assignedTo: string;
3534
3593
  annotation?: Record<string, string | number | boolean | {
@@ -3568,14 +3627,16 @@ export declare const EventDocument: z.ZodObject<{
3568
3627
  option: string;
3569
3628
  filename: string;
3570
3629
  originalFilename: string;
3571
- }[] | undefined> | undefined;
3630
+ }[] | [string, string] | undefined> | undefined;
3572
3631
  originalActionId?: string | undefined;
3573
3632
  }, {
3574
3633
  type: "ASSIGN";
3575
3634
  id: string;
3576
3635
  status: "Rejected" | "Requested" | "Accepted";
3636
+ transactionId: string;
3577
3637
  createdAt: string;
3578
3638
  createdBy: string;
3639
+ createdByRole: string;
3579
3640
  declaration: Record<string, string | number | boolean | {
3580
3641
  type: string;
3581
3642
  filename: string;
@@ -3613,7 +3674,7 @@ export declare const EventDocument: z.ZodObject<{
3613
3674
  option: string;
3614
3675
  filename: string;
3615
3676
  originalFilename: string;
3616
- }[] | undefined>;
3677
+ }[] | [string, string] | undefined>;
3617
3678
  createdAtLocation: string;
3618
3679
  assignedTo: string;
3619
3680
  annotation?: Record<string, string | number | boolean | {
@@ -3653,13 +3714,15 @@ export declare const EventDocument: z.ZodObject<{
3653
3714
  option: string;
3654
3715
  filename: string;
3655
3716
  originalFilename: string;
3656
- }[] | undefined> | undefined;
3717
+ }[] | [string, string] | undefined> | undefined;
3657
3718
  originalActionId?: string | undefined;
3658
3719
  }>, z.ZodObject<z.objectUtil.extendShape<{
3659
3720
  id: z.ZodString;
3721
+ transactionId: z.ZodString;
3660
3722
  createdAt: z.ZodString;
3661
3723
  createdBy: z.ZodString;
3662
- 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<{
3663
3726
  filename: z.ZodString;
3664
3727
  originalFilename: z.ZodString;
3665
3728
  type: z.ZodString;
@@ -3773,7 +3836,7 @@ export declare const EventDocument: z.ZodObject<{
3773
3836
  addressLine3?: string | null | undefined;
3774
3837
  postcodeOrZip?: string | null | undefined;
3775
3838
  }>]>>;
3776
- 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<{
3777
3840
  filename: z.ZodString;
3778
3841
  originalFilename: z.ZodString;
3779
3842
  type: z.ZodString;
@@ -3896,8 +3959,10 @@ export declare const EventDocument: z.ZodObject<{
3896
3959
  type: "REQUEST_CORRECTION";
3897
3960
  id: string;
3898
3961
  status: "Rejected" | "Requested" | "Accepted";
3962
+ transactionId: string;
3899
3963
  createdAt: string;
3900
3964
  createdBy: string;
3965
+ createdByRole: string;
3901
3966
  declaration: Record<string, string | number | boolean | {
3902
3967
  type: string;
3903
3968
  filename: string;
@@ -3935,7 +4000,7 @@ export declare const EventDocument: z.ZodObject<{
3935
4000
  option: string;
3936
4001
  filename: string;
3937
4002
  originalFilename: string;
3938
- }[] | undefined>;
4003
+ }[] | [string, string] | undefined>;
3939
4004
  createdAtLocation: string;
3940
4005
  annotation?: Record<string, string | number | boolean | {
3941
4006
  type: string;
@@ -3974,14 +4039,16 @@ export declare const EventDocument: z.ZodObject<{
3974
4039
  option: string;
3975
4040
  filename: string;
3976
4041
  originalFilename: string;
3977
- }[] | undefined> | undefined;
4042
+ }[] | [string, string] | undefined> | undefined;
3978
4043
  originalActionId?: string | undefined;
3979
4044
  }, {
3980
4045
  type: "REQUEST_CORRECTION";
3981
4046
  id: string;
3982
4047
  status: "Rejected" | "Requested" | "Accepted";
4048
+ transactionId: string;
3983
4049
  createdAt: string;
3984
4050
  createdBy: string;
4051
+ createdByRole: string;
3985
4052
  declaration: Record<string, string | number | boolean | {
3986
4053
  type: string;
3987
4054
  filename: string;
@@ -4019,7 +4086,7 @@ export declare const EventDocument: z.ZodObject<{
4019
4086
  option: string;
4020
4087
  filename: string;
4021
4088
  originalFilename: string;
4022
- }[] | undefined>;
4089
+ }[] | [string, string] | undefined>;
4023
4090
  createdAtLocation: string;
4024
4091
  annotation?: Record<string, string | number | boolean | {
4025
4092
  type: string;
@@ -4058,13 +4125,15 @@ export declare const EventDocument: z.ZodObject<{
4058
4125
  option: string;
4059
4126
  filename: string;
4060
4127
  originalFilename: string;
4061
- }[] | undefined> | undefined;
4128
+ }[] | [string, string] | undefined> | undefined;
4062
4129
  originalActionId?: string | undefined;
4063
4130
  }>, z.ZodObject<z.objectUtil.extendShape<{
4064
4131
  id: z.ZodString;
4132
+ transactionId: z.ZodString;
4065
4133
  createdAt: z.ZodString;
4066
4134
  createdBy: z.ZodString;
4067
- 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<{
4068
4137
  filename: z.ZodString;
4069
4138
  originalFilename: z.ZodString;
4070
4139
  type: z.ZodString;
@@ -4178,7 +4247,7 @@ export declare const EventDocument: z.ZodObject<{
4178
4247
  addressLine3?: string | null | undefined;
4179
4248
  postcodeOrZip?: string | null | undefined;
4180
4249
  }>]>>;
4181
- 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<{
4182
4251
  filename: z.ZodString;
4183
4252
  originalFilename: z.ZodString;
4184
4253
  type: z.ZodString;
@@ -4302,8 +4371,10 @@ export declare const EventDocument: z.ZodObject<{
4302
4371
  type: "APPROVE_CORRECTION";
4303
4372
  id: string;
4304
4373
  status: "Rejected" | "Requested" | "Accepted";
4374
+ transactionId: string;
4305
4375
  createdAt: string;
4306
4376
  createdBy: string;
4377
+ createdByRole: string;
4307
4378
  declaration: Record<string, string | number | boolean | {
4308
4379
  type: string;
4309
4380
  filename: string;
@@ -4341,7 +4412,7 @@ export declare const EventDocument: z.ZodObject<{
4341
4412
  option: string;
4342
4413
  filename: string;
4343
4414
  originalFilename: string;
4344
- }[] | undefined>;
4415
+ }[] | [string, string] | undefined>;
4345
4416
  createdAtLocation: string;
4346
4417
  requestId: string;
4347
4418
  annotation?: Record<string, string | number | boolean | {
@@ -4381,14 +4452,16 @@ export declare const EventDocument: z.ZodObject<{
4381
4452
  option: string;
4382
4453
  filename: string;
4383
4454
  originalFilename: string;
4384
- }[] | undefined> | undefined;
4455
+ }[] | [string, string] | undefined> | undefined;
4385
4456
  originalActionId?: string | undefined;
4386
4457
  }, {
4387
4458
  type: "APPROVE_CORRECTION";
4388
4459
  id: string;
4389
4460
  status: "Rejected" | "Requested" | "Accepted";
4461
+ transactionId: string;
4390
4462
  createdAt: string;
4391
4463
  createdBy: string;
4464
+ createdByRole: string;
4392
4465
  declaration: Record<string, string | number | boolean | {
4393
4466
  type: string;
4394
4467
  filename: string;
@@ -4426,7 +4499,7 @@ export declare const EventDocument: z.ZodObject<{
4426
4499
  option: string;
4427
4500
  filename: string;
4428
4501
  originalFilename: string;
4429
- }[] | undefined>;
4502
+ }[] | [string, string] | undefined>;
4430
4503
  createdAtLocation: string;
4431
4504
  requestId: string;
4432
4505
  annotation?: Record<string, string | number | boolean | {
@@ -4466,13 +4539,15 @@ export declare const EventDocument: z.ZodObject<{
4466
4539
  option: string;
4467
4540
  filename: string;
4468
4541
  originalFilename: string;
4469
- }[] | undefined> | undefined;
4542
+ }[] | [string, string] | undefined> | undefined;
4470
4543
  originalActionId?: string | undefined;
4471
4544
  }>, z.ZodObject<z.objectUtil.extendShape<{
4472
4545
  id: z.ZodString;
4546
+ transactionId: z.ZodString;
4473
4547
  createdAt: z.ZodString;
4474
4548
  createdBy: z.ZodString;
4475
- 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<{
4476
4551
  filename: z.ZodString;
4477
4552
  originalFilename: z.ZodString;
4478
4553
  type: z.ZodString;
@@ -4586,7 +4661,7 @@ export declare const EventDocument: z.ZodObject<{
4586
4661
  addressLine3?: string | null | undefined;
4587
4662
  postcodeOrZip?: string | null | undefined;
4588
4663
  }>]>>;
4589
- 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<{
4590
4665
  filename: z.ZodString;
4591
4666
  originalFilename: z.ZodString;
4592
4667
  type: z.ZodString;
@@ -4710,8 +4785,10 @@ export declare const EventDocument: z.ZodObject<{
4710
4785
  type: "REJECT_CORRECTION";
4711
4786
  id: string;
4712
4787
  status: "Rejected" | "Requested" | "Accepted";
4788
+ transactionId: string;
4713
4789
  createdAt: string;
4714
4790
  createdBy: string;
4791
+ createdByRole: string;
4715
4792
  declaration: Record<string, string | number | boolean | {
4716
4793
  type: string;
4717
4794
  filename: string;
@@ -4749,7 +4826,7 @@ export declare const EventDocument: z.ZodObject<{
4749
4826
  option: string;
4750
4827
  filename: string;
4751
4828
  originalFilename: string;
4752
- }[] | undefined>;
4829
+ }[] | [string, string] | undefined>;
4753
4830
  createdAtLocation: string;
4754
4831
  requestId: string;
4755
4832
  annotation?: Record<string, string | number | boolean | {
@@ -4789,14 +4866,16 @@ export declare const EventDocument: z.ZodObject<{
4789
4866
  option: string;
4790
4867
  filename: string;
4791
4868
  originalFilename: string;
4792
- }[] | undefined> | undefined;
4869
+ }[] | [string, string] | undefined> | undefined;
4793
4870
  originalActionId?: string | undefined;
4794
4871
  }, {
4795
4872
  type: "REJECT_CORRECTION";
4796
4873
  id: string;
4797
4874
  status: "Rejected" | "Requested" | "Accepted";
4875
+ transactionId: string;
4798
4876
  createdAt: string;
4799
4877
  createdBy: string;
4878
+ createdByRole: string;
4800
4879
  declaration: Record<string, string | number | boolean | {
4801
4880
  type: string;
4802
4881
  filename: string;
@@ -4834,7 +4913,7 @@ export declare const EventDocument: z.ZodObject<{
4834
4913
  option: string;
4835
4914
  filename: string;
4836
4915
  originalFilename: string;
4837
- }[] | undefined>;
4916
+ }[] | [string, string] | undefined>;
4838
4917
  createdAtLocation: string;
4839
4918
  requestId: string;
4840
4919
  annotation?: Record<string, string | number | boolean | {
@@ -4874,13 +4953,15 @@ export declare const EventDocument: z.ZodObject<{
4874
4953
  option: string;
4875
4954
  filename: string;
4876
4955
  originalFilename: string;
4877
- }[] | undefined> | undefined;
4956
+ }[] | [string, string] | undefined> | undefined;
4878
4957
  originalActionId?: string | undefined;
4879
4958
  }>, z.ZodObject<z.objectUtil.extendShape<{
4880
4959
  id: z.ZodString;
4960
+ transactionId: z.ZodString;
4881
4961
  createdAt: z.ZodString;
4882
4962
  createdBy: z.ZodString;
4883
- 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<{
4884
4965
  filename: z.ZodString;
4885
4966
  originalFilename: z.ZodString;
4886
4967
  type: z.ZodString;
@@ -4994,7 +5075,7 @@ export declare const EventDocument: z.ZodObject<{
4994
5075
  addressLine3?: string | null | undefined;
4995
5076
  postcodeOrZip?: string | null | undefined;
4996
5077
  }>]>>;
4997
- 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<{
4998
5079
  filename: z.ZodString;
4999
5080
  originalFilename: z.ZodString;
5000
5081
  type: z.ZodString;
@@ -5113,12 +5194,15 @@ export declare const EventDocument: z.ZodObject<{
5113
5194
  originalActionId: z.ZodOptional<z.ZodString>;
5114
5195
  }, {
5115
5196
  type: z.ZodLiteral<"UNASSIGN">;
5197
+ assignedTo: z.ZodLiteral<null>;
5116
5198
  }>, "strip", z.ZodTypeAny, {
5117
5199
  type: "UNASSIGN";
5118
5200
  id: string;
5119
5201
  status: "Rejected" | "Requested" | "Accepted";
5202
+ transactionId: string;
5120
5203
  createdAt: string;
5121
5204
  createdBy: string;
5205
+ createdByRole: string;
5122
5206
  declaration: Record<string, string | number | boolean | {
5123
5207
  type: string;
5124
5208
  filename: string;
@@ -5156,8 +5240,9 @@ export declare const EventDocument: z.ZodObject<{
5156
5240
  option: string;
5157
5241
  filename: string;
5158
5242
  originalFilename: string;
5159
- }[] | undefined>;
5243
+ }[] | [string, string] | undefined>;
5160
5244
  createdAtLocation: string;
5245
+ assignedTo: null;
5161
5246
  annotation?: Record<string, string | number | boolean | {
5162
5247
  type: string;
5163
5248
  filename: string;
@@ -5195,14 +5280,16 @@ export declare const EventDocument: z.ZodObject<{
5195
5280
  option: string;
5196
5281
  filename: string;
5197
5282
  originalFilename: string;
5198
- }[] | undefined> | undefined;
5283
+ }[] | [string, string] | undefined> | undefined;
5199
5284
  originalActionId?: string | undefined;
5200
5285
  }, {
5201
5286
  type: "UNASSIGN";
5202
5287
  id: string;
5203
5288
  status: "Rejected" | "Requested" | "Accepted";
5289
+ transactionId: string;
5204
5290
  createdAt: string;
5205
5291
  createdBy: string;
5292
+ createdByRole: string;
5206
5293
  declaration: Record<string, string | number | boolean | {
5207
5294
  type: string;
5208
5295
  filename: string;
@@ -5240,8 +5327,9 @@ export declare const EventDocument: z.ZodObject<{
5240
5327
  option: string;
5241
5328
  filename: string;
5242
5329
  originalFilename: string;
5243
- }[] | undefined>;
5330
+ }[] | [string, string] | undefined>;
5244
5331
  createdAtLocation: string;
5332
+ assignedTo: null;
5245
5333
  annotation?: Record<string, string | number | boolean | {
5246
5334
  type: string;
5247
5335
  filename: string;
@@ -5279,13 +5367,15 @@ export declare const EventDocument: z.ZodObject<{
5279
5367
  option: string;
5280
5368
  filename: string;
5281
5369
  originalFilename: string;
5282
- }[] | undefined> | undefined;
5370
+ }[] | [string, string] | undefined> | undefined;
5283
5371
  originalActionId?: string | undefined;
5284
5372
  }>, z.ZodObject<z.objectUtil.extendShape<{
5285
5373
  id: z.ZodString;
5374
+ transactionId: z.ZodString;
5286
5375
  createdAt: z.ZodString;
5287
5376
  createdBy: z.ZodString;
5288
- 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<{
5289
5379
  filename: z.ZodString;
5290
5380
  originalFilename: z.ZodString;
5291
5381
  type: z.ZodString;
@@ -5399,7 +5489,7 @@ export declare const EventDocument: z.ZodObject<{
5399
5489
  addressLine3?: string | null | undefined;
5400
5490
  postcodeOrZip?: string | null | undefined;
5401
5491
  }>]>>;
5402
- 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<{
5403
5493
  filename: z.ZodString;
5404
5494
  originalFilename: z.ZodString;
5405
5495
  type: z.ZodString;
@@ -5522,8 +5612,10 @@ export declare const EventDocument: z.ZodObject<{
5522
5612
  type: "PRINT_CERTIFICATE";
5523
5613
  id: string;
5524
5614
  status: "Rejected" | "Requested" | "Accepted";
5615
+ transactionId: string;
5525
5616
  createdAt: string;
5526
5617
  createdBy: string;
5618
+ createdByRole: string;
5527
5619
  declaration: Record<string, string | number | boolean | {
5528
5620
  type: string;
5529
5621
  filename: string;
@@ -5561,7 +5653,7 @@ export declare const EventDocument: z.ZodObject<{
5561
5653
  option: string;
5562
5654
  filename: string;
5563
5655
  originalFilename: string;
5564
- }[] | undefined>;
5656
+ }[] | [string, string] | undefined>;
5565
5657
  createdAtLocation: string;
5566
5658
  annotation?: Record<string, string | number | boolean | {
5567
5659
  type: string;
@@ -5600,14 +5692,16 @@ export declare const EventDocument: z.ZodObject<{
5600
5692
  option: string;
5601
5693
  filename: string;
5602
5694
  originalFilename: string;
5603
- }[] | undefined> | undefined;
5695
+ }[] | [string, string] | undefined> | undefined;
5604
5696
  originalActionId?: string | undefined;
5605
5697
  }, {
5606
5698
  type: "PRINT_CERTIFICATE";
5607
5699
  id: string;
5608
5700
  status: "Rejected" | "Requested" | "Accepted";
5701
+ transactionId: string;
5609
5702
  createdAt: string;
5610
5703
  createdBy: string;
5704
+ createdByRole: string;
5611
5705
  declaration: Record<string, string | number | boolean | {
5612
5706
  type: string;
5613
5707
  filename: string;
@@ -5645,7 +5739,7 @@ export declare const EventDocument: z.ZodObject<{
5645
5739
  option: string;
5646
5740
  filename: string;
5647
5741
  originalFilename: string;
5648
- }[] | undefined>;
5742
+ }[] | [string, string] | undefined>;
5649
5743
  createdAtLocation: string;
5650
5744
  annotation?: Record<string, string | number | boolean | {
5651
5745
  type: string;
@@ -5684,13 +5778,15 @@ export declare const EventDocument: z.ZodObject<{
5684
5778
  option: string;
5685
5779
  filename: string;
5686
5780
  originalFilename: string;
5687
- }[] | undefined> | undefined;
5781
+ }[] | [string, string] | undefined> | undefined;
5688
5782
  originalActionId?: string | undefined;
5689
5783
  }>, z.ZodObject<z.objectUtil.extendShape<{
5690
5784
  id: z.ZodString;
5785
+ transactionId: z.ZodString;
5691
5786
  createdAt: z.ZodString;
5692
5787
  createdBy: z.ZodString;
5693
- 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<{
5694
5790
  filename: z.ZodString;
5695
5791
  originalFilename: z.ZodString;
5696
5792
  type: z.ZodString;
@@ -5804,7 +5900,7 @@ export declare const EventDocument: z.ZodObject<{
5804
5900
  addressLine3?: string | null | undefined;
5805
5901
  postcodeOrZip?: string | null | undefined;
5806
5902
  }>]>>;
5807
- 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<{
5808
5904
  filename: z.ZodString;
5809
5905
  originalFilename: z.ZodString;
5810
5906
  type: z.ZodString;
@@ -5927,8 +6023,10 @@ export declare const EventDocument: z.ZodObject<{
5927
6023
  type: "READ";
5928
6024
  id: string;
5929
6025
  status: "Rejected" | "Requested" | "Accepted";
6026
+ transactionId: string;
5930
6027
  createdAt: string;
5931
6028
  createdBy: string;
6029
+ createdByRole: string;
5932
6030
  declaration: Record<string, string | number | boolean | {
5933
6031
  type: string;
5934
6032
  filename: string;
@@ -5966,7 +6064,7 @@ export declare const EventDocument: z.ZodObject<{
5966
6064
  option: string;
5967
6065
  filename: string;
5968
6066
  originalFilename: string;
5969
- }[] | undefined>;
6067
+ }[] | [string, string] | undefined>;
5970
6068
  createdAtLocation: string;
5971
6069
  annotation?: Record<string, string | number | boolean | {
5972
6070
  type: string;
@@ -6005,14 +6103,16 @@ export declare const EventDocument: z.ZodObject<{
6005
6103
  option: string;
6006
6104
  filename: string;
6007
6105
  originalFilename: string;
6008
- }[] | undefined> | undefined;
6106
+ }[] | [string, string] | undefined> | undefined;
6009
6107
  originalActionId?: string | undefined;
6010
6108
  }, {
6011
6109
  type: "READ";
6012
6110
  id: string;
6013
6111
  status: "Rejected" | "Requested" | "Accepted";
6112
+ transactionId: string;
6014
6113
  createdAt: string;
6015
6114
  createdBy: string;
6115
+ createdByRole: string;
6016
6116
  declaration: Record<string, string | number | boolean | {
6017
6117
  type: string;
6018
6118
  filename: string;
@@ -6050,7 +6150,7 @@ export declare const EventDocument: z.ZodObject<{
6050
6150
  option: string;
6051
6151
  filename: string;
6052
6152
  originalFilename: string;
6053
- }[] | undefined>;
6153
+ }[] | [string, string] | undefined>;
6054
6154
  createdAtLocation: string;
6055
6155
  annotation?: Record<string, string | number | boolean | {
6056
6156
  type: string;
@@ -6089,13 +6189,15 @@ export declare const EventDocument: z.ZodObject<{
6089
6189
  option: string;
6090
6190
  filename: string;
6091
6191
  originalFilename: string;
6092
- }[] | undefined> | undefined;
6192
+ }[] | [string, string] | undefined> | undefined;
6093
6193
  originalActionId?: string | undefined;
6094
6194
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6095
6195
  id: z.ZodString;
6196
+ transactionId: z.ZodString;
6096
6197
  createdAt: z.ZodString;
6097
6198
  createdBy: z.ZodString;
6098
- 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<{
6099
6201
  filename: z.ZodString;
6100
6202
  originalFilename: z.ZodString;
6101
6203
  type: z.ZodString;
@@ -6209,7 +6311,7 @@ export declare const EventDocument: z.ZodObject<{
6209
6311
  addressLine3?: string | null | undefined;
6210
6312
  postcodeOrZip?: string | null | undefined;
6211
6313
  }>]>>;
6212
- 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<{
6213
6315
  filename: z.ZodString;
6214
6316
  originalFilename: z.ZodString;
6215
6317
  type: z.ZodString;
@@ -6326,20 +6428,28 @@ export declare const EventDocument: z.ZodObject<{
6326
6428
  createdAtLocation: z.ZodString;
6327
6429
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6328
6430
  originalActionId: z.ZodOptional<z.ZodString>;
6329
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6431
+ }, "declaration" | "annotation">, {
6330
6432
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6331
6433
  status: z.ZodLiteral<"Rejected">;
6332
6434
  }>, "strip", z.ZodTypeAny, {
6333
6435
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6334
6436
  id: string;
6335
6437
  status: "Rejected";
6438
+ transactionId: string;
6336
6439
  createdAt: string;
6440
+ createdBy: string;
6441
+ createdByRole: string;
6442
+ createdAtLocation: string;
6337
6443
  originalActionId?: string | undefined;
6338
6444
  }, {
6339
6445
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6340
6446
  id: string;
6341
6447
  status: "Rejected";
6448
+ transactionId: string;
6342
6449
  createdAt: string;
6450
+ createdBy: string;
6451
+ createdByRole: string;
6452
+ createdAtLocation: string;
6343
6453
  originalActionId?: string | undefined;
6344
6454
  }>]>, "many">;
6345
6455
  trackingId: z.ZodString;
@@ -6352,8 +6462,10 @@ export declare const EventDocument: z.ZodObject<{
6352
6462
  type: "ASSIGN";
6353
6463
  id: string;
6354
6464
  status: "Rejected" | "Requested" | "Accepted";
6465
+ transactionId: string;
6355
6466
  createdAt: string;
6356
6467
  createdBy: string;
6468
+ createdByRole: string;
6357
6469
  declaration: Record<string, string | number | boolean | {
6358
6470
  type: string;
6359
6471
  filename: string;
@@ -6391,7 +6503,7 @@ export declare const EventDocument: z.ZodObject<{
6391
6503
  option: string;
6392
6504
  filename: string;
6393
6505
  originalFilename: string;
6394
- }[] | undefined>;
6506
+ }[] | [string, string] | undefined>;
6395
6507
  createdAtLocation: string;
6396
6508
  assignedTo: string;
6397
6509
  annotation?: Record<string, string | number | boolean | {
@@ -6431,14 +6543,16 @@ export declare const EventDocument: z.ZodObject<{
6431
6543
  option: string;
6432
6544
  filename: string;
6433
6545
  originalFilename: string;
6434
- }[] | undefined> | undefined;
6546
+ }[] | [string, string] | undefined> | undefined;
6435
6547
  originalActionId?: string | undefined;
6436
6548
  } | {
6437
6549
  type: "UNASSIGN";
6438
6550
  id: string;
6439
6551
  status: "Rejected" | "Requested" | "Accepted";
6552
+ transactionId: string;
6440
6553
  createdAt: string;
6441
6554
  createdBy: string;
6555
+ createdByRole: string;
6442
6556
  declaration: Record<string, string | number | boolean | {
6443
6557
  type: string;
6444
6558
  filename: string;
@@ -6476,8 +6590,9 @@ export declare const EventDocument: z.ZodObject<{
6476
6590
  option: string;
6477
6591
  filename: string;
6478
6592
  originalFilename: string;
6479
- }[] | undefined>;
6593
+ }[] | [string, string] | undefined>;
6480
6594
  createdAtLocation: string;
6595
+ assignedTo: null;
6481
6596
  annotation?: Record<string, string | number | boolean | {
6482
6597
  type: string;
6483
6598
  filename: string;
@@ -6515,14 +6630,16 @@ export declare const EventDocument: z.ZodObject<{
6515
6630
  option: string;
6516
6631
  filename: string;
6517
6632
  originalFilename: string;
6518
- }[] | undefined> | undefined;
6633
+ }[] | [string, string] | undefined> | undefined;
6519
6634
  originalActionId?: string | undefined;
6520
6635
  } | {
6521
6636
  type: "REGISTER";
6522
6637
  id: string;
6523
6638
  status: "Rejected" | "Requested" | "Accepted";
6639
+ transactionId: string;
6524
6640
  createdAt: string;
6525
6641
  createdBy: string;
6642
+ createdByRole: string;
6526
6643
  declaration: Record<string, string | number | boolean | {
6527
6644
  type: string;
6528
6645
  filename: string;
@@ -6560,7 +6677,7 @@ export declare const EventDocument: z.ZodObject<{
6560
6677
  option: string;
6561
6678
  filename: string;
6562
6679
  originalFilename: string;
6563
- }[] | undefined>;
6680
+ }[] | [string, string] | undefined>;
6564
6681
  createdAtLocation: string;
6565
6682
  annotation?: Record<string, string | number | boolean | {
6566
6683
  type: string;
@@ -6599,15 +6716,17 @@ export declare const EventDocument: z.ZodObject<{
6599
6716
  option: string;
6600
6717
  filename: string;
6601
6718
  originalFilename: string;
6602
- }[] | undefined> | undefined;
6719
+ }[] | [string, string] | undefined> | undefined;
6603
6720
  originalActionId?: string | undefined;
6604
6721
  registrationNumber?: string | undefined;
6605
6722
  } | {
6606
6723
  type: "DECLARE";
6607
6724
  id: string;
6608
6725
  status: "Rejected" | "Requested" | "Accepted";
6726
+ transactionId: string;
6609
6727
  createdAt: string;
6610
6728
  createdBy: string;
6729
+ createdByRole: string;
6611
6730
  declaration: Record<string, string | number | boolean | {
6612
6731
  type: string;
6613
6732
  filename: string;
@@ -6645,7 +6764,7 @@ export declare const EventDocument: z.ZodObject<{
6645
6764
  option: string;
6646
6765
  filename: string;
6647
6766
  originalFilename: string;
6648
- }[] | undefined>;
6767
+ }[] | [string, string] | undefined>;
6649
6768
  createdAtLocation: string;
6650
6769
  annotation?: Record<string, string | number | boolean | {
6651
6770
  type: string;
@@ -6684,14 +6803,16 @@ export declare const EventDocument: z.ZodObject<{
6684
6803
  option: string;
6685
6804
  filename: string;
6686
6805
  originalFilename: string;
6687
- }[] | undefined> | undefined;
6806
+ }[] | [string, string] | undefined> | undefined;
6688
6807
  originalActionId?: string | undefined;
6689
6808
  } | {
6690
6809
  type: "VALIDATE";
6691
6810
  id: string;
6692
6811
  status: "Rejected" | "Requested" | "Accepted";
6812
+ transactionId: string;
6693
6813
  createdAt: string;
6694
6814
  createdBy: string;
6815
+ createdByRole: string;
6695
6816
  declaration: Record<string, string | number | boolean | {
6696
6817
  type: string;
6697
6818
  filename: string;
@@ -6729,7 +6850,7 @@ export declare const EventDocument: z.ZodObject<{
6729
6850
  option: string;
6730
6851
  filename: string;
6731
6852
  originalFilename: string;
6732
- }[] | undefined>;
6853
+ }[] | [string, string] | undefined>;
6733
6854
  createdAtLocation: string;
6734
6855
  annotation?: Record<string, string | number | boolean | {
6735
6856
  type: string;
@@ -6768,14 +6889,16 @@ export declare const EventDocument: z.ZodObject<{
6768
6889
  option: string;
6769
6890
  filename: string;
6770
6891
  originalFilename: string;
6771
- }[] | undefined> | undefined;
6892
+ }[] | [string, string] | undefined> | undefined;
6772
6893
  originalActionId?: string | undefined;
6773
6894
  } | {
6774
6895
  type: "REJECT";
6775
6896
  id: string;
6776
6897
  status: "Rejected" | "Requested" | "Accepted";
6898
+ transactionId: string;
6777
6899
  createdAt: string;
6778
6900
  createdBy: string;
6901
+ createdByRole: string;
6779
6902
  declaration: Record<string, string | number | boolean | {
6780
6903
  type: string;
6781
6904
  filename: string;
@@ -6813,7 +6936,7 @@ export declare const EventDocument: z.ZodObject<{
6813
6936
  option: string;
6814
6937
  filename: string;
6815
6938
  originalFilename: string;
6816
- }[] | undefined>;
6939
+ }[] | [string, string] | undefined>;
6817
6940
  createdAtLocation: string;
6818
6941
  annotation?: Record<string, string | number | boolean | {
6819
6942
  type: string;
@@ -6852,14 +6975,16 @@ export declare const EventDocument: z.ZodObject<{
6852
6975
  option: string;
6853
6976
  filename: string;
6854
6977
  originalFilename: string;
6855
- }[] | undefined> | undefined;
6978
+ }[] | [string, string] | undefined> | undefined;
6856
6979
  originalActionId?: string | undefined;
6857
6980
  } | {
6858
6981
  type: "MARKED_AS_DUPLICATE";
6859
6982
  id: string;
6860
6983
  status: "Rejected" | "Requested" | "Accepted";
6984
+ transactionId: string;
6861
6985
  createdAt: string;
6862
6986
  createdBy: string;
6987
+ createdByRole: string;
6863
6988
  declaration: Record<string, string | number | boolean | {
6864
6989
  type: string;
6865
6990
  filename: string;
@@ -6897,7 +7022,7 @@ export declare const EventDocument: z.ZodObject<{
6897
7022
  option: string;
6898
7023
  filename: string;
6899
7024
  originalFilename: string;
6900
- }[] | undefined>;
7025
+ }[] | [string, string] | undefined>;
6901
7026
  createdAtLocation: string;
6902
7027
  annotation?: Record<string, string | number | boolean | {
6903
7028
  type: string;
@@ -6936,14 +7061,16 @@ export declare const EventDocument: z.ZodObject<{
6936
7061
  option: string;
6937
7062
  filename: string;
6938
7063
  originalFilename: string;
6939
- }[] | undefined> | undefined;
7064
+ }[] | [string, string] | undefined> | undefined;
6940
7065
  originalActionId?: string | undefined;
6941
7066
  } | {
6942
7067
  type: "ARCHIVE";
6943
7068
  id: string;
6944
7069
  status: "Rejected" | "Requested" | "Accepted";
7070
+ transactionId: string;
6945
7071
  createdAt: string;
6946
7072
  createdBy: string;
7073
+ createdByRole: string;
6947
7074
  declaration: Record<string, string | number | boolean | {
6948
7075
  type: string;
6949
7076
  filename: string;
@@ -6981,7 +7108,7 @@ export declare const EventDocument: z.ZodObject<{
6981
7108
  option: string;
6982
7109
  filename: string;
6983
7110
  originalFilename: string;
6984
- }[] | undefined>;
7111
+ }[] | [string, string] | undefined>;
6985
7112
  createdAtLocation: string;
6986
7113
  annotation?: Record<string, string | number | boolean | {
6987
7114
  type: string;
@@ -7020,14 +7147,16 @@ export declare const EventDocument: z.ZodObject<{
7020
7147
  option: string;
7021
7148
  filename: string;
7022
7149
  originalFilename: string;
7023
- }[] | undefined> | undefined;
7150
+ }[] | [string, string] | undefined> | undefined;
7024
7151
  originalActionId?: string | undefined;
7025
7152
  } | {
7026
7153
  type: "CREATE";
7027
7154
  id: string;
7028
7155
  status: "Rejected" | "Requested" | "Accepted";
7156
+ transactionId: string;
7029
7157
  createdAt: string;
7030
7158
  createdBy: string;
7159
+ createdByRole: string;
7031
7160
  declaration: Record<string, string | number | boolean | {
7032
7161
  type: string;
7033
7162
  filename: string;
@@ -7065,7 +7194,7 @@ export declare const EventDocument: z.ZodObject<{
7065
7194
  option: string;
7066
7195
  filename: string;
7067
7196
  originalFilename: string;
7068
- }[] | undefined>;
7197
+ }[] | [string, string] | undefined>;
7069
7198
  createdAtLocation: string;
7070
7199
  annotation?: Record<string, string | number | boolean | {
7071
7200
  type: string;
@@ -7104,14 +7233,16 @@ export declare const EventDocument: z.ZodObject<{
7104
7233
  option: string;
7105
7234
  filename: string;
7106
7235
  originalFilename: string;
7107
- }[] | undefined> | undefined;
7236
+ }[] | [string, string] | undefined> | undefined;
7108
7237
  originalActionId?: string | undefined;
7109
7238
  } | {
7110
7239
  type: "NOTIFY";
7111
7240
  id: string;
7112
7241
  status: "Rejected" | "Requested" | "Accepted";
7242
+ transactionId: string;
7113
7243
  createdAt: string;
7114
7244
  createdBy: string;
7245
+ createdByRole: string;
7115
7246
  declaration: Record<string, string | number | boolean | {
7116
7247
  type: string;
7117
7248
  filename: string;
@@ -7149,7 +7280,7 @@ export declare const EventDocument: z.ZodObject<{
7149
7280
  option: string;
7150
7281
  filename: string;
7151
7282
  originalFilename: string;
7152
- }[] | undefined>;
7283
+ }[] | [string, string] | undefined>;
7153
7284
  createdAtLocation: string;
7154
7285
  annotation?: Record<string, string | number | boolean | {
7155
7286
  type: string;
@@ -7188,14 +7319,16 @@ export declare const EventDocument: z.ZodObject<{
7188
7319
  option: string;
7189
7320
  filename: string;
7190
7321
  originalFilename: string;
7191
- }[] | undefined> | undefined;
7322
+ }[] | [string, string] | undefined> | undefined;
7192
7323
  originalActionId?: string | undefined;
7193
7324
  } | {
7194
7325
  type: "PRINT_CERTIFICATE";
7195
7326
  id: string;
7196
7327
  status: "Rejected" | "Requested" | "Accepted";
7328
+ transactionId: string;
7197
7329
  createdAt: string;
7198
7330
  createdBy: string;
7331
+ createdByRole: string;
7199
7332
  declaration: Record<string, string | number | boolean | {
7200
7333
  type: string;
7201
7334
  filename: string;
@@ -7233,7 +7366,7 @@ export declare const EventDocument: z.ZodObject<{
7233
7366
  option: string;
7234
7367
  filename: string;
7235
7368
  originalFilename: string;
7236
- }[] | undefined>;
7369
+ }[] | [string, string] | undefined>;
7237
7370
  createdAtLocation: string;
7238
7371
  annotation?: Record<string, string | number | boolean | {
7239
7372
  type: string;
@@ -7272,14 +7405,16 @@ export declare const EventDocument: z.ZodObject<{
7272
7405
  option: string;
7273
7406
  filename: string;
7274
7407
  originalFilename: string;
7275
- }[] | undefined> | undefined;
7408
+ }[] | [string, string] | undefined> | undefined;
7276
7409
  originalActionId?: string | undefined;
7277
7410
  } | {
7278
7411
  type: "REQUEST_CORRECTION";
7279
7412
  id: string;
7280
7413
  status: "Rejected" | "Requested" | "Accepted";
7414
+ transactionId: string;
7281
7415
  createdAt: string;
7282
7416
  createdBy: string;
7417
+ createdByRole: string;
7283
7418
  declaration: Record<string, string | number | boolean | {
7284
7419
  type: string;
7285
7420
  filename: string;
@@ -7317,7 +7452,7 @@ export declare const EventDocument: z.ZodObject<{
7317
7452
  option: string;
7318
7453
  filename: string;
7319
7454
  originalFilename: string;
7320
- }[] | undefined>;
7455
+ }[] | [string, string] | undefined>;
7321
7456
  createdAtLocation: string;
7322
7457
  annotation?: Record<string, string | number | boolean | {
7323
7458
  type: string;
@@ -7356,14 +7491,16 @@ export declare const EventDocument: z.ZodObject<{
7356
7491
  option: string;
7357
7492
  filename: string;
7358
7493
  originalFilename: string;
7359
- }[] | undefined> | undefined;
7494
+ }[] | [string, string] | undefined> | undefined;
7360
7495
  originalActionId?: string | undefined;
7361
7496
  } | {
7362
7497
  type: "APPROVE_CORRECTION";
7363
7498
  id: string;
7364
7499
  status: "Rejected" | "Requested" | "Accepted";
7500
+ transactionId: string;
7365
7501
  createdAt: string;
7366
7502
  createdBy: string;
7503
+ createdByRole: string;
7367
7504
  declaration: Record<string, string | number | boolean | {
7368
7505
  type: string;
7369
7506
  filename: string;
@@ -7401,7 +7538,7 @@ export declare const EventDocument: z.ZodObject<{
7401
7538
  option: string;
7402
7539
  filename: string;
7403
7540
  originalFilename: string;
7404
- }[] | undefined>;
7541
+ }[] | [string, string] | undefined>;
7405
7542
  createdAtLocation: string;
7406
7543
  requestId: string;
7407
7544
  annotation?: Record<string, string | number | boolean | {
@@ -7441,14 +7578,16 @@ export declare const EventDocument: z.ZodObject<{
7441
7578
  option: string;
7442
7579
  filename: string;
7443
7580
  originalFilename: string;
7444
- }[] | undefined> | undefined;
7581
+ }[] | [string, string] | undefined> | undefined;
7445
7582
  originalActionId?: string | undefined;
7446
7583
  } | {
7447
7584
  type: "REJECT_CORRECTION";
7448
7585
  id: string;
7449
7586
  status: "Rejected" | "Requested" | "Accepted";
7587
+ transactionId: string;
7450
7588
  createdAt: string;
7451
7589
  createdBy: string;
7590
+ createdByRole: string;
7452
7591
  declaration: Record<string, string | number | boolean | {
7453
7592
  type: string;
7454
7593
  filename: string;
@@ -7486,7 +7625,7 @@ export declare const EventDocument: z.ZodObject<{
7486
7625
  option: string;
7487
7626
  filename: string;
7488
7627
  originalFilename: string;
7489
- }[] | undefined>;
7628
+ }[] | [string, string] | undefined>;
7490
7629
  createdAtLocation: string;
7491
7630
  requestId: string;
7492
7631
  annotation?: Record<string, string | number | boolean | {
@@ -7526,14 +7665,16 @@ export declare const EventDocument: z.ZodObject<{
7526
7665
  option: string;
7527
7666
  filename: string;
7528
7667
  originalFilename: string;
7529
- }[] | undefined> | undefined;
7668
+ }[] | [string, string] | undefined> | undefined;
7530
7669
  originalActionId?: string | undefined;
7531
7670
  } | {
7532
7671
  type: "READ";
7533
7672
  id: string;
7534
7673
  status: "Rejected" | "Requested" | "Accepted";
7674
+ transactionId: string;
7535
7675
  createdAt: string;
7536
7676
  createdBy: string;
7677
+ createdByRole: string;
7537
7678
  declaration: Record<string, string | number | boolean | {
7538
7679
  type: string;
7539
7680
  filename: string;
@@ -7571,7 +7712,7 @@ export declare const EventDocument: z.ZodObject<{
7571
7712
  option: string;
7572
7713
  filename: string;
7573
7714
  originalFilename: string;
7574
- }[] | undefined>;
7715
+ }[] | [string, string] | undefined>;
7575
7716
  createdAtLocation: string;
7576
7717
  annotation?: Record<string, string | number | boolean | {
7577
7718
  type: string;
@@ -7610,16 +7751,23 @@ export declare const EventDocument: z.ZodObject<{
7610
7751
  option: string;
7611
7752
  filename: string;
7612
7753
  originalFilename: string;
7613
- }[] | undefined> | undefined;
7754
+ }[] | [string, string] | undefined> | undefined;
7614
7755
  originalActionId?: string | undefined;
7615
7756
  } | {
7616
7757
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7617
7758
  id: string;
7618
7759
  status: "Rejected";
7760
+ transactionId: string;
7619
7761
  createdAt: string;
7762
+ createdBy: string;
7763
+ createdByRole: string;
7764
+ createdAtLocation: string;
7620
7765
  originalActionId?: string | undefined;
7621
7766
  })[];
7622
7767
  trackingId: string;
7768
+ dateOfEvent?: {
7769
+ fieldId: string;
7770
+ } | undefined;
7623
7771
  }, {
7624
7772
  type: string;
7625
7773
  id: string;
@@ -7629,8 +7777,10 @@ export declare const EventDocument: z.ZodObject<{
7629
7777
  type: "ASSIGN";
7630
7778
  id: string;
7631
7779
  status: "Rejected" | "Requested" | "Accepted";
7780
+ transactionId: string;
7632
7781
  createdAt: string;
7633
7782
  createdBy: string;
7783
+ createdByRole: string;
7634
7784
  declaration: Record<string, string | number | boolean | {
7635
7785
  type: string;
7636
7786
  filename: string;
@@ -7668,7 +7818,7 @@ export declare const EventDocument: z.ZodObject<{
7668
7818
  option: string;
7669
7819
  filename: string;
7670
7820
  originalFilename: string;
7671
- }[] | undefined>;
7821
+ }[] | [string, string] | undefined>;
7672
7822
  createdAtLocation: string;
7673
7823
  assignedTo: string;
7674
7824
  annotation?: Record<string, string | number | boolean | {
@@ -7708,14 +7858,16 @@ export declare const EventDocument: z.ZodObject<{
7708
7858
  option: string;
7709
7859
  filename: string;
7710
7860
  originalFilename: string;
7711
- }[] | undefined> | undefined;
7861
+ }[] | [string, string] | undefined> | undefined;
7712
7862
  originalActionId?: string | undefined;
7713
7863
  } | {
7714
7864
  type: "UNASSIGN";
7715
7865
  id: string;
7716
7866
  status: "Rejected" | "Requested" | "Accepted";
7867
+ transactionId: string;
7717
7868
  createdAt: string;
7718
7869
  createdBy: string;
7870
+ createdByRole: string;
7719
7871
  declaration: Record<string, string | number | boolean | {
7720
7872
  type: string;
7721
7873
  filename: string;
@@ -7753,8 +7905,9 @@ export declare const EventDocument: z.ZodObject<{
7753
7905
  option: string;
7754
7906
  filename: string;
7755
7907
  originalFilename: string;
7756
- }[] | undefined>;
7908
+ }[] | [string, string] | undefined>;
7757
7909
  createdAtLocation: string;
7910
+ assignedTo: null;
7758
7911
  annotation?: Record<string, string | number | boolean | {
7759
7912
  type: string;
7760
7913
  filename: string;
@@ -7792,14 +7945,16 @@ export declare const EventDocument: z.ZodObject<{
7792
7945
  option: string;
7793
7946
  filename: string;
7794
7947
  originalFilename: string;
7795
- }[] | undefined> | undefined;
7948
+ }[] | [string, string] | undefined> | undefined;
7796
7949
  originalActionId?: string | undefined;
7797
7950
  } | {
7798
7951
  type: "REGISTER";
7799
7952
  id: string;
7800
7953
  status: "Rejected" | "Requested" | "Accepted";
7954
+ transactionId: string;
7801
7955
  createdAt: string;
7802
7956
  createdBy: string;
7957
+ createdByRole: string;
7803
7958
  declaration: Record<string, string | number | boolean | {
7804
7959
  type: string;
7805
7960
  filename: string;
@@ -7837,7 +7992,7 @@ export declare const EventDocument: z.ZodObject<{
7837
7992
  option: string;
7838
7993
  filename: string;
7839
7994
  originalFilename: string;
7840
- }[] | undefined>;
7995
+ }[] | [string, string] | undefined>;
7841
7996
  createdAtLocation: string;
7842
7997
  annotation?: Record<string, string | number | boolean | {
7843
7998
  type: string;
@@ -7876,15 +8031,17 @@ export declare const EventDocument: z.ZodObject<{
7876
8031
  option: string;
7877
8032
  filename: string;
7878
8033
  originalFilename: string;
7879
- }[] | undefined> | undefined;
8034
+ }[] | [string, string] | undefined> | undefined;
7880
8035
  originalActionId?: string | undefined;
7881
8036
  registrationNumber?: string | undefined;
7882
8037
  } | {
7883
8038
  type: "DECLARE";
7884
8039
  id: string;
7885
8040
  status: "Rejected" | "Requested" | "Accepted";
8041
+ transactionId: string;
7886
8042
  createdAt: string;
7887
8043
  createdBy: string;
8044
+ createdByRole: string;
7888
8045
  declaration: Record<string, string | number | boolean | {
7889
8046
  type: string;
7890
8047
  filename: string;
@@ -7922,7 +8079,7 @@ export declare const EventDocument: z.ZodObject<{
7922
8079
  option: string;
7923
8080
  filename: string;
7924
8081
  originalFilename: string;
7925
- }[] | undefined>;
8082
+ }[] | [string, string] | undefined>;
7926
8083
  createdAtLocation: string;
7927
8084
  annotation?: Record<string, string | number | boolean | {
7928
8085
  type: string;
@@ -7961,14 +8118,16 @@ export declare const EventDocument: z.ZodObject<{
7961
8118
  option: string;
7962
8119
  filename: string;
7963
8120
  originalFilename: string;
7964
- }[] | undefined> | undefined;
8121
+ }[] | [string, string] | undefined> | undefined;
7965
8122
  originalActionId?: string | undefined;
7966
8123
  } | {
7967
8124
  type: "VALIDATE";
7968
8125
  id: string;
7969
8126
  status: "Rejected" | "Requested" | "Accepted";
8127
+ transactionId: string;
7970
8128
  createdAt: string;
7971
8129
  createdBy: string;
8130
+ createdByRole: string;
7972
8131
  declaration: Record<string, string | number | boolean | {
7973
8132
  type: string;
7974
8133
  filename: string;
@@ -8006,7 +8165,7 @@ export declare const EventDocument: z.ZodObject<{
8006
8165
  option: string;
8007
8166
  filename: string;
8008
8167
  originalFilename: string;
8009
- }[] | undefined>;
8168
+ }[] | [string, string] | undefined>;
8010
8169
  createdAtLocation: string;
8011
8170
  annotation?: Record<string, string | number | boolean | {
8012
8171
  type: string;
@@ -8045,14 +8204,16 @@ export declare const EventDocument: z.ZodObject<{
8045
8204
  option: string;
8046
8205
  filename: string;
8047
8206
  originalFilename: string;
8048
- }[] | undefined> | undefined;
8207
+ }[] | [string, string] | undefined> | undefined;
8049
8208
  originalActionId?: string | undefined;
8050
8209
  } | {
8051
8210
  type: "REJECT";
8052
8211
  id: string;
8053
8212
  status: "Rejected" | "Requested" | "Accepted";
8213
+ transactionId: string;
8054
8214
  createdAt: string;
8055
8215
  createdBy: string;
8216
+ createdByRole: string;
8056
8217
  declaration: Record<string, string | number | boolean | {
8057
8218
  type: string;
8058
8219
  filename: string;
@@ -8090,7 +8251,7 @@ export declare const EventDocument: z.ZodObject<{
8090
8251
  option: string;
8091
8252
  filename: string;
8092
8253
  originalFilename: string;
8093
- }[] | undefined>;
8254
+ }[] | [string, string] | undefined>;
8094
8255
  createdAtLocation: string;
8095
8256
  annotation?: Record<string, string | number | boolean | {
8096
8257
  type: string;
@@ -8129,14 +8290,16 @@ export declare const EventDocument: z.ZodObject<{
8129
8290
  option: string;
8130
8291
  filename: string;
8131
8292
  originalFilename: string;
8132
- }[] | undefined> | undefined;
8293
+ }[] | [string, string] | undefined> | undefined;
8133
8294
  originalActionId?: string | undefined;
8134
8295
  } | {
8135
8296
  type: "MARKED_AS_DUPLICATE";
8136
8297
  id: string;
8137
8298
  status: "Rejected" | "Requested" | "Accepted";
8299
+ transactionId: string;
8138
8300
  createdAt: string;
8139
8301
  createdBy: string;
8302
+ createdByRole: string;
8140
8303
  declaration: Record<string, string | number | boolean | {
8141
8304
  type: string;
8142
8305
  filename: string;
@@ -8174,7 +8337,7 @@ export declare const EventDocument: z.ZodObject<{
8174
8337
  option: string;
8175
8338
  filename: string;
8176
8339
  originalFilename: string;
8177
- }[] | undefined>;
8340
+ }[] | [string, string] | undefined>;
8178
8341
  createdAtLocation: string;
8179
8342
  annotation?: Record<string, string | number | boolean | {
8180
8343
  type: string;
@@ -8213,14 +8376,16 @@ export declare const EventDocument: z.ZodObject<{
8213
8376
  option: string;
8214
8377
  filename: string;
8215
8378
  originalFilename: string;
8216
- }[] | undefined> | undefined;
8379
+ }[] | [string, string] | undefined> | undefined;
8217
8380
  originalActionId?: string | undefined;
8218
8381
  } | {
8219
8382
  type: "ARCHIVE";
8220
8383
  id: string;
8221
8384
  status: "Rejected" | "Requested" | "Accepted";
8385
+ transactionId: string;
8222
8386
  createdAt: string;
8223
8387
  createdBy: string;
8388
+ createdByRole: string;
8224
8389
  declaration: Record<string, string | number | boolean | {
8225
8390
  type: string;
8226
8391
  filename: string;
@@ -8258,7 +8423,7 @@ export declare const EventDocument: z.ZodObject<{
8258
8423
  option: string;
8259
8424
  filename: string;
8260
8425
  originalFilename: string;
8261
- }[] | undefined>;
8426
+ }[] | [string, string] | undefined>;
8262
8427
  createdAtLocation: string;
8263
8428
  annotation?: Record<string, string | number | boolean | {
8264
8429
  type: string;
@@ -8297,14 +8462,16 @@ export declare const EventDocument: z.ZodObject<{
8297
8462
  option: string;
8298
8463
  filename: string;
8299
8464
  originalFilename: string;
8300
- }[] | undefined> | undefined;
8465
+ }[] | [string, string] | undefined> | undefined;
8301
8466
  originalActionId?: string | undefined;
8302
8467
  } | {
8303
8468
  type: "CREATE";
8304
8469
  id: string;
8305
8470
  status: "Rejected" | "Requested" | "Accepted";
8471
+ transactionId: string;
8306
8472
  createdAt: string;
8307
8473
  createdBy: string;
8474
+ createdByRole: string;
8308
8475
  declaration: Record<string, string | number | boolean | {
8309
8476
  type: string;
8310
8477
  filename: string;
@@ -8342,7 +8509,7 @@ export declare const EventDocument: z.ZodObject<{
8342
8509
  option: string;
8343
8510
  filename: string;
8344
8511
  originalFilename: string;
8345
- }[] | undefined>;
8512
+ }[] | [string, string] | undefined>;
8346
8513
  createdAtLocation: string;
8347
8514
  annotation?: Record<string, string | number | boolean | {
8348
8515
  type: string;
@@ -8381,14 +8548,16 @@ export declare const EventDocument: z.ZodObject<{
8381
8548
  option: string;
8382
8549
  filename: string;
8383
8550
  originalFilename: string;
8384
- }[] | undefined> | undefined;
8551
+ }[] | [string, string] | undefined> | undefined;
8385
8552
  originalActionId?: string | undefined;
8386
8553
  } | {
8387
8554
  type: "NOTIFY";
8388
8555
  id: string;
8389
8556
  status: "Rejected" | "Requested" | "Accepted";
8557
+ transactionId: string;
8390
8558
  createdAt: string;
8391
8559
  createdBy: string;
8560
+ createdByRole: string;
8392
8561
  declaration: Record<string, string | number | boolean | {
8393
8562
  type: string;
8394
8563
  filename: string;
@@ -8426,7 +8595,7 @@ export declare const EventDocument: z.ZodObject<{
8426
8595
  option: string;
8427
8596
  filename: string;
8428
8597
  originalFilename: string;
8429
- }[] | undefined>;
8598
+ }[] | [string, string] | undefined>;
8430
8599
  createdAtLocation: string;
8431
8600
  annotation?: Record<string, string | number | boolean | {
8432
8601
  type: string;
@@ -8465,14 +8634,16 @@ export declare const EventDocument: z.ZodObject<{
8465
8634
  option: string;
8466
8635
  filename: string;
8467
8636
  originalFilename: string;
8468
- }[] | undefined> | undefined;
8637
+ }[] | [string, string] | undefined> | undefined;
8469
8638
  originalActionId?: string | undefined;
8470
8639
  } | {
8471
8640
  type: "PRINT_CERTIFICATE";
8472
8641
  id: string;
8473
8642
  status: "Rejected" | "Requested" | "Accepted";
8643
+ transactionId: string;
8474
8644
  createdAt: string;
8475
8645
  createdBy: string;
8646
+ createdByRole: string;
8476
8647
  declaration: Record<string, string | number | boolean | {
8477
8648
  type: string;
8478
8649
  filename: string;
@@ -8510,7 +8681,7 @@ export declare const EventDocument: z.ZodObject<{
8510
8681
  option: string;
8511
8682
  filename: string;
8512
8683
  originalFilename: string;
8513
- }[] | undefined>;
8684
+ }[] | [string, string] | undefined>;
8514
8685
  createdAtLocation: string;
8515
8686
  annotation?: Record<string, string | number | boolean | {
8516
8687
  type: string;
@@ -8549,14 +8720,16 @@ export declare const EventDocument: z.ZodObject<{
8549
8720
  option: string;
8550
8721
  filename: string;
8551
8722
  originalFilename: string;
8552
- }[] | undefined> | undefined;
8723
+ }[] | [string, string] | undefined> | undefined;
8553
8724
  originalActionId?: string | undefined;
8554
8725
  } | {
8555
8726
  type: "REQUEST_CORRECTION";
8556
8727
  id: string;
8557
8728
  status: "Rejected" | "Requested" | "Accepted";
8729
+ transactionId: string;
8558
8730
  createdAt: string;
8559
8731
  createdBy: string;
8732
+ createdByRole: string;
8560
8733
  declaration: Record<string, string | number | boolean | {
8561
8734
  type: string;
8562
8735
  filename: string;
@@ -8594,7 +8767,7 @@ export declare const EventDocument: z.ZodObject<{
8594
8767
  option: string;
8595
8768
  filename: string;
8596
8769
  originalFilename: string;
8597
- }[] | undefined>;
8770
+ }[] | [string, string] | undefined>;
8598
8771
  createdAtLocation: string;
8599
8772
  annotation?: Record<string, string | number | boolean | {
8600
8773
  type: string;
@@ -8633,14 +8806,16 @@ export declare const EventDocument: z.ZodObject<{
8633
8806
  option: string;
8634
8807
  filename: string;
8635
8808
  originalFilename: string;
8636
- }[] | undefined> | undefined;
8809
+ }[] | [string, string] | undefined> | undefined;
8637
8810
  originalActionId?: string | undefined;
8638
8811
  } | {
8639
8812
  type: "APPROVE_CORRECTION";
8640
8813
  id: string;
8641
8814
  status: "Rejected" | "Requested" | "Accepted";
8815
+ transactionId: string;
8642
8816
  createdAt: string;
8643
8817
  createdBy: string;
8818
+ createdByRole: string;
8644
8819
  declaration: Record<string, string | number | boolean | {
8645
8820
  type: string;
8646
8821
  filename: string;
@@ -8678,7 +8853,7 @@ export declare const EventDocument: z.ZodObject<{
8678
8853
  option: string;
8679
8854
  filename: string;
8680
8855
  originalFilename: string;
8681
- }[] | undefined>;
8856
+ }[] | [string, string] | undefined>;
8682
8857
  createdAtLocation: string;
8683
8858
  requestId: string;
8684
8859
  annotation?: Record<string, string | number | boolean | {
@@ -8718,14 +8893,16 @@ export declare const EventDocument: z.ZodObject<{
8718
8893
  option: string;
8719
8894
  filename: string;
8720
8895
  originalFilename: string;
8721
- }[] | undefined> | undefined;
8896
+ }[] | [string, string] | undefined> | undefined;
8722
8897
  originalActionId?: string | undefined;
8723
8898
  } | {
8724
8899
  type: "REJECT_CORRECTION";
8725
8900
  id: string;
8726
8901
  status: "Rejected" | "Requested" | "Accepted";
8902
+ transactionId: string;
8727
8903
  createdAt: string;
8728
8904
  createdBy: string;
8905
+ createdByRole: string;
8729
8906
  declaration: Record<string, string | number | boolean | {
8730
8907
  type: string;
8731
8908
  filename: string;
@@ -8763,7 +8940,7 @@ export declare const EventDocument: z.ZodObject<{
8763
8940
  option: string;
8764
8941
  filename: string;
8765
8942
  originalFilename: string;
8766
- }[] | undefined>;
8943
+ }[] | [string, string] | undefined>;
8767
8944
  createdAtLocation: string;
8768
8945
  requestId: string;
8769
8946
  annotation?: Record<string, string | number | boolean | {
@@ -8803,14 +8980,16 @@ export declare const EventDocument: z.ZodObject<{
8803
8980
  option: string;
8804
8981
  filename: string;
8805
8982
  originalFilename: string;
8806
- }[] | undefined> | undefined;
8983
+ }[] | [string, string] | undefined> | undefined;
8807
8984
  originalActionId?: string | undefined;
8808
8985
  } | {
8809
8986
  type: "READ";
8810
8987
  id: string;
8811
8988
  status: "Rejected" | "Requested" | "Accepted";
8989
+ transactionId: string;
8812
8990
  createdAt: string;
8813
8991
  createdBy: string;
8992
+ createdByRole: string;
8814
8993
  declaration: Record<string, string | number | boolean | {
8815
8994
  type: string;
8816
8995
  filename: string;
@@ -8848,7 +9027,7 @@ export declare const EventDocument: z.ZodObject<{
8848
9027
  option: string;
8849
9028
  filename: string;
8850
9029
  originalFilename: string;
8851
- }[] | undefined>;
9030
+ }[] | [string, string] | undefined>;
8852
9031
  createdAtLocation: string;
8853
9032
  annotation?: Record<string, string | number | boolean | {
8854
9033
  type: string;
@@ -8887,16 +9066,23 @@ export declare const EventDocument: z.ZodObject<{
8887
9066
  option: string;
8888
9067
  filename: string;
8889
9068
  originalFilename: string;
8890
- }[] | undefined> | undefined;
9069
+ }[] | [string, string] | undefined> | undefined;
8891
9070
  originalActionId?: string | undefined;
8892
9071
  } | {
8893
9072
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8894
9073
  id: string;
8895
9074
  status: "Rejected";
9075
+ transactionId: string;
8896
9076
  createdAt: string;
9077
+ createdBy: string;
9078
+ createdByRole: string;
9079
+ createdAtLocation: string;
8897
9080
  originalActionId?: string | undefined;
8898
9081
  })[];
8899
9082
  trackingId: string;
9083
+ dateOfEvent?: {
9084
+ fieldId: string;
9085
+ } | undefined;
8900
9086
  }>;
8901
9087
  export type EventDocument = z.infer<typeof EventDocument>;
8902
9088
  //# sourceMappingURL=EventDocument.d.ts.map