@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
@@ -2,13 +2,6 @@ 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
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
@@ -17,6 +10,8 @@ export declare const EventDocument: z.ZodObject<{
17
10
  createdAt: z.ZodString;
18
11
  createdBy: z.ZodString;
19
12
  createdByRole: z.ZodString;
13
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
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<{
21
16
  filename: z.ZodString;
22
17
  originalFilename: z.ZodString;
@@ -245,7 +240,6 @@ export declare const EventDocument: z.ZodObject<{
245
240
  addressLine3?: string | null | undefined;
246
241
  postcodeOrZip?: string | null | undefined;
247
242
  }>]>>>;
248
- createdAtLocation: z.ZodString;
249
243
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
250
244
  originalActionId: z.ZodOptional<z.ZodString>;
251
245
  }, {
@@ -296,7 +290,8 @@ export declare const EventDocument: z.ZodObject<{
296
290
  filename: string;
297
291
  originalFilename: string;
298
292
  }[] | [string, string] | undefined>;
299
- createdAtLocation: string;
293
+ createdBySignature?: string | null | undefined;
294
+ createdAtLocation?: string | null | undefined;
300
295
  annotation?: Record<string, string | number | boolean | {
301
296
  type: string;
302
297
  filename: string;
@@ -382,7 +377,8 @@ export declare const EventDocument: z.ZodObject<{
382
377
  filename: string;
383
378
  originalFilename: string;
384
379
  }[] | [string, string] | undefined>;
385
- createdAtLocation: string;
380
+ createdBySignature?: string | null | undefined;
381
+ createdAtLocation?: string | null | undefined;
386
382
  annotation?: Record<string, string | number | boolean | {
387
383
  type: string;
388
384
  filename: string;
@@ -428,6 +424,8 @@ export declare const EventDocument: z.ZodObject<{
428
424
  createdAt: z.ZodString;
429
425
  createdBy: z.ZodString;
430
426
  createdByRole: z.ZodString;
427
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
428
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
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<{
432
430
  filename: z.ZodString;
433
431
  originalFilename: z.ZodString;
@@ -656,7 +654,6 @@ export declare const EventDocument: z.ZodObject<{
656
654
  addressLine3?: string | null | undefined;
657
655
  postcodeOrZip?: string | null | undefined;
658
656
  }>]>>>;
659
- createdAtLocation: z.ZodString;
660
657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
661
658
  originalActionId: z.ZodOptional<z.ZodString>;
662
659
  }, {
@@ -707,7 +704,8 @@ export declare const EventDocument: z.ZodObject<{
707
704
  filename: string;
708
705
  originalFilename: string;
709
706
  }[] | [string, string] | undefined>;
710
- createdAtLocation: string;
707
+ createdBySignature?: string | null | undefined;
708
+ createdAtLocation?: string | null | undefined;
711
709
  annotation?: Record<string, string | number | boolean | {
712
710
  type: string;
713
711
  filename: string;
@@ -793,7 +791,8 @@ export declare const EventDocument: z.ZodObject<{
793
791
  filename: string;
794
792
  originalFilename: string;
795
793
  }[] | [string, string] | undefined>;
796
- createdAtLocation: string;
794
+ createdBySignature?: string | null | undefined;
795
+ createdAtLocation?: string | null | undefined;
797
796
  annotation?: Record<string, string | number | boolean | {
798
797
  type: string;
799
798
  filename: string;
@@ -839,6 +838,8 @@ export declare const EventDocument: z.ZodObject<{
839
838
  createdAt: z.ZodString;
840
839
  createdBy: z.ZodString;
841
840
  createdByRole: z.ZodString;
841
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
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<{
843
844
  filename: z.ZodString;
844
845
  originalFilename: z.ZodString;
@@ -1067,15 +1068,28 @@ export declare const EventDocument: z.ZodObject<{
1067
1068
  addressLine3?: string | null | undefined;
1068
1069
  postcodeOrZip?: string | null | undefined;
1069
1070
  }>]>>>;
1070
- createdAtLocation: z.ZodString;
1071
1071
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1072
1072
  originalActionId: z.ZodOptional<z.ZodString>;
1073
1073
  }, {
1074
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
+ }>;
1075
1085
  }>, "strip", z.ZodTypeAny, {
1076
1086
  type: "REJECT";
1077
1087
  id: string;
1078
1088
  status: "Rejected" | "Requested" | "Accepted";
1089
+ reason: {
1090
+ message: string;
1091
+ isDuplicate?: boolean | undefined;
1092
+ };
1079
1093
  transactionId: string;
1080
1094
  createdAt: string;
1081
1095
  createdBy: string;
@@ -1118,7 +1132,8 @@ export declare const EventDocument: z.ZodObject<{
1118
1132
  filename: string;
1119
1133
  originalFilename: string;
1120
1134
  }[] | [string, string] | undefined>;
1121
- createdAtLocation: string;
1135
+ createdBySignature?: string | null | undefined;
1136
+ createdAtLocation?: string | null | undefined;
1122
1137
  annotation?: Record<string, string | number | boolean | {
1123
1138
  type: string;
1124
1139
  filename: string;
@@ -1162,6 +1177,10 @@ export declare const EventDocument: z.ZodObject<{
1162
1177
  type: "REJECT";
1163
1178
  id: string;
1164
1179
  status: "Rejected" | "Requested" | "Accepted";
1180
+ reason: {
1181
+ message: string;
1182
+ isDuplicate?: boolean | undefined;
1183
+ };
1165
1184
  transactionId: string;
1166
1185
  createdAt: string;
1167
1186
  createdBy: string;
@@ -1204,7 +1223,8 @@ export declare const EventDocument: z.ZodObject<{
1204
1223
  filename: string;
1205
1224
  originalFilename: string;
1206
1225
  }[] | [string, string] | undefined>;
1207
- createdAtLocation: string;
1226
+ createdBySignature?: string | null | undefined;
1227
+ createdAtLocation?: string | null | undefined;
1208
1228
  annotation?: Record<string, string | number | boolean | {
1209
1229
  type: string;
1210
1230
  filename: string;
@@ -1250,6 +1270,8 @@ export declare const EventDocument: z.ZodObject<{
1250
1270
  createdAt: z.ZodString;
1251
1271
  createdBy: z.ZodString;
1252
1272
  createdByRole: z.ZodString;
1273
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1253
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<{
1254
1276
  filename: z.ZodString;
1255
1277
  originalFilename: z.ZodString;
@@ -1478,7 +1500,6 @@ export declare const EventDocument: z.ZodObject<{
1478
1500
  addressLine3?: string | null | undefined;
1479
1501
  postcodeOrZip?: string | null | undefined;
1480
1502
  }>]>>>;
1481
- createdAtLocation: z.ZodString;
1482
1503
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1483
1504
  originalActionId: z.ZodOptional<z.ZodString>;
1484
1505
  }, {
@@ -1529,7 +1550,8 @@ export declare const EventDocument: z.ZodObject<{
1529
1550
  filename: string;
1530
1551
  originalFilename: string;
1531
1552
  }[] | [string, string] | undefined>;
1532
- createdAtLocation: string;
1553
+ createdBySignature?: string | null | undefined;
1554
+ createdAtLocation?: string | null | undefined;
1533
1555
  annotation?: Record<string, string | number | boolean | {
1534
1556
  type: string;
1535
1557
  filename: string;
@@ -1615,7 +1637,8 @@ export declare const EventDocument: z.ZodObject<{
1615
1637
  filename: string;
1616
1638
  originalFilename: string;
1617
1639
  }[] | [string, string] | undefined>;
1618
- createdAtLocation: string;
1640
+ createdBySignature?: string | null | undefined;
1641
+ createdAtLocation?: string | null | undefined;
1619
1642
  annotation?: Record<string, string | number | boolean | {
1620
1643
  type: string;
1621
1644
  filename: string;
@@ -1661,6 +1684,8 @@ export declare const EventDocument: z.ZodObject<{
1661
1684
  createdAt: z.ZodString;
1662
1685
  createdBy: z.ZodString;
1663
1686
  createdByRole: z.ZodString;
1687
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1688
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1664
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<{
1665
1690
  filename: z.ZodString;
1666
1691
  originalFilename: z.ZodString;
@@ -1889,15 +1914,28 @@ export declare const EventDocument: z.ZodObject<{
1889
1914
  addressLine3?: string | null | undefined;
1890
1915
  postcodeOrZip?: string | null | undefined;
1891
1916
  }>]>>>;
1892
- createdAtLocation: z.ZodString;
1893
1917
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1894
1918
  originalActionId: z.ZodOptional<z.ZodString>;
1895
1919
  }, {
1896
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
+ }>;
1897
1931
  }>, "strip", z.ZodTypeAny, {
1898
1932
  type: "ARCHIVE";
1899
1933
  id: string;
1900
1934
  status: "Rejected" | "Requested" | "Accepted";
1935
+ reason: {
1936
+ message: string;
1937
+ isDuplicate?: boolean | undefined;
1938
+ };
1901
1939
  transactionId: string;
1902
1940
  createdAt: string;
1903
1941
  createdBy: string;
@@ -1940,7 +1978,8 @@ export declare const EventDocument: z.ZodObject<{
1940
1978
  filename: string;
1941
1979
  originalFilename: string;
1942
1980
  }[] | [string, string] | undefined>;
1943
- createdAtLocation: string;
1981
+ createdBySignature?: string | null | undefined;
1982
+ createdAtLocation?: string | null | undefined;
1944
1983
  annotation?: Record<string, string | number | boolean | {
1945
1984
  type: string;
1946
1985
  filename: string;
@@ -1984,6 +2023,10 @@ export declare const EventDocument: z.ZodObject<{
1984
2023
  type: "ARCHIVE";
1985
2024
  id: string;
1986
2025
  status: "Rejected" | "Requested" | "Accepted";
2026
+ reason: {
2027
+ message: string;
2028
+ isDuplicate?: boolean | undefined;
2029
+ };
1987
2030
  transactionId: string;
1988
2031
  createdAt: string;
1989
2032
  createdBy: string;
@@ -2026,7 +2069,8 @@ export declare const EventDocument: z.ZodObject<{
2026
2069
  filename: string;
2027
2070
  originalFilename: string;
2028
2071
  }[] | [string, string] | undefined>;
2029
- createdAtLocation: string;
2072
+ createdBySignature?: string | null | undefined;
2073
+ createdAtLocation?: string | null | undefined;
2030
2074
  annotation?: Record<string, string | number | boolean | {
2031
2075
  type: string;
2032
2076
  filename: string;
@@ -2072,6 +2116,8 @@ export declare const EventDocument: z.ZodObject<{
2072
2116
  createdAt: z.ZodString;
2073
2117
  createdBy: z.ZodString;
2074
2118
  createdByRole: z.ZodString;
2119
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2120
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2075
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<{
2076
2122
  filename: z.ZodString;
2077
2123
  originalFilename: z.ZodString;
@@ -2300,7 +2346,6 @@ export declare const EventDocument: z.ZodObject<{
2300
2346
  addressLine3?: string | null | undefined;
2301
2347
  postcodeOrZip?: string | null | undefined;
2302
2348
  }>]>>>;
2303
- createdAtLocation: z.ZodString;
2304
2349
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2305
2350
  originalActionId: z.ZodOptional<z.ZodString>;
2306
2351
  }, {
@@ -2351,7 +2396,8 @@ export declare const EventDocument: z.ZodObject<{
2351
2396
  filename: string;
2352
2397
  originalFilename: string;
2353
2398
  }[] | [string, string] | undefined>;
2354
- createdAtLocation: string;
2399
+ createdBySignature?: string | null | undefined;
2400
+ createdAtLocation?: string | null | undefined;
2355
2401
  annotation?: Record<string, string | number | boolean | {
2356
2402
  type: string;
2357
2403
  filename: string;
@@ -2437,7 +2483,8 @@ export declare const EventDocument: z.ZodObject<{
2437
2483
  filename: string;
2438
2484
  originalFilename: string;
2439
2485
  }[] | [string, string] | undefined>;
2440
- createdAtLocation: string;
2486
+ createdBySignature?: string | null | undefined;
2487
+ createdAtLocation?: string | null | undefined;
2441
2488
  annotation?: Record<string, string | number | boolean | {
2442
2489
  type: string;
2443
2490
  filename: string;
@@ -2483,6 +2530,8 @@ export declare const EventDocument: z.ZodObject<{
2483
2530
  createdAt: z.ZodString;
2484
2531
  createdBy: z.ZodString;
2485
2532
  createdByRole: z.ZodString;
2533
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2534
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2486
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<{
2487
2536
  filename: z.ZodString;
2488
2537
  originalFilename: z.ZodString;
@@ -2711,7 +2760,6 @@ export declare const EventDocument: z.ZodObject<{
2711
2760
  addressLine3?: string | null | undefined;
2712
2761
  postcodeOrZip?: string | null | undefined;
2713
2762
  }>]>>>;
2714
- createdAtLocation: z.ZodString;
2715
2763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2716
2764
  originalActionId: z.ZodOptional<z.ZodString>;
2717
2765
  }, {
@@ -2763,7 +2811,8 @@ export declare const EventDocument: z.ZodObject<{
2763
2811
  filename: string;
2764
2812
  originalFilename: string;
2765
2813
  }[] | [string, string] | undefined>;
2766
- createdAtLocation: string;
2814
+ createdBySignature?: string | null | undefined;
2815
+ createdAtLocation?: string | null | undefined;
2767
2816
  annotation?: Record<string, string | number | boolean | {
2768
2817
  type: string;
2769
2818
  filename: string;
@@ -2850,7 +2899,8 @@ export declare const EventDocument: z.ZodObject<{
2850
2899
  filename: string;
2851
2900
  originalFilename: string;
2852
2901
  }[] | [string, string] | undefined>;
2853
- createdAtLocation: string;
2902
+ createdBySignature?: string | null | undefined;
2903
+ createdAtLocation?: string | null | undefined;
2854
2904
  annotation?: Record<string, string | number | boolean | {
2855
2905
  type: string;
2856
2906
  filename: string;
@@ -2897,6 +2947,8 @@ export declare const EventDocument: z.ZodObject<{
2897
2947
  createdAt: z.ZodString;
2898
2948
  createdBy: z.ZodString;
2899
2949
  createdByRole: z.ZodString;
2950
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2951
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2900
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<{
2901
2953
  filename: z.ZodString;
2902
2954
  originalFilename: z.ZodString;
@@ -3125,7 +3177,6 @@ export declare const EventDocument: z.ZodObject<{
3125
3177
  addressLine3?: string | null | undefined;
3126
3178
  postcodeOrZip?: string | null | undefined;
3127
3179
  }>]>>>;
3128
- createdAtLocation: z.ZodString;
3129
3180
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3130
3181
  originalActionId: z.ZodOptional<z.ZodString>;
3131
3182
  }, {
@@ -3176,7 +3227,8 @@ export declare const EventDocument: z.ZodObject<{
3176
3227
  filename: string;
3177
3228
  originalFilename: string;
3178
3229
  }[] | [string, string] | undefined>;
3179
- createdAtLocation: string;
3230
+ createdBySignature?: string | null | undefined;
3231
+ createdAtLocation?: string | null | undefined;
3180
3232
  annotation?: Record<string, string | number | boolean | {
3181
3233
  type: string;
3182
3234
  filename: string;
@@ -3262,7 +3314,8 @@ export declare const EventDocument: z.ZodObject<{
3262
3314
  filename: string;
3263
3315
  originalFilename: string;
3264
3316
  }[] | [string, string] | undefined>;
3265
- createdAtLocation: string;
3317
+ createdBySignature?: string | null | undefined;
3318
+ createdAtLocation?: string | null | undefined;
3266
3319
  annotation?: Record<string, string | number | boolean | {
3267
3320
  type: string;
3268
3321
  filename: string;
@@ -3308,6 +3361,8 @@ export declare const EventDocument: z.ZodObject<{
3308
3361
  createdAt: z.ZodString;
3309
3362
  createdBy: z.ZodString;
3310
3363
  createdByRole: z.ZodString;
3364
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3365
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3311
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<{
3312
3367
  filename: z.ZodString;
3313
3368
  originalFilename: z.ZodString;
@@ -3536,7 +3591,6 @@ export declare const EventDocument: z.ZodObject<{
3536
3591
  addressLine3?: string | null | undefined;
3537
3592
  postcodeOrZip?: string | null | undefined;
3538
3593
  }>]>>>;
3539
- createdAtLocation: z.ZodString;
3540
3594
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3541
3595
  originalActionId: z.ZodOptional<z.ZodString>;
3542
3596
  }, {
@@ -3588,8 +3642,9 @@ export declare const EventDocument: z.ZodObject<{
3588
3642
  filename: string;
3589
3643
  originalFilename: string;
3590
3644
  }[] | [string, string] | undefined>;
3591
- createdAtLocation: string;
3592
3645
  assignedTo: string;
3646
+ createdBySignature?: string | null | undefined;
3647
+ createdAtLocation?: string | null | undefined;
3593
3648
  annotation?: Record<string, string | number | boolean | {
3594
3649
  type: string;
3595
3650
  filename: string;
@@ -3675,8 +3730,9 @@ export declare const EventDocument: z.ZodObject<{
3675
3730
  filename: string;
3676
3731
  originalFilename: string;
3677
3732
  }[] | [string, string] | undefined>;
3678
- createdAtLocation: string;
3679
3733
  assignedTo: string;
3734
+ createdBySignature?: string | null | undefined;
3735
+ createdAtLocation?: string | null | undefined;
3680
3736
  annotation?: Record<string, string | number | boolean | {
3681
3737
  type: string;
3682
3738
  filename: string;
@@ -3722,6 +3778,8 @@ export declare const EventDocument: z.ZodObject<{
3722
3778
  createdAt: z.ZodString;
3723
3779
  createdBy: z.ZodString;
3724
3780
  createdByRole: z.ZodString;
3781
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3782
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3725
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<{
3726
3784
  filename: z.ZodString;
3727
3785
  originalFilename: z.ZodString;
@@ -3950,7 +4008,6 @@ export declare const EventDocument: z.ZodObject<{
3950
4008
  addressLine3?: string | null | undefined;
3951
4009
  postcodeOrZip?: string | null | undefined;
3952
4010
  }>]>>>;
3953
- createdAtLocation: z.ZodString;
3954
4011
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3955
4012
  originalActionId: z.ZodOptional<z.ZodString>;
3956
4013
  }, {
@@ -4001,7 +4058,8 @@ export declare const EventDocument: z.ZodObject<{
4001
4058
  filename: string;
4002
4059
  originalFilename: string;
4003
4060
  }[] | [string, string] | undefined>;
4004
- createdAtLocation: string;
4061
+ createdBySignature?: string | null | undefined;
4062
+ createdAtLocation?: string | null | undefined;
4005
4063
  annotation?: Record<string, string | number | boolean | {
4006
4064
  type: string;
4007
4065
  filename: string;
@@ -4087,7 +4145,8 @@ export declare const EventDocument: z.ZodObject<{
4087
4145
  filename: string;
4088
4146
  originalFilename: string;
4089
4147
  }[] | [string, string] | undefined>;
4090
- createdAtLocation: string;
4148
+ createdBySignature?: string | null | undefined;
4149
+ createdAtLocation?: string | null | undefined;
4091
4150
  annotation?: Record<string, string | number | boolean | {
4092
4151
  type: string;
4093
4152
  filename: string;
@@ -4133,6 +4192,8 @@ export declare const EventDocument: z.ZodObject<{
4133
4192
  createdAt: z.ZodString;
4134
4193
  createdBy: z.ZodString;
4135
4194
  createdByRole: z.ZodString;
4195
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4196
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4136
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<{
4137
4198
  filename: z.ZodString;
4138
4199
  originalFilename: z.ZodString;
@@ -4361,7 +4422,6 @@ export declare const EventDocument: z.ZodObject<{
4361
4422
  addressLine3?: string | null | undefined;
4362
4423
  postcodeOrZip?: string | null | undefined;
4363
4424
  }>]>>>;
4364
- createdAtLocation: z.ZodString;
4365
4425
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4366
4426
  originalActionId: z.ZodOptional<z.ZodString>;
4367
4427
  }, {
@@ -4413,8 +4473,9 @@ export declare const EventDocument: z.ZodObject<{
4413
4473
  filename: string;
4414
4474
  originalFilename: string;
4415
4475
  }[] | [string, string] | undefined>;
4416
- createdAtLocation: string;
4417
4476
  requestId: string;
4477
+ createdBySignature?: string | null | undefined;
4478
+ createdAtLocation?: string | null | undefined;
4418
4479
  annotation?: Record<string, string | number | boolean | {
4419
4480
  type: string;
4420
4481
  filename: string;
@@ -4500,8 +4561,9 @@ export declare const EventDocument: z.ZodObject<{
4500
4561
  filename: string;
4501
4562
  originalFilename: string;
4502
4563
  }[] | [string, string] | undefined>;
4503
- createdAtLocation: string;
4504
4564
  requestId: string;
4565
+ createdBySignature?: string | null | undefined;
4566
+ createdAtLocation?: string | null | undefined;
4505
4567
  annotation?: Record<string, string | number | boolean | {
4506
4568
  type: string;
4507
4569
  filename: string;
@@ -4547,6 +4609,8 @@ export declare const EventDocument: z.ZodObject<{
4547
4609
  createdAt: z.ZodString;
4548
4610
  createdBy: z.ZodString;
4549
4611
  createdByRole: z.ZodString;
4612
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4613
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4550
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<{
4551
4615
  filename: z.ZodString;
4552
4616
  originalFilename: z.ZodString;
@@ -4775,7 +4839,6 @@ export declare const EventDocument: z.ZodObject<{
4775
4839
  addressLine3?: string | null | undefined;
4776
4840
  postcodeOrZip?: string | null | undefined;
4777
4841
  }>]>>>;
4778
- createdAtLocation: z.ZodString;
4779
4842
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4780
4843
  originalActionId: z.ZodOptional<z.ZodString>;
4781
4844
  }, {
@@ -4827,8 +4890,9 @@ export declare const EventDocument: z.ZodObject<{
4827
4890
  filename: string;
4828
4891
  originalFilename: string;
4829
4892
  }[] | [string, string] | undefined>;
4830
- createdAtLocation: string;
4831
4893
  requestId: string;
4894
+ createdBySignature?: string | null | undefined;
4895
+ createdAtLocation?: string | null | undefined;
4832
4896
  annotation?: Record<string, string | number | boolean | {
4833
4897
  type: string;
4834
4898
  filename: string;
@@ -4914,8 +4978,9 @@ export declare const EventDocument: z.ZodObject<{
4914
4978
  filename: string;
4915
4979
  originalFilename: string;
4916
4980
  }[] | [string, string] | undefined>;
4917
- createdAtLocation: string;
4918
4981
  requestId: string;
4982
+ createdBySignature?: string | null | undefined;
4983
+ createdAtLocation?: string | null | undefined;
4919
4984
  annotation?: Record<string, string | number | boolean | {
4920
4985
  type: string;
4921
4986
  filename: string;
@@ -4961,6 +5026,8 @@ export declare const EventDocument: z.ZodObject<{
4961
5026
  createdAt: z.ZodString;
4962
5027
  createdBy: z.ZodString;
4963
5028
  createdByRole: z.ZodString;
5029
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4964
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<{
4965
5032
  filename: z.ZodString;
4966
5033
  originalFilename: z.ZodString;
@@ -5189,7 +5256,6 @@ export declare const EventDocument: z.ZodObject<{
5189
5256
  addressLine3?: string | null | undefined;
5190
5257
  postcodeOrZip?: string | null | undefined;
5191
5258
  }>]>>>;
5192
- createdAtLocation: z.ZodString;
5193
5259
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5194
5260
  originalActionId: z.ZodOptional<z.ZodString>;
5195
5261
  }, {
@@ -5241,8 +5307,9 @@ export declare const EventDocument: z.ZodObject<{
5241
5307
  filename: string;
5242
5308
  originalFilename: string;
5243
5309
  }[] | [string, string] | undefined>;
5244
- createdAtLocation: string;
5245
5310
  assignedTo: null;
5311
+ createdBySignature?: string | null | undefined;
5312
+ createdAtLocation?: string | null | undefined;
5246
5313
  annotation?: Record<string, string | number | boolean | {
5247
5314
  type: string;
5248
5315
  filename: string;
@@ -5328,8 +5395,9 @@ export declare const EventDocument: z.ZodObject<{
5328
5395
  filename: string;
5329
5396
  originalFilename: string;
5330
5397
  }[] | [string, string] | undefined>;
5331
- createdAtLocation: string;
5332
5398
  assignedTo: null;
5399
+ createdBySignature?: string | null | undefined;
5400
+ createdAtLocation?: string | null | undefined;
5333
5401
  annotation?: Record<string, string | number | boolean | {
5334
5402
  type: string;
5335
5403
  filename: string;
@@ -5375,6 +5443,8 @@ export declare const EventDocument: z.ZodObject<{
5375
5443
  createdAt: z.ZodString;
5376
5444
  createdBy: z.ZodString;
5377
5445
  createdByRole: z.ZodString;
5446
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5447
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5378
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<{
5379
5449
  filename: z.ZodString;
5380
5450
  originalFilename: z.ZodString;
@@ -5603,7 +5673,6 @@ export declare const EventDocument: z.ZodObject<{
5603
5673
  addressLine3?: string | null | undefined;
5604
5674
  postcodeOrZip?: string | null | undefined;
5605
5675
  }>]>>>;
5606
- createdAtLocation: z.ZodString;
5607
5676
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5608
5677
  originalActionId: z.ZodOptional<z.ZodString>;
5609
5678
  }, {
@@ -5654,7 +5723,8 @@ export declare const EventDocument: z.ZodObject<{
5654
5723
  filename: string;
5655
5724
  originalFilename: string;
5656
5725
  }[] | [string, string] | undefined>;
5657
- createdAtLocation: string;
5726
+ createdBySignature?: string | null | undefined;
5727
+ createdAtLocation?: string | null | undefined;
5658
5728
  annotation?: Record<string, string | number | boolean | {
5659
5729
  type: string;
5660
5730
  filename: string;
@@ -5740,7 +5810,8 @@ export declare const EventDocument: z.ZodObject<{
5740
5810
  filename: string;
5741
5811
  originalFilename: string;
5742
5812
  }[] | [string, string] | undefined>;
5743
- createdAtLocation: string;
5813
+ createdBySignature?: string | null | undefined;
5814
+ createdAtLocation?: string | null | undefined;
5744
5815
  annotation?: Record<string, string | number | boolean | {
5745
5816
  type: string;
5746
5817
  filename: string;
@@ -5786,6 +5857,8 @@ export declare const EventDocument: z.ZodObject<{
5786
5857
  createdAt: z.ZodString;
5787
5858
  createdBy: z.ZodString;
5788
5859
  createdByRole: z.ZodString;
5860
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5789
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<{
5790
5863
  filename: z.ZodString;
5791
5864
  originalFilename: z.ZodString;
@@ -6014,7 +6087,6 @@ export declare const EventDocument: z.ZodObject<{
6014
6087
  addressLine3?: string | null | undefined;
6015
6088
  postcodeOrZip?: string | null | undefined;
6016
6089
  }>]>>>;
6017
- createdAtLocation: z.ZodString;
6018
6090
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6019
6091
  originalActionId: z.ZodOptional<z.ZodString>;
6020
6092
  }, {
@@ -6065,7 +6137,8 @@ export declare const EventDocument: z.ZodObject<{
6065
6137
  filename: string;
6066
6138
  originalFilename: string;
6067
6139
  }[] | [string, string] | undefined>;
6068
- createdAtLocation: string;
6140
+ createdBySignature?: string | null | undefined;
6141
+ createdAtLocation?: string | null | undefined;
6069
6142
  annotation?: Record<string, string | number | boolean | {
6070
6143
  type: string;
6071
6144
  filename: string;
@@ -6151,7 +6224,8 @@ export declare const EventDocument: z.ZodObject<{
6151
6224
  filename: string;
6152
6225
  originalFilename: string;
6153
6226
  }[] | [string, string] | undefined>;
6154
- createdAtLocation: string;
6227
+ createdBySignature?: string | null | undefined;
6228
+ createdAtLocation?: string | null | undefined;
6155
6229
  annotation?: Record<string, string | number | boolean | {
6156
6230
  type: string;
6157
6231
  filename: string;
@@ -6197,6 +6271,8 @@ export declare const EventDocument: z.ZodObject<{
6197
6271
  createdAt: z.ZodString;
6198
6272
  createdBy: z.ZodString;
6199
6273
  createdByRole: z.ZodString;
6274
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6275
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6200
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<{
6201
6277
  filename: z.ZodString;
6202
6278
  originalFilename: z.ZodString;
@@ -6425,7 +6501,6 @@ export declare const EventDocument: z.ZodObject<{
6425
6501
  addressLine3?: string | null | undefined;
6426
6502
  postcodeOrZip?: string | null | undefined;
6427
6503
  }>]>>>;
6428
- createdAtLocation: z.ZodString;
6429
6504
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6430
6505
  originalActionId: z.ZodOptional<z.ZodString>;
6431
6506
  }, "declaration" | "annotation">, {
@@ -6439,7 +6514,8 @@ export declare const EventDocument: z.ZodObject<{
6439
6514
  createdAt: string;
6440
6515
  createdBy: string;
6441
6516
  createdByRole: string;
6442
- createdAtLocation: string;
6517
+ createdBySignature?: string | null | undefined;
6518
+ createdAtLocation?: string | null | undefined;
6443
6519
  originalActionId?: string | undefined;
6444
6520
  }, {
6445
6521
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -6449,7 +6525,8 @@ export declare const EventDocument: z.ZodObject<{
6449
6525
  createdAt: string;
6450
6526
  createdBy: string;
6451
6527
  createdByRole: string;
6452
- createdAtLocation: string;
6528
+ createdBySignature?: string | null | undefined;
6529
+ createdAtLocation?: string | null | undefined;
6453
6530
  originalActionId?: string | undefined;
6454
6531
  }>]>, "many">;
6455
6532
  trackingId: z.ZodString;
@@ -6504,8 +6581,9 @@ export declare const EventDocument: z.ZodObject<{
6504
6581
  filename: string;
6505
6582
  originalFilename: string;
6506
6583
  }[] | [string, string] | undefined>;
6507
- createdAtLocation: string;
6508
6584
  assignedTo: string;
6585
+ createdBySignature?: string | null | undefined;
6586
+ createdAtLocation?: string | null | undefined;
6509
6587
  annotation?: Record<string, string | number | boolean | {
6510
6588
  type: string;
6511
6589
  filename: string;
@@ -6591,8 +6669,9 @@ export declare const EventDocument: z.ZodObject<{
6591
6669
  filename: string;
6592
6670
  originalFilename: string;
6593
6671
  }[] | [string, string] | undefined>;
6594
- createdAtLocation: string;
6595
6672
  assignedTo: null;
6673
+ createdBySignature?: string | null | undefined;
6674
+ createdAtLocation?: string | null | undefined;
6596
6675
  annotation?: Record<string, string | number | boolean | {
6597
6676
  type: string;
6598
6677
  filename: string;
@@ -6678,7 +6757,8 @@ export declare const EventDocument: z.ZodObject<{
6678
6757
  filename: string;
6679
6758
  originalFilename: string;
6680
6759
  }[] | [string, string] | undefined>;
6681
- createdAtLocation: string;
6760
+ createdBySignature?: string | null | undefined;
6761
+ createdAtLocation?: string | null | undefined;
6682
6762
  annotation?: Record<string, string | number | boolean | {
6683
6763
  type: string;
6684
6764
  filename: string;
@@ -6765,7 +6845,8 @@ export declare const EventDocument: z.ZodObject<{
6765
6845
  filename: string;
6766
6846
  originalFilename: string;
6767
6847
  }[] | [string, string] | undefined>;
6768
- createdAtLocation: string;
6848
+ createdBySignature?: string | null | undefined;
6849
+ createdAtLocation?: string | null | undefined;
6769
6850
  annotation?: Record<string, string | number | boolean | {
6770
6851
  type: string;
6771
6852
  filename: string;
@@ -6851,7 +6932,8 @@ export declare const EventDocument: z.ZodObject<{
6851
6932
  filename: string;
6852
6933
  originalFilename: string;
6853
6934
  }[] | [string, string] | undefined>;
6854
- createdAtLocation: string;
6935
+ createdBySignature?: string | null | undefined;
6936
+ createdAtLocation?: string | null | undefined;
6855
6937
  annotation?: Record<string, string | number | boolean | {
6856
6938
  type: string;
6857
6939
  filename: string;
@@ -6895,6 +6977,10 @@ export declare const EventDocument: z.ZodObject<{
6895
6977
  type: "REJECT";
6896
6978
  id: string;
6897
6979
  status: "Rejected" | "Requested" | "Accepted";
6980
+ reason: {
6981
+ message: string;
6982
+ isDuplicate?: boolean | undefined;
6983
+ };
6898
6984
  transactionId: string;
6899
6985
  createdAt: string;
6900
6986
  createdBy: string;
@@ -6937,7 +7023,8 @@ export declare const EventDocument: z.ZodObject<{
6937
7023
  filename: string;
6938
7024
  originalFilename: string;
6939
7025
  }[] | [string, string] | undefined>;
6940
- createdAtLocation: string;
7026
+ createdBySignature?: string | null | undefined;
7027
+ createdAtLocation?: string | null | undefined;
6941
7028
  annotation?: Record<string, string | number | boolean | {
6942
7029
  type: string;
6943
7030
  filename: string;
@@ -7023,7 +7110,8 @@ export declare const EventDocument: z.ZodObject<{
7023
7110
  filename: string;
7024
7111
  originalFilename: string;
7025
7112
  }[] | [string, string] | undefined>;
7026
- createdAtLocation: string;
7113
+ createdBySignature?: string | null | undefined;
7114
+ createdAtLocation?: string | null | undefined;
7027
7115
  annotation?: Record<string, string | number | boolean | {
7028
7116
  type: string;
7029
7117
  filename: string;
@@ -7067,6 +7155,10 @@ export declare const EventDocument: z.ZodObject<{
7067
7155
  type: "ARCHIVE";
7068
7156
  id: string;
7069
7157
  status: "Rejected" | "Requested" | "Accepted";
7158
+ reason: {
7159
+ message: string;
7160
+ isDuplicate?: boolean | undefined;
7161
+ };
7070
7162
  transactionId: string;
7071
7163
  createdAt: string;
7072
7164
  createdBy: string;
@@ -7109,7 +7201,8 @@ export declare const EventDocument: z.ZodObject<{
7109
7201
  filename: string;
7110
7202
  originalFilename: string;
7111
7203
  }[] | [string, string] | undefined>;
7112
- createdAtLocation: string;
7204
+ createdBySignature?: string | null | undefined;
7205
+ createdAtLocation?: string | null | undefined;
7113
7206
  annotation?: Record<string, string | number | boolean | {
7114
7207
  type: string;
7115
7208
  filename: string;
@@ -7195,7 +7288,8 @@ export declare const EventDocument: z.ZodObject<{
7195
7288
  filename: string;
7196
7289
  originalFilename: string;
7197
7290
  }[] | [string, string] | undefined>;
7198
- createdAtLocation: string;
7291
+ createdBySignature?: string | null | undefined;
7292
+ createdAtLocation?: string | null | undefined;
7199
7293
  annotation?: Record<string, string | number | boolean | {
7200
7294
  type: string;
7201
7295
  filename: string;
@@ -7281,7 +7375,8 @@ export declare const EventDocument: z.ZodObject<{
7281
7375
  filename: string;
7282
7376
  originalFilename: string;
7283
7377
  }[] | [string, string] | undefined>;
7284
- createdAtLocation: string;
7378
+ createdBySignature?: string | null | undefined;
7379
+ createdAtLocation?: string | null | undefined;
7285
7380
  annotation?: Record<string, string | number | boolean | {
7286
7381
  type: string;
7287
7382
  filename: string;
@@ -7367,7 +7462,8 @@ export declare const EventDocument: z.ZodObject<{
7367
7462
  filename: string;
7368
7463
  originalFilename: string;
7369
7464
  }[] | [string, string] | undefined>;
7370
- createdAtLocation: string;
7465
+ createdBySignature?: string | null | undefined;
7466
+ createdAtLocation?: string | null | undefined;
7371
7467
  annotation?: Record<string, string | number | boolean | {
7372
7468
  type: string;
7373
7469
  filename: string;
@@ -7453,7 +7549,8 @@ export declare const EventDocument: z.ZodObject<{
7453
7549
  filename: string;
7454
7550
  originalFilename: string;
7455
7551
  }[] | [string, string] | undefined>;
7456
- createdAtLocation: string;
7552
+ createdBySignature?: string | null | undefined;
7553
+ createdAtLocation?: string | null | undefined;
7457
7554
  annotation?: Record<string, string | number | boolean | {
7458
7555
  type: string;
7459
7556
  filename: string;
@@ -7539,8 +7636,9 @@ export declare const EventDocument: z.ZodObject<{
7539
7636
  filename: string;
7540
7637
  originalFilename: string;
7541
7638
  }[] | [string, string] | undefined>;
7542
- createdAtLocation: string;
7543
7639
  requestId: string;
7640
+ createdBySignature?: string | null | undefined;
7641
+ createdAtLocation?: string | null | undefined;
7544
7642
  annotation?: Record<string, string | number | boolean | {
7545
7643
  type: string;
7546
7644
  filename: string;
@@ -7626,8 +7724,9 @@ export declare const EventDocument: z.ZodObject<{
7626
7724
  filename: string;
7627
7725
  originalFilename: string;
7628
7726
  }[] | [string, string] | undefined>;
7629
- createdAtLocation: string;
7630
7727
  requestId: string;
7728
+ createdBySignature?: string | null | undefined;
7729
+ createdAtLocation?: string | null | undefined;
7631
7730
  annotation?: Record<string, string | number | boolean | {
7632
7731
  type: string;
7633
7732
  filename: string;
@@ -7713,7 +7812,8 @@ export declare const EventDocument: z.ZodObject<{
7713
7812
  filename: string;
7714
7813
  originalFilename: string;
7715
7814
  }[] | [string, string] | undefined>;
7716
- createdAtLocation: string;
7815
+ createdBySignature?: string | null | undefined;
7816
+ createdAtLocation?: string | null | undefined;
7717
7817
  annotation?: Record<string, string | number | boolean | {
7718
7818
  type: string;
7719
7819
  filename: string;
@@ -7761,13 +7861,11 @@ export declare const EventDocument: z.ZodObject<{
7761
7861
  createdAt: string;
7762
7862
  createdBy: string;
7763
7863
  createdByRole: string;
7764
- createdAtLocation: string;
7864
+ createdBySignature?: string | null | undefined;
7865
+ createdAtLocation?: string | null | undefined;
7765
7866
  originalActionId?: string | undefined;
7766
7867
  })[];
7767
7868
  trackingId: string;
7768
- dateOfEvent?: {
7769
- fieldId: string;
7770
- } | undefined;
7771
7869
  }, {
7772
7870
  type: string;
7773
7871
  id: string;
@@ -7819,8 +7917,9 @@ export declare const EventDocument: z.ZodObject<{
7819
7917
  filename: string;
7820
7918
  originalFilename: string;
7821
7919
  }[] | [string, string] | undefined>;
7822
- createdAtLocation: string;
7823
7920
  assignedTo: string;
7921
+ createdBySignature?: string | null | undefined;
7922
+ createdAtLocation?: string | null | undefined;
7824
7923
  annotation?: Record<string, string | number | boolean | {
7825
7924
  type: string;
7826
7925
  filename: string;
@@ -7906,8 +8005,9 @@ export declare const EventDocument: z.ZodObject<{
7906
8005
  filename: string;
7907
8006
  originalFilename: string;
7908
8007
  }[] | [string, string] | undefined>;
7909
- createdAtLocation: string;
7910
8008
  assignedTo: null;
8009
+ createdBySignature?: string | null | undefined;
8010
+ createdAtLocation?: string | null | undefined;
7911
8011
  annotation?: Record<string, string | number | boolean | {
7912
8012
  type: string;
7913
8013
  filename: string;
@@ -7993,7 +8093,8 @@ export declare const EventDocument: z.ZodObject<{
7993
8093
  filename: string;
7994
8094
  originalFilename: string;
7995
8095
  }[] | [string, string] | undefined>;
7996
- createdAtLocation: string;
8096
+ createdBySignature?: string | null | undefined;
8097
+ createdAtLocation?: string | null | undefined;
7997
8098
  annotation?: Record<string, string | number | boolean | {
7998
8099
  type: string;
7999
8100
  filename: string;
@@ -8080,7 +8181,8 @@ export declare const EventDocument: z.ZodObject<{
8080
8181
  filename: string;
8081
8182
  originalFilename: string;
8082
8183
  }[] | [string, string] | undefined>;
8083
- createdAtLocation: string;
8184
+ createdBySignature?: string | null | undefined;
8185
+ createdAtLocation?: string | null | undefined;
8084
8186
  annotation?: Record<string, string | number | boolean | {
8085
8187
  type: string;
8086
8188
  filename: string;
@@ -8166,7 +8268,8 @@ export declare const EventDocument: z.ZodObject<{
8166
8268
  filename: string;
8167
8269
  originalFilename: string;
8168
8270
  }[] | [string, string] | undefined>;
8169
- createdAtLocation: string;
8271
+ createdBySignature?: string | null | undefined;
8272
+ createdAtLocation?: string | null | undefined;
8170
8273
  annotation?: Record<string, string | number | boolean | {
8171
8274
  type: string;
8172
8275
  filename: string;
@@ -8210,6 +8313,10 @@ export declare const EventDocument: z.ZodObject<{
8210
8313
  type: "REJECT";
8211
8314
  id: string;
8212
8315
  status: "Rejected" | "Requested" | "Accepted";
8316
+ reason: {
8317
+ message: string;
8318
+ isDuplicate?: boolean | undefined;
8319
+ };
8213
8320
  transactionId: string;
8214
8321
  createdAt: string;
8215
8322
  createdBy: string;
@@ -8252,7 +8359,8 @@ export declare const EventDocument: z.ZodObject<{
8252
8359
  filename: string;
8253
8360
  originalFilename: string;
8254
8361
  }[] | [string, string] | undefined>;
8255
- createdAtLocation: string;
8362
+ createdBySignature?: string | null | undefined;
8363
+ createdAtLocation?: string | null | undefined;
8256
8364
  annotation?: Record<string, string | number | boolean | {
8257
8365
  type: string;
8258
8366
  filename: string;
@@ -8338,7 +8446,8 @@ export declare const EventDocument: z.ZodObject<{
8338
8446
  filename: string;
8339
8447
  originalFilename: string;
8340
8448
  }[] | [string, string] | undefined>;
8341
- createdAtLocation: string;
8449
+ createdBySignature?: string | null | undefined;
8450
+ createdAtLocation?: string | null | undefined;
8342
8451
  annotation?: Record<string, string | number | boolean | {
8343
8452
  type: string;
8344
8453
  filename: string;
@@ -8382,6 +8491,10 @@ export declare const EventDocument: z.ZodObject<{
8382
8491
  type: "ARCHIVE";
8383
8492
  id: string;
8384
8493
  status: "Rejected" | "Requested" | "Accepted";
8494
+ reason: {
8495
+ message: string;
8496
+ isDuplicate?: boolean | undefined;
8497
+ };
8385
8498
  transactionId: string;
8386
8499
  createdAt: string;
8387
8500
  createdBy: string;
@@ -8424,7 +8537,8 @@ export declare const EventDocument: z.ZodObject<{
8424
8537
  filename: string;
8425
8538
  originalFilename: string;
8426
8539
  }[] | [string, string] | undefined>;
8427
- createdAtLocation: string;
8540
+ createdBySignature?: string | null | undefined;
8541
+ createdAtLocation?: string | null | undefined;
8428
8542
  annotation?: Record<string, string | number | boolean | {
8429
8543
  type: string;
8430
8544
  filename: string;
@@ -8510,7 +8624,8 @@ export declare const EventDocument: z.ZodObject<{
8510
8624
  filename: string;
8511
8625
  originalFilename: string;
8512
8626
  }[] | [string, string] | undefined>;
8513
- createdAtLocation: string;
8627
+ createdBySignature?: string | null | undefined;
8628
+ createdAtLocation?: string | null | undefined;
8514
8629
  annotation?: Record<string, string | number | boolean | {
8515
8630
  type: string;
8516
8631
  filename: string;
@@ -8596,7 +8711,8 @@ export declare const EventDocument: z.ZodObject<{
8596
8711
  filename: string;
8597
8712
  originalFilename: string;
8598
8713
  }[] | [string, string] | undefined>;
8599
- createdAtLocation: string;
8714
+ createdBySignature?: string | null | undefined;
8715
+ createdAtLocation?: string | null | undefined;
8600
8716
  annotation?: Record<string, string | number | boolean | {
8601
8717
  type: string;
8602
8718
  filename: string;
@@ -8682,7 +8798,8 @@ export declare const EventDocument: z.ZodObject<{
8682
8798
  filename: string;
8683
8799
  originalFilename: string;
8684
8800
  }[] | [string, string] | undefined>;
8685
- createdAtLocation: string;
8801
+ createdBySignature?: string | null | undefined;
8802
+ createdAtLocation?: string | null | undefined;
8686
8803
  annotation?: Record<string, string | number | boolean | {
8687
8804
  type: string;
8688
8805
  filename: string;
@@ -8768,7 +8885,8 @@ export declare const EventDocument: z.ZodObject<{
8768
8885
  filename: string;
8769
8886
  originalFilename: string;
8770
8887
  }[] | [string, string] | undefined>;
8771
- createdAtLocation: string;
8888
+ createdBySignature?: string | null | undefined;
8889
+ createdAtLocation?: string | null | undefined;
8772
8890
  annotation?: Record<string, string | number | boolean | {
8773
8891
  type: string;
8774
8892
  filename: string;
@@ -8854,8 +8972,9 @@ export declare const EventDocument: z.ZodObject<{
8854
8972
  filename: string;
8855
8973
  originalFilename: string;
8856
8974
  }[] | [string, string] | undefined>;
8857
- createdAtLocation: string;
8858
8975
  requestId: string;
8976
+ createdBySignature?: string | null | undefined;
8977
+ createdAtLocation?: string | null | undefined;
8859
8978
  annotation?: Record<string, string | number | boolean | {
8860
8979
  type: string;
8861
8980
  filename: string;
@@ -8941,8 +9060,9 @@ export declare const EventDocument: z.ZodObject<{
8941
9060
  filename: string;
8942
9061
  originalFilename: string;
8943
9062
  }[] | [string, string] | undefined>;
8944
- createdAtLocation: string;
8945
9063
  requestId: string;
9064
+ createdBySignature?: string | null | undefined;
9065
+ createdAtLocation?: string | null | undefined;
8946
9066
  annotation?: Record<string, string | number | boolean | {
8947
9067
  type: string;
8948
9068
  filename: string;
@@ -9028,7 +9148,8 @@ export declare const EventDocument: z.ZodObject<{
9028
9148
  filename: string;
9029
9149
  originalFilename: string;
9030
9150
  }[] | [string, string] | undefined>;
9031
- createdAtLocation: string;
9151
+ createdBySignature?: string | null | undefined;
9152
+ createdAtLocation?: string | null | undefined;
9032
9153
  annotation?: Record<string, string | number | boolean | {
9033
9154
  type: string;
9034
9155
  filename: string;
@@ -9076,13 +9197,11 @@ export declare const EventDocument: z.ZodObject<{
9076
9197
  createdAt: string;
9077
9198
  createdBy: string;
9078
9199
  createdByRole: string;
9079
- createdAtLocation: string;
9200
+ createdBySignature?: string | null | undefined;
9201
+ createdAtLocation?: string | null | undefined;
9080
9202
  originalActionId?: string | undefined;
9081
9203
  })[];
9082
9204
  trackingId: string;
9083
- dateOfEvent?: {
9084
- fieldId: string;
9085
- } | undefined;
9086
9205
  }>;
9087
9206
  export type EventDocument = z.infer<typeof EventDocument>;
9088
9207
  //# sourceMappingURL=EventDocument.d.ts.map