@opencrvs/toolkit 1.8.0-rc.fef85f2 → 1.8.0-rc.ff0b26c

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