@opencrvs/toolkit 1.8.0-rc.f876361 → 1.8.0-rc.f8e4107

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.
@@ -360,7 +360,8 @@ export declare const ActionBase: z.ZodObject<{
360
360
  addressLine3?: string | null | undefined;
361
361
  postcodeOrZip?: string | null | undefined;
362
362
  }>]>>>;
363
- createdAtLocation: z.ZodString;
363
+ createdAtLocation: z.ZodOptional<z.ZodString>;
364
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
364
365
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
365
366
  originalActionId: z.ZodOptional<z.ZodString>;
366
367
  }, "strip", z.ZodTypeAny, {
@@ -406,7 +407,6 @@ export declare const ActionBase: z.ZodObject<{
406
407
  filename: string;
407
408
  originalFilename: string;
408
409
  }[] | undefined>;
409
- createdAtLocation: string;
410
410
  annotation?: Record<string, string | number | boolean | {
411
411
  type: string;
412
412
  filename: string;
@@ -445,6 +445,8 @@ export declare const ActionBase: z.ZodObject<{
445
445
  filename: string;
446
446
  originalFilename: string;
447
447
  }[] | undefined> | undefined;
448
+ createdAtLocation?: string | undefined;
449
+ updatedAtLocation?: string | undefined;
448
450
  originalActionId?: string | undefined;
449
451
  }, {
450
452
  id: string;
@@ -489,7 +491,6 @@ export declare const ActionBase: z.ZodObject<{
489
491
  filename: string;
490
492
  originalFilename: string;
491
493
  }[] | undefined>;
492
- createdAtLocation: string;
493
494
  annotation?: Record<string, string | number | boolean | {
494
495
  type: string;
495
496
  filename: string;
@@ -528,6 +529,8 @@ export declare const ActionBase: z.ZodObject<{
528
529
  filename: string;
529
530
  originalFilename: string;
530
531
  }[] | undefined> | undefined;
532
+ createdAtLocation?: string | undefined;
533
+ updatedAtLocation?: string | undefined;
531
534
  originalActionId?: string | undefined;
532
535
  }>;
533
536
  export type ActionBase = z.infer<typeof ActionBase>;
@@ -763,7 +766,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
763
766
  addressLine3?: string | null | undefined;
764
767
  postcodeOrZip?: string | null | undefined;
765
768
  }>]>>>;
766
- createdAtLocation: z.ZodString;
769
+ createdAtLocation: z.ZodOptional<z.ZodString>;
770
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
767
771
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
768
772
  originalActionId: z.ZodOptional<z.ZodString>;
769
773
  }, {
@@ -813,7 +817,6 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
813
817
  filename: string;
814
818
  originalFilename: string;
815
819
  }[] | undefined>;
816
- createdAtLocation: string;
817
820
  annotation?: Record<string, string | number | boolean | {
818
821
  type: string;
819
822
  filename: string;
@@ -852,6 +855,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
852
855
  filename: string;
853
856
  originalFilename: string;
854
857
  }[] | undefined> | undefined;
858
+ createdAtLocation?: string | undefined;
859
+ updatedAtLocation?: string | undefined;
855
860
  originalActionId?: string | undefined;
856
861
  registrationNumber?: string | undefined;
857
862
  }, {
@@ -898,7 +903,6 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
898
903
  filename: string;
899
904
  originalFilename: string;
900
905
  }[] | undefined>;
901
- createdAtLocation: string;
902
906
  annotation?: Record<string, string | number | boolean | {
903
907
  type: string;
904
908
  filename: string;
@@ -937,6 +941,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
937
941
  filename: string;
938
942
  originalFilename: string;
939
943
  }[] | undefined> | undefined;
944
+ createdAtLocation?: string | undefined;
945
+ updatedAtLocation?: string | undefined;
940
946
  originalActionId?: string | undefined;
941
947
  registrationNumber?: string | undefined;
942
948
  }>;
@@ -1173,7 +1179,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1173
1179
  addressLine3?: string | null | undefined;
1174
1180
  postcodeOrZip?: string | null | undefined;
1175
1181
  }>]>>>;
1176
- createdAtLocation: z.ZodString;
1182
+ createdAtLocation: z.ZodOptional<z.ZodString>;
1183
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
1177
1184
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1178
1185
  originalActionId: z.ZodOptional<z.ZodString>;
1179
1186
  }, {
@@ -1222,7 +1229,6 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1222
1229
  filename: string;
1223
1230
  originalFilename: string;
1224
1231
  }[] | undefined>;
1225
- createdAtLocation: string;
1226
1232
  annotation?: Record<string, string | number | boolean | {
1227
1233
  type: string;
1228
1234
  filename: string;
@@ -1261,6 +1267,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1261
1267
  filename: string;
1262
1268
  originalFilename: string;
1263
1269
  }[] | undefined> | undefined;
1270
+ createdAtLocation?: string | undefined;
1271
+ updatedAtLocation?: string | undefined;
1264
1272
  originalActionId?: string | undefined;
1265
1273
  }, {
1266
1274
  type: "CREATE";
@@ -1306,7 +1314,6 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1306
1314
  filename: string;
1307
1315
  originalFilename: string;
1308
1316
  }[] | undefined>;
1309
- createdAtLocation: string;
1310
1317
  annotation?: Record<string, string | number | boolean | {
1311
1318
  type: string;
1312
1319
  filename: string;
@@ -1345,6 +1352,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1345
1352
  filename: string;
1346
1353
  originalFilename: string;
1347
1354
  }[] | undefined> | undefined;
1355
+ createdAtLocation?: string | undefined;
1356
+ updatedAtLocation?: string | undefined;
1348
1357
  originalActionId?: string | undefined;
1349
1358
  }>;
1350
1359
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
@@ -1579,7 +1588,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1579
1588
  addressLine3?: string | null | undefined;
1580
1589
  postcodeOrZip?: string | null | undefined;
1581
1590
  }>]>>>;
1582
- createdAtLocation: z.ZodString;
1591
+ createdAtLocation: z.ZodOptional<z.ZodString>;
1592
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
1583
1593
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1584
1594
  originalActionId: z.ZodOptional<z.ZodString>;
1585
1595
  }, {
@@ -1628,7 +1638,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1628
1638
  filename: string;
1629
1639
  originalFilename: string;
1630
1640
  }[] | undefined>;
1631
- createdAtLocation: string;
1632
1641
  annotation?: Record<string, string | number | boolean | {
1633
1642
  type: string;
1634
1643
  filename: string;
@@ -1667,6 +1676,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1667
1676
  filename: string;
1668
1677
  originalFilename: string;
1669
1678
  }[] | undefined> | undefined;
1679
+ createdAtLocation?: string | undefined;
1680
+ updatedAtLocation?: string | undefined;
1670
1681
  originalActionId?: string | undefined;
1671
1682
  }, {
1672
1683
  type: "CREATE";
@@ -1712,7 +1723,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1712
1723
  filename: string;
1713
1724
  originalFilename: string;
1714
1725
  }[] | undefined>;
1715
- createdAtLocation: string;
1716
1726
  annotation?: Record<string, string | number | boolean | {
1717
1727
  type: string;
1718
1728
  filename: string;
@@ -1751,6 +1761,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1751
1761
  filename: string;
1752
1762
  originalFilename: string;
1753
1763
  }[] | undefined> | undefined;
1764
+ createdAtLocation?: string | undefined;
1765
+ updatedAtLocation?: string | undefined;
1754
1766
  originalActionId?: string | undefined;
1755
1767
  }>, z.ZodObject<z.objectUtil.extendShape<{
1756
1768
  id: z.ZodString;
@@ -1984,7 +1996,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1984
1996
  addressLine3?: string | null | undefined;
1985
1997
  postcodeOrZip?: string | null | undefined;
1986
1998
  }>]>>>;
1987
- createdAtLocation: z.ZodString;
1999
+ createdAtLocation: z.ZodOptional<z.ZodString>;
2000
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
1988
2001
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1989
2002
  originalActionId: z.ZodOptional<z.ZodString>;
1990
2003
  }, {
@@ -2033,7 +2046,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2033
2046
  filename: string;
2034
2047
  originalFilename: string;
2035
2048
  }[] | undefined>;
2036
- createdAtLocation: string;
2037
2049
  annotation?: Record<string, string | number | boolean | {
2038
2050
  type: string;
2039
2051
  filename: string;
@@ -2072,6 +2084,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2072
2084
  filename: string;
2073
2085
  originalFilename: string;
2074
2086
  }[] | undefined> | undefined;
2087
+ createdAtLocation?: string | undefined;
2088
+ updatedAtLocation?: string | undefined;
2075
2089
  originalActionId?: string | undefined;
2076
2090
  }, {
2077
2091
  type: "VALIDATE";
@@ -2117,7 +2131,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2117
2131
  filename: string;
2118
2132
  originalFilename: string;
2119
2133
  }[] | undefined>;
2120
- createdAtLocation: string;
2121
2134
  annotation?: Record<string, string | number | boolean | {
2122
2135
  type: string;
2123
2136
  filename: string;
@@ -2156,6 +2169,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2156
2169
  filename: string;
2157
2170
  originalFilename: string;
2158
2171
  }[] | undefined> | undefined;
2172
+ createdAtLocation?: string | undefined;
2173
+ updatedAtLocation?: string | undefined;
2159
2174
  originalActionId?: string | undefined;
2160
2175
  }>, z.ZodObject<z.objectUtil.extendShape<{
2161
2176
  id: z.ZodString;
@@ -2389,7 +2404,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2389
2404
  addressLine3?: string | null | undefined;
2390
2405
  postcodeOrZip?: string | null | undefined;
2391
2406
  }>]>>>;
2392
- createdAtLocation: z.ZodString;
2407
+ createdAtLocation: z.ZodOptional<z.ZodString>;
2408
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
2393
2409
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2394
2410
  originalActionId: z.ZodOptional<z.ZodString>;
2395
2411
  }, {
@@ -2438,7 +2454,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2438
2454
  filename: string;
2439
2455
  originalFilename: string;
2440
2456
  }[] | undefined>;
2441
- createdAtLocation: string;
2442
2457
  annotation?: Record<string, string | number | boolean | {
2443
2458
  type: string;
2444
2459
  filename: string;
@@ -2477,6 +2492,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2477
2492
  filename: string;
2478
2493
  originalFilename: string;
2479
2494
  }[] | undefined> | undefined;
2495
+ createdAtLocation?: string | undefined;
2496
+ updatedAtLocation?: string | undefined;
2480
2497
  originalActionId?: string | undefined;
2481
2498
  }, {
2482
2499
  type: "REJECT";
@@ -2522,7 +2539,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2522
2539
  filename: string;
2523
2540
  originalFilename: string;
2524
2541
  }[] | undefined>;
2525
- createdAtLocation: string;
2526
2542
  annotation?: Record<string, string | number | boolean | {
2527
2543
  type: string;
2528
2544
  filename: string;
@@ -2561,6 +2577,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2561
2577
  filename: string;
2562
2578
  originalFilename: string;
2563
2579
  }[] | undefined> | undefined;
2580
+ createdAtLocation?: string | undefined;
2581
+ updatedAtLocation?: string | undefined;
2564
2582
  originalActionId?: string | undefined;
2565
2583
  }>, z.ZodObject<z.objectUtil.extendShape<{
2566
2584
  id: z.ZodString;
@@ -2794,7 +2812,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2794
2812
  addressLine3?: string | null | undefined;
2795
2813
  postcodeOrZip?: string | null | undefined;
2796
2814
  }>]>>>;
2797
- createdAtLocation: z.ZodString;
2815
+ createdAtLocation: z.ZodOptional<z.ZodString>;
2816
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
2798
2817
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2799
2818
  originalActionId: z.ZodOptional<z.ZodString>;
2800
2819
  }, {
@@ -2843,7 +2862,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2843
2862
  filename: string;
2844
2863
  originalFilename: string;
2845
2864
  }[] | undefined>;
2846
- createdAtLocation: string;
2847
2865
  annotation?: Record<string, string | number | boolean | {
2848
2866
  type: string;
2849
2867
  filename: string;
@@ -2882,6 +2900,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2882
2900
  filename: string;
2883
2901
  originalFilename: string;
2884
2902
  }[] | undefined> | undefined;
2903
+ createdAtLocation?: string | undefined;
2904
+ updatedAtLocation?: string | undefined;
2885
2905
  originalActionId?: string | undefined;
2886
2906
  }, {
2887
2907
  type: "MARKED_AS_DUPLICATE";
@@ -2927,7 +2947,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2927
2947
  filename: string;
2928
2948
  originalFilename: string;
2929
2949
  }[] | undefined>;
2930
- createdAtLocation: string;
2931
2950
  annotation?: Record<string, string | number | boolean | {
2932
2951
  type: string;
2933
2952
  filename: string;
@@ -2966,6 +2985,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2966
2985
  filename: string;
2967
2986
  originalFilename: string;
2968
2987
  }[] | undefined> | undefined;
2988
+ createdAtLocation?: string | undefined;
2989
+ updatedAtLocation?: string | undefined;
2969
2990
  originalActionId?: string | undefined;
2970
2991
  }>, z.ZodObject<z.objectUtil.extendShape<{
2971
2992
  id: z.ZodString;
@@ -3199,7 +3220,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3199
3220
  addressLine3?: string | null | undefined;
3200
3221
  postcodeOrZip?: string | null | undefined;
3201
3222
  }>]>>>;
3202
- createdAtLocation: z.ZodString;
3223
+ createdAtLocation: z.ZodOptional<z.ZodString>;
3224
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
3203
3225
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3204
3226
  originalActionId: z.ZodOptional<z.ZodString>;
3205
3227
  }, {
@@ -3248,7 +3270,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3248
3270
  filename: string;
3249
3271
  originalFilename: string;
3250
3272
  }[] | undefined>;
3251
- createdAtLocation: string;
3252
3273
  annotation?: Record<string, string | number | boolean | {
3253
3274
  type: string;
3254
3275
  filename: string;
@@ -3287,6 +3308,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3287
3308
  filename: string;
3288
3309
  originalFilename: string;
3289
3310
  }[] | undefined> | undefined;
3311
+ createdAtLocation?: string | undefined;
3312
+ updatedAtLocation?: string | undefined;
3290
3313
  originalActionId?: string | undefined;
3291
3314
  }, {
3292
3315
  type: "ARCHIVE";
@@ -3332,7 +3355,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3332
3355
  filename: string;
3333
3356
  originalFilename: string;
3334
3357
  }[] | undefined>;
3335
- createdAtLocation: string;
3336
3358
  annotation?: Record<string, string | number | boolean | {
3337
3359
  type: string;
3338
3360
  filename: string;
@@ -3371,6 +3393,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3371
3393
  filename: string;
3372
3394
  originalFilename: string;
3373
3395
  }[] | undefined> | undefined;
3396
+ createdAtLocation?: string | undefined;
3397
+ updatedAtLocation?: string | undefined;
3374
3398
  originalActionId?: string | undefined;
3375
3399
  }>, z.ZodObject<z.objectUtil.extendShape<{
3376
3400
  id: z.ZodString;
@@ -3604,7 +3628,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3604
3628
  addressLine3?: string | null | undefined;
3605
3629
  postcodeOrZip?: string | null | undefined;
3606
3630
  }>]>>>;
3607
- createdAtLocation: z.ZodString;
3631
+ createdAtLocation: z.ZodOptional<z.ZodString>;
3632
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
3608
3633
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3609
3634
  originalActionId: z.ZodOptional<z.ZodString>;
3610
3635
  }, {
@@ -3653,7 +3678,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3653
3678
  filename: string;
3654
3679
  originalFilename: string;
3655
3680
  }[] | undefined>;
3656
- createdAtLocation: string;
3657
3681
  annotation?: Record<string, string | number | boolean | {
3658
3682
  type: string;
3659
3683
  filename: string;
@@ -3692,6 +3716,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3692
3716
  filename: string;
3693
3717
  originalFilename: string;
3694
3718
  }[] | undefined> | undefined;
3719
+ createdAtLocation?: string | undefined;
3720
+ updatedAtLocation?: string | undefined;
3695
3721
  originalActionId?: string | undefined;
3696
3722
  }, {
3697
3723
  type: "NOTIFY";
@@ -3737,7 +3763,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3737
3763
  filename: string;
3738
3764
  originalFilename: string;
3739
3765
  }[] | undefined>;
3740
- createdAtLocation: string;
3741
3766
  annotation?: Record<string, string | number | boolean | {
3742
3767
  type: string;
3743
3768
  filename: string;
@@ -3776,6 +3801,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3776
3801
  filename: string;
3777
3802
  originalFilename: string;
3778
3803
  }[] | undefined> | undefined;
3804
+ createdAtLocation?: string | undefined;
3805
+ updatedAtLocation?: string | undefined;
3779
3806
  originalActionId?: string | undefined;
3780
3807
  }>, z.ZodObject<z.objectUtil.extendShape<{
3781
3808
  id: z.ZodString;
@@ -4009,7 +4036,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4009
4036
  addressLine3?: string | null | undefined;
4010
4037
  postcodeOrZip?: string | null | undefined;
4011
4038
  }>]>>>;
4012
- createdAtLocation: z.ZodString;
4039
+ createdAtLocation: z.ZodOptional<z.ZodString>;
4040
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
4013
4041
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4014
4042
  originalActionId: z.ZodOptional<z.ZodString>;
4015
4043
  }, {
@@ -4059,7 +4087,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4059
4087
  filename: string;
4060
4088
  originalFilename: string;
4061
4089
  }[] | undefined>;
4062
- createdAtLocation: string;
4063
4090
  annotation?: Record<string, string | number | boolean | {
4064
4091
  type: string;
4065
4092
  filename: string;
@@ -4098,6 +4125,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4098
4125
  filename: string;
4099
4126
  originalFilename: string;
4100
4127
  }[] | undefined> | undefined;
4128
+ createdAtLocation?: string | undefined;
4129
+ updatedAtLocation?: string | undefined;
4101
4130
  originalActionId?: string | undefined;
4102
4131
  registrationNumber?: string | undefined;
4103
4132
  }, {
@@ -4144,7 +4173,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4144
4173
  filename: string;
4145
4174
  originalFilename: string;
4146
4175
  }[] | undefined>;
4147
- createdAtLocation: string;
4148
4176
  annotation?: Record<string, string | number | boolean | {
4149
4177
  type: string;
4150
4178
  filename: string;
@@ -4183,6 +4211,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4183
4211
  filename: string;
4184
4212
  originalFilename: string;
4185
4213
  }[] | undefined> | undefined;
4214
+ createdAtLocation?: string | undefined;
4215
+ updatedAtLocation?: string | undefined;
4186
4216
  originalActionId?: string | undefined;
4187
4217
  registrationNumber?: string | undefined;
4188
4218
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4417,7 +4447,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4417
4447
  addressLine3?: string | null | undefined;
4418
4448
  postcodeOrZip?: string | null | undefined;
4419
4449
  }>]>>>;
4420
- createdAtLocation: z.ZodString;
4450
+ createdAtLocation: z.ZodOptional<z.ZodString>;
4451
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
4421
4452
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4422
4453
  originalActionId: z.ZodOptional<z.ZodString>;
4423
4454
  }, {
@@ -4466,7 +4497,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4466
4497
  filename: string;
4467
4498
  originalFilename: string;
4468
4499
  }[] | undefined>;
4469
- createdAtLocation: string;
4470
4500
  annotation?: Record<string, string | number | boolean | {
4471
4501
  type: string;
4472
4502
  filename: string;
@@ -4505,6 +4535,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4505
4535
  filename: string;
4506
4536
  originalFilename: string;
4507
4537
  }[] | undefined> | undefined;
4538
+ createdAtLocation?: string | undefined;
4539
+ updatedAtLocation?: string | undefined;
4508
4540
  originalActionId?: string | undefined;
4509
4541
  }, {
4510
4542
  type: "DECLARE";
@@ -4550,7 +4582,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4550
4582
  filename: string;
4551
4583
  originalFilename: string;
4552
4584
  }[] | undefined>;
4553
- createdAtLocation: string;
4554
4585
  annotation?: Record<string, string | number | boolean | {
4555
4586
  type: string;
4556
4587
  filename: string;
@@ -4589,6 +4620,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4589
4620
  filename: string;
4590
4621
  originalFilename: string;
4591
4622
  }[] | undefined> | undefined;
4623
+ createdAtLocation?: string | undefined;
4624
+ updatedAtLocation?: string | undefined;
4592
4625
  originalActionId?: string | undefined;
4593
4626
  }>, z.ZodObject<z.objectUtil.extendShape<{
4594
4627
  id: z.ZodString;
@@ -4822,7 +4855,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4822
4855
  addressLine3?: string | null | undefined;
4823
4856
  postcodeOrZip?: string | null | undefined;
4824
4857
  }>]>>>;
4825
- createdAtLocation: z.ZodString;
4858
+ createdAtLocation: z.ZodOptional<z.ZodString>;
4859
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
4826
4860
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4827
4861
  originalActionId: z.ZodOptional<z.ZodString>;
4828
4862
  }, {
@@ -4872,7 +4906,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4872
4906
  filename: string;
4873
4907
  originalFilename: string;
4874
4908
  }[] | undefined>;
4875
- createdAtLocation: string;
4876
4909
  assignedTo: string;
4877
4910
  annotation?: Record<string, string | number | boolean | {
4878
4911
  type: string;
@@ -4912,6 +4945,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4912
4945
  filename: string;
4913
4946
  originalFilename: string;
4914
4947
  }[] | undefined> | undefined;
4948
+ createdAtLocation?: string | undefined;
4949
+ updatedAtLocation?: string | undefined;
4915
4950
  originalActionId?: string | undefined;
4916
4951
  }, {
4917
4952
  type: "ASSIGN";
@@ -4957,7 +4992,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4957
4992
  filename: string;
4958
4993
  originalFilename: string;
4959
4994
  }[] | undefined>;
4960
- createdAtLocation: string;
4961
4995
  assignedTo: string;
4962
4996
  annotation?: Record<string, string | number | boolean | {
4963
4997
  type: string;
@@ -4997,6 +5031,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4997
5031
  filename: string;
4998
5032
  originalFilename: string;
4999
5033
  }[] | undefined> | undefined;
5034
+ createdAtLocation?: string | undefined;
5035
+ updatedAtLocation?: string | undefined;
5000
5036
  originalActionId?: string | undefined;
5001
5037
  }>, z.ZodObject<z.objectUtil.extendShape<{
5002
5038
  id: z.ZodString;
@@ -5230,7 +5266,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5230
5266
  addressLine3?: string | null | undefined;
5231
5267
  postcodeOrZip?: string | null | undefined;
5232
5268
  }>]>>>;
5233
- createdAtLocation: z.ZodString;
5269
+ createdAtLocation: z.ZodOptional<z.ZodString>;
5270
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
5234
5271
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5235
5272
  originalActionId: z.ZodOptional<z.ZodString>;
5236
5273
  }, {
@@ -5279,7 +5316,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5279
5316
  filename: string;
5280
5317
  originalFilename: string;
5281
5318
  }[] | undefined>;
5282
- createdAtLocation: string;
5283
5319
  annotation?: Record<string, string | number | boolean | {
5284
5320
  type: string;
5285
5321
  filename: string;
@@ -5318,6 +5354,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5318
5354
  filename: string;
5319
5355
  originalFilename: string;
5320
5356
  }[] | undefined> | undefined;
5357
+ createdAtLocation?: string | undefined;
5358
+ updatedAtLocation?: string | undefined;
5321
5359
  originalActionId?: string | undefined;
5322
5360
  }, {
5323
5361
  type: "REQUEST_CORRECTION";
@@ -5363,7 +5401,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5363
5401
  filename: string;
5364
5402
  originalFilename: string;
5365
5403
  }[] | undefined>;
5366
- createdAtLocation: string;
5367
5404
  annotation?: Record<string, string | number | boolean | {
5368
5405
  type: string;
5369
5406
  filename: string;
@@ -5402,6 +5439,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5402
5439
  filename: string;
5403
5440
  originalFilename: string;
5404
5441
  }[] | undefined> | undefined;
5442
+ createdAtLocation?: string | undefined;
5443
+ updatedAtLocation?: string | undefined;
5405
5444
  originalActionId?: string | undefined;
5406
5445
  }>, z.ZodObject<z.objectUtil.extendShape<{
5407
5446
  id: z.ZodString;
@@ -5635,7 +5674,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5635
5674
  addressLine3?: string | null | undefined;
5636
5675
  postcodeOrZip?: string | null | undefined;
5637
5676
  }>]>>>;
5638
- createdAtLocation: z.ZodString;
5677
+ createdAtLocation: z.ZodOptional<z.ZodString>;
5678
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
5639
5679
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5640
5680
  originalActionId: z.ZodOptional<z.ZodString>;
5641
5681
  }, {
@@ -5685,7 +5725,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5685
5725
  filename: string;
5686
5726
  originalFilename: string;
5687
5727
  }[] | undefined>;
5688
- createdAtLocation: string;
5689
5728
  requestId: string;
5690
5729
  annotation?: Record<string, string | number | boolean | {
5691
5730
  type: string;
@@ -5725,6 +5764,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5725
5764
  filename: string;
5726
5765
  originalFilename: string;
5727
5766
  }[] | undefined> | undefined;
5767
+ createdAtLocation?: string | undefined;
5768
+ updatedAtLocation?: string | undefined;
5728
5769
  originalActionId?: string | undefined;
5729
5770
  }, {
5730
5771
  type: "APPROVE_CORRECTION";
@@ -5770,7 +5811,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5770
5811
  filename: string;
5771
5812
  originalFilename: string;
5772
5813
  }[] | undefined>;
5773
- createdAtLocation: string;
5774
5814
  requestId: string;
5775
5815
  annotation?: Record<string, string | number | boolean | {
5776
5816
  type: string;
@@ -5810,6 +5850,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5810
5850
  filename: string;
5811
5851
  originalFilename: string;
5812
5852
  }[] | undefined> | undefined;
5853
+ createdAtLocation?: string | undefined;
5854
+ updatedAtLocation?: string | undefined;
5813
5855
  originalActionId?: string | undefined;
5814
5856
  }>, z.ZodObject<z.objectUtil.extendShape<{
5815
5857
  id: z.ZodString;
@@ -6043,7 +6085,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6043
6085
  addressLine3?: string | null | undefined;
6044
6086
  postcodeOrZip?: string | null | undefined;
6045
6087
  }>]>>>;
6046
- createdAtLocation: z.ZodString;
6088
+ createdAtLocation: z.ZodOptional<z.ZodString>;
6089
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
6047
6090
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6048
6091
  originalActionId: z.ZodOptional<z.ZodString>;
6049
6092
  }, {
@@ -6093,7 +6136,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6093
6136
  filename: string;
6094
6137
  originalFilename: string;
6095
6138
  }[] | undefined>;
6096
- createdAtLocation: string;
6097
6139
  requestId: string;
6098
6140
  annotation?: Record<string, string | number | boolean | {
6099
6141
  type: string;
@@ -6133,6 +6175,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6133
6175
  filename: string;
6134
6176
  originalFilename: string;
6135
6177
  }[] | undefined> | undefined;
6178
+ createdAtLocation?: string | undefined;
6179
+ updatedAtLocation?: string | undefined;
6136
6180
  originalActionId?: string | undefined;
6137
6181
  }, {
6138
6182
  type: "REJECT_CORRECTION";
@@ -6178,7 +6222,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6178
6222
  filename: string;
6179
6223
  originalFilename: string;
6180
6224
  }[] | undefined>;
6181
- createdAtLocation: string;
6182
6225
  requestId: string;
6183
6226
  annotation?: Record<string, string | number | boolean | {
6184
6227
  type: string;
@@ -6218,6 +6261,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6218
6261
  filename: string;
6219
6262
  originalFilename: string;
6220
6263
  }[] | undefined> | undefined;
6264
+ createdAtLocation?: string | undefined;
6265
+ updatedAtLocation?: string | undefined;
6221
6266
  originalActionId?: string | undefined;
6222
6267
  }>, z.ZodObject<z.objectUtil.extendShape<{
6223
6268
  id: z.ZodString;
@@ -6451,11 +6496,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6451
6496
  addressLine3?: string | null | undefined;
6452
6497
  postcodeOrZip?: string | null | undefined;
6453
6498
  }>]>>>;
6454
- createdAtLocation: z.ZodString;
6499
+ createdAtLocation: z.ZodOptional<z.ZodString>;
6500
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
6455
6501
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6456
6502
  originalActionId: z.ZodOptional<z.ZodString>;
6457
6503
  }, {
6458
6504
  type: z.ZodLiteral<"UNASSIGN">;
6505
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
6459
6506
  }>, "strip", z.ZodTypeAny, {
6460
6507
  type: "UNASSIGN";
6461
6508
  id: string;
@@ -6500,7 +6547,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6500
6547
  filename: string;
6501
6548
  originalFilename: string;
6502
6549
  }[] | undefined>;
6503
- createdAtLocation: string;
6550
+ assignedTo: null;
6504
6551
  annotation?: Record<string, string | number | boolean | {
6505
6552
  type: string;
6506
6553
  filename: string;
@@ -6539,6 +6586,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6539
6586
  filename: string;
6540
6587
  originalFilename: string;
6541
6588
  }[] | undefined> | undefined;
6589
+ createdAtLocation?: string | undefined;
6590
+ updatedAtLocation?: string | undefined;
6542
6591
  originalActionId?: string | undefined;
6543
6592
  }, {
6544
6593
  type: "UNASSIGN";
@@ -6584,7 +6633,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6584
6633
  filename: string;
6585
6634
  originalFilename: string;
6586
6635
  }[] | undefined>;
6587
- createdAtLocation: string;
6588
6636
  annotation?: Record<string, string | number | boolean | {
6589
6637
  type: string;
6590
6638
  filename: string;
@@ -6623,7 +6671,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6623
6671
  filename: string;
6624
6672
  originalFilename: string;
6625
6673
  }[] | undefined> | undefined;
6674
+ createdAtLocation?: string | undefined;
6675
+ updatedAtLocation?: string | undefined;
6626
6676
  originalActionId?: string | undefined;
6677
+ assignedTo?: null | undefined;
6627
6678
  }>, z.ZodObject<z.objectUtil.extendShape<{
6628
6679
  id: z.ZodString;
6629
6680
  createdAt: z.ZodString;
@@ -6856,7 +6907,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6856
6907
  addressLine3?: string | null | undefined;
6857
6908
  postcodeOrZip?: string | null | undefined;
6858
6909
  }>]>>>;
6859
- createdAtLocation: z.ZodString;
6910
+ createdAtLocation: z.ZodOptional<z.ZodString>;
6911
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
6860
6912
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6861
6913
  originalActionId: z.ZodOptional<z.ZodString>;
6862
6914
  }, {
@@ -6905,7 +6957,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6905
6957
  filename: string;
6906
6958
  originalFilename: string;
6907
6959
  }[] | undefined>;
6908
- createdAtLocation: string;
6909
6960
  annotation?: Record<string, string | number | boolean | {
6910
6961
  type: string;
6911
6962
  filename: string;
@@ -6944,6 +6995,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6944
6995
  filename: string;
6945
6996
  originalFilename: string;
6946
6997
  }[] | undefined> | undefined;
6998
+ createdAtLocation?: string | undefined;
6999
+ updatedAtLocation?: string | undefined;
6947
7000
  originalActionId?: string | undefined;
6948
7001
  }, {
6949
7002
  type: "PRINT_CERTIFICATE";
@@ -6989,7 +7042,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6989
7042
  filename: string;
6990
7043
  originalFilename: string;
6991
7044
  }[] | undefined>;
6992
- createdAtLocation: string;
6993
7045
  annotation?: Record<string, string | number | boolean | {
6994
7046
  type: string;
6995
7047
  filename: string;
@@ -7028,6 +7080,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7028
7080
  filename: string;
7029
7081
  originalFilename: string;
7030
7082
  }[] | undefined> | undefined;
7083
+ createdAtLocation?: string | undefined;
7084
+ updatedAtLocation?: string | undefined;
7031
7085
  originalActionId?: string | undefined;
7032
7086
  }>, z.ZodObject<z.objectUtil.extendShape<{
7033
7087
  id: z.ZodString;
@@ -7261,7 +7315,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7261
7315
  addressLine3?: string | null | undefined;
7262
7316
  postcodeOrZip?: string | null | undefined;
7263
7317
  }>]>>>;
7264
- createdAtLocation: z.ZodString;
7318
+ createdAtLocation: z.ZodOptional<z.ZodString>;
7319
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
7265
7320
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7266
7321
  originalActionId: z.ZodOptional<z.ZodString>;
7267
7322
  }, {
@@ -7310,7 +7365,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7310
7365
  filename: string;
7311
7366
  originalFilename: string;
7312
7367
  }[] | undefined>;
7313
- createdAtLocation: string;
7314
7368
  annotation?: Record<string, string | number | boolean | {
7315
7369
  type: string;
7316
7370
  filename: string;
@@ -7349,6 +7403,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7349
7403
  filename: string;
7350
7404
  originalFilename: string;
7351
7405
  }[] | undefined> | undefined;
7406
+ createdAtLocation?: string | undefined;
7407
+ updatedAtLocation?: string | undefined;
7352
7408
  originalActionId?: string | undefined;
7353
7409
  }, {
7354
7410
  type: "READ";
@@ -7394,7 +7450,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7394
7450
  filename: string;
7395
7451
  originalFilename: string;
7396
7452
  }[] | undefined>;
7397
- createdAtLocation: string;
7398
7453
  annotation?: Record<string, string | number | boolean | {
7399
7454
  type: string;
7400
7455
  filename: string;
@@ -7433,6 +7488,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7433
7488
  filename: string;
7434
7489
  originalFilename: string;
7435
7490
  }[] | undefined> | undefined;
7491
+ createdAtLocation?: string | undefined;
7492
+ updatedAtLocation?: string | undefined;
7436
7493
  originalActionId?: string | undefined;
7437
7494
  }>]>;
7438
7495
  export type ActionDocument = z.infer<typeof ActionDocument>;
@@ -7668,7 +7725,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7668
7725
  addressLine3?: string | null | undefined;
7669
7726
  postcodeOrZip?: string | null | undefined;
7670
7727
  }>]>>>;
7671
- createdAtLocation: z.ZodString;
7728
+ createdAtLocation: z.ZodOptional<z.ZodString>;
7729
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
7672
7730
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7673
7731
  originalActionId: z.ZodOptional<z.ZodString>;
7674
7732
  }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
@@ -7679,12 +7737,14 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7679
7737
  id: string;
7680
7738
  status: "Rejected";
7681
7739
  createdAt: string;
7740
+ updatedAtLocation?: string | undefined;
7682
7741
  originalActionId?: string | undefined;
7683
7742
  }, {
7684
7743
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7685
7744
  id: string;
7686
7745
  status: "Rejected";
7687
7746
  createdAt: string;
7747
+ updatedAtLocation?: string | undefined;
7688
7748
  originalActionId?: string | undefined;
7689
7749
  }>;
7690
7750
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
@@ -7920,7 +7980,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7920
7980
  addressLine3?: string | null | undefined;
7921
7981
  postcodeOrZip?: string | null | undefined;
7922
7982
  }>]>>>;
7923
- createdAtLocation: z.ZodString;
7983
+ createdAtLocation: z.ZodOptional<z.ZodString>;
7984
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
7924
7985
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7925
7986
  originalActionId: z.ZodOptional<z.ZodString>;
7926
7987
  }, {
@@ -7969,7 +8030,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7969
8030
  filename: string;
7970
8031
  originalFilename: string;
7971
8032
  }[] | undefined>;
7972
- createdAtLocation: string;
7973
8033
  annotation?: Record<string, string | number | boolean | {
7974
8034
  type: string;
7975
8035
  filename: string;
@@ -8008,6 +8068,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8008
8068
  filename: string;
8009
8069
  originalFilename: string;
8010
8070
  }[] | undefined> | undefined;
8071
+ createdAtLocation?: string | undefined;
8072
+ updatedAtLocation?: string | undefined;
8011
8073
  originalActionId?: string | undefined;
8012
8074
  }, {
8013
8075
  type: "CREATE";
@@ -8053,7 +8115,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8053
8115
  filename: string;
8054
8116
  originalFilename: string;
8055
8117
  }[] | undefined>;
8056
- createdAtLocation: string;
8057
8118
  annotation?: Record<string, string | number | boolean | {
8058
8119
  type: string;
8059
8120
  filename: string;
@@ -8092,6 +8153,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8092
8153
  filename: string;
8093
8154
  originalFilename: string;
8094
8155
  }[] | undefined> | undefined;
8156
+ createdAtLocation?: string | undefined;
8157
+ updatedAtLocation?: string | undefined;
8095
8158
  originalActionId?: string | undefined;
8096
8159
  }>, z.ZodObject<z.objectUtil.extendShape<{
8097
8160
  id: z.ZodString;
@@ -8325,7 +8388,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8325
8388
  addressLine3?: string | null | undefined;
8326
8389
  postcodeOrZip?: string | null | undefined;
8327
8390
  }>]>>>;
8328
- createdAtLocation: z.ZodString;
8391
+ createdAtLocation: z.ZodOptional<z.ZodString>;
8392
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
8329
8393
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8330
8394
  originalActionId: z.ZodOptional<z.ZodString>;
8331
8395
  }, {
@@ -8374,7 +8438,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8374
8438
  filename: string;
8375
8439
  originalFilename: string;
8376
8440
  }[] | undefined>;
8377
- createdAtLocation: string;
8378
8441
  annotation?: Record<string, string | number | boolean | {
8379
8442
  type: string;
8380
8443
  filename: string;
@@ -8413,6 +8476,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8413
8476
  filename: string;
8414
8477
  originalFilename: string;
8415
8478
  }[] | undefined> | undefined;
8479
+ createdAtLocation?: string | undefined;
8480
+ updatedAtLocation?: string | undefined;
8416
8481
  originalActionId?: string | undefined;
8417
8482
  }, {
8418
8483
  type: "VALIDATE";
@@ -8458,7 +8523,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8458
8523
  filename: string;
8459
8524
  originalFilename: string;
8460
8525
  }[] | undefined>;
8461
- createdAtLocation: string;
8462
8526
  annotation?: Record<string, string | number | boolean | {
8463
8527
  type: string;
8464
8528
  filename: string;
@@ -8497,6 +8561,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8497
8561
  filename: string;
8498
8562
  originalFilename: string;
8499
8563
  }[] | undefined> | undefined;
8564
+ createdAtLocation?: string | undefined;
8565
+ updatedAtLocation?: string | undefined;
8500
8566
  originalActionId?: string | undefined;
8501
8567
  }>, z.ZodObject<z.objectUtil.extendShape<{
8502
8568
  id: z.ZodString;
@@ -8730,7 +8796,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8730
8796
  addressLine3?: string | null | undefined;
8731
8797
  postcodeOrZip?: string | null | undefined;
8732
8798
  }>]>>>;
8733
- createdAtLocation: z.ZodString;
8799
+ createdAtLocation: z.ZodOptional<z.ZodString>;
8800
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
8734
8801
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8735
8802
  originalActionId: z.ZodOptional<z.ZodString>;
8736
8803
  }, {
@@ -8779,7 +8846,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8779
8846
  filename: string;
8780
8847
  originalFilename: string;
8781
8848
  }[] | undefined>;
8782
- createdAtLocation: string;
8783
8849
  annotation?: Record<string, string | number | boolean | {
8784
8850
  type: string;
8785
8851
  filename: string;
@@ -8818,6 +8884,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8818
8884
  filename: string;
8819
8885
  originalFilename: string;
8820
8886
  }[] | undefined> | undefined;
8887
+ createdAtLocation?: string | undefined;
8888
+ updatedAtLocation?: string | undefined;
8821
8889
  originalActionId?: string | undefined;
8822
8890
  }, {
8823
8891
  type: "REJECT";
@@ -8863,7 +8931,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8863
8931
  filename: string;
8864
8932
  originalFilename: string;
8865
8933
  }[] | undefined>;
8866
- createdAtLocation: string;
8867
8934
  annotation?: Record<string, string | number | boolean | {
8868
8935
  type: string;
8869
8936
  filename: string;
@@ -8902,6 +8969,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8902
8969
  filename: string;
8903
8970
  originalFilename: string;
8904
8971
  }[] | undefined> | undefined;
8972
+ createdAtLocation?: string | undefined;
8973
+ updatedAtLocation?: string | undefined;
8905
8974
  originalActionId?: string | undefined;
8906
8975
  }>, z.ZodObject<z.objectUtil.extendShape<{
8907
8976
  id: z.ZodString;
@@ -9135,7 +9204,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9135
9204
  addressLine3?: string | null | undefined;
9136
9205
  postcodeOrZip?: string | null | undefined;
9137
9206
  }>]>>>;
9138
- createdAtLocation: z.ZodString;
9207
+ createdAtLocation: z.ZodOptional<z.ZodString>;
9208
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
9139
9209
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9140
9210
  originalActionId: z.ZodOptional<z.ZodString>;
9141
9211
  }, {
@@ -9184,7 +9254,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9184
9254
  filename: string;
9185
9255
  originalFilename: string;
9186
9256
  }[] | undefined>;
9187
- createdAtLocation: string;
9188
9257
  annotation?: Record<string, string | number | boolean | {
9189
9258
  type: string;
9190
9259
  filename: string;
@@ -9223,6 +9292,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9223
9292
  filename: string;
9224
9293
  originalFilename: string;
9225
9294
  }[] | undefined> | undefined;
9295
+ createdAtLocation?: string | undefined;
9296
+ updatedAtLocation?: string | undefined;
9226
9297
  originalActionId?: string | undefined;
9227
9298
  }, {
9228
9299
  type: "MARKED_AS_DUPLICATE";
@@ -9268,7 +9339,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9268
9339
  filename: string;
9269
9340
  originalFilename: string;
9270
9341
  }[] | undefined>;
9271
- createdAtLocation: string;
9272
9342
  annotation?: Record<string, string | number | boolean | {
9273
9343
  type: string;
9274
9344
  filename: string;
@@ -9307,6 +9377,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9307
9377
  filename: string;
9308
9378
  originalFilename: string;
9309
9379
  }[] | undefined> | undefined;
9380
+ createdAtLocation?: string | undefined;
9381
+ updatedAtLocation?: string | undefined;
9310
9382
  originalActionId?: string | undefined;
9311
9383
  }>, z.ZodObject<z.objectUtil.extendShape<{
9312
9384
  id: z.ZodString;
@@ -9540,7 +9612,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9540
9612
  addressLine3?: string | null | undefined;
9541
9613
  postcodeOrZip?: string | null | undefined;
9542
9614
  }>]>>>;
9543
- createdAtLocation: z.ZodString;
9615
+ createdAtLocation: z.ZodOptional<z.ZodString>;
9616
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
9544
9617
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9545
9618
  originalActionId: z.ZodOptional<z.ZodString>;
9546
9619
  }, {
@@ -9589,7 +9662,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9589
9662
  filename: string;
9590
9663
  originalFilename: string;
9591
9664
  }[] | undefined>;
9592
- createdAtLocation: string;
9593
9665
  annotation?: Record<string, string | number | boolean | {
9594
9666
  type: string;
9595
9667
  filename: string;
@@ -9628,6 +9700,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9628
9700
  filename: string;
9629
9701
  originalFilename: string;
9630
9702
  }[] | undefined> | undefined;
9703
+ createdAtLocation?: string | undefined;
9704
+ updatedAtLocation?: string | undefined;
9631
9705
  originalActionId?: string | undefined;
9632
9706
  }, {
9633
9707
  type: "ARCHIVE";
@@ -9673,7 +9747,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9673
9747
  filename: string;
9674
9748
  originalFilename: string;
9675
9749
  }[] | undefined>;
9676
- createdAtLocation: string;
9677
9750
  annotation?: Record<string, string | number | boolean | {
9678
9751
  type: string;
9679
9752
  filename: string;
@@ -9712,6 +9785,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9712
9785
  filename: string;
9713
9786
  originalFilename: string;
9714
9787
  }[] | undefined> | undefined;
9788
+ createdAtLocation?: string | undefined;
9789
+ updatedAtLocation?: string | undefined;
9715
9790
  originalActionId?: string | undefined;
9716
9791
  }>, z.ZodObject<z.objectUtil.extendShape<{
9717
9792
  id: z.ZodString;
@@ -9945,7 +10020,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9945
10020
  addressLine3?: string | null | undefined;
9946
10021
  postcodeOrZip?: string | null | undefined;
9947
10022
  }>]>>>;
9948
- createdAtLocation: z.ZodString;
10023
+ createdAtLocation: z.ZodOptional<z.ZodString>;
10024
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
9949
10025
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9950
10026
  originalActionId: z.ZodOptional<z.ZodString>;
9951
10027
  }, {
@@ -9994,7 +10070,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9994
10070
  filename: string;
9995
10071
  originalFilename: string;
9996
10072
  }[] | undefined>;
9997
- createdAtLocation: string;
9998
10073
  annotation?: Record<string, string | number | boolean | {
9999
10074
  type: string;
10000
10075
  filename: string;
@@ -10033,6 +10108,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10033
10108
  filename: string;
10034
10109
  originalFilename: string;
10035
10110
  }[] | undefined> | undefined;
10111
+ createdAtLocation?: string | undefined;
10112
+ updatedAtLocation?: string | undefined;
10036
10113
  originalActionId?: string | undefined;
10037
10114
  }, {
10038
10115
  type: "NOTIFY";
@@ -10078,7 +10155,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10078
10155
  filename: string;
10079
10156
  originalFilename: string;
10080
10157
  }[] | undefined>;
10081
- createdAtLocation: string;
10082
10158
  annotation?: Record<string, string | number | boolean | {
10083
10159
  type: string;
10084
10160
  filename: string;
@@ -10117,6 +10193,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10117
10193
  filename: string;
10118
10194
  originalFilename: string;
10119
10195
  }[] | undefined> | undefined;
10196
+ createdAtLocation?: string | undefined;
10197
+ updatedAtLocation?: string | undefined;
10120
10198
  originalActionId?: string | undefined;
10121
10199
  }>, z.ZodObject<z.objectUtil.extendShape<{
10122
10200
  id: z.ZodString;
@@ -10350,7 +10428,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10350
10428
  addressLine3?: string | null | undefined;
10351
10429
  postcodeOrZip?: string | null | undefined;
10352
10430
  }>]>>>;
10353
- createdAtLocation: z.ZodString;
10431
+ createdAtLocation: z.ZodOptional<z.ZodString>;
10432
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
10354
10433
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10355
10434
  originalActionId: z.ZodOptional<z.ZodString>;
10356
10435
  }, {
@@ -10400,7 +10479,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10400
10479
  filename: string;
10401
10480
  originalFilename: string;
10402
10481
  }[] | undefined>;
10403
- createdAtLocation: string;
10404
10482
  annotation?: Record<string, string | number | boolean | {
10405
10483
  type: string;
10406
10484
  filename: string;
@@ -10439,6 +10517,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10439
10517
  filename: string;
10440
10518
  originalFilename: string;
10441
10519
  }[] | undefined> | undefined;
10520
+ createdAtLocation?: string | undefined;
10521
+ updatedAtLocation?: string | undefined;
10442
10522
  originalActionId?: string | undefined;
10443
10523
  registrationNumber?: string | undefined;
10444
10524
  }, {
@@ -10485,7 +10565,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10485
10565
  filename: string;
10486
10566
  originalFilename: string;
10487
10567
  }[] | undefined>;
10488
- createdAtLocation: string;
10489
10568
  annotation?: Record<string, string | number | boolean | {
10490
10569
  type: string;
10491
10570
  filename: string;
@@ -10524,6 +10603,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10524
10603
  filename: string;
10525
10604
  originalFilename: string;
10526
10605
  }[] | undefined> | undefined;
10606
+ createdAtLocation?: string | undefined;
10607
+ updatedAtLocation?: string | undefined;
10527
10608
  originalActionId?: string | undefined;
10528
10609
  registrationNumber?: string | undefined;
10529
10610
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -10758,7 +10839,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10758
10839
  addressLine3?: string | null | undefined;
10759
10840
  postcodeOrZip?: string | null | undefined;
10760
10841
  }>]>>>;
10761
- createdAtLocation: z.ZodString;
10842
+ createdAtLocation: z.ZodOptional<z.ZodString>;
10843
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
10762
10844
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10763
10845
  originalActionId: z.ZodOptional<z.ZodString>;
10764
10846
  }, {
@@ -10807,7 +10889,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10807
10889
  filename: string;
10808
10890
  originalFilename: string;
10809
10891
  }[] | undefined>;
10810
- createdAtLocation: string;
10811
10892
  annotation?: Record<string, string | number | boolean | {
10812
10893
  type: string;
10813
10894
  filename: string;
@@ -10846,6 +10927,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10846
10927
  filename: string;
10847
10928
  originalFilename: string;
10848
10929
  }[] | undefined> | undefined;
10930
+ createdAtLocation?: string | undefined;
10931
+ updatedAtLocation?: string | undefined;
10849
10932
  originalActionId?: string | undefined;
10850
10933
  }, {
10851
10934
  type: "DECLARE";
@@ -10891,7 +10974,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10891
10974
  filename: string;
10892
10975
  originalFilename: string;
10893
10976
  }[] | undefined>;
10894
- createdAtLocation: string;
10895
10977
  annotation?: Record<string, string | number | boolean | {
10896
10978
  type: string;
10897
10979
  filename: string;
@@ -10930,6 +11012,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10930
11012
  filename: string;
10931
11013
  originalFilename: string;
10932
11014
  }[] | undefined> | undefined;
11015
+ createdAtLocation?: string | undefined;
11016
+ updatedAtLocation?: string | undefined;
10933
11017
  originalActionId?: string | undefined;
10934
11018
  }>, z.ZodObject<z.objectUtil.extendShape<{
10935
11019
  id: z.ZodString;
@@ -11163,7 +11247,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11163
11247
  addressLine3?: string | null | undefined;
11164
11248
  postcodeOrZip?: string | null | undefined;
11165
11249
  }>]>>>;
11166
- createdAtLocation: z.ZodString;
11250
+ createdAtLocation: z.ZodOptional<z.ZodString>;
11251
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
11167
11252
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11168
11253
  originalActionId: z.ZodOptional<z.ZodString>;
11169
11254
  }, {
@@ -11213,7 +11298,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11213
11298
  filename: string;
11214
11299
  originalFilename: string;
11215
11300
  }[] | undefined>;
11216
- createdAtLocation: string;
11217
11301
  assignedTo: string;
11218
11302
  annotation?: Record<string, string | number | boolean | {
11219
11303
  type: string;
@@ -11253,6 +11337,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11253
11337
  filename: string;
11254
11338
  originalFilename: string;
11255
11339
  }[] | undefined> | undefined;
11340
+ createdAtLocation?: string | undefined;
11341
+ updatedAtLocation?: string | undefined;
11256
11342
  originalActionId?: string | undefined;
11257
11343
  }, {
11258
11344
  type: "ASSIGN";
@@ -11298,7 +11384,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11298
11384
  filename: string;
11299
11385
  originalFilename: string;
11300
11386
  }[] | undefined>;
11301
- createdAtLocation: string;
11302
11387
  assignedTo: string;
11303
11388
  annotation?: Record<string, string | number | boolean | {
11304
11389
  type: string;
@@ -11338,6 +11423,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11338
11423
  filename: string;
11339
11424
  originalFilename: string;
11340
11425
  }[] | undefined> | undefined;
11426
+ createdAtLocation?: string | undefined;
11427
+ updatedAtLocation?: string | undefined;
11341
11428
  originalActionId?: string | undefined;
11342
11429
  }>, z.ZodObject<z.objectUtil.extendShape<{
11343
11430
  id: z.ZodString;
@@ -11571,7 +11658,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11571
11658
  addressLine3?: string | null | undefined;
11572
11659
  postcodeOrZip?: string | null | undefined;
11573
11660
  }>]>>>;
11574
- createdAtLocation: z.ZodString;
11661
+ createdAtLocation: z.ZodOptional<z.ZodString>;
11662
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
11575
11663
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11576
11664
  originalActionId: z.ZodOptional<z.ZodString>;
11577
11665
  }, {
@@ -11620,7 +11708,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11620
11708
  filename: string;
11621
11709
  originalFilename: string;
11622
11710
  }[] | undefined>;
11623
- createdAtLocation: string;
11624
11711
  annotation?: Record<string, string | number | boolean | {
11625
11712
  type: string;
11626
11713
  filename: string;
@@ -11659,6 +11746,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11659
11746
  filename: string;
11660
11747
  originalFilename: string;
11661
11748
  }[] | undefined> | undefined;
11749
+ createdAtLocation?: string | undefined;
11750
+ updatedAtLocation?: string | undefined;
11662
11751
  originalActionId?: string | undefined;
11663
11752
  }, {
11664
11753
  type: "REQUEST_CORRECTION";
@@ -11704,7 +11793,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11704
11793
  filename: string;
11705
11794
  originalFilename: string;
11706
11795
  }[] | undefined>;
11707
- createdAtLocation: string;
11708
11796
  annotation?: Record<string, string | number | boolean | {
11709
11797
  type: string;
11710
11798
  filename: string;
@@ -11743,6 +11831,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11743
11831
  filename: string;
11744
11832
  originalFilename: string;
11745
11833
  }[] | undefined> | undefined;
11834
+ createdAtLocation?: string | undefined;
11835
+ updatedAtLocation?: string | undefined;
11746
11836
  originalActionId?: string | undefined;
11747
11837
  }>, z.ZodObject<z.objectUtil.extendShape<{
11748
11838
  id: z.ZodString;
@@ -11976,7 +12066,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11976
12066
  addressLine3?: string | null | undefined;
11977
12067
  postcodeOrZip?: string | null | undefined;
11978
12068
  }>]>>>;
11979
- createdAtLocation: z.ZodString;
12069
+ createdAtLocation: z.ZodOptional<z.ZodString>;
12070
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
11980
12071
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11981
12072
  originalActionId: z.ZodOptional<z.ZodString>;
11982
12073
  }, {
@@ -12026,7 +12117,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12026
12117
  filename: string;
12027
12118
  originalFilename: string;
12028
12119
  }[] | undefined>;
12029
- createdAtLocation: string;
12030
12120
  requestId: string;
12031
12121
  annotation?: Record<string, string | number | boolean | {
12032
12122
  type: string;
@@ -12066,6 +12156,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12066
12156
  filename: string;
12067
12157
  originalFilename: string;
12068
12158
  }[] | undefined> | undefined;
12159
+ createdAtLocation?: string | undefined;
12160
+ updatedAtLocation?: string | undefined;
12069
12161
  originalActionId?: string | undefined;
12070
12162
  }, {
12071
12163
  type: "APPROVE_CORRECTION";
@@ -12111,7 +12203,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12111
12203
  filename: string;
12112
12204
  originalFilename: string;
12113
12205
  }[] | undefined>;
12114
- createdAtLocation: string;
12115
12206
  requestId: string;
12116
12207
  annotation?: Record<string, string | number | boolean | {
12117
12208
  type: string;
@@ -12151,6 +12242,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12151
12242
  filename: string;
12152
12243
  originalFilename: string;
12153
12244
  }[] | undefined> | undefined;
12245
+ createdAtLocation?: string | undefined;
12246
+ updatedAtLocation?: string | undefined;
12154
12247
  originalActionId?: string | undefined;
12155
12248
  }>, z.ZodObject<z.objectUtil.extendShape<{
12156
12249
  id: z.ZodString;
@@ -12384,7 +12477,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12384
12477
  addressLine3?: string | null | undefined;
12385
12478
  postcodeOrZip?: string | null | undefined;
12386
12479
  }>]>>>;
12387
- createdAtLocation: z.ZodString;
12480
+ createdAtLocation: z.ZodOptional<z.ZodString>;
12481
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
12388
12482
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12389
12483
  originalActionId: z.ZodOptional<z.ZodString>;
12390
12484
  }, {
@@ -12434,7 +12528,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12434
12528
  filename: string;
12435
12529
  originalFilename: string;
12436
12530
  }[] | undefined>;
12437
- createdAtLocation: string;
12438
12531
  requestId: string;
12439
12532
  annotation?: Record<string, string | number | boolean | {
12440
12533
  type: string;
@@ -12474,6 +12567,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12474
12567
  filename: string;
12475
12568
  originalFilename: string;
12476
12569
  }[] | undefined> | undefined;
12570
+ createdAtLocation?: string | undefined;
12571
+ updatedAtLocation?: string | undefined;
12477
12572
  originalActionId?: string | undefined;
12478
12573
  }, {
12479
12574
  type: "REJECT_CORRECTION";
@@ -12519,7 +12614,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12519
12614
  filename: string;
12520
12615
  originalFilename: string;
12521
12616
  }[] | undefined>;
12522
- createdAtLocation: string;
12523
12617
  requestId: string;
12524
12618
  annotation?: Record<string, string | number | boolean | {
12525
12619
  type: string;
@@ -12559,6 +12653,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12559
12653
  filename: string;
12560
12654
  originalFilename: string;
12561
12655
  }[] | undefined> | undefined;
12656
+ createdAtLocation?: string | undefined;
12657
+ updatedAtLocation?: string | undefined;
12562
12658
  originalActionId?: string | undefined;
12563
12659
  }>, z.ZodObject<z.objectUtil.extendShape<{
12564
12660
  id: z.ZodString;
@@ -12792,11 +12888,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12792
12888
  addressLine3?: string | null | undefined;
12793
12889
  postcodeOrZip?: string | null | undefined;
12794
12890
  }>]>>>;
12795
- createdAtLocation: z.ZodString;
12891
+ createdAtLocation: z.ZodOptional<z.ZodString>;
12892
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
12796
12893
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12797
12894
  originalActionId: z.ZodOptional<z.ZodString>;
12798
12895
  }, {
12799
12896
  type: z.ZodLiteral<"UNASSIGN">;
12897
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
12800
12898
  }>, "strip", z.ZodTypeAny, {
12801
12899
  type: "UNASSIGN";
12802
12900
  id: string;
@@ -12841,7 +12939,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12841
12939
  filename: string;
12842
12940
  originalFilename: string;
12843
12941
  }[] | undefined>;
12844
- createdAtLocation: string;
12942
+ assignedTo: null;
12845
12943
  annotation?: Record<string, string | number | boolean | {
12846
12944
  type: string;
12847
12945
  filename: string;
@@ -12880,6 +12978,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12880
12978
  filename: string;
12881
12979
  originalFilename: string;
12882
12980
  }[] | undefined> | undefined;
12981
+ createdAtLocation?: string | undefined;
12982
+ updatedAtLocation?: string | undefined;
12883
12983
  originalActionId?: string | undefined;
12884
12984
  }, {
12885
12985
  type: "UNASSIGN";
@@ -12925,7 +13025,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12925
13025
  filename: string;
12926
13026
  originalFilename: string;
12927
13027
  }[] | undefined>;
12928
- createdAtLocation: string;
12929
13028
  annotation?: Record<string, string | number | boolean | {
12930
13029
  type: string;
12931
13030
  filename: string;
@@ -12964,7 +13063,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12964
13063
  filename: string;
12965
13064
  originalFilename: string;
12966
13065
  }[] | undefined> | undefined;
13066
+ createdAtLocation?: string | undefined;
13067
+ updatedAtLocation?: string | undefined;
12967
13068
  originalActionId?: string | undefined;
13069
+ assignedTo?: null | undefined;
12968
13070
  }>, z.ZodObject<z.objectUtil.extendShape<{
12969
13071
  id: z.ZodString;
12970
13072
  createdAt: z.ZodString;
@@ -13197,7 +13299,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13197
13299
  addressLine3?: string | null | undefined;
13198
13300
  postcodeOrZip?: string | null | undefined;
13199
13301
  }>]>>>;
13200
- createdAtLocation: z.ZodString;
13302
+ createdAtLocation: z.ZodOptional<z.ZodString>;
13303
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
13201
13304
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13202
13305
  originalActionId: z.ZodOptional<z.ZodString>;
13203
13306
  }, {
@@ -13246,7 +13349,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13246
13349
  filename: string;
13247
13350
  originalFilename: string;
13248
13351
  }[] | undefined>;
13249
- createdAtLocation: string;
13250
13352
  annotation?: Record<string, string | number | boolean | {
13251
13353
  type: string;
13252
13354
  filename: string;
@@ -13285,6 +13387,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13285
13387
  filename: string;
13286
13388
  originalFilename: string;
13287
13389
  }[] | undefined> | undefined;
13390
+ createdAtLocation?: string | undefined;
13391
+ updatedAtLocation?: string | undefined;
13288
13392
  originalActionId?: string | undefined;
13289
13393
  }, {
13290
13394
  type: "PRINT_CERTIFICATE";
@@ -13330,7 +13434,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13330
13434
  filename: string;
13331
13435
  originalFilename: string;
13332
13436
  }[] | undefined>;
13333
- createdAtLocation: string;
13334
13437
  annotation?: Record<string, string | number | boolean | {
13335
13438
  type: string;
13336
13439
  filename: string;
@@ -13369,6 +13472,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13369
13472
  filename: string;
13370
13473
  originalFilename: string;
13371
13474
  }[] | undefined> | undefined;
13475
+ createdAtLocation?: string | undefined;
13476
+ updatedAtLocation?: string | undefined;
13372
13477
  originalActionId?: string | undefined;
13373
13478
  }>, z.ZodObject<z.objectUtil.extendShape<{
13374
13479
  id: z.ZodString;
@@ -13602,7 +13707,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13602
13707
  addressLine3?: string | null | undefined;
13603
13708
  postcodeOrZip?: string | null | undefined;
13604
13709
  }>]>>>;
13605
- createdAtLocation: z.ZodString;
13710
+ createdAtLocation: z.ZodOptional<z.ZodString>;
13711
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
13606
13712
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13607
13713
  originalActionId: z.ZodOptional<z.ZodString>;
13608
13714
  }, {
@@ -13651,7 +13757,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13651
13757
  filename: string;
13652
13758
  originalFilename: string;
13653
13759
  }[] | undefined>;
13654
- createdAtLocation: string;
13655
13760
  annotation?: Record<string, string | number | boolean | {
13656
13761
  type: string;
13657
13762
  filename: string;
@@ -13690,6 +13795,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13690
13795
  filename: string;
13691
13796
  originalFilename: string;
13692
13797
  }[] | undefined> | undefined;
13798
+ createdAtLocation?: string | undefined;
13799
+ updatedAtLocation?: string | undefined;
13693
13800
  originalActionId?: string | undefined;
13694
13801
  }, {
13695
13802
  type: "READ";
@@ -13735,7 +13842,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13735
13842
  filename: string;
13736
13843
  originalFilename: string;
13737
13844
  }[] | undefined>;
13738
- createdAtLocation: string;
13739
13845
  annotation?: Record<string, string | number | boolean | {
13740
13846
  type: string;
13741
13847
  filename: string;
@@ -13774,6 +13880,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13774
13880
  filename: string;
13775
13881
  originalFilename: string;
13776
13882
  }[] | undefined> | undefined;
13883
+ createdAtLocation?: string | undefined;
13884
+ updatedAtLocation?: string | undefined;
13777
13885
  originalActionId?: string | undefined;
13778
13886
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
13779
13887
  id: z.ZodString;
@@ -14007,7 +14115,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14007
14115
  addressLine3?: string | null | undefined;
14008
14116
  postcodeOrZip?: string | null | undefined;
14009
14117
  }>]>>>;
14010
- createdAtLocation: z.ZodString;
14118
+ createdAtLocation: z.ZodOptional<z.ZodString>;
14119
+ updatedAtLocation: z.ZodOptional<z.ZodString>;
14011
14120
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14012
14121
  originalActionId: z.ZodOptional<z.ZodString>;
14013
14122
  }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
@@ -14018,12 +14127,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14018
14127
  id: string;
14019
14128
  status: "Rejected";
14020
14129
  createdAt: string;
14130
+ updatedAtLocation?: string | undefined;
14021
14131
  originalActionId?: string | undefined;
14022
14132
  }, {
14023
14133
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14024
14134
  id: string;
14025
14135
  status: "Rejected";
14026
14136
  createdAt: string;
14137
+ updatedAtLocation?: string | undefined;
14027
14138
  originalActionId?: string | undefined;
14028
14139
  }>]>;
14029
14140
  export type Action = ActionDocument | AsyncRejectActionDocument;