@opencrvs/toolkit 1.8.0-rc.fb4793a → 1.8.0-rc.fbb40d1

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.
@@ -247,6 +247,7 @@ export declare const ActionBase: z.ZodObject<{
247
247
  createdAt: z.ZodString;
248
248
  createdBy: z.ZodString;
249
249
  createdByRole: z.ZodString;
250
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
250
251
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
251
252
  filename: z.ZodString;
252
253
  originalFilename: z.ZodString;
@@ -361,7 +362,7 @@ export declare const ActionBase: z.ZodObject<{
361
362
  addressLine3?: string | null | undefined;
362
363
  postcodeOrZip?: string | null | undefined;
363
364
  }>]>>;
364
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
365
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
365
366
  filename: z.ZodString;
366
367
  originalFilename: z.ZodString;
367
368
  type: z.ZodString;
@@ -474,10 +475,9 @@ export declare const ActionBase: z.ZodObject<{
474
475
  addressLine2?: string | null | undefined;
475
476
  addressLine3?: string | null | undefined;
476
477
  postcodeOrZip?: string | null | undefined;
477
- }>]>>>;
478
- createdAtLocation: z.ZodString;
478
+ }>]>>>>;
479
479
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
480
- originalActionId: z.ZodOptional<z.ZodString>;
480
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
481
481
  }, "strip", z.ZodTypeAny, {
482
482
  id: string;
483
483
  status: "Rejected" | "Requested" | "Accepted";
@@ -523,7 +523,7 @@ export declare const ActionBase: z.ZodObject<{
523
523
  filename: string;
524
524
  originalFilename: string;
525
525
  }[] | [string, string] | undefined>;
526
- createdAtLocation: string;
526
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
527
527
  annotation?: Record<string, string | number | boolean | {
528
528
  type: string;
529
529
  filename: string;
@@ -561,8 +561,8 @@ export declare const ActionBase: z.ZodObject<{
561
561
  option: string;
562
562
  filename: string;
563
563
  originalFilename: string;
564
- }[] | [string, string] | undefined> | undefined;
565
- originalActionId?: string | undefined;
564
+ }[] | [string, string] | undefined> | null | undefined;
565
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
566
566
  }, {
567
567
  id: string;
568
568
  status: "Rejected" | "Requested" | "Accepted";
@@ -608,7 +608,7 @@ export declare const ActionBase: z.ZodObject<{
608
608
  filename: string;
609
609
  originalFilename: string;
610
610
  }[] | [string, string] | undefined>;
611
- createdAtLocation: string;
611
+ createdAtLocation?: string | null | undefined;
612
612
  annotation?: Record<string, string | number | boolean | {
613
613
  type: string;
614
614
  filename: string;
@@ -646,8 +646,8 @@ export declare const ActionBase: z.ZodObject<{
646
646
  option: string;
647
647
  filename: string;
648
648
  originalFilename: string;
649
- }[] | [string, string] | undefined> | undefined;
650
- originalActionId?: string | undefined;
649
+ }[] | [string, string] | undefined> | null | undefined;
650
+ originalActionId?: string | null | undefined;
651
651
  }>;
652
652
  export type ActionBase = z.infer<typeof ActionBase>;
653
653
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
@@ -656,6 +656,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
656
656
  createdAt: z.ZodString;
657
657
  createdBy: z.ZodString;
658
658
  createdByRole: z.ZodString;
659
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
659
660
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
660
661
  filename: z.ZodString;
661
662
  originalFilename: z.ZodString;
@@ -770,7 +771,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
770
771
  addressLine3?: string | null | undefined;
771
772
  postcodeOrZip?: string | null | undefined;
772
773
  }>]>>;
773
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
774
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
774
775
  filename: z.ZodString;
775
776
  originalFilename: z.ZodString;
776
777
  type: z.ZodString;
@@ -883,10 +884,9 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
883
884
  addressLine2?: string | null | undefined;
884
885
  addressLine3?: string | null | undefined;
885
886
  postcodeOrZip?: string | null | undefined;
886
- }>]>>>;
887
- createdAtLocation: z.ZodString;
887
+ }>]>>>>;
888
888
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
889
- originalActionId: z.ZodOptional<z.ZodString>;
889
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
890
890
  }, {
891
891
  type: z.ZodLiteral<"REGISTER">;
892
892
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -936,7 +936,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
936
936
  filename: string;
937
937
  originalFilename: string;
938
938
  }[] | [string, string] | undefined>;
939
- createdAtLocation: string;
939
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
940
940
  annotation?: Record<string, string | number | boolean | {
941
941
  type: string;
942
942
  filename: string;
@@ -974,8 +974,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
974
974
  option: string;
975
975
  filename: string;
976
976
  originalFilename: string;
977
- }[] | [string, string] | undefined> | undefined;
978
- originalActionId?: string | undefined;
977
+ }[] | [string, string] | undefined> | null | undefined;
978
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
979
979
  registrationNumber?: string | undefined;
980
980
  }, {
981
981
  type: "REGISTER";
@@ -1023,7 +1023,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1023
1023
  filename: string;
1024
1024
  originalFilename: string;
1025
1025
  }[] | [string, string] | undefined>;
1026
- createdAtLocation: string;
1026
+ createdAtLocation?: string | null | undefined;
1027
1027
  annotation?: Record<string, string | number | boolean | {
1028
1028
  type: string;
1029
1029
  filename: string;
@@ -1061,17 +1061,28 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1061
1061
  option: string;
1062
1062
  filename: string;
1063
1063
  originalFilename: string;
1064
- }[] | [string, string] | undefined> | undefined;
1065
- originalActionId?: string | undefined;
1064
+ }[] | [string, string] | undefined> | null | undefined;
1065
+ originalActionId?: string | null | undefined;
1066
1066
  registrationNumber?: string | undefined;
1067
1067
  }>;
1068
1068
  export type RegisterAction = z.infer<typeof RegisterAction>;
1069
+ export declare const RejectionReason: z.ZodObject<{
1070
+ message: z.ZodString;
1071
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ message: string;
1074
+ isDuplicate?: boolean | undefined;
1075
+ }, {
1076
+ message: string;
1077
+ isDuplicate?: boolean | undefined;
1078
+ }>;
1069
1079
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1070
1080
  id: z.ZodString;
1071
1081
  transactionId: z.ZodString;
1072
1082
  createdAt: z.ZodString;
1073
1083
  createdBy: z.ZodString;
1074
1084
  createdByRole: z.ZodString;
1085
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1075
1086
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1076
1087
  filename: z.ZodString;
1077
1088
  originalFilename: z.ZodString;
@@ -1186,7 +1197,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1186
1197
  addressLine3?: string | null | undefined;
1187
1198
  postcodeOrZip?: string | null | undefined;
1188
1199
  }>]>>;
1189
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1200
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1190
1201
  filename: z.ZodString;
1191
1202
  originalFilename: z.ZodString;
1192
1203
  type: z.ZodString;
@@ -1299,10 +1310,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1299
1310
  addressLine2?: string | null | undefined;
1300
1311
  addressLine3?: string | null | undefined;
1301
1312
  postcodeOrZip?: string | null | undefined;
1302
- }>]>>>;
1303
- createdAtLocation: z.ZodString;
1313
+ }>]>>>>;
1304
1314
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1305
- originalActionId: z.ZodOptional<z.ZodString>;
1315
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1306
1316
  }, {
1307
1317
  type: z.ZodLiteral<"CREATE">;
1308
1318
  }>, "strip", z.ZodTypeAny, {
@@ -1351,7 +1361,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1351
1361
  filename: string;
1352
1362
  originalFilename: string;
1353
1363
  }[] | [string, string] | undefined>;
1354
- createdAtLocation: string;
1364
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1355
1365
  annotation?: Record<string, string | number | boolean | {
1356
1366
  type: string;
1357
1367
  filename: string;
@@ -1389,8 +1399,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1389
1399
  option: string;
1390
1400
  filename: string;
1391
1401
  originalFilename: string;
1392
- }[] | [string, string] | undefined> | undefined;
1393
- originalActionId?: string | undefined;
1402
+ }[] | [string, string] | undefined> | null | undefined;
1403
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1394
1404
  }, {
1395
1405
  type: "CREATE";
1396
1406
  id: string;
@@ -1437,7 +1447,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1437
1447
  filename: string;
1438
1448
  originalFilename: string;
1439
1449
  }[] | [string, string] | undefined>;
1440
- createdAtLocation: string;
1450
+ createdAtLocation?: string | null | undefined;
1441
1451
  annotation?: Record<string, string | number | boolean | {
1442
1452
  type: string;
1443
1453
  filename: string;
@@ -1475,8 +1485,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1475
1485
  option: string;
1476
1486
  filename: string;
1477
1487
  originalFilename: string;
1478
- }[] | [string, string] | undefined> | undefined;
1479
- originalActionId?: string | undefined;
1488
+ }[] | [string, string] | undefined> | null | undefined;
1489
+ originalActionId?: string | null | undefined;
1480
1490
  }>;
1481
1491
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1482
1492
  id: z.ZodString;
@@ -1484,6 +1494,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1484
1494
  createdAt: z.ZodString;
1485
1495
  createdBy: z.ZodString;
1486
1496
  createdByRole: z.ZodString;
1497
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1487
1498
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1488
1499
  filename: z.ZodString;
1489
1500
  originalFilename: z.ZodString;
@@ -1598,7 +1609,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1598
1609
  addressLine3?: string | null | undefined;
1599
1610
  postcodeOrZip?: string | null | undefined;
1600
1611
  }>]>>;
1601
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1612
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1602
1613
  filename: z.ZodString;
1603
1614
  originalFilename: z.ZodString;
1604
1615
  type: z.ZodString;
@@ -1711,10 +1722,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1711
1722
  addressLine2?: string | null | undefined;
1712
1723
  addressLine3?: string | null | undefined;
1713
1724
  postcodeOrZip?: string | null | undefined;
1714
- }>]>>>;
1715
- createdAtLocation: z.ZodString;
1725
+ }>]>>>>;
1716
1726
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1717
- originalActionId: z.ZodOptional<z.ZodString>;
1727
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1718
1728
  }, {
1719
1729
  type: z.ZodLiteral<"CREATE">;
1720
1730
  }>, "strip", z.ZodTypeAny, {
@@ -1763,7 +1773,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1763
1773
  filename: string;
1764
1774
  originalFilename: string;
1765
1775
  }[] | [string, string] | undefined>;
1766
- createdAtLocation: string;
1776
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1767
1777
  annotation?: Record<string, string | number | boolean | {
1768
1778
  type: string;
1769
1779
  filename: string;
@@ -1801,8 +1811,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1801
1811
  option: string;
1802
1812
  filename: string;
1803
1813
  originalFilename: string;
1804
- }[] | [string, string] | undefined> | undefined;
1805
- originalActionId?: string | undefined;
1814
+ }[] | [string, string] | undefined> | null | undefined;
1815
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1806
1816
  }, {
1807
1817
  type: "CREATE";
1808
1818
  id: string;
@@ -1849,7 +1859,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1849
1859
  filename: string;
1850
1860
  originalFilename: string;
1851
1861
  }[] | [string, string] | undefined>;
1852
- createdAtLocation: string;
1862
+ createdAtLocation?: string | null | undefined;
1853
1863
  annotation?: Record<string, string | number | boolean | {
1854
1864
  type: string;
1855
1865
  filename: string;
@@ -1887,14 +1897,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1887
1897
  option: string;
1888
1898
  filename: string;
1889
1899
  originalFilename: string;
1890
- }[] | [string, string] | undefined> | undefined;
1891
- originalActionId?: string | undefined;
1900
+ }[] | [string, string] | undefined> | null | undefined;
1901
+ originalActionId?: string | null | undefined;
1892
1902
  }>, z.ZodObject<z.objectUtil.extendShape<{
1893
1903
  id: z.ZodString;
1894
1904
  transactionId: z.ZodString;
1895
1905
  createdAt: z.ZodString;
1896
1906
  createdBy: z.ZodString;
1897
1907
  createdByRole: z.ZodString;
1908
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1898
1909
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1899
1910
  filename: z.ZodString;
1900
1911
  originalFilename: z.ZodString;
@@ -2009,7 +2020,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2009
2020
  addressLine3?: string | null | undefined;
2010
2021
  postcodeOrZip?: string | null | undefined;
2011
2022
  }>]>>;
2012
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2023
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2013
2024
  filename: z.ZodString;
2014
2025
  originalFilename: z.ZodString;
2015
2026
  type: z.ZodString;
@@ -2122,10 +2133,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2122
2133
  addressLine2?: string | null | undefined;
2123
2134
  addressLine3?: string | null | undefined;
2124
2135
  postcodeOrZip?: string | null | undefined;
2125
- }>]>>>;
2126
- createdAtLocation: z.ZodString;
2136
+ }>]>>>>;
2127
2137
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2128
- originalActionId: z.ZodOptional<z.ZodString>;
2138
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2129
2139
  }, {
2130
2140
  type: z.ZodLiteral<"VALIDATE">;
2131
2141
  }>, "strip", z.ZodTypeAny, {
@@ -2174,7 +2184,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2174
2184
  filename: string;
2175
2185
  originalFilename: string;
2176
2186
  }[] | [string, string] | undefined>;
2177
- createdAtLocation: string;
2187
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2178
2188
  annotation?: Record<string, string | number | boolean | {
2179
2189
  type: string;
2180
2190
  filename: string;
@@ -2212,8 +2222,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2212
2222
  option: string;
2213
2223
  filename: string;
2214
2224
  originalFilename: string;
2215
- }[] | [string, string] | undefined> | undefined;
2216
- originalActionId?: string | undefined;
2225
+ }[] | [string, string] | undefined> | null | undefined;
2226
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2217
2227
  }, {
2218
2228
  type: "VALIDATE";
2219
2229
  id: string;
@@ -2260,7 +2270,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2260
2270
  filename: string;
2261
2271
  originalFilename: string;
2262
2272
  }[] | [string, string] | undefined>;
2263
- createdAtLocation: string;
2273
+ createdAtLocation?: string | null | undefined;
2264
2274
  annotation?: Record<string, string | number | boolean | {
2265
2275
  type: string;
2266
2276
  filename: string;
@@ -2298,14 +2308,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2298
2308
  option: string;
2299
2309
  filename: string;
2300
2310
  originalFilename: string;
2301
- }[] | [string, string] | undefined> | undefined;
2302
- originalActionId?: string | undefined;
2311
+ }[] | [string, string] | undefined> | null | undefined;
2312
+ originalActionId?: string | null | undefined;
2303
2313
  }>, z.ZodObject<z.objectUtil.extendShape<{
2304
2314
  id: z.ZodString;
2305
2315
  transactionId: z.ZodString;
2306
2316
  createdAt: z.ZodString;
2307
2317
  createdBy: z.ZodString;
2308
2318
  createdByRole: z.ZodString;
2319
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2309
2320
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2310
2321
  filename: z.ZodString;
2311
2322
  originalFilename: z.ZodString;
@@ -2420,7 +2431,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2420
2431
  addressLine3?: string | null | undefined;
2421
2432
  postcodeOrZip?: string | null | undefined;
2422
2433
  }>]>>;
2423
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2434
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2424
2435
  filename: z.ZodString;
2425
2436
  originalFilename: z.ZodString;
2426
2437
  type: z.ZodString;
@@ -2533,16 +2544,29 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2533
2544
  addressLine2?: string | null | undefined;
2534
2545
  addressLine3?: string | null | undefined;
2535
2546
  postcodeOrZip?: string | null | undefined;
2536
- }>]>>>;
2537
- createdAtLocation: z.ZodString;
2547
+ }>]>>>>;
2538
2548
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2539
- originalActionId: z.ZodOptional<z.ZodString>;
2549
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2540
2550
  }, {
2541
2551
  type: z.ZodLiteral<"REJECT">;
2552
+ reason: z.ZodObject<{
2553
+ message: z.ZodString;
2554
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2555
+ }, "strip", z.ZodTypeAny, {
2556
+ message: string;
2557
+ isDuplicate?: boolean | undefined;
2558
+ }, {
2559
+ message: string;
2560
+ isDuplicate?: boolean | undefined;
2561
+ }>;
2542
2562
  }>, "strip", z.ZodTypeAny, {
2543
2563
  type: "REJECT";
2544
2564
  id: string;
2545
2565
  status: "Rejected" | "Requested" | "Accepted";
2566
+ reason: {
2567
+ message: string;
2568
+ isDuplicate?: boolean | undefined;
2569
+ };
2546
2570
  transactionId: string;
2547
2571
  createdAt: string;
2548
2572
  createdBy: string;
@@ -2585,7 +2609,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2585
2609
  filename: string;
2586
2610
  originalFilename: string;
2587
2611
  }[] | [string, string] | undefined>;
2588
- createdAtLocation: string;
2612
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2589
2613
  annotation?: Record<string, string | number | boolean | {
2590
2614
  type: string;
2591
2615
  filename: string;
@@ -2623,12 +2647,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2623
2647
  option: string;
2624
2648
  filename: string;
2625
2649
  originalFilename: string;
2626
- }[] | [string, string] | undefined> | undefined;
2627
- originalActionId?: string | undefined;
2650
+ }[] | [string, string] | undefined> | null | undefined;
2651
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2628
2652
  }, {
2629
2653
  type: "REJECT";
2630
2654
  id: string;
2631
2655
  status: "Rejected" | "Requested" | "Accepted";
2656
+ reason: {
2657
+ message: string;
2658
+ isDuplicate?: boolean | undefined;
2659
+ };
2632
2660
  transactionId: string;
2633
2661
  createdAt: string;
2634
2662
  createdBy: string;
@@ -2671,7 +2699,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2671
2699
  filename: string;
2672
2700
  originalFilename: string;
2673
2701
  }[] | [string, string] | undefined>;
2674
- createdAtLocation: string;
2702
+ createdAtLocation?: string | null | undefined;
2675
2703
  annotation?: Record<string, string | number | boolean | {
2676
2704
  type: string;
2677
2705
  filename: string;
@@ -2709,14 +2737,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2709
2737
  option: string;
2710
2738
  filename: string;
2711
2739
  originalFilename: string;
2712
- }[] | [string, string] | undefined> | undefined;
2713
- originalActionId?: string | undefined;
2740
+ }[] | [string, string] | undefined> | null | undefined;
2741
+ originalActionId?: string | null | undefined;
2714
2742
  }>, z.ZodObject<z.objectUtil.extendShape<{
2715
2743
  id: z.ZodString;
2716
2744
  transactionId: z.ZodString;
2717
2745
  createdAt: z.ZodString;
2718
2746
  createdBy: z.ZodString;
2719
2747
  createdByRole: z.ZodString;
2748
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2720
2749
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2721
2750
  filename: z.ZodString;
2722
2751
  originalFilename: z.ZodString;
@@ -2831,7 +2860,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2831
2860
  addressLine3?: string | null | undefined;
2832
2861
  postcodeOrZip?: string | null | undefined;
2833
2862
  }>]>>;
2834
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2863
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2835
2864
  filename: z.ZodString;
2836
2865
  originalFilename: z.ZodString;
2837
2866
  type: z.ZodString;
@@ -2944,10 +2973,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2944
2973
  addressLine2?: string | null | undefined;
2945
2974
  addressLine3?: string | null | undefined;
2946
2975
  postcodeOrZip?: string | null | undefined;
2947
- }>]>>>;
2948
- createdAtLocation: z.ZodString;
2976
+ }>]>>>>;
2949
2977
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2950
- originalActionId: z.ZodOptional<z.ZodString>;
2978
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2951
2979
  }, {
2952
2980
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
2953
2981
  }>, "strip", z.ZodTypeAny, {
@@ -2996,7 +3024,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2996
3024
  filename: string;
2997
3025
  originalFilename: string;
2998
3026
  }[] | [string, string] | undefined>;
2999
- createdAtLocation: string;
3027
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3000
3028
  annotation?: Record<string, string | number | boolean | {
3001
3029
  type: string;
3002
3030
  filename: string;
@@ -3034,8 +3062,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3034
3062
  option: string;
3035
3063
  filename: string;
3036
3064
  originalFilename: string;
3037
- }[] | [string, string] | undefined> | undefined;
3038
- originalActionId?: string | undefined;
3065
+ }[] | [string, string] | undefined> | null | undefined;
3066
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3039
3067
  }, {
3040
3068
  type: "MARKED_AS_DUPLICATE";
3041
3069
  id: string;
@@ -3082,7 +3110,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3082
3110
  filename: string;
3083
3111
  originalFilename: string;
3084
3112
  }[] | [string, string] | undefined>;
3085
- createdAtLocation: string;
3113
+ createdAtLocation?: string | null | undefined;
3086
3114
  annotation?: Record<string, string | number | boolean | {
3087
3115
  type: string;
3088
3116
  filename: string;
@@ -3120,14 +3148,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3120
3148
  option: string;
3121
3149
  filename: string;
3122
3150
  originalFilename: string;
3123
- }[] | [string, string] | undefined> | undefined;
3124
- originalActionId?: string | undefined;
3151
+ }[] | [string, string] | undefined> | null | undefined;
3152
+ originalActionId?: string | null | undefined;
3125
3153
  }>, z.ZodObject<z.objectUtil.extendShape<{
3126
3154
  id: z.ZodString;
3127
3155
  transactionId: z.ZodString;
3128
3156
  createdAt: z.ZodString;
3129
3157
  createdBy: z.ZodString;
3130
3158
  createdByRole: z.ZodString;
3159
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3131
3160
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3132
3161
  filename: z.ZodString;
3133
3162
  originalFilename: z.ZodString;
@@ -3242,7 +3271,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3242
3271
  addressLine3?: string | null | undefined;
3243
3272
  postcodeOrZip?: string | null | undefined;
3244
3273
  }>]>>;
3245
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3274
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3246
3275
  filename: z.ZodString;
3247
3276
  originalFilename: z.ZodString;
3248
3277
  type: z.ZodString;
@@ -3355,16 +3384,29 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3355
3384
  addressLine2?: string | null | undefined;
3356
3385
  addressLine3?: string | null | undefined;
3357
3386
  postcodeOrZip?: string | null | undefined;
3358
- }>]>>>;
3359
- createdAtLocation: z.ZodString;
3387
+ }>]>>>>;
3360
3388
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3361
- originalActionId: z.ZodOptional<z.ZodString>;
3389
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3362
3390
  }, {
3363
3391
  type: z.ZodLiteral<"ARCHIVE">;
3392
+ reason: z.ZodObject<{
3393
+ message: z.ZodString;
3394
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3395
+ }, "strip", z.ZodTypeAny, {
3396
+ message: string;
3397
+ isDuplicate?: boolean | undefined;
3398
+ }, {
3399
+ message: string;
3400
+ isDuplicate?: boolean | undefined;
3401
+ }>;
3364
3402
  }>, "strip", z.ZodTypeAny, {
3365
3403
  type: "ARCHIVE";
3366
3404
  id: string;
3367
3405
  status: "Rejected" | "Requested" | "Accepted";
3406
+ reason: {
3407
+ message: string;
3408
+ isDuplicate?: boolean | undefined;
3409
+ };
3368
3410
  transactionId: string;
3369
3411
  createdAt: string;
3370
3412
  createdBy: string;
@@ -3407,7 +3449,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3407
3449
  filename: string;
3408
3450
  originalFilename: string;
3409
3451
  }[] | [string, string] | undefined>;
3410
- createdAtLocation: string;
3452
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3411
3453
  annotation?: Record<string, string | number | boolean | {
3412
3454
  type: string;
3413
3455
  filename: string;
@@ -3445,12 +3487,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3445
3487
  option: string;
3446
3488
  filename: string;
3447
3489
  originalFilename: string;
3448
- }[] | [string, string] | undefined> | undefined;
3449
- originalActionId?: string | undefined;
3490
+ }[] | [string, string] | undefined> | null | undefined;
3491
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3450
3492
  }, {
3451
3493
  type: "ARCHIVE";
3452
3494
  id: string;
3453
3495
  status: "Rejected" | "Requested" | "Accepted";
3496
+ reason: {
3497
+ message: string;
3498
+ isDuplicate?: boolean | undefined;
3499
+ };
3454
3500
  transactionId: string;
3455
3501
  createdAt: string;
3456
3502
  createdBy: string;
@@ -3493,7 +3539,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3493
3539
  filename: string;
3494
3540
  originalFilename: string;
3495
3541
  }[] | [string, string] | undefined>;
3496
- createdAtLocation: string;
3542
+ createdAtLocation?: string | null | undefined;
3497
3543
  annotation?: Record<string, string | number | boolean | {
3498
3544
  type: string;
3499
3545
  filename: string;
@@ -3531,14 +3577,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3531
3577
  option: string;
3532
3578
  filename: string;
3533
3579
  originalFilename: string;
3534
- }[] | [string, string] | undefined> | undefined;
3535
- originalActionId?: string | undefined;
3580
+ }[] | [string, string] | undefined> | null | undefined;
3581
+ originalActionId?: string | null | undefined;
3536
3582
  }>, z.ZodObject<z.objectUtil.extendShape<{
3537
3583
  id: z.ZodString;
3538
3584
  transactionId: z.ZodString;
3539
3585
  createdAt: z.ZodString;
3540
3586
  createdBy: z.ZodString;
3541
3587
  createdByRole: z.ZodString;
3588
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3542
3589
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3543
3590
  filename: z.ZodString;
3544
3591
  originalFilename: z.ZodString;
@@ -3653,7 +3700,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3653
3700
  addressLine3?: string | null | undefined;
3654
3701
  postcodeOrZip?: string | null | undefined;
3655
3702
  }>]>>;
3656
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3703
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3657
3704
  filename: z.ZodString;
3658
3705
  originalFilename: z.ZodString;
3659
3706
  type: z.ZodString;
@@ -3766,10 +3813,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3766
3813
  addressLine2?: string | null | undefined;
3767
3814
  addressLine3?: string | null | undefined;
3768
3815
  postcodeOrZip?: string | null | undefined;
3769
- }>]>>>;
3770
- createdAtLocation: z.ZodString;
3816
+ }>]>>>>;
3771
3817
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3772
- originalActionId: z.ZodOptional<z.ZodString>;
3818
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3773
3819
  }, {
3774
3820
  type: z.ZodLiteral<"NOTIFY">;
3775
3821
  }>, "strip", z.ZodTypeAny, {
@@ -3818,7 +3864,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3818
3864
  filename: string;
3819
3865
  originalFilename: string;
3820
3866
  }[] | [string, string] | undefined>;
3821
- createdAtLocation: string;
3867
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3822
3868
  annotation?: Record<string, string | number | boolean | {
3823
3869
  type: string;
3824
3870
  filename: string;
@@ -3856,8 +3902,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3856
3902
  option: string;
3857
3903
  filename: string;
3858
3904
  originalFilename: string;
3859
- }[] | [string, string] | undefined> | undefined;
3860
- originalActionId?: string | undefined;
3905
+ }[] | [string, string] | undefined> | null | undefined;
3906
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3861
3907
  }, {
3862
3908
  type: "NOTIFY";
3863
3909
  id: string;
@@ -3904,7 +3950,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3904
3950
  filename: string;
3905
3951
  originalFilename: string;
3906
3952
  }[] | [string, string] | undefined>;
3907
- createdAtLocation: string;
3953
+ createdAtLocation?: string | null | undefined;
3908
3954
  annotation?: Record<string, string | number | boolean | {
3909
3955
  type: string;
3910
3956
  filename: string;
@@ -3942,14 +3988,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3942
3988
  option: string;
3943
3989
  filename: string;
3944
3990
  originalFilename: string;
3945
- }[] | [string, string] | undefined> | undefined;
3946
- originalActionId?: string | undefined;
3991
+ }[] | [string, string] | undefined> | null | undefined;
3992
+ originalActionId?: string | null | undefined;
3947
3993
  }>, z.ZodObject<z.objectUtil.extendShape<{
3948
3994
  id: z.ZodString;
3949
3995
  transactionId: z.ZodString;
3950
3996
  createdAt: z.ZodString;
3951
3997
  createdBy: z.ZodString;
3952
3998
  createdByRole: z.ZodString;
3999
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3953
4000
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3954
4001
  filename: z.ZodString;
3955
4002
  originalFilename: z.ZodString;
@@ -4064,7 +4111,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4064
4111
  addressLine3?: string | null | undefined;
4065
4112
  postcodeOrZip?: string | null | undefined;
4066
4113
  }>]>>;
4067
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4114
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4068
4115
  filename: z.ZodString;
4069
4116
  originalFilename: z.ZodString;
4070
4117
  type: z.ZodString;
@@ -4177,10 +4224,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4177
4224
  addressLine2?: string | null | undefined;
4178
4225
  addressLine3?: string | null | undefined;
4179
4226
  postcodeOrZip?: string | null | undefined;
4180
- }>]>>>;
4181
- createdAtLocation: z.ZodString;
4227
+ }>]>>>>;
4182
4228
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4183
- originalActionId: z.ZodOptional<z.ZodString>;
4229
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4184
4230
  }, {
4185
4231
  type: z.ZodLiteral<"REGISTER">;
4186
4232
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -4230,7 +4276,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4230
4276
  filename: string;
4231
4277
  originalFilename: string;
4232
4278
  }[] | [string, string] | undefined>;
4233
- createdAtLocation: string;
4279
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4234
4280
  annotation?: Record<string, string | number | boolean | {
4235
4281
  type: string;
4236
4282
  filename: string;
@@ -4268,8 +4314,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4268
4314
  option: string;
4269
4315
  filename: string;
4270
4316
  originalFilename: string;
4271
- }[] | [string, string] | undefined> | undefined;
4272
- originalActionId?: string | undefined;
4317
+ }[] | [string, string] | undefined> | null | undefined;
4318
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4273
4319
  registrationNumber?: string | undefined;
4274
4320
  }, {
4275
4321
  type: "REGISTER";
@@ -4317,7 +4363,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4317
4363
  filename: string;
4318
4364
  originalFilename: string;
4319
4365
  }[] | [string, string] | undefined>;
4320
- createdAtLocation: string;
4366
+ createdAtLocation?: string | null | undefined;
4321
4367
  annotation?: Record<string, string | number | boolean | {
4322
4368
  type: string;
4323
4369
  filename: string;
@@ -4355,8 +4401,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4355
4401
  option: string;
4356
4402
  filename: string;
4357
4403
  originalFilename: string;
4358
- }[] | [string, string] | undefined> | undefined;
4359
- originalActionId?: string | undefined;
4404
+ }[] | [string, string] | undefined> | null | undefined;
4405
+ originalActionId?: string | null | undefined;
4360
4406
  registrationNumber?: string | undefined;
4361
4407
  }>, z.ZodObject<z.objectUtil.extendShape<{
4362
4408
  id: z.ZodString;
@@ -4364,6 +4410,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4364
4410
  createdAt: z.ZodString;
4365
4411
  createdBy: z.ZodString;
4366
4412
  createdByRole: z.ZodString;
4413
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4367
4414
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4368
4415
  filename: z.ZodString;
4369
4416
  originalFilename: z.ZodString;
@@ -4478,7 +4525,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4478
4525
  addressLine3?: string | null | undefined;
4479
4526
  postcodeOrZip?: string | null | undefined;
4480
4527
  }>]>>;
4481
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4528
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4482
4529
  filename: z.ZodString;
4483
4530
  originalFilename: z.ZodString;
4484
4531
  type: z.ZodString;
@@ -4591,10 +4638,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4591
4638
  addressLine2?: string | null | undefined;
4592
4639
  addressLine3?: string | null | undefined;
4593
4640
  postcodeOrZip?: string | null | undefined;
4594
- }>]>>>;
4595
- createdAtLocation: z.ZodString;
4641
+ }>]>>>>;
4596
4642
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4597
- originalActionId: z.ZodOptional<z.ZodString>;
4643
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4598
4644
  }, {
4599
4645
  type: z.ZodLiteral<"DECLARE">;
4600
4646
  }>, "strip", z.ZodTypeAny, {
@@ -4643,7 +4689,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4643
4689
  filename: string;
4644
4690
  originalFilename: string;
4645
4691
  }[] | [string, string] | undefined>;
4646
- createdAtLocation: string;
4692
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4647
4693
  annotation?: Record<string, string | number | boolean | {
4648
4694
  type: string;
4649
4695
  filename: string;
@@ -4681,8 +4727,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4681
4727
  option: string;
4682
4728
  filename: string;
4683
4729
  originalFilename: string;
4684
- }[] | [string, string] | undefined> | undefined;
4685
- originalActionId?: string | undefined;
4730
+ }[] | [string, string] | undefined> | null | undefined;
4731
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4686
4732
  }, {
4687
4733
  type: "DECLARE";
4688
4734
  id: string;
@@ -4729,7 +4775,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4729
4775
  filename: string;
4730
4776
  originalFilename: string;
4731
4777
  }[] | [string, string] | undefined>;
4732
- createdAtLocation: string;
4778
+ createdAtLocation?: string | null | undefined;
4733
4779
  annotation?: Record<string, string | number | boolean | {
4734
4780
  type: string;
4735
4781
  filename: string;
@@ -4767,14 +4813,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4767
4813
  option: string;
4768
4814
  filename: string;
4769
4815
  originalFilename: string;
4770
- }[] | [string, string] | undefined> | undefined;
4771
- originalActionId?: string | undefined;
4816
+ }[] | [string, string] | undefined> | null | undefined;
4817
+ originalActionId?: string | null | undefined;
4772
4818
  }>, z.ZodObject<z.objectUtil.extendShape<{
4773
4819
  id: z.ZodString;
4774
4820
  transactionId: z.ZodString;
4775
4821
  createdAt: z.ZodString;
4776
4822
  createdBy: z.ZodString;
4777
4823
  createdByRole: z.ZodString;
4824
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4778
4825
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4779
4826
  filename: z.ZodString;
4780
4827
  originalFilename: z.ZodString;
@@ -4889,7 +4936,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4889
4936
  addressLine3?: string | null | undefined;
4890
4937
  postcodeOrZip?: string | null | undefined;
4891
4938
  }>]>>;
4892
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4939
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4893
4940
  filename: z.ZodString;
4894
4941
  originalFilename: z.ZodString;
4895
4942
  type: z.ZodString;
@@ -5002,10 +5049,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5002
5049
  addressLine2?: string | null | undefined;
5003
5050
  addressLine3?: string | null | undefined;
5004
5051
  postcodeOrZip?: string | null | undefined;
5005
- }>]>>>;
5006
- createdAtLocation: z.ZodString;
5052
+ }>]>>>>;
5007
5053
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5008
- originalActionId: z.ZodOptional<z.ZodString>;
5054
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5009
5055
  }, {
5010
5056
  type: z.ZodLiteral<"ASSIGN">;
5011
5057
  assignedTo: z.ZodString;
@@ -5055,8 +5101,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5055
5101
  filename: string;
5056
5102
  originalFilename: string;
5057
5103
  }[] | [string, string] | undefined>;
5058
- createdAtLocation: string;
5059
5104
  assignedTo: string;
5105
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5060
5106
  annotation?: Record<string, string | number | boolean | {
5061
5107
  type: string;
5062
5108
  filename: string;
@@ -5094,8 +5140,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5094
5140
  option: string;
5095
5141
  filename: string;
5096
5142
  originalFilename: string;
5097
- }[] | [string, string] | undefined> | undefined;
5098
- originalActionId?: string | undefined;
5143
+ }[] | [string, string] | undefined> | null | undefined;
5144
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5099
5145
  }, {
5100
5146
  type: "ASSIGN";
5101
5147
  id: string;
@@ -5142,8 +5188,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5142
5188
  filename: string;
5143
5189
  originalFilename: string;
5144
5190
  }[] | [string, string] | undefined>;
5145
- createdAtLocation: string;
5146
5191
  assignedTo: string;
5192
+ createdAtLocation?: string | null | undefined;
5147
5193
  annotation?: Record<string, string | number | boolean | {
5148
5194
  type: string;
5149
5195
  filename: string;
@@ -5181,14 +5227,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5181
5227
  option: string;
5182
5228
  filename: string;
5183
5229
  originalFilename: string;
5184
- }[] | [string, string] | undefined> | undefined;
5185
- originalActionId?: string | undefined;
5230
+ }[] | [string, string] | undefined> | null | undefined;
5231
+ originalActionId?: string | null | undefined;
5186
5232
  }>, z.ZodObject<z.objectUtil.extendShape<{
5187
5233
  id: z.ZodString;
5188
5234
  transactionId: z.ZodString;
5189
5235
  createdAt: z.ZodString;
5190
5236
  createdBy: z.ZodString;
5191
5237
  createdByRole: z.ZodString;
5238
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5192
5239
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5193
5240
  filename: z.ZodString;
5194
5241
  originalFilename: z.ZodString;
@@ -5303,7 +5350,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5303
5350
  addressLine3?: string | null | undefined;
5304
5351
  postcodeOrZip?: string | null | undefined;
5305
5352
  }>]>>;
5306
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5353
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5307
5354
  filename: z.ZodString;
5308
5355
  originalFilename: z.ZodString;
5309
5356
  type: z.ZodString;
@@ -5416,10 +5463,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5416
5463
  addressLine2?: string | null | undefined;
5417
5464
  addressLine3?: string | null | undefined;
5418
5465
  postcodeOrZip?: string | null | undefined;
5419
- }>]>>>;
5420
- createdAtLocation: z.ZodString;
5466
+ }>]>>>>;
5421
5467
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5422
- originalActionId: z.ZodOptional<z.ZodString>;
5468
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5423
5469
  }, {
5424
5470
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
5425
5471
  }>, "strip", z.ZodTypeAny, {
@@ -5468,7 +5514,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5468
5514
  filename: string;
5469
5515
  originalFilename: string;
5470
5516
  }[] | [string, string] | undefined>;
5471
- createdAtLocation: string;
5517
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5472
5518
  annotation?: Record<string, string | number | boolean | {
5473
5519
  type: string;
5474
5520
  filename: string;
@@ -5506,8 +5552,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5506
5552
  option: string;
5507
5553
  filename: string;
5508
5554
  originalFilename: string;
5509
- }[] | [string, string] | undefined> | undefined;
5510
- originalActionId?: string | undefined;
5555
+ }[] | [string, string] | undefined> | null | undefined;
5556
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5511
5557
  }, {
5512
5558
  type: "REQUEST_CORRECTION";
5513
5559
  id: string;
@@ -5554,7 +5600,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5554
5600
  filename: string;
5555
5601
  originalFilename: string;
5556
5602
  }[] | [string, string] | undefined>;
5557
- createdAtLocation: string;
5603
+ createdAtLocation?: string | null | undefined;
5558
5604
  annotation?: Record<string, string | number | boolean | {
5559
5605
  type: string;
5560
5606
  filename: string;
@@ -5592,14 +5638,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5592
5638
  option: string;
5593
5639
  filename: string;
5594
5640
  originalFilename: string;
5595
- }[] | [string, string] | undefined> | undefined;
5596
- originalActionId?: string | undefined;
5641
+ }[] | [string, string] | undefined> | null | undefined;
5642
+ originalActionId?: string | null | undefined;
5597
5643
  }>, z.ZodObject<z.objectUtil.extendShape<{
5598
5644
  id: z.ZodString;
5599
5645
  transactionId: z.ZodString;
5600
5646
  createdAt: z.ZodString;
5601
5647
  createdBy: z.ZodString;
5602
5648
  createdByRole: z.ZodString;
5649
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5603
5650
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5604
5651
  filename: z.ZodString;
5605
5652
  originalFilename: z.ZodString;
@@ -5714,7 +5761,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5714
5761
  addressLine3?: string | null | undefined;
5715
5762
  postcodeOrZip?: string | null | undefined;
5716
5763
  }>]>>;
5717
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5764
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5718
5765
  filename: z.ZodString;
5719
5766
  originalFilename: z.ZodString;
5720
5767
  type: z.ZodString;
@@ -5827,10 +5874,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5827
5874
  addressLine2?: string | null | undefined;
5828
5875
  addressLine3?: string | null | undefined;
5829
5876
  postcodeOrZip?: string | null | undefined;
5830
- }>]>>>;
5831
- createdAtLocation: z.ZodString;
5877
+ }>]>>>>;
5832
5878
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5833
- originalActionId: z.ZodOptional<z.ZodString>;
5879
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5834
5880
  }, {
5835
5881
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
5836
5882
  requestId: z.ZodString;
@@ -5880,8 +5926,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5880
5926
  filename: string;
5881
5927
  originalFilename: string;
5882
5928
  }[] | [string, string] | undefined>;
5883
- createdAtLocation: string;
5884
5929
  requestId: string;
5930
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5885
5931
  annotation?: Record<string, string | number | boolean | {
5886
5932
  type: string;
5887
5933
  filename: string;
@@ -5919,8 +5965,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5919
5965
  option: string;
5920
5966
  filename: string;
5921
5967
  originalFilename: string;
5922
- }[] | [string, string] | undefined> | undefined;
5923
- originalActionId?: string | undefined;
5968
+ }[] | [string, string] | undefined> | null | undefined;
5969
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5924
5970
  }, {
5925
5971
  type: "APPROVE_CORRECTION";
5926
5972
  id: string;
@@ -5967,8 +6013,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5967
6013
  filename: string;
5968
6014
  originalFilename: string;
5969
6015
  }[] | [string, string] | undefined>;
5970
- createdAtLocation: string;
5971
6016
  requestId: string;
6017
+ createdAtLocation?: string | null | undefined;
5972
6018
  annotation?: Record<string, string | number | boolean | {
5973
6019
  type: string;
5974
6020
  filename: string;
@@ -6006,14 +6052,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6006
6052
  option: string;
6007
6053
  filename: string;
6008
6054
  originalFilename: string;
6009
- }[] | [string, string] | undefined> | undefined;
6010
- originalActionId?: string | undefined;
6055
+ }[] | [string, string] | undefined> | null | undefined;
6056
+ originalActionId?: string | null | undefined;
6011
6057
  }>, z.ZodObject<z.objectUtil.extendShape<{
6012
6058
  id: z.ZodString;
6013
6059
  transactionId: z.ZodString;
6014
6060
  createdAt: z.ZodString;
6015
6061
  createdBy: z.ZodString;
6016
6062
  createdByRole: z.ZodString;
6063
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6017
6064
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6018
6065
  filename: z.ZodString;
6019
6066
  originalFilename: z.ZodString;
@@ -6128,7 +6175,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6128
6175
  addressLine3?: string | null | undefined;
6129
6176
  postcodeOrZip?: string | null | undefined;
6130
6177
  }>]>>;
6131
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6178
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6132
6179
  filename: z.ZodString;
6133
6180
  originalFilename: z.ZodString;
6134
6181
  type: z.ZodString;
@@ -6241,10 +6288,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6241
6288
  addressLine2?: string | null | undefined;
6242
6289
  addressLine3?: string | null | undefined;
6243
6290
  postcodeOrZip?: string | null | undefined;
6244
- }>]>>>;
6245
- createdAtLocation: z.ZodString;
6291
+ }>]>>>>;
6246
6292
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6247
- originalActionId: z.ZodOptional<z.ZodString>;
6293
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6248
6294
  }, {
6249
6295
  type: z.ZodLiteral<"REJECT_CORRECTION">;
6250
6296
  requestId: z.ZodString;
@@ -6294,8 +6340,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6294
6340
  filename: string;
6295
6341
  originalFilename: string;
6296
6342
  }[] | [string, string] | undefined>;
6297
- createdAtLocation: string;
6298
6343
  requestId: string;
6344
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6299
6345
  annotation?: Record<string, string | number | boolean | {
6300
6346
  type: string;
6301
6347
  filename: string;
@@ -6333,8 +6379,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6333
6379
  option: string;
6334
6380
  filename: string;
6335
6381
  originalFilename: string;
6336
- }[] | [string, string] | undefined> | undefined;
6337
- originalActionId?: string | undefined;
6382
+ }[] | [string, string] | undefined> | null | undefined;
6383
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6338
6384
  }, {
6339
6385
  type: "REJECT_CORRECTION";
6340
6386
  id: string;
@@ -6381,8 +6427,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6381
6427
  filename: string;
6382
6428
  originalFilename: string;
6383
6429
  }[] | [string, string] | undefined>;
6384
- createdAtLocation: string;
6385
6430
  requestId: string;
6431
+ createdAtLocation?: string | null | undefined;
6386
6432
  annotation?: Record<string, string | number | boolean | {
6387
6433
  type: string;
6388
6434
  filename: string;
@@ -6420,14 +6466,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6420
6466
  option: string;
6421
6467
  filename: string;
6422
6468
  originalFilename: string;
6423
- }[] | [string, string] | undefined> | undefined;
6424
- originalActionId?: string | undefined;
6469
+ }[] | [string, string] | undefined> | null | undefined;
6470
+ originalActionId?: string | null | undefined;
6425
6471
  }>, z.ZodObject<z.objectUtil.extendShape<{
6426
6472
  id: z.ZodString;
6427
6473
  transactionId: z.ZodString;
6428
6474
  createdAt: z.ZodString;
6429
6475
  createdBy: z.ZodString;
6430
6476
  createdByRole: z.ZodString;
6477
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6431
6478
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6432
6479
  filename: z.ZodString;
6433
6480
  originalFilename: z.ZodString;
@@ -6542,7 +6589,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6542
6589
  addressLine3?: string | null | undefined;
6543
6590
  postcodeOrZip?: string | null | undefined;
6544
6591
  }>]>>;
6545
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6592
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6546
6593
  filename: z.ZodString;
6547
6594
  originalFilename: z.ZodString;
6548
6595
  type: z.ZodString;
@@ -6655,10 +6702,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6655
6702
  addressLine2?: string | null | undefined;
6656
6703
  addressLine3?: string | null | undefined;
6657
6704
  postcodeOrZip?: string | null | undefined;
6658
- }>]>>>;
6659
- createdAtLocation: z.ZodString;
6705
+ }>]>>>>;
6660
6706
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6661
- originalActionId: z.ZodOptional<z.ZodString>;
6707
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6662
6708
  }, {
6663
6709
  type: z.ZodLiteral<"UNASSIGN">;
6664
6710
  assignedTo: z.ZodLiteral<null>;
@@ -6708,8 +6754,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6708
6754
  filename: string;
6709
6755
  originalFilename: string;
6710
6756
  }[] | [string, string] | undefined>;
6711
- createdAtLocation: string;
6712
6757
  assignedTo: null;
6758
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6713
6759
  annotation?: Record<string, string | number | boolean | {
6714
6760
  type: string;
6715
6761
  filename: string;
@@ -6747,8 +6793,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6747
6793
  option: string;
6748
6794
  filename: string;
6749
6795
  originalFilename: string;
6750
- }[] | [string, string] | undefined> | undefined;
6751
- originalActionId?: string | undefined;
6796
+ }[] | [string, string] | undefined> | null | undefined;
6797
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6752
6798
  }, {
6753
6799
  type: "UNASSIGN";
6754
6800
  id: string;
@@ -6795,8 +6841,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6795
6841
  filename: string;
6796
6842
  originalFilename: string;
6797
6843
  }[] | [string, string] | undefined>;
6798
- createdAtLocation: string;
6799
6844
  assignedTo: null;
6845
+ createdAtLocation?: string | null | undefined;
6800
6846
  annotation?: Record<string, string | number | boolean | {
6801
6847
  type: string;
6802
6848
  filename: string;
@@ -6834,14 +6880,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6834
6880
  option: string;
6835
6881
  filename: string;
6836
6882
  originalFilename: string;
6837
- }[] | [string, string] | undefined> | undefined;
6838
- originalActionId?: string | undefined;
6883
+ }[] | [string, string] | undefined> | null | undefined;
6884
+ originalActionId?: string | null | undefined;
6839
6885
  }>, z.ZodObject<z.objectUtil.extendShape<{
6840
6886
  id: z.ZodString;
6841
6887
  transactionId: z.ZodString;
6842
6888
  createdAt: z.ZodString;
6843
6889
  createdBy: z.ZodString;
6844
6890
  createdByRole: z.ZodString;
6891
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6845
6892
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6846
6893
  filename: z.ZodString;
6847
6894
  originalFilename: z.ZodString;
@@ -6956,7 +7003,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6956
7003
  addressLine3?: string | null | undefined;
6957
7004
  postcodeOrZip?: string | null | undefined;
6958
7005
  }>]>>;
6959
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7006
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6960
7007
  filename: z.ZodString;
6961
7008
  originalFilename: z.ZodString;
6962
7009
  type: z.ZodString;
@@ -7069,10 +7116,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7069
7116
  addressLine2?: string | null | undefined;
7070
7117
  addressLine3?: string | null | undefined;
7071
7118
  postcodeOrZip?: string | null | undefined;
7072
- }>]>>>;
7073
- createdAtLocation: z.ZodString;
7119
+ }>]>>>>;
7074
7120
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7075
- originalActionId: z.ZodOptional<z.ZodString>;
7121
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7076
7122
  }, {
7077
7123
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
7078
7124
  }>, "strip", z.ZodTypeAny, {
@@ -7121,7 +7167,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7121
7167
  filename: string;
7122
7168
  originalFilename: string;
7123
7169
  }[] | [string, string] | undefined>;
7124
- createdAtLocation: string;
7170
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7125
7171
  annotation?: Record<string, string | number | boolean | {
7126
7172
  type: string;
7127
7173
  filename: string;
@@ -7159,8 +7205,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7159
7205
  option: string;
7160
7206
  filename: string;
7161
7207
  originalFilename: string;
7162
- }[] | [string, string] | undefined> | undefined;
7163
- originalActionId?: string | undefined;
7208
+ }[] | [string, string] | undefined> | null | undefined;
7209
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7164
7210
  }, {
7165
7211
  type: "PRINT_CERTIFICATE";
7166
7212
  id: string;
@@ -7207,7 +7253,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7207
7253
  filename: string;
7208
7254
  originalFilename: string;
7209
7255
  }[] | [string, string] | undefined>;
7210
- createdAtLocation: string;
7256
+ createdAtLocation?: string | null | undefined;
7211
7257
  annotation?: Record<string, string | number | boolean | {
7212
7258
  type: string;
7213
7259
  filename: string;
@@ -7245,14 +7291,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7245
7291
  option: string;
7246
7292
  filename: string;
7247
7293
  originalFilename: string;
7248
- }[] | [string, string] | undefined> | undefined;
7249
- originalActionId?: string | undefined;
7294
+ }[] | [string, string] | undefined> | null | undefined;
7295
+ originalActionId?: string | null | undefined;
7250
7296
  }>, z.ZodObject<z.objectUtil.extendShape<{
7251
7297
  id: z.ZodString;
7252
7298
  transactionId: z.ZodString;
7253
7299
  createdAt: z.ZodString;
7254
7300
  createdBy: z.ZodString;
7255
7301
  createdByRole: z.ZodString;
7302
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7256
7303
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7257
7304
  filename: z.ZodString;
7258
7305
  originalFilename: z.ZodString;
@@ -7367,7 +7414,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7367
7414
  addressLine3?: string | null | undefined;
7368
7415
  postcodeOrZip?: string | null | undefined;
7369
7416
  }>]>>;
7370
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7417
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7371
7418
  filename: z.ZodString;
7372
7419
  originalFilename: z.ZodString;
7373
7420
  type: z.ZodString;
@@ -7480,10 +7527,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7480
7527
  addressLine2?: string | null | undefined;
7481
7528
  addressLine3?: string | null | undefined;
7482
7529
  postcodeOrZip?: string | null | undefined;
7483
- }>]>>>;
7484
- createdAtLocation: z.ZodString;
7530
+ }>]>>>>;
7485
7531
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7486
- originalActionId: z.ZodOptional<z.ZodString>;
7532
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7487
7533
  }, {
7488
7534
  type: z.ZodLiteral<"READ">;
7489
7535
  }>, "strip", z.ZodTypeAny, {
@@ -7532,7 +7578,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7532
7578
  filename: string;
7533
7579
  originalFilename: string;
7534
7580
  }[] | [string, string] | undefined>;
7535
- createdAtLocation: string;
7581
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7536
7582
  annotation?: Record<string, string | number | boolean | {
7537
7583
  type: string;
7538
7584
  filename: string;
@@ -7570,8 +7616,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7570
7616
  option: string;
7571
7617
  filename: string;
7572
7618
  originalFilename: string;
7573
- }[] | [string, string] | undefined> | undefined;
7574
- originalActionId?: string | undefined;
7619
+ }[] | [string, string] | undefined> | null | undefined;
7620
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7575
7621
  }, {
7576
7622
  type: "READ";
7577
7623
  id: string;
@@ -7618,7 +7664,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7618
7664
  filename: string;
7619
7665
  originalFilename: string;
7620
7666
  }[] | [string, string] | undefined>;
7621
- createdAtLocation: string;
7667
+ createdAtLocation?: string | null | undefined;
7622
7668
  annotation?: Record<string, string | number | boolean | {
7623
7669
  type: string;
7624
7670
  filename: string;
@@ -7656,8 +7702,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7656
7702
  option: string;
7657
7703
  filename: string;
7658
7704
  originalFilename: string;
7659
- }[] | [string, string] | undefined> | undefined;
7660
- originalActionId?: string | undefined;
7705
+ }[] | [string, string] | undefined> | null | undefined;
7706
+ originalActionId?: string | null | undefined;
7661
7707
  }>]>;
7662
7708
  export type ActionDocument = z.infer<typeof ActionDocument>;
7663
7709
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -7666,6 +7712,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7666
7712
  createdAt: z.ZodString;
7667
7713
  createdBy: z.ZodString;
7668
7714
  createdByRole: z.ZodString;
7715
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7669
7716
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7670
7717
  filename: z.ZodString;
7671
7718
  originalFilename: z.ZodString;
@@ -7780,7 +7827,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7780
7827
  addressLine3?: string | null | undefined;
7781
7828
  postcodeOrZip?: string | null | undefined;
7782
7829
  }>]>>;
7783
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7830
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7784
7831
  filename: z.ZodString;
7785
7832
  originalFilename: z.ZodString;
7786
7833
  type: z.ZodString;
@@ -7893,10 +7940,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7893
7940
  addressLine2?: string | null | undefined;
7894
7941
  addressLine3?: string | null | undefined;
7895
7942
  postcodeOrZip?: string | null | undefined;
7896
- }>]>>>;
7897
- createdAtLocation: z.ZodString;
7943
+ }>]>>>>;
7898
7944
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7899
- originalActionId: z.ZodOptional<z.ZodString>;
7945
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7900
7946
  }, "declaration" | "annotation">, {
7901
7947
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7902
7948
  status: z.ZodLiteral<"Rejected">;
@@ -7908,8 +7954,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7908
7954
  createdAt: string;
7909
7955
  createdBy: string;
7910
7956
  createdByRole: string;
7911
- createdAtLocation: string;
7912
- originalActionId?: string | undefined;
7957
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7958
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7913
7959
  }, {
7914
7960
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7915
7961
  id: string;
@@ -7918,8 +7964,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7918
7964
  createdAt: string;
7919
7965
  createdBy: string;
7920
7966
  createdByRole: string;
7921
- createdAtLocation: string;
7922
- originalActionId?: string | undefined;
7967
+ createdAtLocation?: string | null | undefined;
7968
+ originalActionId?: string | null | undefined;
7923
7969
  }>;
7924
7970
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
7925
7971
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
@@ -7928,6 +7974,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7928
7974
  createdAt: z.ZodString;
7929
7975
  createdBy: z.ZodString;
7930
7976
  createdByRole: z.ZodString;
7977
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7931
7978
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7932
7979
  filename: z.ZodString;
7933
7980
  originalFilename: z.ZodString;
@@ -8042,7 +8089,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8042
8089
  addressLine3?: string | null | undefined;
8043
8090
  postcodeOrZip?: string | null | undefined;
8044
8091
  }>]>>;
8045
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8092
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8046
8093
  filename: z.ZodString;
8047
8094
  originalFilename: z.ZodString;
8048
8095
  type: z.ZodString;
@@ -8155,10 +8202,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8155
8202
  addressLine2?: string | null | undefined;
8156
8203
  addressLine3?: string | null | undefined;
8157
8204
  postcodeOrZip?: string | null | undefined;
8158
- }>]>>>;
8159
- createdAtLocation: z.ZodString;
8205
+ }>]>>>>;
8160
8206
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8161
- originalActionId: z.ZodOptional<z.ZodString>;
8207
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8162
8208
  }, {
8163
8209
  type: z.ZodLiteral<"CREATE">;
8164
8210
  }>, "strip", z.ZodTypeAny, {
@@ -8207,7 +8253,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8207
8253
  filename: string;
8208
8254
  originalFilename: string;
8209
8255
  }[] | [string, string] | undefined>;
8210
- createdAtLocation: string;
8256
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8211
8257
  annotation?: Record<string, string | number | boolean | {
8212
8258
  type: string;
8213
8259
  filename: string;
@@ -8245,8 +8291,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8245
8291
  option: string;
8246
8292
  filename: string;
8247
8293
  originalFilename: string;
8248
- }[] | [string, string] | undefined> | undefined;
8249
- originalActionId?: string | undefined;
8294
+ }[] | [string, string] | undefined> | null | undefined;
8295
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8250
8296
  }, {
8251
8297
  type: "CREATE";
8252
8298
  id: string;
@@ -8293,7 +8339,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8293
8339
  filename: string;
8294
8340
  originalFilename: string;
8295
8341
  }[] | [string, string] | undefined>;
8296
- createdAtLocation: string;
8342
+ createdAtLocation?: string | null | undefined;
8297
8343
  annotation?: Record<string, string | number | boolean | {
8298
8344
  type: string;
8299
8345
  filename: string;
@@ -8331,14 +8377,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8331
8377
  option: string;
8332
8378
  filename: string;
8333
8379
  originalFilename: string;
8334
- }[] | [string, string] | undefined> | undefined;
8335
- originalActionId?: string | undefined;
8380
+ }[] | [string, string] | undefined> | null | undefined;
8381
+ originalActionId?: string | null | undefined;
8336
8382
  }>, z.ZodObject<z.objectUtil.extendShape<{
8337
8383
  id: z.ZodString;
8338
8384
  transactionId: z.ZodString;
8339
8385
  createdAt: z.ZodString;
8340
8386
  createdBy: z.ZodString;
8341
8387
  createdByRole: z.ZodString;
8388
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8342
8389
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8343
8390
  filename: z.ZodString;
8344
8391
  originalFilename: z.ZodString;
@@ -8453,7 +8500,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8453
8500
  addressLine3?: string | null | undefined;
8454
8501
  postcodeOrZip?: string | null | undefined;
8455
8502
  }>]>>;
8456
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8503
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8457
8504
  filename: z.ZodString;
8458
8505
  originalFilename: z.ZodString;
8459
8506
  type: z.ZodString;
@@ -8566,10 +8613,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8566
8613
  addressLine2?: string | null | undefined;
8567
8614
  addressLine3?: string | null | undefined;
8568
8615
  postcodeOrZip?: string | null | undefined;
8569
- }>]>>>;
8570
- createdAtLocation: z.ZodString;
8616
+ }>]>>>>;
8571
8617
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8572
- originalActionId: z.ZodOptional<z.ZodString>;
8618
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8573
8619
  }, {
8574
8620
  type: z.ZodLiteral<"VALIDATE">;
8575
8621
  }>, "strip", z.ZodTypeAny, {
@@ -8618,7 +8664,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8618
8664
  filename: string;
8619
8665
  originalFilename: string;
8620
8666
  }[] | [string, string] | undefined>;
8621
- createdAtLocation: string;
8667
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8622
8668
  annotation?: Record<string, string | number | boolean | {
8623
8669
  type: string;
8624
8670
  filename: string;
@@ -8656,8 +8702,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8656
8702
  option: string;
8657
8703
  filename: string;
8658
8704
  originalFilename: string;
8659
- }[] | [string, string] | undefined> | undefined;
8660
- originalActionId?: string | undefined;
8705
+ }[] | [string, string] | undefined> | null | undefined;
8706
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8661
8707
  }, {
8662
8708
  type: "VALIDATE";
8663
8709
  id: string;
@@ -8704,7 +8750,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8704
8750
  filename: string;
8705
8751
  originalFilename: string;
8706
8752
  }[] | [string, string] | undefined>;
8707
- createdAtLocation: string;
8753
+ createdAtLocation?: string | null | undefined;
8708
8754
  annotation?: Record<string, string | number | boolean | {
8709
8755
  type: string;
8710
8756
  filename: string;
@@ -8742,14 +8788,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8742
8788
  option: string;
8743
8789
  filename: string;
8744
8790
  originalFilename: string;
8745
- }[] | [string, string] | undefined> | undefined;
8746
- originalActionId?: string | undefined;
8791
+ }[] | [string, string] | undefined> | null | undefined;
8792
+ originalActionId?: string | null | undefined;
8747
8793
  }>, z.ZodObject<z.objectUtil.extendShape<{
8748
8794
  id: z.ZodString;
8749
8795
  transactionId: z.ZodString;
8750
8796
  createdAt: z.ZodString;
8751
8797
  createdBy: z.ZodString;
8752
8798
  createdByRole: z.ZodString;
8799
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8753
8800
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8754
8801
  filename: z.ZodString;
8755
8802
  originalFilename: z.ZodString;
@@ -8864,7 +8911,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8864
8911
  addressLine3?: string | null | undefined;
8865
8912
  postcodeOrZip?: string | null | undefined;
8866
8913
  }>]>>;
8867
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8914
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8868
8915
  filename: z.ZodString;
8869
8916
  originalFilename: z.ZodString;
8870
8917
  type: z.ZodString;
@@ -8977,16 +9024,29 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8977
9024
  addressLine2?: string | null | undefined;
8978
9025
  addressLine3?: string | null | undefined;
8979
9026
  postcodeOrZip?: string | null | undefined;
8980
- }>]>>>;
8981
- createdAtLocation: z.ZodString;
9027
+ }>]>>>>;
8982
9028
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8983
- originalActionId: z.ZodOptional<z.ZodString>;
9029
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8984
9030
  }, {
8985
9031
  type: z.ZodLiteral<"REJECT">;
9032
+ reason: z.ZodObject<{
9033
+ message: z.ZodString;
9034
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9035
+ }, "strip", z.ZodTypeAny, {
9036
+ message: string;
9037
+ isDuplicate?: boolean | undefined;
9038
+ }, {
9039
+ message: string;
9040
+ isDuplicate?: boolean | undefined;
9041
+ }>;
8986
9042
  }>, "strip", z.ZodTypeAny, {
8987
9043
  type: "REJECT";
8988
9044
  id: string;
8989
9045
  status: "Rejected" | "Requested" | "Accepted";
9046
+ reason: {
9047
+ message: string;
9048
+ isDuplicate?: boolean | undefined;
9049
+ };
8990
9050
  transactionId: string;
8991
9051
  createdAt: string;
8992
9052
  createdBy: string;
@@ -9029,7 +9089,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9029
9089
  filename: string;
9030
9090
  originalFilename: string;
9031
9091
  }[] | [string, string] | undefined>;
9032
- createdAtLocation: string;
9092
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9033
9093
  annotation?: Record<string, string | number | boolean | {
9034
9094
  type: string;
9035
9095
  filename: string;
@@ -9067,12 +9127,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9067
9127
  option: string;
9068
9128
  filename: string;
9069
9129
  originalFilename: string;
9070
- }[] | [string, string] | undefined> | undefined;
9071
- originalActionId?: string | undefined;
9130
+ }[] | [string, string] | undefined> | null | undefined;
9131
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9072
9132
  }, {
9073
9133
  type: "REJECT";
9074
9134
  id: string;
9075
9135
  status: "Rejected" | "Requested" | "Accepted";
9136
+ reason: {
9137
+ message: string;
9138
+ isDuplicate?: boolean | undefined;
9139
+ };
9076
9140
  transactionId: string;
9077
9141
  createdAt: string;
9078
9142
  createdBy: string;
@@ -9115,7 +9179,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9115
9179
  filename: string;
9116
9180
  originalFilename: string;
9117
9181
  }[] | [string, string] | undefined>;
9118
- createdAtLocation: string;
9182
+ createdAtLocation?: string | null | undefined;
9119
9183
  annotation?: Record<string, string | number | boolean | {
9120
9184
  type: string;
9121
9185
  filename: string;
@@ -9153,14 +9217,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9153
9217
  option: string;
9154
9218
  filename: string;
9155
9219
  originalFilename: string;
9156
- }[] | [string, string] | undefined> | undefined;
9157
- originalActionId?: string | undefined;
9220
+ }[] | [string, string] | undefined> | null | undefined;
9221
+ originalActionId?: string | null | undefined;
9158
9222
  }>, z.ZodObject<z.objectUtil.extendShape<{
9159
9223
  id: z.ZodString;
9160
9224
  transactionId: z.ZodString;
9161
9225
  createdAt: z.ZodString;
9162
9226
  createdBy: z.ZodString;
9163
9227
  createdByRole: z.ZodString;
9228
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9164
9229
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9165
9230
  filename: z.ZodString;
9166
9231
  originalFilename: z.ZodString;
@@ -9275,7 +9340,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9275
9340
  addressLine3?: string | null | undefined;
9276
9341
  postcodeOrZip?: string | null | undefined;
9277
9342
  }>]>>;
9278
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9343
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9279
9344
  filename: z.ZodString;
9280
9345
  originalFilename: z.ZodString;
9281
9346
  type: z.ZodString;
@@ -9388,10 +9453,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9388
9453
  addressLine2?: string | null | undefined;
9389
9454
  addressLine3?: string | null | undefined;
9390
9455
  postcodeOrZip?: string | null | undefined;
9391
- }>]>>>;
9392
- createdAtLocation: z.ZodString;
9456
+ }>]>>>>;
9393
9457
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9394
- originalActionId: z.ZodOptional<z.ZodString>;
9458
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9395
9459
  }, {
9396
9460
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
9397
9461
  }>, "strip", z.ZodTypeAny, {
@@ -9440,7 +9504,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9440
9504
  filename: string;
9441
9505
  originalFilename: string;
9442
9506
  }[] | [string, string] | undefined>;
9443
- createdAtLocation: string;
9507
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9444
9508
  annotation?: Record<string, string | number | boolean | {
9445
9509
  type: string;
9446
9510
  filename: string;
@@ -9478,8 +9542,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9478
9542
  option: string;
9479
9543
  filename: string;
9480
9544
  originalFilename: string;
9481
- }[] | [string, string] | undefined> | undefined;
9482
- originalActionId?: string | undefined;
9545
+ }[] | [string, string] | undefined> | null | undefined;
9546
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9483
9547
  }, {
9484
9548
  type: "MARKED_AS_DUPLICATE";
9485
9549
  id: string;
@@ -9526,7 +9590,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9526
9590
  filename: string;
9527
9591
  originalFilename: string;
9528
9592
  }[] | [string, string] | undefined>;
9529
- createdAtLocation: string;
9593
+ createdAtLocation?: string | null | undefined;
9530
9594
  annotation?: Record<string, string | number | boolean | {
9531
9595
  type: string;
9532
9596
  filename: string;
@@ -9564,14 +9628,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9564
9628
  option: string;
9565
9629
  filename: string;
9566
9630
  originalFilename: string;
9567
- }[] | [string, string] | undefined> | undefined;
9568
- originalActionId?: string | undefined;
9631
+ }[] | [string, string] | undefined> | null | undefined;
9632
+ originalActionId?: string | null | undefined;
9569
9633
  }>, z.ZodObject<z.objectUtil.extendShape<{
9570
9634
  id: z.ZodString;
9571
9635
  transactionId: z.ZodString;
9572
9636
  createdAt: z.ZodString;
9573
9637
  createdBy: z.ZodString;
9574
9638
  createdByRole: z.ZodString;
9639
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9575
9640
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9576
9641
  filename: z.ZodString;
9577
9642
  originalFilename: z.ZodString;
@@ -9686,7 +9751,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9686
9751
  addressLine3?: string | null | undefined;
9687
9752
  postcodeOrZip?: string | null | undefined;
9688
9753
  }>]>>;
9689
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9754
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9690
9755
  filename: z.ZodString;
9691
9756
  originalFilename: z.ZodString;
9692
9757
  type: z.ZodString;
@@ -9799,16 +9864,29 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9799
9864
  addressLine2?: string | null | undefined;
9800
9865
  addressLine3?: string | null | undefined;
9801
9866
  postcodeOrZip?: string | null | undefined;
9802
- }>]>>>;
9803
- createdAtLocation: z.ZodString;
9867
+ }>]>>>>;
9804
9868
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9805
- originalActionId: z.ZodOptional<z.ZodString>;
9869
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9806
9870
  }, {
9807
9871
  type: z.ZodLiteral<"ARCHIVE">;
9872
+ reason: z.ZodObject<{
9873
+ message: z.ZodString;
9874
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9875
+ }, "strip", z.ZodTypeAny, {
9876
+ message: string;
9877
+ isDuplicate?: boolean | undefined;
9878
+ }, {
9879
+ message: string;
9880
+ isDuplicate?: boolean | undefined;
9881
+ }>;
9808
9882
  }>, "strip", z.ZodTypeAny, {
9809
9883
  type: "ARCHIVE";
9810
9884
  id: string;
9811
9885
  status: "Rejected" | "Requested" | "Accepted";
9886
+ reason: {
9887
+ message: string;
9888
+ isDuplicate?: boolean | undefined;
9889
+ };
9812
9890
  transactionId: string;
9813
9891
  createdAt: string;
9814
9892
  createdBy: string;
@@ -9851,7 +9929,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9851
9929
  filename: string;
9852
9930
  originalFilename: string;
9853
9931
  }[] | [string, string] | undefined>;
9854
- createdAtLocation: string;
9932
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9855
9933
  annotation?: Record<string, string | number | boolean | {
9856
9934
  type: string;
9857
9935
  filename: string;
@@ -9889,12 +9967,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9889
9967
  option: string;
9890
9968
  filename: string;
9891
9969
  originalFilename: string;
9892
- }[] | [string, string] | undefined> | undefined;
9893
- originalActionId?: string | undefined;
9970
+ }[] | [string, string] | undefined> | null | undefined;
9971
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9894
9972
  }, {
9895
9973
  type: "ARCHIVE";
9896
9974
  id: string;
9897
9975
  status: "Rejected" | "Requested" | "Accepted";
9976
+ reason: {
9977
+ message: string;
9978
+ isDuplicate?: boolean | undefined;
9979
+ };
9898
9980
  transactionId: string;
9899
9981
  createdAt: string;
9900
9982
  createdBy: string;
@@ -9937,7 +10019,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9937
10019
  filename: string;
9938
10020
  originalFilename: string;
9939
10021
  }[] | [string, string] | undefined>;
9940
- createdAtLocation: string;
10022
+ createdAtLocation?: string | null | undefined;
9941
10023
  annotation?: Record<string, string | number | boolean | {
9942
10024
  type: string;
9943
10025
  filename: string;
@@ -9975,14 +10057,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9975
10057
  option: string;
9976
10058
  filename: string;
9977
10059
  originalFilename: string;
9978
- }[] | [string, string] | undefined> | undefined;
9979
- originalActionId?: string | undefined;
10060
+ }[] | [string, string] | undefined> | null | undefined;
10061
+ originalActionId?: string | null | undefined;
9980
10062
  }>, z.ZodObject<z.objectUtil.extendShape<{
9981
10063
  id: z.ZodString;
9982
10064
  transactionId: z.ZodString;
9983
10065
  createdAt: z.ZodString;
9984
10066
  createdBy: z.ZodString;
9985
10067
  createdByRole: z.ZodString;
10068
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9986
10069
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9987
10070
  filename: z.ZodString;
9988
10071
  originalFilename: z.ZodString;
@@ -10097,7 +10180,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10097
10180
  addressLine3?: string | null | undefined;
10098
10181
  postcodeOrZip?: string | null | undefined;
10099
10182
  }>]>>;
10100
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10183
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10101
10184
  filename: z.ZodString;
10102
10185
  originalFilename: z.ZodString;
10103
10186
  type: z.ZodString;
@@ -10210,10 +10293,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10210
10293
  addressLine2?: string | null | undefined;
10211
10294
  addressLine3?: string | null | undefined;
10212
10295
  postcodeOrZip?: string | null | undefined;
10213
- }>]>>>;
10214
- createdAtLocation: z.ZodString;
10296
+ }>]>>>>;
10215
10297
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10216
- originalActionId: z.ZodOptional<z.ZodString>;
10298
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10217
10299
  }, {
10218
10300
  type: z.ZodLiteral<"NOTIFY">;
10219
10301
  }>, "strip", z.ZodTypeAny, {
@@ -10262,7 +10344,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10262
10344
  filename: string;
10263
10345
  originalFilename: string;
10264
10346
  }[] | [string, string] | undefined>;
10265
- createdAtLocation: string;
10347
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10266
10348
  annotation?: Record<string, string | number | boolean | {
10267
10349
  type: string;
10268
10350
  filename: string;
@@ -10300,8 +10382,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10300
10382
  option: string;
10301
10383
  filename: string;
10302
10384
  originalFilename: string;
10303
- }[] | [string, string] | undefined> | undefined;
10304
- originalActionId?: string | undefined;
10385
+ }[] | [string, string] | undefined> | null | undefined;
10386
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10305
10387
  }, {
10306
10388
  type: "NOTIFY";
10307
10389
  id: string;
@@ -10348,7 +10430,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10348
10430
  filename: string;
10349
10431
  originalFilename: string;
10350
10432
  }[] | [string, string] | undefined>;
10351
- createdAtLocation: string;
10433
+ createdAtLocation?: string | null | undefined;
10352
10434
  annotation?: Record<string, string | number | boolean | {
10353
10435
  type: string;
10354
10436
  filename: string;
@@ -10386,14 +10468,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10386
10468
  option: string;
10387
10469
  filename: string;
10388
10470
  originalFilename: string;
10389
- }[] | [string, string] | undefined> | undefined;
10390
- originalActionId?: string | undefined;
10471
+ }[] | [string, string] | undefined> | null | undefined;
10472
+ originalActionId?: string | null | undefined;
10391
10473
  }>, z.ZodObject<z.objectUtil.extendShape<{
10392
10474
  id: z.ZodString;
10393
10475
  transactionId: z.ZodString;
10394
10476
  createdAt: z.ZodString;
10395
10477
  createdBy: z.ZodString;
10396
10478
  createdByRole: z.ZodString;
10479
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10397
10480
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10398
10481
  filename: z.ZodString;
10399
10482
  originalFilename: z.ZodString;
@@ -10508,7 +10591,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10508
10591
  addressLine3?: string | null | undefined;
10509
10592
  postcodeOrZip?: string | null | undefined;
10510
10593
  }>]>>;
10511
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10594
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10512
10595
  filename: z.ZodString;
10513
10596
  originalFilename: z.ZodString;
10514
10597
  type: z.ZodString;
@@ -10621,10 +10704,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10621
10704
  addressLine2?: string | null | undefined;
10622
10705
  addressLine3?: string | null | undefined;
10623
10706
  postcodeOrZip?: string | null | undefined;
10624
- }>]>>>;
10625
- createdAtLocation: z.ZodString;
10707
+ }>]>>>>;
10626
10708
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10627
- originalActionId: z.ZodOptional<z.ZodString>;
10709
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10628
10710
  }, {
10629
10711
  type: z.ZodLiteral<"REGISTER">;
10630
10712
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -10674,7 +10756,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10674
10756
  filename: string;
10675
10757
  originalFilename: string;
10676
10758
  }[] | [string, string] | undefined>;
10677
- createdAtLocation: string;
10759
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10678
10760
  annotation?: Record<string, string | number | boolean | {
10679
10761
  type: string;
10680
10762
  filename: string;
@@ -10712,8 +10794,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10712
10794
  option: string;
10713
10795
  filename: string;
10714
10796
  originalFilename: string;
10715
- }[] | [string, string] | undefined> | undefined;
10716
- originalActionId?: string | undefined;
10797
+ }[] | [string, string] | undefined> | null | undefined;
10798
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10717
10799
  registrationNumber?: string | undefined;
10718
10800
  }, {
10719
10801
  type: "REGISTER";
@@ -10761,7 +10843,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10761
10843
  filename: string;
10762
10844
  originalFilename: string;
10763
10845
  }[] | [string, string] | undefined>;
10764
- createdAtLocation: string;
10846
+ createdAtLocation?: string | null | undefined;
10765
10847
  annotation?: Record<string, string | number | boolean | {
10766
10848
  type: string;
10767
10849
  filename: string;
@@ -10799,8 +10881,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10799
10881
  option: string;
10800
10882
  filename: string;
10801
10883
  originalFilename: string;
10802
- }[] | [string, string] | undefined> | undefined;
10803
- originalActionId?: string | undefined;
10884
+ }[] | [string, string] | undefined> | null | undefined;
10885
+ originalActionId?: string | null | undefined;
10804
10886
  registrationNumber?: string | undefined;
10805
10887
  }>, z.ZodObject<z.objectUtil.extendShape<{
10806
10888
  id: z.ZodString;
@@ -10808,6 +10890,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10808
10890
  createdAt: z.ZodString;
10809
10891
  createdBy: z.ZodString;
10810
10892
  createdByRole: z.ZodString;
10893
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10811
10894
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10812
10895
  filename: z.ZodString;
10813
10896
  originalFilename: z.ZodString;
@@ -10922,7 +11005,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10922
11005
  addressLine3?: string | null | undefined;
10923
11006
  postcodeOrZip?: string | null | undefined;
10924
11007
  }>]>>;
10925
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11008
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10926
11009
  filename: z.ZodString;
10927
11010
  originalFilename: z.ZodString;
10928
11011
  type: z.ZodString;
@@ -11035,10 +11118,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11035
11118
  addressLine2?: string | null | undefined;
11036
11119
  addressLine3?: string | null | undefined;
11037
11120
  postcodeOrZip?: string | null | undefined;
11038
- }>]>>>;
11039
- createdAtLocation: z.ZodString;
11121
+ }>]>>>>;
11040
11122
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11041
- originalActionId: z.ZodOptional<z.ZodString>;
11123
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11042
11124
  }, {
11043
11125
  type: z.ZodLiteral<"DECLARE">;
11044
11126
  }>, "strip", z.ZodTypeAny, {
@@ -11087,7 +11169,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11087
11169
  filename: string;
11088
11170
  originalFilename: string;
11089
11171
  }[] | [string, string] | undefined>;
11090
- createdAtLocation: string;
11172
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11091
11173
  annotation?: Record<string, string | number | boolean | {
11092
11174
  type: string;
11093
11175
  filename: string;
@@ -11125,8 +11207,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11125
11207
  option: string;
11126
11208
  filename: string;
11127
11209
  originalFilename: string;
11128
- }[] | [string, string] | undefined> | undefined;
11129
- originalActionId?: string | undefined;
11210
+ }[] | [string, string] | undefined> | null | undefined;
11211
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11130
11212
  }, {
11131
11213
  type: "DECLARE";
11132
11214
  id: string;
@@ -11173,7 +11255,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11173
11255
  filename: string;
11174
11256
  originalFilename: string;
11175
11257
  }[] | [string, string] | undefined>;
11176
- createdAtLocation: string;
11258
+ createdAtLocation?: string | null | undefined;
11177
11259
  annotation?: Record<string, string | number | boolean | {
11178
11260
  type: string;
11179
11261
  filename: string;
@@ -11211,14 +11293,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11211
11293
  option: string;
11212
11294
  filename: string;
11213
11295
  originalFilename: string;
11214
- }[] | [string, string] | undefined> | undefined;
11215
- originalActionId?: string | undefined;
11296
+ }[] | [string, string] | undefined> | null | undefined;
11297
+ originalActionId?: string | null | undefined;
11216
11298
  }>, z.ZodObject<z.objectUtil.extendShape<{
11217
11299
  id: z.ZodString;
11218
11300
  transactionId: z.ZodString;
11219
11301
  createdAt: z.ZodString;
11220
11302
  createdBy: z.ZodString;
11221
11303
  createdByRole: z.ZodString;
11304
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11222
11305
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11223
11306
  filename: z.ZodString;
11224
11307
  originalFilename: z.ZodString;
@@ -11333,7 +11416,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11333
11416
  addressLine3?: string | null | undefined;
11334
11417
  postcodeOrZip?: string | null | undefined;
11335
11418
  }>]>>;
11336
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11419
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11337
11420
  filename: z.ZodString;
11338
11421
  originalFilename: z.ZodString;
11339
11422
  type: z.ZodString;
@@ -11446,10 +11529,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11446
11529
  addressLine2?: string | null | undefined;
11447
11530
  addressLine3?: string | null | undefined;
11448
11531
  postcodeOrZip?: string | null | undefined;
11449
- }>]>>>;
11450
- createdAtLocation: z.ZodString;
11532
+ }>]>>>>;
11451
11533
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11452
- originalActionId: z.ZodOptional<z.ZodString>;
11534
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11453
11535
  }, {
11454
11536
  type: z.ZodLiteral<"ASSIGN">;
11455
11537
  assignedTo: z.ZodString;
@@ -11499,8 +11581,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11499
11581
  filename: string;
11500
11582
  originalFilename: string;
11501
11583
  }[] | [string, string] | undefined>;
11502
- createdAtLocation: string;
11503
11584
  assignedTo: string;
11585
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11504
11586
  annotation?: Record<string, string | number | boolean | {
11505
11587
  type: string;
11506
11588
  filename: string;
@@ -11538,8 +11620,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11538
11620
  option: string;
11539
11621
  filename: string;
11540
11622
  originalFilename: string;
11541
- }[] | [string, string] | undefined> | undefined;
11542
- originalActionId?: string | undefined;
11623
+ }[] | [string, string] | undefined> | null | undefined;
11624
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11543
11625
  }, {
11544
11626
  type: "ASSIGN";
11545
11627
  id: string;
@@ -11586,8 +11668,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11586
11668
  filename: string;
11587
11669
  originalFilename: string;
11588
11670
  }[] | [string, string] | undefined>;
11589
- createdAtLocation: string;
11590
11671
  assignedTo: string;
11672
+ createdAtLocation?: string | null | undefined;
11591
11673
  annotation?: Record<string, string | number | boolean | {
11592
11674
  type: string;
11593
11675
  filename: string;
@@ -11625,14 +11707,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11625
11707
  option: string;
11626
11708
  filename: string;
11627
11709
  originalFilename: string;
11628
- }[] | [string, string] | undefined> | undefined;
11629
- originalActionId?: string | undefined;
11710
+ }[] | [string, string] | undefined> | null | undefined;
11711
+ originalActionId?: string | null | undefined;
11630
11712
  }>, z.ZodObject<z.objectUtil.extendShape<{
11631
11713
  id: z.ZodString;
11632
11714
  transactionId: z.ZodString;
11633
11715
  createdAt: z.ZodString;
11634
11716
  createdBy: z.ZodString;
11635
11717
  createdByRole: z.ZodString;
11718
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11636
11719
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11637
11720
  filename: z.ZodString;
11638
11721
  originalFilename: z.ZodString;
@@ -11747,7 +11830,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11747
11830
  addressLine3?: string | null | undefined;
11748
11831
  postcodeOrZip?: string | null | undefined;
11749
11832
  }>]>>;
11750
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11833
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11751
11834
  filename: z.ZodString;
11752
11835
  originalFilename: z.ZodString;
11753
11836
  type: z.ZodString;
@@ -11860,10 +11943,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11860
11943
  addressLine2?: string | null | undefined;
11861
11944
  addressLine3?: string | null | undefined;
11862
11945
  postcodeOrZip?: string | null | undefined;
11863
- }>]>>>;
11864
- createdAtLocation: z.ZodString;
11946
+ }>]>>>>;
11865
11947
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11866
- originalActionId: z.ZodOptional<z.ZodString>;
11948
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11867
11949
  }, {
11868
11950
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
11869
11951
  }>, "strip", z.ZodTypeAny, {
@@ -11912,7 +11994,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11912
11994
  filename: string;
11913
11995
  originalFilename: string;
11914
11996
  }[] | [string, string] | undefined>;
11915
- createdAtLocation: string;
11997
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11916
11998
  annotation?: Record<string, string | number | boolean | {
11917
11999
  type: string;
11918
12000
  filename: string;
@@ -11950,8 +12032,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11950
12032
  option: string;
11951
12033
  filename: string;
11952
12034
  originalFilename: string;
11953
- }[] | [string, string] | undefined> | undefined;
11954
- originalActionId?: string | undefined;
12035
+ }[] | [string, string] | undefined> | null | undefined;
12036
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11955
12037
  }, {
11956
12038
  type: "REQUEST_CORRECTION";
11957
12039
  id: string;
@@ -11998,7 +12080,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11998
12080
  filename: string;
11999
12081
  originalFilename: string;
12000
12082
  }[] | [string, string] | undefined>;
12001
- createdAtLocation: string;
12083
+ createdAtLocation?: string | null | undefined;
12002
12084
  annotation?: Record<string, string | number | boolean | {
12003
12085
  type: string;
12004
12086
  filename: string;
@@ -12036,14 +12118,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12036
12118
  option: string;
12037
12119
  filename: string;
12038
12120
  originalFilename: string;
12039
- }[] | [string, string] | undefined> | undefined;
12040
- originalActionId?: string | undefined;
12121
+ }[] | [string, string] | undefined> | null | undefined;
12122
+ originalActionId?: string | null | undefined;
12041
12123
  }>, z.ZodObject<z.objectUtil.extendShape<{
12042
12124
  id: z.ZodString;
12043
12125
  transactionId: z.ZodString;
12044
12126
  createdAt: z.ZodString;
12045
12127
  createdBy: z.ZodString;
12046
12128
  createdByRole: z.ZodString;
12129
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12047
12130
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12048
12131
  filename: z.ZodString;
12049
12132
  originalFilename: z.ZodString;
@@ -12158,7 +12241,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12158
12241
  addressLine3?: string | null | undefined;
12159
12242
  postcodeOrZip?: string | null | undefined;
12160
12243
  }>]>>;
12161
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12244
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12162
12245
  filename: z.ZodString;
12163
12246
  originalFilename: z.ZodString;
12164
12247
  type: z.ZodString;
@@ -12271,10 +12354,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12271
12354
  addressLine2?: string | null | undefined;
12272
12355
  addressLine3?: string | null | undefined;
12273
12356
  postcodeOrZip?: string | null | undefined;
12274
- }>]>>>;
12275
- createdAtLocation: z.ZodString;
12357
+ }>]>>>>;
12276
12358
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12277
- originalActionId: z.ZodOptional<z.ZodString>;
12359
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12278
12360
  }, {
12279
12361
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
12280
12362
  requestId: z.ZodString;
@@ -12324,8 +12406,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12324
12406
  filename: string;
12325
12407
  originalFilename: string;
12326
12408
  }[] | [string, string] | undefined>;
12327
- createdAtLocation: string;
12328
12409
  requestId: string;
12410
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12329
12411
  annotation?: Record<string, string | number | boolean | {
12330
12412
  type: string;
12331
12413
  filename: string;
@@ -12363,8 +12445,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12363
12445
  option: string;
12364
12446
  filename: string;
12365
12447
  originalFilename: string;
12366
- }[] | [string, string] | undefined> | undefined;
12367
- originalActionId?: string | undefined;
12448
+ }[] | [string, string] | undefined> | null | undefined;
12449
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12368
12450
  }, {
12369
12451
  type: "APPROVE_CORRECTION";
12370
12452
  id: string;
@@ -12411,8 +12493,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12411
12493
  filename: string;
12412
12494
  originalFilename: string;
12413
12495
  }[] | [string, string] | undefined>;
12414
- createdAtLocation: string;
12415
12496
  requestId: string;
12497
+ createdAtLocation?: string | null | undefined;
12416
12498
  annotation?: Record<string, string | number | boolean | {
12417
12499
  type: string;
12418
12500
  filename: string;
@@ -12450,14 +12532,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12450
12532
  option: string;
12451
12533
  filename: string;
12452
12534
  originalFilename: string;
12453
- }[] | [string, string] | undefined> | undefined;
12454
- originalActionId?: string | undefined;
12535
+ }[] | [string, string] | undefined> | null | undefined;
12536
+ originalActionId?: string | null | undefined;
12455
12537
  }>, z.ZodObject<z.objectUtil.extendShape<{
12456
12538
  id: z.ZodString;
12457
12539
  transactionId: z.ZodString;
12458
12540
  createdAt: z.ZodString;
12459
12541
  createdBy: z.ZodString;
12460
12542
  createdByRole: z.ZodString;
12543
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12461
12544
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12462
12545
  filename: z.ZodString;
12463
12546
  originalFilename: z.ZodString;
@@ -12572,7 +12655,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12572
12655
  addressLine3?: string | null | undefined;
12573
12656
  postcodeOrZip?: string | null | undefined;
12574
12657
  }>]>>;
12575
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12658
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12576
12659
  filename: z.ZodString;
12577
12660
  originalFilename: z.ZodString;
12578
12661
  type: z.ZodString;
@@ -12685,10 +12768,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12685
12768
  addressLine2?: string | null | undefined;
12686
12769
  addressLine3?: string | null | undefined;
12687
12770
  postcodeOrZip?: string | null | undefined;
12688
- }>]>>>;
12689
- createdAtLocation: z.ZodString;
12771
+ }>]>>>>;
12690
12772
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12691
- originalActionId: z.ZodOptional<z.ZodString>;
12773
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12692
12774
  }, {
12693
12775
  type: z.ZodLiteral<"REJECT_CORRECTION">;
12694
12776
  requestId: z.ZodString;
@@ -12738,8 +12820,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12738
12820
  filename: string;
12739
12821
  originalFilename: string;
12740
12822
  }[] | [string, string] | undefined>;
12741
- createdAtLocation: string;
12742
12823
  requestId: string;
12824
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12743
12825
  annotation?: Record<string, string | number | boolean | {
12744
12826
  type: string;
12745
12827
  filename: string;
@@ -12777,8 +12859,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12777
12859
  option: string;
12778
12860
  filename: string;
12779
12861
  originalFilename: string;
12780
- }[] | [string, string] | undefined> | undefined;
12781
- originalActionId?: string | undefined;
12862
+ }[] | [string, string] | undefined> | null | undefined;
12863
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12782
12864
  }, {
12783
12865
  type: "REJECT_CORRECTION";
12784
12866
  id: string;
@@ -12825,8 +12907,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12825
12907
  filename: string;
12826
12908
  originalFilename: string;
12827
12909
  }[] | [string, string] | undefined>;
12828
- createdAtLocation: string;
12829
12910
  requestId: string;
12911
+ createdAtLocation?: string | null | undefined;
12830
12912
  annotation?: Record<string, string | number | boolean | {
12831
12913
  type: string;
12832
12914
  filename: string;
@@ -12864,14 +12946,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12864
12946
  option: string;
12865
12947
  filename: string;
12866
12948
  originalFilename: string;
12867
- }[] | [string, string] | undefined> | undefined;
12868
- originalActionId?: string | undefined;
12949
+ }[] | [string, string] | undefined> | null | undefined;
12950
+ originalActionId?: string | null | undefined;
12869
12951
  }>, z.ZodObject<z.objectUtil.extendShape<{
12870
12952
  id: z.ZodString;
12871
12953
  transactionId: z.ZodString;
12872
12954
  createdAt: z.ZodString;
12873
12955
  createdBy: z.ZodString;
12874
12956
  createdByRole: z.ZodString;
12957
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12875
12958
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12876
12959
  filename: z.ZodString;
12877
12960
  originalFilename: z.ZodString;
@@ -12986,7 +13069,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12986
13069
  addressLine3?: string | null | undefined;
12987
13070
  postcodeOrZip?: string | null | undefined;
12988
13071
  }>]>>;
12989
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13072
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12990
13073
  filename: z.ZodString;
12991
13074
  originalFilename: z.ZodString;
12992
13075
  type: z.ZodString;
@@ -13099,10 +13182,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13099
13182
  addressLine2?: string | null | undefined;
13100
13183
  addressLine3?: string | null | undefined;
13101
13184
  postcodeOrZip?: string | null | undefined;
13102
- }>]>>>;
13103
- createdAtLocation: z.ZodString;
13185
+ }>]>>>>;
13104
13186
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13105
- originalActionId: z.ZodOptional<z.ZodString>;
13187
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13106
13188
  }, {
13107
13189
  type: z.ZodLiteral<"UNASSIGN">;
13108
13190
  assignedTo: z.ZodLiteral<null>;
@@ -13152,8 +13234,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13152
13234
  filename: string;
13153
13235
  originalFilename: string;
13154
13236
  }[] | [string, string] | undefined>;
13155
- createdAtLocation: string;
13156
13237
  assignedTo: null;
13238
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13157
13239
  annotation?: Record<string, string | number | boolean | {
13158
13240
  type: string;
13159
13241
  filename: string;
@@ -13191,8 +13273,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13191
13273
  option: string;
13192
13274
  filename: string;
13193
13275
  originalFilename: string;
13194
- }[] | [string, string] | undefined> | undefined;
13195
- originalActionId?: string | undefined;
13276
+ }[] | [string, string] | undefined> | null | undefined;
13277
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13196
13278
  }, {
13197
13279
  type: "UNASSIGN";
13198
13280
  id: string;
@@ -13239,8 +13321,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13239
13321
  filename: string;
13240
13322
  originalFilename: string;
13241
13323
  }[] | [string, string] | undefined>;
13242
- createdAtLocation: string;
13243
13324
  assignedTo: null;
13325
+ createdAtLocation?: string | null | undefined;
13244
13326
  annotation?: Record<string, string | number | boolean | {
13245
13327
  type: string;
13246
13328
  filename: string;
@@ -13278,14 +13360,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13278
13360
  option: string;
13279
13361
  filename: string;
13280
13362
  originalFilename: string;
13281
- }[] | [string, string] | undefined> | undefined;
13282
- originalActionId?: string | undefined;
13363
+ }[] | [string, string] | undefined> | null | undefined;
13364
+ originalActionId?: string | null | undefined;
13283
13365
  }>, z.ZodObject<z.objectUtil.extendShape<{
13284
13366
  id: z.ZodString;
13285
13367
  transactionId: z.ZodString;
13286
13368
  createdAt: z.ZodString;
13287
13369
  createdBy: z.ZodString;
13288
13370
  createdByRole: z.ZodString;
13371
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13289
13372
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13290
13373
  filename: z.ZodString;
13291
13374
  originalFilename: z.ZodString;
@@ -13400,7 +13483,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13400
13483
  addressLine3?: string | null | undefined;
13401
13484
  postcodeOrZip?: string | null | undefined;
13402
13485
  }>]>>;
13403
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13486
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13404
13487
  filename: z.ZodString;
13405
13488
  originalFilename: z.ZodString;
13406
13489
  type: z.ZodString;
@@ -13513,10 +13596,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13513
13596
  addressLine2?: string | null | undefined;
13514
13597
  addressLine3?: string | null | undefined;
13515
13598
  postcodeOrZip?: string | null | undefined;
13516
- }>]>>>;
13517
- createdAtLocation: z.ZodString;
13599
+ }>]>>>>;
13518
13600
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13519
- originalActionId: z.ZodOptional<z.ZodString>;
13601
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13520
13602
  }, {
13521
13603
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
13522
13604
  }>, "strip", z.ZodTypeAny, {
@@ -13565,7 +13647,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13565
13647
  filename: string;
13566
13648
  originalFilename: string;
13567
13649
  }[] | [string, string] | undefined>;
13568
- createdAtLocation: string;
13650
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13569
13651
  annotation?: Record<string, string | number | boolean | {
13570
13652
  type: string;
13571
13653
  filename: string;
@@ -13603,8 +13685,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13603
13685
  option: string;
13604
13686
  filename: string;
13605
13687
  originalFilename: string;
13606
- }[] | [string, string] | undefined> | undefined;
13607
- originalActionId?: string | undefined;
13688
+ }[] | [string, string] | undefined> | null | undefined;
13689
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13608
13690
  }, {
13609
13691
  type: "PRINT_CERTIFICATE";
13610
13692
  id: string;
@@ -13651,7 +13733,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13651
13733
  filename: string;
13652
13734
  originalFilename: string;
13653
13735
  }[] | [string, string] | undefined>;
13654
- createdAtLocation: string;
13736
+ createdAtLocation?: string | null | undefined;
13655
13737
  annotation?: Record<string, string | number | boolean | {
13656
13738
  type: string;
13657
13739
  filename: string;
@@ -13689,14 +13771,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13689
13771
  option: string;
13690
13772
  filename: string;
13691
13773
  originalFilename: string;
13692
- }[] | [string, string] | undefined> | undefined;
13693
- originalActionId?: string | undefined;
13774
+ }[] | [string, string] | undefined> | null | undefined;
13775
+ originalActionId?: string | null | undefined;
13694
13776
  }>, z.ZodObject<z.objectUtil.extendShape<{
13695
13777
  id: z.ZodString;
13696
13778
  transactionId: z.ZodString;
13697
13779
  createdAt: z.ZodString;
13698
13780
  createdBy: z.ZodString;
13699
13781
  createdByRole: z.ZodString;
13782
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13700
13783
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13701
13784
  filename: z.ZodString;
13702
13785
  originalFilename: z.ZodString;
@@ -13811,7 +13894,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13811
13894
  addressLine3?: string | null | undefined;
13812
13895
  postcodeOrZip?: string | null | undefined;
13813
13896
  }>]>>;
13814
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13897
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13815
13898
  filename: z.ZodString;
13816
13899
  originalFilename: z.ZodString;
13817
13900
  type: z.ZodString;
@@ -13924,10 +14007,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13924
14007
  addressLine2?: string | null | undefined;
13925
14008
  addressLine3?: string | null | undefined;
13926
14009
  postcodeOrZip?: string | null | undefined;
13927
- }>]>>>;
13928
- createdAtLocation: z.ZodString;
14010
+ }>]>>>>;
13929
14011
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13930
- originalActionId: z.ZodOptional<z.ZodString>;
14012
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13931
14013
  }, {
13932
14014
  type: z.ZodLiteral<"READ">;
13933
14015
  }>, "strip", z.ZodTypeAny, {
@@ -13976,7 +14058,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13976
14058
  filename: string;
13977
14059
  originalFilename: string;
13978
14060
  }[] | [string, string] | undefined>;
13979
- createdAtLocation: string;
14061
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13980
14062
  annotation?: Record<string, string | number | boolean | {
13981
14063
  type: string;
13982
14064
  filename: string;
@@ -14014,8 +14096,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14014
14096
  option: string;
14015
14097
  filename: string;
14016
14098
  originalFilename: string;
14017
- }[] | [string, string] | undefined> | undefined;
14018
- originalActionId?: string | undefined;
14099
+ }[] | [string, string] | undefined> | null | undefined;
14100
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14019
14101
  }, {
14020
14102
  type: "READ";
14021
14103
  id: string;
@@ -14062,7 +14144,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14062
14144
  filename: string;
14063
14145
  originalFilename: string;
14064
14146
  }[] | [string, string] | undefined>;
14065
- createdAtLocation: string;
14147
+ createdAtLocation?: string | null | undefined;
14066
14148
  annotation?: Record<string, string | number | boolean | {
14067
14149
  type: string;
14068
14150
  filename: string;
@@ -14100,14 +14182,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14100
14182
  option: string;
14101
14183
  filename: string;
14102
14184
  originalFilename: string;
14103
- }[] | [string, string] | undefined> | undefined;
14104
- originalActionId?: string | undefined;
14185
+ }[] | [string, string] | undefined> | null | undefined;
14186
+ originalActionId?: string | null | undefined;
14105
14187
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14106
14188
  id: z.ZodString;
14107
14189
  transactionId: z.ZodString;
14108
14190
  createdAt: z.ZodString;
14109
14191
  createdBy: z.ZodString;
14110
14192
  createdByRole: z.ZodString;
14193
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14111
14194
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14112
14195
  filename: z.ZodString;
14113
14196
  originalFilename: z.ZodString;
@@ -14222,7 +14305,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14222
14305
  addressLine3?: string | null | undefined;
14223
14306
  postcodeOrZip?: string | null | undefined;
14224
14307
  }>]>>;
14225
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14308
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14226
14309
  filename: z.ZodString;
14227
14310
  originalFilename: z.ZodString;
14228
14311
  type: z.ZodString;
@@ -14335,10 +14418,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14335
14418
  addressLine2?: string | null | undefined;
14336
14419
  addressLine3?: string | null | undefined;
14337
14420
  postcodeOrZip?: string | null | undefined;
14338
- }>]>>>;
14339
- createdAtLocation: z.ZodString;
14421
+ }>]>>>>;
14340
14422
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14341
- originalActionId: z.ZodOptional<z.ZodString>;
14423
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14342
14424
  }, "declaration" | "annotation">, {
14343
14425
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
14344
14426
  status: z.ZodLiteral<"Rejected">;
@@ -14350,8 +14432,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14350
14432
  createdAt: string;
14351
14433
  createdBy: string;
14352
14434
  createdByRole: string;
14353
- createdAtLocation: string;
14354
- originalActionId?: string | undefined;
14435
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14436
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14355
14437
  }, {
14356
14438
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14357
14439
  id: string;
@@ -14360,8 +14442,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14360
14442
  createdAt: string;
14361
14443
  createdBy: string;
14362
14444
  createdByRole: string;
14363
- createdAtLocation: string;
14364
- originalActionId?: string | undefined;
14445
+ createdAtLocation?: string | null | undefined;
14446
+ originalActionId?: string | null | undefined;
14365
14447
  }>]>;
14366
14448
  export type Action = ActionDocument | AsyncRejectActionDocument;
14367
14449
  export declare const ResolvedUser: z.ZodObject<{