@opencrvs/toolkit 1.8.0-rc.f9fb039 → 1.8.0-rc.fa564ca

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 (39) hide show
  1. package/dist/commons/api/router.d.ts +7047 -3158
  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 +292 -105
  5. package/dist/commons/events/ActionInput.d.ts +75 -3
  6. package/dist/commons/events/ActionType.d.ts +4 -0
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +437 -12
  8. package/dist/commons/events/Constants.d.ts +2 -0
  9. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  10. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  11. package/dist/commons/events/Draft.d.ts +10 -5
  12. package/dist/commons/events/EventConfig.d.ts +11281 -7033
  13. package/dist/commons/events/EventDocument.d.ts +212 -99
  14. package/dist/commons/events/EventIndex.d.ts +281 -531
  15. package/dist/commons/events/EventInput.d.ts +0 -13
  16. package/dist/commons/events/EventMetadata.d.ts +68 -44
  17. package/dist/commons/events/FieldConfig.d.ts +486 -440
  18. package/dist/commons/events/FieldTypeMapping.d.ts +5 -2
  19. package/dist/commons/events/FieldValue.d.ts +2 -0
  20. package/dist/commons/events/FormConfig.d.ts +3346 -3052
  21. package/dist/commons/events/PageConfig.d.ts +750 -680
  22. package/dist/commons/events/SummaryConfig.d.ts +17 -0
  23. package/dist/commons/events/User.d.ts +31 -7
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  25. package/dist/commons/events/WorkqueueConfig.d.ts +3936 -807
  26. package/dist/commons/events/defineConfig.d.ts +1385 -576
  27. package/dist/commons/events/event.d.ts +5 -5
  28. package/dist/commons/events/field.d.ts +9 -13
  29. package/dist/commons/events/index.d.ts +4 -0
  30. package/dist/commons/events/scopes.d.ts +20 -1
  31. package/dist/commons/events/serializer.d.ts +2 -0
  32. package/dist/commons/events/test.utils.d.ts +26 -6
  33. package/dist/commons/events/utils.d.ts +327 -291
  34. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  35. package/dist/conditionals/index.js +28 -8
  36. package/dist/events/index.js +1947 -561
  37. package/dist/scopes/index.d.ts +158 -1
  38. package/dist/scopes/index.js +152 -1
  39. package/package.json +1 -1
@@ -2,23 +2,16 @@ import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  type: z.ZodString;
5
- dateOfEvent: z.ZodOptional<z.ZodObject<{
6
- fieldId: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- fieldId: string;
9
- }, {
10
- fieldId: string;
11
- }>>;
12
5
  createdAt: z.ZodString;
13
6
  updatedAt: z.ZodString;
14
- registeredAt: z.ZodOptional<z.ZodString>;
15
- registeredAtLocation: z.ZodOptional<z.ZodString>;
16
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
17
8
  id: z.ZodString;
18
9
  transactionId: z.ZodString;
19
10
  createdAt: z.ZodString;
20
11
  createdBy: z.ZodString;
21
12
  createdByRole: z.ZodString;
13
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
15
  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<{
23
16
  filename: z.ZodString;
24
17
  originalFilename: z.ZodString;
@@ -247,7 +240,6 @@ export declare const EventDocument: z.ZodObject<{
247
240
  addressLine3?: string | null | undefined;
248
241
  postcodeOrZip?: string | null | undefined;
249
242
  }>]>>>;
250
- createdAtLocation: z.ZodString;
251
243
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
252
244
  originalActionId: z.ZodOptional<z.ZodString>;
253
245
  }, {
@@ -298,7 +290,8 @@ export declare const EventDocument: z.ZodObject<{
298
290
  filename: string;
299
291
  originalFilename: string;
300
292
  }[] | [string, string] | undefined>;
301
- createdAtLocation: string;
293
+ createdBySignature?: string | null | undefined;
294
+ createdAtLocation?: string | null | undefined;
302
295
  annotation?: Record<string, string | number | boolean | {
303
296
  type: string;
304
297
  filename: string;
@@ -384,7 +377,8 @@ export declare const EventDocument: z.ZodObject<{
384
377
  filename: string;
385
378
  originalFilename: string;
386
379
  }[] | [string, string] | undefined>;
387
- createdAtLocation: string;
380
+ createdBySignature?: string | null | undefined;
381
+ createdAtLocation?: string | null | undefined;
388
382
  annotation?: Record<string, string | number | boolean | {
389
383
  type: string;
390
384
  filename: string;
@@ -430,6 +424,8 @@ export declare const EventDocument: z.ZodObject<{
430
424
  createdAt: z.ZodString;
431
425
  createdBy: z.ZodString;
432
426
  createdByRole: z.ZodString;
427
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
428
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
433
429
  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<{
434
430
  filename: z.ZodString;
435
431
  originalFilename: z.ZodString;
@@ -658,7 +654,6 @@ export declare const EventDocument: z.ZodObject<{
658
654
  addressLine3?: string | null | undefined;
659
655
  postcodeOrZip?: string | null | undefined;
660
656
  }>]>>>;
661
- createdAtLocation: z.ZodString;
662
657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
663
658
  originalActionId: z.ZodOptional<z.ZodString>;
664
659
  }, {
@@ -709,7 +704,8 @@ export declare const EventDocument: z.ZodObject<{
709
704
  filename: string;
710
705
  originalFilename: string;
711
706
  }[] | [string, string] | undefined>;
712
- createdAtLocation: string;
707
+ createdBySignature?: string | null | undefined;
708
+ createdAtLocation?: string | null | undefined;
713
709
  annotation?: Record<string, string | number | boolean | {
714
710
  type: string;
715
711
  filename: string;
@@ -795,7 +791,8 @@ export declare const EventDocument: z.ZodObject<{
795
791
  filename: string;
796
792
  originalFilename: string;
797
793
  }[] | [string, string] | undefined>;
798
- createdAtLocation: string;
794
+ createdBySignature?: string | null | undefined;
795
+ createdAtLocation?: string | null | undefined;
799
796
  annotation?: Record<string, string | number | boolean | {
800
797
  type: string;
801
798
  filename: string;
@@ -841,6 +838,8 @@ export declare const EventDocument: z.ZodObject<{
841
838
  createdAt: z.ZodString;
842
839
  createdBy: z.ZodString;
843
840
  createdByRole: z.ZodString;
841
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
844
843
  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<{
845
844
  filename: z.ZodString;
846
845
  originalFilename: z.ZodString;
@@ -1069,15 +1068,28 @@ export declare const EventDocument: z.ZodObject<{
1069
1068
  addressLine3?: string | null | undefined;
1070
1069
  postcodeOrZip?: string | null | undefined;
1071
1070
  }>]>>>;
1072
- createdAtLocation: z.ZodString;
1073
1071
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1074
1072
  originalActionId: z.ZodOptional<z.ZodString>;
1075
1073
  }, {
1076
1074
  type: z.ZodLiteral<"REJECT">;
1075
+ reason: 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
+ }>;
1077
1085
  }>, "strip", z.ZodTypeAny, {
1078
1086
  type: "REJECT";
1079
1087
  id: string;
1080
1088
  status: "Rejected" | "Requested" | "Accepted";
1089
+ reason: {
1090
+ message: string;
1091
+ isDuplicate?: boolean | undefined;
1092
+ };
1081
1093
  transactionId: string;
1082
1094
  createdAt: string;
1083
1095
  createdBy: string;
@@ -1120,7 +1132,8 @@ export declare const EventDocument: z.ZodObject<{
1120
1132
  filename: string;
1121
1133
  originalFilename: string;
1122
1134
  }[] | [string, string] | undefined>;
1123
- createdAtLocation: string;
1135
+ createdBySignature?: string | null | undefined;
1136
+ createdAtLocation?: string | null | undefined;
1124
1137
  annotation?: Record<string, string | number | boolean | {
1125
1138
  type: string;
1126
1139
  filename: string;
@@ -1164,6 +1177,10 @@ export declare const EventDocument: z.ZodObject<{
1164
1177
  type: "REJECT";
1165
1178
  id: string;
1166
1179
  status: "Rejected" | "Requested" | "Accepted";
1180
+ reason: {
1181
+ message: string;
1182
+ isDuplicate?: boolean | undefined;
1183
+ };
1167
1184
  transactionId: string;
1168
1185
  createdAt: string;
1169
1186
  createdBy: string;
@@ -1206,7 +1223,8 @@ export declare const EventDocument: z.ZodObject<{
1206
1223
  filename: string;
1207
1224
  originalFilename: string;
1208
1225
  }[] | [string, string] | undefined>;
1209
- createdAtLocation: string;
1226
+ createdBySignature?: string | null | undefined;
1227
+ createdAtLocation?: string | null | undefined;
1210
1228
  annotation?: Record<string, string | number | boolean | {
1211
1229
  type: string;
1212
1230
  filename: string;
@@ -1252,6 +1270,8 @@ export declare const EventDocument: z.ZodObject<{
1252
1270
  createdAt: z.ZodString;
1253
1271
  createdBy: z.ZodString;
1254
1272
  createdByRole: z.ZodString;
1273
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1255
1275
  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<{
1256
1276
  filename: z.ZodString;
1257
1277
  originalFilename: z.ZodString;
@@ -1480,7 +1500,6 @@ export declare const EventDocument: z.ZodObject<{
1480
1500
  addressLine3?: string | null | undefined;
1481
1501
  postcodeOrZip?: string | null | undefined;
1482
1502
  }>]>>>;
1483
- createdAtLocation: z.ZodString;
1484
1503
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1485
1504
  originalActionId: z.ZodOptional<z.ZodString>;
1486
1505
  }, {
@@ -1531,7 +1550,8 @@ export declare const EventDocument: z.ZodObject<{
1531
1550
  filename: string;
1532
1551
  originalFilename: string;
1533
1552
  }[] | [string, string] | undefined>;
1534
- createdAtLocation: string;
1553
+ createdBySignature?: string | null | undefined;
1554
+ createdAtLocation?: string | null | undefined;
1535
1555
  annotation?: Record<string, string | number | boolean | {
1536
1556
  type: string;
1537
1557
  filename: string;
@@ -1617,7 +1637,8 @@ export declare const EventDocument: z.ZodObject<{
1617
1637
  filename: string;
1618
1638
  originalFilename: string;
1619
1639
  }[] | [string, string] | undefined>;
1620
- createdAtLocation: string;
1640
+ createdBySignature?: string | null | undefined;
1641
+ createdAtLocation?: string | null | undefined;
1621
1642
  annotation?: Record<string, string | number | boolean | {
1622
1643
  type: string;
1623
1644
  filename: string;
@@ -1663,6 +1684,8 @@ export declare const EventDocument: z.ZodObject<{
1663
1684
  createdAt: z.ZodString;
1664
1685
  createdBy: z.ZodString;
1665
1686
  createdByRole: z.ZodString;
1687
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1688
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1666
1689
  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<{
1667
1690
  filename: z.ZodString;
1668
1691
  originalFilename: z.ZodString;
@@ -1891,15 +1914,28 @@ export declare const EventDocument: z.ZodObject<{
1891
1914
  addressLine3?: string | null | undefined;
1892
1915
  postcodeOrZip?: string | null | undefined;
1893
1916
  }>]>>>;
1894
- createdAtLocation: z.ZodString;
1895
1917
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1896
1918
  originalActionId: z.ZodOptional<z.ZodString>;
1897
1919
  }, {
1898
1920
  type: z.ZodLiteral<"ARCHIVE">;
1921
+ reason: z.ZodObject<{
1922
+ message: z.ZodString;
1923
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1924
+ }, "strip", z.ZodTypeAny, {
1925
+ message: string;
1926
+ isDuplicate?: boolean | undefined;
1927
+ }, {
1928
+ message: string;
1929
+ isDuplicate?: boolean | undefined;
1930
+ }>;
1899
1931
  }>, "strip", z.ZodTypeAny, {
1900
1932
  type: "ARCHIVE";
1901
1933
  id: string;
1902
1934
  status: "Rejected" | "Requested" | "Accepted";
1935
+ reason: {
1936
+ message: string;
1937
+ isDuplicate?: boolean | undefined;
1938
+ };
1903
1939
  transactionId: string;
1904
1940
  createdAt: string;
1905
1941
  createdBy: string;
@@ -1942,7 +1978,8 @@ export declare const EventDocument: z.ZodObject<{
1942
1978
  filename: string;
1943
1979
  originalFilename: string;
1944
1980
  }[] | [string, string] | undefined>;
1945
- createdAtLocation: string;
1981
+ createdBySignature?: string | null | undefined;
1982
+ createdAtLocation?: string | null | undefined;
1946
1983
  annotation?: Record<string, string | number | boolean | {
1947
1984
  type: string;
1948
1985
  filename: string;
@@ -1986,6 +2023,10 @@ export declare const EventDocument: z.ZodObject<{
1986
2023
  type: "ARCHIVE";
1987
2024
  id: string;
1988
2025
  status: "Rejected" | "Requested" | "Accepted";
2026
+ reason: {
2027
+ message: string;
2028
+ isDuplicate?: boolean | undefined;
2029
+ };
1989
2030
  transactionId: string;
1990
2031
  createdAt: string;
1991
2032
  createdBy: string;
@@ -2028,7 +2069,8 @@ export declare const EventDocument: z.ZodObject<{
2028
2069
  filename: string;
2029
2070
  originalFilename: string;
2030
2071
  }[] | [string, string] | undefined>;
2031
- createdAtLocation: string;
2072
+ createdBySignature?: string | null | undefined;
2073
+ createdAtLocation?: string | null | undefined;
2032
2074
  annotation?: Record<string, string | number | boolean | {
2033
2075
  type: string;
2034
2076
  filename: string;
@@ -2074,6 +2116,8 @@ export declare const EventDocument: z.ZodObject<{
2074
2116
  createdAt: z.ZodString;
2075
2117
  createdBy: z.ZodString;
2076
2118
  createdByRole: z.ZodString;
2119
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2120
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2077
2121
  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<{
2078
2122
  filename: z.ZodString;
2079
2123
  originalFilename: z.ZodString;
@@ -2302,7 +2346,6 @@ export declare const EventDocument: z.ZodObject<{
2302
2346
  addressLine3?: string | null | undefined;
2303
2347
  postcodeOrZip?: string | null | undefined;
2304
2348
  }>]>>>;
2305
- createdAtLocation: z.ZodString;
2306
2349
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2307
2350
  originalActionId: z.ZodOptional<z.ZodString>;
2308
2351
  }, {
@@ -2353,7 +2396,8 @@ export declare const EventDocument: z.ZodObject<{
2353
2396
  filename: string;
2354
2397
  originalFilename: string;
2355
2398
  }[] | [string, string] | undefined>;
2356
- createdAtLocation: string;
2399
+ createdBySignature?: string | null | undefined;
2400
+ createdAtLocation?: string | null | undefined;
2357
2401
  annotation?: Record<string, string | number | boolean | {
2358
2402
  type: string;
2359
2403
  filename: string;
@@ -2439,7 +2483,8 @@ export declare const EventDocument: z.ZodObject<{
2439
2483
  filename: string;
2440
2484
  originalFilename: string;
2441
2485
  }[] | [string, string] | undefined>;
2442
- createdAtLocation: string;
2486
+ createdBySignature?: string | null | undefined;
2487
+ createdAtLocation?: string | null | undefined;
2443
2488
  annotation?: Record<string, string | number | boolean | {
2444
2489
  type: string;
2445
2490
  filename: string;
@@ -2485,6 +2530,8 @@ export declare const EventDocument: z.ZodObject<{
2485
2530
  createdAt: z.ZodString;
2486
2531
  createdBy: z.ZodString;
2487
2532
  createdByRole: z.ZodString;
2533
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2534
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2488
2535
  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<{
2489
2536
  filename: z.ZodString;
2490
2537
  originalFilename: z.ZodString;
@@ -2713,7 +2760,6 @@ export declare const EventDocument: z.ZodObject<{
2713
2760
  addressLine3?: string | null | undefined;
2714
2761
  postcodeOrZip?: string | null | undefined;
2715
2762
  }>]>>>;
2716
- createdAtLocation: z.ZodString;
2717
2763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2718
2764
  originalActionId: z.ZodOptional<z.ZodString>;
2719
2765
  }, {
@@ -2765,7 +2811,8 @@ export declare const EventDocument: z.ZodObject<{
2765
2811
  filename: string;
2766
2812
  originalFilename: string;
2767
2813
  }[] | [string, string] | undefined>;
2768
- createdAtLocation: string;
2814
+ createdBySignature?: string | null | undefined;
2815
+ createdAtLocation?: string | null | undefined;
2769
2816
  annotation?: Record<string, string | number | boolean | {
2770
2817
  type: string;
2771
2818
  filename: string;
@@ -2852,7 +2899,8 @@ export declare const EventDocument: z.ZodObject<{
2852
2899
  filename: string;
2853
2900
  originalFilename: string;
2854
2901
  }[] | [string, string] | undefined>;
2855
- createdAtLocation: string;
2902
+ createdBySignature?: string | null | undefined;
2903
+ createdAtLocation?: string | null | undefined;
2856
2904
  annotation?: Record<string, string | number | boolean | {
2857
2905
  type: string;
2858
2906
  filename: string;
@@ -2899,6 +2947,8 @@ export declare const EventDocument: z.ZodObject<{
2899
2947
  createdAt: z.ZodString;
2900
2948
  createdBy: z.ZodString;
2901
2949
  createdByRole: z.ZodString;
2950
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2951
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2902
2952
  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<{
2903
2953
  filename: z.ZodString;
2904
2954
  originalFilename: z.ZodString;
@@ -3127,7 +3177,6 @@ export declare const EventDocument: z.ZodObject<{
3127
3177
  addressLine3?: string | null | undefined;
3128
3178
  postcodeOrZip?: string | null | undefined;
3129
3179
  }>]>>>;
3130
- createdAtLocation: z.ZodString;
3131
3180
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3132
3181
  originalActionId: z.ZodOptional<z.ZodString>;
3133
3182
  }, {
@@ -3178,7 +3227,8 @@ export declare const EventDocument: z.ZodObject<{
3178
3227
  filename: string;
3179
3228
  originalFilename: string;
3180
3229
  }[] | [string, string] | undefined>;
3181
- createdAtLocation: string;
3230
+ createdBySignature?: string | null | undefined;
3231
+ createdAtLocation?: string | null | undefined;
3182
3232
  annotation?: Record<string, string | number | boolean | {
3183
3233
  type: string;
3184
3234
  filename: string;
@@ -3264,7 +3314,8 @@ export declare const EventDocument: z.ZodObject<{
3264
3314
  filename: string;
3265
3315
  originalFilename: string;
3266
3316
  }[] | [string, string] | undefined>;
3267
- createdAtLocation: string;
3317
+ createdBySignature?: string | null | undefined;
3318
+ createdAtLocation?: string | null | undefined;
3268
3319
  annotation?: Record<string, string | number | boolean | {
3269
3320
  type: string;
3270
3321
  filename: string;
@@ -3310,6 +3361,8 @@ export declare const EventDocument: z.ZodObject<{
3310
3361
  createdAt: z.ZodString;
3311
3362
  createdBy: z.ZodString;
3312
3363
  createdByRole: z.ZodString;
3364
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3365
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3313
3366
  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<{
3314
3367
  filename: z.ZodString;
3315
3368
  originalFilename: z.ZodString;
@@ -3538,7 +3591,6 @@ export declare const EventDocument: z.ZodObject<{
3538
3591
  addressLine3?: string | null | undefined;
3539
3592
  postcodeOrZip?: string | null | undefined;
3540
3593
  }>]>>>;
3541
- createdAtLocation: z.ZodString;
3542
3594
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3543
3595
  originalActionId: z.ZodOptional<z.ZodString>;
3544
3596
  }, {
@@ -3590,8 +3642,9 @@ export declare const EventDocument: z.ZodObject<{
3590
3642
  filename: string;
3591
3643
  originalFilename: string;
3592
3644
  }[] | [string, string] | undefined>;
3593
- createdAtLocation: string;
3594
3645
  assignedTo: string;
3646
+ createdBySignature?: string | null | undefined;
3647
+ createdAtLocation?: string | null | undefined;
3595
3648
  annotation?: Record<string, string | number | boolean | {
3596
3649
  type: string;
3597
3650
  filename: string;
@@ -3677,8 +3730,9 @@ export declare const EventDocument: z.ZodObject<{
3677
3730
  filename: string;
3678
3731
  originalFilename: string;
3679
3732
  }[] | [string, string] | undefined>;
3680
- createdAtLocation: string;
3681
3733
  assignedTo: string;
3734
+ createdBySignature?: string | null | undefined;
3735
+ createdAtLocation?: string | null | undefined;
3682
3736
  annotation?: Record<string, string | number | boolean | {
3683
3737
  type: string;
3684
3738
  filename: string;
@@ -3724,6 +3778,8 @@ export declare const EventDocument: z.ZodObject<{
3724
3778
  createdAt: z.ZodString;
3725
3779
  createdBy: z.ZodString;
3726
3780
  createdByRole: z.ZodString;
3781
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3782
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3727
3783
  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<{
3728
3784
  filename: z.ZodString;
3729
3785
  originalFilename: z.ZodString;
@@ -3952,7 +4008,6 @@ export declare const EventDocument: z.ZodObject<{
3952
4008
  addressLine3?: string | null | undefined;
3953
4009
  postcodeOrZip?: string | null | undefined;
3954
4010
  }>]>>>;
3955
- createdAtLocation: z.ZodString;
3956
4011
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3957
4012
  originalActionId: z.ZodOptional<z.ZodString>;
3958
4013
  }, {
@@ -4003,7 +4058,8 @@ export declare const EventDocument: z.ZodObject<{
4003
4058
  filename: string;
4004
4059
  originalFilename: string;
4005
4060
  }[] | [string, string] | undefined>;
4006
- createdAtLocation: string;
4061
+ createdBySignature?: string | null | undefined;
4062
+ createdAtLocation?: string | null | undefined;
4007
4063
  annotation?: Record<string, string | number | boolean | {
4008
4064
  type: string;
4009
4065
  filename: string;
@@ -4089,7 +4145,8 @@ export declare const EventDocument: z.ZodObject<{
4089
4145
  filename: string;
4090
4146
  originalFilename: string;
4091
4147
  }[] | [string, string] | undefined>;
4092
- createdAtLocation: string;
4148
+ createdBySignature?: string | null | undefined;
4149
+ createdAtLocation?: string | null | undefined;
4093
4150
  annotation?: Record<string, string | number | boolean | {
4094
4151
  type: string;
4095
4152
  filename: string;
@@ -4135,6 +4192,8 @@ export declare const EventDocument: z.ZodObject<{
4135
4192
  createdAt: z.ZodString;
4136
4193
  createdBy: z.ZodString;
4137
4194
  createdByRole: z.ZodString;
4195
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4196
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4138
4197
  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<{
4139
4198
  filename: z.ZodString;
4140
4199
  originalFilename: z.ZodString;
@@ -4363,7 +4422,6 @@ export declare const EventDocument: z.ZodObject<{
4363
4422
  addressLine3?: string | null | undefined;
4364
4423
  postcodeOrZip?: string | null | undefined;
4365
4424
  }>]>>>;
4366
- createdAtLocation: z.ZodString;
4367
4425
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4368
4426
  originalActionId: z.ZodOptional<z.ZodString>;
4369
4427
  }, {
@@ -4415,8 +4473,9 @@ export declare const EventDocument: z.ZodObject<{
4415
4473
  filename: string;
4416
4474
  originalFilename: string;
4417
4475
  }[] | [string, string] | undefined>;
4418
- createdAtLocation: string;
4419
4476
  requestId: string;
4477
+ createdBySignature?: string | null | undefined;
4478
+ createdAtLocation?: string | null | undefined;
4420
4479
  annotation?: Record<string, string | number | boolean | {
4421
4480
  type: string;
4422
4481
  filename: string;
@@ -4502,8 +4561,9 @@ export declare const EventDocument: z.ZodObject<{
4502
4561
  filename: string;
4503
4562
  originalFilename: string;
4504
4563
  }[] | [string, string] | undefined>;
4505
- createdAtLocation: string;
4506
4564
  requestId: string;
4565
+ createdBySignature?: string | null | undefined;
4566
+ createdAtLocation?: string | null | undefined;
4507
4567
  annotation?: Record<string, string | number | boolean | {
4508
4568
  type: string;
4509
4569
  filename: string;
@@ -4549,6 +4609,8 @@ export declare const EventDocument: z.ZodObject<{
4549
4609
  createdAt: z.ZodString;
4550
4610
  createdBy: z.ZodString;
4551
4611
  createdByRole: z.ZodString;
4612
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4613
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4552
4614
  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<{
4553
4615
  filename: z.ZodString;
4554
4616
  originalFilename: z.ZodString;
@@ -4777,7 +4839,6 @@ export declare const EventDocument: z.ZodObject<{
4777
4839
  addressLine3?: string | null | undefined;
4778
4840
  postcodeOrZip?: string | null | undefined;
4779
4841
  }>]>>>;
4780
- createdAtLocation: z.ZodString;
4781
4842
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4782
4843
  originalActionId: z.ZodOptional<z.ZodString>;
4783
4844
  }, {
@@ -4829,8 +4890,9 @@ export declare const EventDocument: z.ZodObject<{
4829
4890
  filename: string;
4830
4891
  originalFilename: string;
4831
4892
  }[] | [string, string] | undefined>;
4832
- createdAtLocation: string;
4833
4893
  requestId: string;
4894
+ createdBySignature?: string | null | undefined;
4895
+ createdAtLocation?: string | null | undefined;
4834
4896
  annotation?: Record<string, string | number | boolean | {
4835
4897
  type: string;
4836
4898
  filename: string;
@@ -4916,8 +4978,9 @@ export declare const EventDocument: z.ZodObject<{
4916
4978
  filename: string;
4917
4979
  originalFilename: string;
4918
4980
  }[] | [string, string] | undefined>;
4919
- createdAtLocation: string;
4920
4981
  requestId: string;
4982
+ createdBySignature?: string | null | undefined;
4983
+ createdAtLocation?: string | null | undefined;
4921
4984
  annotation?: Record<string, string | number | boolean | {
4922
4985
  type: string;
4923
4986
  filename: string;
@@ -4963,6 +5026,8 @@ export declare const EventDocument: z.ZodObject<{
4963
5026
  createdAt: z.ZodString;
4964
5027
  createdBy: z.ZodString;
4965
5028
  createdByRole: z.ZodString;
5029
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4966
5031
  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<{
4967
5032
  filename: z.ZodString;
4968
5033
  originalFilename: z.ZodString;
@@ -5191,7 +5256,6 @@ export declare const EventDocument: z.ZodObject<{
5191
5256
  addressLine3?: string | null | undefined;
5192
5257
  postcodeOrZip?: string | null | undefined;
5193
5258
  }>]>>>;
5194
- createdAtLocation: z.ZodString;
5195
5259
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5196
5260
  originalActionId: z.ZodOptional<z.ZodString>;
5197
5261
  }, {
@@ -5243,8 +5307,9 @@ export declare const EventDocument: z.ZodObject<{
5243
5307
  filename: string;
5244
5308
  originalFilename: string;
5245
5309
  }[] | [string, string] | undefined>;
5246
- createdAtLocation: string;
5247
5310
  assignedTo: null;
5311
+ createdBySignature?: string | null | undefined;
5312
+ createdAtLocation?: string | null | undefined;
5248
5313
  annotation?: Record<string, string | number | boolean | {
5249
5314
  type: string;
5250
5315
  filename: string;
@@ -5330,8 +5395,9 @@ export declare const EventDocument: z.ZodObject<{
5330
5395
  filename: string;
5331
5396
  originalFilename: string;
5332
5397
  }[] | [string, string] | undefined>;
5333
- createdAtLocation: string;
5334
5398
  assignedTo: null;
5399
+ createdBySignature?: string | null | undefined;
5400
+ createdAtLocation?: string | null | undefined;
5335
5401
  annotation?: Record<string, string | number | boolean | {
5336
5402
  type: string;
5337
5403
  filename: string;
@@ -5377,6 +5443,8 @@ export declare const EventDocument: z.ZodObject<{
5377
5443
  createdAt: z.ZodString;
5378
5444
  createdBy: z.ZodString;
5379
5445
  createdByRole: z.ZodString;
5446
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5447
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5380
5448
  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<{
5381
5449
  filename: z.ZodString;
5382
5450
  originalFilename: z.ZodString;
@@ -5605,7 +5673,6 @@ export declare const EventDocument: z.ZodObject<{
5605
5673
  addressLine3?: string | null | undefined;
5606
5674
  postcodeOrZip?: string | null | undefined;
5607
5675
  }>]>>>;
5608
- createdAtLocation: z.ZodString;
5609
5676
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5610
5677
  originalActionId: z.ZodOptional<z.ZodString>;
5611
5678
  }, {
@@ -5656,7 +5723,8 @@ export declare const EventDocument: z.ZodObject<{
5656
5723
  filename: string;
5657
5724
  originalFilename: string;
5658
5725
  }[] | [string, string] | undefined>;
5659
- createdAtLocation: string;
5726
+ createdBySignature?: string | null | undefined;
5727
+ createdAtLocation?: string | null | undefined;
5660
5728
  annotation?: Record<string, string | number | boolean | {
5661
5729
  type: string;
5662
5730
  filename: string;
@@ -5742,7 +5810,8 @@ export declare const EventDocument: z.ZodObject<{
5742
5810
  filename: string;
5743
5811
  originalFilename: string;
5744
5812
  }[] | [string, string] | undefined>;
5745
- createdAtLocation: string;
5813
+ createdBySignature?: string | null | undefined;
5814
+ createdAtLocation?: string | null | undefined;
5746
5815
  annotation?: Record<string, string | number | boolean | {
5747
5816
  type: string;
5748
5817
  filename: string;
@@ -5788,6 +5857,8 @@ export declare const EventDocument: z.ZodObject<{
5788
5857
  createdAt: z.ZodString;
5789
5858
  createdBy: z.ZodString;
5790
5859
  createdByRole: z.ZodString;
5860
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
5862
  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<{
5792
5863
  filename: z.ZodString;
5793
5864
  originalFilename: z.ZodString;
@@ -6016,7 +6087,6 @@ export declare const EventDocument: z.ZodObject<{
6016
6087
  addressLine3?: string | null | undefined;
6017
6088
  postcodeOrZip?: string | null | undefined;
6018
6089
  }>]>>>;
6019
- createdAtLocation: z.ZodString;
6020
6090
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6021
6091
  originalActionId: z.ZodOptional<z.ZodString>;
6022
6092
  }, {
@@ -6067,7 +6137,8 @@ export declare const EventDocument: z.ZodObject<{
6067
6137
  filename: string;
6068
6138
  originalFilename: string;
6069
6139
  }[] | [string, string] | undefined>;
6070
- createdAtLocation: string;
6140
+ createdBySignature?: string | null | undefined;
6141
+ createdAtLocation?: string | null | undefined;
6071
6142
  annotation?: Record<string, string | number | boolean | {
6072
6143
  type: string;
6073
6144
  filename: string;
@@ -6153,7 +6224,8 @@ export declare const EventDocument: z.ZodObject<{
6153
6224
  filename: string;
6154
6225
  originalFilename: string;
6155
6226
  }[] | [string, string] | undefined>;
6156
- createdAtLocation: string;
6227
+ createdBySignature?: string | null | undefined;
6228
+ createdAtLocation?: string | null | undefined;
6157
6229
  annotation?: Record<string, string | number | boolean | {
6158
6230
  type: string;
6159
6231
  filename: string;
@@ -6199,6 +6271,8 @@ export declare const EventDocument: z.ZodObject<{
6199
6271
  createdAt: z.ZodString;
6200
6272
  createdBy: z.ZodString;
6201
6273
  createdByRole: z.ZodString;
6274
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6275
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6202
6276
  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<{
6203
6277
  filename: z.ZodString;
6204
6278
  originalFilename: z.ZodString;
@@ -6427,7 +6501,6 @@ export declare const EventDocument: z.ZodObject<{
6427
6501
  addressLine3?: string | null | undefined;
6428
6502
  postcodeOrZip?: string | null | undefined;
6429
6503
  }>]>>>;
6430
- createdAtLocation: z.ZodString;
6431
6504
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6432
6505
  originalActionId: z.ZodOptional<z.ZodString>;
6433
6506
  }, "declaration" | "annotation">, {
@@ -6441,7 +6514,8 @@ export declare const EventDocument: z.ZodObject<{
6441
6514
  createdAt: string;
6442
6515
  createdBy: string;
6443
6516
  createdByRole: string;
6444
- createdAtLocation: string;
6517
+ createdBySignature?: string | null | undefined;
6518
+ createdAtLocation?: string | null | undefined;
6445
6519
  originalActionId?: string | undefined;
6446
6520
  }, {
6447
6521
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -6451,7 +6525,8 @@ export declare const EventDocument: z.ZodObject<{
6451
6525
  createdAt: string;
6452
6526
  createdBy: string;
6453
6527
  createdByRole: string;
6454
- createdAtLocation: string;
6528
+ createdBySignature?: string | null | undefined;
6529
+ createdAtLocation?: string | null | undefined;
6455
6530
  originalActionId?: string | undefined;
6456
6531
  }>]>, "many">;
6457
6532
  trackingId: z.ZodString;
@@ -6506,8 +6581,9 @@ export declare const EventDocument: z.ZodObject<{
6506
6581
  filename: string;
6507
6582
  originalFilename: string;
6508
6583
  }[] | [string, string] | undefined>;
6509
- createdAtLocation: string;
6510
6584
  assignedTo: string;
6585
+ createdBySignature?: string | null | undefined;
6586
+ createdAtLocation?: string | null | undefined;
6511
6587
  annotation?: Record<string, string | number | boolean | {
6512
6588
  type: string;
6513
6589
  filename: string;
@@ -6593,8 +6669,9 @@ export declare const EventDocument: z.ZodObject<{
6593
6669
  filename: string;
6594
6670
  originalFilename: string;
6595
6671
  }[] | [string, string] | undefined>;
6596
- createdAtLocation: string;
6597
6672
  assignedTo: null;
6673
+ createdBySignature?: string | null | undefined;
6674
+ createdAtLocation?: string | null | undefined;
6598
6675
  annotation?: Record<string, string | number | boolean | {
6599
6676
  type: string;
6600
6677
  filename: string;
@@ -6680,7 +6757,8 @@ export declare const EventDocument: z.ZodObject<{
6680
6757
  filename: string;
6681
6758
  originalFilename: string;
6682
6759
  }[] | [string, string] | undefined>;
6683
- createdAtLocation: string;
6760
+ createdBySignature?: string | null | undefined;
6761
+ createdAtLocation?: string | null | undefined;
6684
6762
  annotation?: Record<string, string | number | boolean | {
6685
6763
  type: string;
6686
6764
  filename: string;
@@ -6767,7 +6845,8 @@ export declare const EventDocument: z.ZodObject<{
6767
6845
  filename: string;
6768
6846
  originalFilename: string;
6769
6847
  }[] | [string, string] | undefined>;
6770
- createdAtLocation: string;
6848
+ createdBySignature?: string | null | undefined;
6849
+ createdAtLocation?: string | null | undefined;
6771
6850
  annotation?: Record<string, string | number | boolean | {
6772
6851
  type: string;
6773
6852
  filename: string;
@@ -6853,7 +6932,8 @@ export declare const EventDocument: z.ZodObject<{
6853
6932
  filename: string;
6854
6933
  originalFilename: string;
6855
6934
  }[] | [string, string] | undefined>;
6856
- createdAtLocation: string;
6935
+ createdBySignature?: string | null | undefined;
6936
+ createdAtLocation?: string | null | undefined;
6857
6937
  annotation?: Record<string, string | number | boolean | {
6858
6938
  type: string;
6859
6939
  filename: string;
@@ -6897,6 +6977,10 @@ export declare const EventDocument: z.ZodObject<{
6897
6977
  type: "REJECT";
6898
6978
  id: string;
6899
6979
  status: "Rejected" | "Requested" | "Accepted";
6980
+ reason: {
6981
+ message: string;
6982
+ isDuplicate?: boolean | undefined;
6983
+ };
6900
6984
  transactionId: string;
6901
6985
  createdAt: string;
6902
6986
  createdBy: string;
@@ -6939,7 +7023,8 @@ export declare const EventDocument: z.ZodObject<{
6939
7023
  filename: string;
6940
7024
  originalFilename: string;
6941
7025
  }[] | [string, string] | undefined>;
6942
- createdAtLocation: string;
7026
+ createdBySignature?: string | null | undefined;
7027
+ createdAtLocation?: string | null | undefined;
6943
7028
  annotation?: Record<string, string | number | boolean | {
6944
7029
  type: string;
6945
7030
  filename: string;
@@ -7025,7 +7110,8 @@ export declare const EventDocument: z.ZodObject<{
7025
7110
  filename: string;
7026
7111
  originalFilename: string;
7027
7112
  }[] | [string, string] | undefined>;
7028
- createdAtLocation: string;
7113
+ createdBySignature?: string | null | undefined;
7114
+ createdAtLocation?: string | null | undefined;
7029
7115
  annotation?: Record<string, string | number | boolean | {
7030
7116
  type: string;
7031
7117
  filename: string;
@@ -7069,6 +7155,10 @@ export declare const EventDocument: z.ZodObject<{
7069
7155
  type: "ARCHIVE";
7070
7156
  id: string;
7071
7157
  status: "Rejected" | "Requested" | "Accepted";
7158
+ reason: {
7159
+ message: string;
7160
+ isDuplicate?: boolean | undefined;
7161
+ };
7072
7162
  transactionId: string;
7073
7163
  createdAt: string;
7074
7164
  createdBy: string;
@@ -7111,7 +7201,8 @@ export declare const EventDocument: z.ZodObject<{
7111
7201
  filename: string;
7112
7202
  originalFilename: string;
7113
7203
  }[] | [string, string] | undefined>;
7114
- createdAtLocation: string;
7204
+ createdBySignature?: string | null | undefined;
7205
+ createdAtLocation?: string | null | undefined;
7115
7206
  annotation?: Record<string, string | number | boolean | {
7116
7207
  type: string;
7117
7208
  filename: string;
@@ -7197,7 +7288,8 @@ export declare const EventDocument: z.ZodObject<{
7197
7288
  filename: string;
7198
7289
  originalFilename: string;
7199
7290
  }[] | [string, string] | undefined>;
7200
- createdAtLocation: string;
7291
+ createdBySignature?: string | null | undefined;
7292
+ createdAtLocation?: string | null | undefined;
7201
7293
  annotation?: Record<string, string | number | boolean | {
7202
7294
  type: string;
7203
7295
  filename: string;
@@ -7283,7 +7375,8 @@ export declare const EventDocument: z.ZodObject<{
7283
7375
  filename: string;
7284
7376
  originalFilename: string;
7285
7377
  }[] | [string, string] | undefined>;
7286
- createdAtLocation: string;
7378
+ createdBySignature?: string | null | undefined;
7379
+ createdAtLocation?: string | null | undefined;
7287
7380
  annotation?: Record<string, string | number | boolean | {
7288
7381
  type: string;
7289
7382
  filename: string;
@@ -7369,7 +7462,8 @@ export declare const EventDocument: z.ZodObject<{
7369
7462
  filename: string;
7370
7463
  originalFilename: string;
7371
7464
  }[] | [string, string] | undefined>;
7372
- createdAtLocation: string;
7465
+ createdBySignature?: string | null | undefined;
7466
+ createdAtLocation?: string | null | undefined;
7373
7467
  annotation?: Record<string, string | number | boolean | {
7374
7468
  type: string;
7375
7469
  filename: string;
@@ -7455,7 +7549,8 @@ export declare const EventDocument: z.ZodObject<{
7455
7549
  filename: string;
7456
7550
  originalFilename: string;
7457
7551
  }[] | [string, string] | undefined>;
7458
- createdAtLocation: string;
7552
+ createdBySignature?: string | null | undefined;
7553
+ createdAtLocation?: string | null | undefined;
7459
7554
  annotation?: Record<string, string | number | boolean | {
7460
7555
  type: string;
7461
7556
  filename: string;
@@ -7541,8 +7636,9 @@ export declare const EventDocument: z.ZodObject<{
7541
7636
  filename: string;
7542
7637
  originalFilename: string;
7543
7638
  }[] | [string, string] | undefined>;
7544
- createdAtLocation: string;
7545
7639
  requestId: string;
7640
+ createdBySignature?: string | null | undefined;
7641
+ createdAtLocation?: string | null | undefined;
7546
7642
  annotation?: Record<string, string | number | boolean | {
7547
7643
  type: string;
7548
7644
  filename: string;
@@ -7628,8 +7724,9 @@ export declare const EventDocument: z.ZodObject<{
7628
7724
  filename: string;
7629
7725
  originalFilename: string;
7630
7726
  }[] | [string, string] | undefined>;
7631
- createdAtLocation: string;
7632
7727
  requestId: string;
7728
+ createdBySignature?: string | null | undefined;
7729
+ createdAtLocation?: string | null | undefined;
7633
7730
  annotation?: Record<string, string | number | boolean | {
7634
7731
  type: string;
7635
7732
  filename: string;
@@ -7715,7 +7812,8 @@ export declare const EventDocument: z.ZodObject<{
7715
7812
  filename: string;
7716
7813
  originalFilename: string;
7717
7814
  }[] | [string, string] | undefined>;
7718
- createdAtLocation: string;
7815
+ createdBySignature?: string | null | undefined;
7816
+ createdAtLocation?: string | null | undefined;
7719
7817
  annotation?: Record<string, string | number | boolean | {
7720
7818
  type: string;
7721
7819
  filename: string;
@@ -7763,15 +7861,11 @@ export declare const EventDocument: z.ZodObject<{
7763
7861
  createdAt: string;
7764
7862
  createdBy: string;
7765
7863
  createdByRole: string;
7766
- createdAtLocation: string;
7864
+ createdBySignature?: string | null | undefined;
7865
+ createdAtLocation?: string | null | undefined;
7767
7866
  originalActionId?: string | undefined;
7768
7867
  })[];
7769
7868
  trackingId: string;
7770
- dateOfEvent?: {
7771
- fieldId: string;
7772
- } | undefined;
7773
- registeredAt?: string | undefined;
7774
- registeredAtLocation?: string | undefined;
7775
7869
  }, {
7776
7870
  type: string;
7777
7871
  id: string;
@@ -7823,8 +7917,9 @@ export declare const EventDocument: z.ZodObject<{
7823
7917
  filename: string;
7824
7918
  originalFilename: string;
7825
7919
  }[] | [string, string] | undefined>;
7826
- createdAtLocation: string;
7827
7920
  assignedTo: string;
7921
+ createdBySignature?: string | null | undefined;
7922
+ createdAtLocation?: string | null | undefined;
7828
7923
  annotation?: Record<string, string | number | boolean | {
7829
7924
  type: string;
7830
7925
  filename: string;
@@ -7910,8 +8005,9 @@ export declare const EventDocument: z.ZodObject<{
7910
8005
  filename: string;
7911
8006
  originalFilename: string;
7912
8007
  }[] | [string, string] | undefined>;
7913
- createdAtLocation: string;
7914
8008
  assignedTo: null;
8009
+ createdBySignature?: string | null | undefined;
8010
+ createdAtLocation?: string | null | undefined;
7915
8011
  annotation?: Record<string, string | number | boolean | {
7916
8012
  type: string;
7917
8013
  filename: string;
@@ -7997,7 +8093,8 @@ export declare const EventDocument: z.ZodObject<{
7997
8093
  filename: string;
7998
8094
  originalFilename: string;
7999
8095
  }[] | [string, string] | undefined>;
8000
- createdAtLocation: string;
8096
+ createdBySignature?: string | null | undefined;
8097
+ createdAtLocation?: string | null | undefined;
8001
8098
  annotation?: Record<string, string | number | boolean | {
8002
8099
  type: string;
8003
8100
  filename: string;
@@ -8084,7 +8181,8 @@ export declare const EventDocument: z.ZodObject<{
8084
8181
  filename: string;
8085
8182
  originalFilename: string;
8086
8183
  }[] | [string, string] | undefined>;
8087
- createdAtLocation: string;
8184
+ createdBySignature?: string | null | undefined;
8185
+ createdAtLocation?: string | null | undefined;
8088
8186
  annotation?: Record<string, string | number | boolean | {
8089
8187
  type: string;
8090
8188
  filename: string;
@@ -8170,7 +8268,8 @@ export declare const EventDocument: z.ZodObject<{
8170
8268
  filename: string;
8171
8269
  originalFilename: string;
8172
8270
  }[] | [string, string] | undefined>;
8173
- createdAtLocation: string;
8271
+ createdBySignature?: string | null | undefined;
8272
+ createdAtLocation?: string | null | undefined;
8174
8273
  annotation?: Record<string, string | number | boolean | {
8175
8274
  type: string;
8176
8275
  filename: string;
@@ -8214,6 +8313,10 @@ export declare const EventDocument: z.ZodObject<{
8214
8313
  type: "REJECT";
8215
8314
  id: string;
8216
8315
  status: "Rejected" | "Requested" | "Accepted";
8316
+ reason: {
8317
+ message: string;
8318
+ isDuplicate?: boolean | undefined;
8319
+ };
8217
8320
  transactionId: string;
8218
8321
  createdAt: string;
8219
8322
  createdBy: string;
@@ -8256,7 +8359,8 @@ export declare const EventDocument: z.ZodObject<{
8256
8359
  filename: string;
8257
8360
  originalFilename: string;
8258
8361
  }[] | [string, string] | undefined>;
8259
- createdAtLocation: string;
8362
+ createdBySignature?: string | null | undefined;
8363
+ createdAtLocation?: string | null | undefined;
8260
8364
  annotation?: Record<string, string | number | boolean | {
8261
8365
  type: string;
8262
8366
  filename: string;
@@ -8342,7 +8446,8 @@ export declare const EventDocument: z.ZodObject<{
8342
8446
  filename: string;
8343
8447
  originalFilename: string;
8344
8448
  }[] | [string, string] | undefined>;
8345
- createdAtLocation: string;
8449
+ createdBySignature?: string | null | undefined;
8450
+ createdAtLocation?: string | null | undefined;
8346
8451
  annotation?: Record<string, string | number | boolean | {
8347
8452
  type: string;
8348
8453
  filename: string;
@@ -8386,6 +8491,10 @@ export declare const EventDocument: z.ZodObject<{
8386
8491
  type: "ARCHIVE";
8387
8492
  id: string;
8388
8493
  status: "Rejected" | "Requested" | "Accepted";
8494
+ reason: {
8495
+ message: string;
8496
+ isDuplicate?: boolean | undefined;
8497
+ };
8389
8498
  transactionId: string;
8390
8499
  createdAt: string;
8391
8500
  createdBy: string;
@@ -8428,7 +8537,8 @@ export declare const EventDocument: z.ZodObject<{
8428
8537
  filename: string;
8429
8538
  originalFilename: string;
8430
8539
  }[] | [string, string] | undefined>;
8431
- createdAtLocation: string;
8540
+ createdBySignature?: string | null | undefined;
8541
+ createdAtLocation?: string | null | undefined;
8432
8542
  annotation?: Record<string, string | number | boolean | {
8433
8543
  type: string;
8434
8544
  filename: string;
@@ -8514,7 +8624,8 @@ export declare const EventDocument: z.ZodObject<{
8514
8624
  filename: string;
8515
8625
  originalFilename: string;
8516
8626
  }[] | [string, string] | undefined>;
8517
- createdAtLocation: string;
8627
+ createdBySignature?: string | null | undefined;
8628
+ createdAtLocation?: string | null | undefined;
8518
8629
  annotation?: Record<string, string | number | boolean | {
8519
8630
  type: string;
8520
8631
  filename: string;
@@ -8600,7 +8711,8 @@ export declare const EventDocument: z.ZodObject<{
8600
8711
  filename: string;
8601
8712
  originalFilename: string;
8602
8713
  }[] | [string, string] | undefined>;
8603
- createdAtLocation: string;
8714
+ createdBySignature?: string | null | undefined;
8715
+ createdAtLocation?: string | null | undefined;
8604
8716
  annotation?: Record<string, string | number | boolean | {
8605
8717
  type: string;
8606
8718
  filename: string;
@@ -8686,7 +8798,8 @@ export declare const EventDocument: z.ZodObject<{
8686
8798
  filename: string;
8687
8799
  originalFilename: string;
8688
8800
  }[] | [string, string] | undefined>;
8689
- createdAtLocation: string;
8801
+ createdBySignature?: string | null | undefined;
8802
+ createdAtLocation?: string | null | undefined;
8690
8803
  annotation?: Record<string, string | number | boolean | {
8691
8804
  type: string;
8692
8805
  filename: string;
@@ -8772,7 +8885,8 @@ export declare const EventDocument: z.ZodObject<{
8772
8885
  filename: string;
8773
8886
  originalFilename: string;
8774
8887
  }[] | [string, string] | undefined>;
8775
- createdAtLocation: string;
8888
+ createdBySignature?: string | null | undefined;
8889
+ createdAtLocation?: string | null | undefined;
8776
8890
  annotation?: Record<string, string | number | boolean | {
8777
8891
  type: string;
8778
8892
  filename: string;
@@ -8858,8 +8972,9 @@ export declare const EventDocument: z.ZodObject<{
8858
8972
  filename: string;
8859
8973
  originalFilename: string;
8860
8974
  }[] | [string, string] | undefined>;
8861
- createdAtLocation: string;
8862
8975
  requestId: string;
8976
+ createdBySignature?: string | null | undefined;
8977
+ createdAtLocation?: string | null | undefined;
8863
8978
  annotation?: Record<string, string | number | boolean | {
8864
8979
  type: string;
8865
8980
  filename: string;
@@ -8945,8 +9060,9 @@ export declare const EventDocument: z.ZodObject<{
8945
9060
  filename: string;
8946
9061
  originalFilename: string;
8947
9062
  }[] | [string, string] | undefined>;
8948
- createdAtLocation: string;
8949
9063
  requestId: string;
9064
+ createdBySignature?: string | null | undefined;
9065
+ createdAtLocation?: string | null | undefined;
8950
9066
  annotation?: Record<string, string | number | boolean | {
8951
9067
  type: string;
8952
9068
  filename: string;
@@ -9032,7 +9148,8 @@ export declare const EventDocument: z.ZodObject<{
9032
9148
  filename: string;
9033
9149
  originalFilename: string;
9034
9150
  }[] | [string, string] | undefined>;
9035
- createdAtLocation: string;
9151
+ createdBySignature?: string | null | undefined;
9152
+ createdAtLocation?: string | null | undefined;
9036
9153
  annotation?: Record<string, string | number | boolean | {
9037
9154
  type: string;
9038
9155
  filename: string;
@@ -9080,15 +9197,11 @@ export declare const EventDocument: z.ZodObject<{
9080
9197
  createdAt: string;
9081
9198
  createdBy: string;
9082
9199
  createdByRole: string;
9083
- createdAtLocation: string;
9200
+ createdBySignature?: string | null | undefined;
9201
+ createdAtLocation?: string | null | undefined;
9084
9202
  originalActionId?: string | undefined;
9085
9203
  })[];
9086
9204
  trackingId: string;
9087
- dateOfEvent?: {
9088
- fieldId: string;
9089
- } | undefined;
9090
- registeredAt?: string | undefined;
9091
- registeredAtLocation?: string | undefined;
9092
9205
  }>;
9093
9206
  export type EventDocument = z.infer<typeof EventDocument>;
9094
9207
  //# sourceMappingURL=EventDocument.d.ts.map