@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.
@@ -126,7 +126,7 @@ export declare const ActionBase: z.ZodObject<{
126
126
  id: z.ZodString;
127
127
  createdAt: z.ZodString;
128
128
  createdBy: z.ZodString;
129
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
129
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
130
130
  filename: z.ZodString;
131
131
  originalFilename: z.ZodString;
132
132
  type: z.ZodString;
@@ -240,7 +240,7 @@ export declare const ActionBase: z.ZodObject<{
240
240
  addressLine3?: string | null | undefined;
241
241
  postcodeOrZip?: string | null | undefined;
242
242
  }>]>>;
243
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
243
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
244
244
  filename: z.ZodString;
245
245
  originalFilename: z.ZodString;
246
246
  type: z.ZodString;
@@ -357,7 +357,9 @@ export declare const ActionBase: z.ZodObject<{
357
357
  createdAtLocation: z.ZodString;
358
358
  }, "strip", z.ZodTypeAny, {
359
359
  id: string;
360
- data: Record<string, string | number | boolean | {
360
+ createdAt: string;
361
+ createdBy: string;
362
+ declaration: Record<string, string | number | boolean | {
361
363
  type: string;
362
364
  filename: string;
363
365
  originalFilename: string;
@@ -395,10 +397,8 @@ export declare const ActionBase: z.ZodObject<{
395
397
  filename: string;
396
398
  originalFilename: string;
397
399
  }[] | undefined>;
398
- createdAt: string;
399
- createdBy: string;
400
400
  createdAtLocation: string;
401
- metadata?: Record<string, string | number | boolean | {
401
+ annotation?: Record<string, string | number | boolean | {
402
402
  type: string;
403
403
  filename: string;
404
404
  originalFilename: string;
@@ -438,7 +438,9 @@ export declare const ActionBase: z.ZodObject<{
438
438
  }[] | undefined> | undefined;
439
439
  }, {
440
440
  id: string;
441
- data: Record<string, string | number | boolean | {
441
+ createdAt: string;
442
+ createdBy: string;
443
+ declaration: Record<string, string | number | boolean | {
442
444
  type: string;
443
445
  filename: string;
444
446
  originalFilename: string;
@@ -476,10 +478,8 @@ export declare const ActionBase: z.ZodObject<{
476
478
  filename: string;
477
479
  originalFilename: string;
478
480
  }[] | undefined>;
479
- createdAt: string;
480
- createdBy: string;
481
481
  createdAtLocation: string;
482
- metadata?: Record<string, string | number | boolean | {
482
+ annotation?: Record<string, string | number | boolean | {
483
483
  type: string;
484
484
  filename: string;
485
485
  originalFilename: string;
@@ -523,7 +523,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
523
523
  id: z.ZodString;
524
524
  createdAt: z.ZodString;
525
525
  createdBy: z.ZodString;
526
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
526
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
527
527
  filename: z.ZodString;
528
528
  originalFilename: z.ZodString;
529
529
  type: z.ZodString;
@@ -637,7 +637,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
637
637
  addressLine3?: string | null | undefined;
638
638
  postcodeOrZip?: string | null | undefined;
639
639
  }>]>>;
640
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
640
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
641
641
  filename: z.ZodString;
642
642
  originalFilename: z.ZodString;
643
643
  type: z.ZodString;
@@ -757,7 +757,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
757
757
  }>, "strip", z.ZodTypeAny, {
758
758
  type: "CREATE";
759
759
  id: string;
760
- data: Record<string, string | number | boolean | {
760
+ createdAt: string;
761
+ createdBy: string;
762
+ declaration: Record<string, string | number | boolean | {
761
763
  type: string;
762
764
  filename: string;
763
765
  originalFilename: string;
@@ -795,10 +797,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
795
797
  filename: string;
796
798
  originalFilename: string;
797
799
  }[] | undefined>;
798
- createdAt: string;
799
- createdBy: string;
800
800
  createdAtLocation: string;
801
- metadata?: Record<string, string | number | boolean | {
801
+ annotation?: Record<string, string | number | boolean | {
802
802
  type: string;
803
803
  filename: string;
804
804
  originalFilename: string;
@@ -839,7 +839,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
839
839
  }, {
840
840
  type: "CREATE";
841
841
  id: string;
842
- data: Record<string, string | number | boolean | {
842
+ createdAt: string;
843
+ createdBy: string;
844
+ declaration: Record<string, string | number | boolean | {
843
845
  type: string;
844
846
  filename: string;
845
847
  originalFilename: string;
@@ -877,10 +879,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
877
879
  filename: string;
878
880
  originalFilename: string;
879
881
  }[] | undefined>;
880
- createdAt: string;
881
- createdBy: string;
882
882
  createdAtLocation: string;
883
- metadata?: Record<string, string | number | boolean | {
883
+ annotation?: Record<string, string | number | boolean | {
884
884
  type: string;
885
885
  filename: string;
886
886
  originalFilename: string;
@@ -923,7 +923,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
923
923
  id: z.ZodString;
924
924
  createdAt: z.ZodString;
925
925
  createdBy: z.ZodString;
926
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
926
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
927
927
  filename: z.ZodString;
928
928
  originalFilename: z.ZodString;
929
929
  type: z.ZodString;
@@ -1037,7 +1037,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1037
1037
  addressLine3?: string | null | undefined;
1038
1038
  postcodeOrZip?: string | null | undefined;
1039
1039
  }>]>>;
1040
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1040
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1041
1041
  filename: z.ZodString;
1042
1042
  originalFilename: z.ZodString;
1043
1043
  type: z.ZodString;
@@ -1157,7 +1157,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1157
1157
  }>, "strip", z.ZodTypeAny, {
1158
1158
  type: "CREATE";
1159
1159
  id: string;
1160
- data: Record<string, string | number | boolean | {
1160
+ createdAt: string;
1161
+ createdBy: string;
1162
+ declaration: Record<string, string | number | boolean | {
1161
1163
  type: string;
1162
1164
  filename: string;
1163
1165
  originalFilename: string;
@@ -1195,10 +1197,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1195
1197
  filename: string;
1196
1198
  originalFilename: string;
1197
1199
  }[] | undefined>;
1198
- createdAt: string;
1199
- createdBy: string;
1200
1200
  createdAtLocation: string;
1201
- metadata?: Record<string, string | number | boolean | {
1201
+ annotation?: Record<string, string | number | boolean | {
1202
1202
  type: string;
1203
1203
  filename: string;
1204
1204
  originalFilename: string;
@@ -1239,7 +1239,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1239
1239
  }, {
1240
1240
  type: "CREATE";
1241
1241
  id: string;
1242
- data: Record<string, string | number | boolean | {
1242
+ createdAt: string;
1243
+ createdBy: string;
1244
+ declaration: Record<string, string | number | boolean | {
1243
1245
  type: string;
1244
1246
  filename: string;
1245
1247
  originalFilename: string;
@@ -1277,10 +1279,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1277
1279
  filename: string;
1278
1280
  originalFilename: string;
1279
1281
  }[] | undefined>;
1280
- createdAt: string;
1281
- createdBy: string;
1282
1282
  createdAtLocation: string;
1283
- metadata?: Record<string, string | number | boolean | {
1283
+ annotation?: Record<string, string | number | boolean | {
1284
1284
  type: string;
1285
1285
  filename: string;
1286
1286
  originalFilename: string;
@@ -1322,7 +1322,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1322
1322
  id: z.ZodString;
1323
1323
  createdAt: z.ZodString;
1324
1324
  createdBy: z.ZodString;
1325
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1325
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1326
1326
  filename: z.ZodString;
1327
1327
  originalFilename: z.ZodString;
1328
1328
  type: z.ZodString;
@@ -1436,7 +1436,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1436
1436
  addressLine3?: string | null | undefined;
1437
1437
  postcodeOrZip?: string | null | undefined;
1438
1438
  }>]>>;
1439
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1439
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1440
1440
  filename: z.ZodString;
1441
1441
  originalFilename: z.ZodString;
1442
1442
  type: z.ZodString;
@@ -1556,7 +1556,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1556
1556
  }>, "strip", z.ZodTypeAny, {
1557
1557
  type: "VALIDATE";
1558
1558
  id: string;
1559
- data: Record<string, string | number | boolean | {
1559
+ createdAt: string;
1560
+ createdBy: string;
1561
+ declaration: Record<string, string | number | boolean | {
1560
1562
  type: string;
1561
1563
  filename: string;
1562
1564
  originalFilename: string;
@@ -1594,10 +1596,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1594
1596
  filename: string;
1595
1597
  originalFilename: string;
1596
1598
  }[] | undefined>;
1597
- createdAt: string;
1598
- createdBy: string;
1599
1599
  createdAtLocation: string;
1600
- metadata?: Record<string, string | number | boolean | {
1600
+ annotation?: Record<string, string | number | boolean | {
1601
1601
  type: string;
1602
1602
  filename: string;
1603
1603
  originalFilename: string;
@@ -1638,7 +1638,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1638
1638
  }, {
1639
1639
  type: "VALIDATE";
1640
1640
  id: string;
1641
- data: Record<string, string | number | boolean | {
1641
+ createdAt: string;
1642
+ createdBy: string;
1643
+ declaration: Record<string, string | number | boolean | {
1642
1644
  type: string;
1643
1645
  filename: string;
1644
1646
  originalFilename: string;
@@ -1676,10 +1678,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1676
1678
  filename: string;
1677
1679
  originalFilename: string;
1678
1680
  }[] | undefined>;
1679
- createdAt: string;
1680
- createdBy: string;
1681
1681
  createdAtLocation: string;
1682
- metadata?: Record<string, string | number | boolean | {
1682
+ annotation?: Record<string, string | number | boolean | {
1683
1683
  type: string;
1684
1684
  filename: string;
1685
1685
  originalFilename: string;
@@ -1721,7 +1721,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1721
1721
  id: z.ZodString;
1722
1722
  createdAt: z.ZodString;
1723
1723
  createdBy: z.ZodString;
1724
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1724
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1725
1725
  filename: z.ZodString;
1726
1726
  originalFilename: z.ZodString;
1727
1727
  type: z.ZodString;
@@ -1835,7 +1835,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1835
1835
  addressLine3?: string | null | undefined;
1836
1836
  postcodeOrZip?: string | null | undefined;
1837
1837
  }>]>>;
1838
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1838
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1839
1839
  filename: z.ZodString;
1840
1840
  originalFilename: z.ZodString;
1841
1841
  type: z.ZodString;
@@ -1955,7 +1955,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1955
1955
  }>, "strip", z.ZodTypeAny, {
1956
1956
  type: "REJECT";
1957
1957
  id: string;
1958
- data: Record<string, string | number | boolean | {
1958
+ createdAt: string;
1959
+ createdBy: string;
1960
+ declaration: Record<string, string | number | boolean | {
1959
1961
  type: string;
1960
1962
  filename: string;
1961
1963
  originalFilename: string;
@@ -1993,10 +1995,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1993
1995
  filename: string;
1994
1996
  originalFilename: string;
1995
1997
  }[] | undefined>;
1996
- createdAt: string;
1997
- createdBy: string;
1998
1998
  createdAtLocation: string;
1999
- metadata?: Record<string, string | number | boolean | {
1999
+ annotation?: Record<string, string | number | boolean | {
2000
2000
  type: string;
2001
2001
  filename: string;
2002
2002
  originalFilename: string;
@@ -2037,7 +2037,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2037
2037
  }, {
2038
2038
  type: "REJECT";
2039
2039
  id: string;
2040
- data: Record<string, string | number | boolean | {
2040
+ createdAt: string;
2041
+ createdBy: string;
2042
+ declaration: Record<string, string | number | boolean | {
2041
2043
  type: string;
2042
2044
  filename: string;
2043
2045
  originalFilename: string;
@@ -2075,10 +2077,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2075
2077
  filename: string;
2076
2078
  originalFilename: string;
2077
2079
  }[] | undefined>;
2078
- createdAt: string;
2079
- createdBy: string;
2080
2080
  createdAtLocation: string;
2081
- metadata?: Record<string, string | number | boolean | {
2081
+ annotation?: Record<string, string | number | boolean | {
2082
2082
  type: string;
2083
2083
  filename: string;
2084
2084
  originalFilename: string;
@@ -2120,7 +2120,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2120
2120
  id: z.ZodString;
2121
2121
  createdAt: z.ZodString;
2122
2122
  createdBy: z.ZodString;
2123
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2123
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2124
2124
  filename: z.ZodString;
2125
2125
  originalFilename: z.ZodString;
2126
2126
  type: z.ZodString;
@@ -2234,7 +2234,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2234
2234
  addressLine3?: string | null | undefined;
2235
2235
  postcodeOrZip?: string | null | undefined;
2236
2236
  }>]>>;
2237
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2237
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2238
2238
  filename: z.ZodString;
2239
2239
  originalFilename: z.ZodString;
2240
2240
  type: z.ZodString;
@@ -2354,7 +2354,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2354
2354
  }>, "strip", z.ZodTypeAny, {
2355
2355
  type: "MARKED_AS_DUPLICATE";
2356
2356
  id: string;
2357
- data: Record<string, string | number | boolean | {
2357
+ createdAt: string;
2358
+ createdBy: string;
2359
+ declaration: Record<string, string | number | boolean | {
2358
2360
  type: string;
2359
2361
  filename: string;
2360
2362
  originalFilename: string;
@@ -2392,10 +2394,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2392
2394
  filename: string;
2393
2395
  originalFilename: string;
2394
2396
  }[] | undefined>;
2395
- createdAt: string;
2396
- createdBy: string;
2397
2397
  createdAtLocation: string;
2398
- metadata?: Record<string, string | number | boolean | {
2398
+ annotation?: Record<string, string | number | boolean | {
2399
2399
  type: string;
2400
2400
  filename: string;
2401
2401
  originalFilename: string;
@@ -2436,7 +2436,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2436
2436
  }, {
2437
2437
  type: "MARKED_AS_DUPLICATE";
2438
2438
  id: string;
2439
- data: Record<string, string | number | boolean | {
2439
+ createdAt: string;
2440
+ createdBy: string;
2441
+ declaration: Record<string, string | number | boolean | {
2440
2442
  type: string;
2441
2443
  filename: string;
2442
2444
  originalFilename: string;
@@ -2474,10 +2476,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2474
2476
  filename: string;
2475
2477
  originalFilename: string;
2476
2478
  }[] | undefined>;
2477
- createdAt: string;
2478
- createdBy: string;
2479
2479
  createdAtLocation: string;
2480
- metadata?: Record<string, string | number | boolean | {
2480
+ annotation?: Record<string, string | number | boolean | {
2481
2481
  type: string;
2482
2482
  filename: string;
2483
2483
  originalFilename: string;
@@ -2519,7 +2519,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2519
2519
  id: z.ZodString;
2520
2520
  createdAt: z.ZodString;
2521
2521
  createdBy: z.ZodString;
2522
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2522
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2523
2523
  filename: z.ZodString;
2524
2524
  originalFilename: z.ZodString;
2525
2525
  type: z.ZodString;
@@ -2633,7 +2633,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2633
2633
  addressLine3?: string | null | undefined;
2634
2634
  postcodeOrZip?: string | null | undefined;
2635
2635
  }>]>>;
2636
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2636
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2637
2637
  filename: z.ZodString;
2638
2638
  originalFilename: z.ZodString;
2639
2639
  type: z.ZodString;
@@ -2753,7 +2753,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2753
2753
  }>, "strip", z.ZodTypeAny, {
2754
2754
  type: "ARCHIVE";
2755
2755
  id: string;
2756
- data: Record<string, string | number | boolean | {
2756
+ createdAt: string;
2757
+ createdBy: string;
2758
+ declaration: Record<string, string | number | boolean | {
2757
2759
  type: string;
2758
2760
  filename: string;
2759
2761
  originalFilename: string;
@@ -2791,10 +2793,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2791
2793
  filename: string;
2792
2794
  originalFilename: string;
2793
2795
  }[] | undefined>;
2794
- createdAt: string;
2795
- createdBy: string;
2796
2796
  createdAtLocation: string;
2797
- metadata?: Record<string, string | number | boolean | {
2797
+ annotation?: Record<string, string | number | boolean | {
2798
2798
  type: string;
2799
2799
  filename: string;
2800
2800
  originalFilename: string;
@@ -2835,7 +2835,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2835
2835
  }, {
2836
2836
  type: "ARCHIVE";
2837
2837
  id: string;
2838
- data: Record<string, string | number | boolean | {
2838
+ createdAt: string;
2839
+ createdBy: string;
2840
+ declaration: Record<string, string | number | boolean | {
2839
2841
  type: string;
2840
2842
  filename: string;
2841
2843
  originalFilename: string;
@@ -2873,10 +2875,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2873
2875
  filename: string;
2874
2876
  originalFilename: string;
2875
2877
  }[] | undefined>;
2876
- createdAt: string;
2877
- createdBy: string;
2878
2878
  createdAtLocation: string;
2879
- metadata?: Record<string, string | number | boolean | {
2879
+ annotation?: Record<string, string | number | boolean | {
2880
2880
  type: string;
2881
2881
  filename: string;
2882
2882
  originalFilename: string;
@@ -2918,7 +2918,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2918
2918
  id: z.ZodString;
2919
2919
  createdAt: z.ZodString;
2920
2920
  createdBy: z.ZodString;
2921
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2921
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2922
2922
  filename: z.ZodString;
2923
2923
  originalFilename: z.ZodString;
2924
2924
  type: z.ZodString;
@@ -3032,7 +3032,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3032
3032
  addressLine3?: string | null | undefined;
3033
3033
  postcodeOrZip?: string | null | undefined;
3034
3034
  }>]>>;
3035
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3035
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3036
3036
  filename: z.ZodString;
3037
3037
  originalFilename: z.ZodString;
3038
3038
  type: z.ZodString;
@@ -3152,7 +3152,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3152
3152
  }>, "strip", z.ZodTypeAny, {
3153
3153
  type: "NOTIFY";
3154
3154
  id: string;
3155
- data: Record<string, string | number | boolean | {
3155
+ createdAt: string;
3156
+ createdBy: string;
3157
+ declaration: Record<string, string | number | boolean | {
3156
3158
  type: string;
3157
3159
  filename: string;
3158
3160
  originalFilename: string;
@@ -3190,10 +3192,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3190
3192
  filename: string;
3191
3193
  originalFilename: string;
3192
3194
  }[] | undefined>;
3193
- createdAt: string;
3194
- createdBy: string;
3195
3195
  createdAtLocation: string;
3196
- metadata?: Record<string, string | number | boolean | {
3196
+ annotation?: Record<string, string | number | boolean | {
3197
3197
  type: string;
3198
3198
  filename: string;
3199
3199
  originalFilename: string;
@@ -3234,7 +3234,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3234
3234
  }, {
3235
3235
  type: "NOTIFY";
3236
3236
  id: string;
3237
- data: Record<string, string | number | boolean | {
3237
+ createdAt: string;
3238
+ createdBy: string;
3239
+ declaration: Record<string, string | number | boolean | {
3238
3240
  type: string;
3239
3241
  filename: string;
3240
3242
  originalFilename: string;
@@ -3272,10 +3274,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3272
3274
  filename: string;
3273
3275
  originalFilename: string;
3274
3276
  }[] | undefined>;
3275
- createdAt: string;
3276
- createdBy: string;
3277
3277
  createdAtLocation: string;
3278
- metadata?: Record<string, string | number | boolean | {
3278
+ annotation?: Record<string, string | number | boolean | {
3279
3279
  type: string;
3280
3280
  filename: string;
3281
3281
  originalFilename: string;
@@ -3317,7 +3317,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3317
3317
  id: z.ZodString;
3318
3318
  createdAt: z.ZodString;
3319
3319
  createdBy: z.ZodString;
3320
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3320
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3321
3321
  filename: z.ZodString;
3322
3322
  originalFilename: z.ZodString;
3323
3323
  type: z.ZodString;
@@ -3431,7 +3431,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3431
3431
  addressLine3?: string | null | undefined;
3432
3432
  postcodeOrZip?: string | null | undefined;
3433
3433
  }>]>>;
3434
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3434
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3435
3435
  filename: z.ZodString;
3436
3436
  originalFilename: z.ZodString;
3437
3437
  type: z.ZodString;
@@ -3561,7 +3561,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3561
3561
  }>, "strip", z.ZodTypeAny, {
3562
3562
  type: "REGISTER";
3563
3563
  id: string;
3564
- data: Record<string, string | number | boolean | {
3564
+ createdAt: string;
3565
+ createdBy: string;
3566
+ declaration: Record<string, string | number | boolean | {
3565
3567
  type: string;
3566
3568
  filename: string;
3567
3569
  originalFilename: string;
@@ -3599,14 +3601,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3599
3601
  filename: string;
3600
3602
  originalFilename: string;
3601
3603
  }[] | undefined>;
3602
- createdAt: string;
3603
- createdBy: string;
3604
3604
  createdAtLocation: string;
3605
3605
  identifiers: {
3606
3606
  trackingId: string;
3607
3607
  registrationNumber: string;
3608
3608
  };
3609
- metadata?: Record<string, string | number | boolean | {
3609
+ annotation?: Record<string, string | number | boolean | {
3610
3610
  type: string;
3611
3611
  filename: string;
3612
3612
  originalFilename: string;
@@ -3647,7 +3647,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3647
3647
  }, {
3648
3648
  type: "REGISTER";
3649
3649
  id: string;
3650
- data: Record<string, string | number | boolean | {
3650
+ createdAt: string;
3651
+ createdBy: string;
3652
+ declaration: Record<string, string | number | boolean | {
3651
3653
  type: string;
3652
3654
  filename: string;
3653
3655
  originalFilename: string;
@@ -3685,14 +3687,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3685
3687
  filename: string;
3686
3688
  originalFilename: string;
3687
3689
  }[] | undefined>;
3688
- createdAt: string;
3689
- createdBy: string;
3690
3690
  createdAtLocation: string;
3691
3691
  identifiers: {
3692
3692
  trackingId: string;
3693
3693
  registrationNumber: string;
3694
3694
  };
3695
- metadata?: Record<string, string | number | boolean | {
3695
+ annotation?: Record<string, string | number | boolean | {
3696
3696
  type: string;
3697
3697
  filename: string;
3698
3698
  originalFilename: string;
@@ -3734,7 +3734,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3734
3734
  id: z.ZodString;
3735
3735
  createdAt: z.ZodString;
3736
3736
  createdBy: z.ZodString;
3737
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3737
+ declaration: 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;
@@ -3848,7 +3848,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3848
3848
  addressLine3?: string | null | undefined;
3849
3849
  postcodeOrZip?: string | null | undefined;
3850
3850
  }>]>>;
3851
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3851
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3852
3852
  filename: z.ZodString;
3853
3853
  originalFilename: z.ZodString;
3854
3854
  type: z.ZodString;
@@ -3968,7 +3968,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3968
3968
  }>, "strip", z.ZodTypeAny, {
3969
3969
  type: "DECLARE";
3970
3970
  id: string;
3971
- data: Record<string, string | number | boolean | {
3971
+ createdAt: string;
3972
+ createdBy: string;
3973
+ declaration: Record<string, string | number | boolean | {
3972
3974
  type: string;
3973
3975
  filename: string;
3974
3976
  originalFilename: string;
@@ -4006,10 +4008,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4006
4008
  filename: string;
4007
4009
  originalFilename: string;
4008
4010
  }[] | undefined>;
4009
- createdAt: string;
4010
- createdBy: string;
4011
4011
  createdAtLocation: string;
4012
- metadata?: Record<string, string | number | boolean | {
4012
+ annotation?: Record<string, string | number | boolean | {
4013
4013
  type: string;
4014
4014
  filename: string;
4015
4015
  originalFilename: string;
@@ -4050,7 +4050,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4050
4050
  }, {
4051
4051
  type: "DECLARE";
4052
4052
  id: string;
4053
- data: Record<string, string | number | boolean | {
4053
+ createdAt: string;
4054
+ createdBy: string;
4055
+ declaration: Record<string, string | number | boolean | {
4054
4056
  type: string;
4055
4057
  filename: string;
4056
4058
  originalFilename: string;
@@ -4088,10 +4090,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4088
4090
  filename: string;
4089
4091
  originalFilename: string;
4090
4092
  }[] | undefined>;
4091
- createdAt: string;
4092
- createdBy: string;
4093
4093
  createdAtLocation: string;
4094
- metadata?: Record<string, string | number | boolean | {
4094
+ annotation?: Record<string, string | number | boolean | {
4095
4095
  type: string;
4096
4096
  filename: string;
4097
4097
  originalFilename: string;
@@ -4133,7 +4133,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4133
4133
  id: z.ZodString;
4134
4134
  createdAt: z.ZodString;
4135
4135
  createdBy: z.ZodString;
4136
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4136
+ declaration: 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;
@@ -4247,7 +4247,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4247
4247
  addressLine3?: string | null | undefined;
4248
4248
  postcodeOrZip?: string | null | undefined;
4249
4249
  }>]>>;
4250
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4250
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4251
4251
  filename: z.ZodString;
4252
4252
  originalFilename: z.ZodString;
4253
4253
  type: z.ZodString;
@@ -4368,7 +4368,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4368
4368
  }>, "strip", z.ZodTypeAny, {
4369
4369
  type: "ASSIGN";
4370
4370
  id: string;
4371
- data: Record<string, string | number | boolean | {
4371
+ createdAt: string;
4372
+ createdBy: string;
4373
+ declaration: Record<string, string | number | boolean | {
4372
4374
  type: string;
4373
4375
  filename: string;
4374
4376
  originalFilename: string;
@@ -4406,11 +4408,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4406
4408
  filename: string;
4407
4409
  originalFilename: string;
4408
4410
  }[] | undefined>;
4409
- createdAt: string;
4410
- createdBy: string;
4411
4411
  createdAtLocation: string;
4412
4412
  assignedTo: string;
4413
- metadata?: Record<string, string | number | boolean | {
4413
+ annotation?: Record<string, string | number | boolean | {
4414
4414
  type: string;
4415
4415
  filename: string;
4416
4416
  originalFilename: string;
@@ -4451,7 +4451,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4451
4451
  }, {
4452
4452
  type: "ASSIGN";
4453
4453
  id: string;
4454
- data: Record<string, string | number | boolean | {
4454
+ createdAt: string;
4455
+ createdBy: string;
4456
+ declaration: Record<string, string | number | boolean | {
4455
4457
  type: string;
4456
4458
  filename: string;
4457
4459
  originalFilename: string;
@@ -4489,11 +4491,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4489
4491
  filename: string;
4490
4492
  originalFilename: string;
4491
4493
  }[] | undefined>;
4492
- createdAt: string;
4493
- createdBy: string;
4494
4494
  createdAtLocation: string;
4495
4495
  assignedTo: string;
4496
- metadata?: Record<string, string | number | boolean | {
4496
+ annotation?: Record<string, string | number | boolean | {
4497
4497
  type: string;
4498
4498
  filename: string;
4499
4499
  originalFilename: string;
@@ -4535,7 +4535,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4535
4535
  id: z.ZodString;
4536
4536
  createdAt: z.ZodString;
4537
4537
  createdBy: z.ZodString;
4538
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4538
+ declaration: 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;
@@ -4649,7 +4649,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4649
4649
  addressLine3?: string | null | undefined;
4650
4650
  postcodeOrZip?: string | null | undefined;
4651
4651
  }>]>>;
4652
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4652
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4653
4653
  filename: z.ZodString;
4654
4654
  originalFilename: z.ZodString;
4655
4655
  type: z.ZodString;
@@ -4769,7 +4769,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4769
4769
  }>, "strip", z.ZodTypeAny, {
4770
4770
  type: "REQUEST_CORRECTION";
4771
4771
  id: string;
4772
- data: Record<string, string | number | boolean | {
4772
+ createdAt: string;
4773
+ createdBy: string;
4774
+ declaration: Record<string, string | number | boolean | {
4773
4775
  type: string;
4774
4776
  filename: string;
4775
4777
  originalFilename: string;
@@ -4807,10 +4809,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4807
4809
  filename: string;
4808
4810
  originalFilename: string;
4809
4811
  }[] | undefined>;
4810
- createdAt: string;
4811
- createdBy: string;
4812
4812
  createdAtLocation: string;
4813
- metadata?: Record<string, string | number | boolean | {
4813
+ annotation?: Record<string, string | number | boolean | {
4814
4814
  type: string;
4815
4815
  filename: string;
4816
4816
  originalFilename: string;
@@ -4851,7 +4851,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4851
4851
  }, {
4852
4852
  type: "REQUEST_CORRECTION";
4853
4853
  id: string;
4854
- data: Record<string, string | number | boolean | {
4854
+ createdAt: string;
4855
+ createdBy: string;
4856
+ declaration: Record<string, string | number | boolean | {
4855
4857
  type: string;
4856
4858
  filename: string;
4857
4859
  originalFilename: string;
@@ -4889,10 +4891,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4889
4891
  filename: string;
4890
4892
  originalFilename: string;
4891
4893
  }[] | undefined>;
4892
- createdAt: string;
4893
- createdBy: string;
4894
4894
  createdAtLocation: string;
4895
- metadata?: Record<string, string | number | boolean | {
4895
+ annotation?: Record<string, string | number | boolean | {
4896
4896
  type: string;
4897
4897
  filename: string;
4898
4898
  originalFilename: string;
@@ -4934,7 +4934,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4934
4934
  id: z.ZodString;
4935
4935
  createdAt: z.ZodString;
4936
4936
  createdBy: z.ZodString;
4937
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4937
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4938
4938
  filename: z.ZodString;
4939
4939
  originalFilename: z.ZodString;
4940
4940
  type: z.ZodString;
@@ -5048,7 +5048,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5048
5048
  addressLine3?: string | null | undefined;
5049
5049
  postcodeOrZip?: string | null | undefined;
5050
5050
  }>]>>;
5051
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5051
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5052
5052
  filename: z.ZodString;
5053
5053
  originalFilename: z.ZodString;
5054
5054
  type: z.ZodString;
@@ -5169,7 +5169,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5169
5169
  }>, "strip", z.ZodTypeAny, {
5170
5170
  type: "APPROVE_CORRECTION";
5171
5171
  id: string;
5172
- data: Record<string, string | number | boolean | {
5172
+ createdAt: string;
5173
+ createdBy: string;
5174
+ declaration: Record<string, string | number | boolean | {
5173
5175
  type: string;
5174
5176
  filename: string;
5175
5177
  originalFilename: string;
@@ -5207,11 +5209,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5207
5209
  filename: string;
5208
5210
  originalFilename: string;
5209
5211
  }[] | undefined>;
5210
- createdAt: string;
5211
- createdBy: string;
5212
5212
  createdAtLocation: string;
5213
5213
  requestId: string;
5214
- metadata?: Record<string, string | number | boolean | {
5214
+ annotation?: Record<string, string | number | boolean | {
5215
5215
  type: string;
5216
5216
  filename: string;
5217
5217
  originalFilename: string;
@@ -5252,7 +5252,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5252
5252
  }, {
5253
5253
  type: "APPROVE_CORRECTION";
5254
5254
  id: string;
5255
- data: Record<string, string | number | boolean | {
5255
+ createdAt: string;
5256
+ createdBy: string;
5257
+ declaration: Record<string, string | number | boolean | {
5256
5258
  type: string;
5257
5259
  filename: string;
5258
5260
  originalFilename: string;
@@ -5290,11 +5292,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5290
5292
  filename: string;
5291
5293
  originalFilename: string;
5292
5294
  }[] | undefined>;
5293
- createdAt: string;
5294
- createdBy: string;
5295
5295
  createdAtLocation: string;
5296
5296
  requestId: string;
5297
- metadata?: Record<string, string | number | boolean | {
5297
+ annotation?: Record<string, string | number | boolean | {
5298
5298
  type: string;
5299
5299
  filename: string;
5300
5300
  originalFilename: string;
@@ -5336,7 +5336,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5336
5336
  id: z.ZodString;
5337
5337
  createdAt: z.ZodString;
5338
5338
  createdBy: z.ZodString;
5339
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5339
+ declaration: 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;
@@ -5450,7 +5450,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5450
5450
  addressLine3?: string | null | undefined;
5451
5451
  postcodeOrZip?: string | null | undefined;
5452
5452
  }>]>>;
5453
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5453
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5454
5454
  filename: z.ZodString;
5455
5455
  originalFilename: z.ZodString;
5456
5456
  type: z.ZodString;
@@ -5571,7 +5571,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5571
5571
  }>, "strip", z.ZodTypeAny, {
5572
5572
  type: "REJECT_CORRECTION";
5573
5573
  id: string;
5574
- data: Record<string, string | number | boolean | {
5574
+ createdAt: string;
5575
+ createdBy: string;
5576
+ declaration: Record<string, string | number | boolean | {
5575
5577
  type: string;
5576
5578
  filename: string;
5577
5579
  originalFilename: string;
@@ -5609,11 +5611,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5609
5611
  filename: string;
5610
5612
  originalFilename: string;
5611
5613
  }[] | undefined>;
5612
- createdAt: string;
5613
- createdBy: string;
5614
5614
  createdAtLocation: string;
5615
5615
  requestId: string;
5616
- metadata?: Record<string, string | number | boolean | {
5616
+ annotation?: Record<string, string | number | boolean | {
5617
5617
  type: string;
5618
5618
  filename: string;
5619
5619
  originalFilename: string;
@@ -5654,7 +5654,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5654
5654
  }, {
5655
5655
  type: "REJECT_CORRECTION";
5656
5656
  id: string;
5657
- data: Record<string, string | number | boolean | {
5657
+ createdAt: string;
5658
+ createdBy: string;
5659
+ declaration: Record<string, string | number | boolean | {
5658
5660
  type: string;
5659
5661
  filename: string;
5660
5662
  originalFilename: string;
@@ -5692,11 +5694,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5692
5694
  filename: string;
5693
5695
  originalFilename: string;
5694
5696
  }[] | undefined>;
5695
- createdAt: string;
5696
- createdBy: string;
5697
5697
  createdAtLocation: string;
5698
5698
  requestId: string;
5699
- metadata?: Record<string, string | number | boolean | {
5699
+ annotation?: Record<string, string | number | boolean | {
5700
5700
  type: string;
5701
5701
  filename: string;
5702
5702
  originalFilename: string;
@@ -5738,7 +5738,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5738
5738
  id: z.ZodString;
5739
5739
  createdAt: z.ZodString;
5740
5740
  createdBy: z.ZodString;
5741
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5741
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5742
5742
  filename: z.ZodString;
5743
5743
  originalFilename: z.ZodString;
5744
5744
  type: z.ZodString;
@@ -5852,7 +5852,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5852
5852
  addressLine3?: string | null | undefined;
5853
5853
  postcodeOrZip?: string | null | undefined;
5854
5854
  }>]>>;
5855
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5855
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5856
5856
  filename: z.ZodString;
5857
5857
  originalFilename: z.ZodString;
5858
5858
  type: z.ZodString;
@@ -5972,7 +5972,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5972
5972
  }>, "strip", z.ZodTypeAny, {
5973
5973
  type: "UNASSIGN";
5974
5974
  id: string;
5975
- data: Record<string, string | number | boolean | {
5975
+ createdAt: string;
5976
+ createdBy: string;
5977
+ declaration: Record<string, string | number | boolean | {
5976
5978
  type: string;
5977
5979
  filename: string;
5978
5980
  originalFilename: string;
@@ -6010,10 +6012,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6010
6012
  filename: string;
6011
6013
  originalFilename: string;
6012
6014
  }[] | undefined>;
6013
- createdAt: string;
6014
- createdBy: string;
6015
6015
  createdAtLocation: string;
6016
- metadata?: Record<string, string | number | boolean | {
6016
+ annotation?: Record<string, string | number | boolean | {
6017
6017
  type: string;
6018
6018
  filename: string;
6019
6019
  originalFilename: string;
@@ -6054,7 +6054,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6054
6054
  }, {
6055
6055
  type: "UNASSIGN";
6056
6056
  id: string;
6057
- data: Record<string, string | number | boolean | {
6057
+ createdAt: string;
6058
+ createdBy: string;
6059
+ declaration: Record<string, string | number | boolean | {
6058
6060
  type: string;
6059
6061
  filename: string;
6060
6062
  originalFilename: string;
@@ -6092,10 +6094,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6092
6094
  filename: string;
6093
6095
  originalFilename: string;
6094
6096
  }[] | undefined>;
6095
- createdAt: string;
6096
- createdBy: string;
6097
6097
  createdAtLocation: string;
6098
- metadata?: Record<string, string | number | boolean | {
6098
+ annotation?: Record<string, string | number | boolean | {
6099
6099
  type: string;
6100
6100
  filename: string;
6101
6101
  originalFilename: string;
@@ -6137,7 +6137,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6137
6137
  id: z.ZodString;
6138
6138
  createdAt: z.ZodString;
6139
6139
  createdBy: z.ZodString;
6140
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6140
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6141
6141
  filename: z.ZodString;
6142
6142
  originalFilename: z.ZodString;
6143
6143
  type: z.ZodString;
@@ -6251,7 +6251,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6251
6251
  addressLine3?: string | null | undefined;
6252
6252
  postcodeOrZip?: string | null | undefined;
6253
6253
  }>]>>;
6254
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6254
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6255
6255
  filename: z.ZodString;
6256
6256
  originalFilename: z.ZodString;
6257
6257
  type: z.ZodString;
@@ -6371,7 +6371,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6371
6371
  }>, "strip", z.ZodTypeAny, {
6372
6372
  type: "PRINT_CERTIFICATE";
6373
6373
  id: string;
6374
- data: Record<string, string | number | boolean | {
6374
+ createdAt: string;
6375
+ createdBy: string;
6376
+ declaration: Record<string, string | number | boolean | {
6375
6377
  type: string;
6376
6378
  filename: string;
6377
6379
  originalFilename: string;
@@ -6409,10 +6411,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6409
6411
  filename: string;
6410
6412
  originalFilename: string;
6411
6413
  }[] | undefined>;
6412
- createdAt: string;
6413
- createdBy: string;
6414
6414
  createdAtLocation: string;
6415
- metadata?: Record<string, string | number | boolean | {
6415
+ annotation?: Record<string, string | number | boolean | {
6416
6416
  type: string;
6417
6417
  filename: string;
6418
6418
  originalFilename: string;
@@ -6453,7 +6453,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6453
6453
  }, {
6454
6454
  type: "PRINT_CERTIFICATE";
6455
6455
  id: string;
6456
- data: Record<string, string | number | boolean | {
6456
+ createdAt: string;
6457
+ createdBy: string;
6458
+ declaration: Record<string, string | number | boolean | {
6457
6459
  type: string;
6458
6460
  filename: string;
6459
6461
  originalFilename: string;
@@ -6491,10 +6493,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6491
6493
  filename: string;
6492
6494
  originalFilename: string;
6493
6495
  }[] | undefined>;
6494
- createdAt: string;
6495
- createdBy: string;
6496
6496
  createdAtLocation: string;
6497
- metadata?: Record<string, string | number | boolean | {
6497
+ annotation?: Record<string, string | number | boolean | {
6498
6498
  type: string;
6499
6499
  filename: string;
6500
6500
  originalFilename: string;
@@ -6536,7 +6536,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6536
6536
  id: z.ZodString;
6537
6537
  createdAt: z.ZodString;
6538
6538
  createdBy: z.ZodString;
6539
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6539
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6540
6540
  filename: z.ZodString;
6541
6541
  originalFilename: z.ZodString;
6542
6542
  type: z.ZodString;
@@ -6650,7 +6650,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6650
6650
  addressLine3?: string | null | undefined;
6651
6651
  postcodeOrZip?: string | null | undefined;
6652
6652
  }>]>>;
6653
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6653
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6654
6654
  filename: z.ZodString;
6655
6655
  originalFilename: z.ZodString;
6656
6656
  type: z.ZodString;
@@ -6766,11 +6766,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6766
6766
  }>]>>>;
6767
6767
  createdAtLocation: z.ZodString;
6768
6768
  }, {
6769
- type: z.ZodLiteral<"CUSTOM">;
6769
+ type: z.ZodLiteral<"READ">;
6770
6770
  }>, "strip", z.ZodTypeAny, {
6771
- type: "CUSTOM";
6771
+ type: "READ";
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 ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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;
@@ -6850,9 +6850,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6850
6850
  originalFilename: string;
6851
6851
  }[] | undefined> | undefined;
6852
6852
  }, {
6853
- type: "CUSTOM";
6853
+ type: "READ";
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 ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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;