@opencrvs/toolkit 1.8.0-rc.f9c5526 → 1.8.0-rc.f9d33b7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/commons/api/router.d.ts +7290 -4133
  2. package/dist/commons/conditionals/conditionals.d.ts +9 -6
  3. package/dist/commons/conditionals/validate.d.ts +4 -6
  4. package/dist/commons/events/ActionConfig.d.ts +86380 -1682
  5. package/dist/commons/events/ActionDocument.d.ts +420 -103
  6. package/dist/commons/events/ActionInput.d.ts +158 -60
  7. package/dist/commons/events/ActionType.d.ts +2 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +371 -25
  9. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  10. package/dist/commons/events/Draft.d.ts +27 -9
  11. package/dist/commons/events/EventConfig.d.ts +41061 -1337
  12. package/dist/commons/events/EventDocument.d.ts +334 -77
  13. package/dist/commons/events/EventIndex.d.ts +915 -4
  14. package/dist/commons/events/EventInput.d.ts +13 -0
  15. package/dist/commons/events/EventMetadata.d.ts +13 -3
  16. package/dist/commons/events/FieldConfig.d.ts +3466 -721
  17. package/dist/commons/events/FieldType.d.ts +1 -2
  18. package/dist/commons/events/FieldValue.d.ts +1 -1
  19. package/dist/commons/events/FormConfig.d.ts +38845 -517
  20. package/dist/commons/events/PageConfig.d.ts +9671 -203
  21. package/dist/commons/events/SummaryConfig.d.ts +81 -42
  22. package/dist/commons/events/User.d.ts +5 -0
  23. package/dist/commons/events/WorkqueueConfig.d.ts +44 -20
  24. package/dist/commons/events/defineConfig.d.ts +6681 -31
  25. package/dist/commons/events/event.d.ts +25 -0
  26. package/dist/commons/events/field.d.ts +68 -0
  27. package/dist/commons/events/index.d.ts +3 -0
  28. package/dist/commons/events/scopes.d.ts +26 -0
  29. package/dist/commons/events/test.utils.d.ts +1 -38
  30. package/dist/commons/events/utils.d.ts +3404 -91
  31. package/dist/commons/events/utils.test.d.ts +2 -0
  32. package/dist/conditionals/index.js +36 -33
  33. package/dist/events/index.js +975 -625
  34. package/package.json +3 -2
@@ -2,12 +2,22 @@ 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
+ }>>;
5
12
  createdAt: z.ZodString;
6
13
  updatedAt: z.ZodString;
14
+ updatedAtLocation: z.ZodString;
7
15
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
16
  id: z.ZodString;
17
+ transactionId: z.ZodString;
9
18
  createdAt: z.ZodString;
10
19
  createdBy: z.ZodString;
20
+ createdByRole: z.ZodString;
11
21
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12
22
  filename: z.ZodString;
13
23
  originalFilename: z.ZodString;
@@ -236,7 +246,8 @@ export declare const EventDocument: z.ZodObject<{
236
246
  addressLine3?: string | null | undefined;
237
247
  postcodeOrZip?: string | null | undefined;
238
248
  }>]>>>;
239
- createdAtLocation: z.ZodString;
249
+ createdAtLocation: z.ZodOptional<z.ZodString>;
250
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
240
251
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
241
252
  originalActionId: z.ZodOptional<z.ZodString>;
242
253
  }, {
@@ -245,8 +256,10 @@ export declare const EventDocument: z.ZodObject<{
245
256
  type: "CREATE";
246
257
  id: string;
247
258
  status: "Rejected" | "Requested" | "Accepted";
259
+ transactionId: string;
248
260
  createdAt: string;
249
261
  createdBy: string;
262
+ createdByRole: string;
250
263
  declaration: Record<string, string | number | boolean | {
251
264
  type: string;
252
265
  filename: string;
@@ -285,7 +298,6 @@ export declare const EventDocument: z.ZodObject<{
285
298
  filename: string;
286
299
  originalFilename: string;
287
300
  }[] | undefined>;
288
- createdAtLocation: string;
289
301
  annotation?: Record<string, string | number | boolean | {
290
302
  type: string;
291
303
  filename: string;
@@ -324,13 +336,17 @@ export declare const EventDocument: z.ZodObject<{
324
336
  filename: string;
325
337
  originalFilename: string;
326
338
  }[] | undefined> | undefined;
339
+ createdAtLocation?: string | undefined;
340
+ updatedAtLocation?: string | undefined;
327
341
  originalActionId?: string | undefined;
328
342
  }, {
329
343
  type: "CREATE";
330
344
  id: string;
331
345
  status: "Rejected" | "Requested" | "Accepted";
346
+ transactionId: string;
332
347
  createdAt: string;
333
348
  createdBy: string;
349
+ createdByRole: string;
334
350
  declaration: Record<string, string | number | boolean | {
335
351
  type: string;
336
352
  filename: string;
@@ -369,7 +385,6 @@ export declare const EventDocument: z.ZodObject<{
369
385
  filename: string;
370
386
  originalFilename: string;
371
387
  }[] | undefined>;
372
- createdAtLocation: string;
373
388
  annotation?: Record<string, string | number | boolean | {
374
389
  type: string;
375
390
  filename: string;
@@ -408,11 +423,15 @@ export declare const EventDocument: z.ZodObject<{
408
423
  filename: string;
409
424
  originalFilename: string;
410
425
  }[] | undefined> | undefined;
426
+ createdAtLocation?: string | undefined;
427
+ updatedAtLocation?: string | undefined;
411
428
  originalActionId?: string | undefined;
412
429
  }>, z.ZodObject<z.objectUtil.extendShape<{
413
430
  id: z.ZodString;
431
+ transactionId: z.ZodString;
414
432
  createdAt: z.ZodString;
415
433
  createdBy: z.ZodString;
434
+ createdByRole: z.ZodString;
416
435
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
417
436
  filename: z.ZodString;
418
437
  originalFilename: z.ZodString;
@@ -641,7 +660,8 @@ export declare const EventDocument: z.ZodObject<{
641
660
  addressLine3?: string | null | undefined;
642
661
  postcodeOrZip?: string | null | undefined;
643
662
  }>]>>>;
644
- createdAtLocation: z.ZodString;
663
+ createdAtLocation: z.ZodOptional<z.ZodString>;
664
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
645
665
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
646
666
  originalActionId: z.ZodOptional<z.ZodString>;
647
667
  }, {
@@ -650,8 +670,10 @@ export declare const EventDocument: z.ZodObject<{
650
670
  type: "VALIDATE";
651
671
  id: string;
652
672
  status: "Rejected" | "Requested" | "Accepted";
673
+ transactionId: string;
653
674
  createdAt: string;
654
675
  createdBy: string;
676
+ createdByRole: string;
655
677
  declaration: Record<string, string | number | boolean | {
656
678
  type: string;
657
679
  filename: string;
@@ -690,7 +712,6 @@ export declare const EventDocument: z.ZodObject<{
690
712
  filename: string;
691
713
  originalFilename: string;
692
714
  }[] | undefined>;
693
- createdAtLocation: string;
694
715
  annotation?: Record<string, string | number | boolean | {
695
716
  type: string;
696
717
  filename: string;
@@ -729,13 +750,17 @@ export declare const EventDocument: z.ZodObject<{
729
750
  filename: string;
730
751
  originalFilename: string;
731
752
  }[] | undefined> | undefined;
753
+ createdAtLocation?: string | undefined;
754
+ updatedAtLocation?: string | undefined;
732
755
  originalActionId?: string | undefined;
733
756
  }, {
734
757
  type: "VALIDATE";
735
758
  id: string;
736
759
  status: "Rejected" | "Requested" | "Accepted";
760
+ transactionId: string;
737
761
  createdAt: string;
738
762
  createdBy: string;
763
+ createdByRole: string;
739
764
  declaration: Record<string, string | number | boolean | {
740
765
  type: string;
741
766
  filename: string;
@@ -774,7 +799,6 @@ export declare const EventDocument: z.ZodObject<{
774
799
  filename: string;
775
800
  originalFilename: string;
776
801
  }[] | undefined>;
777
- createdAtLocation: string;
778
802
  annotation?: Record<string, string | number | boolean | {
779
803
  type: string;
780
804
  filename: string;
@@ -813,11 +837,15 @@ export declare const EventDocument: z.ZodObject<{
813
837
  filename: string;
814
838
  originalFilename: string;
815
839
  }[] | undefined> | undefined;
840
+ createdAtLocation?: string | undefined;
841
+ updatedAtLocation?: string | undefined;
816
842
  originalActionId?: string | undefined;
817
843
  }>, z.ZodObject<z.objectUtil.extendShape<{
818
844
  id: z.ZodString;
845
+ transactionId: z.ZodString;
819
846
  createdAt: z.ZodString;
820
847
  createdBy: z.ZodString;
848
+ createdByRole: z.ZodString;
821
849
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
822
850
  filename: z.ZodString;
823
851
  originalFilename: z.ZodString;
@@ -1046,7 +1074,8 @@ export declare const EventDocument: z.ZodObject<{
1046
1074
  addressLine3?: string | null | undefined;
1047
1075
  postcodeOrZip?: string | null | undefined;
1048
1076
  }>]>>>;
1049
- createdAtLocation: z.ZodString;
1077
+ createdAtLocation: z.ZodOptional<z.ZodString>;
1078
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
1050
1079
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1051
1080
  originalActionId: z.ZodOptional<z.ZodString>;
1052
1081
  }, {
@@ -1055,8 +1084,10 @@ export declare const EventDocument: z.ZodObject<{
1055
1084
  type: "REJECT";
1056
1085
  id: string;
1057
1086
  status: "Rejected" | "Requested" | "Accepted";
1087
+ transactionId: string;
1058
1088
  createdAt: string;
1059
1089
  createdBy: string;
1090
+ createdByRole: string;
1060
1091
  declaration: Record<string, string | number | boolean | {
1061
1092
  type: string;
1062
1093
  filename: string;
@@ -1095,7 +1126,6 @@ export declare const EventDocument: z.ZodObject<{
1095
1126
  filename: string;
1096
1127
  originalFilename: string;
1097
1128
  }[] | undefined>;
1098
- createdAtLocation: string;
1099
1129
  annotation?: Record<string, string | number | boolean | {
1100
1130
  type: string;
1101
1131
  filename: string;
@@ -1134,13 +1164,17 @@ export declare const EventDocument: z.ZodObject<{
1134
1164
  filename: string;
1135
1165
  originalFilename: string;
1136
1166
  }[] | undefined> | undefined;
1167
+ createdAtLocation?: string | undefined;
1168
+ updatedAtLocation?: string | undefined;
1137
1169
  originalActionId?: string | undefined;
1138
1170
  }, {
1139
1171
  type: "REJECT";
1140
1172
  id: string;
1141
1173
  status: "Rejected" | "Requested" | "Accepted";
1174
+ transactionId: string;
1142
1175
  createdAt: string;
1143
1176
  createdBy: string;
1177
+ createdByRole: string;
1144
1178
  declaration: Record<string, string | number | boolean | {
1145
1179
  type: string;
1146
1180
  filename: string;
@@ -1179,7 +1213,6 @@ export declare const EventDocument: z.ZodObject<{
1179
1213
  filename: string;
1180
1214
  originalFilename: string;
1181
1215
  }[] | undefined>;
1182
- createdAtLocation: string;
1183
1216
  annotation?: Record<string, string | number | boolean | {
1184
1217
  type: string;
1185
1218
  filename: string;
@@ -1218,11 +1251,15 @@ export declare const EventDocument: z.ZodObject<{
1218
1251
  filename: string;
1219
1252
  originalFilename: string;
1220
1253
  }[] | undefined> | undefined;
1254
+ createdAtLocation?: string | undefined;
1255
+ updatedAtLocation?: string | undefined;
1221
1256
  originalActionId?: string | undefined;
1222
1257
  }>, z.ZodObject<z.objectUtil.extendShape<{
1223
1258
  id: z.ZodString;
1259
+ transactionId: z.ZodString;
1224
1260
  createdAt: z.ZodString;
1225
1261
  createdBy: z.ZodString;
1262
+ createdByRole: z.ZodString;
1226
1263
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1227
1264
  filename: z.ZodString;
1228
1265
  originalFilename: z.ZodString;
@@ -1451,7 +1488,8 @@ export declare const EventDocument: z.ZodObject<{
1451
1488
  addressLine3?: string | null | undefined;
1452
1489
  postcodeOrZip?: string | null | undefined;
1453
1490
  }>]>>>;
1454
- createdAtLocation: z.ZodString;
1491
+ createdAtLocation: z.ZodOptional<z.ZodString>;
1492
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
1455
1493
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1456
1494
  originalActionId: z.ZodOptional<z.ZodString>;
1457
1495
  }, {
@@ -1460,8 +1498,10 @@ export declare const EventDocument: z.ZodObject<{
1460
1498
  type: "MARKED_AS_DUPLICATE";
1461
1499
  id: string;
1462
1500
  status: "Rejected" | "Requested" | "Accepted";
1501
+ transactionId: string;
1463
1502
  createdAt: string;
1464
1503
  createdBy: string;
1504
+ createdByRole: string;
1465
1505
  declaration: Record<string, string | number | boolean | {
1466
1506
  type: string;
1467
1507
  filename: string;
@@ -1500,7 +1540,6 @@ export declare const EventDocument: z.ZodObject<{
1500
1540
  filename: string;
1501
1541
  originalFilename: string;
1502
1542
  }[] | undefined>;
1503
- createdAtLocation: string;
1504
1543
  annotation?: Record<string, string | number | boolean | {
1505
1544
  type: string;
1506
1545
  filename: string;
@@ -1539,13 +1578,17 @@ export declare const EventDocument: z.ZodObject<{
1539
1578
  filename: string;
1540
1579
  originalFilename: string;
1541
1580
  }[] | undefined> | undefined;
1581
+ createdAtLocation?: string | undefined;
1582
+ updatedAtLocation?: string | undefined;
1542
1583
  originalActionId?: string | undefined;
1543
1584
  }, {
1544
1585
  type: "MARKED_AS_DUPLICATE";
1545
1586
  id: string;
1546
1587
  status: "Rejected" | "Requested" | "Accepted";
1588
+ transactionId: string;
1547
1589
  createdAt: string;
1548
1590
  createdBy: string;
1591
+ createdByRole: string;
1549
1592
  declaration: Record<string, string | number | boolean | {
1550
1593
  type: string;
1551
1594
  filename: string;
@@ -1584,7 +1627,6 @@ export declare const EventDocument: z.ZodObject<{
1584
1627
  filename: string;
1585
1628
  originalFilename: string;
1586
1629
  }[] | undefined>;
1587
- createdAtLocation: string;
1588
1630
  annotation?: Record<string, string | number | boolean | {
1589
1631
  type: string;
1590
1632
  filename: string;
@@ -1623,11 +1665,15 @@ export declare const EventDocument: z.ZodObject<{
1623
1665
  filename: string;
1624
1666
  originalFilename: string;
1625
1667
  }[] | undefined> | undefined;
1668
+ createdAtLocation?: string | undefined;
1669
+ updatedAtLocation?: string | undefined;
1626
1670
  originalActionId?: string | undefined;
1627
1671
  }>, z.ZodObject<z.objectUtil.extendShape<{
1628
1672
  id: z.ZodString;
1673
+ transactionId: z.ZodString;
1629
1674
  createdAt: z.ZodString;
1630
1675
  createdBy: z.ZodString;
1676
+ createdByRole: z.ZodString;
1631
1677
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1632
1678
  filename: z.ZodString;
1633
1679
  originalFilename: z.ZodString;
@@ -1856,7 +1902,8 @@ export declare const EventDocument: z.ZodObject<{
1856
1902
  addressLine3?: string | null | undefined;
1857
1903
  postcodeOrZip?: string | null | undefined;
1858
1904
  }>]>>>;
1859
- createdAtLocation: z.ZodString;
1905
+ createdAtLocation: z.ZodOptional<z.ZodString>;
1906
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
1860
1907
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1861
1908
  originalActionId: z.ZodOptional<z.ZodString>;
1862
1909
  }, {
@@ -1865,8 +1912,10 @@ export declare const EventDocument: z.ZodObject<{
1865
1912
  type: "ARCHIVE";
1866
1913
  id: string;
1867
1914
  status: "Rejected" | "Requested" | "Accepted";
1915
+ transactionId: string;
1868
1916
  createdAt: string;
1869
1917
  createdBy: string;
1918
+ createdByRole: string;
1870
1919
  declaration: Record<string, string | number | boolean | {
1871
1920
  type: string;
1872
1921
  filename: string;
@@ -1905,7 +1954,6 @@ export declare const EventDocument: z.ZodObject<{
1905
1954
  filename: string;
1906
1955
  originalFilename: string;
1907
1956
  }[] | undefined>;
1908
- createdAtLocation: string;
1909
1957
  annotation?: Record<string, string | number | boolean | {
1910
1958
  type: string;
1911
1959
  filename: string;
@@ -1944,13 +1992,17 @@ export declare const EventDocument: z.ZodObject<{
1944
1992
  filename: string;
1945
1993
  originalFilename: string;
1946
1994
  }[] | undefined> | undefined;
1995
+ createdAtLocation?: string | undefined;
1996
+ updatedAtLocation?: string | undefined;
1947
1997
  originalActionId?: string | undefined;
1948
1998
  }, {
1949
1999
  type: "ARCHIVE";
1950
2000
  id: string;
1951
2001
  status: "Rejected" | "Requested" | "Accepted";
2002
+ transactionId: string;
1952
2003
  createdAt: string;
1953
2004
  createdBy: string;
2005
+ createdByRole: string;
1954
2006
  declaration: Record<string, string | number | boolean | {
1955
2007
  type: string;
1956
2008
  filename: string;
@@ -1989,7 +2041,6 @@ export declare const EventDocument: z.ZodObject<{
1989
2041
  filename: string;
1990
2042
  originalFilename: string;
1991
2043
  }[] | undefined>;
1992
- createdAtLocation: string;
1993
2044
  annotation?: Record<string, string | number | boolean | {
1994
2045
  type: string;
1995
2046
  filename: string;
@@ -2028,11 +2079,15 @@ export declare const EventDocument: z.ZodObject<{
2028
2079
  filename: string;
2029
2080
  originalFilename: string;
2030
2081
  }[] | undefined> | undefined;
2082
+ createdAtLocation?: string | undefined;
2083
+ updatedAtLocation?: string | undefined;
2031
2084
  originalActionId?: string | undefined;
2032
2085
  }>, z.ZodObject<z.objectUtil.extendShape<{
2033
2086
  id: z.ZodString;
2087
+ transactionId: z.ZodString;
2034
2088
  createdAt: z.ZodString;
2035
2089
  createdBy: z.ZodString;
2090
+ createdByRole: z.ZodString;
2036
2091
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2037
2092
  filename: z.ZodString;
2038
2093
  originalFilename: z.ZodString;
@@ -2261,7 +2316,8 @@ export declare const EventDocument: z.ZodObject<{
2261
2316
  addressLine3?: string | null | undefined;
2262
2317
  postcodeOrZip?: string | null | undefined;
2263
2318
  }>]>>>;
2264
- createdAtLocation: z.ZodString;
2319
+ createdAtLocation: z.ZodOptional<z.ZodString>;
2320
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
2265
2321
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2266
2322
  originalActionId: z.ZodOptional<z.ZodString>;
2267
2323
  }, {
@@ -2270,8 +2326,10 @@ export declare const EventDocument: z.ZodObject<{
2270
2326
  type: "NOTIFY";
2271
2327
  id: string;
2272
2328
  status: "Rejected" | "Requested" | "Accepted";
2329
+ transactionId: string;
2273
2330
  createdAt: string;
2274
2331
  createdBy: string;
2332
+ createdByRole: string;
2275
2333
  declaration: Record<string, string | number | boolean | {
2276
2334
  type: string;
2277
2335
  filename: string;
@@ -2310,7 +2368,6 @@ export declare const EventDocument: z.ZodObject<{
2310
2368
  filename: string;
2311
2369
  originalFilename: string;
2312
2370
  }[] | undefined>;
2313
- createdAtLocation: string;
2314
2371
  annotation?: Record<string, string | number | boolean | {
2315
2372
  type: string;
2316
2373
  filename: string;
@@ -2349,13 +2406,17 @@ export declare const EventDocument: z.ZodObject<{
2349
2406
  filename: string;
2350
2407
  originalFilename: string;
2351
2408
  }[] | undefined> | undefined;
2409
+ createdAtLocation?: string | undefined;
2410
+ updatedAtLocation?: string | undefined;
2352
2411
  originalActionId?: string | undefined;
2353
2412
  }, {
2354
2413
  type: "NOTIFY";
2355
2414
  id: string;
2356
2415
  status: "Rejected" | "Requested" | "Accepted";
2416
+ transactionId: string;
2357
2417
  createdAt: string;
2358
2418
  createdBy: string;
2419
+ createdByRole: string;
2359
2420
  declaration: Record<string, string | number | boolean | {
2360
2421
  type: string;
2361
2422
  filename: string;
@@ -2394,7 +2455,6 @@ export declare const EventDocument: z.ZodObject<{
2394
2455
  filename: string;
2395
2456
  originalFilename: string;
2396
2457
  }[] | undefined>;
2397
- createdAtLocation: string;
2398
2458
  annotation?: Record<string, string | number | boolean | {
2399
2459
  type: string;
2400
2460
  filename: string;
@@ -2433,11 +2493,15 @@ export declare const EventDocument: z.ZodObject<{
2433
2493
  filename: string;
2434
2494
  originalFilename: string;
2435
2495
  }[] | undefined> | undefined;
2496
+ createdAtLocation?: string | undefined;
2497
+ updatedAtLocation?: string | undefined;
2436
2498
  originalActionId?: string | undefined;
2437
2499
  }>, z.ZodObject<z.objectUtil.extendShape<{
2438
2500
  id: z.ZodString;
2501
+ transactionId: z.ZodString;
2439
2502
  createdAt: z.ZodString;
2440
2503
  createdBy: z.ZodString;
2504
+ createdByRole: z.ZodString;
2441
2505
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2442
2506
  filename: z.ZodString;
2443
2507
  originalFilename: z.ZodString;
@@ -2666,7 +2730,8 @@ export declare const EventDocument: z.ZodObject<{
2666
2730
  addressLine3?: string | null | undefined;
2667
2731
  postcodeOrZip?: string | null | undefined;
2668
2732
  }>]>>>;
2669
- createdAtLocation: z.ZodString;
2733
+ createdAtLocation: z.ZodOptional<z.ZodString>;
2734
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
2670
2735
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2671
2736
  originalActionId: z.ZodOptional<z.ZodString>;
2672
2737
  }, {
@@ -2676,8 +2741,10 @@ export declare const EventDocument: z.ZodObject<{
2676
2741
  type: "REGISTER";
2677
2742
  id: string;
2678
2743
  status: "Rejected" | "Requested" | "Accepted";
2744
+ transactionId: string;
2679
2745
  createdAt: string;
2680
2746
  createdBy: string;
2747
+ createdByRole: string;
2681
2748
  declaration: Record<string, string | number | boolean | {
2682
2749
  type: string;
2683
2750
  filename: string;
@@ -2716,7 +2783,6 @@ export declare const EventDocument: z.ZodObject<{
2716
2783
  filename: string;
2717
2784
  originalFilename: string;
2718
2785
  }[] | undefined>;
2719
- createdAtLocation: string;
2720
2786
  annotation?: Record<string, string | number | boolean | {
2721
2787
  type: string;
2722
2788
  filename: string;
@@ -2755,14 +2821,18 @@ export declare const EventDocument: z.ZodObject<{
2755
2821
  filename: string;
2756
2822
  originalFilename: string;
2757
2823
  }[] | undefined> | undefined;
2824
+ createdAtLocation?: string | undefined;
2825
+ updatedAtLocation?: string | undefined;
2758
2826
  originalActionId?: string | undefined;
2759
2827
  registrationNumber?: string | undefined;
2760
2828
  }, {
2761
2829
  type: "REGISTER";
2762
2830
  id: string;
2763
2831
  status: "Rejected" | "Requested" | "Accepted";
2832
+ transactionId: string;
2764
2833
  createdAt: string;
2765
2834
  createdBy: string;
2835
+ createdByRole: string;
2766
2836
  declaration: Record<string, string | number | boolean | {
2767
2837
  type: string;
2768
2838
  filename: string;
@@ -2801,7 +2871,6 @@ export declare const EventDocument: z.ZodObject<{
2801
2871
  filename: string;
2802
2872
  originalFilename: string;
2803
2873
  }[] | undefined>;
2804
- createdAtLocation: string;
2805
2874
  annotation?: Record<string, string | number | boolean | {
2806
2875
  type: string;
2807
2876
  filename: string;
@@ -2840,12 +2909,16 @@ export declare const EventDocument: z.ZodObject<{
2840
2909
  filename: string;
2841
2910
  originalFilename: string;
2842
2911
  }[] | undefined> | undefined;
2912
+ createdAtLocation?: string | undefined;
2913
+ updatedAtLocation?: string | undefined;
2843
2914
  originalActionId?: string | undefined;
2844
2915
  registrationNumber?: string | undefined;
2845
2916
  }>, z.ZodObject<z.objectUtil.extendShape<{
2846
2917
  id: z.ZodString;
2918
+ transactionId: z.ZodString;
2847
2919
  createdAt: z.ZodString;
2848
2920
  createdBy: z.ZodString;
2921
+ createdByRole: z.ZodString;
2849
2922
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2850
2923
  filename: z.ZodString;
2851
2924
  originalFilename: z.ZodString;
@@ -3074,7 +3147,8 @@ export declare const EventDocument: z.ZodObject<{
3074
3147
  addressLine3?: string | null | undefined;
3075
3148
  postcodeOrZip?: string | null | undefined;
3076
3149
  }>]>>>;
3077
- createdAtLocation: z.ZodString;
3150
+ createdAtLocation: z.ZodOptional<z.ZodString>;
3151
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
3078
3152
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3079
3153
  originalActionId: z.ZodOptional<z.ZodString>;
3080
3154
  }, {
@@ -3083,8 +3157,10 @@ export declare const EventDocument: z.ZodObject<{
3083
3157
  type: "DECLARE";
3084
3158
  id: string;
3085
3159
  status: "Rejected" | "Requested" | "Accepted";
3160
+ transactionId: string;
3086
3161
  createdAt: string;
3087
3162
  createdBy: string;
3163
+ createdByRole: string;
3088
3164
  declaration: Record<string, string | number | boolean | {
3089
3165
  type: string;
3090
3166
  filename: string;
@@ -3123,7 +3199,6 @@ export declare const EventDocument: z.ZodObject<{
3123
3199
  filename: string;
3124
3200
  originalFilename: string;
3125
3201
  }[] | undefined>;
3126
- createdAtLocation: string;
3127
3202
  annotation?: Record<string, string | number | boolean | {
3128
3203
  type: string;
3129
3204
  filename: string;
@@ -3162,13 +3237,17 @@ export declare const EventDocument: z.ZodObject<{
3162
3237
  filename: string;
3163
3238
  originalFilename: string;
3164
3239
  }[] | undefined> | undefined;
3240
+ createdAtLocation?: string | undefined;
3241
+ updatedAtLocation?: string | undefined;
3165
3242
  originalActionId?: string | undefined;
3166
3243
  }, {
3167
3244
  type: "DECLARE";
3168
3245
  id: string;
3169
3246
  status: "Rejected" | "Requested" | "Accepted";
3247
+ transactionId: string;
3170
3248
  createdAt: string;
3171
3249
  createdBy: string;
3250
+ createdByRole: string;
3172
3251
  declaration: Record<string, string | number | boolean | {
3173
3252
  type: string;
3174
3253
  filename: string;
@@ -3207,7 +3286,6 @@ export declare const EventDocument: z.ZodObject<{
3207
3286
  filename: string;
3208
3287
  originalFilename: string;
3209
3288
  }[] | undefined>;
3210
- createdAtLocation: string;
3211
3289
  annotation?: Record<string, string | number | boolean | {
3212
3290
  type: string;
3213
3291
  filename: string;
@@ -3246,11 +3324,15 @@ export declare const EventDocument: z.ZodObject<{
3246
3324
  filename: string;
3247
3325
  originalFilename: string;
3248
3326
  }[] | undefined> | undefined;
3327
+ createdAtLocation?: string | undefined;
3328
+ updatedAtLocation?: string | undefined;
3249
3329
  originalActionId?: string | undefined;
3250
3330
  }>, z.ZodObject<z.objectUtil.extendShape<{
3251
3331
  id: z.ZodString;
3332
+ transactionId: z.ZodString;
3252
3333
  createdAt: z.ZodString;
3253
3334
  createdBy: z.ZodString;
3335
+ createdByRole: z.ZodString;
3254
3336
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3255
3337
  filename: z.ZodString;
3256
3338
  originalFilename: z.ZodString;
@@ -3479,7 +3561,8 @@ export declare const EventDocument: z.ZodObject<{
3479
3561
  addressLine3?: string | null | undefined;
3480
3562
  postcodeOrZip?: string | null | undefined;
3481
3563
  }>]>>>;
3482
- createdAtLocation: z.ZodString;
3564
+ createdAtLocation: z.ZodOptional<z.ZodString>;
3565
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
3483
3566
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3484
3567
  originalActionId: z.ZodOptional<z.ZodString>;
3485
3568
  }, {
@@ -3489,8 +3572,10 @@ export declare const EventDocument: z.ZodObject<{
3489
3572
  type: "ASSIGN";
3490
3573
  id: string;
3491
3574
  status: "Rejected" | "Requested" | "Accepted";
3575
+ transactionId: string;
3492
3576
  createdAt: string;
3493
3577
  createdBy: string;
3578
+ createdByRole: string;
3494
3579
  declaration: Record<string, string | number | boolean | {
3495
3580
  type: string;
3496
3581
  filename: string;
@@ -3529,7 +3614,6 @@ export declare const EventDocument: z.ZodObject<{
3529
3614
  filename: string;
3530
3615
  originalFilename: string;
3531
3616
  }[] | undefined>;
3532
- createdAtLocation: string;
3533
3617
  assignedTo: string;
3534
3618
  annotation?: Record<string, string | number | boolean | {
3535
3619
  type: string;
@@ -3569,13 +3653,17 @@ export declare const EventDocument: z.ZodObject<{
3569
3653
  filename: string;
3570
3654
  originalFilename: string;
3571
3655
  }[] | undefined> | undefined;
3656
+ createdAtLocation?: string | undefined;
3657
+ updatedAtLocation?: string | undefined;
3572
3658
  originalActionId?: string | undefined;
3573
3659
  }, {
3574
3660
  type: "ASSIGN";
3575
3661
  id: string;
3576
3662
  status: "Rejected" | "Requested" | "Accepted";
3663
+ transactionId: string;
3577
3664
  createdAt: string;
3578
3665
  createdBy: string;
3666
+ createdByRole: string;
3579
3667
  declaration: Record<string, string | number | boolean | {
3580
3668
  type: string;
3581
3669
  filename: string;
@@ -3614,7 +3702,6 @@ export declare const EventDocument: z.ZodObject<{
3614
3702
  filename: string;
3615
3703
  originalFilename: string;
3616
3704
  }[] | undefined>;
3617
- createdAtLocation: string;
3618
3705
  assignedTo: string;
3619
3706
  annotation?: Record<string, string | number | boolean | {
3620
3707
  type: string;
@@ -3654,11 +3741,15 @@ export declare const EventDocument: z.ZodObject<{
3654
3741
  filename: string;
3655
3742
  originalFilename: string;
3656
3743
  }[] | undefined> | undefined;
3744
+ createdAtLocation?: string | undefined;
3745
+ updatedAtLocation?: string | undefined;
3657
3746
  originalActionId?: string | undefined;
3658
3747
  }>, z.ZodObject<z.objectUtil.extendShape<{
3659
3748
  id: z.ZodString;
3749
+ transactionId: z.ZodString;
3660
3750
  createdAt: z.ZodString;
3661
3751
  createdBy: z.ZodString;
3752
+ createdByRole: z.ZodString;
3662
3753
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3663
3754
  filename: z.ZodString;
3664
3755
  originalFilename: z.ZodString;
@@ -3887,7 +3978,8 @@ export declare const EventDocument: z.ZodObject<{
3887
3978
  addressLine3?: string | null | undefined;
3888
3979
  postcodeOrZip?: string | null | undefined;
3889
3980
  }>]>>>;
3890
- createdAtLocation: z.ZodString;
3981
+ createdAtLocation: z.ZodOptional<z.ZodString>;
3982
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
3891
3983
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3892
3984
  originalActionId: z.ZodOptional<z.ZodString>;
3893
3985
  }, {
@@ -3896,8 +3988,10 @@ export declare const EventDocument: z.ZodObject<{
3896
3988
  type: "REQUEST_CORRECTION";
3897
3989
  id: string;
3898
3990
  status: "Rejected" | "Requested" | "Accepted";
3991
+ transactionId: string;
3899
3992
  createdAt: string;
3900
3993
  createdBy: string;
3994
+ createdByRole: string;
3901
3995
  declaration: Record<string, string | number | boolean | {
3902
3996
  type: string;
3903
3997
  filename: string;
@@ -3936,7 +4030,6 @@ export declare const EventDocument: z.ZodObject<{
3936
4030
  filename: string;
3937
4031
  originalFilename: string;
3938
4032
  }[] | undefined>;
3939
- createdAtLocation: string;
3940
4033
  annotation?: Record<string, string | number | boolean | {
3941
4034
  type: string;
3942
4035
  filename: string;
@@ -3975,13 +4068,17 @@ export declare const EventDocument: z.ZodObject<{
3975
4068
  filename: string;
3976
4069
  originalFilename: string;
3977
4070
  }[] | undefined> | undefined;
4071
+ createdAtLocation?: string | undefined;
4072
+ updatedAtLocation?: string | undefined;
3978
4073
  originalActionId?: string | undefined;
3979
4074
  }, {
3980
4075
  type: "REQUEST_CORRECTION";
3981
4076
  id: string;
3982
4077
  status: "Rejected" | "Requested" | "Accepted";
4078
+ transactionId: string;
3983
4079
  createdAt: string;
3984
4080
  createdBy: string;
4081
+ createdByRole: string;
3985
4082
  declaration: Record<string, string | number | boolean | {
3986
4083
  type: string;
3987
4084
  filename: string;
@@ -4020,7 +4117,6 @@ export declare const EventDocument: z.ZodObject<{
4020
4117
  filename: string;
4021
4118
  originalFilename: string;
4022
4119
  }[] | undefined>;
4023
- createdAtLocation: string;
4024
4120
  annotation?: Record<string, string | number | boolean | {
4025
4121
  type: string;
4026
4122
  filename: string;
@@ -4059,11 +4155,15 @@ export declare const EventDocument: z.ZodObject<{
4059
4155
  filename: string;
4060
4156
  originalFilename: string;
4061
4157
  }[] | undefined> | undefined;
4158
+ createdAtLocation?: string | undefined;
4159
+ updatedAtLocation?: string | undefined;
4062
4160
  originalActionId?: string | undefined;
4063
4161
  }>, z.ZodObject<z.objectUtil.extendShape<{
4064
4162
  id: z.ZodString;
4163
+ transactionId: z.ZodString;
4065
4164
  createdAt: z.ZodString;
4066
4165
  createdBy: z.ZodString;
4166
+ createdByRole: z.ZodString;
4067
4167
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4068
4168
  filename: z.ZodString;
4069
4169
  originalFilename: z.ZodString;
@@ -4292,7 +4392,8 @@ export declare const EventDocument: z.ZodObject<{
4292
4392
  addressLine3?: string | null | undefined;
4293
4393
  postcodeOrZip?: string | null | undefined;
4294
4394
  }>]>>>;
4295
- createdAtLocation: z.ZodString;
4395
+ createdAtLocation: z.ZodOptional<z.ZodString>;
4396
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
4296
4397
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4297
4398
  originalActionId: z.ZodOptional<z.ZodString>;
4298
4399
  }, {
@@ -4302,8 +4403,10 @@ export declare const EventDocument: z.ZodObject<{
4302
4403
  type: "APPROVE_CORRECTION";
4303
4404
  id: string;
4304
4405
  status: "Rejected" | "Requested" | "Accepted";
4406
+ transactionId: string;
4305
4407
  createdAt: string;
4306
4408
  createdBy: string;
4409
+ createdByRole: string;
4307
4410
  declaration: Record<string, string | number | boolean | {
4308
4411
  type: string;
4309
4412
  filename: string;
@@ -4342,7 +4445,6 @@ export declare const EventDocument: z.ZodObject<{
4342
4445
  filename: string;
4343
4446
  originalFilename: string;
4344
4447
  }[] | undefined>;
4345
- createdAtLocation: string;
4346
4448
  requestId: string;
4347
4449
  annotation?: Record<string, string | number | boolean | {
4348
4450
  type: string;
@@ -4382,13 +4484,17 @@ export declare const EventDocument: z.ZodObject<{
4382
4484
  filename: string;
4383
4485
  originalFilename: string;
4384
4486
  }[] | undefined> | undefined;
4487
+ createdAtLocation?: string | undefined;
4488
+ updatedAtLocation?: string | undefined;
4385
4489
  originalActionId?: string | undefined;
4386
4490
  }, {
4387
4491
  type: "APPROVE_CORRECTION";
4388
4492
  id: string;
4389
4493
  status: "Rejected" | "Requested" | "Accepted";
4494
+ transactionId: string;
4390
4495
  createdAt: string;
4391
4496
  createdBy: string;
4497
+ createdByRole: string;
4392
4498
  declaration: Record<string, string | number | boolean | {
4393
4499
  type: string;
4394
4500
  filename: string;
@@ -4427,7 +4533,6 @@ export declare const EventDocument: z.ZodObject<{
4427
4533
  filename: string;
4428
4534
  originalFilename: string;
4429
4535
  }[] | undefined>;
4430
- createdAtLocation: string;
4431
4536
  requestId: string;
4432
4537
  annotation?: Record<string, string | number | boolean | {
4433
4538
  type: string;
@@ -4467,11 +4572,15 @@ export declare const EventDocument: z.ZodObject<{
4467
4572
  filename: string;
4468
4573
  originalFilename: string;
4469
4574
  }[] | undefined> | undefined;
4575
+ createdAtLocation?: string | undefined;
4576
+ updatedAtLocation?: string | undefined;
4470
4577
  originalActionId?: string | undefined;
4471
4578
  }>, z.ZodObject<z.objectUtil.extendShape<{
4472
4579
  id: z.ZodString;
4580
+ transactionId: z.ZodString;
4473
4581
  createdAt: z.ZodString;
4474
4582
  createdBy: z.ZodString;
4583
+ createdByRole: z.ZodString;
4475
4584
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4476
4585
  filename: z.ZodString;
4477
4586
  originalFilename: z.ZodString;
@@ -4700,7 +4809,8 @@ export declare const EventDocument: z.ZodObject<{
4700
4809
  addressLine3?: string | null | undefined;
4701
4810
  postcodeOrZip?: string | null | undefined;
4702
4811
  }>]>>>;
4703
- createdAtLocation: z.ZodString;
4812
+ createdAtLocation: z.ZodOptional<z.ZodString>;
4813
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
4704
4814
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4705
4815
  originalActionId: z.ZodOptional<z.ZodString>;
4706
4816
  }, {
@@ -4710,8 +4820,10 @@ export declare const EventDocument: z.ZodObject<{
4710
4820
  type: "REJECT_CORRECTION";
4711
4821
  id: string;
4712
4822
  status: "Rejected" | "Requested" | "Accepted";
4823
+ transactionId: string;
4713
4824
  createdAt: string;
4714
4825
  createdBy: string;
4826
+ createdByRole: string;
4715
4827
  declaration: Record<string, string | number | boolean | {
4716
4828
  type: string;
4717
4829
  filename: string;
@@ -4750,7 +4862,6 @@ export declare const EventDocument: z.ZodObject<{
4750
4862
  filename: string;
4751
4863
  originalFilename: string;
4752
4864
  }[] | undefined>;
4753
- createdAtLocation: string;
4754
4865
  requestId: string;
4755
4866
  annotation?: Record<string, string | number | boolean | {
4756
4867
  type: string;
@@ -4790,13 +4901,17 @@ export declare const EventDocument: z.ZodObject<{
4790
4901
  filename: string;
4791
4902
  originalFilename: string;
4792
4903
  }[] | undefined> | undefined;
4904
+ createdAtLocation?: string | undefined;
4905
+ updatedAtLocation?: string | undefined;
4793
4906
  originalActionId?: string | undefined;
4794
4907
  }, {
4795
4908
  type: "REJECT_CORRECTION";
4796
4909
  id: string;
4797
4910
  status: "Rejected" | "Requested" | "Accepted";
4911
+ transactionId: string;
4798
4912
  createdAt: string;
4799
4913
  createdBy: string;
4914
+ createdByRole: string;
4800
4915
  declaration: Record<string, string | number | boolean | {
4801
4916
  type: string;
4802
4917
  filename: string;
@@ -4835,7 +4950,6 @@ export declare const EventDocument: z.ZodObject<{
4835
4950
  filename: string;
4836
4951
  originalFilename: string;
4837
4952
  }[] | undefined>;
4838
- createdAtLocation: string;
4839
4953
  requestId: string;
4840
4954
  annotation?: Record<string, string | number | boolean | {
4841
4955
  type: string;
@@ -4875,11 +4989,15 @@ export declare const EventDocument: z.ZodObject<{
4875
4989
  filename: string;
4876
4990
  originalFilename: string;
4877
4991
  }[] | undefined> | undefined;
4992
+ createdAtLocation?: string | undefined;
4993
+ updatedAtLocation?: string | undefined;
4878
4994
  originalActionId?: string | undefined;
4879
4995
  }>, z.ZodObject<z.objectUtil.extendShape<{
4880
4996
  id: z.ZodString;
4997
+ transactionId: z.ZodString;
4881
4998
  createdAt: z.ZodString;
4882
4999
  createdBy: z.ZodString;
5000
+ createdByRole: z.ZodString;
4883
5001
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4884
5002
  filename: z.ZodString;
4885
5003
  originalFilename: z.ZodString;
@@ -5108,17 +5226,21 @@ export declare const EventDocument: z.ZodObject<{
5108
5226
  addressLine3?: string | null | undefined;
5109
5227
  postcodeOrZip?: string | null | undefined;
5110
5228
  }>]>>>;
5111
- createdAtLocation: z.ZodString;
5229
+ createdAtLocation: z.ZodOptional<z.ZodString>;
5230
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
5112
5231
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5113
5232
  originalActionId: z.ZodOptional<z.ZodString>;
5114
5233
  }, {
5115
5234
  type: z.ZodLiteral<"UNASSIGN">;
5235
+ assignedTo: z.ZodLiteral<null>;
5116
5236
  }>, "strip", z.ZodTypeAny, {
5117
5237
  type: "UNASSIGN";
5118
5238
  id: string;
5119
5239
  status: "Rejected" | "Requested" | "Accepted";
5240
+ transactionId: string;
5120
5241
  createdAt: string;
5121
5242
  createdBy: string;
5243
+ createdByRole: string;
5122
5244
  declaration: Record<string, string | number | boolean | {
5123
5245
  type: string;
5124
5246
  filename: string;
@@ -5157,7 +5279,7 @@ export declare const EventDocument: z.ZodObject<{
5157
5279
  filename: string;
5158
5280
  originalFilename: string;
5159
5281
  }[] | undefined>;
5160
- createdAtLocation: string;
5282
+ assignedTo: null;
5161
5283
  annotation?: Record<string, string | number | boolean | {
5162
5284
  type: string;
5163
5285
  filename: string;
@@ -5196,13 +5318,17 @@ export declare const EventDocument: z.ZodObject<{
5196
5318
  filename: string;
5197
5319
  originalFilename: string;
5198
5320
  }[] | undefined> | undefined;
5321
+ createdAtLocation?: string | undefined;
5322
+ updatedAtLocation?: string | undefined;
5199
5323
  originalActionId?: string | undefined;
5200
5324
  }, {
5201
5325
  type: "UNASSIGN";
5202
5326
  id: string;
5203
5327
  status: "Rejected" | "Requested" | "Accepted";
5328
+ transactionId: string;
5204
5329
  createdAt: string;
5205
5330
  createdBy: string;
5331
+ createdByRole: string;
5206
5332
  declaration: Record<string, string | number | boolean | {
5207
5333
  type: string;
5208
5334
  filename: string;
@@ -5241,7 +5367,7 @@ export declare const EventDocument: z.ZodObject<{
5241
5367
  filename: string;
5242
5368
  originalFilename: string;
5243
5369
  }[] | undefined>;
5244
- createdAtLocation: string;
5370
+ assignedTo: null;
5245
5371
  annotation?: Record<string, string | number | boolean | {
5246
5372
  type: string;
5247
5373
  filename: string;
@@ -5280,11 +5406,15 @@ export declare const EventDocument: z.ZodObject<{
5280
5406
  filename: string;
5281
5407
  originalFilename: string;
5282
5408
  }[] | undefined> | undefined;
5409
+ createdAtLocation?: string | undefined;
5410
+ updatedAtLocation?: string | undefined;
5283
5411
  originalActionId?: string | undefined;
5284
5412
  }>, z.ZodObject<z.objectUtil.extendShape<{
5285
5413
  id: z.ZodString;
5414
+ transactionId: z.ZodString;
5286
5415
  createdAt: z.ZodString;
5287
5416
  createdBy: z.ZodString;
5417
+ createdByRole: z.ZodString;
5288
5418
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5289
5419
  filename: z.ZodString;
5290
5420
  originalFilename: z.ZodString;
@@ -5513,7 +5643,8 @@ export declare const EventDocument: z.ZodObject<{
5513
5643
  addressLine3?: string | null | undefined;
5514
5644
  postcodeOrZip?: string | null | undefined;
5515
5645
  }>]>>>;
5516
- createdAtLocation: z.ZodString;
5646
+ createdAtLocation: z.ZodOptional<z.ZodString>;
5647
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
5517
5648
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5518
5649
  originalActionId: z.ZodOptional<z.ZodString>;
5519
5650
  }, {
@@ -5522,8 +5653,10 @@ export declare const EventDocument: z.ZodObject<{
5522
5653
  type: "PRINT_CERTIFICATE";
5523
5654
  id: string;
5524
5655
  status: "Rejected" | "Requested" | "Accepted";
5656
+ transactionId: string;
5525
5657
  createdAt: string;
5526
5658
  createdBy: string;
5659
+ createdByRole: string;
5527
5660
  declaration: Record<string, string | number | boolean | {
5528
5661
  type: string;
5529
5662
  filename: string;
@@ -5562,7 +5695,6 @@ export declare const EventDocument: z.ZodObject<{
5562
5695
  filename: string;
5563
5696
  originalFilename: string;
5564
5697
  }[] | undefined>;
5565
- createdAtLocation: string;
5566
5698
  annotation?: Record<string, string | number | boolean | {
5567
5699
  type: string;
5568
5700
  filename: string;
@@ -5601,13 +5733,17 @@ export declare const EventDocument: z.ZodObject<{
5601
5733
  filename: string;
5602
5734
  originalFilename: string;
5603
5735
  }[] | undefined> | undefined;
5736
+ createdAtLocation?: string | undefined;
5737
+ updatedAtLocation?: string | undefined;
5604
5738
  originalActionId?: string | undefined;
5605
5739
  }, {
5606
5740
  type: "PRINT_CERTIFICATE";
5607
5741
  id: string;
5608
5742
  status: "Rejected" | "Requested" | "Accepted";
5743
+ transactionId: string;
5609
5744
  createdAt: string;
5610
5745
  createdBy: string;
5746
+ createdByRole: string;
5611
5747
  declaration: Record<string, string | number | boolean | {
5612
5748
  type: string;
5613
5749
  filename: string;
@@ -5646,7 +5782,6 @@ export declare const EventDocument: z.ZodObject<{
5646
5782
  filename: string;
5647
5783
  originalFilename: string;
5648
5784
  }[] | undefined>;
5649
- createdAtLocation: string;
5650
5785
  annotation?: Record<string, string | number | boolean | {
5651
5786
  type: string;
5652
5787
  filename: string;
@@ -5685,11 +5820,15 @@ export declare const EventDocument: z.ZodObject<{
5685
5820
  filename: string;
5686
5821
  originalFilename: string;
5687
5822
  }[] | undefined> | undefined;
5823
+ createdAtLocation?: string | undefined;
5824
+ updatedAtLocation?: string | undefined;
5688
5825
  originalActionId?: string | undefined;
5689
5826
  }>, z.ZodObject<z.objectUtil.extendShape<{
5690
5827
  id: z.ZodString;
5828
+ transactionId: z.ZodString;
5691
5829
  createdAt: z.ZodString;
5692
5830
  createdBy: z.ZodString;
5831
+ createdByRole: z.ZodString;
5693
5832
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5694
5833
  filename: z.ZodString;
5695
5834
  originalFilename: z.ZodString;
@@ -5918,7 +6057,8 @@ export declare const EventDocument: z.ZodObject<{
5918
6057
  addressLine3?: string | null | undefined;
5919
6058
  postcodeOrZip?: string | null | undefined;
5920
6059
  }>]>>>;
5921
- createdAtLocation: z.ZodString;
6060
+ createdAtLocation: z.ZodOptional<z.ZodString>;
6061
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
5922
6062
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5923
6063
  originalActionId: z.ZodOptional<z.ZodString>;
5924
6064
  }, {
@@ -5927,8 +6067,10 @@ export declare const EventDocument: z.ZodObject<{
5927
6067
  type: "READ";
5928
6068
  id: string;
5929
6069
  status: "Rejected" | "Requested" | "Accepted";
6070
+ transactionId: string;
5930
6071
  createdAt: string;
5931
6072
  createdBy: string;
6073
+ createdByRole: string;
5932
6074
  declaration: Record<string, string | number | boolean | {
5933
6075
  type: string;
5934
6076
  filename: string;
@@ -5967,7 +6109,6 @@ export declare const EventDocument: z.ZodObject<{
5967
6109
  filename: string;
5968
6110
  originalFilename: string;
5969
6111
  }[] | undefined>;
5970
- createdAtLocation: string;
5971
6112
  annotation?: Record<string, string | number | boolean | {
5972
6113
  type: string;
5973
6114
  filename: string;
@@ -6006,13 +6147,17 @@ export declare const EventDocument: z.ZodObject<{
6006
6147
  filename: string;
6007
6148
  originalFilename: string;
6008
6149
  }[] | undefined> | undefined;
6150
+ createdAtLocation?: string | undefined;
6151
+ updatedAtLocation?: string | undefined;
6009
6152
  originalActionId?: string | undefined;
6010
6153
  }, {
6011
6154
  type: "READ";
6012
6155
  id: string;
6013
6156
  status: "Rejected" | "Requested" | "Accepted";
6157
+ transactionId: string;
6014
6158
  createdAt: string;
6015
6159
  createdBy: string;
6160
+ createdByRole: string;
6016
6161
  declaration: Record<string, string | number | boolean | {
6017
6162
  type: string;
6018
6163
  filename: string;
@@ -6051,7 +6196,6 @@ export declare const EventDocument: z.ZodObject<{
6051
6196
  filename: string;
6052
6197
  originalFilename: string;
6053
6198
  }[] | undefined>;
6054
- createdAtLocation: string;
6055
6199
  annotation?: Record<string, string | number | boolean | {
6056
6200
  type: string;
6057
6201
  filename: string;
@@ -6090,11 +6234,15 @@ export declare const EventDocument: z.ZodObject<{
6090
6234
  filename: string;
6091
6235
  originalFilename: string;
6092
6236
  }[] | undefined> | undefined;
6237
+ createdAtLocation?: string | undefined;
6238
+ updatedAtLocation?: string | undefined;
6093
6239
  originalActionId?: string | undefined;
6094
6240
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6095
6241
  id: z.ZodString;
6242
+ transactionId: z.ZodString;
6096
6243
  createdAt: z.ZodString;
6097
6244
  createdBy: z.ZodString;
6245
+ createdByRole: z.ZodString;
6098
6246
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6099
6247
  filename: z.ZodString;
6100
6248
  originalFilename: z.ZodString;
@@ -6323,23 +6471,28 @@ export declare const EventDocument: z.ZodObject<{
6323
6471
  addressLine3?: string | null | undefined;
6324
6472
  postcodeOrZip?: string | null | undefined;
6325
6473
  }>]>>>;
6326
- createdAtLocation: z.ZodString;
6474
+ createdAtLocation: z.ZodOptional<z.ZodString>;
6475
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
6327
6476
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6328
6477
  originalActionId: z.ZodOptional<z.ZodString>;
6329
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6478
+ }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
6330
6479
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6331
6480
  status: z.ZodLiteral<"Rejected">;
6332
6481
  }>, "strip", z.ZodTypeAny, {
6333
6482
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6334
6483
  id: string;
6335
6484
  status: "Rejected";
6485
+ transactionId: string;
6336
6486
  createdAt: string;
6487
+ updatedAtLocation?: string | undefined;
6337
6488
  originalActionId?: string | undefined;
6338
6489
  }, {
6339
6490
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6340
6491
  id: string;
6341
6492
  status: "Rejected";
6493
+ transactionId: string;
6342
6494
  createdAt: string;
6495
+ updatedAtLocation?: string | undefined;
6343
6496
  originalActionId?: string | undefined;
6344
6497
  }>]>, "many">;
6345
6498
  trackingId: z.ZodString;
@@ -6347,13 +6500,16 @@ export declare const EventDocument: z.ZodObject<{
6347
6500
  type: string;
6348
6501
  id: string;
6349
6502
  createdAt: string;
6503
+ updatedAtLocation: string;
6350
6504
  updatedAt: string;
6351
6505
  actions: ({
6352
6506
  type: "ASSIGN";
6353
6507
  id: string;
6354
6508
  status: "Rejected" | "Requested" | "Accepted";
6509
+ transactionId: string;
6355
6510
  createdAt: string;
6356
6511
  createdBy: string;
6512
+ createdByRole: string;
6357
6513
  declaration: Record<string, string | number | boolean | {
6358
6514
  type: string;
6359
6515
  filename: string;
@@ -6392,7 +6548,6 @@ export declare const EventDocument: z.ZodObject<{
6392
6548
  filename: string;
6393
6549
  originalFilename: string;
6394
6550
  }[] | undefined>;
6395
- createdAtLocation: string;
6396
6551
  assignedTo: string;
6397
6552
  annotation?: Record<string, string | number | boolean | {
6398
6553
  type: string;
@@ -6432,13 +6587,17 @@ export declare const EventDocument: z.ZodObject<{
6432
6587
  filename: string;
6433
6588
  originalFilename: string;
6434
6589
  }[] | undefined> | undefined;
6590
+ createdAtLocation?: string | undefined;
6591
+ updatedAtLocation?: string | undefined;
6435
6592
  originalActionId?: string | undefined;
6436
6593
  } | {
6437
6594
  type: "UNASSIGN";
6438
6595
  id: string;
6439
6596
  status: "Rejected" | "Requested" | "Accepted";
6597
+ transactionId: string;
6440
6598
  createdAt: string;
6441
6599
  createdBy: string;
6600
+ createdByRole: string;
6442
6601
  declaration: Record<string, string | number | boolean | {
6443
6602
  type: string;
6444
6603
  filename: string;
@@ -6477,7 +6636,7 @@ export declare const EventDocument: z.ZodObject<{
6477
6636
  filename: string;
6478
6637
  originalFilename: string;
6479
6638
  }[] | undefined>;
6480
- createdAtLocation: string;
6639
+ assignedTo: null;
6481
6640
  annotation?: Record<string, string | number | boolean | {
6482
6641
  type: string;
6483
6642
  filename: string;
@@ -6516,13 +6675,17 @@ export declare const EventDocument: z.ZodObject<{
6516
6675
  filename: string;
6517
6676
  originalFilename: string;
6518
6677
  }[] | undefined> | undefined;
6678
+ createdAtLocation?: string | undefined;
6679
+ updatedAtLocation?: string | undefined;
6519
6680
  originalActionId?: string | undefined;
6520
6681
  } | {
6521
6682
  type: "REGISTER";
6522
6683
  id: string;
6523
6684
  status: "Rejected" | "Requested" | "Accepted";
6685
+ transactionId: string;
6524
6686
  createdAt: string;
6525
6687
  createdBy: string;
6688
+ createdByRole: string;
6526
6689
  declaration: Record<string, string | number | boolean | {
6527
6690
  type: string;
6528
6691
  filename: string;
@@ -6561,7 +6724,6 @@ export declare const EventDocument: z.ZodObject<{
6561
6724
  filename: string;
6562
6725
  originalFilename: string;
6563
6726
  }[] | undefined>;
6564
- createdAtLocation: string;
6565
6727
  annotation?: Record<string, string | number | boolean | {
6566
6728
  type: string;
6567
6729
  filename: string;
@@ -6600,14 +6762,18 @@ export declare const EventDocument: z.ZodObject<{
6600
6762
  filename: string;
6601
6763
  originalFilename: string;
6602
6764
  }[] | undefined> | undefined;
6765
+ createdAtLocation?: string | undefined;
6766
+ updatedAtLocation?: string | undefined;
6603
6767
  originalActionId?: string | undefined;
6604
6768
  registrationNumber?: string | undefined;
6605
6769
  } | {
6606
6770
  type: "DECLARE";
6607
6771
  id: string;
6608
6772
  status: "Rejected" | "Requested" | "Accepted";
6773
+ transactionId: string;
6609
6774
  createdAt: string;
6610
6775
  createdBy: string;
6776
+ createdByRole: string;
6611
6777
  declaration: Record<string, string | number | boolean | {
6612
6778
  type: string;
6613
6779
  filename: string;
@@ -6646,7 +6812,6 @@ export declare const EventDocument: z.ZodObject<{
6646
6812
  filename: string;
6647
6813
  originalFilename: string;
6648
6814
  }[] | undefined>;
6649
- createdAtLocation: string;
6650
6815
  annotation?: Record<string, string | number | boolean | {
6651
6816
  type: string;
6652
6817
  filename: string;
@@ -6685,13 +6850,17 @@ export declare const EventDocument: z.ZodObject<{
6685
6850
  filename: string;
6686
6851
  originalFilename: string;
6687
6852
  }[] | undefined> | undefined;
6853
+ createdAtLocation?: string | undefined;
6854
+ updatedAtLocation?: string | undefined;
6688
6855
  originalActionId?: string | undefined;
6689
6856
  } | {
6690
6857
  type: "VALIDATE";
6691
6858
  id: string;
6692
6859
  status: "Rejected" | "Requested" | "Accepted";
6860
+ transactionId: string;
6693
6861
  createdAt: string;
6694
6862
  createdBy: string;
6863
+ createdByRole: string;
6695
6864
  declaration: Record<string, string | number | boolean | {
6696
6865
  type: string;
6697
6866
  filename: string;
@@ -6730,7 +6899,6 @@ export declare const EventDocument: z.ZodObject<{
6730
6899
  filename: string;
6731
6900
  originalFilename: string;
6732
6901
  }[] | undefined>;
6733
- createdAtLocation: string;
6734
6902
  annotation?: Record<string, string | number | boolean | {
6735
6903
  type: string;
6736
6904
  filename: string;
@@ -6769,13 +6937,17 @@ export declare const EventDocument: z.ZodObject<{
6769
6937
  filename: string;
6770
6938
  originalFilename: string;
6771
6939
  }[] | undefined> | undefined;
6940
+ createdAtLocation?: string | undefined;
6941
+ updatedAtLocation?: string | undefined;
6772
6942
  originalActionId?: string | undefined;
6773
6943
  } | {
6774
6944
  type: "REJECT";
6775
6945
  id: string;
6776
6946
  status: "Rejected" | "Requested" | "Accepted";
6947
+ transactionId: string;
6777
6948
  createdAt: string;
6778
6949
  createdBy: string;
6950
+ createdByRole: string;
6779
6951
  declaration: Record<string, string | number | boolean | {
6780
6952
  type: string;
6781
6953
  filename: string;
@@ -6814,7 +6986,6 @@ export declare const EventDocument: z.ZodObject<{
6814
6986
  filename: string;
6815
6987
  originalFilename: string;
6816
6988
  }[] | undefined>;
6817
- createdAtLocation: string;
6818
6989
  annotation?: Record<string, string | number | boolean | {
6819
6990
  type: string;
6820
6991
  filename: string;
@@ -6853,13 +7024,17 @@ export declare const EventDocument: z.ZodObject<{
6853
7024
  filename: string;
6854
7025
  originalFilename: string;
6855
7026
  }[] | undefined> | undefined;
7027
+ createdAtLocation?: string | undefined;
7028
+ updatedAtLocation?: string | undefined;
6856
7029
  originalActionId?: string | undefined;
6857
7030
  } | {
6858
7031
  type: "MARKED_AS_DUPLICATE";
6859
7032
  id: string;
6860
7033
  status: "Rejected" | "Requested" | "Accepted";
7034
+ transactionId: string;
6861
7035
  createdAt: string;
6862
7036
  createdBy: string;
7037
+ createdByRole: string;
6863
7038
  declaration: Record<string, string | number | boolean | {
6864
7039
  type: string;
6865
7040
  filename: string;
@@ -6898,7 +7073,6 @@ export declare const EventDocument: z.ZodObject<{
6898
7073
  filename: string;
6899
7074
  originalFilename: string;
6900
7075
  }[] | undefined>;
6901
- createdAtLocation: string;
6902
7076
  annotation?: Record<string, string | number | boolean | {
6903
7077
  type: string;
6904
7078
  filename: string;
@@ -6937,13 +7111,17 @@ export declare const EventDocument: z.ZodObject<{
6937
7111
  filename: string;
6938
7112
  originalFilename: string;
6939
7113
  }[] | undefined> | undefined;
7114
+ createdAtLocation?: string | undefined;
7115
+ updatedAtLocation?: string | undefined;
6940
7116
  originalActionId?: string | undefined;
6941
7117
  } | {
6942
7118
  type: "ARCHIVE";
6943
7119
  id: string;
6944
7120
  status: "Rejected" | "Requested" | "Accepted";
7121
+ transactionId: string;
6945
7122
  createdAt: string;
6946
7123
  createdBy: string;
7124
+ createdByRole: string;
6947
7125
  declaration: Record<string, string | number | boolean | {
6948
7126
  type: string;
6949
7127
  filename: string;
@@ -6982,7 +7160,6 @@ export declare const EventDocument: z.ZodObject<{
6982
7160
  filename: string;
6983
7161
  originalFilename: string;
6984
7162
  }[] | undefined>;
6985
- createdAtLocation: string;
6986
7163
  annotation?: Record<string, string | number | boolean | {
6987
7164
  type: string;
6988
7165
  filename: string;
@@ -7021,13 +7198,17 @@ export declare const EventDocument: z.ZodObject<{
7021
7198
  filename: string;
7022
7199
  originalFilename: string;
7023
7200
  }[] | undefined> | undefined;
7201
+ createdAtLocation?: string | undefined;
7202
+ updatedAtLocation?: string | undefined;
7024
7203
  originalActionId?: string | undefined;
7025
7204
  } | {
7026
7205
  type: "CREATE";
7027
7206
  id: string;
7028
7207
  status: "Rejected" | "Requested" | "Accepted";
7208
+ transactionId: string;
7029
7209
  createdAt: string;
7030
7210
  createdBy: string;
7211
+ createdByRole: string;
7031
7212
  declaration: Record<string, string | number | boolean | {
7032
7213
  type: string;
7033
7214
  filename: string;
@@ -7066,7 +7247,6 @@ export declare const EventDocument: z.ZodObject<{
7066
7247
  filename: string;
7067
7248
  originalFilename: string;
7068
7249
  }[] | undefined>;
7069
- createdAtLocation: string;
7070
7250
  annotation?: Record<string, string | number | boolean | {
7071
7251
  type: string;
7072
7252
  filename: string;
@@ -7105,13 +7285,17 @@ export declare const EventDocument: z.ZodObject<{
7105
7285
  filename: string;
7106
7286
  originalFilename: string;
7107
7287
  }[] | undefined> | undefined;
7288
+ createdAtLocation?: string | undefined;
7289
+ updatedAtLocation?: string | undefined;
7108
7290
  originalActionId?: string | undefined;
7109
7291
  } | {
7110
7292
  type: "NOTIFY";
7111
7293
  id: string;
7112
7294
  status: "Rejected" | "Requested" | "Accepted";
7295
+ transactionId: string;
7113
7296
  createdAt: string;
7114
7297
  createdBy: string;
7298
+ createdByRole: string;
7115
7299
  declaration: Record<string, string | number | boolean | {
7116
7300
  type: string;
7117
7301
  filename: string;
@@ -7150,7 +7334,6 @@ export declare const EventDocument: z.ZodObject<{
7150
7334
  filename: string;
7151
7335
  originalFilename: string;
7152
7336
  }[] | undefined>;
7153
- createdAtLocation: string;
7154
7337
  annotation?: Record<string, string | number | boolean | {
7155
7338
  type: string;
7156
7339
  filename: string;
@@ -7189,13 +7372,17 @@ export declare const EventDocument: z.ZodObject<{
7189
7372
  filename: string;
7190
7373
  originalFilename: string;
7191
7374
  }[] | undefined> | undefined;
7375
+ createdAtLocation?: string | undefined;
7376
+ updatedAtLocation?: string | undefined;
7192
7377
  originalActionId?: string | undefined;
7193
7378
  } | {
7194
7379
  type: "PRINT_CERTIFICATE";
7195
7380
  id: string;
7196
7381
  status: "Rejected" | "Requested" | "Accepted";
7382
+ transactionId: string;
7197
7383
  createdAt: string;
7198
7384
  createdBy: string;
7385
+ createdByRole: string;
7199
7386
  declaration: Record<string, string | number | boolean | {
7200
7387
  type: string;
7201
7388
  filename: string;
@@ -7234,7 +7421,6 @@ export declare const EventDocument: z.ZodObject<{
7234
7421
  filename: string;
7235
7422
  originalFilename: string;
7236
7423
  }[] | undefined>;
7237
- createdAtLocation: string;
7238
7424
  annotation?: Record<string, string | number | boolean | {
7239
7425
  type: string;
7240
7426
  filename: string;
@@ -7273,13 +7459,17 @@ export declare const EventDocument: z.ZodObject<{
7273
7459
  filename: string;
7274
7460
  originalFilename: string;
7275
7461
  }[] | undefined> | undefined;
7462
+ createdAtLocation?: string | undefined;
7463
+ updatedAtLocation?: string | undefined;
7276
7464
  originalActionId?: string | undefined;
7277
7465
  } | {
7278
7466
  type: "REQUEST_CORRECTION";
7279
7467
  id: string;
7280
7468
  status: "Rejected" | "Requested" | "Accepted";
7469
+ transactionId: string;
7281
7470
  createdAt: string;
7282
7471
  createdBy: string;
7472
+ createdByRole: string;
7283
7473
  declaration: Record<string, string | number | boolean | {
7284
7474
  type: string;
7285
7475
  filename: string;
@@ -7318,7 +7508,6 @@ export declare const EventDocument: z.ZodObject<{
7318
7508
  filename: string;
7319
7509
  originalFilename: string;
7320
7510
  }[] | undefined>;
7321
- createdAtLocation: string;
7322
7511
  annotation?: Record<string, string | number | boolean | {
7323
7512
  type: string;
7324
7513
  filename: string;
@@ -7357,13 +7546,17 @@ export declare const EventDocument: z.ZodObject<{
7357
7546
  filename: string;
7358
7547
  originalFilename: string;
7359
7548
  }[] | undefined> | undefined;
7549
+ createdAtLocation?: string | undefined;
7550
+ updatedAtLocation?: string | undefined;
7360
7551
  originalActionId?: string | undefined;
7361
7552
  } | {
7362
7553
  type: "APPROVE_CORRECTION";
7363
7554
  id: string;
7364
7555
  status: "Rejected" | "Requested" | "Accepted";
7556
+ transactionId: string;
7365
7557
  createdAt: string;
7366
7558
  createdBy: string;
7559
+ createdByRole: string;
7367
7560
  declaration: Record<string, string | number | boolean | {
7368
7561
  type: string;
7369
7562
  filename: string;
@@ -7402,7 +7595,6 @@ export declare const EventDocument: z.ZodObject<{
7402
7595
  filename: string;
7403
7596
  originalFilename: string;
7404
7597
  }[] | undefined>;
7405
- createdAtLocation: string;
7406
7598
  requestId: string;
7407
7599
  annotation?: Record<string, string | number | boolean | {
7408
7600
  type: string;
@@ -7442,13 +7634,17 @@ export declare const EventDocument: z.ZodObject<{
7442
7634
  filename: string;
7443
7635
  originalFilename: string;
7444
7636
  }[] | undefined> | undefined;
7637
+ createdAtLocation?: string | undefined;
7638
+ updatedAtLocation?: string | undefined;
7445
7639
  originalActionId?: string | undefined;
7446
7640
  } | {
7447
7641
  type: "REJECT_CORRECTION";
7448
7642
  id: string;
7449
7643
  status: "Rejected" | "Requested" | "Accepted";
7644
+ transactionId: string;
7450
7645
  createdAt: string;
7451
7646
  createdBy: string;
7647
+ createdByRole: string;
7452
7648
  declaration: Record<string, string | number | boolean | {
7453
7649
  type: string;
7454
7650
  filename: string;
@@ -7487,7 +7683,6 @@ export declare const EventDocument: z.ZodObject<{
7487
7683
  filename: string;
7488
7684
  originalFilename: string;
7489
7685
  }[] | undefined>;
7490
- createdAtLocation: string;
7491
7686
  requestId: string;
7492
7687
  annotation?: Record<string, string | number | boolean | {
7493
7688
  type: string;
@@ -7527,13 +7722,17 @@ export declare const EventDocument: z.ZodObject<{
7527
7722
  filename: string;
7528
7723
  originalFilename: string;
7529
7724
  }[] | undefined> | undefined;
7725
+ createdAtLocation?: string | undefined;
7726
+ updatedAtLocation?: string | undefined;
7530
7727
  originalActionId?: string | undefined;
7531
7728
  } | {
7532
7729
  type: "READ";
7533
7730
  id: string;
7534
7731
  status: "Rejected" | "Requested" | "Accepted";
7732
+ transactionId: string;
7535
7733
  createdAt: string;
7536
7734
  createdBy: string;
7735
+ createdByRole: string;
7537
7736
  declaration: Record<string, string | number | boolean | {
7538
7737
  type: string;
7539
7738
  filename: string;
@@ -7572,7 +7771,6 @@ export declare const EventDocument: z.ZodObject<{
7572
7771
  filename: string;
7573
7772
  originalFilename: string;
7574
7773
  }[] | undefined>;
7575
- createdAtLocation: string;
7576
7774
  annotation?: Record<string, string | number | boolean | {
7577
7775
  type: string;
7578
7776
  filename: string;
@@ -7611,26 +7809,36 @@ export declare const EventDocument: z.ZodObject<{
7611
7809
  filename: string;
7612
7810
  originalFilename: string;
7613
7811
  }[] | undefined> | undefined;
7812
+ createdAtLocation?: string | undefined;
7813
+ updatedAtLocation?: string | undefined;
7614
7814
  originalActionId?: string | undefined;
7615
7815
  } | {
7616
7816
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7617
7817
  id: string;
7618
7818
  status: "Rejected";
7819
+ transactionId: string;
7619
7820
  createdAt: string;
7821
+ updatedAtLocation?: string | undefined;
7620
7822
  originalActionId?: string | undefined;
7621
7823
  })[];
7622
7824
  trackingId: string;
7825
+ dateOfEvent?: {
7826
+ fieldId: string;
7827
+ } | undefined;
7623
7828
  }, {
7624
7829
  type: string;
7625
7830
  id: string;
7626
7831
  createdAt: string;
7832
+ updatedAtLocation: string;
7627
7833
  updatedAt: string;
7628
7834
  actions: ({
7629
7835
  type: "ASSIGN";
7630
7836
  id: string;
7631
7837
  status: "Rejected" | "Requested" | "Accepted";
7838
+ transactionId: string;
7632
7839
  createdAt: string;
7633
7840
  createdBy: string;
7841
+ createdByRole: string;
7634
7842
  declaration: Record<string, string | number | boolean | {
7635
7843
  type: string;
7636
7844
  filename: string;
@@ -7669,7 +7877,6 @@ export declare const EventDocument: z.ZodObject<{
7669
7877
  filename: string;
7670
7878
  originalFilename: string;
7671
7879
  }[] | undefined>;
7672
- createdAtLocation: string;
7673
7880
  assignedTo: string;
7674
7881
  annotation?: Record<string, string | number | boolean | {
7675
7882
  type: string;
@@ -7709,13 +7916,17 @@ export declare const EventDocument: z.ZodObject<{
7709
7916
  filename: string;
7710
7917
  originalFilename: string;
7711
7918
  }[] | undefined> | undefined;
7919
+ createdAtLocation?: string | undefined;
7920
+ updatedAtLocation?: string | undefined;
7712
7921
  originalActionId?: string | undefined;
7713
7922
  } | {
7714
7923
  type: "UNASSIGN";
7715
7924
  id: string;
7716
7925
  status: "Rejected" | "Requested" | "Accepted";
7926
+ transactionId: string;
7717
7927
  createdAt: string;
7718
7928
  createdBy: string;
7929
+ createdByRole: string;
7719
7930
  declaration: Record<string, string | number | boolean | {
7720
7931
  type: string;
7721
7932
  filename: string;
@@ -7754,7 +7965,7 @@ export declare const EventDocument: z.ZodObject<{
7754
7965
  filename: string;
7755
7966
  originalFilename: string;
7756
7967
  }[] | undefined>;
7757
- createdAtLocation: string;
7968
+ assignedTo: null;
7758
7969
  annotation?: Record<string, string | number | boolean | {
7759
7970
  type: string;
7760
7971
  filename: string;
@@ -7793,13 +8004,17 @@ export declare const EventDocument: z.ZodObject<{
7793
8004
  filename: string;
7794
8005
  originalFilename: string;
7795
8006
  }[] | undefined> | undefined;
8007
+ createdAtLocation?: string | undefined;
8008
+ updatedAtLocation?: string | undefined;
7796
8009
  originalActionId?: string | undefined;
7797
8010
  } | {
7798
8011
  type: "REGISTER";
7799
8012
  id: string;
7800
8013
  status: "Rejected" | "Requested" | "Accepted";
8014
+ transactionId: string;
7801
8015
  createdAt: string;
7802
8016
  createdBy: string;
8017
+ createdByRole: string;
7803
8018
  declaration: Record<string, string | number | boolean | {
7804
8019
  type: string;
7805
8020
  filename: string;
@@ -7838,7 +8053,6 @@ export declare const EventDocument: z.ZodObject<{
7838
8053
  filename: string;
7839
8054
  originalFilename: string;
7840
8055
  }[] | undefined>;
7841
- createdAtLocation: string;
7842
8056
  annotation?: Record<string, string | number | boolean | {
7843
8057
  type: string;
7844
8058
  filename: string;
@@ -7877,14 +8091,18 @@ export declare const EventDocument: z.ZodObject<{
7877
8091
  filename: string;
7878
8092
  originalFilename: string;
7879
8093
  }[] | undefined> | undefined;
8094
+ createdAtLocation?: string | undefined;
8095
+ updatedAtLocation?: string | undefined;
7880
8096
  originalActionId?: string | undefined;
7881
8097
  registrationNumber?: string | undefined;
7882
8098
  } | {
7883
8099
  type: "DECLARE";
7884
8100
  id: string;
7885
8101
  status: "Rejected" | "Requested" | "Accepted";
8102
+ transactionId: string;
7886
8103
  createdAt: string;
7887
8104
  createdBy: string;
8105
+ createdByRole: string;
7888
8106
  declaration: Record<string, string | number | boolean | {
7889
8107
  type: string;
7890
8108
  filename: string;
@@ -7923,7 +8141,6 @@ export declare const EventDocument: z.ZodObject<{
7923
8141
  filename: string;
7924
8142
  originalFilename: string;
7925
8143
  }[] | undefined>;
7926
- createdAtLocation: string;
7927
8144
  annotation?: Record<string, string | number | boolean | {
7928
8145
  type: string;
7929
8146
  filename: string;
@@ -7962,13 +8179,17 @@ export declare const EventDocument: z.ZodObject<{
7962
8179
  filename: string;
7963
8180
  originalFilename: string;
7964
8181
  }[] | undefined> | undefined;
8182
+ createdAtLocation?: string | undefined;
8183
+ updatedAtLocation?: string | undefined;
7965
8184
  originalActionId?: string | undefined;
7966
8185
  } | {
7967
8186
  type: "VALIDATE";
7968
8187
  id: string;
7969
8188
  status: "Rejected" | "Requested" | "Accepted";
8189
+ transactionId: string;
7970
8190
  createdAt: string;
7971
8191
  createdBy: string;
8192
+ createdByRole: string;
7972
8193
  declaration: Record<string, string | number | boolean | {
7973
8194
  type: string;
7974
8195
  filename: string;
@@ -8007,7 +8228,6 @@ export declare const EventDocument: z.ZodObject<{
8007
8228
  filename: string;
8008
8229
  originalFilename: string;
8009
8230
  }[] | undefined>;
8010
- createdAtLocation: string;
8011
8231
  annotation?: Record<string, string | number | boolean | {
8012
8232
  type: string;
8013
8233
  filename: string;
@@ -8046,13 +8266,17 @@ export declare const EventDocument: z.ZodObject<{
8046
8266
  filename: string;
8047
8267
  originalFilename: string;
8048
8268
  }[] | undefined> | undefined;
8269
+ createdAtLocation?: string | undefined;
8270
+ updatedAtLocation?: string | undefined;
8049
8271
  originalActionId?: string | undefined;
8050
8272
  } | {
8051
8273
  type: "REJECT";
8052
8274
  id: string;
8053
8275
  status: "Rejected" | "Requested" | "Accepted";
8276
+ transactionId: string;
8054
8277
  createdAt: string;
8055
8278
  createdBy: string;
8279
+ createdByRole: string;
8056
8280
  declaration: Record<string, string | number | boolean | {
8057
8281
  type: string;
8058
8282
  filename: string;
@@ -8091,7 +8315,6 @@ export declare const EventDocument: z.ZodObject<{
8091
8315
  filename: string;
8092
8316
  originalFilename: string;
8093
8317
  }[] | undefined>;
8094
- createdAtLocation: string;
8095
8318
  annotation?: Record<string, string | number | boolean | {
8096
8319
  type: string;
8097
8320
  filename: string;
@@ -8130,13 +8353,17 @@ export declare const EventDocument: z.ZodObject<{
8130
8353
  filename: string;
8131
8354
  originalFilename: string;
8132
8355
  }[] | undefined> | undefined;
8356
+ createdAtLocation?: string | undefined;
8357
+ updatedAtLocation?: string | undefined;
8133
8358
  originalActionId?: string | undefined;
8134
8359
  } | {
8135
8360
  type: "MARKED_AS_DUPLICATE";
8136
8361
  id: string;
8137
8362
  status: "Rejected" | "Requested" | "Accepted";
8363
+ transactionId: string;
8138
8364
  createdAt: string;
8139
8365
  createdBy: string;
8366
+ createdByRole: string;
8140
8367
  declaration: Record<string, string | number | boolean | {
8141
8368
  type: string;
8142
8369
  filename: string;
@@ -8175,7 +8402,6 @@ export declare const EventDocument: z.ZodObject<{
8175
8402
  filename: string;
8176
8403
  originalFilename: string;
8177
8404
  }[] | undefined>;
8178
- createdAtLocation: string;
8179
8405
  annotation?: Record<string, string | number | boolean | {
8180
8406
  type: string;
8181
8407
  filename: string;
@@ -8214,13 +8440,17 @@ export declare const EventDocument: z.ZodObject<{
8214
8440
  filename: string;
8215
8441
  originalFilename: string;
8216
8442
  }[] | undefined> | undefined;
8443
+ createdAtLocation?: string | undefined;
8444
+ updatedAtLocation?: string | undefined;
8217
8445
  originalActionId?: string | undefined;
8218
8446
  } | {
8219
8447
  type: "ARCHIVE";
8220
8448
  id: string;
8221
8449
  status: "Rejected" | "Requested" | "Accepted";
8450
+ transactionId: string;
8222
8451
  createdAt: string;
8223
8452
  createdBy: string;
8453
+ createdByRole: string;
8224
8454
  declaration: Record<string, string | number | boolean | {
8225
8455
  type: string;
8226
8456
  filename: string;
@@ -8259,7 +8489,6 @@ export declare const EventDocument: z.ZodObject<{
8259
8489
  filename: string;
8260
8490
  originalFilename: string;
8261
8491
  }[] | undefined>;
8262
- createdAtLocation: string;
8263
8492
  annotation?: Record<string, string | number | boolean | {
8264
8493
  type: string;
8265
8494
  filename: string;
@@ -8298,13 +8527,17 @@ export declare const EventDocument: z.ZodObject<{
8298
8527
  filename: string;
8299
8528
  originalFilename: string;
8300
8529
  }[] | undefined> | undefined;
8530
+ createdAtLocation?: string | undefined;
8531
+ updatedAtLocation?: string | undefined;
8301
8532
  originalActionId?: string | undefined;
8302
8533
  } | {
8303
8534
  type: "CREATE";
8304
8535
  id: string;
8305
8536
  status: "Rejected" | "Requested" | "Accepted";
8537
+ transactionId: string;
8306
8538
  createdAt: string;
8307
8539
  createdBy: string;
8540
+ createdByRole: string;
8308
8541
  declaration: Record<string, string | number | boolean | {
8309
8542
  type: string;
8310
8543
  filename: string;
@@ -8343,7 +8576,6 @@ export declare const EventDocument: z.ZodObject<{
8343
8576
  filename: string;
8344
8577
  originalFilename: string;
8345
8578
  }[] | undefined>;
8346
- createdAtLocation: string;
8347
8579
  annotation?: Record<string, string | number | boolean | {
8348
8580
  type: string;
8349
8581
  filename: string;
@@ -8382,13 +8614,17 @@ export declare const EventDocument: z.ZodObject<{
8382
8614
  filename: string;
8383
8615
  originalFilename: string;
8384
8616
  }[] | undefined> | undefined;
8617
+ createdAtLocation?: string | undefined;
8618
+ updatedAtLocation?: string | undefined;
8385
8619
  originalActionId?: string | undefined;
8386
8620
  } | {
8387
8621
  type: "NOTIFY";
8388
8622
  id: string;
8389
8623
  status: "Rejected" | "Requested" | "Accepted";
8624
+ transactionId: string;
8390
8625
  createdAt: string;
8391
8626
  createdBy: string;
8627
+ createdByRole: string;
8392
8628
  declaration: Record<string, string | number | boolean | {
8393
8629
  type: string;
8394
8630
  filename: string;
@@ -8427,7 +8663,6 @@ export declare const EventDocument: z.ZodObject<{
8427
8663
  filename: string;
8428
8664
  originalFilename: string;
8429
8665
  }[] | undefined>;
8430
- createdAtLocation: string;
8431
8666
  annotation?: Record<string, string | number | boolean | {
8432
8667
  type: string;
8433
8668
  filename: string;
@@ -8466,13 +8701,17 @@ export declare const EventDocument: z.ZodObject<{
8466
8701
  filename: string;
8467
8702
  originalFilename: string;
8468
8703
  }[] | undefined> | undefined;
8704
+ createdAtLocation?: string | undefined;
8705
+ updatedAtLocation?: string | undefined;
8469
8706
  originalActionId?: string | undefined;
8470
8707
  } | {
8471
8708
  type: "PRINT_CERTIFICATE";
8472
8709
  id: string;
8473
8710
  status: "Rejected" | "Requested" | "Accepted";
8711
+ transactionId: string;
8474
8712
  createdAt: string;
8475
8713
  createdBy: string;
8714
+ createdByRole: string;
8476
8715
  declaration: Record<string, string | number | boolean | {
8477
8716
  type: string;
8478
8717
  filename: string;
@@ -8511,7 +8750,6 @@ export declare const EventDocument: z.ZodObject<{
8511
8750
  filename: string;
8512
8751
  originalFilename: string;
8513
8752
  }[] | undefined>;
8514
- createdAtLocation: string;
8515
8753
  annotation?: Record<string, string | number | boolean | {
8516
8754
  type: string;
8517
8755
  filename: string;
@@ -8550,13 +8788,17 @@ export declare const EventDocument: z.ZodObject<{
8550
8788
  filename: string;
8551
8789
  originalFilename: string;
8552
8790
  }[] | undefined> | undefined;
8791
+ createdAtLocation?: string | undefined;
8792
+ updatedAtLocation?: string | undefined;
8553
8793
  originalActionId?: string | undefined;
8554
8794
  } | {
8555
8795
  type: "REQUEST_CORRECTION";
8556
8796
  id: string;
8557
8797
  status: "Rejected" | "Requested" | "Accepted";
8798
+ transactionId: string;
8558
8799
  createdAt: string;
8559
8800
  createdBy: string;
8801
+ createdByRole: string;
8560
8802
  declaration: Record<string, string | number | boolean | {
8561
8803
  type: string;
8562
8804
  filename: string;
@@ -8595,7 +8837,6 @@ export declare const EventDocument: z.ZodObject<{
8595
8837
  filename: string;
8596
8838
  originalFilename: string;
8597
8839
  }[] | undefined>;
8598
- createdAtLocation: string;
8599
8840
  annotation?: Record<string, string | number | boolean | {
8600
8841
  type: string;
8601
8842
  filename: string;
@@ -8634,13 +8875,17 @@ export declare const EventDocument: z.ZodObject<{
8634
8875
  filename: string;
8635
8876
  originalFilename: string;
8636
8877
  }[] | undefined> | undefined;
8878
+ createdAtLocation?: string | undefined;
8879
+ updatedAtLocation?: string | undefined;
8637
8880
  originalActionId?: string | undefined;
8638
8881
  } | {
8639
8882
  type: "APPROVE_CORRECTION";
8640
8883
  id: string;
8641
8884
  status: "Rejected" | "Requested" | "Accepted";
8885
+ transactionId: string;
8642
8886
  createdAt: string;
8643
8887
  createdBy: string;
8888
+ createdByRole: string;
8644
8889
  declaration: Record<string, string | number | boolean | {
8645
8890
  type: string;
8646
8891
  filename: string;
@@ -8679,7 +8924,6 @@ export declare const EventDocument: z.ZodObject<{
8679
8924
  filename: string;
8680
8925
  originalFilename: string;
8681
8926
  }[] | undefined>;
8682
- createdAtLocation: string;
8683
8927
  requestId: string;
8684
8928
  annotation?: Record<string, string | number | boolean | {
8685
8929
  type: string;
@@ -8719,13 +8963,17 @@ export declare const EventDocument: z.ZodObject<{
8719
8963
  filename: string;
8720
8964
  originalFilename: string;
8721
8965
  }[] | undefined> | undefined;
8966
+ createdAtLocation?: string | undefined;
8967
+ updatedAtLocation?: string | undefined;
8722
8968
  originalActionId?: string | undefined;
8723
8969
  } | {
8724
8970
  type: "REJECT_CORRECTION";
8725
8971
  id: string;
8726
8972
  status: "Rejected" | "Requested" | "Accepted";
8973
+ transactionId: string;
8727
8974
  createdAt: string;
8728
8975
  createdBy: string;
8976
+ createdByRole: string;
8729
8977
  declaration: Record<string, string | number | boolean | {
8730
8978
  type: string;
8731
8979
  filename: string;
@@ -8764,7 +9012,6 @@ export declare const EventDocument: z.ZodObject<{
8764
9012
  filename: string;
8765
9013
  originalFilename: string;
8766
9014
  }[] | undefined>;
8767
- createdAtLocation: string;
8768
9015
  requestId: string;
8769
9016
  annotation?: Record<string, string | number | boolean | {
8770
9017
  type: string;
@@ -8804,13 +9051,17 @@ export declare const EventDocument: z.ZodObject<{
8804
9051
  filename: string;
8805
9052
  originalFilename: string;
8806
9053
  }[] | undefined> | undefined;
9054
+ createdAtLocation?: string | undefined;
9055
+ updatedAtLocation?: string | undefined;
8807
9056
  originalActionId?: string | undefined;
8808
9057
  } | {
8809
9058
  type: "READ";
8810
9059
  id: string;
8811
9060
  status: "Rejected" | "Requested" | "Accepted";
9061
+ transactionId: string;
8812
9062
  createdAt: string;
8813
9063
  createdBy: string;
9064
+ createdByRole: string;
8814
9065
  declaration: Record<string, string | number | boolean | {
8815
9066
  type: string;
8816
9067
  filename: string;
@@ -8849,7 +9100,6 @@ export declare const EventDocument: z.ZodObject<{
8849
9100
  filename: string;
8850
9101
  originalFilename: string;
8851
9102
  }[] | undefined>;
8852
- createdAtLocation: string;
8853
9103
  annotation?: Record<string, string | number | boolean | {
8854
9104
  type: string;
8855
9105
  filename: string;
@@ -8888,15 +9138,22 @@ export declare const EventDocument: z.ZodObject<{
8888
9138
  filename: string;
8889
9139
  originalFilename: string;
8890
9140
  }[] | undefined> | undefined;
9141
+ createdAtLocation?: string | undefined;
9142
+ updatedAtLocation?: string | undefined;
8891
9143
  originalActionId?: string | undefined;
8892
9144
  } | {
8893
9145
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8894
9146
  id: string;
8895
9147
  status: "Rejected";
9148
+ transactionId: string;
8896
9149
  createdAt: string;
9150
+ updatedAtLocation?: string | undefined;
8897
9151
  originalActionId?: string | undefined;
8898
9152
  })[];
8899
9153
  trackingId: string;
9154
+ dateOfEvent?: {
9155
+ fieldId: string;
9156
+ } | undefined;
8900
9157
  }>;
8901
9158
  export type EventDocument = z.infer<typeof EventDocument>;
8902
9159
  //# sourceMappingURL=EventDocument.d.ts.map