@opencrvs/toolkit 1.8.0-rc.fc4c805 → 1.8.0-rc.fcb9386

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 (35) hide show
  1. package/dist/commons/api/router.d.ts +6983 -4338
  2. package/dist/commons/conditionals/conditionals.d.ts +2 -1
  3. package/dist/commons/events/ActionConfig.d.ts +40400 -36948
  4. package/dist/commons/events/ActionDocument.d.ts +292 -105
  5. package/dist/commons/events/ActionInput.d.ts +75 -3
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +603 -12
  7. package/dist/commons/events/Constants.d.ts +2 -0
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  9. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  10. package/dist/commons/events/Draft.d.ts +10 -5
  11. package/dist/commons/events/EventConfig.d.ts +14558 -14829
  12. package/dist/commons/events/EventDocument.d.ts +212 -93
  13. package/dist/commons/events/EventIndex.d.ts +298 -319
  14. package/dist/commons/events/EventInput.d.ts +0 -13
  15. package/dist/commons/events/EventMetadata.d.ts +38 -44
  16. package/dist/commons/events/FieldConfig.d.ts +517 -0
  17. package/dist/commons/events/FormConfig.d.ts +3641 -467
  18. package/dist/commons/events/PageConfig.d.ts +782 -0
  19. package/dist/commons/events/User.d.ts +31 -7
  20. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  21. package/dist/commons/events/WorkqueueConfig.d.ts +4033 -644
  22. package/dist/commons/events/defineConfig.d.ts +3050 -3519
  23. package/dist/commons/events/event.d.ts +37 -10
  24. package/dist/commons/events/field.d.ts +21 -7
  25. package/dist/commons/events/index.d.ts +4 -0
  26. package/dist/commons/events/scopes.d.ts +21 -2
  27. package/dist/commons/events/serializer.d.ts +2 -0
  28. package/dist/commons/events/test.utils.d.ts +26 -6
  29. package/dist/commons/events/utils.d.ts +117 -1
  30. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  31. package/dist/conditionals/index.js +19 -2
  32. package/dist/events/index.js +2382 -988
  33. package/dist/scopes/index.d.ts +158 -1
  34. package/dist/scopes/index.js +152 -1
  35. 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.ZodString>>;
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;
@@ -475,7 +477,6 @@ export declare const ActionBase: z.ZodObject<{
475
477
  addressLine3?: string | null | undefined;
476
478
  postcodeOrZip?: string | null | undefined;
477
479
  }>]>>>;
478
- createdAtLocation: z.ZodString;
479
480
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
480
481
  originalActionId: z.ZodOptional<z.ZodString>;
481
482
  }, "strip", z.ZodTypeAny, {
@@ -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 | null | undefined;
527
529
  annotation?: Record<string, string | number | boolean | {
528
530
  type: string;
529
531
  filename: string;
@@ -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;
@@ -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.ZodString>>;
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;
@@ -884,7 +889,6 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
884
889
  addressLine3?: string | null | undefined;
885
890
  postcodeOrZip?: string | null | undefined;
886
891
  }>]>>>;
887
- createdAtLocation: z.ZodString;
888
892
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
889
893
  originalActionId: z.ZodOptional<z.ZodString>;
890
894
  }, {
@@ -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 | null | undefined;
940
945
  annotation?: Record<string, string | number | boolean | {
941
946
  type: string;
942
947
  filename: string;
@@ -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;
@@ -1066,12 +1072,24 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
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.ZodString>>;
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;
@@ -1300,7 +1318,6 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1300
1318
  addressLine3?: string | null | undefined;
1301
1319
  postcodeOrZip?: string | null | undefined;
1302
1320
  }>]>>>;
1303
- createdAtLocation: z.ZodString;
1304
1321
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1305
1322
  originalActionId: z.ZodOptional<z.ZodString>;
1306
1323
  }, {
@@ -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 | null | undefined;
1355
1373
  annotation?: Record<string, string | number | boolean | {
1356
1374
  type: string;
1357
1375
  filename: 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;
@@ -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.ZodString>>;
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;
@@ -1712,7 +1733,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1712
1733
  addressLine3?: string | null | undefined;
1713
1734
  postcodeOrZip?: string | null | undefined;
1714
1735
  }>]>>>;
1715
- createdAtLocation: z.ZodString;
1716
1736
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1717
1737
  originalActionId: z.ZodOptional<z.ZodString>;
1718
1738
  }, {
@@ -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 | null | undefined;
1767
1788
  annotation?: Record<string, string | number | boolean | {
1768
1789
  type: string;
1769
1790
  filename: 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;
@@ -1895,6 +1917,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -2123,7 +2147,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2123
2147
  addressLine3?: string | null | undefined;
2124
2148
  postcodeOrZip?: string | null | undefined;
2125
2149
  }>]>>>;
2126
- createdAtLocation: z.ZodString;
2127
2150
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2128
2151
  originalActionId: z.ZodOptional<z.ZodString>;
2129
2152
  }, {
@@ -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 | null | undefined;
2178
2202
  annotation?: Record<string, string | number | boolean | {
2179
2203
  type: string;
2180
2204
  filename: 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;
@@ -2306,6 +2331,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -2534,15 +2561,28 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2534
2561
  addressLine3?: string | null | undefined;
2535
2562
  postcodeOrZip?: string | null | undefined;
2536
2563
  }>]>>>;
2537
- createdAtLocation: z.ZodString;
2538
2564
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2539
2565
  originalActionId: z.ZodOptional<z.ZodString>;
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 | null | undefined;
2589
2630
  annotation?: Record<string, string | number | boolean | {
2590
2631
  type: string;
2591
2632
  filename: string;
@@ -2629,6 +2670,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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;
@@ -2717,6 +2763,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -2945,7 +2993,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2945
2993
  addressLine3?: string | null | undefined;
2946
2994
  postcodeOrZip?: string | null | undefined;
2947
2995
  }>]>>>;
2948
- createdAtLocation: z.ZodString;
2949
2996
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2950
2997
  originalActionId: z.ZodOptional<z.ZodString>;
2951
2998
  }, {
@@ -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 | null | undefined;
3000
3048
  annotation?: Record<string, string | number | boolean | {
3001
3049
  type: string;
3002
3050
  filename: 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;
@@ -3128,6 +3177,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -3356,15 +3407,28 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3356
3407
  addressLine3?: string | null | undefined;
3357
3408
  postcodeOrZip?: string | null | undefined;
3358
3409
  }>]>>>;
3359
- createdAtLocation: z.ZodString;
3360
3410
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3361
3411
  originalActionId: z.ZodOptional<z.ZodString>;
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 | null | undefined;
3411
3476
  annotation?: Record<string, string | number | boolean | {
3412
3477
  type: string;
3413
3478
  filename: string;
@@ -3451,6 +3516,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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;
@@ -3539,6 +3609,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -3767,7 +3839,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3767
3839
  addressLine3?: string | null | undefined;
3768
3840
  postcodeOrZip?: string | null | undefined;
3769
3841
  }>]>>>;
3770
- createdAtLocation: z.ZodString;
3771
3842
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3772
3843
  originalActionId: z.ZodOptional<z.ZodString>;
3773
3844
  }, {
@@ -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 | null | undefined;
3822
3894
  annotation?: Record<string, string | number | boolean | {
3823
3895
  type: string;
3824
3896
  filename: 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;
@@ -3950,6 +4023,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -4178,7 +4253,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4178
4253
  addressLine3?: string | null | undefined;
4179
4254
  postcodeOrZip?: string | null | undefined;
4180
4255
  }>]>>>;
4181
- createdAtLocation: z.ZodString;
4182
4256
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4183
4257
  originalActionId: z.ZodOptional<z.ZodString>;
4184
4258
  }, {
@@ -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 | null | undefined;
4234
4309
  annotation?: Record<string, string | number | boolean | {
4235
4310
  type: string;
4236
4311
  filename: string;
@@ -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;
@@ -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.ZodString>>;
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;
@@ -4592,7 +4670,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4592
4670
  addressLine3?: string | null | undefined;
4593
4671
  postcodeOrZip?: string | null | undefined;
4594
4672
  }>]>>>;
4595
- createdAtLocation: z.ZodString;
4596
4673
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4597
4674
  originalActionId: z.ZodOptional<z.ZodString>;
4598
4675
  }, {
@@ -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 | null | undefined;
4647
4725
  annotation?: Record<string, string | number | boolean | {
4648
4726
  type: string;
4649
4727
  filename: 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;
@@ -4775,6 +4854,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -5003,7 +5084,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5003
5084
  addressLine3?: string | null | undefined;
5004
5085
  postcodeOrZip?: string | null | undefined;
5005
5086
  }>]>>>;
5006
- createdAtLocation: z.ZodString;
5007
5087
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5008
5088
  originalActionId: z.ZodOptional<z.ZodString>;
5009
5089
  }, {
@@ -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 | null | undefined;
5060
5141
  annotation?: Record<string, string | number | boolean | {
5061
5142
  type: string;
5062
5143
  filename: 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;
@@ -5189,6 +5271,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -5417,7 +5501,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5417
5501
  addressLine3?: string | null | undefined;
5418
5502
  postcodeOrZip?: string | null | undefined;
5419
5503
  }>]>>>;
5420
- createdAtLocation: z.ZodString;
5421
5504
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5422
5505
  originalActionId: z.ZodOptional<z.ZodString>;
5423
5506
  }, {
@@ -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 | null | undefined;
5472
5556
  annotation?: Record<string, string | number | boolean | {
5473
5557
  type: string;
5474
5558
  filename: 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;
@@ -5600,6 +5685,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -5828,7 +5915,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5828
5915
  addressLine3?: string | null | undefined;
5829
5916
  postcodeOrZip?: string | null | undefined;
5830
5917
  }>]>>>;
5831
- createdAtLocation: z.ZodString;
5832
5918
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5833
5919
  originalActionId: z.ZodOptional<z.ZodString>;
5834
5920
  }, {
@@ -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 | null | undefined;
5885
5972
  annotation?: Record<string, string | number | boolean | {
5886
5973
  type: string;
5887
5974
  filename: 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;
@@ -6014,6 +6102,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -6242,7 +6332,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6242
6332
  addressLine3?: string | null | undefined;
6243
6333
  postcodeOrZip?: string | null | undefined;
6244
6334
  }>]>>>;
6245
- createdAtLocation: z.ZodString;
6246
6335
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6247
6336
  originalActionId: z.ZodOptional<z.ZodString>;
6248
6337
  }, {
@@ -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 | null | undefined;
6299
6389
  annotation?: Record<string, string | number | boolean | {
6300
6390
  type: string;
6301
6391
  filename: 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;
@@ -6428,6 +6519,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -6656,7 +6749,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6656
6749
  addressLine3?: string | null | undefined;
6657
6750
  postcodeOrZip?: string | null | undefined;
6658
6751
  }>]>>>;
6659
- createdAtLocation: z.ZodString;
6660
6752
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6661
6753
  originalActionId: z.ZodOptional<z.ZodString>;
6662
6754
  }, {
@@ -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 | null | undefined;
6713
6806
  annotation?: Record<string, string | number | boolean | {
6714
6807
  type: string;
6715
6808
  filename: 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;
@@ -6842,6 +6936,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -7070,7 +7166,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7070
7166
  addressLine3?: string | null | undefined;
7071
7167
  postcodeOrZip?: string | null | undefined;
7072
7168
  }>]>>>;
7073
- createdAtLocation: z.ZodString;
7074
7169
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7075
7170
  originalActionId: z.ZodOptional<z.ZodString>;
7076
7171
  }, {
@@ -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 | null | undefined;
7125
7221
  annotation?: Record<string, string | number | boolean | {
7126
7222
  type: string;
7127
7223
  filename: 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;
@@ -7253,6 +7350,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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.ZodString>>;
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;
@@ -7481,7 +7580,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7481
7580
  addressLine3?: string | null | undefined;
7482
7581
  postcodeOrZip?: string | null | undefined;
7483
7582
  }>]>>>;
7484
- createdAtLocation: z.ZodString;
7485
7583
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7486
7584
  originalActionId: z.ZodOptional<z.ZodString>;
7487
7585
  }, {
@@ -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 | null | undefined;
7536
7635
  annotation?: Record<string, string | number | boolean | {
7537
7636
  type: string;
7538
7637
  filename: 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;
@@ -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.ZodString>>;
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;
@@ -7894,7 +7996,6 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7894
7996
  addressLine3?: string | null | undefined;
7895
7997
  postcodeOrZip?: string | null | undefined;
7896
7998
  }>]>>>;
7897
- createdAtLocation: z.ZodString;
7898
7999
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7899
8000
  originalActionId: z.ZodOptional<z.ZodString>;
7900
8001
  }, "declaration" | "annotation">, {
@@ -7908,7 +8009,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7908
8009
  createdAt: string;
7909
8010
  createdBy: string;
7910
8011
  createdByRole: string;
7911
- createdAtLocation: string;
8012
+ createdBySignature?: string | null | undefined;
8013
+ createdAtLocation?: string | null | undefined;
7912
8014
  originalActionId?: string | undefined;
7913
8015
  }, {
7914
8016
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -7918,7 +8020,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7918
8020
  createdAt: string;
7919
8021
  createdBy: string;
7920
8022
  createdByRole: string;
7921
- createdAtLocation: string;
8023
+ createdBySignature?: string | null | undefined;
8024
+ createdAtLocation?: string | null | undefined;
7922
8025
  originalActionId?: string | undefined;
7923
8026
  }>;
7924
8027
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
@@ -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.ZodString>>;
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;
@@ -8156,7 +8261,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8156
8261
  addressLine3?: string | null | undefined;
8157
8262
  postcodeOrZip?: string | null | undefined;
8158
8263
  }>]>>>;
8159
- createdAtLocation: z.ZodString;
8160
8264
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8161
8265
  originalActionId: z.ZodOptional<z.ZodString>;
8162
8266
  }, {
@@ -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 | null | undefined;
8211
8316
  annotation?: Record<string, string | number | boolean | {
8212
8317
  type: string;
8213
8318
  filename: 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;
@@ -8339,6 +8445,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -8567,7 +8675,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8567
8675
  addressLine3?: string | null | undefined;
8568
8676
  postcodeOrZip?: string | null | undefined;
8569
8677
  }>]>>>;
8570
- createdAtLocation: z.ZodString;
8571
8678
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8572
8679
  originalActionId: z.ZodOptional<z.ZodString>;
8573
8680
  }, {
@@ -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 | null | undefined;
8622
8730
  annotation?: Record<string, string | number | boolean | {
8623
8731
  type: string;
8624
8732
  filename: 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;
@@ -8750,6 +8859,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -8978,15 +9089,28 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8978
9089
  addressLine3?: string | null | undefined;
8979
9090
  postcodeOrZip?: string | null | undefined;
8980
9091
  }>]>>>;
8981
- createdAtLocation: z.ZodString;
8982
9092
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8983
9093
  originalActionId: z.ZodOptional<z.ZodString>;
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 | null | undefined;
9033
9158
  annotation?: Record<string, string | number | boolean | {
9034
9159
  type: string;
9035
9160
  filename: string;
@@ -9073,6 +9198,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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;
@@ -9161,6 +9291,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -9389,7 +9521,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9389
9521
  addressLine3?: string | null | undefined;
9390
9522
  postcodeOrZip?: string | null | undefined;
9391
9523
  }>]>>>;
9392
- createdAtLocation: z.ZodString;
9393
9524
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9394
9525
  originalActionId: z.ZodOptional<z.ZodString>;
9395
9526
  }, {
@@ -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 | null | undefined;
9444
9576
  annotation?: Record<string, string | number | boolean | {
9445
9577
  type: string;
9446
9578
  filename: 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;
@@ -9572,6 +9705,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -9800,15 +9935,28 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9800
9935
  addressLine3?: string | null | undefined;
9801
9936
  postcodeOrZip?: string | null | undefined;
9802
9937
  }>]>>>;
9803
- createdAtLocation: z.ZodString;
9804
9938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9805
9939
  originalActionId: z.ZodOptional<z.ZodString>;
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 | null | undefined;
9855
10004
  annotation?: Record<string, string | number | boolean | {
9856
10005
  type: string;
9857
10006
  filename: string;
@@ -9895,6 +10044,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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;
@@ -9983,6 +10137,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -10211,7 +10367,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10211
10367
  addressLine3?: string | null | undefined;
10212
10368
  postcodeOrZip?: string | null | undefined;
10213
10369
  }>]>>>;
10214
- createdAtLocation: z.ZodString;
10215
10370
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10216
10371
  originalActionId: z.ZodOptional<z.ZodString>;
10217
10372
  }, {
@@ -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 | null | undefined;
10266
10422
  annotation?: Record<string, string | number | boolean | {
10267
10423
  type: string;
10268
10424
  filename: 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;
@@ -10394,6 +10551,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -10622,7 +10781,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10622
10781
  addressLine3?: string | null | undefined;
10623
10782
  postcodeOrZip?: string | null | undefined;
10624
10783
  }>]>>>;
10625
- createdAtLocation: z.ZodString;
10626
10784
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10627
10785
  originalActionId: z.ZodOptional<z.ZodString>;
10628
10786
  }, {
@@ -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 | null | undefined;
10678
10837
  annotation?: Record<string, string | number | boolean | {
10679
10838
  type: string;
10680
10839
  filename: string;
@@ -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;
@@ -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.ZodString>>;
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;
@@ -11036,7 +11198,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11036
11198
  addressLine3?: string | null | undefined;
11037
11199
  postcodeOrZip?: string | null | undefined;
11038
11200
  }>]>>>;
11039
- createdAtLocation: z.ZodString;
11040
11201
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11041
11202
  originalActionId: z.ZodOptional<z.ZodString>;
11042
11203
  }, {
@@ -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 | null | undefined;
11091
11253
  annotation?: Record<string, string | number | boolean | {
11092
11254
  type: string;
11093
11255
  filename: 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;
@@ -11219,6 +11382,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -11447,7 +11612,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11447
11612
  addressLine3?: string | null | undefined;
11448
11613
  postcodeOrZip?: string | null | undefined;
11449
11614
  }>]>>>;
11450
- createdAtLocation: z.ZodString;
11451
11615
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11452
11616
  originalActionId: z.ZodOptional<z.ZodString>;
11453
11617
  }, {
@@ -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 | null | undefined;
11504
11669
  annotation?: Record<string, string | number | boolean | {
11505
11670
  type: string;
11506
11671
  filename: 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;
@@ -11633,6 +11799,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -11861,7 +12029,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11861
12029
  addressLine3?: string | null | undefined;
11862
12030
  postcodeOrZip?: string | null | undefined;
11863
12031
  }>]>>>;
11864
- createdAtLocation: z.ZodString;
11865
12032
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11866
12033
  originalActionId: z.ZodOptional<z.ZodString>;
11867
12034
  }, {
@@ -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 | null | undefined;
11916
12084
  annotation?: Record<string, string | number | boolean | {
11917
12085
  type: string;
11918
12086
  filename: 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;
@@ -12044,6 +12213,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -12272,7 +12443,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12272
12443
  addressLine3?: string | null | undefined;
12273
12444
  postcodeOrZip?: string | null | undefined;
12274
12445
  }>]>>>;
12275
- createdAtLocation: z.ZodString;
12276
12446
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12277
12447
  originalActionId: z.ZodOptional<z.ZodString>;
12278
12448
  }, {
@@ -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 | null | undefined;
12329
12500
  annotation?: Record<string, string | number | boolean | {
12330
12501
  type: string;
12331
12502
  filename: 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;
@@ -12458,6 +12630,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -12686,7 +12860,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12686
12860
  addressLine3?: string | null | undefined;
12687
12861
  postcodeOrZip?: string | null | undefined;
12688
12862
  }>]>>>;
12689
- createdAtLocation: z.ZodString;
12690
12863
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12691
12864
  originalActionId: z.ZodOptional<z.ZodString>;
12692
12865
  }, {
@@ -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 | null | undefined;
12743
12917
  annotation?: Record<string, string | number | boolean | {
12744
12918
  type: string;
12745
12919
  filename: 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;
@@ -12872,6 +13047,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -13100,7 +13277,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13100
13277
  addressLine3?: string | null | undefined;
13101
13278
  postcodeOrZip?: string | null | undefined;
13102
13279
  }>]>>>;
13103
- createdAtLocation: z.ZodString;
13104
13280
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13105
13281
  originalActionId: z.ZodOptional<z.ZodString>;
13106
13282
  }, {
@@ -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 | null | undefined;
13157
13334
  annotation?: Record<string, string | number | boolean | {
13158
13335
  type: string;
13159
13336
  filename: 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;
@@ -13286,6 +13464,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -13514,7 +13694,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13514
13694
  addressLine3?: string | null | undefined;
13515
13695
  postcodeOrZip?: string | null | undefined;
13516
13696
  }>]>>>;
13517
- createdAtLocation: z.ZodString;
13518
13697
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13519
13698
  originalActionId: z.ZodOptional<z.ZodString>;
13520
13699
  }, {
@@ -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 | null | undefined;
13569
13749
  annotation?: Record<string, string | number | boolean | {
13570
13750
  type: string;
13571
13751
  filename: 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;
@@ -13697,6 +13878,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -13925,7 +14108,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13925
14108
  addressLine3?: string | null | undefined;
13926
14109
  postcodeOrZip?: string | null | undefined;
13927
14110
  }>]>>>;
13928
- createdAtLocation: z.ZodString;
13929
14111
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13930
14112
  originalActionId: z.ZodOptional<z.ZodString>;
13931
14113
  }, {
@@ -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 | null | undefined;
13980
14163
  annotation?: Record<string, string | number | boolean | {
13981
14164
  type: string;
13982
14165
  filename: 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;
@@ -14108,6 +14292,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
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.ZodString>>;
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;
@@ -14336,7 +14522,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14336
14522
  addressLine3?: string | null | undefined;
14337
14523
  postcodeOrZip?: string | null | undefined;
14338
14524
  }>]>>>;
14339
- createdAtLocation: z.ZodString;
14340
14525
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14341
14526
  originalActionId: z.ZodOptional<z.ZodString>;
14342
14527
  }, "declaration" | "annotation">, {
@@ -14350,7 +14535,8 @@ 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;
14538
+ createdBySignature?: string | null | undefined;
14539
+ createdAtLocation?: string | null | undefined;
14354
14540
  originalActionId?: string | undefined;
14355
14541
  }, {
14356
14542
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -14360,7 +14546,8 @@ 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;
14549
+ createdBySignature?: string | null | undefined;
14550
+ createdAtLocation?: string | null | undefined;
14364
14551
  originalActionId?: string | undefined;
14365
14552
  }>]>;
14366
14553
  export type Action = ActionDocument | AsyncRejectActionDocument;