@opencrvs/toolkit 1.8.0-rc.ff0b26c → 1.8.0-rc.ff1f8e0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/commons/api/router.d.ts +2356 -1097
  2. package/dist/commons/conditionals/conditionals.d.ts +7 -6
  3. package/dist/commons/events/ActionConfig.d.ts +15774 -7797
  4. package/dist/commons/events/ActionDocument.d.ts +533 -346
  5. package/dist/commons/events/ActionInput.d.ts +197 -125
  6. package/dist/commons/events/Constants.d.ts +2 -0
  7. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  8. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  9. package/dist/commons/events/Draft.d.ts +29 -24
  10. package/dist/commons/events/EventConfig.d.ts +13649 -9488
  11. package/dist/commons/events/EventDocument.d.ts +386 -267
  12. package/dist/commons/events/EventIndex.d.ts +209 -605
  13. package/dist/commons/events/EventInput.d.ts +0 -13
  14. package/dist/commons/events/EventMetadata.d.ts +71 -48
  15. package/dist/commons/events/FieldConfig.d.ts +486 -440
  16. package/dist/commons/events/FieldTypeMapping.d.ts +5 -2
  17. package/dist/commons/events/FieldValue.d.ts +2 -0
  18. package/dist/commons/events/FormConfig.d.ts +3346 -3052
  19. package/dist/commons/events/PageConfig.d.ts +750 -680
  20. package/dist/commons/events/User.d.ts +31 -7
  21. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  22. package/dist/commons/events/WorkqueueConfig.d.ts +3460 -485
  23. package/dist/commons/events/defineConfig.d.ts +1381 -575
  24. package/dist/commons/events/event.d.ts +2 -2
  25. package/dist/commons/events/field.d.ts +4 -13
  26. package/dist/commons/events/index.d.ts +4 -0
  27. package/dist/commons/events/serializer.d.ts +2 -0
  28. package/dist/commons/events/test.utils.d.ts +26 -5
  29. package/dist/commons/events/transactions.d.ts +1 -1
  30. package/dist/commons/events/utils.d.ts +333 -296
  31. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  32. package/dist/conditionals/index.js +28 -8
  33. package/dist/events/index.js +1564 -584
  34. package/package.json +1 -1
@@ -247,6 +247,8 @@ export declare const ActionBase: z.ZodObject<{
247
247
  createdAt: z.ZodString;
248
248
  createdBy: z.ZodString;
249
249
  createdByRole: z.ZodString;
250
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
250
252
  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
253
  filename: z.ZodString;
252
254
  originalFilename: z.ZodString;
@@ -361,7 +363,7 @@ export declare const ActionBase: z.ZodObject<{
361
363
  addressLine3?: string | null | undefined;
362
364
  postcodeOrZip?: string | null | undefined;
363
365
  }>]>>;
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<{
366
+ 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
367
  filename: z.ZodString;
366
368
  originalFilename: z.ZodString;
367
369
  type: z.ZodString;
@@ -474,10 +476,9 @@ export declare const ActionBase: z.ZodObject<{
474
476
  addressLine2?: string | null | undefined;
475
477
  addressLine3?: string | null | undefined;
476
478
  postcodeOrZip?: string | null | undefined;
477
- }>]>>>;
478
- createdAtLocation: z.ZodString;
479
+ }>]>>>>;
479
480
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
480
- originalActionId: z.ZodOptional<z.ZodString>;
481
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
481
482
  }, "strip", z.ZodTypeAny, {
482
483
  id: string;
483
484
  status: "Rejected" | "Requested" | "Accepted";
@@ -523,7 +524,8 @@ export declare const ActionBase: z.ZodObject<{
523
524
  filename: string;
524
525
  originalFilename: string;
525
526
  }[] | [string, string] | undefined>;
526
- createdAtLocation: string;
527
+ createdBySignature?: string | null | undefined;
528
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
527
529
  annotation?: Record<string, string | number | boolean | {
528
530
  type: string;
529
531
  filename: string;
@@ -561,8 +563,8 @@ export declare const ActionBase: z.ZodObject<{
561
563
  option: string;
562
564
  filename: string;
563
565
  originalFilename: string;
564
- }[] | [string, string] | undefined> | undefined;
565
- originalActionId?: string | undefined;
566
+ }[] | [string, string] | undefined> | null | undefined;
567
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
566
568
  }, {
567
569
  id: string;
568
570
  status: "Rejected" | "Requested" | "Accepted";
@@ -608,7 +610,8 @@ export declare const ActionBase: z.ZodObject<{
608
610
  filename: string;
609
611
  originalFilename: string;
610
612
  }[] | [string, string] | undefined>;
611
- createdAtLocation: string;
613
+ createdBySignature?: string | null | undefined;
614
+ createdAtLocation?: string | null | undefined;
612
615
  annotation?: Record<string, string | number | boolean | {
613
616
  type: string;
614
617
  filename: string;
@@ -646,8 +649,8 @@ export declare const ActionBase: z.ZodObject<{
646
649
  option: string;
647
650
  filename: string;
648
651
  originalFilename: string;
649
- }[] | [string, string] | undefined> | undefined;
650
- originalActionId?: string | undefined;
652
+ }[] | [string, string] | undefined> | null | undefined;
653
+ originalActionId?: string | null | undefined;
651
654
  }>;
652
655
  export type ActionBase = z.infer<typeof ActionBase>;
653
656
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
@@ -656,6 +659,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
656
659
  createdAt: z.ZodString;
657
660
  createdBy: z.ZodString;
658
661
  createdByRole: z.ZodString;
662
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
659
664
  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
665
  filename: z.ZodString;
661
666
  originalFilename: z.ZodString;
@@ -770,7 +775,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
770
775
  addressLine3?: string | null | undefined;
771
776
  postcodeOrZip?: string | null | undefined;
772
777
  }>]>>;
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<{
778
+ 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
779
  filename: z.ZodString;
775
780
  originalFilename: z.ZodString;
776
781
  type: z.ZodString;
@@ -883,10 +888,9 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
883
888
  addressLine2?: string | null | undefined;
884
889
  addressLine3?: string | null | undefined;
885
890
  postcodeOrZip?: string | null | undefined;
886
- }>]>>>;
887
- createdAtLocation: z.ZodString;
891
+ }>]>>>>;
888
892
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
889
- originalActionId: z.ZodOptional<z.ZodString>;
893
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
890
894
  }, {
891
895
  type: z.ZodLiteral<"REGISTER">;
892
896
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -936,7 +940,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
936
940
  filename: string;
937
941
  originalFilename: string;
938
942
  }[] | [string, string] | undefined>;
939
- createdAtLocation: string;
943
+ createdBySignature?: string | null | undefined;
944
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
940
945
  annotation?: Record<string, string | number | boolean | {
941
946
  type: string;
942
947
  filename: string;
@@ -974,8 +979,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
974
979
  option: string;
975
980
  filename: string;
976
981
  originalFilename: string;
977
- }[] | [string, string] | undefined> | undefined;
978
- originalActionId?: string | undefined;
982
+ }[] | [string, string] | undefined> | null | undefined;
983
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
979
984
  registrationNumber?: string | undefined;
980
985
  }, {
981
986
  type: "REGISTER";
@@ -1023,7 +1028,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1023
1028
  filename: string;
1024
1029
  originalFilename: string;
1025
1030
  }[] | [string, string] | undefined>;
1026
- createdAtLocation: string;
1031
+ createdBySignature?: string | null | undefined;
1032
+ createdAtLocation?: string | null | undefined;
1027
1033
  annotation?: Record<string, string | number | boolean | {
1028
1034
  type: string;
1029
1035
  filename: string;
@@ -1061,17 +1067,29 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1061
1067
  option: string;
1062
1068
  filename: string;
1063
1069
  originalFilename: string;
1064
- }[] | [string, string] | undefined> | undefined;
1065
- originalActionId?: string | undefined;
1070
+ }[] | [string, string] | undefined> | null | undefined;
1071
+ originalActionId?: string | null | undefined;
1066
1072
  registrationNumber?: string | undefined;
1067
1073
  }>;
1068
1074
  export type RegisterAction = z.infer<typeof RegisterAction>;
1075
+ export declare const RejectionReason: z.ZodObject<{
1076
+ message: z.ZodString;
1077
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ message: string;
1080
+ isDuplicate?: boolean | undefined;
1081
+ }, {
1082
+ message: string;
1083
+ isDuplicate?: boolean | undefined;
1084
+ }>;
1069
1085
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1070
1086
  id: z.ZodString;
1071
1087
  transactionId: z.ZodString;
1072
1088
  createdAt: z.ZodString;
1073
1089
  createdBy: z.ZodString;
1074
1090
  createdByRole: z.ZodString;
1091
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1075
1093
  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
1094
  filename: z.ZodString;
1077
1095
  originalFilename: z.ZodString;
@@ -1186,7 +1204,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1186
1204
  addressLine3?: string | null | undefined;
1187
1205
  postcodeOrZip?: string | null | undefined;
1188
1206
  }>]>>;
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<{
1207
+ 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
1208
  filename: z.ZodString;
1191
1209
  originalFilename: z.ZodString;
1192
1210
  type: z.ZodString;
@@ -1299,10 +1317,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1299
1317
  addressLine2?: string | null | undefined;
1300
1318
  addressLine3?: string | null | undefined;
1301
1319
  postcodeOrZip?: string | null | undefined;
1302
- }>]>>>;
1303
- createdAtLocation: z.ZodString;
1320
+ }>]>>>>;
1304
1321
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1305
- originalActionId: z.ZodOptional<z.ZodString>;
1322
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1306
1323
  }, {
1307
1324
  type: z.ZodLiteral<"CREATE">;
1308
1325
  }>, "strip", z.ZodTypeAny, {
@@ -1351,7 +1368,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1351
1368
  filename: string;
1352
1369
  originalFilename: string;
1353
1370
  }[] | [string, string] | undefined>;
1354
- createdAtLocation: string;
1371
+ createdBySignature?: string | null | undefined;
1372
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1355
1373
  annotation?: Record<string, string | number | boolean | {
1356
1374
  type: string;
1357
1375
  filename: string;
@@ -1389,8 +1407,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1389
1407
  option: string;
1390
1408
  filename: string;
1391
1409
  originalFilename: string;
1392
- }[] | [string, string] | undefined> | undefined;
1393
- originalActionId?: string | undefined;
1410
+ }[] | [string, string] | undefined> | null | undefined;
1411
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1394
1412
  }, {
1395
1413
  type: "CREATE";
1396
1414
  id: string;
@@ -1437,7 +1455,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1437
1455
  filename: string;
1438
1456
  originalFilename: string;
1439
1457
  }[] | [string, string] | undefined>;
1440
- createdAtLocation: string;
1458
+ createdBySignature?: string | null | undefined;
1459
+ createdAtLocation?: string | null | undefined;
1441
1460
  annotation?: Record<string, string | number | boolean | {
1442
1461
  type: string;
1443
1462
  filename: string;
@@ -1475,8 +1494,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1475
1494
  option: string;
1476
1495
  filename: string;
1477
1496
  originalFilename: string;
1478
- }[] | [string, string] | undefined> | undefined;
1479
- originalActionId?: string | undefined;
1497
+ }[] | [string, string] | undefined> | null | undefined;
1498
+ originalActionId?: string | null | undefined;
1480
1499
  }>;
1481
1500
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1482
1501
  id: z.ZodString;
@@ -1484,6 +1503,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1484
1503
  createdAt: z.ZodString;
1485
1504
  createdBy: z.ZodString;
1486
1505
  createdByRole: z.ZodString;
1506
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1507
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1487
1508
  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
1509
  filename: z.ZodString;
1489
1510
  originalFilename: z.ZodString;
@@ -1598,7 +1619,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1598
1619
  addressLine3?: string | null | undefined;
1599
1620
  postcodeOrZip?: string | null | undefined;
1600
1621
  }>]>>;
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<{
1622
+ 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
1623
  filename: z.ZodString;
1603
1624
  originalFilename: z.ZodString;
1604
1625
  type: z.ZodString;
@@ -1711,10 +1732,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1711
1732
  addressLine2?: string | null | undefined;
1712
1733
  addressLine3?: string | null | undefined;
1713
1734
  postcodeOrZip?: string | null | undefined;
1714
- }>]>>>;
1715
- createdAtLocation: z.ZodString;
1735
+ }>]>>>>;
1716
1736
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1717
- originalActionId: z.ZodOptional<z.ZodString>;
1737
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1718
1738
  }, {
1719
1739
  type: z.ZodLiteral<"CREATE">;
1720
1740
  }>, "strip", z.ZodTypeAny, {
@@ -1763,7 +1783,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1763
1783
  filename: string;
1764
1784
  originalFilename: string;
1765
1785
  }[] | [string, string] | undefined>;
1766
- createdAtLocation: string;
1786
+ createdBySignature?: string | null | undefined;
1787
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1767
1788
  annotation?: Record<string, string | number | boolean | {
1768
1789
  type: string;
1769
1790
  filename: string;
@@ -1801,8 +1822,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1801
1822
  option: string;
1802
1823
  filename: string;
1803
1824
  originalFilename: string;
1804
- }[] | [string, string] | undefined> | undefined;
1805
- originalActionId?: string | undefined;
1825
+ }[] | [string, string] | undefined> | null | undefined;
1826
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1806
1827
  }, {
1807
1828
  type: "CREATE";
1808
1829
  id: string;
@@ -1849,7 +1870,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1849
1870
  filename: string;
1850
1871
  originalFilename: string;
1851
1872
  }[] | [string, string] | undefined>;
1852
- createdAtLocation: string;
1873
+ createdBySignature?: string | null | undefined;
1874
+ createdAtLocation?: string | null | undefined;
1853
1875
  annotation?: Record<string, string | number | boolean | {
1854
1876
  type: string;
1855
1877
  filename: string;
@@ -1887,14 +1909,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1887
1909
  option: string;
1888
1910
  filename: string;
1889
1911
  originalFilename: string;
1890
- }[] | [string, string] | undefined> | undefined;
1891
- originalActionId?: string | undefined;
1912
+ }[] | [string, string] | undefined> | null | undefined;
1913
+ originalActionId?: string | null | undefined;
1892
1914
  }>, z.ZodObject<z.objectUtil.extendShape<{
1893
1915
  id: z.ZodString;
1894
1916
  transactionId: z.ZodString;
1895
1917
  createdAt: z.ZodString;
1896
1918
  createdBy: z.ZodString;
1897
1919
  createdByRole: z.ZodString;
1920
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1921
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1898
1922
  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
1923
  filename: z.ZodString;
1900
1924
  originalFilename: z.ZodString;
@@ -2009,7 +2033,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2009
2033
  addressLine3?: string | null | undefined;
2010
2034
  postcodeOrZip?: string | null | undefined;
2011
2035
  }>]>>;
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<{
2036
+ 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
2037
  filename: z.ZodString;
2014
2038
  originalFilename: z.ZodString;
2015
2039
  type: z.ZodString;
@@ -2122,10 +2146,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2122
2146
  addressLine2?: string | null | undefined;
2123
2147
  addressLine3?: string | null | undefined;
2124
2148
  postcodeOrZip?: string | null | undefined;
2125
- }>]>>>;
2126
- createdAtLocation: z.ZodString;
2149
+ }>]>>>>;
2127
2150
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2128
- originalActionId: z.ZodOptional<z.ZodString>;
2151
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2129
2152
  }, {
2130
2153
  type: z.ZodLiteral<"VALIDATE">;
2131
2154
  }>, "strip", z.ZodTypeAny, {
@@ -2174,7 +2197,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2174
2197
  filename: string;
2175
2198
  originalFilename: string;
2176
2199
  }[] | [string, string] | undefined>;
2177
- createdAtLocation: string;
2200
+ createdBySignature?: string | null | undefined;
2201
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2178
2202
  annotation?: Record<string, string | number | boolean | {
2179
2203
  type: string;
2180
2204
  filename: string;
@@ -2212,8 +2236,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2212
2236
  option: string;
2213
2237
  filename: string;
2214
2238
  originalFilename: string;
2215
- }[] | [string, string] | undefined> | undefined;
2216
- originalActionId?: string | undefined;
2239
+ }[] | [string, string] | undefined> | null | undefined;
2240
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2217
2241
  }, {
2218
2242
  type: "VALIDATE";
2219
2243
  id: string;
@@ -2260,7 +2284,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2260
2284
  filename: string;
2261
2285
  originalFilename: string;
2262
2286
  }[] | [string, string] | undefined>;
2263
- createdAtLocation: string;
2287
+ createdBySignature?: string | null | undefined;
2288
+ createdAtLocation?: string | null | undefined;
2264
2289
  annotation?: Record<string, string | number | boolean | {
2265
2290
  type: string;
2266
2291
  filename: string;
@@ -2298,14 +2323,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2298
2323
  option: string;
2299
2324
  filename: string;
2300
2325
  originalFilename: string;
2301
- }[] | [string, string] | undefined> | undefined;
2302
- originalActionId?: string | undefined;
2326
+ }[] | [string, string] | undefined> | null | undefined;
2327
+ originalActionId?: string | null | undefined;
2303
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2304
2329
  id: z.ZodString;
2305
2330
  transactionId: z.ZodString;
2306
2331
  createdAt: z.ZodString;
2307
2332
  createdBy: z.ZodString;
2308
2333
  createdByRole: z.ZodString;
2334
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2335
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2309
2336
  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
2337
  filename: z.ZodString;
2311
2338
  originalFilename: z.ZodString;
@@ -2420,7 +2447,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2420
2447
  addressLine3?: string | null | undefined;
2421
2448
  postcodeOrZip?: string | null | undefined;
2422
2449
  }>]>>;
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<{
2450
+ 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
2451
  filename: z.ZodString;
2425
2452
  originalFilename: z.ZodString;
2426
2453
  type: z.ZodString;
@@ -2533,16 +2560,29 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2533
2560
  addressLine2?: string | null | undefined;
2534
2561
  addressLine3?: string | null | undefined;
2535
2562
  postcodeOrZip?: string | null | undefined;
2536
- }>]>>>;
2537
- createdAtLocation: z.ZodString;
2563
+ }>]>>>>;
2538
2564
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2539
- originalActionId: z.ZodOptional<z.ZodString>;
2565
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2540
2566
  }, {
2541
2567
  type: z.ZodLiteral<"REJECT">;
2568
+ reason: z.ZodObject<{
2569
+ message: z.ZodString;
2570
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2571
+ }, "strip", z.ZodTypeAny, {
2572
+ message: string;
2573
+ isDuplicate?: boolean | undefined;
2574
+ }, {
2575
+ message: string;
2576
+ isDuplicate?: boolean | undefined;
2577
+ }>;
2542
2578
  }>, "strip", z.ZodTypeAny, {
2543
2579
  type: "REJECT";
2544
2580
  id: string;
2545
2581
  status: "Rejected" | "Requested" | "Accepted";
2582
+ reason: {
2583
+ message: string;
2584
+ isDuplicate?: boolean | undefined;
2585
+ };
2546
2586
  transactionId: string;
2547
2587
  createdAt: string;
2548
2588
  createdBy: string;
@@ -2585,7 +2625,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2585
2625
  filename: string;
2586
2626
  originalFilename: string;
2587
2627
  }[] | [string, string] | undefined>;
2588
- createdAtLocation: string;
2628
+ createdBySignature?: string | null | undefined;
2629
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2589
2630
  annotation?: Record<string, string | number | boolean | {
2590
2631
  type: string;
2591
2632
  filename: string;
@@ -2623,12 +2664,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2623
2664
  option: string;
2624
2665
  filename: string;
2625
2666
  originalFilename: string;
2626
- }[] | [string, string] | undefined> | undefined;
2627
- originalActionId?: string | undefined;
2667
+ }[] | [string, string] | undefined> | null | undefined;
2668
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2628
2669
  }, {
2629
2670
  type: "REJECT";
2630
2671
  id: string;
2631
2672
  status: "Rejected" | "Requested" | "Accepted";
2673
+ reason: {
2674
+ message: string;
2675
+ isDuplicate?: boolean | undefined;
2676
+ };
2632
2677
  transactionId: string;
2633
2678
  createdAt: string;
2634
2679
  createdBy: string;
@@ -2671,7 +2716,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2671
2716
  filename: string;
2672
2717
  originalFilename: string;
2673
2718
  }[] | [string, string] | undefined>;
2674
- createdAtLocation: string;
2719
+ createdBySignature?: string | null | undefined;
2720
+ createdAtLocation?: string | null | undefined;
2675
2721
  annotation?: Record<string, string | number | boolean | {
2676
2722
  type: string;
2677
2723
  filename: string;
@@ -2709,14 +2755,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2709
2755
  option: string;
2710
2756
  filename: string;
2711
2757
  originalFilename: string;
2712
- }[] | [string, string] | undefined> | undefined;
2713
- originalActionId?: string | undefined;
2758
+ }[] | [string, string] | undefined> | null | undefined;
2759
+ originalActionId?: string | null | undefined;
2714
2760
  }>, z.ZodObject<z.objectUtil.extendShape<{
2715
2761
  id: z.ZodString;
2716
2762
  transactionId: z.ZodString;
2717
2763
  createdAt: z.ZodString;
2718
2764
  createdBy: z.ZodString;
2719
2765
  createdByRole: z.ZodString;
2766
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2720
2768
  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
2769
  filename: z.ZodString;
2722
2770
  originalFilename: z.ZodString;
@@ -2831,7 +2879,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2831
2879
  addressLine3?: string | null | undefined;
2832
2880
  postcodeOrZip?: string | null | undefined;
2833
2881
  }>]>>;
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<{
2882
+ 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
2883
  filename: z.ZodString;
2836
2884
  originalFilename: z.ZodString;
2837
2885
  type: z.ZodString;
@@ -2944,10 +2992,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2944
2992
  addressLine2?: string | null | undefined;
2945
2993
  addressLine3?: string | null | undefined;
2946
2994
  postcodeOrZip?: string | null | undefined;
2947
- }>]>>>;
2948
- createdAtLocation: z.ZodString;
2995
+ }>]>>>>;
2949
2996
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2950
- originalActionId: z.ZodOptional<z.ZodString>;
2997
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2951
2998
  }, {
2952
2999
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
2953
3000
  }>, "strip", z.ZodTypeAny, {
@@ -2996,7 +3043,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2996
3043
  filename: string;
2997
3044
  originalFilename: string;
2998
3045
  }[] | [string, string] | undefined>;
2999
- createdAtLocation: string;
3046
+ createdBySignature?: string | null | undefined;
3047
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3000
3048
  annotation?: Record<string, string | number | boolean | {
3001
3049
  type: string;
3002
3050
  filename: string;
@@ -3034,8 +3082,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3034
3082
  option: string;
3035
3083
  filename: string;
3036
3084
  originalFilename: string;
3037
- }[] | [string, string] | undefined> | undefined;
3038
- originalActionId?: string | undefined;
3085
+ }[] | [string, string] | undefined> | null | undefined;
3086
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3039
3087
  }, {
3040
3088
  type: "MARKED_AS_DUPLICATE";
3041
3089
  id: string;
@@ -3082,7 +3130,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3082
3130
  filename: string;
3083
3131
  originalFilename: string;
3084
3132
  }[] | [string, string] | undefined>;
3085
- createdAtLocation: string;
3133
+ createdBySignature?: string | null | undefined;
3134
+ createdAtLocation?: string | null | undefined;
3086
3135
  annotation?: Record<string, string | number | boolean | {
3087
3136
  type: string;
3088
3137
  filename: string;
@@ -3120,14 +3169,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3120
3169
  option: string;
3121
3170
  filename: string;
3122
3171
  originalFilename: string;
3123
- }[] | [string, string] | undefined> | undefined;
3124
- originalActionId?: string | undefined;
3172
+ }[] | [string, string] | undefined> | null | undefined;
3173
+ originalActionId?: string | null | undefined;
3125
3174
  }>, z.ZodObject<z.objectUtil.extendShape<{
3126
3175
  id: z.ZodString;
3127
3176
  transactionId: z.ZodString;
3128
3177
  createdAt: z.ZodString;
3129
3178
  createdBy: z.ZodString;
3130
3179
  createdByRole: z.ZodString;
3180
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3181
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3131
3182
  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
3183
  filename: z.ZodString;
3133
3184
  originalFilename: z.ZodString;
@@ -3242,7 +3293,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3242
3293
  addressLine3?: string | null | undefined;
3243
3294
  postcodeOrZip?: string | null | undefined;
3244
3295
  }>]>>;
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<{
3296
+ 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
3297
  filename: z.ZodString;
3247
3298
  originalFilename: z.ZodString;
3248
3299
  type: z.ZodString;
@@ -3355,16 +3406,29 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3355
3406
  addressLine2?: string | null | undefined;
3356
3407
  addressLine3?: string | null | undefined;
3357
3408
  postcodeOrZip?: string | null | undefined;
3358
- }>]>>>;
3359
- createdAtLocation: z.ZodString;
3409
+ }>]>>>>;
3360
3410
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3361
- originalActionId: z.ZodOptional<z.ZodString>;
3411
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3362
3412
  }, {
3363
3413
  type: z.ZodLiteral<"ARCHIVE">;
3414
+ reason: z.ZodObject<{
3415
+ message: z.ZodString;
3416
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3417
+ }, "strip", z.ZodTypeAny, {
3418
+ message: string;
3419
+ isDuplicate?: boolean | undefined;
3420
+ }, {
3421
+ message: string;
3422
+ isDuplicate?: boolean | undefined;
3423
+ }>;
3364
3424
  }>, "strip", z.ZodTypeAny, {
3365
3425
  type: "ARCHIVE";
3366
3426
  id: string;
3367
3427
  status: "Rejected" | "Requested" | "Accepted";
3428
+ reason: {
3429
+ message: string;
3430
+ isDuplicate?: boolean | undefined;
3431
+ };
3368
3432
  transactionId: string;
3369
3433
  createdAt: string;
3370
3434
  createdBy: string;
@@ -3407,7 +3471,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3407
3471
  filename: string;
3408
3472
  originalFilename: string;
3409
3473
  }[] | [string, string] | undefined>;
3410
- createdAtLocation: string;
3474
+ createdBySignature?: string | null | undefined;
3475
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3411
3476
  annotation?: Record<string, string | number | boolean | {
3412
3477
  type: string;
3413
3478
  filename: string;
@@ -3445,12 +3510,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3445
3510
  option: string;
3446
3511
  filename: string;
3447
3512
  originalFilename: string;
3448
- }[] | [string, string] | undefined> | undefined;
3449
- originalActionId?: string | undefined;
3513
+ }[] | [string, string] | undefined> | null | undefined;
3514
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3450
3515
  }, {
3451
3516
  type: "ARCHIVE";
3452
3517
  id: string;
3453
3518
  status: "Rejected" | "Requested" | "Accepted";
3519
+ reason: {
3520
+ message: string;
3521
+ isDuplicate?: boolean | undefined;
3522
+ };
3454
3523
  transactionId: string;
3455
3524
  createdAt: string;
3456
3525
  createdBy: string;
@@ -3493,7 +3562,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3493
3562
  filename: string;
3494
3563
  originalFilename: string;
3495
3564
  }[] | [string, string] | undefined>;
3496
- createdAtLocation: string;
3565
+ createdBySignature?: string | null | undefined;
3566
+ createdAtLocation?: string | null | undefined;
3497
3567
  annotation?: Record<string, string | number | boolean | {
3498
3568
  type: string;
3499
3569
  filename: string;
@@ -3531,14 +3601,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3531
3601
  option: string;
3532
3602
  filename: string;
3533
3603
  originalFilename: string;
3534
- }[] | [string, string] | undefined> | undefined;
3535
- originalActionId?: string | undefined;
3604
+ }[] | [string, string] | undefined> | null | undefined;
3605
+ originalActionId?: string | null | undefined;
3536
3606
  }>, z.ZodObject<z.objectUtil.extendShape<{
3537
3607
  id: z.ZodString;
3538
3608
  transactionId: z.ZodString;
3539
3609
  createdAt: z.ZodString;
3540
3610
  createdBy: z.ZodString;
3541
3611
  createdByRole: z.ZodString;
3612
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3613
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3542
3614
  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
3615
  filename: z.ZodString;
3544
3616
  originalFilename: z.ZodString;
@@ -3653,7 +3725,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3653
3725
  addressLine3?: string | null | undefined;
3654
3726
  postcodeOrZip?: string | null | undefined;
3655
3727
  }>]>>;
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<{
3728
+ 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
3729
  filename: z.ZodString;
3658
3730
  originalFilename: z.ZodString;
3659
3731
  type: z.ZodString;
@@ -3766,10 +3838,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3766
3838
  addressLine2?: string | null | undefined;
3767
3839
  addressLine3?: string | null | undefined;
3768
3840
  postcodeOrZip?: string | null | undefined;
3769
- }>]>>>;
3770
- createdAtLocation: z.ZodString;
3841
+ }>]>>>>;
3771
3842
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3772
- originalActionId: z.ZodOptional<z.ZodString>;
3843
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3773
3844
  }, {
3774
3845
  type: z.ZodLiteral<"NOTIFY">;
3775
3846
  }>, "strip", z.ZodTypeAny, {
@@ -3818,7 +3889,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3818
3889
  filename: string;
3819
3890
  originalFilename: string;
3820
3891
  }[] | [string, string] | undefined>;
3821
- createdAtLocation: string;
3892
+ createdBySignature?: string | null | undefined;
3893
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3822
3894
  annotation?: Record<string, string | number | boolean | {
3823
3895
  type: string;
3824
3896
  filename: string;
@@ -3856,8 +3928,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3856
3928
  option: string;
3857
3929
  filename: string;
3858
3930
  originalFilename: string;
3859
- }[] | [string, string] | undefined> | undefined;
3860
- originalActionId?: string | undefined;
3931
+ }[] | [string, string] | undefined> | null | undefined;
3932
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3861
3933
  }, {
3862
3934
  type: "NOTIFY";
3863
3935
  id: string;
@@ -3904,7 +3976,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3904
3976
  filename: string;
3905
3977
  originalFilename: string;
3906
3978
  }[] | [string, string] | undefined>;
3907
- createdAtLocation: string;
3979
+ createdBySignature?: string | null | undefined;
3980
+ createdAtLocation?: string | null | undefined;
3908
3981
  annotation?: Record<string, string | number | boolean | {
3909
3982
  type: string;
3910
3983
  filename: string;
@@ -3942,14 +4015,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3942
4015
  option: string;
3943
4016
  filename: string;
3944
4017
  originalFilename: string;
3945
- }[] | [string, string] | undefined> | undefined;
3946
- originalActionId?: string | undefined;
4018
+ }[] | [string, string] | undefined> | null | undefined;
4019
+ originalActionId?: string | null | undefined;
3947
4020
  }>, z.ZodObject<z.objectUtil.extendShape<{
3948
4021
  id: z.ZodString;
3949
4022
  transactionId: z.ZodString;
3950
4023
  createdAt: z.ZodString;
3951
4024
  createdBy: z.ZodString;
3952
4025
  createdByRole: z.ZodString;
4026
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4027
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3953
4028
  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
4029
  filename: z.ZodString;
3955
4030
  originalFilename: z.ZodString;
@@ -4064,7 +4139,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4064
4139
  addressLine3?: string | null | undefined;
4065
4140
  postcodeOrZip?: string | null | undefined;
4066
4141
  }>]>>;
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<{
4142
+ 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
4143
  filename: z.ZodString;
4069
4144
  originalFilename: z.ZodString;
4070
4145
  type: z.ZodString;
@@ -4177,10 +4252,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4177
4252
  addressLine2?: string | null | undefined;
4178
4253
  addressLine3?: string | null | undefined;
4179
4254
  postcodeOrZip?: string | null | undefined;
4180
- }>]>>>;
4181
- createdAtLocation: z.ZodString;
4255
+ }>]>>>>;
4182
4256
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4183
- originalActionId: z.ZodOptional<z.ZodString>;
4257
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4184
4258
  }, {
4185
4259
  type: z.ZodLiteral<"REGISTER">;
4186
4260
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -4230,7 +4304,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4230
4304
  filename: string;
4231
4305
  originalFilename: string;
4232
4306
  }[] | [string, string] | undefined>;
4233
- createdAtLocation: string;
4307
+ createdBySignature?: string | null | undefined;
4308
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4234
4309
  annotation?: Record<string, string | number | boolean | {
4235
4310
  type: string;
4236
4311
  filename: string;
@@ -4268,8 +4343,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4268
4343
  option: string;
4269
4344
  filename: string;
4270
4345
  originalFilename: string;
4271
- }[] | [string, string] | undefined> | undefined;
4272
- originalActionId?: string | undefined;
4346
+ }[] | [string, string] | undefined> | null | undefined;
4347
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4273
4348
  registrationNumber?: string | undefined;
4274
4349
  }, {
4275
4350
  type: "REGISTER";
@@ -4317,7 +4392,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4317
4392
  filename: string;
4318
4393
  originalFilename: string;
4319
4394
  }[] | [string, string] | undefined>;
4320
- createdAtLocation: string;
4395
+ createdBySignature?: string | null | undefined;
4396
+ createdAtLocation?: string | null | undefined;
4321
4397
  annotation?: Record<string, string | number | boolean | {
4322
4398
  type: string;
4323
4399
  filename: string;
@@ -4355,8 +4431,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4355
4431
  option: string;
4356
4432
  filename: string;
4357
4433
  originalFilename: string;
4358
- }[] | [string, string] | undefined> | undefined;
4359
- originalActionId?: string | undefined;
4434
+ }[] | [string, string] | undefined> | null | undefined;
4435
+ originalActionId?: string | null | undefined;
4360
4436
  registrationNumber?: string | undefined;
4361
4437
  }>, z.ZodObject<z.objectUtil.extendShape<{
4362
4438
  id: z.ZodString;
@@ -4364,6 +4440,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4364
4440
  createdAt: z.ZodString;
4365
4441
  createdBy: z.ZodString;
4366
4442
  createdByRole: z.ZodString;
4443
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4444
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4367
4445
  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
4446
  filename: z.ZodString;
4369
4447
  originalFilename: z.ZodString;
@@ -4478,7 +4556,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4478
4556
  addressLine3?: string | null | undefined;
4479
4557
  postcodeOrZip?: string | null | undefined;
4480
4558
  }>]>>;
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<{
4559
+ 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
4560
  filename: z.ZodString;
4483
4561
  originalFilename: z.ZodString;
4484
4562
  type: z.ZodString;
@@ -4591,10 +4669,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4591
4669
  addressLine2?: string | null | undefined;
4592
4670
  addressLine3?: string | null | undefined;
4593
4671
  postcodeOrZip?: string | null | undefined;
4594
- }>]>>>;
4595
- createdAtLocation: z.ZodString;
4672
+ }>]>>>>;
4596
4673
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4597
- originalActionId: z.ZodOptional<z.ZodString>;
4674
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4598
4675
  }, {
4599
4676
  type: z.ZodLiteral<"DECLARE">;
4600
4677
  }>, "strip", z.ZodTypeAny, {
@@ -4643,7 +4720,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4643
4720
  filename: string;
4644
4721
  originalFilename: string;
4645
4722
  }[] | [string, string] | undefined>;
4646
- createdAtLocation: string;
4723
+ createdBySignature?: string | null | undefined;
4724
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4647
4725
  annotation?: Record<string, string | number | boolean | {
4648
4726
  type: string;
4649
4727
  filename: string;
@@ -4681,8 +4759,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4681
4759
  option: string;
4682
4760
  filename: string;
4683
4761
  originalFilename: string;
4684
- }[] | [string, string] | undefined> | undefined;
4685
- originalActionId?: string | undefined;
4762
+ }[] | [string, string] | undefined> | null | undefined;
4763
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4686
4764
  }, {
4687
4765
  type: "DECLARE";
4688
4766
  id: string;
@@ -4729,7 +4807,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4729
4807
  filename: string;
4730
4808
  originalFilename: string;
4731
4809
  }[] | [string, string] | undefined>;
4732
- createdAtLocation: string;
4810
+ createdBySignature?: string | null | undefined;
4811
+ createdAtLocation?: string | null | undefined;
4733
4812
  annotation?: Record<string, string | number | boolean | {
4734
4813
  type: string;
4735
4814
  filename: string;
@@ -4767,14 +4846,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4767
4846
  option: string;
4768
4847
  filename: string;
4769
4848
  originalFilename: string;
4770
- }[] | [string, string] | undefined> | undefined;
4771
- originalActionId?: string | undefined;
4849
+ }[] | [string, string] | undefined> | null | undefined;
4850
+ originalActionId?: string | null | undefined;
4772
4851
  }>, z.ZodObject<z.objectUtil.extendShape<{
4773
4852
  id: z.ZodString;
4774
4853
  transactionId: z.ZodString;
4775
4854
  createdAt: z.ZodString;
4776
4855
  createdBy: z.ZodString;
4777
4856
  createdByRole: z.ZodString;
4857
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4858
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4778
4859
  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
4860
  filename: z.ZodString;
4780
4861
  originalFilename: z.ZodString;
@@ -4889,7 +4970,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4889
4970
  addressLine3?: string | null | undefined;
4890
4971
  postcodeOrZip?: string | null | undefined;
4891
4972
  }>]>>;
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<{
4973
+ 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
4974
  filename: z.ZodString;
4894
4975
  originalFilename: z.ZodString;
4895
4976
  type: z.ZodString;
@@ -5002,10 +5083,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5002
5083
  addressLine2?: string | null | undefined;
5003
5084
  addressLine3?: string | null | undefined;
5004
5085
  postcodeOrZip?: string | null | undefined;
5005
- }>]>>>;
5006
- createdAtLocation: z.ZodString;
5086
+ }>]>>>>;
5007
5087
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5008
- originalActionId: z.ZodOptional<z.ZodString>;
5088
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5009
5089
  }, {
5010
5090
  type: z.ZodLiteral<"ASSIGN">;
5011
5091
  assignedTo: z.ZodString;
@@ -5055,8 +5135,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5055
5135
  filename: string;
5056
5136
  originalFilename: string;
5057
5137
  }[] | [string, string] | undefined>;
5058
- createdAtLocation: string;
5059
5138
  assignedTo: string;
5139
+ createdBySignature?: string | null | undefined;
5140
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5060
5141
  annotation?: Record<string, string | number | boolean | {
5061
5142
  type: string;
5062
5143
  filename: string;
@@ -5094,8 +5175,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5094
5175
  option: string;
5095
5176
  filename: string;
5096
5177
  originalFilename: string;
5097
- }[] | [string, string] | undefined> | undefined;
5098
- originalActionId?: string | undefined;
5178
+ }[] | [string, string] | undefined> | null | undefined;
5179
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5099
5180
  }, {
5100
5181
  type: "ASSIGN";
5101
5182
  id: string;
@@ -5142,8 +5223,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5142
5223
  filename: string;
5143
5224
  originalFilename: string;
5144
5225
  }[] | [string, string] | undefined>;
5145
- createdAtLocation: string;
5146
5226
  assignedTo: string;
5227
+ createdBySignature?: string | null | undefined;
5228
+ createdAtLocation?: string | null | undefined;
5147
5229
  annotation?: Record<string, string | number | boolean | {
5148
5230
  type: string;
5149
5231
  filename: string;
@@ -5181,14 +5263,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5181
5263
  option: string;
5182
5264
  filename: string;
5183
5265
  originalFilename: string;
5184
- }[] | [string, string] | undefined> | undefined;
5185
- originalActionId?: string | undefined;
5266
+ }[] | [string, string] | undefined> | null | undefined;
5267
+ originalActionId?: string | null | undefined;
5186
5268
  }>, z.ZodObject<z.objectUtil.extendShape<{
5187
5269
  id: z.ZodString;
5188
5270
  transactionId: z.ZodString;
5189
5271
  createdAt: z.ZodString;
5190
5272
  createdBy: z.ZodString;
5191
5273
  createdByRole: z.ZodString;
5274
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5275
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5192
5276
  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
5277
  filename: z.ZodString;
5194
5278
  originalFilename: z.ZodString;
@@ -5303,7 +5387,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5303
5387
  addressLine3?: string | null | undefined;
5304
5388
  postcodeOrZip?: string | null | undefined;
5305
5389
  }>]>>;
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<{
5390
+ 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
5391
  filename: z.ZodString;
5308
5392
  originalFilename: z.ZodString;
5309
5393
  type: z.ZodString;
@@ -5416,10 +5500,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5416
5500
  addressLine2?: string | null | undefined;
5417
5501
  addressLine3?: string | null | undefined;
5418
5502
  postcodeOrZip?: string | null | undefined;
5419
- }>]>>>;
5420
- createdAtLocation: z.ZodString;
5503
+ }>]>>>>;
5421
5504
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5422
- originalActionId: z.ZodOptional<z.ZodString>;
5505
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5423
5506
  }, {
5424
5507
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
5425
5508
  }>, "strip", z.ZodTypeAny, {
@@ -5468,7 +5551,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5468
5551
  filename: string;
5469
5552
  originalFilename: string;
5470
5553
  }[] | [string, string] | undefined>;
5471
- createdAtLocation: string;
5554
+ createdBySignature?: string | null | undefined;
5555
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5472
5556
  annotation?: Record<string, string | number | boolean | {
5473
5557
  type: string;
5474
5558
  filename: string;
@@ -5506,8 +5590,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5506
5590
  option: string;
5507
5591
  filename: string;
5508
5592
  originalFilename: string;
5509
- }[] | [string, string] | undefined> | undefined;
5510
- originalActionId?: string | undefined;
5593
+ }[] | [string, string] | undefined> | null | undefined;
5594
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5511
5595
  }, {
5512
5596
  type: "REQUEST_CORRECTION";
5513
5597
  id: string;
@@ -5554,7 +5638,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5554
5638
  filename: string;
5555
5639
  originalFilename: string;
5556
5640
  }[] | [string, string] | undefined>;
5557
- createdAtLocation: string;
5641
+ createdBySignature?: string | null | undefined;
5642
+ createdAtLocation?: string | null | undefined;
5558
5643
  annotation?: Record<string, string | number | boolean | {
5559
5644
  type: string;
5560
5645
  filename: string;
@@ -5592,14 +5677,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5592
5677
  option: string;
5593
5678
  filename: string;
5594
5679
  originalFilename: string;
5595
- }[] | [string, string] | undefined> | undefined;
5596
- originalActionId?: string | undefined;
5680
+ }[] | [string, string] | undefined> | null | undefined;
5681
+ originalActionId?: string | null | undefined;
5597
5682
  }>, z.ZodObject<z.objectUtil.extendShape<{
5598
5683
  id: z.ZodString;
5599
5684
  transactionId: z.ZodString;
5600
5685
  createdAt: z.ZodString;
5601
5686
  createdBy: z.ZodString;
5602
5687
  createdByRole: z.ZodString;
5688
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5689
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5603
5690
  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
5691
  filename: z.ZodString;
5605
5692
  originalFilename: z.ZodString;
@@ -5714,7 +5801,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5714
5801
  addressLine3?: string | null | undefined;
5715
5802
  postcodeOrZip?: string | null | undefined;
5716
5803
  }>]>>;
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<{
5804
+ 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
5805
  filename: z.ZodString;
5719
5806
  originalFilename: z.ZodString;
5720
5807
  type: z.ZodString;
@@ -5827,10 +5914,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5827
5914
  addressLine2?: string | null | undefined;
5828
5915
  addressLine3?: string | null | undefined;
5829
5916
  postcodeOrZip?: string | null | undefined;
5830
- }>]>>>;
5831
- createdAtLocation: z.ZodString;
5917
+ }>]>>>>;
5832
5918
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5833
- originalActionId: z.ZodOptional<z.ZodString>;
5919
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5834
5920
  }, {
5835
5921
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
5836
5922
  requestId: z.ZodString;
@@ -5880,8 +5966,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5880
5966
  filename: string;
5881
5967
  originalFilename: string;
5882
5968
  }[] | [string, string] | undefined>;
5883
- createdAtLocation: string;
5884
5969
  requestId: string;
5970
+ createdBySignature?: string | null | undefined;
5971
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5885
5972
  annotation?: Record<string, string | number | boolean | {
5886
5973
  type: string;
5887
5974
  filename: string;
@@ -5919,8 +6006,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5919
6006
  option: string;
5920
6007
  filename: string;
5921
6008
  originalFilename: string;
5922
- }[] | [string, string] | undefined> | undefined;
5923
- originalActionId?: string | undefined;
6009
+ }[] | [string, string] | undefined> | null | undefined;
6010
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5924
6011
  }, {
5925
6012
  type: "APPROVE_CORRECTION";
5926
6013
  id: string;
@@ -5967,8 +6054,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5967
6054
  filename: string;
5968
6055
  originalFilename: string;
5969
6056
  }[] | [string, string] | undefined>;
5970
- createdAtLocation: string;
5971
6057
  requestId: string;
6058
+ createdBySignature?: string | null | undefined;
6059
+ createdAtLocation?: string | null | undefined;
5972
6060
  annotation?: Record<string, string | number | boolean | {
5973
6061
  type: string;
5974
6062
  filename: string;
@@ -6006,14 +6094,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6006
6094
  option: string;
6007
6095
  filename: string;
6008
6096
  originalFilename: string;
6009
- }[] | [string, string] | undefined> | undefined;
6010
- originalActionId?: string | undefined;
6097
+ }[] | [string, string] | undefined> | null | undefined;
6098
+ originalActionId?: string | null | undefined;
6011
6099
  }>, z.ZodObject<z.objectUtil.extendShape<{
6012
6100
  id: z.ZodString;
6013
6101
  transactionId: z.ZodString;
6014
6102
  createdAt: z.ZodString;
6015
6103
  createdBy: z.ZodString;
6016
6104
  createdByRole: z.ZodString;
6105
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6106
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6017
6107
  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
6108
  filename: z.ZodString;
6019
6109
  originalFilename: z.ZodString;
@@ -6128,7 +6218,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6128
6218
  addressLine3?: string | null | undefined;
6129
6219
  postcodeOrZip?: string | null | undefined;
6130
6220
  }>]>>;
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<{
6221
+ 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
6222
  filename: z.ZodString;
6133
6223
  originalFilename: z.ZodString;
6134
6224
  type: z.ZodString;
@@ -6241,10 +6331,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6241
6331
  addressLine2?: string | null | undefined;
6242
6332
  addressLine3?: string | null | undefined;
6243
6333
  postcodeOrZip?: string | null | undefined;
6244
- }>]>>>;
6245
- createdAtLocation: z.ZodString;
6334
+ }>]>>>>;
6246
6335
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6247
- originalActionId: z.ZodOptional<z.ZodString>;
6336
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6248
6337
  }, {
6249
6338
  type: z.ZodLiteral<"REJECT_CORRECTION">;
6250
6339
  requestId: z.ZodString;
@@ -6294,8 +6383,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6294
6383
  filename: string;
6295
6384
  originalFilename: string;
6296
6385
  }[] | [string, string] | undefined>;
6297
- createdAtLocation: string;
6298
6386
  requestId: string;
6387
+ createdBySignature?: string | null | undefined;
6388
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6299
6389
  annotation?: Record<string, string | number | boolean | {
6300
6390
  type: string;
6301
6391
  filename: string;
@@ -6333,8 +6423,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6333
6423
  option: string;
6334
6424
  filename: string;
6335
6425
  originalFilename: string;
6336
- }[] | [string, string] | undefined> | undefined;
6337
- originalActionId?: string | undefined;
6426
+ }[] | [string, string] | undefined> | null | undefined;
6427
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6338
6428
  }, {
6339
6429
  type: "REJECT_CORRECTION";
6340
6430
  id: string;
@@ -6381,8 +6471,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6381
6471
  filename: string;
6382
6472
  originalFilename: string;
6383
6473
  }[] | [string, string] | undefined>;
6384
- createdAtLocation: string;
6385
6474
  requestId: string;
6475
+ createdBySignature?: string | null | undefined;
6476
+ createdAtLocation?: string | null | undefined;
6386
6477
  annotation?: Record<string, string | number | boolean | {
6387
6478
  type: string;
6388
6479
  filename: string;
@@ -6420,14 +6511,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6420
6511
  option: string;
6421
6512
  filename: string;
6422
6513
  originalFilename: string;
6423
- }[] | [string, string] | undefined> | undefined;
6424
- originalActionId?: string | undefined;
6514
+ }[] | [string, string] | undefined> | null | undefined;
6515
+ originalActionId?: string | null | undefined;
6425
6516
  }>, z.ZodObject<z.objectUtil.extendShape<{
6426
6517
  id: z.ZodString;
6427
6518
  transactionId: z.ZodString;
6428
6519
  createdAt: z.ZodString;
6429
6520
  createdBy: z.ZodString;
6430
6521
  createdByRole: z.ZodString;
6522
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6523
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6431
6524
  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
6525
  filename: z.ZodString;
6433
6526
  originalFilename: z.ZodString;
@@ -6542,7 +6635,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6542
6635
  addressLine3?: string | null | undefined;
6543
6636
  postcodeOrZip?: string | null | undefined;
6544
6637
  }>]>>;
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<{
6638
+ 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
6639
  filename: z.ZodString;
6547
6640
  originalFilename: z.ZodString;
6548
6641
  type: z.ZodString;
@@ -6655,10 +6748,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6655
6748
  addressLine2?: string | null | undefined;
6656
6749
  addressLine3?: string | null | undefined;
6657
6750
  postcodeOrZip?: string | null | undefined;
6658
- }>]>>>;
6659
- createdAtLocation: z.ZodString;
6751
+ }>]>>>>;
6660
6752
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6661
- originalActionId: z.ZodOptional<z.ZodString>;
6753
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6662
6754
  }, {
6663
6755
  type: z.ZodLiteral<"UNASSIGN">;
6664
6756
  assignedTo: z.ZodLiteral<null>;
@@ -6708,8 +6800,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6708
6800
  filename: string;
6709
6801
  originalFilename: string;
6710
6802
  }[] | [string, string] | undefined>;
6711
- createdAtLocation: string;
6712
6803
  assignedTo: null;
6804
+ createdBySignature?: string | null | undefined;
6805
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6713
6806
  annotation?: Record<string, string | number | boolean | {
6714
6807
  type: string;
6715
6808
  filename: string;
@@ -6747,8 +6840,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6747
6840
  option: string;
6748
6841
  filename: string;
6749
6842
  originalFilename: string;
6750
- }[] | [string, string] | undefined> | undefined;
6751
- originalActionId?: string | undefined;
6843
+ }[] | [string, string] | undefined> | null | undefined;
6844
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6752
6845
  }, {
6753
6846
  type: "UNASSIGN";
6754
6847
  id: string;
@@ -6795,8 +6888,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6795
6888
  filename: string;
6796
6889
  originalFilename: string;
6797
6890
  }[] | [string, string] | undefined>;
6798
- createdAtLocation: string;
6799
6891
  assignedTo: null;
6892
+ createdBySignature?: string | null | undefined;
6893
+ createdAtLocation?: string | null | undefined;
6800
6894
  annotation?: Record<string, string | number | boolean | {
6801
6895
  type: string;
6802
6896
  filename: string;
@@ -6834,14 +6928,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6834
6928
  option: string;
6835
6929
  filename: string;
6836
6930
  originalFilename: string;
6837
- }[] | [string, string] | undefined> | undefined;
6838
- originalActionId?: string | undefined;
6931
+ }[] | [string, string] | undefined> | null | undefined;
6932
+ originalActionId?: string | null | undefined;
6839
6933
  }>, z.ZodObject<z.objectUtil.extendShape<{
6840
6934
  id: z.ZodString;
6841
6935
  transactionId: z.ZodString;
6842
6936
  createdAt: z.ZodString;
6843
6937
  createdBy: z.ZodString;
6844
6938
  createdByRole: z.ZodString;
6939
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6940
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6845
6941
  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
6942
  filename: z.ZodString;
6847
6943
  originalFilename: z.ZodString;
@@ -6956,7 +7052,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6956
7052
  addressLine3?: string | null | undefined;
6957
7053
  postcodeOrZip?: string | null | undefined;
6958
7054
  }>]>>;
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<{
7055
+ 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
7056
  filename: z.ZodString;
6961
7057
  originalFilename: z.ZodString;
6962
7058
  type: z.ZodString;
@@ -7069,10 +7165,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7069
7165
  addressLine2?: string | null | undefined;
7070
7166
  addressLine3?: string | null | undefined;
7071
7167
  postcodeOrZip?: string | null | undefined;
7072
- }>]>>>;
7073
- createdAtLocation: z.ZodString;
7168
+ }>]>>>>;
7074
7169
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7075
- originalActionId: z.ZodOptional<z.ZodString>;
7170
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7076
7171
  }, {
7077
7172
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
7078
7173
  }>, "strip", z.ZodTypeAny, {
@@ -7121,7 +7216,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7121
7216
  filename: string;
7122
7217
  originalFilename: string;
7123
7218
  }[] | [string, string] | undefined>;
7124
- createdAtLocation: string;
7219
+ createdBySignature?: string | null | undefined;
7220
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7125
7221
  annotation?: Record<string, string | number | boolean | {
7126
7222
  type: string;
7127
7223
  filename: string;
@@ -7159,8 +7255,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7159
7255
  option: string;
7160
7256
  filename: string;
7161
7257
  originalFilename: string;
7162
- }[] | [string, string] | undefined> | undefined;
7163
- originalActionId?: string | undefined;
7258
+ }[] | [string, string] | undefined> | null | undefined;
7259
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7164
7260
  }, {
7165
7261
  type: "PRINT_CERTIFICATE";
7166
7262
  id: string;
@@ -7207,7 +7303,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7207
7303
  filename: string;
7208
7304
  originalFilename: string;
7209
7305
  }[] | [string, string] | undefined>;
7210
- createdAtLocation: string;
7306
+ createdBySignature?: string | null | undefined;
7307
+ createdAtLocation?: string | null | undefined;
7211
7308
  annotation?: Record<string, string | number | boolean | {
7212
7309
  type: string;
7213
7310
  filename: string;
@@ -7245,14 +7342,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7245
7342
  option: string;
7246
7343
  filename: string;
7247
7344
  originalFilename: string;
7248
- }[] | [string, string] | undefined> | undefined;
7249
- originalActionId?: string | undefined;
7345
+ }[] | [string, string] | undefined> | null | undefined;
7346
+ originalActionId?: string | null | undefined;
7250
7347
  }>, z.ZodObject<z.objectUtil.extendShape<{
7251
7348
  id: z.ZodString;
7252
7349
  transactionId: z.ZodString;
7253
7350
  createdAt: z.ZodString;
7254
7351
  createdBy: z.ZodString;
7255
7352
  createdByRole: z.ZodString;
7353
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7354
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7256
7355
  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
7356
  filename: z.ZodString;
7258
7357
  originalFilename: z.ZodString;
@@ -7367,7 +7466,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7367
7466
  addressLine3?: string | null | undefined;
7368
7467
  postcodeOrZip?: string | null | undefined;
7369
7468
  }>]>>;
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<{
7469
+ 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
7470
  filename: z.ZodString;
7372
7471
  originalFilename: z.ZodString;
7373
7472
  type: z.ZodString;
@@ -7480,10 +7579,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7480
7579
  addressLine2?: string | null | undefined;
7481
7580
  addressLine3?: string | null | undefined;
7482
7581
  postcodeOrZip?: string | null | undefined;
7483
- }>]>>>;
7484
- createdAtLocation: z.ZodString;
7582
+ }>]>>>>;
7485
7583
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7486
- originalActionId: z.ZodOptional<z.ZodString>;
7584
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7487
7585
  }, {
7488
7586
  type: z.ZodLiteral<"READ">;
7489
7587
  }>, "strip", z.ZodTypeAny, {
@@ -7532,7 +7630,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7532
7630
  filename: string;
7533
7631
  originalFilename: string;
7534
7632
  }[] | [string, string] | undefined>;
7535
- createdAtLocation: string;
7633
+ createdBySignature?: string | null | undefined;
7634
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7536
7635
  annotation?: Record<string, string | number | boolean | {
7537
7636
  type: string;
7538
7637
  filename: string;
@@ -7570,8 +7669,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7570
7669
  option: string;
7571
7670
  filename: string;
7572
7671
  originalFilename: string;
7573
- }[] | [string, string] | undefined> | undefined;
7574
- originalActionId?: string | undefined;
7672
+ }[] | [string, string] | undefined> | null | undefined;
7673
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7575
7674
  }, {
7576
7675
  type: "READ";
7577
7676
  id: string;
@@ -7618,7 +7717,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7618
7717
  filename: string;
7619
7718
  originalFilename: string;
7620
7719
  }[] | [string, string] | undefined>;
7621
- createdAtLocation: string;
7720
+ createdBySignature?: string | null | undefined;
7721
+ createdAtLocation?: string | null | undefined;
7622
7722
  annotation?: Record<string, string | number | boolean | {
7623
7723
  type: string;
7624
7724
  filename: string;
@@ -7656,8 +7756,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7656
7756
  option: string;
7657
7757
  filename: string;
7658
7758
  originalFilename: string;
7659
- }[] | [string, string] | undefined> | undefined;
7660
- originalActionId?: string | undefined;
7759
+ }[] | [string, string] | undefined> | null | undefined;
7760
+ originalActionId?: string | null | undefined;
7661
7761
  }>]>;
7662
7762
  export type ActionDocument = z.infer<typeof ActionDocument>;
7663
7763
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -7666,6 +7766,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7666
7766
  createdAt: z.ZodString;
7667
7767
  createdBy: z.ZodString;
7668
7768
  createdByRole: z.ZodString;
7769
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7770
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7669
7771
  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
7772
  filename: z.ZodString;
7671
7773
  originalFilename: z.ZodString;
@@ -7780,7 +7882,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7780
7882
  addressLine3?: string | null | undefined;
7781
7883
  postcodeOrZip?: string | null | undefined;
7782
7884
  }>]>>;
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<{
7885
+ 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
7886
  filename: z.ZodString;
7785
7887
  originalFilename: z.ZodString;
7786
7888
  type: z.ZodString;
@@ -7893,10 +7995,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7893
7995
  addressLine2?: string | null | undefined;
7894
7996
  addressLine3?: string | null | undefined;
7895
7997
  postcodeOrZip?: string | null | undefined;
7896
- }>]>>>;
7897
- createdAtLocation: z.ZodString;
7998
+ }>]>>>>;
7898
7999
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7899
- originalActionId: z.ZodOptional<z.ZodString>;
8000
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7900
8001
  }, "declaration" | "annotation">, {
7901
8002
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7902
8003
  status: z.ZodLiteral<"Rejected">;
@@ -7908,8 +8009,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7908
8009
  createdAt: string;
7909
8010
  createdBy: string;
7910
8011
  createdByRole: string;
7911
- createdAtLocation: string;
7912
- originalActionId?: string | undefined;
8012
+ createdBySignature?: string | null | undefined;
8013
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8014
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7913
8015
  }, {
7914
8016
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7915
8017
  id: string;
@@ -7918,8 +8020,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7918
8020
  createdAt: string;
7919
8021
  createdBy: string;
7920
8022
  createdByRole: string;
7921
- createdAtLocation: string;
7922
- originalActionId?: string | undefined;
8023
+ createdBySignature?: string | null | undefined;
8024
+ createdAtLocation?: string | null | undefined;
8025
+ originalActionId?: string | null | undefined;
7923
8026
  }>;
7924
8027
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
7925
8028
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
@@ -7928,6 +8031,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7928
8031
  createdAt: z.ZodString;
7929
8032
  createdBy: z.ZodString;
7930
8033
  createdByRole: z.ZodString;
8034
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8035
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7931
8036
  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
8037
  filename: z.ZodString;
7933
8038
  originalFilename: z.ZodString;
@@ -8042,7 +8147,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8042
8147
  addressLine3?: string | null | undefined;
8043
8148
  postcodeOrZip?: string | null | undefined;
8044
8149
  }>]>>;
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<{
8150
+ 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
8151
  filename: z.ZodString;
8047
8152
  originalFilename: z.ZodString;
8048
8153
  type: z.ZodString;
@@ -8155,10 +8260,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8155
8260
  addressLine2?: string | null | undefined;
8156
8261
  addressLine3?: string | null | undefined;
8157
8262
  postcodeOrZip?: string | null | undefined;
8158
- }>]>>>;
8159
- createdAtLocation: z.ZodString;
8263
+ }>]>>>>;
8160
8264
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8161
- originalActionId: z.ZodOptional<z.ZodString>;
8265
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8162
8266
  }, {
8163
8267
  type: z.ZodLiteral<"CREATE">;
8164
8268
  }>, "strip", z.ZodTypeAny, {
@@ -8207,7 +8311,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8207
8311
  filename: string;
8208
8312
  originalFilename: string;
8209
8313
  }[] | [string, string] | undefined>;
8210
- createdAtLocation: string;
8314
+ createdBySignature?: string | null | undefined;
8315
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8211
8316
  annotation?: Record<string, string | number | boolean | {
8212
8317
  type: string;
8213
8318
  filename: string;
@@ -8245,8 +8350,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8245
8350
  option: string;
8246
8351
  filename: string;
8247
8352
  originalFilename: string;
8248
- }[] | [string, string] | undefined> | undefined;
8249
- originalActionId?: string | undefined;
8353
+ }[] | [string, string] | undefined> | null | undefined;
8354
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8250
8355
  }, {
8251
8356
  type: "CREATE";
8252
8357
  id: string;
@@ -8293,7 +8398,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8293
8398
  filename: string;
8294
8399
  originalFilename: string;
8295
8400
  }[] | [string, string] | undefined>;
8296
- createdAtLocation: string;
8401
+ createdBySignature?: string | null | undefined;
8402
+ createdAtLocation?: string | null | undefined;
8297
8403
  annotation?: Record<string, string | number | boolean | {
8298
8404
  type: string;
8299
8405
  filename: string;
@@ -8331,14 +8437,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8331
8437
  option: string;
8332
8438
  filename: string;
8333
8439
  originalFilename: string;
8334
- }[] | [string, string] | undefined> | undefined;
8335
- originalActionId?: string | undefined;
8440
+ }[] | [string, string] | undefined> | null | undefined;
8441
+ originalActionId?: string | null | undefined;
8336
8442
  }>, z.ZodObject<z.objectUtil.extendShape<{
8337
8443
  id: z.ZodString;
8338
8444
  transactionId: z.ZodString;
8339
8445
  createdAt: z.ZodString;
8340
8446
  createdBy: z.ZodString;
8341
8447
  createdByRole: z.ZodString;
8448
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8449
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8342
8450
  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
8451
  filename: z.ZodString;
8344
8452
  originalFilename: z.ZodString;
@@ -8453,7 +8561,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8453
8561
  addressLine3?: string | null | undefined;
8454
8562
  postcodeOrZip?: string | null | undefined;
8455
8563
  }>]>>;
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<{
8564
+ 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
8565
  filename: z.ZodString;
8458
8566
  originalFilename: z.ZodString;
8459
8567
  type: z.ZodString;
@@ -8566,10 +8674,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8566
8674
  addressLine2?: string | null | undefined;
8567
8675
  addressLine3?: string | null | undefined;
8568
8676
  postcodeOrZip?: string | null | undefined;
8569
- }>]>>>;
8570
- createdAtLocation: z.ZodString;
8677
+ }>]>>>>;
8571
8678
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8572
- originalActionId: z.ZodOptional<z.ZodString>;
8679
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8573
8680
  }, {
8574
8681
  type: z.ZodLiteral<"VALIDATE">;
8575
8682
  }>, "strip", z.ZodTypeAny, {
@@ -8618,7 +8725,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8618
8725
  filename: string;
8619
8726
  originalFilename: string;
8620
8727
  }[] | [string, string] | undefined>;
8621
- createdAtLocation: string;
8728
+ createdBySignature?: string | null | undefined;
8729
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8622
8730
  annotation?: Record<string, string | number | boolean | {
8623
8731
  type: string;
8624
8732
  filename: string;
@@ -8656,8 +8764,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8656
8764
  option: string;
8657
8765
  filename: string;
8658
8766
  originalFilename: string;
8659
- }[] | [string, string] | undefined> | undefined;
8660
- originalActionId?: string | undefined;
8767
+ }[] | [string, string] | undefined> | null | undefined;
8768
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8661
8769
  }, {
8662
8770
  type: "VALIDATE";
8663
8771
  id: string;
@@ -8704,7 +8812,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8704
8812
  filename: string;
8705
8813
  originalFilename: string;
8706
8814
  }[] | [string, string] | undefined>;
8707
- createdAtLocation: string;
8815
+ createdBySignature?: string | null | undefined;
8816
+ createdAtLocation?: string | null | undefined;
8708
8817
  annotation?: Record<string, string | number | boolean | {
8709
8818
  type: string;
8710
8819
  filename: string;
@@ -8742,14 +8851,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8742
8851
  option: string;
8743
8852
  filename: string;
8744
8853
  originalFilename: string;
8745
- }[] | [string, string] | undefined> | undefined;
8746
- originalActionId?: string | undefined;
8854
+ }[] | [string, string] | undefined> | null | undefined;
8855
+ originalActionId?: string | null | undefined;
8747
8856
  }>, z.ZodObject<z.objectUtil.extendShape<{
8748
8857
  id: z.ZodString;
8749
8858
  transactionId: z.ZodString;
8750
8859
  createdAt: z.ZodString;
8751
8860
  createdBy: z.ZodString;
8752
8861
  createdByRole: z.ZodString;
8862
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8863
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8753
8864
  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
8865
  filename: z.ZodString;
8755
8866
  originalFilename: z.ZodString;
@@ -8864,7 +8975,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8864
8975
  addressLine3?: string | null | undefined;
8865
8976
  postcodeOrZip?: string | null | undefined;
8866
8977
  }>]>>;
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<{
8978
+ 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
8979
  filename: z.ZodString;
8869
8980
  originalFilename: z.ZodString;
8870
8981
  type: z.ZodString;
@@ -8977,16 +9088,29 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8977
9088
  addressLine2?: string | null | undefined;
8978
9089
  addressLine3?: string | null | undefined;
8979
9090
  postcodeOrZip?: string | null | undefined;
8980
- }>]>>>;
8981
- createdAtLocation: z.ZodString;
9091
+ }>]>>>>;
8982
9092
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8983
- originalActionId: z.ZodOptional<z.ZodString>;
9093
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8984
9094
  }, {
8985
9095
  type: z.ZodLiteral<"REJECT">;
9096
+ reason: z.ZodObject<{
9097
+ message: z.ZodString;
9098
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9099
+ }, "strip", z.ZodTypeAny, {
9100
+ message: string;
9101
+ isDuplicate?: boolean | undefined;
9102
+ }, {
9103
+ message: string;
9104
+ isDuplicate?: boolean | undefined;
9105
+ }>;
8986
9106
  }>, "strip", z.ZodTypeAny, {
8987
9107
  type: "REJECT";
8988
9108
  id: string;
8989
9109
  status: "Rejected" | "Requested" | "Accepted";
9110
+ reason: {
9111
+ message: string;
9112
+ isDuplicate?: boolean | undefined;
9113
+ };
8990
9114
  transactionId: string;
8991
9115
  createdAt: string;
8992
9116
  createdBy: string;
@@ -9029,7 +9153,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9029
9153
  filename: string;
9030
9154
  originalFilename: string;
9031
9155
  }[] | [string, string] | undefined>;
9032
- createdAtLocation: string;
9156
+ createdBySignature?: string | null | undefined;
9157
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9033
9158
  annotation?: Record<string, string | number | boolean | {
9034
9159
  type: string;
9035
9160
  filename: string;
@@ -9067,12 +9192,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9067
9192
  option: string;
9068
9193
  filename: string;
9069
9194
  originalFilename: string;
9070
- }[] | [string, string] | undefined> | undefined;
9071
- originalActionId?: string | undefined;
9195
+ }[] | [string, string] | undefined> | null | undefined;
9196
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9072
9197
  }, {
9073
9198
  type: "REJECT";
9074
9199
  id: string;
9075
9200
  status: "Rejected" | "Requested" | "Accepted";
9201
+ reason: {
9202
+ message: string;
9203
+ isDuplicate?: boolean | undefined;
9204
+ };
9076
9205
  transactionId: string;
9077
9206
  createdAt: string;
9078
9207
  createdBy: string;
@@ -9115,7 +9244,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9115
9244
  filename: string;
9116
9245
  originalFilename: string;
9117
9246
  }[] | [string, string] | undefined>;
9118
- createdAtLocation: string;
9247
+ createdBySignature?: string | null | undefined;
9248
+ createdAtLocation?: string | null | undefined;
9119
9249
  annotation?: Record<string, string | number | boolean | {
9120
9250
  type: string;
9121
9251
  filename: string;
@@ -9153,14 +9283,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9153
9283
  option: string;
9154
9284
  filename: string;
9155
9285
  originalFilename: string;
9156
- }[] | [string, string] | undefined> | undefined;
9157
- originalActionId?: string | undefined;
9286
+ }[] | [string, string] | undefined> | null | undefined;
9287
+ originalActionId?: string | null | undefined;
9158
9288
  }>, z.ZodObject<z.objectUtil.extendShape<{
9159
9289
  id: z.ZodString;
9160
9290
  transactionId: z.ZodString;
9161
9291
  createdAt: z.ZodString;
9162
9292
  createdBy: z.ZodString;
9163
9293
  createdByRole: z.ZodString;
9294
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9295
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9164
9296
  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
9297
  filename: z.ZodString;
9166
9298
  originalFilename: z.ZodString;
@@ -9275,7 +9407,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9275
9407
  addressLine3?: string | null | undefined;
9276
9408
  postcodeOrZip?: string | null | undefined;
9277
9409
  }>]>>;
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<{
9410
+ 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
9411
  filename: z.ZodString;
9280
9412
  originalFilename: z.ZodString;
9281
9413
  type: z.ZodString;
@@ -9388,10 +9520,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9388
9520
  addressLine2?: string | null | undefined;
9389
9521
  addressLine3?: string | null | undefined;
9390
9522
  postcodeOrZip?: string | null | undefined;
9391
- }>]>>>;
9392
- createdAtLocation: z.ZodString;
9523
+ }>]>>>>;
9393
9524
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9394
- originalActionId: z.ZodOptional<z.ZodString>;
9525
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9395
9526
  }, {
9396
9527
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
9397
9528
  }>, "strip", z.ZodTypeAny, {
@@ -9440,7 +9571,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9440
9571
  filename: string;
9441
9572
  originalFilename: string;
9442
9573
  }[] | [string, string] | undefined>;
9443
- createdAtLocation: string;
9574
+ createdBySignature?: string | null | undefined;
9575
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9444
9576
  annotation?: Record<string, string | number | boolean | {
9445
9577
  type: string;
9446
9578
  filename: string;
@@ -9478,8 +9610,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9478
9610
  option: string;
9479
9611
  filename: string;
9480
9612
  originalFilename: string;
9481
- }[] | [string, string] | undefined> | undefined;
9482
- originalActionId?: string | undefined;
9613
+ }[] | [string, string] | undefined> | null | undefined;
9614
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9483
9615
  }, {
9484
9616
  type: "MARKED_AS_DUPLICATE";
9485
9617
  id: string;
@@ -9526,7 +9658,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9526
9658
  filename: string;
9527
9659
  originalFilename: string;
9528
9660
  }[] | [string, string] | undefined>;
9529
- createdAtLocation: string;
9661
+ createdBySignature?: string | null | undefined;
9662
+ createdAtLocation?: string | null | undefined;
9530
9663
  annotation?: Record<string, string | number | boolean | {
9531
9664
  type: string;
9532
9665
  filename: string;
@@ -9564,14 +9697,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9564
9697
  option: string;
9565
9698
  filename: string;
9566
9699
  originalFilename: string;
9567
- }[] | [string, string] | undefined> | undefined;
9568
- originalActionId?: string | undefined;
9700
+ }[] | [string, string] | undefined> | null | undefined;
9701
+ originalActionId?: string | null | undefined;
9569
9702
  }>, z.ZodObject<z.objectUtil.extendShape<{
9570
9703
  id: z.ZodString;
9571
9704
  transactionId: z.ZodString;
9572
9705
  createdAt: z.ZodString;
9573
9706
  createdBy: z.ZodString;
9574
9707
  createdByRole: z.ZodString;
9708
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9709
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9575
9710
  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
9711
  filename: z.ZodString;
9577
9712
  originalFilename: z.ZodString;
@@ -9686,7 +9821,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9686
9821
  addressLine3?: string | null | undefined;
9687
9822
  postcodeOrZip?: string | null | undefined;
9688
9823
  }>]>>;
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<{
9824
+ 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
9825
  filename: z.ZodString;
9691
9826
  originalFilename: z.ZodString;
9692
9827
  type: z.ZodString;
@@ -9799,16 +9934,29 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9799
9934
  addressLine2?: string | null | undefined;
9800
9935
  addressLine3?: string | null | undefined;
9801
9936
  postcodeOrZip?: string | null | undefined;
9802
- }>]>>>;
9803
- createdAtLocation: z.ZodString;
9937
+ }>]>>>>;
9804
9938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9805
- originalActionId: z.ZodOptional<z.ZodString>;
9939
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9806
9940
  }, {
9807
9941
  type: z.ZodLiteral<"ARCHIVE">;
9942
+ reason: z.ZodObject<{
9943
+ message: z.ZodString;
9944
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9945
+ }, "strip", z.ZodTypeAny, {
9946
+ message: string;
9947
+ isDuplicate?: boolean | undefined;
9948
+ }, {
9949
+ message: string;
9950
+ isDuplicate?: boolean | undefined;
9951
+ }>;
9808
9952
  }>, "strip", z.ZodTypeAny, {
9809
9953
  type: "ARCHIVE";
9810
9954
  id: string;
9811
9955
  status: "Rejected" | "Requested" | "Accepted";
9956
+ reason: {
9957
+ message: string;
9958
+ isDuplicate?: boolean | undefined;
9959
+ };
9812
9960
  transactionId: string;
9813
9961
  createdAt: string;
9814
9962
  createdBy: string;
@@ -9851,7 +9999,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9851
9999
  filename: string;
9852
10000
  originalFilename: string;
9853
10001
  }[] | [string, string] | undefined>;
9854
- createdAtLocation: string;
10002
+ createdBySignature?: string | null | undefined;
10003
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9855
10004
  annotation?: Record<string, string | number | boolean | {
9856
10005
  type: string;
9857
10006
  filename: string;
@@ -9889,12 +10038,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9889
10038
  option: string;
9890
10039
  filename: string;
9891
10040
  originalFilename: string;
9892
- }[] | [string, string] | undefined> | undefined;
9893
- originalActionId?: string | undefined;
10041
+ }[] | [string, string] | undefined> | null | undefined;
10042
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9894
10043
  }, {
9895
10044
  type: "ARCHIVE";
9896
10045
  id: string;
9897
10046
  status: "Rejected" | "Requested" | "Accepted";
10047
+ reason: {
10048
+ message: string;
10049
+ isDuplicate?: boolean | undefined;
10050
+ };
9898
10051
  transactionId: string;
9899
10052
  createdAt: string;
9900
10053
  createdBy: string;
@@ -9937,7 +10090,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9937
10090
  filename: string;
9938
10091
  originalFilename: string;
9939
10092
  }[] | [string, string] | undefined>;
9940
- createdAtLocation: string;
10093
+ createdBySignature?: string | null | undefined;
10094
+ createdAtLocation?: string | null | undefined;
9941
10095
  annotation?: Record<string, string | number | boolean | {
9942
10096
  type: string;
9943
10097
  filename: string;
@@ -9975,14 +10129,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9975
10129
  option: string;
9976
10130
  filename: string;
9977
10131
  originalFilename: string;
9978
- }[] | [string, string] | undefined> | undefined;
9979
- originalActionId?: string | undefined;
10132
+ }[] | [string, string] | undefined> | null | undefined;
10133
+ originalActionId?: string | null | undefined;
9980
10134
  }>, z.ZodObject<z.objectUtil.extendShape<{
9981
10135
  id: z.ZodString;
9982
10136
  transactionId: z.ZodString;
9983
10137
  createdAt: z.ZodString;
9984
10138
  createdBy: z.ZodString;
9985
10139
  createdByRole: z.ZodString;
10140
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10141
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9986
10142
  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
10143
  filename: z.ZodString;
9988
10144
  originalFilename: z.ZodString;
@@ -10097,7 +10253,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10097
10253
  addressLine3?: string | null | undefined;
10098
10254
  postcodeOrZip?: string | null | undefined;
10099
10255
  }>]>>;
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<{
10256
+ 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
10257
  filename: z.ZodString;
10102
10258
  originalFilename: z.ZodString;
10103
10259
  type: z.ZodString;
@@ -10210,10 +10366,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10210
10366
  addressLine2?: string | null | undefined;
10211
10367
  addressLine3?: string | null | undefined;
10212
10368
  postcodeOrZip?: string | null | undefined;
10213
- }>]>>>;
10214
- createdAtLocation: z.ZodString;
10369
+ }>]>>>>;
10215
10370
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10216
- originalActionId: z.ZodOptional<z.ZodString>;
10371
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10217
10372
  }, {
10218
10373
  type: z.ZodLiteral<"NOTIFY">;
10219
10374
  }>, "strip", z.ZodTypeAny, {
@@ -10262,7 +10417,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10262
10417
  filename: string;
10263
10418
  originalFilename: string;
10264
10419
  }[] | [string, string] | undefined>;
10265
- createdAtLocation: string;
10420
+ createdBySignature?: string | null | undefined;
10421
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10266
10422
  annotation?: Record<string, string | number | boolean | {
10267
10423
  type: string;
10268
10424
  filename: string;
@@ -10300,8 +10456,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10300
10456
  option: string;
10301
10457
  filename: string;
10302
10458
  originalFilename: string;
10303
- }[] | [string, string] | undefined> | undefined;
10304
- originalActionId?: string | undefined;
10459
+ }[] | [string, string] | undefined> | null | undefined;
10460
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10305
10461
  }, {
10306
10462
  type: "NOTIFY";
10307
10463
  id: string;
@@ -10348,7 +10504,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10348
10504
  filename: string;
10349
10505
  originalFilename: string;
10350
10506
  }[] | [string, string] | undefined>;
10351
- createdAtLocation: string;
10507
+ createdBySignature?: string | null | undefined;
10508
+ createdAtLocation?: string | null | undefined;
10352
10509
  annotation?: Record<string, string | number | boolean | {
10353
10510
  type: string;
10354
10511
  filename: string;
@@ -10386,14 +10543,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10386
10543
  option: string;
10387
10544
  filename: string;
10388
10545
  originalFilename: string;
10389
- }[] | [string, string] | undefined> | undefined;
10390
- originalActionId?: string | undefined;
10546
+ }[] | [string, string] | undefined> | null | undefined;
10547
+ originalActionId?: string | null | undefined;
10391
10548
  }>, z.ZodObject<z.objectUtil.extendShape<{
10392
10549
  id: z.ZodString;
10393
10550
  transactionId: z.ZodString;
10394
10551
  createdAt: z.ZodString;
10395
10552
  createdBy: z.ZodString;
10396
10553
  createdByRole: z.ZodString;
10554
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10555
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10397
10556
  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
10557
  filename: z.ZodString;
10399
10558
  originalFilename: z.ZodString;
@@ -10508,7 +10667,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10508
10667
  addressLine3?: string | null | undefined;
10509
10668
  postcodeOrZip?: string | null | undefined;
10510
10669
  }>]>>;
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<{
10670
+ 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
10671
  filename: z.ZodString;
10513
10672
  originalFilename: z.ZodString;
10514
10673
  type: z.ZodString;
@@ -10621,10 +10780,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10621
10780
  addressLine2?: string | null | undefined;
10622
10781
  addressLine3?: string | null | undefined;
10623
10782
  postcodeOrZip?: string | null | undefined;
10624
- }>]>>>;
10625
- createdAtLocation: z.ZodString;
10783
+ }>]>>>>;
10626
10784
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10627
- originalActionId: z.ZodOptional<z.ZodString>;
10785
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10628
10786
  }, {
10629
10787
  type: z.ZodLiteral<"REGISTER">;
10630
10788
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -10674,7 +10832,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10674
10832
  filename: string;
10675
10833
  originalFilename: string;
10676
10834
  }[] | [string, string] | undefined>;
10677
- createdAtLocation: string;
10835
+ createdBySignature?: string | null | undefined;
10836
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10678
10837
  annotation?: Record<string, string | number | boolean | {
10679
10838
  type: string;
10680
10839
  filename: string;
@@ -10712,8 +10871,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10712
10871
  option: string;
10713
10872
  filename: string;
10714
10873
  originalFilename: string;
10715
- }[] | [string, string] | undefined> | undefined;
10716
- originalActionId?: string | undefined;
10874
+ }[] | [string, string] | undefined> | null | undefined;
10875
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10717
10876
  registrationNumber?: string | undefined;
10718
10877
  }, {
10719
10878
  type: "REGISTER";
@@ -10761,7 +10920,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10761
10920
  filename: string;
10762
10921
  originalFilename: string;
10763
10922
  }[] | [string, string] | undefined>;
10764
- createdAtLocation: string;
10923
+ createdBySignature?: string | null | undefined;
10924
+ createdAtLocation?: string | null | undefined;
10765
10925
  annotation?: Record<string, string | number | boolean | {
10766
10926
  type: string;
10767
10927
  filename: string;
@@ -10799,8 +10959,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10799
10959
  option: string;
10800
10960
  filename: string;
10801
10961
  originalFilename: string;
10802
- }[] | [string, string] | undefined> | undefined;
10803
- originalActionId?: string | undefined;
10962
+ }[] | [string, string] | undefined> | null | undefined;
10963
+ originalActionId?: string | null | undefined;
10804
10964
  registrationNumber?: string | undefined;
10805
10965
  }>, z.ZodObject<z.objectUtil.extendShape<{
10806
10966
  id: z.ZodString;
@@ -10808,6 +10968,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10808
10968
  createdAt: z.ZodString;
10809
10969
  createdBy: z.ZodString;
10810
10970
  createdByRole: z.ZodString;
10971
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10972
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10811
10973
  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
10974
  filename: z.ZodString;
10813
10975
  originalFilename: z.ZodString;
@@ -10922,7 +11084,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10922
11084
  addressLine3?: string | null | undefined;
10923
11085
  postcodeOrZip?: string | null | undefined;
10924
11086
  }>]>>;
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<{
11087
+ 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
11088
  filename: z.ZodString;
10927
11089
  originalFilename: z.ZodString;
10928
11090
  type: z.ZodString;
@@ -11035,10 +11197,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11035
11197
  addressLine2?: string | null | undefined;
11036
11198
  addressLine3?: string | null | undefined;
11037
11199
  postcodeOrZip?: string | null | undefined;
11038
- }>]>>>;
11039
- createdAtLocation: z.ZodString;
11200
+ }>]>>>>;
11040
11201
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11041
- originalActionId: z.ZodOptional<z.ZodString>;
11202
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11042
11203
  }, {
11043
11204
  type: z.ZodLiteral<"DECLARE">;
11044
11205
  }>, "strip", z.ZodTypeAny, {
@@ -11087,7 +11248,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11087
11248
  filename: string;
11088
11249
  originalFilename: string;
11089
11250
  }[] | [string, string] | undefined>;
11090
- createdAtLocation: string;
11251
+ createdBySignature?: string | null | undefined;
11252
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11091
11253
  annotation?: Record<string, string | number | boolean | {
11092
11254
  type: string;
11093
11255
  filename: string;
@@ -11125,8 +11287,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11125
11287
  option: string;
11126
11288
  filename: string;
11127
11289
  originalFilename: string;
11128
- }[] | [string, string] | undefined> | undefined;
11129
- originalActionId?: string | undefined;
11290
+ }[] | [string, string] | undefined> | null | undefined;
11291
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11130
11292
  }, {
11131
11293
  type: "DECLARE";
11132
11294
  id: string;
@@ -11173,7 +11335,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11173
11335
  filename: string;
11174
11336
  originalFilename: string;
11175
11337
  }[] | [string, string] | undefined>;
11176
- createdAtLocation: string;
11338
+ createdBySignature?: string | null | undefined;
11339
+ createdAtLocation?: string | null | undefined;
11177
11340
  annotation?: Record<string, string | number | boolean | {
11178
11341
  type: string;
11179
11342
  filename: string;
@@ -11211,14 +11374,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11211
11374
  option: string;
11212
11375
  filename: string;
11213
11376
  originalFilename: string;
11214
- }[] | [string, string] | undefined> | undefined;
11215
- originalActionId?: string | undefined;
11377
+ }[] | [string, string] | undefined> | null | undefined;
11378
+ originalActionId?: string | null | undefined;
11216
11379
  }>, z.ZodObject<z.objectUtil.extendShape<{
11217
11380
  id: z.ZodString;
11218
11381
  transactionId: z.ZodString;
11219
11382
  createdAt: z.ZodString;
11220
11383
  createdBy: z.ZodString;
11221
11384
  createdByRole: z.ZodString;
11385
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11386
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11222
11387
  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
11388
  filename: z.ZodString;
11224
11389
  originalFilename: z.ZodString;
@@ -11333,7 +11498,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11333
11498
  addressLine3?: string | null | undefined;
11334
11499
  postcodeOrZip?: string | null | undefined;
11335
11500
  }>]>>;
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<{
11501
+ 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
11502
  filename: z.ZodString;
11338
11503
  originalFilename: z.ZodString;
11339
11504
  type: z.ZodString;
@@ -11446,10 +11611,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11446
11611
  addressLine2?: string | null | undefined;
11447
11612
  addressLine3?: string | null | undefined;
11448
11613
  postcodeOrZip?: string | null | undefined;
11449
- }>]>>>;
11450
- createdAtLocation: z.ZodString;
11614
+ }>]>>>>;
11451
11615
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11452
- originalActionId: z.ZodOptional<z.ZodString>;
11616
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11453
11617
  }, {
11454
11618
  type: z.ZodLiteral<"ASSIGN">;
11455
11619
  assignedTo: z.ZodString;
@@ -11499,8 +11663,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11499
11663
  filename: string;
11500
11664
  originalFilename: string;
11501
11665
  }[] | [string, string] | undefined>;
11502
- createdAtLocation: string;
11503
11666
  assignedTo: string;
11667
+ createdBySignature?: string | null | undefined;
11668
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11504
11669
  annotation?: Record<string, string | number | boolean | {
11505
11670
  type: string;
11506
11671
  filename: string;
@@ -11538,8 +11703,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11538
11703
  option: string;
11539
11704
  filename: string;
11540
11705
  originalFilename: string;
11541
- }[] | [string, string] | undefined> | undefined;
11542
- originalActionId?: string | undefined;
11706
+ }[] | [string, string] | undefined> | null | undefined;
11707
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11543
11708
  }, {
11544
11709
  type: "ASSIGN";
11545
11710
  id: string;
@@ -11586,8 +11751,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11586
11751
  filename: string;
11587
11752
  originalFilename: string;
11588
11753
  }[] | [string, string] | undefined>;
11589
- createdAtLocation: string;
11590
11754
  assignedTo: string;
11755
+ createdBySignature?: string | null | undefined;
11756
+ createdAtLocation?: string | null | undefined;
11591
11757
  annotation?: Record<string, string | number | boolean | {
11592
11758
  type: string;
11593
11759
  filename: string;
@@ -11625,14 +11791,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11625
11791
  option: string;
11626
11792
  filename: string;
11627
11793
  originalFilename: string;
11628
- }[] | [string, string] | undefined> | undefined;
11629
- originalActionId?: string | undefined;
11794
+ }[] | [string, string] | undefined> | null | undefined;
11795
+ originalActionId?: string | null | undefined;
11630
11796
  }>, z.ZodObject<z.objectUtil.extendShape<{
11631
11797
  id: z.ZodString;
11632
11798
  transactionId: z.ZodString;
11633
11799
  createdAt: z.ZodString;
11634
11800
  createdBy: z.ZodString;
11635
11801
  createdByRole: z.ZodString;
11802
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11803
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11636
11804
  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
11805
  filename: z.ZodString;
11638
11806
  originalFilename: z.ZodString;
@@ -11747,7 +11915,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11747
11915
  addressLine3?: string | null | undefined;
11748
11916
  postcodeOrZip?: string | null | undefined;
11749
11917
  }>]>>;
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<{
11918
+ 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
11919
  filename: z.ZodString;
11752
11920
  originalFilename: z.ZodString;
11753
11921
  type: z.ZodString;
@@ -11860,10 +12028,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11860
12028
  addressLine2?: string | null | undefined;
11861
12029
  addressLine3?: string | null | undefined;
11862
12030
  postcodeOrZip?: string | null | undefined;
11863
- }>]>>>;
11864
- createdAtLocation: z.ZodString;
12031
+ }>]>>>>;
11865
12032
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11866
- originalActionId: z.ZodOptional<z.ZodString>;
12033
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11867
12034
  }, {
11868
12035
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
11869
12036
  }>, "strip", z.ZodTypeAny, {
@@ -11912,7 +12079,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11912
12079
  filename: string;
11913
12080
  originalFilename: string;
11914
12081
  }[] | [string, string] | undefined>;
11915
- createdAtLocation: string;
12082
+ createdBySignature?: string | null | undefined;
12083
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11916
12084
  annotation?: Record<string, string | number | boolean | {
11917
12085
  type: string;
11918
12086
  filename: string;
@@ -11950,8 +12118,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11950
12118
  option: string;
11951
12119
  filename: string;
11952
12120
  originalFilename: string;
11953
- }[] | [string, string] | undefined> | undefined;
11954
- originalActionId?: string | undefined;
12121
+ }[] | [string, string] | undefined> | null | undefined;
12122
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11955
12123
  }, {
11956
12124
  type: "REQUEST_CORRECTION";
11957
12125
  id: string;
@@ -11998,7 +12166,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11998
12166
  filename: string;
11999
12167
  originalFilename: string;
12000
12168
  }[] | [string, string] | undefined>;
12001
- createdAtLocation: string;
12169
+ createdBySignature?: string | null | undefined;
12170
+ createdAtLocation?: string | null | undefined;
12002
12171
  annotation?: Record<string, string | number | boolean | {
12003
12172
  type: string;
12004
12173
  filename: string;
@@ -12036,14 +12205,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12036
12205
  option: string;
12037
12206
  filename: string;
12038
12207
  originalFilename: string;
12039
- }[] | [string, string] | undefined> | undefined;
12040
- originalActionId?: string | undefined;
12208
+ }[] | [string, string] | undefined> | null | undefined;
12209
+ originalActionId?: string | null | undefined;
12041
12210
  }>, z.ZodObject<z.objectUtil.extendShape<{
12042
12211
  id: z.ZodString;
12043
12212
  transactionId: z.ZodString;
12044
12213
  createdAt: z.ZodString;
12045
12214
  createdBy: z.ZodString;
12046
12215
  createdByRole: z.ZodString;
12216
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12217
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12047
12218
  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
12219
  filename: z.ZodString;
12049
12220
  originalFilename: z.ZodString;
@@ -12158,7 +12329,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12158
12329
  addressLine3?: string | null | undefined;
12159
12330
  postcodeOrZip?: string | null | undefined;
12160
12331
  }>]>>;
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<{
12332
+ 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
12333
  filename: z.ZodString;
12163
12334
  originalFilename: z.ZodString;
12164
12335
  type: z.ZodString;
@@ -12271,10 +12442,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12271
12442
  addressLine2?: string | null | undefined;
12272
12443
  addressLine3?: string | null | undefined;
12273
12444
  postcodeOrZip?: string | null | undefined;
12274
- }>]>>>;
12275
- createdAtLocation: z.ZodString;
12445
+ }>]>>>>;
12276
12446
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12277
- originalActionId: z.ZodOptional<z.ZodString>;
12447
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12278
12448
  }, {
12279
12449
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
12280
12450
  requestId: z.ZodString;
@@ -12324,8 +12494,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12324
12494
  filename: string;
12325
12495
  originalFilename: string;
12326
12496
  }[] | [string, string] | undefined>;
12327
- createdAtLocation: string;
12328
12497
  requestId: string;
12498
+ createdBySignature?: string | null | undefined;
12499
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12329
12500
  annotation?: Record<string, string | number | boolean | {
12330
12501
  type: string;
12331
12502
  filename: string;
@@ -12363,8 +12534,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12363
12534
  option: string;
12364
12535
  filename: string;
12365
12536
  originalFilename: string;
12366
- }[] | [string, string] | undefined> | undefined;
12367
- originalActionId?: string | undefined;
12537
+ }[] | [string, string] | undefined> | null | undefined;
12538
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12368
12539
  }, {
12369
12540
  type: "APPROVE_CORRECTION";
12370
12541
  id: string;
@@ -12411,8 +12582,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12411
12582
  filename: string;
12412
12583
  originalFilename: string;
12413
12584
  }[] | [string, string] | undefined>;
12414
- createdAtLocation: string;
12415
12585
  requestId: string;
12586
+ createdBySignature?: string | null | undefined;
12587
+ createdAtLocation?: string | null | undefined;
12416
12588
  annotation?: Record<string, string | number | boolean | {
12417
12589
  type: string;
12418
12590
  filename: string;
@@ -12450,14 +12622,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12450
12622
  option: string;
12451
12623
  filename: string;
12452
12624
  originalFilename: string;
12453
- }[] | [string, string] | undefined> | undefined;
12454
- originalActionId?: string | undefined;
12625
+ }[] | [string, string] | undefined> | null | undefined;
12626
+ originalActionId?: string | null | undefined;
12455
12627
  }>, z.ZodObject<z.objectUtil.extendShape<{
12456
12628
  id: z.ZodString;
12457
12629
  transactionId: z.ZodString;
12458
12630
  createdAt: z.ZodString;
12459
12631
  createdBy: z.ZodString;
12460
12632
  createdByRole: z.ZodString;
12633
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12634
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12461
12635
  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
12636
  filename: z.ZodString;
12463
12637
  originalFilename: z.ZodString;
@@ -12572,7 +12746,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12572
12746
  addressLine3?: string | null | undefined;
12573
12747
  postcodeOrZip?: string | null | undefined;
12574
12748
  }>]>>;
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<{
12749
+ 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
12750
  filename: z.ZodString;
12577
12751
  originalFilename: z.ZodString;
12578
12752
  type: z.ZodString;
@@ -12685,10 +12859,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12685
12859
  addressLine2?: string | null | undefined;
12686
12860
  addressLine3?: string | null | undefined;
12687
12861
  postcodeOrZip?: string | null | undefined;
12688
- }>]>>>;
12689
- createdAtLocation: z.ZodString;
12862
+ }>]>>>>;
12690
12863
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12691
- originalActionId: z.ZodOptional<z.ZodString>;
12864
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12692
12865
  }, {
12693
12866
  type: z.ZodLiteral<"REJECT_CORRECTION">;
12694
12867
  requestId: z.ZodString;
@@ -12738,8 +12911,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12738
12911
  filename: string;
12739
12912
  originalFilename: string;
12740
12913
  }[] | [string, string] | undefined>;
12741
- createdAtLocation: string;
12742
12914
  requestId: string;
12915
+ createdBySignature?: string | null | undefined;
12916
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12743
12917
  annotation?: Record<string, string | number | boolean | {
12744
12918
  type: string;
12745
12919
  filename: string;
@@ -12777,8 +12951,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12777
12951
  option: string;
12778
12952
  filename: string;
12779
12953
  originalFilename: string;
12780
- }[] | [string, string] | undefined> | undefined;
12781
- originalActionId?: string | undefined;
12954
+ }[] | [string, string] | undefined> | null | undefined;
12955
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12782
12956
  }, {
12783
12957
  type: "REJECT_CORRECTION";
12784
12958
  id: string;
@@ -12825,8 +12999,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12825
12999
  filename: string;
12826
13000
  originalFilename: string;
12827
13001
  }[] | [string, string] | undefined>;
12828
- createdAtLocation: string;
12829
13002
  requestId: string;
13003
+ createdBySignature?: string | null | undefined;
13004
+ createdAtLocation?: string | null | undefined;
12830
13005
  annotation?: Record<string, string | number | boolean | {
12831
13006
  type: string;
12832
13007
  filename: string;
@@ -12864,14 +13039,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12864
13039
  option: string;
12865
13040
  filename: string;
12866
13041
  originalFilename: string;
12867
- }[] | [string, string] | undefined> | undefined;
12868
- originalActionId?: string | undefined;
13042
+ }[] | [string, string] | undefined> | null | undefined;
13043
+ originalActionId?: string | null | undefined;
12869
13044
  }>, z.ZodObject<z.objectUtil.extendShape<{
12870
13045
  id: z.ZodString;
12871
13046
  transactionId: z.ZodString;
12872
13047
  createdAt: z.ZodString;
12873
13048
  createdBy: z.ZodString;
12874
13049
  createdByRole: z.ZodString;
13050
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13051
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12875
13052
  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
13053
  filename: z.ZodString;
12877
13054
  originalFilename: z.ZodString;
@@ -12986,7 +13163,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12986
13163
  addressLine3?: string | null | undefined;
12987
13164
  postcodeOrZip?: string | null | undefined;
12988
13165
  }>]>>;
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<{
13166
+ 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
13167
  filename: z.ZodString;
12991
13168
  originalFilename: z.ZodString;
12992
13169
  type: z.ZodString;
@@ -13099,10 +13276,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13099
13276
  addressLine2?: string | null | undefined;
13100
13277
  addressLine3?: string | null | undefined;
13101
13278
  postcodeOrZip?: string | null | undefined;
13102
- }>]>>>;
13103
- createdAtLocation: z.ZodString;
13279
+ }>]>>>>;
13104
13280
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13105
- originalActionId: z.ZodOptional<z.ZodString>;
13281
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13106
13282
  }, {
13107
13283
  type: z.ZodLiteral<"UNASSIGN">;
13108
13284
  assignedTo: z.ZodLiteral<null>;
@@ -13152,8 +13328,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13152
13328
  filename: string;
13153
13329
  originalFilename: string;
13154
13330
  }[] | [string, string] | undefined>;
13155
- createdAtLocation: string;
13156
13331
  assignedTo: null;
13332
+ createdBySignature?: string | null | undefined;
13333
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13157
13334
  annotation?: Record<string, string | number | boolean | {
13158
13335
  type: string;
13159
13336
  filename: string;
@@ -13191,8 +13368,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13191
13368
  option: string;
13192
13369
  filename: string;
13193
13370
  originalFilename: string;
13194
- }[] | [string, string] | undefined> | undefined;
13195
- originalActionId?: string | undefined;
13371
+ }[] | [string, string] | undefined> | null | undefined;
13372
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13196
13373
  }, {
13197
13374
  type: "UNASSIGN";
13198
13375
  id: string;
@@ -13239,8 +13416,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13239
13416
  filename: string;
13240
13417
  originalFilename: string;
13241
13418
  }[] | [string, string] | undefined>;
13242
- createdAtLocation: string;
13243
13419
  assignedTo: null;
13420
+ createdBySignature?: string | null | undefined;
13421
+ createdAtLocation?: string | null | undefined;
13244
13422
  annotation?: Record<string, string | number | boolean | {
13245
13423
  type: string;
13246
13424
  filename: string;
@@ -13278,14 +13456,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13278
13456
  option: string;
13279
13457
  filename: string;
13280
13458
  originalFilename: string;
13281
- }[] | [string, string] | undefined> | undefined;
13282
- originalActionId?: string | undefined;
13459
+ }[] | [string, string] | undefined> | null | undefined;
13460
+ originalActionId?: string | null | undefined;
13283
13461
  }>, z.ZodObject<z.objectUtil.extendShape<{
13284
13462
  id: z.ZodString;
13285
13463
  transactionId: z.ZodString;
13286
13464
  createdAt: z.ZodString;
13287
13465
  createdBy: z.ZodString;
13288
13466
  createdByRole: z.ZodString;
13467
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13468
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13289
13469
  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
13470
  filename: z.ZodString;
13291
13471
  originalFilename: z.ZodString;
@@ -13400,7 +13580,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13400
13580
  addressLine3?: string | null | undefined;
13401
13581
  postcodeOrZip?: string | null | undefined;
13402
13582
  }>]>>;
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<{
13583
+ 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
13584
  filename: z.ZodString;
13405
13585
  originalFilename: z.ZodString;
13406
13586
  type: z.ZodString;
@@ -13513,10 +13693,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13513
13693
  addressLine2?: string | null | undefined;
13514
13694
  addressLine3?: string | null | undefined;
13515
13695
  postcodeOrZip?: string | null | undefined;
13516
- }>]>>>;
13517
- createdAtLocation: z.ZodString;
13696
+ }>]>>>>;
13518
13697
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13519
- originalActionId: z.ZodOptional<z.ZodString>;
13698
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13520
13699
  }, {
13521
13700
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
13522
13701
  }>, "strip", z.ZodTypeAny, {
@@ -13565,7 +13744,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13565
13744
  filename: string;
13566
13745
  originalFilename: string;
13567
13746
  }[] | [string, string] | undefined>;
13568
- createdAtLocation: string;
13747
+ createdBySignature?: string | null | undefined;
13748
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13569
13749
  annotation?: Record<string, string | number | boolean | {
13570
13750
  type: string;
13571
13751
  filename: string;
@@ -13603,8 +13783,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13603
13783
  option: string;
13604
13784
  filename: string;
13605
13785
  originalFilename: string;
13606
- }[] | [string, string] | undefined> | undefined;
13607
- originalActionId?: string | undefined;
13786
+ }[] | [string, string] | undefined> | null | undefined;
13787
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13608
13788
  }, {
13609
13789
  type: "PRINT_CERTIFICATE";
13610
13790
  id: string;
@@ -13651,7 +13831,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13651
13831
  filename: string;
13652
13832
  originalFilename: string;
13653
13833
  }[] | [string, string] | undefined>;
13654
- createdAtLocation: string;
13834
+ createdBySignature?: string | null | undefined;
13835
+ createdAtLocation?: string | null | undefined;
13655
13836
  annotation?: Record<string, string | number | boolean | {
13656
13837
  type: string;
13657
13838
  filename: string;
@@ -13689,14 +13870,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13689
13870
  option: string;
13690
13871
  filename: string;
13691
13872
  originalFilename: string;
13692
- }[] | [string, string] | undefined> | undefined;
13693
- originalActionId?: string | undefined;
13873
+ }[] | [string, string] | undefined> | null | undefined;
13874
+ originalActionId?: string | null | undefined;
13694
13875
  }>, z.ZodObject<z.objectUtil.extendShape<{
13695
13876
  id: z.ZodString;
13696
13877
  transactionId: z.ZodString;
13697
13878
  createdAt: z.ZodString;
13698
13879
  createdBy: z.ZodString;
13699
13880
  createdByRole: z.ZodString;
13881
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13882
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13700
13883
  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
13884
  filename: z.ZodString;
13702
13885
  originalFilename: z.ZodString;
@@ -13811,7 +13994,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13811
13994
  addressLine3?: string | null | undefined;
13812
13995
  postcodeOrZip?: string | null | undefined;
13813
13996
  }>]>>;
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<{
13997
+ 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
13998
  filename: z.ZodString;
13816
13999
  originalFilename: z.ZodString;
13817
14000
  type: z.ZodString;
@@ -13924,10 +14107,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13924
14107
  addressLine2?: string | null | undefined;
13925
14108
  addressLine3?: string | null | undefined;
13926
14109
  postcodeOrZip?: string | null | undefined;
13927
- }>]>>>;
13928
- createdAtLocation: z.ZodString;
14110
+ }>]>>>>;
13929
14111
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13930
- originalActionId: z.ZodOptional<z.ZodString>;
14112
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13931
14113
  }, {
13932
14114
  type: z.ZodLiteral<"READ">;
13933
14115
  }>, "strip", z.ZodTypeAny, {
@@ -13976,7 +14158,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13976
14158
  filename: string;
13977
14159
  originalFilename: string;
13978
14160
  }[] | [string, string] | undefined>;
13979
- createdAtLocation: string;
14161
+ createdBySignature?: string | null | undefined;
14162
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13980
14163
  annotation?: Record<string, string | number | boolean | {
13981
14164
  type: string;
13982
14165
  filename: string;
@@ -14014,8 +14197,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14014
14197
  option: string;
14015
14198
  filename: string;
14016
14199
  originalFilename: string;
14017
- }[] | [string, string] | undefined> | undefined;
14018
- originalActionId?: string | undefined;
14200
+ }[] | [string, string] | undefined> | null | undefined;
14201
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14019
14202
  }, {
14020
14203
  type: "READ";
14021
14204
  id: string;
@@ -14062,7 +14245,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14062
14245
  filename: string;
14063
14246
  originalFilename: string;
14064
14247
  }[] | [string, string] | undefined>;
14065
- createdAtLocation: string;
14248
+ createdBySignature?: string | null | undefined;
14249
+ createdAtLocation?: string | null | undefined;
14066
14250
  annotation?: Record<string, string | number | boolean | {
14067
14251
  type: string;
14068
14252
  filename: string;
@@ -14100,14 +14284,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14100
14284
  option: string;
14101
14285
  filename: string;
14102
14286
  originalFilename: string;
14103
- }[] | [string, string] | undefined> | undefined;
14104
- originalActionId?: string | undefined;
14287
+ }[] | [string, string] | undefined> | null | undefined;
14288
+ originalActionId?: string | null | undefined;
14105
14289
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14106
14290
  id: z.ZodString;
14107
14291
  transactionId: z.ZodString;
14108
14292
  createdAt: z.ZodString;
14109
14293
  createdBy: z.ZodString;
14110
14294
  createdByRole: z.ZodString;
14295
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14296
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14111
14297
  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
14298
  filename: z.ZodString;
14113
14299
  originalFilename: z.ZodString;
@@ -14222,7 +14408,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14222
14408
  addressLine3?: string | null | undefined;
14223
14409
  postcodeOrZip?: string | null | undefined;
14224
14410
  }>]>>;
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<{
14411
+ 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
14412
  filename: z.ZodString;
14227
14413
  originalFilename: z.ZodString;
14228
14414
  type: z.ZodString;
@@ -14335,10 +14521,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14335
14521
  addressLine2?: string | null | undefined;
14336
14522
  addressLine3?: string | null | undefined;
14337
14523
  postcodeOrZip?: string | null | undefined;
14338
- }>]>>>;
14339
- createdAtLocation: z.ZodString;
14524
+ }>]>>>>;
14340
14525
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14341
- originalActionId: z.ZodOptional<z.ZodString>;
14526
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14342
14527
  }, "declaration" | "annotation">, {
14343
14528
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
14344
14529
  status: z.ZodLiteral<"Rejected">;
@@ -14350,8 +14535,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14350
14535
  createdAt: string;
14351
14536
  createdBy: string;
14352
14537
  createdByRole: string;
14353
- createdAtLocation: string;
14354
- originalActionId?: string | undefined;
14538
+ createdBySignature?: string | null | undefined;
14539
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14540
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14355
14541
  }, {
14356
14542
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14357
14543
  id: string;
@@ -14360,8 +14546,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14360
14546
  createdAt: string;
14361
14547
  createdBy: string;
14362
14548
  createdByRole: string;
14363
- createdAtLocation: string;
14364
- originalActionId?: string | undefined;
14549
+ createdBySignature?: string | null | undefined;
14550
+ createdAtLocation?: string | null | undefined;
14551
+ originalActionId?: string | null | undefined;
14365
14552
  }>]>;
14366
14553
  export type Action = ActionDocument | AsyncRejectActionDocument;
14367
14554
  export declare const ResolvedUser: z.ZodObject<{