@opencrvs/toolkit 1.8.0-rc.fbcec4c → 1.8.0-rc.fbe4a79

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