@opencrvs/toolkit 1.8.0-rc.fb2e700 → 1.8.0-rc.fb4793a

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 +10591 -4184
  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 +542 -211
  6. package/dist/commons/events/ActionInput.d.ts +248 -240
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +957 -22
  8. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  9. package/dist/commons/events/Draft.d.ts +33 -20
  10. package/dist/commons/events/EventConfig.d.ts +46322 -1345
  11. package/dist/commons/events/EventDocument.d.ts +337 -156
  12. package/dist/commons/events/EventIndex.d.ts +1735 -13
  13. package/dist/commons/events/EventInput.d.ts +13 -0
  14. package/dist/commons/events/EventMetadata.d.ts +274 -11
  15. package/dist/commons/events/FieldConfig.d.ts +4280 -754
  16. package/dist/commons/events/FieldType.d.ts +3 -3
  17. package/dist/commons/events/FieldTypeMapping.d.ts +11 -4
  18. package/dist/commons/events/FieldValue.d.ts +7 -4
  19. package/dist/commons/events/FormConfig.d.ts +43591 -439
  20. package/dist/commons/events/PageConfig.d.ts +10860 -204
  21. package/dist/commons/events/SummaryConfig.d.ts +95 -39
  22. package/dist/commons/events/User.d.ts +5 -0
  23. package/dist/commons/events/WorkqueueConfig.d.ts +1549 -19
  24. package/dist/commons/events/defineConfig.d.ts +7223 -40
  25. package/dist/commons/events/event.d.ts +54 -0
  26. package/dist/commons/events/field.d.ts +82 -0
  27. package/dist/commons/events/index.d.ts +3 -0
  28. package/dist/commons/events/scopes.d.ts +45 -0
  29. package/dist/commons/events/test.utils.d.ts +8 -46
  30. package/dist/commons/events/utils.d.ts +3665 -67
  31. package/dist/conditionals/index.js +36 -33
  32. package/dist/events/index.js +1957 -973
  33. package/dist/scopes/index.d.ts +94 -6
  34. package/dist/scopes/index.js +42 -21
  35. 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,13 +5194,15 @@ export declare const EventDocument: z.ZodObject<{
5113
5194
  originalActionId: z.ZodOptional<z.ZodString>;
5114
5195
  }, {
5115
5196
  type: z.ZodLiteral<"UNASSIGN">;
5116
- assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
5197
+ assignedTo: z.ZodLiteral<null>;
5117
5198
  }>, "strip", z.ZodTypeAny, {
5118
5199
  type: "UNASSIGN";
5119
5200
  id: string;
5120
5201
  status: "Rejected" | "Requested" | "Accepted";
5202
+ transactionId: string;
5121
5203
  createdAt: string;
5122
5204
  createdBy: string;
5205
+ createdByRole: string;
5123
5206
  declaration: Record<string, string | number | boolean | {
5124
5207
  type: string;
5125
5208
  filename: string;
@@ -5157,7 +5240,7 @@ export declare const EventDocument: z.ZodObject<{
5157
5240
  option: string;
5158
5241
  filename: string;
5159
5242
  originalFilename: string;
5160
- }[] | undefined>;
5243
+ }[] | [string, string] | undefined>;
5161
5244
  createdAtLocation: string;
5162
5245
  assignedTo: null;
5163
5246
  annotation?: Record<string, string | number | boolean | {
@@ -5197,14 +5280,16 @@ export declare const EventDocument: z.ZodObject<{
5197
5280
  option: string;
5198
5281
  filename: string;
5199
5282
  originalFilename: string;
5200
- }[] | undefined> | undefined;
5283
+ }[] | [string, string] | undefined> | undefined;
5201
5284
  originalActionId?: string | undefined;
5202
5285
  }, {
5203
5286
  type: "UNASSIGN";
5204
5287
  id: string;
5205
5288
  status: "Rejected" | "Requested" | "Accepted";
5289
+ transactionId: string;
5206
5290
  createdAt: string;
5207
5291
  createdBy: string;
5292
+ createdByRole: string;
5208
5293
  declaration: Record<string, string | number | boolean | {
5209
5294
  type: string;
5210
5295
  filename: string;
@@ -5242,8 +5327,9 @@ export declare const EventDocument: z.ZodObject<{
5242
5327
  option: string;
5243
5328
  filename: string;
5244
5329
  originalFilename: string;
5245
- }[] | undefined>;
5330
+ }[] | [string, string] | undefined>;
5246
5331
  createdAtLocation: string;
5332
+ assignedTo: null;
5247
5333
  annotation?: Record<string, string | number | boolean | {
5248
5334
  type: string;
5249
5335
  filename: string;
@@ -5281,14 +5367,15 @@ export declare const EventDocument: z.ZodObject<{
5281
5367
  option: string;
5282
5368
  filename: string;
5283
5369
  originalFilename: string;
5284
- }[] | undefined> | undefined;
5370
+ }[] | [string, string] | undefined> | undefined;
5285
5371
  originalActionId?: string | undefined;
5286
- assignedTo?: null | undefined;
5287
5372
  }>, z.ZodObject<z.objectUtil.extendShape<{
5288
5373
  id: z.ZodString;
5374
+ transactionId: z.ZodString;
5289
5375
  createdAt: z.ZodString;
5290
5376
  createdBy: z.ZodString;
5291
- 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<{
5292
5379
  filename: z.ZodString;
5293
5380
  originalFilename: z.ZodString;
5294
5381
  type: z.ZodString;
@@ -5402,7 +5489,7 @@ export declare const EventDocument: z.ZodObject<{
5402
5489
  addressLine3?: string | null | undefined;
5403
5490
  postcodeOrZip?: string | null | undefined;
5404
5491
  }>]>>;
5405
- 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<{
5406
5493
  filename: z.ZodString;
5407
5494
  originalFilename: z.ZodString;
5408
5495
  type: z.ZodString;
@@ -5525,8 +5612,10 @@ export declare const EventDocument: z.ZodObject<{
5525
5612
  type: "PRINT_CERTIFICATE";
5526
5613
  id: string;
5527
5614
  status: "Rejected" | "Requested" | "Accepted";
5615
+ transactionId: string;
5528
5616
  createdAt: string;
5529
5617
  createdBy: string;
5618
+ createdByRole: string;
5530
5619
  declaration: Record<string, string | number | boolean | {
5531
5620
  type: string;
5532
5621
  filename: string;
@@ -5564,7 +5653,7 @@ export declare const EventDocument: z.ZodObject<{
5564
5653
  option: string;
5565
5654
  filename: string;
5566
5655
  originalFilename: string;
5567
- }[] | undefined>;
5656
+ }[] | [string, string] | undefined>;
5568
5657
  createdAtLocation: string;
5569
5658
  annotation?: Record<string, string | number | boolean | {
5570
5659
  type: string;
@@ -5603,14 +5692,16 @@ export declare const EventDocument: z.ZodObject<{
5603
5692
  option: string;
5604
5693
  filename: string;
5605
5694
  originalFilename: string;
5606
- }[] | undefined> | undefined;
5695
+ }[] | [string, string] | undefined> | undefined;
5607
5696
  originalActionId?: string | undefined;
5608
5697
  }, {
5609
5698
  type: "PRINT_CERTIFICATE";
5610
5699
  id: string;
5611
5700
  status: "Rejected" | "Requested" | "Accepted";
5701
+ transactionId: string;
5612
5702
  createdAt: string;
5613
5703
  createdBy: string;
5704
+ createdByRole: string;
5614
5705
  declaration: Record<string, string | number | boolean | {
5615
5706
  type: string;
5616
5707
  filename: string;
@@ -5648,7 +5739,7 @@ export declare const EventDocument: z.ZodObject<{
5648
5739
  option: string;
5649
5740
  filename: string;
5650
5741
  originalFilename: string;
5651
- }[] | undefined>;
5742
+ }[] | [string, string] | undefined>;
5652
5743
  createdAtLocation: string;
5653
5744
  annotation?: Record<string, string | number | boolean | {
5654
5745
  type: string;
@@ -5687,13 +5778,15 @@ export declare const EventDocument: z.ZodObject<{
5687
5778
  option: string;
5688
5779
  filename: string;
5689
5780
  originalFilename: string;
5690
- }[] | undefined> | undefined;
5781
+ }[] | [string, string] | undefined> | undefined;
5691
5782
  originalActionId?: string | undefined;
5692
5783
  }>, z.ZodObject<z.objectUtil.extendShape<{
5693
5784
  id: z.ZodString;
5785
+ transactionId: z.ZodString;
5694
5786
  createdAt: z.ZodString;
5695
5787
  createdBy: z.ZodString;
5696
- 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<{
5697
5790
  filename: z.ZodString;
5698
5791
  originalFilename: z.ZodString;
5699
5792
  type: z.ZodString;
@@ -5807,7 +5900,7 @@ export declare const EventDocument: z.ZodObject<{
5807
5900
  addressLine3?: string | null | undefined;
5808
5901
  postcodeOrZip?: string | null | undefined;
5809
5902
  }>]>>;
5810
- 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<{
5811
5904
  filename: z.ZodString;
5812
5905
  originalFilename: z.ZodString;
5813
5906
  type: z.ZodString;
@@ -5930,8 +6023,10 @@ export declare const EventDocument: z.ZodObject<{
5930
6023
  type: "READ";
5931
6024
  id: string;
5932
6025
  status: "Rejected" | "Requested" | "Accepted";
6026
+ transactionId: string;
5933
6027
  createdAt: string;
5934
6028
  createdBy: string;
6029
+ createdByRole: string;
5935
6030
  declaration: Record<string, string | number | boolean | {
5936
6031
  type: string;
5937
6032
  filename: string;
@@ -5969,7 +6064,7 @@ export declare const EventDocument: z.ZodObject<{
5969
6064
  option: string;
5970
6065
  filename: string;
5971
6066
  originalFilename: string;
5972
- }[] | undefined>;
6067
+ }[] | [string, string] | undefined>;
5973
6068
  createdAtLocation: string;
5974
6069
  annotation?: Record<string, string | number | boolean | {
5975
6070
  type: string;
@@ -6008,14 +6103,16 @@ export declare const EventDocument: z.ZodObject<{
6008
6103
  option: string;
6009
6104
  filename: string;
6010
6105
  originalFilename: string;
6011
- }[] | undefined> | undefined;
6106
+ }[] | [string, string] | undefined> | undefined;
6012
6107
  originalActionId?: string | undefined;
6013
6108
  }, {
6014
6109
  type: "READ";
6015
6110
  id: string;
6016
6111
  status: "Rejected" | "Requested" | "Accepted";
6112
+ transactionId: string;
6017
6113
  createdAt: string;
6018
6114
  createdBy: string;
6115
+ createdByRole: string;
6019
6116
  declaration: Record<string, string | number | boolean | {
6020
6117
  type: string;
6021
6118
  filename: string;
@@ -6053,7 +6150,7 @@ export declare const EventDocument: z.ZodObject<{
6053
6150
  option: string;
6054
6151
  filename: string;
6055
6152
  originalFilename: string;
6056
- }[] | undefined>;
6153
+ }[] | [string, string] | undefined>;
6057
6154
  createdAtLocation: string;
6058
6155
  annotation?: Record<string, string | number | boolean | {
6059
6156
  type: string;
@@ -6092,13 +6189,15 @@ export declare const EventDocument: z.ZodObject<{
6092
6189
  option: string;
6093
6190
  filename: string;
6094
6191
  originalFilename: string;
6095
- }[] | undefined> | undefined;
6192
+ }[] | [string, string] | undefined> | undefined;
6096
6193
  originalActionId?: string | undefined;
6097
6194
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6098
6195
  id: z.ZodString;
6196
+ transactionId: z.ZodString;
6099
6197
  createdAt: z.ZodString;
6100
6198
  createdBy: z.ZodString;
6101
- 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<{
6102
6201
  filename: z.ZodString;
6103
6202
  originalFilename: z.ZodString;
6104
6203
  type: z.ZodString;
@@ -6212,7 +6311,7 @@ export declare const EventDocument: z.ZodObject<{
6212
6311
  addressLine3?: string | null | undefined;
6213
6312
  postcodeOrZip?: string | null | undefined;
6214
6313
  }>]>>;
6215
- 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<{
6216
6315
  filename: z.ZodString;
6217
6316
  originalFilename: z.ZodString;
6218
6317
  type: z.ZodString;
@@ -6329,20 +6428,28 @@ export declare const EventDocument: z.ZodObject<{
6329
6428
  createdAtLocation: z.ZodString;
6330
6429
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6331
6430
  originalActionId: z.ZodOptional<z.ZodString>;
6332
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6431
+ }, "declaration" | "annotation">, {
6333
6432
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6334
6433
  status: z.ZodLiteral<"Rejected">;
6335
6434
  }>, "strip", z.ZodTypeAny, {
6336
6435
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6337
6436
  id: string;
6338
6437
  status: "Rejected";
6438
+ transactionId: string;
6339
6439
  createdAt: string;
6440
+ createdBy: string;
6441
+ createdByRole: string;
6442
+ createdAtLocation: string;
6340
6443
  originalActionId?: string | undefined;
6341
6444
  }, {
6342
6445
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6343
6446
  id: string;
6344
6447
  status: "Rejected";
6448
+ transactionId: string;
6345
6449
  createdAt: string;
6450
+ createdBy: string;
6451
+ createdByRole: string;
6452
+ createdAtLocation: string;
6346
6453
  originalActionId?: string | undefined;
6347
6454
  }>]>, "many">;
6348
6455
  trackingId: z.ZodString;
@@ -6355,8 +6462,10 @@ export declare const EventDocument: z.ZodObject<{
6355
6462
  type: "ASSIGN";
6356
6463
  id: string;
6357
6464
  status: "Rejected" | "Requested" | "Accepted";
6465
+ transactionId: string;
6358
6466
  createdAt: string;
6359
6467
  createdBy: string;
6468
+ createdByRole: string;
6360
6469
  declaration: Record<string, string | number | boolean | {
6361
6470
  type: string;
6362
6471
  filename: string;
@@ -6394,7 +6503,7 @@ export declare const EventDocument: z.ZodObject<{
6394
6503
  option: string;
6395
6504
  filename: string;
6396
6505
  originalFilename: string;
6397
- }[] | undefined>;
6506
+ }[] | [string, string] | undefined>;
6398
6507
  createdAtLocation: string;
6399
6508
  assignedTo: string;
6400
6509
  annotation?: Record<string, string | number | boolean | {
@@ -6434,14 +6543,16 @@ export declare const EventDocument: z.ZodObject<{
6434
6543
  option: string;
6435
6544
  filename: string;
6436
6545
  originalFilename: string;
6437
- }[] | undefined> | undefined;
6546
+ }[] | [string, string] | undefined> | undefined;
6438
6547
  originalActionId?: string | undefined;
6439
6548
  } | {
6440
6549
  type: "UNASSIGN";
6441
6550
  id: string;
6442
6551
  status: "Rejected" | "Requested" | "Accepted";
6552
+ transactionId: string;
6443
6553
  createdAt: string;
6444
6554
  createdBy: string;
6555
+ createdByRole: string;
6445
6556
  declaration: Record<string, string | number | boolean | {
6446
6557
  type: string;
6447
6558
  filename: string;
@@ -6479,7 +6590,7 @@ export declare const EventDocument: z.ZodObject<{
6479
6590
  option: string;
6480
6591
  filename: string;
6481
6592
  originalFilename: string;
6482
- }[] | undefined>;
6593
+ }[] | [string, string] | undefined>;
6483
6594
  createdAtLocation: string;
6484
6595
  assignedTo: null;
6485
6596
  annotation?: Record<string, string | number | boolean | {
@@ -6519,14 +6630,16 @@ export declare const EventDocument: z.ZodObject<{
6519
6630
  option: string;
6520
6631
  filename: string;
6521
6632
  originalFilename: string;
6522
- }[] | undefined> | undefined;
6633
+ }[] | [string, string] | undefined> | undefined;
6523
6634
  originalActionId?: string | undefined;
6524
6635
  } | {
6525
6636
  type: "REGISTER";
6526
6637
  id: string;
6527
6638
  status: "Rejected" | "Requested" | "Accepted";
6639
+ transactionId: string;
6528
6640
  createdAt: string;
6529
6641
  createdBy: string;
6642
+ createdByRole: string;
6530
6643
  declaration: Record<string, string | number | boolean | {
6531
6644
  type: string;
6532
6645
  filename: string;
@@ -6564,7 +6677,7 @@ export declare const EventDocument: z.ZodObject<{
6564
6677
  option: string;
6565
6678
  filename: string;
6566
6679
  originalFilename: string;
6567
- }[] | undefined>;
6680
+ }[] | [string, string] | undefined>;
6568
6681
  createdAtLocation: string;
6569
6682
  annotation?: Record<string, string | number | boolean | {
6570
6683
  type: string;
@@ -6603,15 +6716,17 @@ export declare const EventDocument: z.ZodObject<{
6603
6716
  option: string;
6604
6717
  filename: string;
6605
6718
  originalFilename: string;
6606
- }[] | undefined> | undefined;
6719
+ }[] | [string, string] | undefined> | undefined;
6607
6720
  originalActionId?: string | undefined;
6608
6721
  registrationNumber?: string | undefined;
6609
6722
  } | {
6610
6723
  type: "DECLARE";
6611
6724
  id: string;
6612
6725
  status: "Rejected" | "Requested" | "Accepted";
6726
+ transactionId: string;
6613
6727
  createdAt: string;
6614
6728
  createdBy: string;
6729
+ createdByRole: string;
6615
6730
  declaration: Record<string, string | number | boolean | {
6616
6731
  type: string;
6617
6732
  filename: string;
@@ -6649,7 +6764,7 @@ export declare const EventDocument: z.ZodObject<{
6649
6764
  option: string;
6650
6765
  filename: string;
6651
6766
  originalFilename: string;
6652
- }[] | undefined>;
6767
+ }[] | [string, string] | undefined>;
6653
6768
  createdAtLocation: string;
6654
6769
  annotation?: Record<string, string | number | boolean | {
6655
6770
  type: string;
@@ -6688,14 +6803,16 @@ export declare const EventDocument: z.ZodObject<{
6688
6803
  option: string;
6689
6804
  filename: string;
6690
6805
  originalFilename: string;
6691
- }[] | undefined> | undefined;
6806
+ }[] | [string, string] | undefined> | undefined;
6692
6807
  originalActionId?: string | undefined;
6693
6808
  } | {
6694
6809
  type: "VALIDATE";
6695
6810
  id: string;
6696
6811
  status: "Rejected" | "Requested" | "Accepted";
6812
+ transactionId: string;
6697
6813
  createdAt: string;
6698
6814
  createdBy: string;
6815
+ createdByRole: string;
6699
6816
  declaration: Record<string, string | number | boolean | {
6700
6817
  type: string;
6701
6818
  filename: string;
@@ -6733,7 +6850,7 @@ export declare const EventDocument: z.ZodObject<{
6733
6850
  option: string;
6734
6851
  filename: string;
6735
6852
  originalFilename: string;
6736
- }[] | undefined>;
6853
+ }[] | [string, string] | undefined>;
6737
6854
  createdAtLocation: string;
6738
6855
  annotation?: Record<string, string | number | boolean | {
6739
6856
  type: string;
@@ -6772,14 +6889,16 @@ export declare const EventDocument: z.ZodObject<{
6772
6889
  option: string;
6773
6890
  filename: string;
6774
6891
  originalFilename: string;
6775
- }[] | undefined> | undefined;
6892
+ }[] | [string, string] | undefined> | undefined;
6776
6893
  originalActionId?: string | undefined;
6777
6894
  } | {
6778
6895
  type: "REJECT";
6779
6896
  id: string;
6780
6897
  status: "Rejected" | "Requested" | "Accepted";
6898
+ transactionId: string;
6781
6899
  createdAt: string;
6782
6900
  createdBy: string;
6901
+ createdByRole: string;
6783
6902
  declaration: Record<string, string | number | boolean | {
6784
6903
  type: string;
6785
6904
  filename: string;
@@ -6817,7 +6936,7 @@ export declare const EventDocument: z.ZodObject<{
6817
6936
  option: string;
6818
6937
  filename: string;
6819
6938
  originalFilename: string;
6820
- }[] | undefined>;
6939
+ }[] | [string, string] | undefined>;
6821
6940
  createdAtLocation: string;
6822
6941
  annotation?: Record<string, string | number | boolean | {
6823
6942
  type: string;
@@ -6856,14 +6975,16 @@ export declare const EventDocument: z.ZodObject<{
6856
6975
  option: string;
6857
6976
  filename: string;
6858
6977
  originalFilename: string;
6859
- }[] | undefined> | undefined;
6978
+ }[] | [string, string] | undefined> | undefined;
6860
6979
  originalActionId?: string | undefined;
6861
6980
  } | {
6862
6981
  type: "MARKED_AS_DUPLICATE";
6863
6982
  id: string;
6864
6983
  status: "Rejected" | "Requested" | "Accepted";
6984
+ transactionId: string;
6865
6985
  createdAt: string;
6866
6986
  createdBy: string;
6987
+ createdByRole: string;
6867
6988
  declaration: Record<string, string | number | boolean | {
6868
6989
  type: string;
6869
6990
  filename: string;
@@ -6901,7 +7022,7 @@ export declare const EventDocument: z.ZodObject<{
6901
7022
  option: string;
6902
7023
  filename: string;
6903
7024
  originalFilename: string;
6904
- }[] | undefined>;
7025
+ }[] | [string, string] | undefined>;
6905
7026
  createdAtLocation: string;
6906
7027
  annotation?: Record<string, string | number | boolean | {
6907
7028
  type: string;
@@ -6940,14 +7061,16 @@ export declare const EventDocument: z.ZodObject<{
6940
7061
  option: string;
6941
7062
  filename: string;
6942
7063
  originalFilename: string;
6943
- }[] | undefined> | undefined;
7064
+ }[] | [string, string] | undefined> | undefined;
6944
7065
  originalActionId?: string | undefined;
6945
7066
  } | {
6946
7067
  type: "ARCHIVE";
6947
7068
  id: string;
6948
7069
  status: "Rejected" | "Requested" | "Accepted";
7070
+ transactionId: string;
6949
7071
  createdAt: string;
6950
7072
  createdBy: string;
7073
+ createdByRole: string;
6951
7074
  declaration: Record<string, string | number | boolean | {
6952
7075
  type: string;
6953
7076
  filename: string;
@@ -6985,7 +7108,7 @@ export declare const EventDocument: z.ZodObject<{
6985
7108
  option: string;
6986
7109
  filename: string;
6987
7110
  originalFilename: string;
6988
- }[] | undefined>;
7111
+ }[] | [string, string] | undefined>;
6989
7112
  createdAtLocation: string;
6990
7113
  annotation?: Record<string, string | number | boolean | {
6991
7114
  type: string;
@@ -7024,14 +7147,16 @@ export declare const EventDocument: z.ZodObject<{
7024
7147
  option: string;
7025
7148
  filename: string;
7026
7149
  originalFilename: string;
7027
- }[] | undefined> | undefined;
7150
+ }[] | [string, string] | undefined> | undefined;
7028
7151
  originalActionId?: string | undefined;
7029
7152
  } | {
7030
7153
  type: "CREATE";
7031
7154
  id: string;
7032
7155
  status: "Rejected" | "Requested" | "Accepted";
7156
+ transactionId: string;
7033
7157
  createdAt: string;
7034
7158
  createdBy: string;
7159
+ createdByRole: string;
7035
7160
  declaration: Record<string, string | number | boolean | {
7036
7161
  type: string;
7037
7162
  filename: string;
@@ -7069,7 +7194,7 @@ export declare const EventDocument: z.ZodObject<{
7069
7194
  option: string;
7070
7195
  filename: string;
7071
7196
  originalFilename: string;
7072
- }[] | undefined>;
7197
+ }[] | [string, string] | undefined>;
7073
7198
  createdAtLocation: string;
7074
7199
  annotation?: Record<string, string | number | boolean | {
7075
7200
  type: string;
@@ -7108,14 +7233,16 @@ export declare const EventDocument: z.ZodObject<{
7108
7233
  option: string;
7109
7234
  filename: string;
7110
7235
  originalFilename: string;
7111
- }[] | undefined> | undefined;
7236
+ }[] | [string, string] | undefined> | undefined;
7112
7237
  originalActionId?: string | undefined;
7113
7238
  } | {
7114
7239
  type: "NOTIFY";
7115
7240
  id: string;
7116
7241
  status: "Rejected" | "Requested" | "Accepted";
7242
+ transactionId: string;
7117
7243
  createdAt: string;
7118
7244
  createdBy: string;
7245
+ createdByRole: string;
7119
7246
  declaration: Record<string, string | number | boolean | {
7120
7247
  type: string;
7121
7248
  filename: string;
@@ -7153,7 +7280,7 @@ export declare const EventDocument: z.ZodObject<{
7153
7280
  option: string;
7154
7281
  filename: string;
7155
7282
  originalFilename: string;
7156
- }[] | undefined>;
7283
+ }[] | [string, string] | undefined>;
7157
7284
  createdAtLocation: string;
7158
7285
  annotation?: Record<string, string | number | boolean | {
7159
7286
  type: string;
@@ -7192,14 +7319,16 @@ export declare const EventDocument: z.ZodObject<{
7192
7319
  option: string;
7193
7320
  filename: string;
7194
7321
  originalFilename: string;
7195
- }[] | undefined> | undefined;
7322
+ }[] | [string, string] | undefined> | undefined;
7196
7323
  originalActionId?: string | undefined;
7197
7324
  } | {
7198
7325
  type: "PRINT_CERTIFICATE";
7199
7326
  id: string;
7200
7327
  status: "Rejected" | "Requested" | "Accepted";
7328
+ transactionId: string;
7201
7329
  createdAt: string;
7202
7330
  createdBy: string;
7331
+ createdByRole: string;
7203
7332
  declaration: Record<string, string | number | boolean | {
7204
7333
  type: string;
7205
7334
  filename: string;
@@ -7237,7 +7366,7 @@ export declare const EventDocument: z.ZodObject<{
7237
7366
  option: string;
7238
7367
  filename: string;
7239
7368
  originalFilename: string;
7240
- }[] | undefined>;
7369
+ }[] | [string, string] | undefined>;
7241
7370
  createdAtLocation: string;
7242
7371
  annotation?: Record<string, string | number | boolean | {
7243
7372
  type: string;
@@ -7276,14 +7405,16 @@ export declare const EventDocument: z.ZodObject<{
7276
7405
  option: string;
7277
7406
  filename: string;
7278
7407
  originalFilename: string;
7279
- }[] | undefined> | undefined;
7408
+ }[] | [string, string] | undefined> | undefined;
7280
7409
  originalActionId?: string | undefined;
7281
7410
  } | {
7282
7411
  type: "REQUEST_CORRECTION";
7283
7412
  id: string;
7284
7413
  status: "Rejected" | "Requested" | "Accepted";
7414
+ transactionId: string;
7285
7415
  createdAt: string;
7286
7416
  createdBy: string;
7417
+ createdByRole: string;
7287
7418
  declaration: Record<string, string | number | boolean | {
7288
7419
  type: string;
7289
7420
  filename: string;
@@ -7321,7 +7452,7 @@ export declare const EventDocument: z.ZodObject<{
7321
7452
  option: string;
7322
7453
  filename: string;
7323
7454
  originalFilename: string;
7324
- }[] | undefined>;
7455
+ }[] | [string, string] | undefined>;
7325
7456
  createdAtLocation: string;
7326
7457
  annotation?: Record<string, string | number | boolean | {
7327
7458
  type: string;
@@ -7360,14 +7491,16 @@ export declare const EventDocument: z.ZodObject<{
7360
7491
  option: string;
7361
7492
  filename: string;
7362
7493
  originalFilename: string;
7363
- }[] | undefined> | undefined;
7494
+ }[] | [string, string] | undefined> | undefined;
7364
7495
  originalActionId?: string | undefined;
7365
7496
  } | {
7366
7497
  type: "APPROVE_CORRECTION";
7367
7498
  id: string;
7368
7499
  status: "Rejected" | "Requested" | "Accepted";
7500
+ transactionId: string;
7369
7501
  createdAt: string;
7370
7502
  createdBy: string;
7503
+ createdByRole: string;
7371
7504
  declaration: Record<string, string | number | boolean | {
7372
7505
  type: string;
7373
7506
  filename: string;
@@ -7405,7 +7538,7 @@ export declare const EventDocument: z.ZodObject<{
7405
7538
  option: string;
7406
7539
  filename: string;
7407
7540
  originalFilename: string;
7408
- }[] | undefined>;
7541
+ }[] | [string, string] | undefined>;
7409
7542
  createdAtLocation: string;
7410
7543
  requestId: string;
7411
7544
  annotation?: Record<string, string | number | boolean | {
@@ -7445,14 +7578,16 @@ export declare const EventDocument: z.ZodObject<{
7445
7578
  option: string;
7446
7579
  filename: string;
7447
7580
  originalFilename: string;
7448
- }[] | undefined> | undefined;
7581
+ }[] | [string, string] | undefined> | undefined;
7449
7582
  originalActionId?: string | undefined;
7450
7583
  } | {
7451
7584
  type: "REJECT_CORRECTION";
7452
7585
  id: string;
7453
7586
  status: "Rejected" | "Requested" | "Accepted";
7587
+ transactionId: string;
7454
7588
  createdAt: string;
7455
7589
  createdBy: string;
7590
+ createdByRole: string;
7456
7591
  declaration: Record<string, string | number | boolean | {
7457
7592
  type: string;
7458
7593
  filename: string;
@@ -7490,7 +7625,7 @@ export declare const EventDocument: z.ZodObject<{
7490
7625
  option: string;
7491
7626
  filename: string;
7492
7627
  originalFilename: string;
7493
- }[] | undefined>;
7628
+ }[] | [string, string] | undefined>;
7494
7629
  createdAtLocation: string;
7495
7630
  requestId: string;
7496
7631
  annotation?: Record<string, string | number | boolean | {
@@ -7530,14 +7665,16 @@ export declare const EventDocument: z.ZodObject<{
7530
7665
  option: string;
7531
7666
  filename: string;
7532
7667
  originalFilename: string;
7533
- }[] | undefined> | undefined;
7668
+ }[] | [string, string] | undefined> | undefined;
7534
7669
  originalActionId?: string | undefined;
7535
7670
  } | {
7536
7671
  type: "READ";
7537
7672
  id: string;
7538
7673
  status: "Rejected" | "Requested" | "Accepted";
7674
+ transactionId: string;
7539
7675
  createdAt: string;
7540
7676
  createdBy: string;
7677
+ createdByRole: string;
7541
7678
  declaration: Record<string, string | number | boolean | {
7542
7679
  type: string;
7543
7680
  filename: string;
@@ -7575,7 +7712,7 @@ export declare const EventDocument: z.ZodObject<{
7575
7712
  option: string;
7576
7713
  filename: string;
7577
7714
  originalFilename: string;
7578
- }[] | undefined>;
7715
+ }[] | [string, string] | undefined>;
7579
7716
  createdAtLocation: string;
7580
7717
  annotation?: Record<string, string | number | boolean | {
7581
7718
  type: string;
@@ -7614,16 +7751,23 @@ export declare const EventDocument: z.ZodObject<{
7614
7751
  option: string;
7615
7752
  filename: string;
7616
7753
  originalFilename: string;
7617
- }[] | undefined> | undefined;
7754
+ }[] | [string, string] | undefined> | undefined;
7618
7755
  originalActionId?: string | undefined;
7619
7756
  } | {
7620
7757
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7621
7758
  id: string;
7622
7759
  status: "Rejected";
7760
+ transactionId: string;
7623
7761
  createdAt: string;
7762
+ createdBy: string;
7763
+ createdByRole: string;
7764
+ createdAtLocation: string;
7624
7765
  originalActionId?: string | undefined;
7625
7766
  })[];
7626
7767
  trackingId: string;
7768
+ dateOfEvent?: {
7769
+ fieldId: string;
7770
+ } | undefined;
7627
7771
  }, {
7628
7772
  type: string;
7629
7773
  id: string;
@@ -7633,8 +7777,10 @@ export declare const EventDocument: z.ZodObject<{
7633
7777
  type: "ASSIGN";
7634
7778
  id: string;
7635
7779
  status: "Rejected" | "Requested" | "Accepted";
7780
+ transactionId: string;
7636
7781
  createdAt: string;
7637
7782
  createdBy: string;
7783
+ createdByRole: string;
7638
7784
  declaration: Record<string, string | number | boolean | {
7639
7785
  type: string;
7640
7786
  filename: string;
@@ -7672,7 +7818,7 @@ export declare const EventDocument: z.ZodObject<{
7672
7818
  option: string;
7673
7819
  filename: string;
7674
7820
  originalFilename: string;
7675
- }[] | undefined>;
7821
+ }[] | [string, string] | undefined>;
7676
7822
  createdAtLocation: string;
7677
7823
  assignedTo: string;
7678
7824
  annotation?: Record<string, string | number | boolean | {
@@ -7712,14 +7858,16 @@ export declare const EventDocument: z.ZodObject<{
7712
7858
  option: string;
7713
7859
  filename: string;
7714
7860
  originalFilename: string;
7715
- }[] | undefined> | undefined;
7861
+ }[] | [string, string] | undefined> | undefined;
7716
7862
  originalActionId?: string | undefined;
7717
7863
  } | {
7718
7864
  type: "UNASSIGN";
7719
7865
  id: string;
7720
7866
  status: "Rejected" | "Requested" | "Accepted";
7867
+ transactionId: string;
7721
7868
  createdAt: string;
7722
7869
  createdBy: string;
7870
+ createdByRole: string;
7723
7871
  declaration: Record<string, string | number | boolean | {
7724
7872
  type: string;
7725
7873
  filename: string;
@@ -7757,8 +7905,9 @@ export declare const EventDocument: z.ZodObject<{
7757
7905
  option: string;
7758
7906
  filename: string;
7759
7907
  originalFilename: string;
7760
- }[] | undefined>;
7908
+ }[] | [string, string] | undefined>;
7761
7909
  createdAtLocation: string;
7910
+ assignedTo: null;
7762
7911
  annotation?: Record<string, string | number | boolean | {
7763
7912
  type: string;
7764
7913
  filename: string;
@@ -7796,15 +7945,16 @@ export declare const EventDocument: z.ZodObject<{
7796
7945
  option: string;
7797
7946
  filename: string;
7798
7947
  originalFilename: string;
7799
- }[] | undefined> | undefined;
7948
+ }[] | [string, string] | undefined> | undefined;
7800
7949
  originalActionId?: string | undefined;
7801
- assignedTo?: null | undefined;
7802
7950
  } | {
7803
7951
  type: "REGISTER";
7804
7952
  id: string;
7805
7953
  status: "Rejected" | "Requested" | "Accepted";
7954
+ transactionId: string;
7806
7955
  createdAt: string;
7807
7956
  createdBy: string;
7957
+ createdByRole: string;
7808
7958
  declaration: Record<string, string | number | boolean | {
7809
7959
  type: string;
7810
7960
  filename: string;
@@ -7842,7 +7992,7 @@ export declare const EventDocument: z.ZodObject<{
7842
7992
  option: string;
7843
7993
  filename: string;
7844
7994
  originalFilename: string;
7845
- }[] | undefined>;
7995
+ }[] | [string, string] | undefined>;
7846
7996
  createdAtLocation: string;
7847
7997
  annotation?: Record<string, string | number | boolean | {
7848
7998
  type: string;
@@ -7881,15 +8031,17 @@ export declare const EventDocument: z.ZodObject<{
7881
8031
  option: string;
7882
8032
  filename: string;
7883
8033
  originalFilename: string;
7884
- }[] | undefined> | undefined;
8034
+ }[] | [string, string] | undefined> | undefined;
7885
8035
  originalActionId?: string | undefined;
7886
8036
  registrationNumber?: string | undefined;
7887
8037
  } | {
7888
8038
  type: "DECLARE";
7889
8039
  id: string;
7890
8040
  status: "Rejected" | "Requested" | "Accepted";
8041
+ transactionId: string;
7891
8042
  createdAt: string;
7892
8043
  createdBy: string;
8044
+ createdByRole: string;
7893
8045
  declaration: Record<string, string | number | boolean | {
7894
8046
  type: string;
7895
8047
  filename: string;
@@ -7927,7 +8079,7 @@ export declare const EventDocument: z.ZodObject<{
7927
8079
  option: string;
7928
8080
  filename: string;
7929
8081
  originalFilename: string;
7930
- }[] | undefined>;
8082
+ }[] | [string, string] | undefined>;
7931
8083
  createdAtLocation: string;
7932
8084
  annotation?: Record<string, string | number | boolean | {
7933
8085
  type: string;
@@ -7966,14 +8118,16 @@ export declare const EventDocument: z.ZodObject<{
7966
8118
  option: string;
7967
8119
  filename: string;
7968
8120
  originalFilename: string;
7969
- }[] | undefined> | undefined;
8121
+ }[] | [string, string] | undefined> | undefined;
7970
8122
  originalActionId?: string | undefined;
7971
8123
  } | {
7972
8124
  type: "VALIDATE";
7973
8125
  id: string;
7974
8126
  status: "Rejected" | "Requested" | "Accepted";
8127
+ transactionId: string;
7975
8128
  createdAt: string;
7976
8129
  createdBy: string;
8130
+ createdByRole: string;
7977
8131
  declaration: Record<string, string | number | boolean | {
7978
8132
  type: string;
7979
8133
  filename: string;
@@ -8011,7 +8165,7 @@ export declare const EventDocument: z.ZodObject<{
8011
8165
  option: string;
8012
8166
  filename: string;
8013
8167
  originalFilename: string;
8014
- }[] | undefined>;
8168
+ }[] | [string, string] | undefined>;
8015
8169
  createdAtLocation: string;
8016
8170
  annotation?: Record<string, string | number | boolean | {
8017
8171
  type: string;
@@ -8050,14 +8204,16 @@ export declare const EventDocument: z.ZodObject<{
8050
8204
  option: string;
8051
8205
  filename: string;
8052
8206
  originalFilename: string;
8053
- }[] | undefined> | undefined;
8207
+ }[] | [string, string] | undefined> | undefined;
8054
8208
  originalActionId?: string | undefined;
8055
8209
  } | {
8056
8210
  type: "REJECT";
8057
8211
  id: string;
8058
8212
  status: "Rejected" | "Requested" | "Accepted";
8213
+ transactionId: string;
8059
8214
  createdAt: string;
8060
8215
  createdBy: string;
8216
+ createdByRole: string;
8061
8217
  declaration: Record<string, string | number | boolean | {
8062
8218
  type: string;
8063
8219
  filename: string;
@@ -8095,7 +8251,7 @@ export declare const EventDocument: z.ZodObject<{
8095
8251
  option: string;
8096
8252
  filename: string;
8097
8253
  originalFilename: string;
8098
- }[] | undefined>;
8254
+ }[] | [string, string] | undefined>;
8099
8255
  createdAtLocation: string;
8100
8256
  annotation?: Record<string, string | number | boolean | {
8101
8257
  type: string;
@@ -8134,14 +8290,16 @@ export declare const EventDocument: z.ZodObject<{
8134
8290
  option: string;
8135
8291
  filename: string;
8136
8292
  originalFilename: string;
8137
- }[] | undefined> | undefined;
8293
+ }[] | [string, string] | undefined> | undefined;
8138
8294
  originalActionId?: string | undefined;
8139
8295
  } | {
8140
8296
  type: "MARKED_AS_DUPLICATE";
8141
8297
  id: string;
8142
8298
  status: "Rejected" | "Requested" | "Accepted";
8299
+ transactionId: string;
8143
8300
  createdAt: string;
8144
8301
  createdBy: string;
8302
+ createdByRole: string;
8145
8303
  declaration: Record<string, string | number | boolean | {
8146
8304
  type: string;
8147
8305
  filename: string;
@@ -8179,7 +8337,7 @@ export declare const EventDocument: z.ZodObject<{
8179
8337
  option: string;
8180
8338
  filename: string;
8181
8339
  originalFilename: string;
8182
- }[] | undefined>;
8340
+ }[] | [string, string] | undefined>;
8183
8341
  createdAtLocation: string;
8184
8342
  annotation?: Record<string, string | number | boolean | {
8185
8343
  type: string;
@@ -8218,14 +8376,16 @@ export declare const EventDocument: z.ZodObject<{
8218
8376
  option: string;
8219
8377
  filename: string;
8220
8378
  originalFilename: string;
8221
- }[] | undefined> | undefined;
8379
+ }[] | [string, string] | undefined> | undefined;
8222
8380
  originalActionId?: string | undefined;
8223
8381
  } | {
8224
8382
  type: "ARCHIVE";
8225
8383
  id: string;
8226
8384
  status: "Rejected" | "Requested" | "Accepted";
8385
+ transactionId: string;
8227
8386
  createdAt: string;
8228
8387
  createdBy: string;
8388
+ createdByRole: string;
8229
8389
  declaration: Record<string, string | number | boolean | {
8230
8390
  type: string;
8231
8391
  filename: string;
@@ -8263,7 +8423,7 @@ export declare const EventDocument: z.ZodObject<{
8263
8423
  option: string;
8264
8424
  filename: string;
8265
8425
  originalFilename: string;
8266
- }[] | undefined>;
8426
+ }[] | [string, string] | undefined>;
8267
8427
  createdAtLocation: string;
8268
8428
  annotation?: Record<string, string | number | boolean | {
8269
8429
  type: string;
@@ -8302,14 +8462,16 @@ export declare const EventDocument: z.ZodObject<{
8302
8462
  option: string;
8303
8463
  filename: string;
8304
8464
  originalFilename: string;
8305
- }[] | undefined> | undefined;
8465
+ }[] | [string, string] | undefined> | undefined;
8306
8466
  originalActionId?: string | undefined;
8307
8467
  } | {
8308
8468
  type: "CREATE";
8309
8469
  id: string;
8310
8470
  status: "Rejected" | "Requested" | "Accepted";
8471
+ transactionId: string;
8311
8472
  createdAt: string;
8312
8473
  createdBy: string;
8474
+ createdByRole: string;
8313
8475
  declaration: Record<string, string | number | boolean | {
8314
8476
  type: string;
8315
8477
  filename: string;
@@ -8347,7 +8509,7 @@ export declare const EventDocument: z.ZodObject<{
8347
8509
  option: string;
8348
8510
  filename: string;
8349
8511
  originalFilename: string;
8350
- }[] | undefined>;
8512
+ }[] | [string, string] | undefined>;
8351
8513
  createdAtLocation: string;
8352
8514
  annotation?: Record<string, string | number | boolean | {
8353
8515
  type: string;
@@ -8386,14 +8548,16 @@ export declare const EventDocument: z.ZodObject<{
8386
8548
  option: string;
8387
8549
  filename: string;
8388
8550
  originalFilename: string;
8389
- }[] | undefined> | undefined;
8551
+ }[] | [string, string] | undefined> | undefined;
8390
8552
  originalActionId?: string | undefined;
8391
8553
  } | {
8392
8554
  type: "NOTIFY";
8393
8555
  id: string;
8394
8556
  status: "Rejected" | "Requested" | "Accepted";
8557
+ transactionId: string;
8395
8558
  createdAt: string;
8396
8559
  createdBy: string;
8560
+ createdByRole: string;
8397
8561
  declaration: Record<string, string | number | boolean | {
8398
8562
  type: string;
8399
8563
  filename: string;
@@ -8431,7 +8595,7 @@ export declare const EventDocument: z.ZodObject<{
8431
8595
  option: string;
8432
8596
  filename: string;
8433
8597
  originalFilename: string;
8434
- }[] | undefined>;
8598
+ }[] | [string, string] | undefined>;
8435
8599
  createdAtLocation: string;
8436
8600
  annotation?: Record<string, string | number | boolean | {
8437
8601
  type: string;
@@ -8470,14 +8634,16 @@ export declare const EventDocument: z.ZodObject<{
8470
8634
  option: string;
8471
8635
  filename: string;
8472
8636
  originalFilename: string;
8473
- }[] | undefined> | undefined;
8637
+ }[] | [string, string] | undefined> | undefined;
8474
8638
  originalActionId?: string | undefined;
8475
8639
  } | {
8476
8640
  type: "PRINT_CERTIFICATE";
8477
8641
  id: string;
8478
8642
  status: "Rejected" | "Requested" | "Accepted";
8643
+ transactionId: string;
8479
8644
  createdAt: string;
8480
8645
  createdBy: string;
8646
+ createdByRole: string;
8481
8647
  declaration: Record<string, string | number | boolean | {
8482
8648
  type: string;
8483
8649
  filename: string;
@@ -8515,7 +8681,7 @@ export declare const EventDocument: z.ZodObject<{
8515
8681
  option: string;
8516
8682
  filename: string;
8517
8683
  originalFilename: string;
8518
- }[] | undefined>;
8684
+ }[] | [string, string] | undefined>;
8519
8685
  createdAtLocation: string;
8520
8686
  annotation?: Record<string, string | number | boolean | {
8521
8687
  type: string;
@@ -8554,14 +8720,16 @@ export declare const EventDocument: z.ZodObject<{
8554
8720
  option: string;
8555
8721
  filename: string;
8556
8722
  originalFilename: string;
8557
- }[] | undefined> | undefined;
8723
+ }[] | [string, string] | undefined> | undefined;
8558
8724
  originalActionId?: string | undefined;
8559
8725
  } | {
8560
8726
  type: "REQUEST_CORRECTION";
8561
8727
  id: string;
8562
8728
  status: "Rejected" | "Requested" | "Accepted";
8729
+ transactionId: string;
8563
8730
  createdAt: string;
8564
8731
  createdBy: string;
8732
+ createdByRole: string;
8565
8733
  declaration: Record<string, string | number | boolean | {
8566
8734
  type: string;
8567
8735
  filename: string;
@@ -8599,7 +8767,7 @@ export declare const EventDocument: z.ZodObject<{
8599
8767
  option: string;
8600
8768
  filename: string;
8601
8769
  originalFilename: string;
8602
- }[] | undefined>;
8770
+ }[] | [string, string] | undefined>;
8603
8771
  createdAtLocation: string;
8604
8772
  annotation?: Record<string, string | number | boolean | {
8605
8773
  type: string;
@@ -8638,14 +8806,16 @@ export declare const EventDocument: z.ZodObject<{
8638
8806
  option: string;
8639
8807
  filename: string;
8640
8808
  originalFilename: string;
8641
- }[] | undefined> | undefined;
8809
+ }[] | [string, string] | undefined> | undefined;
8642
8810
  originalActionId?: string | undefined;
8643
8811
  } | {
8644
8812
  type: "APPROVE_CORRECTION";
8645
8813
  id: string;
8646
8814
  status: "Rejected" | "Requested" | "Accepted";
8815
+ transactionId: string;
8647
8816
  createdAt: string;
8648
8817
  createdBy: string;
8818
+ createdByRole: string;
8649
8819
  declaration: Record<string, string | number | boolean | {
8650
8820
  type: string;
8651
8821
  filename: string;
@@ -8683,7 +8853,7 @@ export declare const EventDocument: z.ZodObject<{
8683
8853
  option: string;
8684
8854
  filename: string;
8685
8855
  originalFilename: string;
8686
- }[] | undefined>;
8856
+ }[] | [string, string] | undefined>;
8687
8857
  createdAtLocation: string;
8688
8858
  requestId: string;
8689
8859
  annotation?: Record<string, string | number | boolean | {
@@ -8723,14 +8893,16 @@ export declare const EventDocument: z.ZodObject<{
8723
8893
  option: string;
8724
8894
  filename: string;
8725
8895
  originalFilename: string;
8726
- }[] | undefined> | undefined;
8896
+ }[] | [string, string] | undefined> | undefined;
8727
8897
  originalActionId?: string | undefined;
8728
8898
  } | {
8729
8899
  type: "REJECT_CORRECTION";
8730
8900
  id: string;
8731
8901
  status: "Rejected" | "Requested" | "Accepted";
8902
+ transactionId: string;
8732
8903
  createdAt: string;
8733
8904
  createdBy: string;
8905
+ createdByRole: string;
8734
8906
  declaration: Record<string, string | number | boolean | {
8735
8907
  type: string;
8736
8908
  filename: string;
@@ -8768,7 +8940,7 @@ export declare const EventDocument: z.ZodObject<{
8768
8940
  option: string;
8769
8941
  filename: string;
8770
8942
  originalFilename: string;
8771
- }[] | undefined>;
8943
+ }[] | [string, string] | undefined>;
8772
8944
  createdAtLocation: string;
8773
8945
  requestId: string;
8774
8946
  annotation?: Record<string, string | number | boolean | {
@@ -8808,14 +8980,16 @@ export declare const EventDocument: z.ZodObject<{
8808
8980
  option: string;
8809
8981
  filename: string;
8810
8982
  originalFilename: string;
8811
- }[] | undefined> | undefined;
8983
+ }[] | [string, string] | undefined> | undefined;
8812
8984
  originalActionId?: string | undefined;
8813
8985
  } | {
8814
8986
  type: "READ";
8815
8987
  id: string;
8816
8988
  status: "Rejected" | "Requested" | "Accepted";
8989
+ transactionId: string;
8817
8990
  createdAt: string;
8818
8991
  createdBy: string;
8992
+ createdByRole: string;
8819
8993
  declaration: Record<string, string | number | boolean | {
8820
8994
  type: string;
8821
8995
  filename: string;
@@ -8853,7 +9027,7 @@ export declare const EventDocument: z.ZodObject<{
8853
9027
  option: string;
8854
9028
  filename: string;
8855
9029
  originalFilename: string;
8856
- }[] | undefined>;
9030
+ }[] | [string, string] | undefined>;
8857
9031
  createdAtLocation: string;
8858
9032
  annotation?: Record<string, string | number | boolean | {
8859
9033
  type: string;
@@ -8892,16 +9066,23 @@ export declare const EventDocument: z.ZodObject<{
8892
9066
  option: string;
8893
9067
  filename: string;
8894
9068
  originalFilename: string;
8895
- }[] | undefined> | undefined;
9069
+ }[] | [string, string] | undefined> | undefined;
8896
9070
  originalActionId?: string | undefined;
8897
9071
  } | {
8898
9072
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8899
9073
  id: string;
8900
9074
  status: "Rejected";
9075
+ transactionId: string;
8901
9076
  createdAt: string;
9077
+ createdBy: string;
9078
+ createdByRole: string;
9079
+ createdAtLocation: string;
8902
9080
  originalActionId?: string | undefined;
8903
9081
  })[];
8904
9082
  trackingId: string;
9083
+ dateOfEvent?: {
9084
+ fieldId: string;
9085
+ } | undefined;
8905
9086
  }>;
8906
9087
  export type EventDocument = z.infer<typeof EventDocument>;
8907
9088
  //# sourceMappingURL=EventDocument.d.ts.map