@opencrvs/toolkit 1.8.0-rc.f9911ed → 1.8.0-rc.faacbde

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.
@@ -8,7 +8,7 @@ export declare const EventDocument: z.ZodObject<{
8
8
  id: z.ZodString;
9
9
  createdAt: z.ZodString;
10
10
  createdBy: z.ZodString;
11
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12
12
  filename: z.ZodString;
13
13
  originalFilename: z.ZodString;
14
14
  type: z.ZodString;
@@ -122,7 +122,7 @@ export declare const EventDocument: z.ZodObject<{
122
122
  addressLine3?: string | null | undefined;
123
123
  postcodeOrZip?: string | null | undefined;
124
124
  }>]>>;
125
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
126
126
  filename: z.ZodString;
127
127
  originalFilename: z.ZodString;
128
128
  type: z.ZodString;
@@ -242,7 +242,9 @@ export declare const EventDocument: z.ZodObject<{
242
242
  }>, "strip", z.ZodTypeAny, {
243
243
  type: "CREATE";
244
244
  id: string;
245
- data: Record<string, string | number | boolean | {
245
+ createdAt: string;
246
+ createdBy: string;
247
+ declaration: Record<string, string | number | boolean | {
246
248
  type: string;
247
249
  filename: string;
248
250
  originalFilename: string;
@@ -280,10 +282,8 @@ export declare const EventDocument: z.ZodObject<{
280
282
  filename: string;
281
283
  originalFilename: string;
282
284
  }[] | undefined>;
283
- createdAt: string;
284
- createdBy: string;
285
285
  createdAtLocation: string;
286
- metadata?: Record<string, string | number | boolean | {
286
+ annotation?: Record<string, string | number | boolean | {
287
287
  type: string;
288
288
  filename: string;
289
289
  originalFilename: string;
@@ -324,7 +324,9 @@ export declare const EventDocument: z.ZodObject<{
324
324
  }, {
325
325
  type: "CREATE";
326
326
  id: string;
327
- data: Record<string, string | number | boolean | {
327
+ createdAt: string;
328
+ createdBy: string;
329
+ declaration: Record<string, string | number | boolean | {
328
330
  type: string;
329
331
  filename: string;
330
332
  originalFilename: string;
@@ -362,10 +364,8 @@ export declare const EventDocument: z.ZodObject<{
362
364
  filename: string;
363
365
  originalFilename: string;
364
366
  }[] | undefined>;
365
- createdAt: string;
366
- createdBy: string;
367
367
  createdAtLocation: string;
368
- metadata?: Record<string, string | number | boolean | {
368
+ annotation?: Record<string, string | number | boolean | {
369
369
  type: string;
370
370
  filename: string;
371
371
  originalFilename: string;
@@ -407,7 +407,7 @@ export declare const EventDocument: z.ZodObject<{
407
407
  id: z.ZodString;
408
408
  createdAt: z.ZodString;
409
409
  createdBy: z.ZodString;
410
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
410
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
411
411
  filename: z.ZodString;
412
412
  originalFilename: z.ZodString;
413
413
  type: z.ZodString;
@@ -521,7 +521,7 @@ export declare const EventDocument: z.ZodObject<{
521
521
  addressLine3?: string | null | undefined;
522
522
  postcodeOrZip?: string | null | undefined;
523
523
  }>]>>;
524
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
524
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
525
525
  filename: z.ZodString;
526
526
  originalFilename: z.ZodString;
527
527
  type: z.ZodString;
@@ -641,7 +641,9 @@ export declare const EventDocument: z.ZodObject<{
641
641
  }>, "strip", z.ZodTypeAny, {
642
642
  type: "VALIDATE";
643
643
  id: string;
644
- data: Record<string, string | number | boolean | {
644
+ createdAt: string;
645
+ createdBy: string;
646
+ declaration: Record<string, string | number | boolean | {
645
647
  type: string;
646
648
  filename: string;
647
649
  originalFilename: string;
@@ -679,10 +681,8 @@ export declare const EventDocument: z.ZodObject<{
679
681
  filename: string;
680
682
  originalFilename: string;
681
683
  }[] | undefined>;
682
- createdAt: string;
683
- createdBy: string;
684
684
  createdAtLocation: string;
685
- metadata?: Record<string, string | number | boolean | {
685
+ annotation?: Record<string, string | number | boolean | {
686
686
  type: string;
687
687
  filename: string;
688
688
  originalFilename: string;
@@ -723,7 +723,9 @@ export declare const EventDocument: z.ZodObject<{
723
723
  }, {
724
724
  type: "VALIDATE";
725
725
  id: string;
726
- data: Record<string, string | number | boolean | {
726
+ createdAt: string;
727
+ createdBy: string;
728
+ declaration: Record<string, string | number | boolean | {
727
729
  type: string;
728
730
  filename: string;
729
731
  originalFilename: string;
@@ -761,10 +763,8 @@ export declare const EventDocument: z.ZodObject<{
761
763
  filename: string;
762
764
  originalFilename: string;
763
765
  }[] | undefined>;
764
- createdAt: string;
765
- createdBy: string;
766
766
  createdAtLocation: string;
767
- metadata?: Record<string, string | number | boolean | {
767
+ annotation?: Record<string, string | number | boolean | {
768
768
  type: string;
769
769
  filename: string;
770
770
  originalFilename: string;
@@ -806,7 +806,7 @@ export declare const EventDocument: z.ZodObject<{
806
806
  id: z.ZodString;
807
807
  createdAt: z.ZodString;
808
808
  createdBy: z.ZodString;
809
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
809
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
810
810
  filename: z.ZodString;
811
811
  originalFilename: z.ZodString;
812
812
  type: z.ZodString;
@@ -920,7 +920,7 @@ export declare const EventDocument: z.ZodObject<{
920
920
  addressLine3?: string | null | undefined;
921
921
  postcodeOrZip?: string | null | undefined;
922
922
  }>]>>;
923
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
923
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
924
924
  filename: z.ZodString;
925
925
  originalFilename: z.ZodString;
926
926
  type: z.ZodString;
@@ -1040,7 +1040,9 @@ export declare const EventDocument: z.ZodObject<{
1040
1040
  }>, "strip", z.ZodTypeAny, {
1041
1041
  type: "REJECT";
1042
1042
  id: string;
1043
- data: Record<string, string | number | boolean | {
1043
+ createdAt: string;
1044
+ createdBy: string;
1045
+ declaration: Record<string, string | number | boolean | {
1044
1046
  type: string;
1045
1047
  filename: string;
1046
1048
  originalFilename: string;
@@ -1078,10 +1080,8 @@ export declare const EventDocument: z.ZodObject<{
1078
1080
  filename: string;
1079
1081
  originalFilename: string;
1080
1082
  }[] | undefined>;
1081
- createdAt: string;
1082
- createdBy: string;
1083
1083
  createdAtLocation: string;
1084
- metadata?: Record<string, string | number | boolean | {
1084
+ annotation?: Record<string, string | number | boolean | {
1085
1085
  type: string;
1086
1086
  filename: string;
1087
1087
  originalFilename: string;
@@ -1122,7 +1122,9 @@ export declare const EventDocument: z.ZodObject<{
1122
1122
  }, {
1123
1123
  type: "REJECT";
1124
1124
  id: string;
1125
- data: Record<string, string | number | boolean | {
1125
+ createdAt: string;
1126
+ createdBy: string;
1127
+ declaration: Record<string, string | number | boolean | {
1126
1128
  type: string;
1127
1129
  filename: string;
1128
1130
  originalFilename: string;
@@ -1160,10 +1162,8 @@ export declare const EventDocument: z.ZodObject<{
1160
1162
  filename: string;
1161
1163
  originalFilename: string;
1162
1164
  }[] | undefined>;
1163
- createdAt: string;
1164
- createdBy: string;
1165
1165
  createdAtLocation: string;
1166
- metadata?: Record<string, string | number | boolean | {
1166
+ annotation?: Record<string, string | number | boolean | {
1167
1167
  type: string;
1168
1168
  filename: string;
1169
1169
  originalFilename: string;
@@ -1205,7 +1205,7 @@ export declare const EventDocument: z.ZodObject<{
1205
1205
  id: z.ZodString;
1206
1206
  createdAt: z.ZodString;
1207
1207
  createdBy: z.ZodString;
1208
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1208
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1209
1209
  filename: z.ZodString;
1210
1210
  originalFilename: z.ZodString;
1211
1211
  type: z.ZodString;
@@ -1319,7 +1319,7 @@ export declare const EventDocument: z.ZodObject<{
1319
1319
  addressLine3?: string | null | undefined;
1320
1320
  postcodeOrZip?: string | null | undefined;
1321
1321
  }>]>>;
1322
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1322
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1323
1323
  filename: z.ZodString;
1324
1324
  originalFilename: z.ZodString;
1325
1325
  type: z.ZodString;
@@ -1439,7 +1439,9 @@ export declare const EventDocument: z.ZodObject<{
1439
1439
  }>, "strip", z.ZodTypeAny, {
1440
1440
  type: "MARKED_AS_DUPLICATE";
1441
1441
  id: string;
1442
- data: Record<string, string | number | boolean | {
1442
+ createdAt: string;
1443
+ createdBy: string;
1444
+ declaration: Record<string, string | number | boolean | {
1443
1445
  type: string;
1444
1446
  filename: string;
1445
1447
  originalFilename: string;
@@ -1477,10 +1479,8 @@ export declare const EventDocument: z.ZodObject<{
1477
1479
  filename: string;
1478
1480
  originalFilename: string;
1479
1481
  }[] | undefined>;
1480
- createdAt: string;
1481
- createdBy: string;
1482
1482
  createdAtLocation: string;
1483
- metadata?: Record<string, string | number | boolean | {
1483
+ annotation?: Record<string, string | number | boolean | {
1484
1484
  type: string;
1485
1485
  filename: string;
1486
1486
  originalFilename: string;
@@ -1521,7 +1521,9 @@ export declare const EventDocument: z.ZodObject<{
1521
1521
  }, {
1522
1522
  type: "MARKED_AS_DUPLICATE";
1523
1523
  id: string;
1524
- data: Record<string, string | number | boolean | {
1524
+ createdAt: string;
1525
+ createdBy: string;
1526
+ declaration: Record<string, string | number | boolean | {
1525
1527
  type: string;
1526
1528
  filename: string;
1527
1529
  originalFilename: string;
@@ -1559,10 +1561,8 @@ export declare const EventDocument: z.ZodObject<{
1559
1561
  filename: string;
1560
1562
  originalFilename: string;
1561
1563
  }[] | undefined>;
1562
- createdAt: string;
1563
- createdBy: string;
1564
1564
  createdAtLocation: string;
1565
- metadata?: Record<string, string | number | boolean | {
1565
+ annotation?: Record<string, string | number | boolean | {
1566
1566
  type: string;
1567
1567
  filename: string;
1568
1568
  originalFilename: string;
@@ -1604,7 +1604,7 @@ export declare const EventDocument: z.ZodObject<{
1604
1604
  id: z.ZodString;
1605
1605
  createdAt: z.ZodString;
1606
1606
  createdBy: z.ZodString;
1607
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1607
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1608
1608
  filename: z.ZodString;
1609
1609
  originalFilename: z.ZodString;
1610
1610
  type: z.ZodString;
@@ -1718,7 +1718,7 @@ export declare const EventDocument: z.ZodObject<{
1718
1718
  addressLine3?: string | null | undefined;
1719
1719
  postcodeOrZip?: string | null | undefined;
1720
1720
  }>]>>;
1721
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1721
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1722
1722
  filename: z.ZodString;
1723
1723
  originalFilename: z.ZodString;
1724
1724
  type: z.ZodString;
@@ -1838,7 +1838,9 @@ export declare const EventDocument: z.ZodObject<{
1838
1838
  }>, "strip", z.ZodTypeAny, {
1839
1839
  type: "ARCHIVE";
1840
1840
  id: string;
1841
- data: Record<string, string | number | boolean | {
1841
+ createdAt: string;
1842
+ createdBy: string;
1843
+ declaration: Record<string, string | number | boolean | {
1842
1844
  type: string;
1843
1845
  filename: string;
1844
1846
  originalFilename: string;
@@ -1876,10 +1878,8 @@ export declare const EventDocument: z.ZodObject<{
1876
1878
  filename: string;
1877
1879
  originalFilename: string;
1878
1880
  }[] | undefined>;
1879
- createdAt: string;
1880
- createdBy: string;
1881
1881
  createdAtLocation: string;
1882
- metadata?: Record<string, string | number | boolean | {
1882
+ annotation?: Record<string, string | number | boolean | {
1883
1883
  type: string;
1884
1884
  filename: string;
1885
1885
  originalFilename: string;
@@ -1920,7 +1920,9 @@ export declare const EventDocument: z.ZodObject<{
1920
1920
  }, {
1921
1921
  type: "ARCHIVE";
1922
1922
  id: string;
1923
- data: Record<string, string | number | boolean | {
1923
+ createdAt: string;
1924
+ createdBy: string;
1925
+ declaration: Record<string, string | number | boolean | {
1924
1926
  type: string;
1925
1927
  filename: string;
1926
1928
  originalFilename: string;
@@ -1958,10 +1960,8 @@ export declare const EventDocument: z.ZodObject<{
1958
1960
  filename: string;
1959
1961
  originalFilename: string;
1960
1962
  }[] | undefined>;
1961
- createdAt: string;
1962
- createdBy: string;
1963
1963
  createdAtLocation: string;
1964
- metadata?: Record<string, string | number | boolean | {
1964
+ annotation?: Record<string, string | number | boolean | {
1965
1965
  type: string;
1966
1966
  filename: string;
1967
1967
  originalFilename: string;
@@ -2003,7 +2003,7 @@ export declare const EventDocument: z.ZodObject<{
2003
2003
  id: z.ZodString;
2004
2004
  createdAt: z.ZodString;
2005
2005
  createdBy: z.ZodString;
2006
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2006
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2007
2007
  filename: z.ZodString;
2008
2008
  originalFilename: z.ZodString;
2009
2009
  type: z.ZodString;
@@ -2117,7 +2117,7 @@ export declare const EventDocument: z.ZodObject<{
2117
2117
  addressLine3?: string | null | undefined;
2118
2118
  postcodeOrZip?: string | null | undefined;
2119
2119
  }>]>>;
2120
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2120
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2121
2121
  filename: z.ZodString;
2122
2122
  originalFilename: z.ZodString;
2123
2123
  type: z.ZodString;
@@ -2237,7 +2237,9 @@ export declare const EventDocument: z.ZodObject<{
2237
2237
  }>, "strip", z.ZodTypeAny, {
2238
2238
  type: "NOTIFY";
2239
2239
  id: string;
2240
- data: Record<string, string | number | boolean | {
2240
+ createdAt: string;
2241
+ createdBy: string;
2242
+ declaration: Record<string, string | number | boolean | {
2241
2243
  type: string;
2242
2244
  filename: string;
2243
2245
  originalFilename: string;
@@ -2275,10 +2277,8 @@ export declare const EventDocument: z.ZodObject<{
2275
2277
  filename: string;
2276
2278
  originalFilename: string;
2277
2279
  }[] | undefined>;
2278
- createdAt: string;
2279
- createdBy: string;
2280
2280
  createdAtLocation: string;
2281
- metadata?: Record<string, string | number | boolean | {
2281
+ annotation?: Record<string, string | number | boolean | {
2282
2282
  type: string;
2283
2283
  filename: string;
2284
2284
  originalFilename: string;
@@ -2319,7 +2319,9 @@ export declare const EventDocument: z.ZodObject<{
2319
2319
  }, {
2320
2320
  type: "NOTIFY";
2321
2321
  id: string;
2322
- data: Record<string, string | number | boolean | {
2322
+ createdAt: string;
2323
+ createdBy: string;
2324
+ declaration: Record<string, string | number | boolean | {
2323
2325
  type: string;
2324
2326
  filename: string;
2325
2327
  originalFilename: string;
@@ -2357,10 +2359,8 @@ export declare const EventDocument: z.ZodObject<{
2357
2359
  filename: string;
2358
2360
  originalFilename: string;
2359
2361
  }[] | undefined>;
2360
- createdAt: string;
2361
- createdBy: string;
2362
2362
  createdAtLocation: string;
2363
- metadata?: Record<string, string | number | boolean | {
2363
+ annotation?: Record<string, string | number | boolean | {
2364
2364
  type: string;
2365
2365
  filename: string;
2366
2366
  originalFilename: string;
@@ -2402,7 +2402,7 @@ export declare const EventDocument: z.ZodObject<{
2402
2402
  id: z.ZodString;
2403
2403
  createdAt: z.ZodString;
2404
2404
  createdBy: z.ZodString;
2405
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2405
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2406
2406
  filename: z.ZodString;
2407
2407
  originalFilename: z.ZodString;
2408
2408
  type: z.ZodString;
@@ -2516,7 +2516,7 @@ export declare const EventDocument: z.ZodObject<{
2516
2516
  addressLine3?: string | null | undefined;
2517
2517
  postcodeOrZip?: string | null | undefined;
2518
2518
  }>]>>;
2519
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2519
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2520
2520
  filename: z.ZodString;
2521
2521
  originalFilename: z.ZodString;
2522
2522
  type: z.ZodString;
@@ -2646,7 +2646,9 @@ export declare const EventDocument: z.ZodObject<{
2646
2646
  }>, "strip", z.ZodTypeAny, {
2647
2647
  type: "REGISTER";
2648
2648
  id: string;
2649
- data: Record<string, string | number | boolean | {
2649
+ createdAt: string;
2650
+ createdBy: string;
2651
+ declaration: Record<string, string | number | boolean | {
2650
2652
  type: string;
2651
2653
  filename: string;
2652
2654
  originalFilename: string;
@@ -2684,14 +2686,12 @@ export declare const EventDocument: z.ZodObject<{
2684
2686
  filename: string;
2685
2687
  originalFilename: string;
2686
2688
  }[] | undefined>;
2687
- createdAt: string;
2688
- createdBy: string;
2689
2689
  createdAtLocation: string;
2690
2690
  identifiers: {
2691
2691
  trackingId: string;
2692
2692
  registrationNumber: string;
2693
2693
  };
2694
- metadata?: Record<string, string | number | boolean | {
2694
+ annotation?: Record<string, string | number | boolean | {
2695
2695
  type: string;
2696
2696
  filename: string;
2697
2697
  originalFilename: string;
@@ -2732,7 +2732,9 @@ export declare const EventDocument: z.ZodObject<{
2732
2732
  }, {
2733
2733
  type: "REGISTER";
2734
2734
  id: string;
2735
- data: Record<string, string | number | boolean | {
2735
+ createdAt: string;
2736
+ createdBy: string;
2737
+ declaration: Record<string, string | number | boolean | {
2736
2738
  type: string;
2737
2739
  filename: string;
2738
2740
  originalFilename: string;
@@ -2770,14 +2772,12 @@ export declare const EventDocument: z.ZodObject<{
2770
2772
  filename: string;
2771
2773
  originalFilename: string;
2772
2774
  }[] | undefined>;
2773
- createdAt: string;
2774
- createdBy: string;
2775
2775
  createdAtLocation: string;
2776
2776
  identifiers: {
2777
2777
  trackingId: string;
2778
2778
  registrationNumber: string;
2779
2779
  };
2780
- metadata?: Record<string, string | number | boolean | {
2780
+ annotation?: Record<string, string | number | boolean | {
2781
2781
  type: string;
2782
2782
  filename: string;
2783
2783
  originalFilename: string;
@@ -2819,7 +2819,7 @@ export declare const EventDocument: z.ZodObject<{
2819
2819
  id: z.ZodString;
2820
2820
  createdAt: z.ZodString;
2821
2821
  createdBy: z.ZodString;
2822
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2822
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2823
2823
  filename: z.ZodString;
2824
2824
  originalFilename: z.ZodString;
2825
2825
  type: z.ZodString;
@@ -2933,7 +2933,7 @@ export declare const EventDocument: z.ZodObject<{
2933
2933
  addressLine3?: string | null | undefined;
2934
2934
  postcodeOrZip?: string | null | undefined;
2935
2935
  }>]>>;
2936
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2936
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2937
2937
  filename: z.ZodString;
2938
2938
  originalFilename: z.ZodString;
2939
2939
  type: z.ZodString;
@@ -3053,7 +3053,9 @@ export declare const EventDocument: z.ZodObject<{
3053
3053
  }>, "strip", z.ZodTypeAny, {
3054
3054
  type: "DECLARE";
3055
3055
  id: string;
3056
- data: Record<string, string | number | boolean | {
3056
+ createdAt: string;
3057
+ createdBy: string;
3058
+ declaration: Record<string, string | number | boolean | {
3057
3059
  type: string;
3058
3060
  filename: string;
3059
3061
  originalFilename: string;
@@ -3091,10 +3093,8 @@ export declare const EventDocument: z.ZodObject<{
3091
3093
  filename: string;
3092
3094
  originalFilename: string;
3093
3095
  }[] | undefined>;
3094
- createdAt: string;
3095
- createdBy: string;
3096
3096
  createdAtLocation: string;
3097
- metadata?: Record<string, string | number | boolean | {
3097
+ annotation?: Record<string, string | number | boolean | {
3098
3098
  type: string;
3099
3099
  filename: string;
3100
3100
  originalFilename: string;
@@ -3135,7 +3135,9 @@ export declare const EventDocument: z.ZodObject<{
3135
3135
  }, {
3136
3136
  type: "DECLARE";
3137
3137
  id: string;
3138
- data: Record<string, string | number | boolean | {
3138
+ createdAt: string;
3139
+ createdBy: string;
3140
+ declaration: Record<string, string | number | boolean | {
3139
3141
  type: string;
3140
3142
  filename: string;
3141
3143
  originalFilename: string;
@@ -3173,10 +3175,8 @@ export declare const EventDocument: z.ZodObject<{
3173
3175
  filename: string;
3174
3176
  originalFilename: string;
3175
3177
  }[] | undefined>;
3176
- createdAt: string;
3177
- createdBy: string;
3178
3178
  createdAtLocation: string;
3179
- metadata?: Record<string, string | number | boolean | {
3179
+ annotation?: Record<string, string | number | boolean | {
3180
3180
  type: string;
3181
3181
  filename: string;
3182
3182
  originalFilename: string;
@@ -3218,7 +3218,7 @@ export declare const EventDocument: z.ZodObject<{
3218
3218
  id: z.ZodString;
3219
3219
  createdAt: z.ZodString;
3220
3220
  createdBy: z.ZodString;
3221
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3221
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3222
3222
  filename: z.ZodString;
3223
3223
  originalFilename: z.ZodString;
3224
3224
  type: z.ZodString;
@@ -3332,7 +3332,7 @@ export declare const EventDocument: z.ZodObject<{
3332
3332
  addressLine3?: string | null | undefined;
3333
3333
  postcodeOrZip?: string | null | undefined;
3334
3334
  }>]>>;
3335
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3335
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3336
3336
  filename: z.ZodString;
3337
3337
  originalFilename: z.ZodString;
3338
3338
  type: z.ZodString;
@@ -3453,7 +3453,9 @@ export declare const EventDocument: z.ZodObject<{
3453
3453
  }>, "strip", z.ZodTypeAny, {
3454
3454
  type: "ASSIGN";
3455
3455
  id: string;
3456
- data: Record<string, string | number | boolean | {
3456
+ createdAt: string;
3457
+ createdBy: string;
3458
+ declaration: Record<string, string | number | boolean | {
3457
3459
  type: string;
3458
3460
  filename: string;
3459
3461
  originalFilename: string;
@@ -3491,11 +3493,9 @@ export declare const EventDocument: z.ZodObject<{
3491
3493
  filename: string;
3492
3494
  originalFilename: string;
3493
3495
  }[] | undefined>;
3494
- createdAt: string;
3495
- createdBy: string;
3496
3496
  createdAtLocation: string;
3497
3497
  assignedTo: string;
3498
- metadata?: Record<string, string | number | boolean | {
3498
+ annotation?: Record<string, string | number | boolean | {
3499
3499
  type: string;
3500
3500
  filename: string;
3501
3501
  originalFilename: string;
@@ -3536,7 +3536,9 @@ export declare const EventDocument: z.ZodObject<{
3536
3536
  }, {
3537
3537
  type: "ASSIGN";
3538
3538
  id: string;
3539
- data: Record<string, string | number | boolean | {
3539
+ createdAt: string;
3540
+ createdBy: string;
3541
+ declaration: Record<string, string | number | boolean | {
3540
3542
  type: string;
3541
3543
  filename: string;
3542
3544
  originalFilename: string;
@@ -3574,11 +3576,9 @@ export declare const EventDocument: z.ZodObject<{
3574
3576
  filename: string;
3575
3577
  originalFilename: string;
3576
3578
  }[] | undefined>;
3577
- createdAt: string;
3578
- createdBy: string;
3579
3579
  createdAtLocation: string;
3580
3580
  assignedTo: string;
3581
- metadata?: Record<string, string | number | boolean | {
3581
+ annotation?: Record<string, string | number | boolean | {
3582
3582
  type: string;
3583
3583
  filename: string;
3584
3584
  originalFilename: string;
@@ -3620,7 +3620,7 @@ export declare const EventDocument: z.ZodObject<{
3620
3620
  id: z.ZodString;
3621
3621
  createdAt: z.ZodString;
3622
3622
  createdBy: z.ZodString;
3623
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3623
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3624
3624
  filename: z.ZodString;
3625
3625
  originalFilename: z.ZodString;
3626
3626
  type: z.ZodString;
@@ -3734,7 +3734,7 @@ export declare const EventDocument: z.ZodObject<{
3734
3734
  addressLine3?: string | null | undefined;
3735
3735
  postcodeOrZip?: string | null | undefined;
3736
3736
  }>]>>;
3737
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3737
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3738
3738
  filename: z.ZodString;
3739
3739
  originalFilename: z.ZodString;
3740
3740
  type: z.ZodString;
@@ -3854,7 +3854,9 @@ export declare const EventDocument: z.ZodObject<{
3854
3854
  }>, "strip", z.ZodTypeAny, {
3855
3855
  type: "REQUEST_CORRECTION";
3856
3856
  id: string;
3857
- data: Record<string, string | number | boolean | {
3857
+ createdAt: string;
3858
+ createdBy: string;
3859
+ declaration: Record<string, string | number | boolean | {
3858
3860
  type: string;
3859
3861
  filename: string;
3860
3862
  originalFilename: string;
@@ -3892,10 +3894,8 @@ export declare const EventDocument: z.ZodObject<{
3892
3894
  filename: string;
3893
3895
  originalFilename: string;
3894
3896
  }[] | undefined>;
3895
- createdAt: string;
3896
- createdBy: string;
3897
3897
  createdAtLocation: string;
3898
- metadata?: Record<string, string | number | boolean | {
3898
+ annotation?: Record<string, string | number | boolean | {
3899
3899
  type: string;
3900
3900
  filename: string;
3901
3901
  originalFilename: string;
@@ -3936,7 +3936,9 @@ export declare const EventDocument: z.ZodObject<{
3936
3936
  }, {
3937
3937
  type: "REQUEST_CORRECTION";
3938
3938
  id: string;
3939
- data: Record<string, string | number | boolean | {
3939
+ createdAt: string;
3940
+ createdBy: string;
3941
+ declaration: Record<string, string | number | boolean | {
3940
3942
  type: string;
3941
3943
  filename: string;
3942
3944
  originalFilename: string;
@@ -3974,10 +3976,8 @@ export declare const EventDocument: z.ZodObject<{
3974
3976
  filename: string;
3975
3977
  originalFilename: string;
3976
3978
  }[] | undefined>;
3977
- createdAt: string;
3978
- createdBy: string;
3979
3979
  createdAtLocation: string;
3980
- metadata?: Record<string, string | number | boolean | {
3980
+ annotation?: Record<string, string | number | boolean | {
3981
3981
  type: string;
3982
3982
  filename: string;
3983
3983
  originalFilename: string;
@@ -4019,7 +4019,7 @@ export declare const EventDocument: z.ZodObject<{
4019
4019
  id: z.ZodString;
4020
4020
  createdAt: z.ZodString;
4021
4021
  createdBy: z.ZodString;
4022
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4022
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4023
4023
  filename: z.ZodString;
4024
4024
  originalFilename: z.ZodString;
4025
4025
  type: z.ZodString;
@@ -4133,7 +4133,7 @@ export declare const EventDocument: z.ZodObject<{
4133
4133
  addressLine3?: string | null | undefined;
4134
4134
  postcodeOrZip?: string | null | undefined;
4135
4135
  }>]>>;
4136
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4136
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4137
4137
  filename: z.ZodString;
4138
4138
  originalFilename: z.ZodString;
4139
4139
  type: z.ZodString;
@@ -4254,7 +4254,9 @@ export declare const EventDocument: z.ZodObject<{
4254
4254
  }>, "strip", z.ZodTypeAny, {
4255
4255
  type: "APPROVE_CORRECTION";
4256
4256
  id: string;
4257
- data: Record<string, string | number | boolean | {
4257
+ createdAt: string;
4258
+ createdBy: string;
4259
+ declaration: Record<string, string | number | boolean | {
4258
4260
  type: string;
4259
4261
  filename: string;
4260
4262
  originalFilename: string;
@@ -4292,11 +4294,9 @@ export declare const EventDocument: z.ZodObject<{
4292
4294
  filename: string;
4293
4295
  originalFilename: string;
4294
4296
  }[] | undefined>;
4295
- createdAt: string;
4296
- createdBy: string;
4297
4297
  createdAtLocation: string;
4298
4298
  requestId: string;
4299
- metadata?: Record<string, string | number | boolean | {
4299
+ annotation?: Record<string, string | number | boolean | {
4300
4300
  type: string;
4301
4301
  filename: string;
4302
4302
  originalFilename: string;
@@ -4337,7 +4337,9 @@ export declare const EventDocument: z.ZodObject<{
4337
4337
  }, {
4338
4338
  type: "APPROVE_CORRECTION";
4339
4339
  id: string;
4340
- data: Record<string, string | number | boolean | {
4340
+ createdAt: string;
4341
+ createdBy: string;
4342
+ declaration: Record<string, string | number | boolean | {
4341
4343
  type: string;
4342
4344
  filename: string;
4343
4345
  originalFilename: string;
@@ -4375,11 +4377,9 @@ export declare const EventDocument: z.ZodObject<{
4375
4377
  filename: string;
4376
4378
  originalFilename: string;
4377
4379
  }[] | undefined>;
4378
- createdAt: string;
4379
- createdBy: string;
4380
4380
  createdAtLocation: string;
4381
4381
  requestId: string;
4382
- metadata?: Record<string, string | number | boolean | {
4382
+ annotation?: Record<string, string | number | boolean | {
4383
4383
  type: string;
4384
4384
  filename: string;
4385
4385
  originalFilename: string;
@@ -4421,7 +4421,7 @@ export declare const EventDocument: z.ZodObject<{
4421
4421
  id: z.ZodString;
4422
4422
  createdAt: z.ZodString;
4423
4423
  createdBy: z.ZodString;
4424
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4424
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4425
4425
  filename: z.ZodString;
4426
4426
  originalFilename: z.ZodString;
4427
4427
  type: z.ZodString;
@@ -4535,7 +4535,7 @@ export declare const EventDocument: z.ZodObject<{
4535
4535
  addressLine3?: string | null | undefined;
4536
4536
  postcodeOrZip?: string | null | undefined;
4537
4537
  }>]>>;
4538
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4538
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4539
4539
  filename: z.ZodString;
4540
4540
  originalFilename: z.ZodString;
4541
4541
  type: z.ZodString;
@@ -4656,7 +4656,9 @@ export declare const EventDocument: z.ZodObject<{
4656
4656
  }>, "strip", z.ZodTypeAny, {
4657
4657
  type: "REJECT_CORRECTION";
4658
4658
  id: string;
4659
- data: Record<string, string | number | boolean | {
4659
+ createdAt: string;
4660
+ createdBy: string;
4661
+ declaration: Record<string, string | number | boolean | {
4660
4662
  type: string;
4661
4663
  filename: string;
4662
4664
  originalFilename: string;
@@ -4694,11 +4696,9 @@ export declare const EventDocument: z.ZodObject<{
4694
4696
  filename: string;
4695
4697
  originalFilename: string;
4696
4698
  }[] | undefined>;
4697
- createdAt: string;
4698
- createdBy: string;
4699
4699
  createdAtLocation: string;
4700
4700
  requestId: string;
4701
- metadata?: Record<string, string | number | boolean | {
4701
+ annotation?: Record<string, string | number | boolean | {
4702
4702
  type: string;
4703
4703
  filename: string;
4704
4704
  originalFilename: string;
@@ -4739,7 +4739,9 @@ export declare const EventDocument: z.ZodObject<{
4739
4739
  }, {
4740
4740
  type: "REJECT_CORRECTION";
4741
4741
  id: string;
4742
- data: Record<string, string | number | boolean | {
4742
+ createdAt: string;
4743
+ createdBy: string;
4744
+ declaration: Record<string, string | number | boolean | {
4743
4745
  type: string;
4744
4746
  filename: string;
4745
4747
  originalFilename: string;
@@ -4777,11 +4779,9 @@ export declare const EventDocument: z.ZodObject<{
4777
4779
  filename: string;
4778
4780
  originalFilename: string;
4779
4781
  }[] | undefined>;
4780
- createdAt: string;
4781
- createdBy: string;
4782
4782
  createdAtLocation: string;
4783
4783
  requestId: string;
4784
- metadata?: Record<string, string | number | boolean | {
4784
+ annotation?: Record<string, string | number | boolean | {
4785
4785
  type: string;
4786
4786
  filename: string;
4787
4787
  originalFilename: string;
@@ -4823,7 +4823,7 @@ export declare const EventDocument: z.ZodObject<{
4823
4823
  id: z.ZodString;
4824
4824
  createdAt: z.ZodString;
4825
4825
  createdBy: z.ZodString;
4826
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4826
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4827
4827
  filename: z.ZodString;
4828
4828
  originalFilename: z.ZodString;
4829
4829
  type: z.ZodString;
@@ -4937,7 +4937,7 @@ export declare const EventDocument: z.ZodObject<{
4937
4937
  addressLine3?: string | null | undefined;
4938
4938
  postcodeOrZip?: string | null | undefined;
4939
4939
  }>]>>;
4940
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4940
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4941
4941
  filename: z.ZodString;
4942
4942
  originalFilename: z.ZodString;
4943
4943
  type: z.ZodString;
@@ -5057,7 +5057,9 @@ export declare const EventDocument: z.ZodObject<{
5057
5057
  }>, "strip", z.ZodTypeAny, {
5058
5058
  type: "UNASSIGN";
5059
5059
  id: string;
5060
- data: Record<string, string | number | boolean | {
5060
+ createdAt: string;
5061
+ createdBy: string;
5062
+ declaration: Record<string, string | number | boolean | {
5061
5063
  type: string;
5062
5064
  filename: string;
5063
5065
  originalFilename: string;
@@ -5095,10 +5097,8 @@ export declare const EventDocument: z.ZodObject<{
5095
5097
  filename: string;
5096
5098
  originalFilename: string;
5097
5099
  }[] | undefined>;
5098
- createdAt: string;
5099
- createdBy: string;
5100
5100
  createdAtLocation: string;
5101
- metadata?: Record<string, string | number | boolean | {
5101
+ annotation?: Record<string, string | number | boolean | {
5102
5102
  type: string;
5103
5103
  filename: string;
5104
5104
  originalFilename: string;
@@ -5139,7 +5139,9 @@ export declare const EventDocument: z.ZodObject<{
5139
5139
  }, {
5140
5140
  type: "UNASSIGN";
5141
5141
  id: string;
5142
- data: Record<string, string | number | boolean | {
5142
+ createdAt: string;
5143
+ createdBy: string;
5144
+ declaration: Record<string, string | number | boolean | {
5143
5145
  type: string;
5144
5146
  filename: string;
5145
5147
  originalFilename: string;
@@ -5177,10 +5179,8 @@ export declare const EventDocument: z.ZodObject<{
5177
5179
  filename: string;
5178
5180
  originalFilename: string;
5179
5181
  }[] | undefined>;
5180
- createdAt: string;
5181
- createdBy: string;
5182
5182
  createdAtLocation: string;
5183
- metadata?: Record<string, string | number | boolean | {
5183
+ annotation?: Record<string, string | number | boolean | {
5184
5184
  type: string;
5185
5185
  filename: string;
5186
5186
  originalFilename: string;
@@ -5222,7 +5222,7 @@ export declare const EventDocument: z.ZodObject<{
5222
5222
  id: z.ZodString;
5223
5223
  createdAt: z.ZodString;
5224
5224
  createdBy: z.ZodString;
5225
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5225
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5226
5226
  filename: z.ZodString;
5227
5227
  originalFilename: z.ZodString;
5228
5228
  type: z.ZodString;
@@ -5336,7 +5336,7 @@ export declare const EventDocument: z.ZodObject<{
5336
5336
  addressLine3?: string | null | undefined;
5337
5337
  postcodeOrZip?: string | null | undefined;
5338
5338
  }>]>>;
5339
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5339
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5340
5340
  filename: z.ZodString;
5341
5341
  originalFilename: z.ZodString;
5342
5342
  type: z.ZodString;
@@ -5456,7 +5456,9 @@ export declare const EventDocument: z.ZodObject<{
5456
5456
  }>, "strip", z.ZodTypeAny, {
5457
5457
  type: "PRINT_CERTIFICATE";
5458
5458
  id: string;
5459
- data: Record<string, string | number | boolean | {
5459
+ createdAt: string;
5460
+ createdBy: string;
5461
+ declaration: Record<string, string | number | boolean | {
5460
5462
  type: string;
5461
5463
  filename: string;
5462
5464
  originalFilename: string;
@@ -5494,10 +5496,8 @@ export declare const EventDocument: z.ZodObject<{
5494
5496
  filename: string;
5495
5497
  originalFilename: string;
5496
5498
  }[] | undefined>;
5497
- createdAt: string;
5498
- createdBy: string;
5499
5499
  createdAtLocation: string;
5500
- metadata?: Record<string, string | number | boolean | {
5500
+ annotation?: Record<string, string | number | boolean | {
5501
5501
  type: string;
5502
5502
  filename: string;
5503
5503
  originalFilename: string;
@@ -5538,7 +5538,9 @@ export declare const EventDocument: z.ZodObject<{
5538
5538
  }, {
5539
5539
  type: "PRINT_CERTIFICATE";
5540
5540
  id: string;
5541
- data: Record<string, string | number | boolean | {
5541
+ createdAt: string;
5542
+ createdBy: string;
5543
+ declaration: Record<string, string | number | boolean | {
5542
5544
  type: string;
5543
5545
  filename: string;
5544
5546
  originalFilename: string;
@@ -5576,10 +5578,8 @@ export declare const EventDocument: z.ZodObject<{
5576
5578
  filename: string;
5577
5579
  originalFilename: string;
5578
5580
  }[] | undefined>;
5579
- createdAt: string;
5580
- createdBy: string;
5581
5581
  createdAtLocation: string;
5582
- metadata?: Record<string, string | number | boolean | {
5582
+ annotation?: Record<string, string | number | boolean | {
5583
5583
  type: string;
5584
5584
  filename: string;
5585
5585
  originalFilename: string;
@@ -5621,7 +5621,7 @@ export declare const EventDocument: z.ZodObject<{
5621
5621
  id: z.ZodString;
5622
5622
  createdAt: z.ZodString;
5623
5623
  createdBy: z.ZodString;
5624
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5624
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5625
5625
  filename: z.ZodString;
5626
5626
  originalFilename: z.ZodString;
5627
5627
  type: z.ZodString;
@@ -5735,7 +5735,7 @@ export declare const EventDocument: z.ZodObject<{
5735
5735
  addressLine3?: string | null | undefined;
5736
5736
  postcodeOrZip?: string | null | undefined;
5737
5737
  }>]>>;
5738
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5738
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5739
5739
  filename: z.ZodString;
5740
5740
  originalFilename: z.ZodString;
5741
5741
  type: z.ZodString;
@@ -5851,11 +5851,13 @@ export declare const EventDocument: z.ZodObject<{
5851
5851
  }>]>>>;
5852
5852
  createdAtLocation: z.ZodString;
5853
5853
  }, {
5854
- type: z.ZodLiteral<"CUSTOM">;
5854
+ type: z.ZodLiteral<"READ">;
5855
5855
  }>, "strip", z.ZodTypeAny, {
5856
- type: "CUSTOM";
5856
+ type: "READ";
5857
5857
  id: string;
5858
- data: Record<string, string | number | boolean | {
5858
+ createdAt: string;
5859
+ createdBy: string;
5860
+ declaration: Record<string, string | number | boolean | {
5859
5861
  type: string;
5860
5862
  filename: string;
5861
5863
  originalFilename: string;
@@ -5893,10 +5895,8 @@ export declare const EventDocument: z.ZodObject<{
5893
5895
  filename: string;
5894
5896
  originalFilename: string;
5895
5897
  }[] | undefined>;
5896
- createdAt: string;
5897
- createdBy: string;
5898
5898
  createdAtLocation: string;
5899
- metadata?: Record<string, string | number | boolean | {
5899
+ annotation?: Record<string, string | number | boolean | {
5900
5900
  type: string;
5901
5901
  filename: string;
5902
5902
  originalFilename: string;
@@ -5935,9 +5935,11 @@ export declare const EventDocument: z.ZodObject<{
5935
5935
  originalFilename: string;
5936
5936
  }[] | undefined> | undefined;
5937
5937
  }, {
5938
- type: "CUSTOM";
5938
+ type: "READ";
5939
5939
  id: string;
5940
- data: Record<string, string | number | boolean | {
5940
+ createdAt: string;
5941
+ createdBy: string;
5942
+ declaration: Record<string, string | number | boolean | {
5941
5943
  type: string;
5942
5944
  filename: string;
5943
5945
  originalFilename: string;
@@ -5975,10 +5977,8 @@ export declare const EventDocument: z.ZodObject<{
5975
5977
  filename: string;
5976
5978
  originalFilename: string;
5977
5979
  }[] | undefined>;
5978
- createdAt: string;
5979
- createdBy: string;
5980
5980
  createdAtLocation: string;
5981
- metadata?: Record<string, string | number | boolean | {
5981
+ annotation?: Record<string, string | number | boolean | {
5982
5982
  type: string;
5983
5983
  filename: string;
5984
5984
  originalFilename: string;
@@ -6027,7 +6027,9 @@ export declare const EventDocument: z.ZodObject<{
6027
6027
  actions: ({
6028
6028
  type: "ASSIGN";
6029
6029
  id: string;
6030
- data: Record<string, string | number | boolean | {
6030
+ createdAt: string;
6031
+ createdBy: string;
6032
+ declaration: Record<string, string | number | boolean | {
6031
6033
  type: string;
6032
6034
  filename: string;
6033
6035
  originalFilename: string;
@@ -6065,11 +6067,9 @@ export declare const EventDocument: z.ZodObject<{
6065
6067
  filename: string;
6066
6068
  originalFilename: string;
6067
6069
  }[] | undefined>;
6068
- createdAt: string;
6069
- createdBy: string;
6070
6070
  createdAtLocation: string;
6071
6071
  assignedTo: string;
6072
- metadata?: Record<string, string | number | boolean | {
6072
+ annotation?: Record<string, string | number | boolean | {
6073
6073
  type: string;
6074
6074
  filename: string;
6075
6075
  originalFilename: string;
@@ -6110,7 +6110,9 @@ export declare const EventDocument: z.ZodObject<{
6110
6110
  } | {
6111
6111
  type: "UNASSIGN";
6112
6112
  id: string;
6113
- data: Record<string, string | number | boolean | {
6113
+ createdAt: string;
6114
+ createdBy: string;
6115
+ declaration: Record<string, string | number | boolean | {
6114
6116
  type: string;
6115
6117
  filename: string;
6116
6118
  originalFilename: string;
@@ -6148,10 +6150,8 @@ export declare const EventDocument: z.ZodObject<{
6148
6150
  filename: string;
6149
6151
  originalFilename: string;
6150
6152
  }[] | undefined>;
6151
- createdAt: string;
6152
- createdBy: string;
6153
6153
  createdAtLocation: string;
6154
- metadata?: Record<string, string | number | boolean | {
6154
+ annotation?: Record<string, string | number | boolean | {
6155
6155
  type: string;
6156
6156
  filename: string;
6157
6157
  originalFilename: string;
@@ -6192,7 +6192,9 @@ export declare const EventDocument: z.ZodObject<{
6192
6192
  } | {
6193
6193
  type: "REGISTER";
6194
6194
  id: string;
6195
- data: Record<string, string | number | boolean | {
6195
+ createdAt: string;
6196
+ createdBy: string;
6197
+ declaration: Record<string, string | number | boolean | {
6196
6198
  type: string;
6197
6199
  filename: string;
6198
6200
  originalFilename: string;
@@ -6230,14 +6232,12 @@ export declare const EventDocument: z.ZodObject<{
6230
6232
  filename: string;
6231
6233
  originalFilename: string;
6232
6234
  }[] | undefined>;
6233
- createdAt: string;
6234
- createdBy: string;
6235
6235
  createdAtLocation: string;
6236
6236
  identifiers: {
6237
6237
  trackingId: string;
6238
6238
  registrationNumber: string;
6239
6239
  };
6240
- metadata?: Record<string, string | number | boolean | {
6240
+ annotation?: Record<string, string | number | boolean | {
6241
6241
  type: string;
6242
6242
  filename: string;
6243
6243
  originalFilename: string;
@@ -6278,7 +6278,9 @@ export declare const EventDocument: z.ZodObject<{
6278
6278
  } | {
6279
6279
  type: "DECLARE";
6280
6280
  id: string;
6281
- data: Record<string, string | number | boolean | {
6281
+ createdAt: string;
6282
+ createdBy: string;
6283
+ declaration: Record<string, string | number | boolean | {
6282
6284
  type: string;
6283
6285
  filename: string;
6284
6286
  originalFilename: string;
@@ -6316,10 +6318,8 @@ export declare const EventDocument: z.ZodObject<{
6316
6318
  filename: string;
6317
6319
  originalFilename: string;
6318
6320
  }[] | undefined>;
6319
- createdAt: string;
6320
- createdBy: string;
6321
6321
  createdAtLocation: string;
6322
- metadata?: Record<string, string | number | boolean | {
6322
+ annotation?: Record<string, string | number | boolean | {
6323
6323
  type: string;
6324
6324
  filename: string;
6325
6325
  originalFilename: string;
@@ -6360,7 +6360,9 @@ export declare const EventDocument: z.ZodObject<{
6360
6360
  } | {
6361
6361
  type: "VALIDATE";
6362
6362
  id: string;
6363
- data: Record<string, string | number | boolean | {
6363
+ createdAt: string;
6364
+ createdBy: string;
6365
+ declaration: Record<string, string | number | boolean | {
6364
6366
  type: string;
6365
6367
  filename: string;
6366
6368
  originalFilename: string;
@@ -6398,10 +6400,8 @@ export declare const EventDocument: z.ZodObject<{
6398
6400
  filename: string;
6399
6401
  originalFilename: string;
6400
6402
  }[] | undefined>;
6401
- createdAt: string;
6402
- createdBy: string;
6403
6403
  createdAtLocation: string;
6404
- metadata?: Record<string, string | number | boolean | {
6404
+ annotation?: Record<string, string | number | boolean | {
6405
6405
  type: string;
6406
6406
  filename: string;
6407
6407
  originalFilename: string;
@@ -6442,7 +6442,9 @@ export declare const EventDocument: z.ZodObject<{
6442
6442
  } | {
6443
6443
  type: "REJECT";
6444
6444
  id: string;
6445
- data: Record<string, string | number | boolean | {
6445
+ createdAt: string;
6446
+ createdBy: string;
6447
+ declaration: Record<string, string | number | boolean | {
6446
6448
  type: string;
6447
6449
  filename: string;
6448
6450
  originalFilename: string;
@@ -6480,10 +6482,8 @@ export declare const EventDocument: z.ZodObject<{
6480
6482
  filename: string;
6481
6483
  originalFilename: string;
6482
6484
  }[] | undefined>;
6483
- createdAt: string;
6484
- createdBy: string;
6485
6485
  createdAtLocation: string;
6486
- metadata?: Record<string, string | number | boolean | {
6486
+ annotation?: Record<string, string | number | boolean | {
6487
6487
  type: string;
6488
6488
  filename: string;
6489
6489
  originalFilename: string;
@@ -6524,7 +6524,9 @@ export declare const EventDocument: z.ZodObject<{
6524
6524
  } | {
6525
6525
  type: "MARKED_AS_DUPLICATE";
6526
6526
  id: string;
6527
- data: Record<string, string | number | boolean | {
6527
+ createdAt: string;
6528
+ createdBy: string;
6529
+ declaration: Record<string, string | number | boolean | {
6528
6530
  type: string;
6529
6531
  filename: string;
6530
6532
  originalFilename: string;
@@ -6562,10 +6564,8 @@ export declare const EventDocument: z.ZodObject<{
6562
6564
  filename: string;
6563
6565
  originalFilename: string;
6564
6566
  }[] | undefined>;
6565
- createdAt: string;
6566
- createdBy: string;
6567
6567
  createdAtLocation: string;
6568
- metadata?: Record<string, string | number | boolean | {
6568
+ annotation?: Record<string, string | number | boolean | {
6569
6569
  type: string;
6570
6570
  filename: string;
6571
6571
  originalFilename: string;
@@ -6606,7 +6606,9 @@ export declare const EventDocument: z.ZodObject<{
6606
6606
  } | {
6607
6607
  type: "ARCHIVE";
6608
6608
  id: string;
6609
- data: Record<string, string | number | boolean | {
6609
+ createdAt: string;
6610
+ createdBy: string;
6611
+ declaration: Record<string, string | number | boolean | {
6610
6612
  type: string;
6611
6613
  filename: string;
6612
6614
  originalFilename: string;
@@ -6644,10 +6646,8 @@ export declare const EventDocument: z.ZodObject<{
6644
6646
  filename: string;
6645
6647
  originalFilename: string;
6646
6648
  }[] | undefined>;
6647
- createdAt: string;
6648
- createdBy: string;
6649
6649
  createdAtLocation: string;
6650
- metadata?: Record<string, string | number | boolean | {
6650
+ annotation?: Record<string, string | number | boolean | {
6651
6651
  type: string;
6652
6652
  filename: string;
6653
6653
  originalFilename: string;
@@ -6688,7 +6688,9 @@ export declare const EventDocument: z.ZodObject<{
6688
6688
  } | {
6689
6689
  type: "CREATE";
6690
6690
  id: string;
6691
- data: Record<string, string | number | boolean | {
6691
+ createdAt: string;
6692
+ createdBy: string;
6693
+ declaration: Record<string, string | number | boolean | {
6692
6694
  type: string;
6693
6695
  filename: string;
6694
6696
  originalFilename: string;
@@ -6726,10 +6728,8 @@ export declare const EventDocument: z.ZodObject<{
6726
6728
  filename: string;
6727
6729
  originalFilename: string;
6728
6730
  }[] | undefined>;
6729
- createdAt: string;
6730
- createdBy: string;
6731
6731
  createdAtLocation: string;
6732
- metadata?: Record<string, string | number | boolean | {
6732
+ annotation?: Record<string, string | number | boolean | {
6733
6733
  type: string;
6734
6734
  filename: string;
6735
6735
  originalFilename: string;
@@ -6770,7 +6770,9 @@ export declare const EventDocument: z.ZodObject<{
6770
6770
  } | {
6771
6771
  type: "NOTIFY";
6772
6772
  id: string;
6773
- data: Record<string, string | number | boolean | {
6773
+ createdAt: string;
6774
+ createdBy: string;
6775
+ declaration: Record<string, string | number | boolean | {
6774
6776
  type: string;
6775
6777
  filename: string;
6776
6778
  originalFilename: string;
@@ -6808,10 +6810,8 @@ export declare const EventDocument: z.ZodObject<{
6808
6810
  filename: string;
6809
6811
  originalFilename: string;
6810
6812
  }[] | undefined>;
6811
- createdAt: string;
6812
- createdBy: string;
6813
6813
  createdAtLocation: string;
6814
- metadata?: Record<string, string | number | boolean | {
6814
+ annotation?: Record<string, string | number | boolean | {
6815
6815
  type: string;
6816
6816
  filename: string;
6817
6817
  originalFilename: string;
@@ -6852,7 +6852,9 @@ export declare const EventDocument: z.ZodObject<{
6852
6852
  } | {
6853
6853
  type: "PRINT_CERTIFICATE";
6854
6854
  id: string;
6855
- data: Record<string, string | number | boolean | {
6855
+ createdAt: string;
6856
+ createdBy: string;
6857
+ declaration: Record<string, string | number | boolean | {
6856
6858
  type: string;
6857
6859
  filename: string;
6858
6860
  originalFilename: string;
@@ -6890,10 +6892,8 @@ export declare const EventDocument: z.ZodObject<{
6890
6892
  filename: string;
6891
6893
  originalFilename: string;
6892
6894
  }[] | undefined>;
6893
- createdAt: string;
6894
- createdBy: string;
6895
6895
  createdAtLocation: string;
6896
- metadata?: Record<string, string | number | boolean | {
6896
+ annotation?: Record<string, string | number | boolean | {
6897
6897
  type: string;
6898
6898
  filename: string;
6899
6899
  originalFilename: string;
@@ -6934,7 +6934,9 @@ export declare const EventDocument: z.ZodObject<{
6934
6934
  } | {
6935
6935
  type: "REQUEST_CORRECTION";
6936
6936
  id: string;
6937
- data: Record<string, string | number | boolean | {
6937
+ createdAt: string;
6938
+ createdBy: string;
6939
+ declaration: Record<string, string | number | boolean | {
6938
6940
  type: string;
6939
6941
  filename: string;
6940
6942
  originalFilename: string;
@@ -6972,10 +6974,8 @@ export declare const EventDocument: z.ZodObject<{
6972
6974
  filename: string;
6973
6975
  originalFilename: string;
6974
6976
  }[] | undefined>;
6975
- createdAt: string;
6976
- createdBy: string;
6977
6977
  createdAtLocation: string;
6978
- metadata?: Record<string, string | number | boolean | {
6978
+ annotation?: Record<string, string | number | boolean | {
6979
6979
  type: string;
6980
6980
  filename: string;
6981
6981
  originalFilename: string;
@@ -7016,7 +7016,9 @@ export declare const EventDocument: z.ZodObject<{
7016
7016
  } | {
7017
7017
  type: "APPROVE_CORRECTION";
7018
7018
  id: string;
7019
- data: Record<string, string | number | boolean | {
7019
+ createdAt: string;
7020
+ createdBy: string;
7021
+ declaration: Record<string, string | number | boolean | {
7020
7022
  type: string;
7021
7023
  filename: string;
7022
7024
  originalFilename: string;
@@ -7054,11 +7056,9 @@ export declare const EventDocument: z.ZodObject<{
7054
7056
  filename: string;
7055
7057
  originalFilename: string;
7056
7058
  }[] | undefined>;
7057
- createdAt: string;
7058
- createdBy: string;
7059
7059
  createdAtLocation: string;
7060
7060
  requestId: string;
7061
- metadata?: Record<string, string | number | boolean | {
7061
+ annotation?: Record<string, string | number | boolean | {
7062
7062
  type: string;
7063
7063
  filename: string;
7064
7064
  originalFilename: string;
@@ -7099,7 +7099,9 @@ export declare const EventDocument: z.ZodObject<{
7099
7099
  } | {
7100
7100
  type: "REJECT_CORRECTION";
7101
7101
  id: string;
7102
- data: Record<string, string | number | boolean | {
7102
+ createdAt: string;
7103
+ createdBy: string;
7104
+ declaration: Record<string, string | number | boolean | {
7103
7105
  type: string;
7104
7106
  filename: string;
7105
7107
  originalFilename: string;
@@ -7137,11 +7139,9 @@ export declare const EventDocument: z.ZodObject<{
7137
7139
  filename: string;
7138
7140
  originalFilename: string;
7139
7141
  }[] | undefined>;
7140
- createdAt: string;
7141
- createdBy: string;
7142
7142
  createdAtLocation: string;
7143
7143
  requestId: string;
7144
- metadata?: Record<string, string | number | boolean | {
7144
+ annotation?: Record<string, string | number | boolean | {
7145
7145
  type: string;
7146
7146
  filename: string;
7147
7147
  originalFilename: string;
@@ -7180,9 +7180,11 @@ export declare const EventDocument: z.ZodObject<{
7180
7180
  originalFilename: string;
7181
7181
  }[] | undefined> | undefined;
7182
7182
  } | {
7183
- type: "CUSTOM";
7183
+ type: "READ";
7184
7184
  id: string;
7185
- data: Record<string, string | number | boolean | {
7185
+ createdAt: string;
7186
+ createdBy: string;
7187
+ declaration: Record<string, string | number | boolean | {
7186
7188
  type: string;
7187
7189
  filename: string;
7188
7190
  originalFilename: string;
@@ -7220,10 +7222,8 @@ export declare const EventDocument: z.ZodObject<{
7220
7222
  filename: string;
7221
7223
  originalFilename: string;
7222
7224
  }[] | undefined>;
7223
- createdAt: string;
7224
- createdBy: string;
7225
7225
  createdAtLocation: string;
7226
- metadata?: Record<string, string | number | boolean | {
7226
+ annotation?: Record<string, string | number | boolean | {
7227
7227
  type: string;
7228
7228
  filename: string;
7229
7229
  originalFilename: string;
@@ -7271,7 +7271,9 @@ export declare const EventDocument: z.ZodObject<{
7271
7271
  actions: ({
7272
7272
  type: "ASSIGN";
7273
7273
  id: string;
7274
- data: Record<string, string | number | boolean | {
7274
+ createdAt: string;
7275
+ createdBy: string;
7276
+ declaration: Record<string, string | number | boolean | {
7275
7277
  type: string;
7276
7278
  filename: string;
7277
7279
  originalFilename: string;
@@ -7309,11 +7311,9 @@ export declare const EventDocument: z.ZodObject<{
7309
7311
  filename: string;
7310
7312
  originalFilename: string;
7311
7313
  }[] | undefined>;
7312
- createdAt: string;
7313
- createdBy: string;
7314
7314
  createdAtLocation: string;
7315
7315
  assignedTo: string;
7316
- metadata?: Record<string, string | number | boolean | {
7316
+ annotation?: Record<string, string | number | boolean | {
7317
7317
  type: string;
7318
7318
  filename: string;
7319
7319
  originalFilename: string;
@@ -7354,7 +7354,9 @@ export declare const EventDocument: z.ZodObject<{
7354
7354
  } | {
7355
7355
  type: "UNASSIGN";
7356
7356
  id: string;
7357
- data: Record<string, string | number | boolean | {
7357
+ createdAt: string;
7358
+ createdBy: string;
7359
+ declaration: Record<string, string | number | boolean | {
7358
7360
  type: string;
7359
7361
  filename: string;
7360
7362
  originalFilename: string;
@@ -7392,10 +7394,8 @@ export declare const EventDocument: z.ZodObject<{
7392
7394
  filename: string;
7393
7395
  originalFilename: string;
7394
7396
  }[] | undefined>;
7395
- createdAt: string;
7396
- createdBy: string;
7397
7397
  createdAtLocation: string;
7398
- metadata?: Record<string, string | number | boolean | {
7398
+ annotation?: Record<string, string | number | boolean | {
7399
7399
  type: string;
7400
7400
  filename: string;
7401
7401
  originalFilename: string;
@@ -7436,7 +7436,9 @@ export declare const EventDocument: z.ZodObject<{
7436
7436
  } | {
7437
7437
  type: "REGISTER";
7438
7438
  id: string;
7439
- data: Record<string, string | number | boolean | {
7439
+ createdAt: string;
7440
+ createdBy: string;
7441
+ declaration: Record<string, string | number | boolean | {
7440
7442
  type: string;
7441
7443
  filename: string;
7442
7444
  originalFilename: string;
@@ -7474,14 +7476,12 @@ export declare const EventDocument: z.ZodObject<{
7474
7476
  filename: string;
7475
7477
  originalFilename: string;
7476
7478
  }[] | undefined>;
7477
- createdAt: string;
7478
- createdBy: string;
7479
7479
  createdAtLocation: string;
7480
7480
  identifiers: {
7481
7481
  trackingId: string;
7482
7482
  registrationNumber: string;
7483
7483
  };
7484
- metadata?: Record<string, string | number | boolean | {
7484
+ annotation?: Record<string, string | number | boolean | {
7485
7485
  type: string;
7486
7486
  filename: string;
7487
7487
  originalFilename: string;
@@ -7522,7 +7522,9 @@ export declare const EventDocument: z.ZodObject<{
7522
7522
  } | {
7523
7523
  type: "DECLARE";
7524
7524
  id: string;
7525
- data: Record<string, string | number | boolean | {
7525
+ createdAt: string;
7526
+ createdBy: string;
7527
+ declaration: Record<string, string | number | boolean | {
7526
7528
  type: string;
7527
7529
  filename: string;
7528
7530
  originalFilename: string;
@@ -7560,10 +7562,8 @@ export declare const EventDocument: z.ZodObject<{
7560
7562
  filename: string;
7561
7563
  originalFilename: string;
7562
7564
  }[] | undefined>;
7563
- createdAt: string;
7564
- createdBy: string;
7565
7565
  createdAtLocation: string;
7566
- metadata?: Record<string, string | number | boolean | {
7566
+ annotation?: Record<string, string | number | boolean | {
7567
7567
  type: string;
7568
7568
  filename: string;
7569
7569
  originalFilename: string;
@@ -7604,7 +7604,9 @@ export declare const EventDocument: z.ZodObject<{
7604
7604
  } | {
7605
7605
  type: "VALIDATE";
7606
7606
  id: string;
7607
- data: Record<string, string | number | boolean | {
7607
+ createdAt: string;
7608
+ createdBy: string;
7609
+ declaration: Record<string, string | number | boolean | {
7608
7610
  type: string;
7609
7611
  filename: string;
7610
7612
  originalFilename: string;
@@ -7642,10 +7644,8 @@ export declare const EventDocument: z.ZodObject<{
7642
7644
  filename: string;
7643
7645
  originalFilename: string;
7644
7646
  }[] | undefined>;
7645
- createdAt: string;
7646
- createdBy: string;
7647
7647
  createdAtLocation: string;
7648
- metadata?: Record<string, string | number | boolean | {
7648
+ annotation?: Record<string, string | number | boolean | {
7649
7649
  type: string;
7650
7650
  filename: string;
7651
7651
  originalFilename: string;
@@ -7686,7 +7686,9 @@ export declare const EventDocument: z.ZodObject<{
7686
7686
  } | {
7687
7687
  type: "REJECT";
7688
7688
  id: string;
7689
- data: Record<string, string | number | boolean | {
7689
+ createdAt: string;
7690
+ createdBy: string;
7691
+ declaration: Record<string, string | number | boolean | {
7690
7692
  type: string;
7691
7693
  filename: string;
7692
7694
  originalFilename: string;
@@ -7724,10 +7726,8 @@ export declare const EventDocument: z.ZodObject<{
7724
7726
  filename: string;
7725
7727
  originalFilename: string;
7726
7728
  }[] | undefined>;
7727
- createdAt: string;
7728
- createdBy: string;
7729
7729
  createdAtLocation: string;
7730
- metadata?: Record<string, string | number | boolean | {
7730
+ annotation?: Record<string, string | number | boolean | {
7731
7731
  type: string;
7732
7732
  filename: string;
7733
7733
  originalFilename: string;
@@ -7768,7 +7768,9 @@ export declare const EventDocument: z.ZodObject<{
7768
7768
  } | {
7769
7769
  type: "MARKED_AS_DUPLICATE";
7770
7770
  id: string;
7771
- data: Record<string, string | number | boolean | {
7771
+ createdAt: string;
7772
+ createdBy: string;
7773
+ declaration: Record<string, string | number | boolean | {
7772
7774
  type: string;
7773
7775
  filename: string;
7774
7776
  originalFilename: string;
@@ -7806,10 +7808,8 @@ export declare const EventDocument: z.ZodObject<{
7806
7808
  filename: string;
7807
7809
  originalFilename: string;
7808
7810
  }[] | undefined>;
7809
- createdAt: string;
7810
- createdBy: string;
7811
7811
  createdAtLocation: string;
7812
- metadata?: Record<string, string | number | boolean | {
7812
+ annotation?: Record<string, string | number | boolean | {
7813
7813
  type: string;
7814
7814
  filename: string;
7815
7815
  originalFilename: string;
@@ -7850,7 +7850,9 @@ export declare const EventDocument: z.ZodObject<{
7850
7850
  } | {
7851
7851
  type: "ARCHIVE";
7852
7852
  id: string;
7853
- data: Record<string, string | number | boolean | {
7853
+ createdAt: string;
7854
+ createdBy: string;
7855
+ declaration: Record<string, string | number | boolean | {
7854
7856
  type: string;
7855
7857
  filename: string;
7856
7858
  originalFilename: string;
@@ -7888,10 +7890,8 @@ export declare const EventDocument: z.ZodObject<{
7888
7890
  filename: string;
7889
7891
  originalFilename: string;
7890
7892
  }[] | undefined>;
7891
- createdAt: string;
7892
- createdBy: string;
7893
7893
  createdAtLocation: string;
7894
- metadata?: Record<string, string | number | boolean | {
7894
+ annotation?: Record<string, string | number | boolean | {
7895
7895
  type: string;
7896
7896
  filename: string;
7897
7897
  originalFilename: string;
@@ -7932,7 +7932,9 @@ export declare const EventDocument: z.ZodObject<{
7932
7932
  } | {
7933
7933
  type: "CREATE";
7934
7934
  id: string;
7935
- data: Record<string, string | number | boolean | {
7935
+ createdAt: string;
7936
+ createdBy: string;
7937
+ declaration: Record<string, string | number | boolean | {
7936
7938
  type: string;
7937
7939
  filename: string;
7938
7940
  originalFilename: string;
@@ -7970,10 +7972,8 @@ export declare const EventDocument: z.ZodObject<{
7970
7972
  filename: string;
7971
7973
  originalFilename: string;
7972
7974
  }[] | undefined>;
7973
- createdAt: string;
7974
- createdBy: string;
7975
7975
  createdAtLocation: string;
7976
- metadata?: Record<string, string | number | boolean | {
7976
+ annotation?: Record<string, string | number | boolean | {
7977
7977
  type: string;
7978
7978
  filename: string;
7979
7979
  originalFilename: string;
@@ -8014,7 +8014,9 @@ export declare const EventDocument: z.ZodObject<{
8014
8014
  } | {
8015
8015
  type: "NOTIFY";
8016
8016
  id: string;
8017
- data: Record<string, string | number | boolean | {
8017
+ createdAt: string;
8018
+ createdBy: string;
8019
+ declaration: Record<string, string | number | boolean | {
8018
8020
  type: string;
8019
8021
  filename: string;
8020
8022
  originalFilename: string;
@@ -8052,10 +8054,8 @@ export declare const EventDocument: z.ZodObject<{
8052
8054
  filename: string;
8053
8055
  originalFilename: string;
8054
8056
  }[] | undefined>;
8055
- createdAt: string;
8056
- createdBy: string;
8057
8057
  createdAtLocation: string;
8058
- metadata?: Record<string, string | number | boolean | {
8058
+ annotation?: Record<string, string | number | boolean | {
8059
8059
  type: string;
8060
8060
  filename: string;
8061
8061
  originalFilename: string;
@@ -8096,7 +8096,9 @@ export declare const EventDocument: z.ZodObject<{
8096
8096
  } | {
8097
8097
  type: "PRINT_CERTIFICATE";
8098
8098
  id: string;
8099
- data: Record<string, string | number | boolean | {
8099
+ createdAt: string;
8100
+ createdBy: string;
8101
+ declaration: Record<string, string | number | boolean | {
8100
8102
  type: string;
8101
8103
  filename: string;
8102
8104
  originalFilename: string;
@@ -8134,10 +8136,8 @@ export declare const EventDocument: z.ZodObject<{
8134
8136
  filename: string;
8135
8137
  originalFilename: string;
8136
8138
  }[] | undefined>;
8137
- createdAt: string;
8138
- createdBy: string;
8139
8139
  createdAtLocation: string;
8140
- metadata?: Record<string, string | number | boolean | {
8140
+ annotation?: Record<string, string | number | boolean | {
8141
8141
  type: string;
8142
8142
  filename: string;
8143
8143
  originalFilename: string;
@@ -8178,7 +8178,9 @@ export declare const EventDocument: z.ZodObject<{
8178
8178
  } | {
8179
8179
  type: "REQUEST_CORRECTION";
8180
8180
  id: string;
8181
- data: Record<string, string | number | boolean | {
8181
+ createdAt: string;
8182
+ createdBy: string;
8183
+ declaration: Record<string, string | number | boolean | {
8182
8184
  type: string;
8183
8185
  filename: string;
8184
8186
  originalFilename: string;
@@ -8216,10 +8218,8 @@ export declare const EventDocument: z.ZodObject<{
8216
8218
  filename: string;
8217
8219
  originalFilename: string;
8218
8220
  }[] | undefined>;
8219
- createdAt: string;
8220
- createdBy: string;
8221
8221
  createdAtLocation: string;
8222
- metadata?: Record<string, string | number | boolean | {
8222
+ annotation?: Record<string, string | number | boolean | {
8223
8223
  type: string;
8224
8224
  filename: string;
8225
8225
  originalFilename: string;
@@ -8260,7 +8260,9 @@ export declare const EventDocument: z.ZodObject<{
8260
8260
  } | {
8261
8261
  type: "APPROVE_CORRECTION";
8262
8262
  id: string;
8263
- data: Record<string, string | number | boolean | {
8263
+ createdAt: string;
8264
+ createdBy: string;
8265
+ declaration: Record<string, string | number | boolean | {
8264
8266
  type: string;
8265
8267
  filename: string;
8266
8268
  originalFilename: string;
@@ -8298,11 +8300,9 @@ export declare const EventDocument: z.ZodObject<{
8298
8300
  filename: string;
8299
8301
  originalFilename: string;
8300
8302
  }[] | undefined>;
8301
- createdAt: string;
8302
- createdBy: string;
8303
8303
  createdAtLocation: string;
8304
8304
  requestId: string;
8305
- metadata?: Record<string, string | number | boolean | {
8305
+ annotation?: Record<string, string | number | boolean | {
8306
8306
  type: string;
8307
8307
  filename: string;
8308
8308
  originalFilename: string;
@@ -8343,7 +8343,9 @@ export declare const EventDocument: z.ZodObject<{
8343
8343
  } | {
8344
8344
  type: "REJECT_CORRECTION";
8345
8345
  id: string;
8346
- data: Record<string, string | number | boolean | {
8346
+ createdAt: string;
8347
+ createdBy: string;
8348
+ declaration: Record<string, string | number | boolean | {
8347
8349
  type: string;
8348
8350
  filename: string;
8349
8351
  originalFilename: string;
@@ -8381,11 +8383,9 @@ export declare const EventDocument: z.ZodObject<{
8381
8383
  filename: string;
8382
8384
  originalFilename: string;
8383
8385
  }[] | undefined>;
8384
- createdAt: string;
8385
- createdBy: string;
8386
8386
  createdAtLocation: string;
8387
8387
  requestId: string;
8388
- metadata?: Record<string, string | number | boolean | {
8388
+ annotation?: Record<string, string | number | boolean | {
8389
8389
  type: string;
8390
8390
  filename: string;
8391
8391
  originalFilename: string;
@@ -8424,9 +8424,11 @@ export declare const EventDocument: z.ZodObject<{
8424
8424
  originalFilename: string;
8425
8425
  }[] | undefined> | undefined;
8426
8426
  } | {
8427
- type: "CUSTOM";
8427
+ type: "READ";
8428
8428
  id: string;
8429
- data: Record<string, string | number | boolean | {
8429
+ createdAt: string;
8430
+ createdBy: string;
8431
+ declaration: Record<string, string | number | boolean | {
8430
8432
  type: string;
8431
8433
  filename: string;
8432
8434
  originalFilename: string;
@@ -8464,10 +8466,8 @@ export declare const EventDocument: z.ZodObject<{
8464
8466
  filename: string;
8465
8467
  originalFilename: string;
8466
8468
  }[] | undefined>;
8467
- createdAt: string;
8468
- createdBy: string;
8469
8469
  createdAtLocation: string;
8470
- metadata?: Record<string, string | number | boolean | {
8470
+ annotation?: Record<string, string | number | boolean | {
8471
8471
  type: string;
8472
8472
  filename: string;
8473
8473
  originalFilename: string;