@opencrvs/toolkit 1.8.0-rc.f7a451a → 1.8.0-rc.f7bcb31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/commons/api/router.d.ts +4206 -8342
  2. package/dist/commons/conditionals/conditionals.d.ts +7 -11
  3. package/dist/commons/conditionals/validate.d.ts +6 -4
  4. package/dist/commons/events/ActionConfig.d.ts +1727 -97087
  5. package/dist/commons/events/ActionDocument.d.ts +211 -542
  6. package/dist/commons/events/ActionInput.d.ts +240 -248
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -957
  8. package/dist/commons/events/CompositeFieldValue.d.ts +0 -3
  9. package/dist/commons/events/Draft.d.ts +20 -33
  10. package/dist/commons/events/EventConfig.d.ts +1350 -46327
  11. package/dist/commons/events/EventDocument.d.ts +156 -324
  12. package/dist/commons/events/EventIndex.d.ts +13 -1821
  13. package/dist/commons/events/EventMetadata.d.ts +11 -277
  14. package/dist/commons/events/FieldConfig.d.ts +754 -4280
  15. package/dist/commons/events/FieldType.d.ts +3 -3
  16. package/dist/commons/events/FieldTypeMapping.d.ts +4 -11
  17. package/dist/commons/events/FieldValue.d.ts +4 -7
  18. package/dist/commons/events/FormConfig.d.ts +441 -43593
  19. package/dist/commons/events/PageConfig.d.ts +208 -10864
  20. package/dist/commons/events/SummaryConfig.d.ts +39 -95
  21. package/dist/commons/events/User.d.ts +2 -31
  22. package/dist/commons/events/WorkqueueConfig.d.ts +20 -5341
  23. package/dist/commons/events/defineConfig.d.ts +35 -7218
  24. package/dist/commons/events/index.d.ts +0 -6
  25. package/dist/commons/events/test.utils.d.ts +46 -10
  26. package/dist/commons/events/utils.d.ts +67 -3665
  27. package/dist/conditionals/index.js +35 -55
  28. package/dist/events/index.js +1075 -2461
  29. package/dist/scopes/index.d.ts +4 -91
  30. package/dist/scopes/index.js +21 -39
  31. package/package.json +2 -3
  32. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -3008
  33. package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -42
  34. package/dist/commons/events/event.d.ts +0 -54
  35. package/dist/commons/events/field.d.ts +0 -82
  36. package/dist/commons/events/scopes.d.ts +0 -45
  37. package/dist/commons/events/serializer.d.ts +0 -2
  38. package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -6,11 +6,9 @@ export declare const EventDocument: z.ZodObject<{
6
6
  updatedAt: z.ZodString;
7
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
8
  id: z.ZodString;
9
- transactionId: z.ZodString;
10
9
  createdAt: z.ZodString;
11
10
  createdBy: z.ZodString;
12
- createdByRole: z.ZodString;
13
- 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<{
11
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14
12
  filename: z.ZodString;
15
13
  originalFilename: z.ZodString;
16
14
  type: z.ZodString;
@@ -124,7 +122,7 @@ export declare const EventDocument: z.ZodObject<{
124
122
  addressLine3?: string | null | undefined;
125
123
  postcodeOrZip?: string | null | undefined;
126
124
  }>]>>;
127
- 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<{
125
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
128
126
  filename: z.ZodString;
129
127
  originalFilename: z.ZodString;
130
128
  type: z.ZodString;
@@ -247,10 +245,8 @@ export declare const EventDocument: z.ZodObject<{
247
245
  type: "CREATE";
248
246
  id: string;
249
247
  status: "Rejected" | "Requested" | "Accepted";
250
- transactionId: string;
251
248
  createdAt: string;
252
249
  createdBy: string;
253
- createdByRole: string;
254
250
  declaration: Record<string, string | number | boolean | {
255
251
  type: string;
256
252
  filename: string;
@@ -288,7 +284,7 @@ export declare const EventDocument: z.ZodObject<{
288
284
  option: string;
289
285
  filename: string;
290
286
  originalFilename: string;
291
- }[] | [string, string] | undefined>;
287
+ }[] | undefined>;
292
288
  createdAtLocation: string;
293
289
  annotation?: Record<string, string | number | boolean | {
294
290
  type: string;
@@ -327,16 +323,14 @@ export declare const EventDocument: z.ZodObject<{
327
323
  option: string;
328
324
  filename: string;
329
325
  originalFilename: string;
330
- }[] | [string, string] | undefined> | undefined;
326
+ }[] | undefined> | undefined;
331
327
  originalActionId?: string | undefined;
332
328
  }, {
333
329
  type: "CREATE";
334
330
  id: string;
335
331
  status: "Rejected" | "Requested" | "Accepted";
336
- transactionId: string;
337
332
  createdAt: string;
338
333
  createdBy: string;
339
- createdByRole: string;
340
334
  declaration: Record<string, string | number | boolean | {
341
335
  type: string;
342
336
  filename: string;
@@ -374,7 +368,7 @@ export declare const EventDocument: z.ZodObject<{
374
368
  option: string;
375
369
  filename: string;
376
370
  originalFilename: string;
377
- }[] | [string, string] | undefined>;
371
+ }[] | undefined>;
378
372
  createdAtLocation: string;
379
373
  annotation?: Record<string, string | number | boolean | {
380
374
  type: string;
@@ -413,15 +407,13 @@ export declare const EventDocument: z.ZodObject<{
413
407
  option: string;
414
408
  filename: string;
415
409
  originalFilename: string;
416
- }[] | [string, string] | undefined> | undefined;
410
+ }[] | undefined> | undefined;
417
411
  originalActionId?: string | undefined;
418
412
  }>, z.ZodObject<z.objectUtil.extendShape<{
419
413
  id: z.ZodString;
420
- transactionId: z.ZodString;
421
414
  createdAt: z.ZodString;
422
415
  createdBy: z.ZodString;
423
- createdByRole: z.ZodString;
424
- 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<{
416
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
425
417
  filename: z.ZodString;
426
418
  originalFilename: z.ZodString;
427
419
  type: z.ZodString;
@@ -535,7 +527,7 @@ export declare const EventDocument: z.ZodObject<{
535
527
  addressLine3?: string | null | undefined;
536
528
  postcodeOrZip?: string | null | undefined;
537
529
  }>]>>;
538
- 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<{
530
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
539
531
  filename: z.ZodString;
540
532
  originalFilename: z.ZodString;
541
533
  type: z.ZodString;
@@ -658,10 +650,8 @@ export declare const EventDocument: z.ZodObject<{
658
650
  type: "VALIDATE";
659
651
  id: string;
660
652
  status: "Rejected" | "Requested" | "Accepted";
661
- transactionId: string;
662
653
  createdAt: string;
663
654
  createdBy: string;
664
- createdByRole: string;
665
655
  declaration: Record<string, string | number | boolean | {
666
656
  type: string;
667
657
  filename: string;
@@ -699,7 +689,7 @@ export declare const EventDocument: z.ZodObject<{
699
689
  option: string;
700
690
  filename: string;
701
691
  originalFilename: string;
702
- }[] | [string, string] | undefined>;
692
+ }[] | undefined>;
703
693
  createdAtLocation: string;
704
694
  annotation?: Record<string, string | number | boolean | {
705
695
  type: string;
@@ -738,16 +728,14 @@ export declare const EventDocument: z.ZodObject<{
738
728
  option: string;
739
729
  filename: string;
740
730
  originalFilename: string;
741
- }[] | [string, string] | undefined> | undefined;
731
+ }[] | undefined> | undefined;
742
732
  originalActionId?: string | undefined;
743
733
  }, {
744
734
  type: "VALIDATE";
745
735
  id: string;
746
736
  status: "Rejected" | "Requested" | "Accepted";
747
- transactionId: string;
748
737
  createdAt: string;
749
738
  createdBy: string;
750
- createdByRole: string;
751
739
  declaration: Record<string, string | number | boolean | {
752
740
  type: string;
753
741
  filename: string;
@@ -785,7 +773,7 @@ export declare const EventDocument: z.ZodObject<{
785
773
  option: string;
786
774
  filename: string;
787
775
  originalFilename: string;
788
- }[] | [string, string] | undefined>;
776
+ }[] | undefined>;
789
777
  createdAtLocation: string;
790
778
  annotation?: Record<string, string | number | boolean | {
791
779
  type: string;
@@ -824,15 +812,13 @@ export declare const EventDocument: z.ZodObject<{
824
812
  option: string;
825
813
  filename: string;
826
814
  originalFilename: string;
827
- }[] | [string, string] | undefined> | undefined;
815
+ }[] | undefined> | undefined;
828
816
  originalActionId?: string | undefined;
829
817
  }>, z.ZodObject<z.objectUtil.extendShape<{
830
818
  id: z.ZodString;
831
- transactionId: z.ZodString;
832
819
  createdAt: z.ZodString;
833
820
  createdBy: z.ZodString;
834
- createdByRole: z.ZodString;
835
- 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<{
821
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
836
822
  filename: z.ZodString;
837
823
  originalFilename: z.ZodString;
838
824
  type: z.ZodString;
@@ -946,7 +932,7 @@ export declare const EventDocument: z.ZodObject<{
946
932
  addressLine3?: string | null | undefined;
947
933
  postcodeOrZip?: string | null | undefined;
948
934
  }>]>>;
949
- 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<{
935
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
950
936
  filename: z.ZodString;
951
937
  originalFilename: z.ZodString;
952
938
  type: z.ZodString;
@@ -1069,10 +1055,8 @@ export declare const EventDocument: z.ZodObject<{
1069
1055
  type: "REJECT";
1070
1056
  id: string;
1071
1057
  status: "Rejected" | "Requested" | "Accepted";
1072
- transactionId: string;
1073
1058
  createdAt: string;
1074
1059
  createdBy: string;
1075
- createdByRole: string;
1076
1060
  declaration: Record<string, string | number | boolean | {
1077
1061
  type: string;
1078
1062
  filename: string;
@@ -1110,7 +1094,7 @@ export declare const EventDocument: z.ZodObject<{
1110
1094
  option: string;
1111
1095
  filename: string;
1112
1096
  originalFilename: string;
1113
- }[] | [string, string] | undefined>;
1097
+ }[] | undefined>;
1114
1098
  createdAtLocation: string;
1115
1099
  annotation?: Record<string, string | number | boolean | {
1116
1100
  type: string;
@@ -1149,16 +1133,14 @@ export declare const EventDocument: z.ZodObject<{
1149
1133
  option: string;
1150
1134
  filename: string;
1151
1135
  originalFilename: string;
1152
- }[] | [string, string] | undefined> | undefined;
1136
+ }[] | undefined> | undefined;
1153
1137
  originalActionId?: string | undefined;
1154
1138
  }, {
1155
1139
  type: "REJECT";
1156
1140
  id: string;
1157
1141
  status: "Rejected" | "Requested" | "Accepted";
1158
- transactionId: string;
1159
1142
  createdAt: string;
1160
1143
  createdBy: string;
1161
- createdByRole: string;
1162
1144
  declaration: Record<string, string | number | boolean | {
1163
1145
  type: string;
1164
1146
  filename: string;
@@ -1196,7 +1178,7 @@ export declare const EventDocument: z.ZodObject<{
1196
1178
  option: string;
1197
1179
  filename: string;
1198
1180
  originalFilename: string;
1199
- }[] | [string, string] | undefined>;
1181
+ }[] | undefined>;
1200
1182
  createdAtLocation: string;
1201
1183
  annotation?: Record<string, string | number | boolean | {
1202
1184
  type: string;
@@ -1235,15 +1217,13 @@ export declare const EventDocument: z.ZodObject<{
1235
1217
  option: string;
1236
1218
  filename: string;
1237
1219
  originalFilename: string;
1238
- }[] | [string, string] | undefined> | undefined;
1220
+ }[] | undefined> | undefined;
1239
1221
  originalActionId?: string | undefined;
1240
1222
  }>, z.ZodObject<z.objectUtil.extendShape<{
1241
1223
  id: z.ZodString;
1242
- transactionId: z.ZodString;
1243
1224
  createdAt: z.ZodString;
1244
1225
  createdBy: z.ZodString;
1245
- createdByRole: z.ZodString;
1246
- 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<{
1226
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1247
1227
  filename: z.ZodString;
1248
1228
  originalFilename: z.ZodString;
1249
1229
  type: z.ZodString;
@@ -1357,7 +1337,7 @@ export declare const EventDocument: z.ZodObject<{
1357
1337
  addressLine3?: string | null | undefined;
1358
1338
  postcodeOrZip?: string | null | undefined;
1359
1339
  }>]>>;
1360
- 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<{
1340
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1361
1341
  filename: z.ZodString;
1362
1342
  originalFilename: z.ZodString;
1363
1343
  type: z.ZodString;
@@ -1480,10 +1460,8 @@ export declare const EventDocument: z.ZodObject<{
1480
1460
  type: "MARKED_AS_DUPLICATE";
1481
1461
  id: string;
1482
1462
  status: "Rejected" | "Requested" | "Accepted";
1483
- transactionId: string;
1484
1463
  createdAt: string;
1485
1464
  createdBy: string;
1486
- createdByRole: string;
1487
1465
  declaration: Record<string, string | number | boolean | {
1488
1466
  type: string;
1489
1467
  filename: string;
@@ -1521,7 +1499,7 @@ export declare const EventDocument: z.ZodObject<{
1521
1499
  option: string;
1522
1500
  filename: string;
1523
1501
  originalFilename: string;
1524
- }[] | [string, string] | undefined>;
1502
+ }[] | undefined>;
1525
1503
  createdAtLocation: string;
1526
1504
  annotation?: Record<string, string | number | boolean | {
1527
1505
  type: string;
@@ -1560,16 +1538,14 @@ export declare const EventDocument: z.ZodObject<{
1560
1538
  option: string;
1561
1539
  filename: string;
1562
1540
  originalFilename: string;
1563
- }[] | [string, string] | undefined> | undefined;
1541
+ }[] | undefined> | undefined;
1564
1542
  originalActionId?: string | undefined;
1565
1543
  }, {
1566
1544
  type: "MARKED_AS_DUPLICATE";
1567
1545
  id: string;
1568
1546
  status: "Rejected" | "Requested" | "Accepted";
1569
- transactionId: string;
1570
1547
  createdAt: string;
1571
1548
  createdBy: string;
1572
- createdByRole: string;
1573
1549
  declaration: Record<string, string | number | boolean | {
1574
1550
  type: string;
1575
1551
  filename: string;
@@ -1607,7 +1583,7 @@ export declare const EventDocument: z.ZodObject<{
1607
1583
  option: string;
1608
1584
  filename: string;
1609
1585
  originalFilename: string;
1610
- }[] | [string, string] | undefined>;
1586
+ }[] | undefined>;
1611
1587
  createdAtLocation: string;
1612
1588
  annotation?: Record<string, string | number | boolean | {
1613
1589
  type: string;
@@ -1646,15 +1622,13 @@ export declare const EventDocument: z.ZodObject<{
1646
1622
  option: string;
1647
1623
  filename: string;
1648
1624
  originalFilename: string;
1649
- }[] | [string, string] | undefined> | undefined;
1625
+ }[] | undefined> | undefined;
1650
1626
  originalActionId?: string | undefined;
1651
1627
  }>, z.ZodObject<z.objectUtil.extendShape<{
1652
1628
  id: z.ZodString;
1653
- transactionId: z.ZodString;
1654
1629
  createdAt: z.ZodString;
1655
1630
  createdBy: z.ZodString;
1656
- createdByRole: z.ZodString;
1657
- 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<{
1631
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1658
1632
  filename: z.ZodString;
1659
1633
  originalFilename: z.ZodString;
1660
1634
  type: z.ZodString;
@@ -1768,7 +1742,7 @@ export declare const EventDocument: z.ZodObject<{
1768
1742
  addressLine3?: string | null | undefined;
1769
1743
  postcodeOrZip?: string | null | undefined;
1770
1744
  }>]>>;
1771
- 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<{
1745
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1772
1746
  filename: z.ZodString;
1773
1747
  originalFilename: z.ZodString;
1774
1748
  type: z.ZodString;
@@ -1891,10 +1865,8 @@ export declare const EventDocument: z.ZodObject<{
1891
1865
  type: "ARCHIVE";
1892
1866
  id: string;
1893
1867
  status: "Rejected" | "Requested" | "Accepted";
1894
- transactionId: string;
1895
1868
  createdAt: string;
1896
1869
  createdBy: string;
1897
- createdByRole: string;
1898
1870
  declaration: Record<string, string | number | boolean | {
1899
1871
  type: string;
1900
1872
  filename: string;
@@ -1932,7 +1904,7 @@ export declare const EventDocument: z.ZodObject<{
1932
1904
  option: string;
1933
1905
  filename: string;
1934
1906
  originalFilename: string;
1935
- }[] | [string, string] | undefined>;
1907
+ }[] | undefined>;
1936
1908
  createdAtLocation: string;
1937
1909
  annotation?: Record<string, string | number | boolean | {
1938
1910
  type: string;
@@ -1971,16 +1943,14 @@ export declare const EventDocument: z.ZodObject<{
1971
1943
  option: string;
1972
1944
  filename: string;
1973
1945
  originalFilename: string;
1974
- }[] | [string, string] | undefined> | undefined;
1946
+ }[] | undefined> | undefined;
1975
1947
  originalActionId?: string | undefined;
1976
1948
  }, {
1977
1949
  type: "ARCHIVE";
1978
1950
  id: string;
1979
1951
  status: "Rejected" | "Requested" | "Accepted";
1980
- transactionId: string;
1981
1952
  createdAt: string;
1982
1953
  createdBy: string;
1983
- createdByRole: string;
1984
1954
  declaration: Record<string, string | number | boolean | {
1985
1955
  type: string;
1986
1956
  filename: string;
@@ -2018,7 +1988,7 @@ export declare const EventDocument: z.ZodObject<{
2018
1988
  option: string;
2019
1989
  filename: string;
2020
1990
  originalFilename: string;
2021
- }[] | [string, string] | undefined>;
1991
+ }[] | undefined>;
2022
1992
  createdAtLocation: string;
2023
1993
  annotation?: Record<string, string | number | boolean | {
2024
1994
  type: string;
@@ -2057,15 +2027,13 @@ export declare const EventDocument: z.ZodObject<{
2057
2027
  option: string;
2058
2028
  filename: string;
2059
2029
  originalFilename: string;
2060
- }[] | [string, string] | undefined> | undefined;
2030
+ }[] | undefined> | undefined;
2061
2031
  originalActionId?: string | undefined;
2062
2032
  }>, z.ZodObject<z.objectUtil.extendShape<{
2063
2033
  id: z.ZodString;
2064
- transactionId: z.ZodString;
2065
2034
  createdAt: z.ZodString;
2066
2035
  createdBy: z.ZodString;
2067
- createdByRole: z.ZodString;
2068
- 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<{
2036
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2069
2037
  filename: z.ZodString;
2070
2038
  originalFilename: z.ZodString;
2071
2039
  type: z.ZodString;
@@ -2179,7 +2147,7 @@ export declare const EventDocument: z.ZodObject<{
2179
2147
  addressLine3?: string | null | undefined;
2180
2148
  postcodeOrZip?: string | null | undefined;
2181
2149
  }>]>>;
2182
- 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<{
2150
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2183
2151
  filename: z.ZodString;
2184
2152
  originalFilename: z.ZodString;
2185
2153
  type: z.ZodString;
@@ -2302,10 +2270,8 @@ export declare const EventDocument: z.ZodObject<{
2302
2270
  type: "NOTIFY";
2303
2271
  id: string;
2304
2272
  status: "Rejected" | "Requested" | "Accepted";
2305
- transactionId: string;
2306
2273
  createdAt: string;
2307
2274
  createdBy: string;
2308
- createdByRole: string;
2309
2275
  declaration: Record<string, string | number | boolean | {
2310
2276
  type: string;
2311
2277
  filename: string;
@@ -2343,7 +2309,7 @@ export declare const EventDocument: z.ZodObject<{
2343
2309
  option: string;
2344
2310
  filename: string;
2345
2311
  originalFilename: string;
2346
- }[] | [string, string] | undefined>;
2312
+ }[] | undefined>;
2347
2313
  createdAtLocation: string;
2348
2314
  annotation?: Record<string, string | number | boolean | {
2349
2315
  type: string;
@@ -2382,16 +2348,14 @@ export declare const EventDocument: z.ZodObject<{
2382
2348
  option: string;
2383
2349
  filename: string;
2384
2350
  originalFilename: string;
2385
- }[] | [string, string] | undefined> | undefined;
2351
+ }[] | undefined> | undefined;
2386
2352
  originalActionId?: string | undefined;
2387
2353
  }, {
2388
2354
  type: "NOTIFY";
2389
2355
  id: string;
2390
2356
  status: "Rejected" | "Requested" | "Accepted";
2391
- transactionId: string;
2392
2357
  createdAt: string;
2393
2358
  createdBy: string;
2394
- createdByRole: string;
2395
2359
  declaration: Record<string, string | number | boolean | {
2396
2360
  type: string;
2397
2361
  filename: string;
@@ -2429,7 +2393,7 @@ export declare const EventDocument: z.ZodObject<{
2429
2393
  option: string;
2430
2394
  filename: string;
2431
2395
  originalFilename: string;
2432
- }[] | [string, string] | undefined>;
2396
+ }[] | undefined>;
2433
2397
  createdAtLocation: string;
2434
2398
  annotation?: Record<string, string | number | boolean | {
2435
2399
  type: string;
@@ -2468,15 +2432,13 @@ export declare const EventDocument: z.ZodObject<{
2468
2432
  option: string;
2469
2433
  filename: string;
2470
2434
  originalFilename: string;
2471
- }[] | [string, string] | undefined> | undefined;
2435
+ }[] | undefined> | undefined;
2472
2436
  originalActionId?: string | undefined;
2473
2437
  }>, z.ZodObject<z.objectUtil.extendShape<{
2474
2438
  id: z.ZodString;
2475
- transactionId: z.ZodString;
2476
2439
  createdAt: z.ZodString;
2477
2440
  createdBy: z.ZodString;
2478
- createdByRole: z.ZodString;
2479
- 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<{
2441
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2480
2442
  filename: z.ZodString;
2481
2443
  originalFilename: z.ZodString;
2482
2444
  type: z.ZodString;
@@ -2590,7 +2552,7 @@ export declare const EventDocument: z.ZodObject<{
2590
2552
  addressLine3?: string | null | undefined;
2591
2553
  postcodeOrZip?: string | null | undefined;
2592
2554
  }>]>>;
2593
- 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<{
2555
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2594
2556
  filename: z.ZodString;
2595
2557
  originalFilename: z.ZodString;
2596
2558
  type: z.ZodString;
@@ -2714,10 +2676,8 @@ export declare const EventDocument: z.ZodObject<{
2714
2676
  type: "REGISTER";
2715
2677
  id: string;
2716
2678
  status: "Rejected" | "Requested" | "Accepted";
2717
- transactionId: string;
2718
2679
  createdAt: string;
2719
2680
  createdBy: string;
2720
- createdByRole: string;
2721
2681
  declaration: Record<string, string | number | boolean | {
2722
2682
  type: string;
2723
2683
  filename: string;
@@ -2755,7 +2715,7 @@ export declare const EventDocument: z.ZodObject<{
2755
2715
  option: string;
2756
2716
  filename: string;
2757
2717
  originalFilename: string;
2758
- }[] | [string, string] | undefined>;
2718
+ }[] | undefined>;
2759
2719
  createdAtLocation: string;
2760
2720
  annotation?: Record<string, string | number | boolean | {
2761
2721
  type: string;
@@ -2794,17 +2754,15 @@ export declare const EventDocument: z.ZodObject<{
2794
2754
  option: string;
2795
2755
  filename: string;
2796
2756
  originalFilename: string;
2797
- }[] | [string, string] | undefined> | undefined;
2757
+ }[] | undefined> | undefined;
2798
2758
  originalActionId?: string | undefined;
2799
2759
  registrationNumber?: string | undefined;
2800
2760
  }, {
2801
2761
  type: "REGISTER";
2802
2762
  id: string;
2803
2763
  status: "Rejected" | "Requested" | "Accepted";
2804
- transactionId: string;
2805
2764
  createdAt: string;
2806
2765
  createdBy: string;
2807
- createdByRole: string;
2808
2766
  declaration: Record<string, string | number | boolean | {
2809
2767
  type: string;
2810
2768
  filename: string;
@@ -2842,7 +2800,7 @@ export declare const EventDocument: z.ZodObject<{
2842
2800
  option: string;
2843
2801
  filename: string;
2844
2802
  originalFilename: string;
2845
- }[] | [string, string] | undefined>;
2803
+ }[] | undefined>;
2846
2804
  createdAtLocation: string;
2847
2805
  annotation?: Record<string, string | number | boolean | {
2848
2806
  type: string;
@@ -2881,16 +2839,14 @@ export declare const EventDocument: z.ZodObject<{
2881
2839
  option: string;
2882
2840
  filename: string;
2883
2841
  originalFilename: string;
2884
- }[] | [string, string] | undefined> | undefined;
2842
+ }[] | undefined> | undefined;
2885
2843
  originalActionId?: string | undefined;
2886
2844
  registrationNumber?: string | undefined;
2887
2845
  }>, z.ZodObject<z.objectUtil.extendShape<{
2888
2846
  id: z.ZodString;
2889
- transactionId: z.ZodString;
2890
2847
  createdAt: z.ZodString;
2891
2848
  createdBy: z.ZodString;
2892
- createdByRole: z.ZodString;
2893
- 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<{
2849
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2894
2850
  filename: z.ZodString;
2895
2851
  originalFilename: z.ZodString;
2896
2852
  type: z.ZodString;
@@ -3004,7 +2960,7 @@ export declare const EventDocument: z.ZodObject<{
3004
2960
  addressLine3?: string | null | undefined;
3005
2961
  postcodeOrZip?: string | null | undefined;
3006
2962
  }>]>>;
3007
- 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<{
2963
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3008
2964
  filename: z.ZodString;
3009
2965
  originalFilename: z.ZodString;
3010
2966
  type: z.ZodString;
@@ -3127,10 +3083,8 @@ export declare const EventDocument: z.ZodObject<{
3127
3083
  type: "DECLARE";
3128
3084
  id: string;
3129
3085
  status: "Rejected" | "Requested" | "Accepted";
3130
- transactionId: string;
3131
3086
  createdAt: string;
3132
3087
  createdBy: string;
3133
- createdByRole: string;
3134
3088
  declaration: Record<string, string | number | boolean | {
3135
3089
  type: string;
3136
3090
  filename: string;
@@ -3168,7 +3122,7 @@ export declare const EventDocument: z.ZodObject<{
3168
3122
  option: string;
3169
3123
  filename: string;
3170
3124
  originalFilename: string;
3171
- }[] | [string, string] | undefined>;
3125
+ }[] | undefined>;
3172
3126
  createdAtLocation: string;
3173
3127
  annotation?: Record<string, string | number | boolean | {
3174
3128
  type: string;
@@ -3207,16 +3161,14 @@ export declare const EventDocument: z.ZodObject<{
3207
3161
  option: string;
3208
3162
  filename: string;
3209
3163
  originalFilename: string;
3210
- }[] | [string, string] | undefined> | undefined;
3164
+ }[] | undefined> | undefined;
3211
3165
  originalActionId?: string | undefined;
3212
3166
  }, {
3213
3167
  type: "DECLARE";
3214
3168
  id: string;
3215
3169
  status: "Rejected" | "Requested" | "Accepted";
3216
- transactionId: string;
3217
3170
  createdAt: string;
3218
3171
  createdBy: string;
3219
- createdByRole: string;
3220
3172
  declaration: Record<string, string | number | boolean | {
3221
3173
  type: string;
3222
3174
  filename: string;
@@ -3254,7 +3206,7 @@ export declare const EventDocument: z.ZodObject<{
3254
3206
  option: string;
3255
3207
  filename: string;
3256
3208
  originalFilename: string;
3257
- }[] | [string, string] | undefined>;
3209
+ }[] | undefined>;
3258
3210
  createdAtLocation: string;
3259
3211
  annotation?: Record<string, string | number | boolean | {
3260
3212
  type: string;
@@ -3293,15 +3245,13 @@ export declare const EventDocument: z.ZodObject<{
3293
3245
  option: string;
3294
3246
  filename: string;
3295
3247
  originalFilename: string;
3296
- }[] | [string, string] | undefined> | undefined;
3248
+ }[] | undefined> | undefined;
3297
3249
  originalActionId?: string | undefined;
3298
3250
  }>, z.ZodObject<z.objectUtil.extendShape<{
3299
3251
  id: z.ZodString;
3300
- transactionId: z.ZodString;
3301
3252
  createdAt: z.ZodString;
3302
3253
  createdBy: z.ZodString;
3303
- createdByRole: z.ZodString;
3304
- 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<{
3254
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3305
3255
  filename: z.ZodString;
3306
3256
  originalFilename: z.ZodString;
3307
3257
  type: z.ZodString;
@@ -3415,7 +3365,7 @@ export declare const EventDocument: z.ZodObject<{
3415
3365
  addressLine3?: string | null | undefined;
3416
3366
  postcodeOrZip?: string | null | undefined;
3417
3367
  }>]>>;
3418
- 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<{
3368
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3419
3369
  filename: z.ZodString;
3420
3370
  originalFilename: z.ZodString;
3421
3371
  type: z.ZodString;
@@ -3539,10 +3489,8 @@ export declare const EventDocument: z.ZodObject<{
3539
3489
  type: "ASSIGN";
3540
3490
  id: string;
3541
3491
  status: "Rejected" | "Requested" | "Accepted";
3542
- transactionId: string;
3543
3492
  createdAt: string;
3544
3493
  createdBy: string;
3545
- createdByRole: string;
3546
3494
  declaration: Record<string, string | number | boolean | {
3547
3495
  type: string;
3548
3496
  filename: string;
@@ -3580,7 +3528,7 @@ export declare const EventDocument: z.ZodObject<{
3580
3528
  option: string;
3581
3529
  filename: string;
3582
3530
  originalFilename: string;
3583
- }[] | [string, string] | undefined>;
3531
+ }[] | undefined>;
3584
3532
  createdAtLocation: string;
3585
3533
  assignedTo: string;
3586
3534
  annotation?: Record<string, string | number | boolean | {
@@ -3620,16 +3568,14 @@ export declare const EventDocument: z.ZodObject<{
3620
3568
  option: string;
3621
3569
  filename: string;
3622
3570
  originalFilename: string;
3623
- }[] | [string, string] | undefined> | undefined;
3571
+ }[] | undefined> | undefined;
3624
3572
  originalActionId?: string | undefined;
3625
3573
  }, {
3626
3574
  type: "ASSIGN";
3627
3575
  id: string;
3628
3576
  status: "Rejected" | "Requested" | "Accepted";
3629
- transactionId: string;
3630
3577
  createdAt: string;
3631
3578
  createdBy: string;
3632
- createdByRole: string;
3633
3579
  declaration: Record<string, string | number | boolean | {
3634
3580
  type: string;
3635
3581
  filename: string;
@@ -3667,7 +3613,7 @@ export declare const EventDocument: z.ZodObject<{
3667
3613
  option: string;
3668
3614
  filename: string;
3669
3615
  originalFilename: string;
3670
- }[] | [string, string] | undefined>;
3616
+ }[] | undefined>;
3671
3617
  createdAtLocation: string;
3672
3618
  assignedTo: string;
3673
3619
  annotation?: Record<string, string | number | boolean | {
@@ -3707,15 +3653,13 @@ export declare const EventDocument: z.ZodObject<{
3707
3653
  option: string;
3708
3654
  filename: string;
3709
3655
  originalFilename: string;
3710
- }[] | [string, string] | undefined> | undefined;
3656
+ }[] | undefined> | undefined;
3711
3657
  originalActionId?: string | undefined;
3712
3658
  }>, z.ZodObject<z.objectUtil.extendShape<{
3713
3659
  id: z.ZodString;
3714
- transactionId: z.ZodString;
3715
3660
  createdAt: z.ZodString;
3716
3661
  createdBy: z.ZodString;
3717
- createdByRole: z.ZodString;
3718
- 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<{
3662
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3719
3663
  filename: z.ZodString;
3720
3664
  originalFilename: z.ZodString;
3721
3665
  type: z.ZodString;
@@ -3829,7 +3773,7 @@ export declare const EventDocument: z.ZodObject<{
3829
3773
  addressLine3?: string | null | undefined;
3830
3774
  postcodeOrZip?: string | null | undefined;
3831
3775
  }>]>>;
3832
- 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<{
3776
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3833
3777
  filename: z.ZodString;
3834
3778
  originalFilename: z.ZodString;
3835
3779
  type: z.ZodString;
@@ -3952,10 +3896,8 @@ export declare const EventDocument: z.ZodObject<{
3952
3896
  type: "REQUEST_CORRECTION";
3953
3897
  id: string;
3954
3898
  status: "Rejected" | "Requested" | "Accepted";
3955
- transactionId: string;
3956
3899
  createdAt: string;
3957
3900
  createdBy: string;
3958
- createdByRole: string;
3959
3901
  declaration: Record<string, string | number | boolean | {
3960
3902
  type: string;
3961
3903
  filename: string;
@@ -3993,7 +3935,7 @@ export declare const EventDocument: z.ZodObject<{
3993
3935
  option: string;
3994
3936
  filename: string;
3995
3937
  originalFilename: string;
3996
- }[] | [string, string] | undefined>;
3938
+ }[] | undefined>;
3997
3939
  createdAtLocation: string;
3998
3940
  annotation?: Record<string, string | number | boolean | {
3999
3941
  type: string;
@@ -4032,16 +3974,14 @@ export declare const EventDocument: z.ZodObject<{
4032
3974
  option: string;
4033
3975
  filename: string;
4034
3976
  originalFilename: string;
4035
- }[] | [string, string] | undefined> | undefined;
3977
+ }[] | undefined> | undefined;
4036
3978
  originalActionId?: string | undefined;
4037
3979
  }, {
4038
3980
  type: "REQUEST_CORRECTION";
4039
3981
  id: string;
4040
3982
  status: "Rejected" | "Requested" | "Accepted";
4041
- transactionId: string;
4042
3983
  createdAt: string;
4043
3984
  createdBy: string;
4044
- createdByRole: string;
4045
3985
  declaration: Record<string, string | number | boolean | {
4046
3986
  type: string;
4047
3987
  filename: string;
@@ -4079,7 +4019,7 @@ export declare const EventDocument: z.ZodObject<{
4079
4019
  option: string;
4080
4020
  filename: string;
4081
4021
  originalFilename: string;
4082
- }[] | [string, string] | undefined>;
4022
+ }[] | undefined>;
4083
4023
  createdAtLocation: string;
4084
4024
  annotation?: Record<string, string | number | boolean | {
4085
4025
  type: string;
@@ -4118,15 +4058,13 @@ export declare const EventDocument: z.ZodObject<{
4118
4058
  option: string;
4119
4059
  filename: string;
4120
4060
  originalFilename: string;
4121
- }[] | [string, string] | undefined> | undefined;
4061
+ }[] | undefined> | undefined;
4122
4062
  originalActionId?: string | undefined;
4123
4063
  }>, z.ZodObject<z.objectUtil.extendShape<{
4124
4064
  id: z.ZodString;
4125
- transactionId: z.ZodString;
4126
4065
  createdAt: z.ZodString;
4127
4066
  createdBy: z.ZodString;
4128
- createdByRole: z.ZodString;
4129
- 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<{
4067
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4130
4068
  filename: z.ZodString;
4131
4069
  originalFilename: z.ZodString;
4132
4070
  type: z.ZodString;
@@ -4240,7 +4178,7 @@ export declare const EventDocument: z.ZodObject<{
4240
4178
  addressLine3?: string | null | undefined;
4241
4179
  postcodeOrZip?: string | null | undefined;
4242
4180
  }>]>>;
4243
- 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<{
4181
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4244
4182
  filename: z.ZodString;
4245
4183
  originalFilename: z.ZodString;
4246
4184
  type: z.ZodString;
@@ -4364,10 +4302,8 @@ export declare const EventDocument: z.ZodObject<{
4364
4302
  type: "APPROVE_CORRECTION";
4365
4303
  id: string;
4366
4304
  status: "Rejected" | "Requested" | "Accepted";
4367
- transactionId: string;
4368
4305
  createdAt: string;
4369
4306
  createdBy: string;
4370
- createdByRole: string;
4371
4307
  declaration: Record<string, string | number | boolean | {
4372
4308
  type: string;
4373
4309
  filename: string;
@@ -4405,7 +4341,7 @@ export declare const EventDocument: z.ZodObject<{
4405
4341
  option: string;
4406
4342
  filename: string;
4407
4343
  originalFilename: string;
4408
- }[] | [string, string] | undefined>;
4344
+ }[] | undefined>;
4409
4345
  createdAtLocation: string;
4410
4346
  requestId: string;
4411
4347
  annotation?: Record<string, string | number | boolean | {
@@ -4445,16 +4381,14 @@ export declare const EventDocument: z.ZodObject<{
4445
4381
  option: string;
4446
4382
  filename: string;
4447
4383
  originalFilename: string;
4448
- }[] | [string, string] | undefined> | undefined;
4384
+ }[] | undefined> | undefined;
4449
4385
  originalActionId?: string | undefined;
4450
4386
  }, {
4451
4387
  type: "APPROVE_CORRECTION";
4452
4388
  id: string;
4453
4389
  status: "Rejected" | "Requested" | "Accepted";
4454
- transactionId: string;
4455
4390
  createdAt: string;
4456
4391
  createdBy: string;
4457
- createdByRole: string;
4458
4392
  declaration: Record<string, string | number | boolean | {
4459
4393
  type: string;
4460
4394
  filename: string;
@@ -4492,7 +4426,7 @@ export declare const EventDocument: z.ZodObject<{
4492
4426
  option: string;
4493
4427
  filename: string;
4494
4428
  originalFilename: string;
4495
- }[] | [string, string] | undefined>;
4429
+ }[] | undefined>;
4496
4430
  createdAtLocation: string;
4497
4431
  requestId: string;
4498
4432
  annotation?: Record<string, string | number | boolean | {
@@ -4532,15 +4466,13 @@ export declare const EventDocument: z.ZodObject<{
4532
4466
  option: string;
4533
4467
  filename: string;
4534
4468
  originalFilename: string;
4535
- }[] | [string, string] | undefined> | undefined;
4469
+ }[] | undefined> | undefined;
4536
4470
  originalActionId?: string | undefined;
4537
4471
  }>, z.ZodObject<z.objectUtil.extendShape<{
4538
4472
  id: z.ZodString;
4539
- transactionId: z.ZodString;
4540
4473
  createdAt: z.ZodString;
4541
4474
  createdBy: z.ZodString;
4542
- createdByRole: z.ZodString;
4543
- 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<{
4475
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4544
4476
  filename: z.ZodString;
4545
4477
  originalFilename: z.ZodString;
4546
4478
  type: z.ZodString;
@@ -4654,7 +4586,7 @@ export declare const EventDocument: z.ZodObject<{
4654
4586
  addressLine3?: string | null | undefined;
4655
4587
  postcodeOrZip?: string | null | undefined;
4656
4588
  }>]>>;
4657
- 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<{
4589
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4658
4590
  filename: z.ZodString;
4659
4591
  originalFilename: z.ZodString;
4660
4592
  type: z.ZodString;
@@ -4778,10 +4710,8 @@ export declare const EventDocument: z.ZodObject<{
4778
4710
  type: "REJECT_CORRECTION";
4779
4711
  id: string;
4780
4712
  status: "Rejected" | "Requested" | "Accepted";
4781
- transactionId: string;
4782
4713
  createdAt: string;
4783
4714
  createdBy: string;
4784
- createdByRole: string;
4785
4715
  declaration: Record<string, string | number | boolean | {
4786
4716
  type: string;
4787
4717
  filename: string;
@@ -4819,7 +4749,7 @@ export declare const EventDocument: z.ZodObject<{
4819
4749
  option: string;
4820
4750
  filename: string;
4821
4751
  originalFilename: string;
4822
- }[] | [string, string] | undefined>;
4752
+ }[] | undefined>;
4823
4753
  createdAtLocation: string;
4824
4754
  requestId: string;
4825
4755
  annotation?: Record<string, string | number | boolean | {
@@ -4859,16 +4789,14 @@ export declare const EventDocument: z.ZodObject<{
4859
4789
  option: string;
4860
4790
  filename: string;
4861
4791
  originalFilename: string;
4862
- }[] | [string, string] | undefined> | undefined;
4792
+ }[] | undefined> | undefined;
4863
4793
  originalActionId?: string | undefined;
4864
4794
  }, {
4865
4795
  type: "REJECT_CORRECTION";
4866
4796
  id: string;
4867
4797
  status: "Rejected" | "Requested" | "Accepted";
4868
- transactionId: string;
4869
4798
  createdAt: string;
4870
4799
  createdBy: string;
4871
- createdByRole: string;
4872
4800
  declaration: Record<string, string | number | boolean | {
4873
4801
  type: string;
4874
4802
  filename: string;
@@ -4906,7 +4834,7 @@ export declare const EventDocument: z.ZodObject<{
4906
4834
  option: string;
4907
4835
  filename: string;
4908
4836
  originalFilename: string;
4909
- }[] | [string, string] | undefined>;
4837
+ }[] | undefined>;
4910
4838
  createdAtLocation: string;
4911
4839
  requestId: string;
4912
4840
  annotation?: Record<string, string | number | boolean | {
@@ -4946,15 +4874,13 @@ export declare const EventDocument: z.ZodObject<{
4946
4874
  option: string;
4947
4875
  filename: string;
4948
4876
  originalFilename: string;
4949
- }[] | [string, string] | undefined> | undefined;
4877
+ }[] | undefined> | undefined;
4950
4878
  originalActionId?: string | undefined;
4951
4879
  }>, z.ZodObject<z.objectUtil.extendShape<{
4952
4880
  id: z.ZodString;
4953
- transactionId: z.ZodString;
4954
4881
  createdAt: z.ZodString;
4955
4882
  createdBy: z.ZodString;
4956
- createdByRole: z.ZodString;
4957
- 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<{
4883
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4958
4884
  filename: z.ZodString;
4959
4885
  originalFilename: z.ZodString;
4960
4886
  type: z.ZodString;
@@ -5068,7 +4994,7 @@ export declare const EventDocument: z.ZodObject<{
5068
4994
  addressLine3?: string | null | undefined;
5069
4995
  postcodeOrZip?: string | null | undefined;
5070
4996
  }>]>>;
5071
- 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<{
4997
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5072
4998
  filename: z.ZodString;
5073
4999
  originalFilename: z.ZodString;
5074
5000
  type: z.ZodString;
@@ -5187,15 +5113,13 @@ export declare const EventDocument: z.ZodObject<{
5187
5113
  originalActionId: z.ZodOptional<z.ZodString>;
5188
5114
  }, {
5189
5115
  type: z.ZodLiteral<"UNASSIGN">;
5190
- assignedTo: z.ZodLiteral<null>;
5116
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
5191
5117
  }>, "strip", z.ZodTypeAny, {
5192
5118
  type: "UNASSIGN";
5193
5119
  id: string;
5194
5120
  status: "Rejected" | "Requested" | "Accepted";
5195
- transactionId: string;
5196
5121
  createdAt: string;
5197
5122
  createdBy: string;
5198
- createdByRole: string;
5199
5123
  declaration: Record<string, string | number | boolean | {
5200
5124
  type: string;
5201
5125
  filename: string;
@@ -5233,7 +5157,7 @@ export declare const EventDocument: z.ZodObject<{
5233
5157
  option: string;
5234
5158
  filename: string;
5235
5159
  originalFilename: string;
5236
- }[] | [string, string] | undefined>;
5160
+ }[] | undefined>;
5237
5161
  createdAtLocation: string;
5238
5162
  assignedTo: null;
5239
5163
  annotation?: Record<string, string | number | boolean | {
@@ -5273,16 +5197,14 @@ export declare const EventDocument: z.ZodObject<{
5273
5197
  option: string;
5274
5198
  filename: string;
5275
5199
  originalFilename: string;
5276
- }[] | [string, string] | undefined> | undefined;
5200
+ }[] | undefined> | undefined;
5277
5201
  originalActionId?: string | undefined;
5278
5202
  }, {
5279
5203
  type: "UNASSIGN";
5280
5204
  id: string;
5281
5205
  status: "Rejected" | "Requested" | "Accepted";
5282
- transactionId: string;
5283
5206
  createdAt: string;
5284
5207
  createdBy: string;
5285
- createdByRole: string;
5286
5208
  declaration: Record<string, string | number | boolean | {
5287
5209
  type: string;
5288
5210
  filename: string;
@@ -5320,9 +5242,8 @@ export declare const EventDocument: z.ZodObject<{
5320
5242
  option: string;
5321
5243
  filename: string;
5322
5244
  originalFilename: string;
5323
- }[] | [string, string] | undefined>;
5245
+ }[] | undefined>;
5324
5246
  createdAtLocation: string;
5325
- assignedTo: null;
5326
5247
  annotation?: Record<string, string | number | boolean | {
5327
5248
  type: string;
5328
5249
  filename: string;
@@ -5360,15 +5281,14 @@ export declare const EventDocument: z.ZodObject<{
5360
5281
  option: string;
5361
5282
  filename: string;
5362
5283
  originalFilename: string;
5363
- }[] | [string, string] | undefined> | undefined;
5284
+ }[] | undefined> | undefined;
5364
5285
  originalActionId?: string | undefined;
5286
+ assignedTo?: null | undefined;
5365
5287
  }>, z.ZodObject<z.objectUtil.extendShape<{
5366
5288
  id: z.ZodString;
5367
- transactionId: z.ZodString;
5368
5289
  createdAt: z.ZodString;
5369
5290
  createdBy: z.ZodString;
5370
- createdByRole: z.ZodString;
5371
- 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<{
5291
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5372
5292
  filename: z.ZodString;
5373
5293
  originalFilename: z.ZodString;
5374
5294
  type: z.ZodString;
@@ -5482,7 +5402,7 @@ export declare const EventDocument: z.ZodObject<{
5482
5402
  addressLine3?: string | null | undefined;
5483
5403
  postcodeOrZip?: string | null | undefined;
5484
5404
  }>]>>;
5485
- 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<{
5405
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5486
5406
  filename: z.ZodString;
5487
5407
  originalFilename: z.ZodString;
5488
5408
  type: z.ZodString;
@@ -5605,10 +5525,8 @@ export declare const EventDocument: z.ZodObject<{
5605
5525
  type: "PRINT_CERTIFICATE";
5606
5526
  id: string;
5607
5527
  status: "Rejected" | "Requested" | "Accepted";
5608
- transactionId: string;
5609
5528
  createdAt: string;
5610
5529
  createdBy: string;
5611
- createdByRole: string;
5612
5530
  declaration: Record<string, string | number | boolean | {
5613
5531
  type: string;
5614
5532
  filename: string;
@@ -5646,7 +5564,7 @@ export declare const EventDocument: z.ZodObject<{
5646
5564
  option: string;
5647
5565
  filename: string;
5648
5566
  originalFilename: string;
5649
- }[] | [string, string] | undefined>;
5567
+ }[] | undefined>;
5650
5568
  createdAtLocation: string;
5651
5569
  annotation?: Record<string, string | number | boolean | {
5652
5570
  type: string;
@@ -5685,16 +5603,14 @@ export declare const EventDocument: z.ZodObject<{
5685
5603
  option: string;
5686
5604
  filename: string;
5687
5605
  originalFilename: string;
5688
- }[] | [string, string] | undefined> | undefined;
5606
+ }[] | undefined> | undefined;
5689
5607
  originalActionId?: string | undefined;
5690
5608
  }, {
5691
5609
  type: "PRINT_CERTIFICATE";
5692
5610
  id: string;
5693
5611
  status: "Rejected" | "Requested" | "Accepted";
5694
- transactionId: string;
5695
5612
  createdAt: string;
5696
5613
  createdBy: string;
5697
- createdByRole: string;
5698
5614
  declaration: Record<string, string | number | boolean | {
5699
5615
  type: string;
5700
5616
  filename: string;
@@ -5732,7 +5648,7 @@ export declare const EventDocument: z.ZodObject<{
5732
5648
  option: string;
5733
5649
  filename: string;
5734
5650
  originalFilename: string;
5735
- }[] | [string, string] | undefined>;
5651
+ }[] | undefined>;
5736
5652
  createdAtLocation: string;
5737
5653
  annotation?: Record<string, string | number | boolean | {
5738
5654
  type: string;
@@ -5771,15 +5687,13 @@ export declare const EventDocument: z.ZodObject<{
5771
5687
  option: string;
5772
5688
  filename: string;
5773
5689
  originalFilename: string;
5774
- }[] | [string, string] | undefined> | undefined;
5690
+ }[] | undefined> | undefined;
5775
5691
  originalActionId?: string | undefined;
5776
5692
  }>, z.ZodObject<z.objectUtil.extendShape<{
5777
5693
  id: z.ZodString;
5778
- transactionId: z.ZodString;
5779
5694
  createdAt: z.ZodString;
5780
5695
  createdBy: z.ZodString;
5781
- createdByRole: z.ZodString;
5782
- 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<{
5696
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5783
5697
  filename: z.ZodString;
5784
5698
  originalFilename: z.ZodString;
5785
5699
  type: z.ZodString;
@@ -5893,7 +5807,7 @@ export declare const EventDocument: z.ZodObject<{
5893
5807
  addressLine3?: string | null | undefined;
5894
5808
  postcodeOrZip?: string | null | undefined;
5895
5809
  }>]>>;
5896
- 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<{
5810
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5897
5811
  filename: z.ZodString;
5898
5812
  originalFilename: z.ZodString;
5899
5813
  type: z.ZodString;
@@ -6016,10 +5930,8 @@ export declare const EventDocument: z.ZodObject<{
6016
5930
  type: "READ";
6017
5931
  id: string;
6018
5932
  status: "Rejected" | "Requested" | "Accepted";
6019
- transactionId: string;
6020
5933
  createdAt: string;
6021
5934
  createdBy: string;
6022
- createdByRole: string;
6023
5935
  declaration: Record<string, string | number | boolean | {
6024
5936
  type: string;
6025
5937
  filename: string;
@@ -6057,7 +5969,7 @@ export declare const EventDocument: z.ZodObject<{
6057
5969
  option: string;
6058
5970
  filename: string;
6059
5971
  originalFilename: string;
6060
- }[] | [string, string] | undefined>;
5972
+ }[] | undefined>;
6061
5973
  createdAtLocation: string;
6062
5974
  annotation?: Record<string, string | number | boolean | {
6063
5975
  type: string;
@@ -6096,16 +6008,14 @@ export declare const EventDocument: z.ZodObject<{
6096
6008
  option: string;
6097
6009
  filename: string;
6098
6010
  originalFilename: string;
6099
- }[] | [string, string] | undefined> | undefined;
6011
+ }[] | undefined> | undefined;
6100
6012
  originalActionId?: string | undefined;
6101
6013
  }, {
6102
6014
  type: "READ";
6103
6015
  id: string;
6104
6016
  status: "Rejected" | "Requested" | "Accepted";
6105
- transactionId: string;
6106
6017
  createdAt: string;
6107
6018
  createdBy: string;
6108
- createdByRole: string;
6109
6019
  declaration: Record<string, string | number | boolean | {
6110
6020
  type: string;
6111
6021
  filename: string;
@@ -6143,7 +6053,7 @@ export declare const EventDocument: z.ZodObject<{
6143
6053
  option: string;
6144
6054
  filename: string;
6145
6055
  originalFilename: string;
6146
- }[] | [string, string] | undefined>;
6056
+ }[] | undefined>;
6147
6057
  createdAtLocation: string;
6148
6058
  annotation?: Record<string, string | number | boolean | {
6149
6059
  type: string;
@@ -6182,15 +6092,13 @@ export declare const EventDocument: z.ZodObject<{
6182
6092
  option: string;
6183
6093
  filename: string;
6184
6094
  originalFilename: string;
6185
- }[] | [string, string] | undefined> | undefined;
6095
+ }[] | undefined> | undefined;
6186
6096
  originalActionId?: string | undefined;
6187
6097
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6188
6098
  id: z.ZodString;
6189
- transactionId: z.ZodString;
6190
6099
  createdAt: z.ZodString;
6191
6100
  createdBy: z.ZodString;
6192
- createdByRole: z.ZodString;
6193
- 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<{
6101
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6194
6102
  filename: z.ZodString;
6195
6103
  originalFilename: z.ZodString;
6196
6104
  type: z.ZodString;
@@ -6304,7 +6212,7 @@ export declare const EventDocument: z.ZodObject<{
6304
6212
  addressLine3?: string | null | undefined;
6305
6213
  postcodeOrZip?: string | null | undefined;
6306
6214
  }>]>>;
6307
- 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<{
6215
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6308
6216
  filename: z.ZodString;
6309
6217
  originalFilename: z.ZodString;
6310
6218
  type: z.ZodString;
@@ -6421,28 +6329,20 @@ export declare const EventDocument: z.ZodObject<{
6421
6329
  createdAtLocation: z.ZodString;
6422
6330
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6423
6331
  originalActionId: z.ZodOptional<z.ZodString>;
6424
- }, "declaration" | "annotation">, {
6332
+ }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6425
6333
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6426
6334
  status: z.ZodLiteral<"Rejected">;
6427
6335
  }>, "strip", z.ZodTypeAny, {
6428
6336
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6429
6337
  id: string;
6430
6338
  status: "Rejected";
6431
- transactionId: string;
6432
6339
  createdAt: string;
6433
- createdBy: string;
6434
- createdByRole: string;
6435
- createdAtLocation: string;
6436
6340
  originalActionId?: string | undefined;
6437
6341
  }, {
6438
6342
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6439
6343
  id: string;
6440
6344
  status: "Rejected";
6441
- transactionId: string;
6442
6345
  createdAt: string;
6443
- createdBy: string;
6444
- createdByRole: string;
6445
- createdAtLocation: string;
6446
6346
  originalActionId?: string | undefined;
6447
6347
  }>]>, "many">;
6448
6348
  trackingId: z.ZodString;
@@ -6455,10 +6355,8 @@ export declare const EventDocument: z.ZodObject<{
6455
6355
  type: "ASSIGN";
6456
6356
  id: string;
6457
6357
  status: "Rejected" | "Requested" | "Accepted";
6458
- transactionId: string;
6459
6358
  createdAt: string;
6460
6359
  createdBy: string;
6461
- createdByRole: string;
6462
6360
  declaration: Record<string, string | number | boolean | {
6463
6361
  type: string;
6464
6362
  filename: string;
@@ -6496,7 +6394,7 @@ export declare const EventDocument: z.ZodObject<{
6496
6394
  option: string;
6497
6395
  filename: string;
6498
6396
  originalFilename: string;
6499
- }[] | [string, string] | undefined>;
6397
+ }[] | undefined>;
6500
6398
  createdAtLocation: string;
6501
6399
  assignedTo: string;
6502
6400
  annotation?: Record<string, string | number | boolean | {
@@ -6536,16 +6434,14 @@ export declare const EventDocument: z.ZodObject<{
6536
6434
  option: string;
6537
6435
  filename: string;
6538
6436
  originalFilename: string;
6539
- }[] | [string, string] | undefined> | undefined;
6437
+ }[] | undefined> | undefined;
6540
6438
  originalActionId?: string | undefined;
6541
6439
  } | {
6542
6440
  type: "UNASSIGN";
6543
6441
  id: string;
6544
6442
  status: "Rejected" | "Requested" | "Accepted";
6545
- transactionId: string;
6546
6443
  createdAt: string;
6547
6444
  createdBy: string;
6548
- createdByRole: string;
6549
6445
  declaration: Record<string, string | number | boolean | {
6550
6446
  type: string;
6551
6447
  filename: string;
@@ -6583,7 +6479,7 @@ export declare const EventDocument: z.ZodObject<{
6583
6479
  option: string;
6584
6480
  filename: string;
6585
6481
  originalFilename: string;
6586
- }[] | [string, string] | undefined>;
6482
+ }[] | undefined>;
6587
6483
  createdAtLocation: string;
6588
6484
  assignedTo: null;
6589
6485
  annotation?: Record<string, string | number | boolean | {
@@ -6623,16 +6519,14 @@ export declare const EventDocument: z.ZodObject<{
6623
6519
  option: string;
6624
6520
  filename: string;
6625
6521
  originalFilename: string;
6626
- }[] | [string, string] | undefined> | undefined;
6522
+ }[] | undefined> | undefined;
6627
6523
  originalActionId?: string | undefined;
6628
6524
  } | {
6629
6525
  type: "REGISTER";
6630
6526
  id: string;
6631
6527
  status: "Rejected" | "Requested" | "Accepted";
6632
- transactionId: string;
6633
6528
  createdAt: string;
6634
6529
  createdBy: string;
6635
- createdByRole: string;
6636
6530
  declaration: Record<string, string | number | boolean | {
6637
6531
  type: string;
6638
6532
  filename: string;
@@ -6670,7 +6564,7 @@ export declare const EventDocument: z.ZodObject<{
6670
6564
  option: string;
6671
6565
  filename: string;
6672
6566
  originalFilename: string;
6673
- }[] | [string, string] | undefined>;
6567
+ }[] | undefined>;
6674
6568
  createdAtLocation: string;
6675
6569
  annotation?: Record<string, string | number | boolean | {
6676
6570
  type: string;
@@ -6709,17 +6603,15 @@ export declare const EventDocument: z.ZodObject<{
6709
6603
  option: string;
6710
6604
  filename: string;
6711
6605
  originalFilename: string;
6712
- }[] | [string, string] | undefined> | undefined;
6606
+ }[] | undefined> | undefined;
6713
6607
  originalActionId?: string | undefined;
6714
6608
  registrationNumber?: string | undefined;
6715
6609
  } | {
6716
6610
  type: "DECLARE";
6717
6611
  id: string;
6718
6612
  status: "Rejected" | "Requested" | "Accepted";
6719
- transactionId: string;
6720
6613
  createdAt: string;
6721
6614
  createdBy: string;
6722
- createdByRole: string;
6723
6615
  declaration: Record<string, string | number | boolean | {
6724
6616
  type: string;
6725
6617
  filename: string;
@@ -6757,7 +6649,7 @@ export declare const EventDocument: z.ZodObject<{
6757
6649
  option: string;
6758
6650
  filename: string;
6759
6651
  originalFilename: string;
6760
- }[] | [string, string] | undefined>;
6652
+ }[] | undefined>;
6761
6653
  createdAtLocation: string;
6762
6654
  annotation?: Record<string, string | number | boolean | {
6763
6655
  type: string;
@@ -6796,16 +6688,14 @@ export declare const EventDocument: z.ZodObject<{
6796
6688
  option: string;
6797
6689
  filename: string;
6798
6690
  originalFilename: string;
6799
- }[] | [string, string] | undefined> | undefined;
6691
+ }[] | undefined> | undefined;
6800
6692
  originalActionId?: string | undefined;
6801
6693
  } | {
6802
6694
  type: "VALIDATE";
6803
6695
  id: string;
6804
6696
  status: "Rejected" | "Requested" | "Accepted";
6805
- transactionId: string;
6806
6697
  createdAt: string;
6807
6698
  createdBy: string;
6808
- createdByRole: string;
6809
6699
  declaration: Record<string, string | number | boolean | {
6810
6700
  type: string;
6811
6701
  filename: string;
@@ -6843,7 +6733,7 @@ export declare const EventDocument: z.ZodObject<{
6843
6733
  option: string;
6844
6734
  filename: string;
6845
6735
  originalFilename: string;
6846
- }[] | [string, string] | undefined>;
6736
+ }[] | undefined>;
6847
6737
  createdAtLocation: string;
6848
6738
  annotation?: Record<string, string | number | boolean | {
6849
6739
  type: string;
@@ -6882,16 +6772,14 @@ export declare const EventDocument: z.ZodObject<{
6882
6772
  option: string;
6883
6773
  filename: string;
6884
6774
  originalFilename: string;
6885
- }[] | [string, string] | undefined> | undefined;
6775
+ }[] | undefined> | undefined;
6886
6776
  originalActionId?: string | undefined;
6887
6777
  } | {
6888
6778
  type: "REJECT";
6889
6779
  id: string;
6890
6780
  status: "Rejected" | "Requested" | "Accepted";
6891
- transactionId: string;
6892
6781
  createdAt: string;
6893
6782
  createdBy: string;
6894
- createdByRole: string;
6895
6783
  declaration: Record<string, string | number | boolean | {
6896
6784
  type: string;
6897
6785
  filename: string;
@@ -6929,7 +6817,7 @@ export declare const EventDocument: z.ZodObject<{
6929
6817
  option: string;
6930
6818
  filename: string;
6931
6819
  originalFilename: string;
6932
- }[] | [string, string] | undefined>;
6820
+ }[] | undefined>;
6933
6821
  createdAtLocation: string;
6934
6822
  annotation?: Record<string, string | number | boolean | {
6935
6823
  type: string;
@@ -6968,16 +6856,14 @@ export declare const EventDocument: z.ZodObject<{
6968
6856
  option: string;
6969
6857
  filename: string;
6970
6858
  originalFilename: string;
6971
- }[] | [string, string] | undefined> | undefined;
6859
+ }[] | undefined> | undefined;
6972
6860
  originalActionId?: string | undefined;
6973
6861
  } | {
6974
6862
  type: "MARKED_AS_DUPLICATE";
6975
6863
  id: string;
6976
6864
  status: "Rejected" | "Requested" | "Accepted";
6977
- transactionId: string;
6978
6865
  createdAt: string;
6979
6866
  createdBy: string;
6980
- createdByRole: string;
6981
6867
  declaration: Record<string, string | number | boolean | {
6982
6868
  type: string;
6983
6869
  filename: string;
@@ -7015,7 +6901,7 @@ export declare const EventDocument: z.ZodObject<{
7015
6901
  option: string;
7016
6902
  filename: string;
7017
6903
  originalFilename: string;
7018
- }[] | [string, string] | undefined>;
6904
+ }[] | undefined>;
7019
6905
  createdAtLocation: string;
7020
6906
  annotation?: Record<string, string | number | boolean | {
7021
6907
  type: string;
@@ -7054,16 +6940,14 @@ export declare const EventDocument: z.ZodObject<{
7054
6940
  option: string;
7055
6941
  filename: string;
7056
6942
  originalFilename: string;
7057
- }[] | [string, string] | undefined> | undefined;
6943
+ }[] | undefined> | undefined;
7058
6944
  originalActionId?: string | undefined;
7059
6945
  } | {
7060
6946
  type: "ARCHIVE";
7061
6947
  id: string;
7062
6948
  status: "Rejected" | "Requested" | "Accepted";
7063
- transactionId: string;
7064
6949
  createdAt: string;
7065
6950
  createdBy: string;
7066
- createdByRole: string;
7067
6951
  declaration: Record<string, string | number | boolean | {
7068
6952
  type: string;
7069
6953
  filename: string;
@@ -7101,7 +6985,7 @@ export declare const EventDocument: z.ZodObject<{
7101
6985
  option: string;
7102
6986
  filename: string;
7103
6987
  originalFilename: string;
7104
- }[] | [string, string] | undefined>;
6988
+ }[] | undefined>;
7105
6989
  createdAtLocation: string;
7106
6990
  annotation?: Record<string, string | number | boolean | {
7107
6991
  type: string;
@@ -7140,16 +7024,14 @@ export declare const EventDocument: z.ZodObject<{
7140
7024
  option: string;
7141
7025
  filename: string;
7142
7026
  originalFilename: string;
7143
- }[] | [string, string] | undefined> | undefined;
7027
+ }[] | undefined> | undefined;
7144
7028
  originalActionId?: string | undefined;
7145
7029
  } | {
7146
7030
  type: "CREATE";
7147
7031
  id: string;
7148
7032
  status: "Rejected" | "Requested" | "Accepted";
7149
- transactionId: string;
7150
7033
  createdAt: string;
7151
7034
  createdBy: string;
7152
- createdByRole: string;
7153
7035
  declaration: Record<string, string | number | boolean | {
7154
7036
  type: string;
7155
7037
  filename: string;
@@ -7187,7 +7069,7 @@ export declare const EventDocument: z.ZodObject<{
7187
7069
  option: string;
7188
7070
  filename: string;
7189
7071
  originalFilename: string;
7190
- }[] | [string, string] | undefined>;
7072
+ }[] | undefined>;
7191
7073
  createdAtLocation: string;
7192
7074
  annotation?: Record<string, string | number | boolean | {
7193
7075
  type: string;
@@ -7226,16 +7108,14 @@ export declare const EventDocument: z.ZodObject<{
7226
7108
  option: string;
7227
7109
  filename: string;
7228
7110
  originalFilename: string;
7229
- }[] | [string, string] | undefined> | undefined;
7111
+ }[] | undefined> | undefined;
7230
7112
  originalActionId?: string | undefined;
7231
7113
  } | {
7232
7114
  type: "NOTIFY";
7233
7115
  id: string;
7234
7116
  status: "Rejected" | "Requested" | "Accepted";
7235
- transactionId: string;
7236
7117
  createdAt: string;
7237
7118
  createdBy: string;
7238
- createdByRole: string;
7239
7119
  declaration: Record<string, string | number | boolean | {
7240
7120
  type: string;
7241
7121
  filename: string;
@@ -7273,7 +7153,7 @@ export declare const EventDocument: z.ZodObject<{
7273
7153
  option: string;
7274
7154
  filename: string;
7275
7155
  originalFilename: string;
7276
- }[] | [string, string] | undefined>;
7156
+ }[] | undefined>;
7277
7157
  createdAtLocation: string;
7278
7158
  annotation?: Record<string, string | number | boolean | {
7279
7159
  type: string;
@@ -7312,16 +7192,14 @@ export declare const EventDocument: z.ZodObject<{
7312
7192
  option: string;
7313
7193
  filename: string;
7314
7194
  originalFilename: string;
7315
- }[] | [string, string] | undefined> | undefined;
7195
+ }[] | undefined> | undefined;
7316
7196
  originalActionId?: string | undefined;
7317
7197
  } | {
7318
7198
  type: "PRINT_CERTIFICATE";
7319
7199
  id: string;
7320
7200
  status: "Rejected" | "Requested" | "Accepted";
7321
- transactionId: string;
7322
7201
  createdAt: string;
7323
7202
  createdBy: string;
7324
- createdByRole: string;
7325
7203
  declaration: Record<string, string | number | boolean | {
7326
7204
  type: string;
7327
7205
  filename: string;
@@ -7359,7 +7237,7 @@ export declare const EventDocument: z.ZodObject<{
7359
7237
  option: string;
7360
7238
  filename: string;
7361
7239
  originalFilename: string;
7362
- }[] | [string, string] | undefined>;
7240
+ }[] | undefined>;
7363
7241
  createdAtLocation: string;
7364
7242
  annotation?: Record<string, string | number | boolean | {
7365
7243
  type: string;
@@ -7398,16 +7276,14 @@ export declare const EventDocument: z.ZodObject<{
7398
7276
  option: string;
7399
7277
  filename: string;
7400
7278
  originalFilename: string;
7401
- }[] | [string, string] | undefined> | undefined;
7279
+ }[] | undefined> | undefined;
7402
7280
  originalActionId?: string | undefined;
7403
7281
  } | {
7404
7282
  type: "REQUEST_CORRECTION";
7405
7283
  id: string;
7406
7284
  status: "Rejected" | "Requested" | "Accepted";
7407
- transactionId: string;
7408
7285
  createdAt: string;
7409
7286
  createdBy: string;
7410
- createdByRole: string;
7411
7287
  declaration: Record<string, string | number | boolean | {
7412
7288
  type: string;
7413
7289
  filename: string;
@@ -7445,7 +7321,7 @@ export declare const EventDocument: z.ZodObject<{
7445
7321
  option: string;
7446
7322
  filename: string;
7447
7323
  originalFilename: string;
7448
- }[] | [string, string] | undefined>;
7324
+ }[] | undefined>;
7449
7325
  createdAtLocation: string;
7450
7326
  annotation?: Record<string, string | number | boolean | {
7451
7327
  type: string;
@@ -7484,16 +7360,14 @@ export declare const EventDocument: z.ZodObject<{
7484
7360
  option: string;
7485
7361
  filename: string;
7486
7362
  originalFilename: string;
7487
- }[] | [string, string] | undefined> | undefined;
7363
+ }[] | undefined> | undefined;
7488
7364
  originalActionId?: string | undefined;
7489
7365
  } | {
7490
7366
  type: "APPROVE_CORRECTION";
7491
7367
  id: string;
7492
7368
  status: "Rejected" | "Requested" | "Accepted";
7493
- transactionId: string;
7494
7369
  createdAt: string;
7495
7370
  createdBy: string;
7496
- createdByRole: string;
7497
7371
  declaration: Record<string, string | number | boolean | {
7498
7372
  type: string;
7499
7373
  filename: string;
@@ -7531,7 +7405,7 @@ export declare const EventDocument: z.ZodObject<{
7531
7405
  option: string;
7532
7406
  filename: string;
7533
7407
  originalFilename: string;
7534
- }[] | [string, string] | undefined>;
7408
+ }[] | undefined>;
7535
7409
  createdAtLocation: string;
7536
7410
  requestId: string;
7537
7411
  annotation?: Record<string, string | number | boolean | {
@@ -7571,16 +7445,14 @@ export declare const EventDocument: z.ZodObject<{
7571
7445
  option: string;
7572
7446
  filename: string;
7573
7447
  originalFilename: string;
7574
- }[] | [string, string] | undefined> | undefined;
7448
+ }[] | undefined> | undefined;
7575
7449
  originalActionId?: string | undefined;
7576
7450
  } | {
7577
7451
  type: "REJECT_CORRECTION";
7578
7452
  id: string;
7579
7453
  status: "Rejected" | "Requested" | "Accepted";
7580
- transactionId: string;
7581
7454
  createdAt: string;
7582
7455
  createdBy: string;
7583
- createdByRole: string;
7584
7456
  declaration: Record<string, string | number | boolean | {
7585
7457
  type: string;
7586
7458
  filename: string;
@@ -7618,7 +7490,7 @@ export declare const EventDocument: z.ZodObject<{
7618
7490
  option: string;
7619
7491
  filename: string;
7620
7492
  originalFilename: string;
7621
- }[] | [string, string] | undefined>;
7493
+ }[] | undefined>;
7622
7494
  createdAtLocation: string;
7623
7495
  requestId: string;
7624
7496
  annotation?: Record<string, string | number | boolean | {
@@ -7658,16 +7530,14 @@ export declare const EventDocument: z.ZodObject<{
7658
7530
  option: string;
7659
7531
  filename: string;
7660
7532
  originalFilename: string;
7661
- }[] | [string, string] | undefined> | undefined;
7533
+ }[] | undefined> | undefined;
7662
7534
  originalActionId?: string | undefined;
7663
7535
  } | {
7664
7536
  type: "READ";
7665
7537
  id: string;
7666
7538
  status: "Rejected" | "Requested" | "Accepted";
7667
- transactionId: string;
7668
7539
  createdAt: string;
7669
7540
  createdBy: string;
7670
- createdByRole: string;
7671
7541
  declaration: Record<string, string | number | boolean | {
7672
7542
  type: string;
7673
7543
  filename: string;
@@ -7705,7 +7575,7 @@ export declare const EventDocument: z.ZodObject<{
7705
7575
  option: string;
7706
7576
  filename: string;
7707
7577
  originalFilename: string;
7708
- }[] | [string, string] | undefined>;
7578
+ }[] | undefined>;
7709
7579
  createdAtLocation: string;
7710
7580
  annotation?: Record<string, string | number | boolean | {
7711
7581
  type: string;
@@ -7744,17 +7614,13 @@ export declare const EventDocument: z.ZodObject<{
7744
7614
  option: string;
7745
7615
  filename: string;
7746
7616
  originalFilename: string;
7747
- }[] | [string, string] | undefined> | undefined;
7617
+ }[] | undefined> | undefined;
7748
7618
  originalActionId?: string | undefined;
7749
7619
  } | {
7750
7620
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7751
7621
  id: string;
7752
7622
  status: "Rejected";
7753
- transactionId: string;
7754
7623
  createdAt: string;
7755
- createdBy: string;
7756
- createdByRole: string;
7757
- createdAtLocation: string;
7758
7624
  originalActionId?: string | undefined;
7759
7625
  })[];
7760
7626
  trackingId: string;
@@ -7767,10 +7633,8 @@ export declare const EventDocument: z.ZodObject<{
7767
7633
  type: "ASSIGN";
7768
7634
  id: string;
7769
7635
  status: "Rejected" | "Requested" | "Accepted";
7770
- transactionId: string;
7771
7636
  createdAt: string;
7772
7637
  createdBy: string;
7773
- createdByRole: string;
7774
7638
  declaration: Record<string, string | number | boolean | {
7775
7639
  type: string;
7776
7640
  filename: string;
@@ -7808,7 +7672,7 @@ export declare const EventDocument: z.ZodObject<{
7808
7672
  option: string;
7809
7673
  filename: string;
7810
7674
  originalFilename: string;
7811
- }[] | [string, string] | undefined>;
7675
+ }[] | undefined>;
7812
7676
  createdAtLocation: string;
7813
7677
  assignedTo: string;
7814
7678
  annotation?: Record<string, string | number | boolean | {
@@ -7848,16 +7712,14 @@ export declare const EventDocument: z.ZodObject<{
7848
7712
  option: string;
7849
7713
  filename: string;
7850
7714
  originalFilename: string;
7851
- }[] | [string, string] | undefined> | undefined;
7715
+ }[] | undefined> | undefined;
7852
7716
  originalActionId?: string | undefined;
7853
7717
  } | {
7854
7718
  type: "UNASSIGN";
7855
7719
  id: string;
7856
7720
  status: "Rejected" | "Requested" | "Accepted";
7857
- transactionId: string;
7858
7721
  createdAt: string;
7859
7722
  createdBy: string;
7860
- createdByRole: string;
7861
7723
  declaration: Record<string, string | number | boolean | {
7862
7724
  type: string;
7863
7725
  filename: string;
@@ -7895,9 +7757,8 @@ export declare const EventDocument: z.ZodObject<{
7895
7757
  option: string;
7896
7758
  filename: string;
7897
7759
  originalFilename: string;
7898
- }[] | [string, string] | undefined>;
7760
+ }[] | undefined>;
7899
7761
  createdAtLocation: string;
7900
- assignedTo: null;
7901
7762
  annotation?: Record<string, string | number | boolean | {
7902
7763
  type: string;
7903
7764
  filename: string;
@@ -7935,16 +7796,15 @@ export declare const EventDocument: z.ZodObject<{
7935
7796
  option: string;
7936
7797
  filename: string;
7937
7798
  originalFilename: string;
7938
- }[] | [string, string] | undefined> | undefined;
7799
+ }[] | undefined> | undefined;
7939
7800
  originalActionId?: string | undefined;
7801
+ assignedTo?: null | undefined;
7940
7802
  } | {
7941
7803
  type: "REGISTER";
7942
7804
  id: string;
7943
7805
  status: "Rejected" | "Requested" | "Accepted";
7944
- transactionId: string;
7945
7806
  createdAt: string;
7946
7807
  createdBy: string;
7947
- createdByRole: string;
7948
7808
  declaration: Record<string, string | number | boolean | {
7949
7809
  type: string;
7950
7810
  filename: string;
@@ -7982,7 +7842,7 @@ export declare const EventDocument: z.ZodObject<{
7982
7842
  option: string;
7983
7843
  filename: string;
7984
7844
  originalFilename: string;
7985
- }[] | [string, string] | undefined>;
7845
+ }[] | undefined>;
7986
7846
  createdAtLocation: string;
7987
7847
  annotation?: Record<string, string | number | boolean | {
7988
7848
  type: string;
@@ -8021,17 +7881,15 @@ export declare const EventDocument: z.ZodObject<{
8021
7881
  option: string;
8022
7882
  filename: string;
8023
7883
  originalFilename: string;
8024
- }[] | [string, string] | undefined> | undefined;
7884
+ }[] | undefined> | undefined;
8025
7885
  originalActionId?: string | undefined;
8026
7886
  registrationNumber?: string | undefined;
8027
7887
  } | {
8028
7888
  type: "DECLARE";
8029
7889
  id: string;
8030
7890
  status: "Rejected" | "Requested" | "Accepted";
8031
- transactionId: string;
8032
7891
  createdAt: string;
8033
7892
  createdBy: string;
8034
- createdByRole: string;
8035
7893
  declaration: Record<string, string | number | boolean | {
8036
7894
  type: string;
8037
7895
  filename: string;
@@ -8069,7 +7927,7 @@ export declare const EventDocument: z.ZodObject<{
8069
7927
  option: string;
8070
7928
  filename: string;
8071
7929
  originalFilename: string;
8072
- }[] | [string, string] | undefined>;
7930
+ }[] | undefined>;
8073
7931
  createdAtLocation: string;
8074
7932
  annotation?: Record<string, string | number | boolean | {
8075
7933
  type: string;
@@ -8108,16 +7966,14 @@ export declare const EventDocument: z.ZodObject<{
8108
7966
  option: string;
8109
7967
  filename: string;
8110
7968
  originalFilename: string;
8111
- }[] | [string, string] | undefined> | undefined;
7969
+ }[] | undefined> | undefined;
8112
7970
  originalActionId?: string | undefined;
8113
7971
  } | {
8114
7972
  type: "VALIDATE";
8115
7973
  id: string;
8116
7974
  status: "Rejected" | "Requested" | "Accepted";
8117
- transactionId: string;
8118
7975
  createdAt: string;
8119
7976
  createdBy: string;
8120
- createdByRole: string;
8121
7977
  declaration: Record<string, string | number | boolean | {
8122
7978
  type: string;
8123
7979
  filename: string;
@@ -8155,7 +8011,7 @@ export declare const EventDocument: z.ZodObject<{
8155
8011
  option: string;
8156
8012
  filename: string;
8157
8013
  originalFilename: string;
8158
- }[] | [string, string] | undefined>;
8014
+ }[] | undefined>;
8159
8015
  createdAtLocation: string;
8160
8016
  annotation?: Record<string, string | number | boolean | {
8161
8017
  type: string;
@@ -8194,16 +8050,14 @@ export declare const EventDocument: z.ZodObject<{
8194
8050
  option: string;
8195
8051
  filename: string;
8196
8052
  originalFilename: string;
8197
- }[] | [string, string] | undefined> | undefined;
8053
+ }[] | undefined> | undefined;
8198
8054
  originalActionId?: string | undefined;
8199
8055
  } | {
8200
8056
  type: "REJECT";
8201
8057
  id: string;
8202
8058
  status: "Rejected" | "Requested" | "Accepted";
8203
- transactionId: string;
8204
8059
  createdAt: string;
8205
8060
  createdBy: string;
8206
- createdByRole: string;
8207
8061
  declaration: Record<string, string | number | boolean | {
8208
8062
  type: string;
8209
8063
  filename: string;
@@ -8241,7 +8095,7 @@ export declare const EventDocument: z.ZodObject<{
8241
8095
  option: string;
8242
8096
  filename: string;
8243
8097
  originalFilename: string;
8244
- }[] | [string, string] | undefined>;
8098
+ }[] | undefined>;
8245
8099
  createdAtLocation: string;
8246
8100
  annotation?: Record<string, string | number | boolean | {
8247
8101
  type: string;
@@ -8280,16 +8134,14 @@ export declare const EventDocument: z.ZodObject<{
8280
8134
  option: string;
8281
8135
  filename: string;
8282
8136
  originalFilename: string;
8283
- }[] | [string, string] | undefined> | undefined;
8137
+ }[] | undefined> | undefined;
8284
8138
  originalActionId?: string | undefined;
8285
8139
  } | {
8286
8140
  type: "MARKED_AS_DUPLICATE";
8287
8141
  id: string;
8288
8142
  status: "Rejected" | "Requested" | "Accepted";
8289
- transactionId: string;
8290
8143
  createdAt: string;
8291
8144
  createdBy: string;
8292
- createdByRole: string;
8293
8145
  declaration: Record<string, string | number | boolean | {
8294
8146
  type: string;
8295
8147
  filename: string;
@@ -8327,7 +8179,7 @@ export declare const EventDocument: z.ZodObject<{
8327
8179
  option: string;
8328
8180
  filename: string;
8329
8181
  originalFilename: string;
8330
- }[] | [string, string] | undefined>;
8182
+ }[] | undefined>;
8331
8183
  createdAtLocation: string;
8332
8184
  annotation?: Record<string, string | number | boolean | {
8333
8185
  type: string;
@@ -8366,16 +8218,14 @@ export declare const EventDocument: z.ZodObject<{
8366
8218
  option: string;
8367
8219
  filename: string;
8368
8220
  originalFilename: string;
8369
- }[] | [string, string] | undefined> | undefined;
8221
+ }[] | undefined> | undefined;
8370
8222
  originalActionId?: string | undefined;
8371
8223
  } | {
8372
8224
  type: "ARCHIVE";
8373
8225
  id: string;
8374
8226
  status: "Rejected" | "Requested" | "Accepted";
8375
- transactionId: string;
8376
8227
  createdAt: string;
8377
8228
  createdBy: string;
8378
- createdByRole: string;
8379
8229
  declaration: Record<string, string | number | boolean | {
8380
8230
  type: string;
8381
8231
  filename: string;
@@ -8413,7 +8263,7 @@ export declare const EventDocument: z.ZodObject<{
8413
8263
  option: string;
8414
8264
  filename: string;
8415
8265
  originalFilename: string;
8416
- }[] | [string, string] | undefined>;
8266
+ }[] | undefined>;
8417
8267
  createdAtLocation: string;
8418
8268
  annotation?: Record<string, string | number | boolean | {
8419
8269
  type: string;
@@ -8452,16 +8302,14 @@ export declare const EventDocument: z.ZodObject<{
8452
8302
  option: string;
8453
8303
  filename: string;
8454
8304
  originalFilename: string;
8455
- }[] | [string, string] | undefined> | undefined;
8305
+ }[] | undefined> | undefined;
8456
8306
  originalActionId?: string | undefined;
8457
8307
  } | {
8458
8308
  type: "CREATE";
8459
8309
  id: string;
8460
8310
  status: "Rejected" | "Requested" | "Accepted";
8461
- transactionId: string;
8462
8311
  createdAt: string;
8463
8312
  createdBy: string;
8464
- createdByRole: string;
8465
8313
  declaration: Record<string, string | number | boolean | {
8466
8314
  type: string;
8467
8315
  filename: string;
@@ -8499,7 +8347,7 @@ export declare const EventDocument: z.ZodObject<{
8499
8347
  option: string;
8500
8348
  filename: string;
8501
8349
  originalFilename: string;
8502
- }[] | [string, string] | undefined>;
8350
+ }[] | undefined>;
8503
8351
  createdAtLocation: string;
8504
8352
  annotation?: Record<string, string | number | boolean | {
8505
8353
  type: string;
@@ -8538,16 +8386,14 @@ export declare const EventDocument: z.ZodObject<{
8538
8386
  option: string;
8539
8387
  filename: string;
8540
8388
  originalFilename: string;
8541
- }[] | [string, string] | undefined> | undefined;
8389
+ }[] | undefined> | undefined;
8542
8390
  originalActionId?: string | undefined;
8543
8391
  } | {
8544
8392
  type: "NOTIFY";
8545
8393
  id: string;
8546
8394
  status: "Rejected" | "Requested" | "Accepted";
8547
- transactionId: string;
8548
8395
  createdAt: string;
8549
8396
  createdBy: string;
8550
- createdByRole: string;
8551
8397
  declaration: Record<string, string | number | boolean | {
8552
8398
  type: string;
8553
8399
  filename: string;
@@ -8585,7 +8431,7 @@ export declare const EventDocument: z.ZodObject<{
8585
8431
  option: string;
8586
8432
  filename: string;
8587
8433
  originalFilename: string;
8588
- }[] | [string, string] | undefined>;
8434
+ }[] | undefined>;
8589
8435
  createdAtLocation: string;
8590
8436
  annotation?: Record<string, string | number | boolean | {
8591
8437
  type: string;
@@ -8624,16 +8470,14 @@ export declare const EventDocument: z.ZodObject<{
8624
8470
  option: string;
8625
8471
  filename: string;
8626
8472
  originalFilename: string;
8627
- }[] | [string, string] | undefined> | undefined;
8473
+ }[] | undefined> | undefined;
8628
8474
  originalActionId?: string | undefined;
8629
8475
  } | {
8630
8476
  type: "PRINT_CERTIFICATE";
8631
8477
  id: string;
8632
8478
  status: "Rejected" | "Requested" | "Accepted";
8633
- transactionId: string;
8634
8479
  createdAt: string;
8635
8480
  createdBy: string;
8636
- createdByRole: string;
8637
8481
  declaration: Record<string, string | number | boolean | {
8638
8482
  type: string;
8639
8483
  filename: string;
@@ -8671,7 +8515,7 @@ export declare const EventDocument: z.ZodObject<{
8671
8515
  option: string;
8672
8516
  filename: string;
8673
8517
  originalFilename: string;
8674
- }[] | [string, string] | undefined>;
8518
+ }[] | undefined>;
8675
8519
  createdAtLocation: string;
8676
8520
  annotation?: Record<string, string | number | boolean | {
8677
8521
  type: string;
@@ -8710,16 +8554,14 @@ export declare const EventDocument: z.ZodObject<{
8710
8554
  option: string;
8711
8555
  filename: string;
8712
8556
  originalFilename: string;
8713
- }[] | [string, string] | undefined> | undefined;
8557
+ }[] | undefined> | undefined;
8714
8558
  originalActionId?: string | undefined;
8715
8559
  } | {
8716
8560
  type: "REQUEST_CORRECTION";
8717
8561
  id: string;
8718
8562
  status: "Rejected" | "Requested" | "Accepted";
8719
- transactionId: string;
8720
8563
  createdAt: string;
8721
8564
  createdBy: string;
8722
- createdByRole: string;
8723
8565
  declaration: Record<string, string | number | boolean | {
8724
8566
  type: string;
8725
8567
  filename: string;
@@ -8757,7 +8599,7 @@ export declare const EventDocument: z.ZodObject<{
8757
8599
  option: string;
8758
8600
  filename: string;
8759
8601
  originalFilename: string;
8760
- }[] | [string, string] | undefined>;
8602
+ }[] | undefined>;
8761
8603
  createdAtLocation: string;
8762
8604
  annotation?: Record<string, string | number | boolean | {
8763
8605
  type: string;
@@ -8796,16 +8638,14 @@ export declare const EventDocument: z.ZodObject<{
8796
8638
  option: string;
8797
8639
  filename: string;
8798
8640
  originalFilename: string;
8799
- }[] | [string, string] | undefined> | undefined;
8641
+ }[] | undefined> | undefined;
8800
8642
  originalActionId?: string | undefined;
8801
8643
  } | {
8802
8644
  type: "APPROVE_CORRECTION";
8803
8645
  id: string;
8804
8646
  status: "Rejected" | "Requested" | "Accepted";
8805
- transactionId: string;
8806
8647
  createdAt: string;
8807
8648
  createdBy: string;
8808
- createdByRole: string;
8809
8649
  declaration: Record<string, string | number | boolean | {
8810
8650
  type: string;
8811
8651
  filename: string;
@@ -8843,7 +8683,7 @@ export declare const EventDocument: z.ZodObject<{
8843
8683
  option: string;
8844
8684
  filename: string;
8845
8685
  originalFilename: string;
8846
- }[] | [string, string] | undefined>;
8686
+ }[] | undefined>;
8847
8687
  createdAtLocation: string;
8848
8688
  requestId: string;
8849
8689
  annotation?: Record<string, string | number | boolean | {
@@ -8883,16 +8723,14 @@ export declare const EventDocument: z.ZodObject<{
8883
8723
  option: string;
8884
8724
  filename: string;
8885
8725
  originalFilename: string;
8886
- }[] | [string, string] | undefined> | undefined;
8726
+ }[] | undefined> | undefined;
8887
8727
  originalActionId?: string | undefined;
8888
8728
  } | {
8889
8729
  type: "REJECT_CORRECTION";
8890
8730
  id: string;
8891
8731
  status: "Rejected" | "Requested" | "Accepted";
8892
- transactionId: string;
8893
8732
  createdAt: string;
8894
8733
  createdBy: string;
8895
- createdByRole: string;
8896
8734
  declaration: Record<string, string | number | boolean | {
8897
8735
  type: string;
8898
8736
  filename: string;
@@ -8930,7 +8768,7 @@ export declare const EventDocument: z.ZodObject<{
8930
8768
  option: string;
8931
8769
  filename: string;
8932
8770
  originalFilename: string;
8933
- }[] | [string, string] | undefined>;
8771
+ }[] | undefined>;
8934
8772
  createdAtLocation: string;
8935
8773
  requestId: string;
8936
8774
  annotation?: Record<string, string | number | boolean | {
@@ -8970,16 +8808,14 @@ export declare const EventDocument: z.ZodObject<{
8970
8808
  option: string;
8971
8809
  filename: string;
8972
8810
  originalFilename: string;
8973
- }[] | [string, string] | undefined> | undefined;
8811
+ }[] | undefined> | undefined;
8974
8812
  originalActionId?: string | undefined;
8975
8813
  } | {
8976
8814
  type: "READ";
8977
8815
  id: string;
8978
8816
  status: "Rejected" | "Requested" | "Accepted";
8979
- transactionId: string;
8980
8817
  createdAt: string;
8981
8818
  createdBy: string;
8982
- createdByRole: string;
8983
8819
  declaration: Record<string, string | number | boolean | {
8984
8820
  type: string;
8985
8821
  filename: string;
@@ -9017,7 +8853,7 @@ export declare const EventDocument: z.ZodObject<{
9017
8853
  option: string;
9018
8854
  filename: string;
9019
8855
  originalFilename: string;
9020
- }[] | [string, string] | undefined>;
8856
+ }[] | undefined>;
9021
8857
  createdAtLocation: string;
9022
8858
  annotation?: Record<string, string | number | boolean | {
9023
8859
  type: string;
@@ -9056,17 +8892,13 @@ export declare const EventDocument: z.ZodObject<{
9056
8892
  option: string;
9057
8893
  filename: string;
9058
8894
  originalFilename: string;
9059
- }[] | [string, string] | undefined> | undefined;
8895
+ }[] | undefined> | undefined;
9060
8896
  originalActionId?: string | undefined;
9061
8897
  } | {
9062
8898
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
9063
8899
  id: string;
9064
8900
  status: "Rejected";
9065
- transactionId: string;
9066
8901
  createdAt: string;
9067
- createdBy: string;
9068
- createdByRole: string;
9069
- createdAtLocation: string;
9070
8902
  originalActionId?: string | undefined;
9071
8903
  })[];
9072
8904
  trackingId: string;