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

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