@opencrvs/toolkit 1.8.0-rc.f8a9481 → 1.8.0-rc.f8b1f33

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.
@@ -130,10 +130,8 @@ export declare const ActionStatus: {
130
130
  export type ActionStatus = keyof typeof ActionStatus;
131
131
  export declare const ActionBase: z.ZodObject<{
132
132
  id: z.ZodString;
133
- transactionId: z.ZodString;
134
133
  createdAt: z.ZodString;
135
134
  createdBy: z.ZodString;
136
- createdByRole: z.ZodString;
137
135
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
138
136
  filename: z.ZodString;
139
137
  originalFilename: z.ZodString;
@@ -368,10 +366,8 @@ export declare const ActionBase: z.ZodObject<{
368
366
  }, "strip", z.ZodTypeAny, {
369
367
  id: string;
370
368
  status: "Rejected" | "Requested" | "Accepted";
371
- transactionId: string;
372
369
  createdAt: string;
373
370
  createdBy: string;
374
- createdByRole: string;
375
371
  declaration: Record<string, string | number | boolean | {
376
372
  type: string;
377
373
  filename: string;
@@ -453,10 +449,8 @@ export declare const ActionBase: z.ZodObject<{
453
449
  }, {
454
450
  id: string;
455
451
  status: "Rejected" | "Requested" | "Accepted";
456
- transactionId: string;
457
452
  createdAt: string;
458
453
  createdBy: string;
459
- createdByRole: string;
460
454
  declaration: Record<string, string | number | boolean | {
461
455
  type: string;
462
456
  filename: string;
@@ -539,10 +533,8 @@ export declare const ActionBase: z.ZodObject<{
539
533
  export type ActionBase = z.infer<typeof ActionBase>;
540
534
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
541
535
  id: z.ZodString;
542
- transactionId: z.ZodString;
543
536
  createdAt: z.ZodString;
544
537
  createdBy: z.ZodString;
545
- createdByRole: z.ZodString;
546
538
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
547
539
  filename: z.ZodString;
548
540
  originalFilename: z.ZodString;
@@ -781,10 +773,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
781
773
  type: "REGISTER";
782
774
  id: string;
783
775
  status: "Rejected" | "Requested" | "Accepted";
784
- transactionId: string;
785
776
  createdAt: string;
786
777
  createdBy: string;
787
- createdByRole: string;
788
778
  declaration: Record<string, string | number | boolean | {
789
779
  type: string;
790
780
  filename: string;
@@ -868,10 +858,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
868
858
  type: "REGISTER";
869
859
  id: string;
870
860
  status: "Rejected" | "Requested" | "Accepted";
871
- transactionId: string;
872
861
  createdAt: string;
873
862
  createdBy: string;
874
- createdByRole: string;
875
863
  declaration: Record<string, string | number | boolean | {
876
864
  type: string;
877
865
  filename: string;
@@ -955,10 +943,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
955
943
  export type RegisterAction = z.infer<typeof RegisterAction>;
956
944
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
957
945
  id: z.ZodString;
958
- transactionId: z.ZodString;
959
946
  createdAt: z.ZodString;
960
947
  createdBy: z.ZodString;
961
- createdByRole: z.ZodString;
962
948
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
963
949
  filename: z.ZodString;
964
950
  originalFilename: z.ZodString;
@@ -1196,10 +1182,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1196
1182
  type: "CREATE";
1197
1183
  id: string;
1198
1184
  status: "Rejected" | "Requested" | "Accepted";
1199
- transactionId: string;
1200
1185
  createdAt: string;
1201
1186
  createdBy: string;
1202
- createdByRole: string;
1203
1187
  declaration: Record<string, string | number | boolean | {
1204
1188
  type: string;
1205
1189
  filename: string;
@@ -1282,10 +1266,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1282
1266
  type: "CREATE";
1283
1267
  id: string;
1284
1268
  status: "Rejected" | "Requested" | "Accepted";
1285
- transactionId: string;
1286
1269
  createdAt: string;
1287
1270
  createdBy: string;
1288
- createdByRole: string;
1289
1271
  declaration: Record<string, string | number | boolean | {
1290
1272
  type: string;
1291
1273
  filename: string;
@@ -1367,10 +1349,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1367
1349
  }>;
1368
1350
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1369
1351
  id: z.ZodString;
1370
- transactionId: z.ZodString;
1371
1352
  createdAt: z.ZodString;
1372
1353
  createdBy: z.ZodString;
1373
- createdByRole: z.ZodString;
1374
1354
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1375
1355
  filename: z.ZodString;
1376
1356
  originalFilename: z.ZodString;
@@ -1608,10 +1588,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1608
1588
  type: "CREATE";
1609
1589
  id: string;
1610
1590
  status: "Rejected" | "Requested" | "Accepted";
1611
- transactionId: string;
1612
1591
  createdAt: string;
1613
1592
  createdBy: string;
1614
- createdByRole: string;
1615
1593
  declaration: Record<string, string | number | boolean | {
1616
1594
  type: string;
1617
1595
  filename: string;
@@ -1694,10 +1672,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1694
1672
  type: "CREATE";
1695
1673
  id: string;
1696
1674
  status: "Rejected" | "Requested" | "Accepted";
1697
- transactionId: string;
1698
1675
  createdAt: string;
1699
1676
  createdBy: string;
1700
- createdByRole: string;
1701
1677
  declaration: Record<string, string | number | boolean | {
1702
1678
  type: string;
1703
1679
  filename: string;
@@ -1778,10 +1754,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1778
1754
  originalActionId?: string | undefined;
1779
1755
  }>, z.ZodObject<z.objectUtil.extendShape<{
1780
1756
  id: z.ZodString;
1781
- transactionId: z.ZodString;
1782
1757
  createdAt: z.ZodString;
1783
1758
  createdBy: z.ZodString;
1784
- createdByRole: z.ZodString;
1785
1759
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1786
1760
  filename: z.ZodString;
1787
1761
  originalFilename: z.ZodString;
@@ -2019,10 +1993,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2019
1993
  type: "VALIDATE";
2020
1994
  id: string;
2021
1995
  status: "Rejected" | "Requested" | "Accepted";
2022
- transactionId: string;
2023
1996
  createdAt: string;
2024
1997
  createdBy: string;
2025
- createdByRole: string;
2026
1998
  declaration: Record<string, string | number | boolean | {
2027
1999
  type: string;
2028
2000
  filename: string;
@@ -2105,10 +2077,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2105
2077
  type: "VALIDATE";
2106
2078
  id: string;
2107
2079
  status: "Rejected" | "Requested" | "Accepted";
2108
- transactionId: string;
2109
2080
  createdAt: string;
2110
2081
  createdBy: string;
2111
- createdByRole: string;
2112
2082
  declaration: Record<string, string | number | boolean | {
2113
2083
  type: string;
2114
2084
  filename: string;
@@ -2189,10 +2159,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2189
2159
  originalActionId?: string | undefined;
2190
2160
  }>, z.ZodObject<z.objectUtil.extendShape<{
2191
2161
  id: z.ZodString;
2192
- transactionId: z.ZodString;
2193
2162
  createdAt: z.ZodString;
2194
2163
  createdBy: z.ZodString;
2195
- createdByRole: z.ZodString;
2196
2164
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2197
2165
  filename: z.ZodString;
2198
2166
  originalFilename: z.ZodString;
@@ -2430,10 +2398,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2430
2398
  type: "REJECT";
2431
2399
  id: string;
2432
2400
  status: "Rejected" | "Requested" | "Accepted";
2433
- transactionId: string;
2434
2401
  createdAt: string;
2435
2402
  createdBy: string;
2436
- createdByRole: string;
2437
2403
  declaration: Record<string, string | number | boolean | {
2438
2404
  type: string;
2439
2405
  filename: string;
@@ -2516,10 +2482,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2516
2482
  type: "REJECT";
2517
2483
  id: string;
2518
2484
  status: "Rejected" | "Requested" | "Accepted";
2519
- transactionId: string;
2520
2485
  createdAt: string;
2521
2486
  createdBy: string;
2522
- createdByRole: string;
2523
2487
  declaration: Record<string, string | number | boolean | {
2524
2488
  type: string;
2525
2489
  filename: string;
@@ -2600,10 +2564,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2600
2564
  originalActionId?: string | undefined;
2601
2565
  }>, z.ZodObject<z.objectUtil.extendShape<{
2602
2566
  id: z.ZodString;
2603
- transactionId: z.ZodString;
2604
2567
  createdAt: z.ZodString;
2605
2568
  createdBy: z.ZodString;
2606
- createdByRole: z.ZodString;
2607
2569
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2608
2570
  filename: z.ZodString;
2609
2571
  originalFilename: z.ZodString;
@@ -2841,10 +2803,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2841
2803
  type: "MARKED_AS_DUPLICATE";
2842
2804
  id: string;
2843
2805
  status: "Rejected" | "Requested" | "Accepted";
2844
- transactionId: string;
2845
2806
  createdAt: string;
2846
2807
  createdBy: string;
2847
- createdByRole: string;
2848
2808
  declaration: Record<string, string | number | boolean | {
2849
2809
  type: string;
2850
2810
  filename: string;
@@ -2927,10 +2887,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2927
2887
  type: "MARKED_AS_DUPLICATE";
2928
2888
  id: string;
2929
2889
  status: "Rejected" | "Requested" | "Accepted";
2930
- transactionId: string;
2931
2890
  createdAt: string;
2932
2891
  createdBy: string;
2933
- createdByRole: string;
2934
2892
  declaration: Record<string, string | number | boolean | {
2935
2893
  type: string;
2936
2894
  filename: string;
@@ -3011,10 +2969,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3011
2969
  originalActionId?: string | undefined;
3012
2970
  }>, z.ZodObject<z.objectUtil.extendShape<{
3013
2971
  id: z.ZodString;
3014
- transactionId: z.ZodString;
3015
2972
  createdAt: z.ZodString;
3016
2973
  createdBy: z.ZodString;
3017
- createdByRole: z.ZodString;
3018
2974
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3019
2975
  filename: z.ZodString;
3020
2976
  originalFilename: z.ZodString;
@@ -3252,10 +3208,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3252
3208
  type: "ARCHIVE";
3253
3209
  id: string;
3254
3210
  status: "Rejected" | "Requested" | "Accepted";
3255
- transactionId: string;
3256
3211
  createdAt: string;
3257
3212
  createdBy: string;
3258
- createdByRole: string;
3259
3213
  declaration: Record<string, string | number | boolean | {
3260
3214
  type: string;
3261
3215
  filename: string;
@@ -3338,10 +3292,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3338
3292
  type: "ARCHIVE";
3339
3293
  id: string;
3340
3294
  status: "Rejected" | "Requested" | "Accepted";
3341
- transactionId: string;
3342
3295
  createdAt: string;
3343
3296
  createdBy: string;
3344
- createdByRole: string;
3345
3297
  declaration: Record<string, string | number | boolean | {
3346
3298
  type: string;
3347
3299
  filename: string;
@@ -3422,10 +3374,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3422
3374
  originalActionId?: string | undefined;
3423
3375
  }>, z.ZodObject<z.objectUtil.extendShape<{
3424
3376
  id: z.ZodString;
3425
- transactionId: z.ZodString;
3426
3377
  createdAt: z.ZodString;
3427
3378
  createdBy: z.ZodString;
3428
- createdByRole: z.ZodString;
3429
3379
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3430
3380
  filename: z.ZodString;
3431
3381
  originalFilename: z.ZodString;
@@ -3663,10 +3613,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3663
3613
  type: "NOTIFY";
3664
3614
  id: string;
3665
3615
  status: "Rejected" | "Requested" | "Accepted";
3666
- transactionId: string;
3667
3616
  createdAt: string;
3668
3617
  createdBy: string;
3669
- createdByRole: string;
3670
3618
  declaration: Record<string, string | number | boolean | {
3671
3619
  type: string;
3672
3620
  filename: string;
@@ -3749,10 +3697,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3749
3697
  type: "NOTIFY";
3750
3698
  id: string;
3751
3699
  status: "Rejected" | "Requested" | "Accepted";
3752
- transactionId: string;
3753
3700
  createdAt: string;
3754
3701
  createdBy: string;
3755
- createdByRole: string;
3756
3702
  declaration: Record<string, string | number | boolean | {
3757
3703
  type: string;
3758
3704
  filename: string;
@@ -3833,10 +3779,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3833
3779
  originalActionId?: string | undefined;
3834
3780
  }>, z.ZodObject<z.objectUtil.extendShape<{
3835
3781
  id: z.ZodString;
3836
- transactionId: z.ZodString;
3837
3782
  createdAt: z.ZodString;
3838
3783
  createdBy: z.ZodString;
3839
- createdByRole: z.ZodString;
3840
3784
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3841
3785
  filename: z.ZodString;
3842
3786
  originalFilename: z.ZodString;
@@ -4075,10 +4019,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4075
4019
  type: "REGISTER";
4076
4020
  id: string;
4077
4021
  status: "Rejected" | "Requested" | "Accepted";
4078
- transactionId: string;
4079
4022
  createdAt: string;
4080
4023
  createdBy: string;
4081
- createdByRole: string;
4082
4024
  declaration: Record<string, string | number | boolean | {
4083
4025
  type: string;
4084
4026
  filename: string;
@@ -4162,10 +4104,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4162
4104
  type: "REGISTER";
4163
4105
  id: string;
4164
4106
  status: "Rejected" | "Requested" | "Accepted";
4165
- transactionId: string;
4166
4107
  createdAt: string;
4167
4108
  createdBy: string;
4168
- createdByRole: string;
4169
4109
  declaration: Record<string, string | number | boolean | {
4170
4110
  type: string;
4171
4111
  filename: string;
@@ -4247,10 +4187,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4247
4187
  registrationNumber?: string | undefined;
4248
4188
  }>, z.ZodObject<z.objectUtil.extendShape<{
4249
4189
  id: z.ZodString;
4250
- transactionId: z.ZodString;
4251
4190
  createdAt: z.ZodString;
4252
4191
  createdBy: z.ZodString;
4253
- createdByRole: z.ZodString;
4254
4192
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4255
4193
  filename: z.ZodString;
4256
4194
  originalFilename: z.ZodString;
@@ -4488,10 +4426,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4488
4426
  type: "DECLARE";
4489
4427
  id: string;
4490
4428
  status: "Rejected" | "Requested" | "Accepted";
4491
- transactionId: string;
4492
4429
  createdAt: string;
4493
4430
  createdBy: string;
4494
- createdByRole: string;
4495
4431
  declaration: Record<string, string | number | boolean | {
4496
4432
  type: string;
4497
4433
  filename: string;
@@ -4574,10 +4510,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4574
4510
  type: "DECLARE";
4575
4511
  id: string;
4576
4512
  status: "Rejected" | "Requested" | "Accepted";
4577
- transactionId: string;
4578
4513
  createdAt: string;
4579
4514
  createdBy: string;
4580
- createdByRole: string;
4581
4515
  declaration: Record<string, string | number | boolean | {
4582
4516
  type: string;
4583
4517
  filename: string;
@@ -4658,10 +4592,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4658
4592
  originalActionId?: string | undefined;
4659
4593
  }>, z.ZodObject<z.objectUtil.extendShape<{
4660
4594
  id: z.ZodString;
4661
- transactionId: z.ZodString;
4662
4595
  createdAt: z.ZodString;
4663
4596
  createdBy: z.ZodString;
4664
- createdByRole: z.ZodString;
4665
4597
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4666
4598
  filename: z.ZodString;
4667
4599
  originalFilename: z.ZodString;
@@ -4900,10 +4832,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4900
4832
  type: "ASSIGN";
4901
4833
  id: string;
4902
4834
  status: "Rejected" | "Requested" | "Accepted";
4903
- transactionId: string;
4904
4835
  createdAt: string;
4905
4836
  createdBy: string;
4906
- createdByRole: string;
4907
4837
  declaration: Record<string, string | number | boolean | {
4908
4838
  type: string;
4909
4839
  filename: string;
@@ -4987,10 +4917,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4987
4917
  type: "ASSIGN";
4988
4918
  id: string;
4989
4919
  status: "Rejected" | "Requested" | "Accepted";
4990
- transactionId: string;
4991
4920
  createdAt: string;
4992
4921
  createdBy: string;
4993
- createdByRole: string;
4994
4922
  declaration: Record<string, string | number | boolean | {
4995
4923
  type: string;
4996
4924
  filename: string;
@@ -5072,10 +5000,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5072
5000
  originalActionId?: string | undefined;
5073
5001
  }>, z.ZodObject<z.objectUtil.extendShape<{
5074
5002
  id: z.ZodString;
5075
- transactionId: z.ZodString;
5076
5003
  createdAt: z.ZodString;
5077
5004
  createdBy: z.ZodString;
5078
- createdByRole: z.ZodString;
5079
5005
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5080
5006
  filename: z.ZodString;
5081
5007
  originalFilename: z.ZodString;
@@ -5313,10 +5239,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5313
5239
  type: "REQUEST_CORRECTION";
5314
5240
  id: string;
5315
5241
  status: "Rejected" | "Requested" | "Accepted";
5316
- transactionId: string;
5317
5242
  createdAt: string;
5318
5243
  createdBy: string;
5319
- createdByRole: string;
5320
5244
  declaration: Record<string, string | number | boolean | {
5321
5245
  type: string;
5322
5246
  filename: string;
@@ -5399,10 +5323,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5399
5323
  type: "REQUEST_CORRECTION";
5400
5324
  id: string;
5401
5325
  status: "Rejected" | "Requested" | "Accepted";
5402
- transactionId: string;
5403
5326
  createdAt: string;
5404
5327
  createdBy: string;
5405
- createdByRole: string;
5406
5328
  declaration: Record<string, string | number | boolean | {
5407
5329
  type: string;
5408
5330
  filename: string;
@@ -5483,10 +5405,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5483
5405
  originalActionId?: string | undefined;
5484
5406
  }>, z.ZodObject<z.objectUtil.extendShape<{
5485
5407
  id: z.ZodString;
5486
- transactionId: z.ZodString;
5487
5408
  createdAt: z.ZodString;
5488
5409
  createdBy: z.ZodString;
5489
- createdByRole: z.ZodString;
5490
5410
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5491
5411
  filename: z.ZodString;
5492
5412
  originalFilename: z.ZodString;
@@ -5725,10 +5645,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5725
5645
  type: "APPROVE_CORRECTION";
5726
5646
  id: string;
5727
5647
  status: "Rejected" | "Requested" | "Accepted";
5728
- transactionId: string;
5729
5648
  createdAt: string;
5730
5649
  createdBy: string;
5731
- createdByRole: string;
5732
5650
  declaration: Record<string, string | number | boolean | {
5733
5651
  type: string;
5734
5652
  filename: string;
@@ -5812,10 +5730,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5812
5730
  type: "APPROVE_CORRECTION";
5813
5731
  id: string;
5814
5732
  status: "Rejected" | "Requested" | "Accepted";
5815
- transactionId: string;
5816
5733
  createdAt: string;
5817
5734
  createdBy: string;
5818
- createdByRole: string;
5819
5735
  declaration: Record<string, string | number | boolean | {
5820
5736
  type: string;
5821
5737
  filename: string;
@@ -5897,10 +5813,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5897
5813
  originalActionId?: string | undefined;
5898
5814
  }>, z.ZodObject<z.objectUtil.extendShape<{
5899
5815
  id: z.ZodString;
5900
- transactionId: z.ZodString;
5901
5816
  createdAt: z.ZodString;
5902
5817
  createdBy: z.ZodString;
5903
- createdByRole: z.ZodString;
5904
5818
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5905
5819
  filename: z.ZodString;
5906
5820
  originalFilename: z.ZodString;
@@ -6139,10 +6053,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6139
6053
  type: "REJECT_CORRECTION";
6140
6054
  id: string;
6141
6055
  status: "Rejected" | "Requested" | "Accepted";
6142
- transactionId: string;
6143
6056
  createdAt: string;
6144
6057
  createdBy: string;
6145
- createdByRole: string;
6146
6058
  declaration: Record<string, string | number | boolean | {
6147
6059
  type: string;
6148
6060
  filename: string;
@@ -6226,10 +6138,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6226
6138
  type: "REJECT_CORRECTION";
6227
6139
  id: string;
6228
6140
  status: "Rejected" | "Requested" | "Accepted";
6229
- transactionId: string;
6230
6141
  createdAt: string;
6231
6142
  createdBy: string;
6232
- createdByRole: string;
6233
6143
  declaration: Record<string, string | number | boolean | {
6234
6144
  type: string;
6235
6145
  filename: string;
@@ -6311,10 +6221,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6311
6221
  originalActionId?: string | undefined;
6312
6222
  }>, z.ZodObject<z.objectUtil.extendShape<{
6313
6223
  id: z.ZodString;
6314
- transactionId: z.ZodString;
6315
6224
  createdAt: z.ZodString;
6316
6225
  createdBy: z.ZodString;
6317
- createdByRole: z.ZodString;
6318
6226
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6319
6227
  filename: z.ZodString;
6320
6228
  originalFilename: z.ZodString;
@@ -6548,15 +6456,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6548
6456
  originalActionId: z.ZodOptional<z.ZodString>;
6549
6457
  }, {
6550
6458
  type: z.ZodLiteral<"UNASSIGN">;
6551
- assignedTo: z.ZodLiteral<null>;
6459
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
6552
6460
  }>, "strip", z.ZodTypeAny, {
6553
6461
  type: "UNASSIGN";
6554
6462
  id: string;
6555
6463
  status: "Rejected" | "Requested" | "Accepted";
6556
- transactionId: string;
6557
6464
  createdAt: string;
6558
6465
  createdBy: string;
6559
- createdByRole: string;
6560
6466
  declaration: Record<string, string | number | boolean | {
6561
6467
  type: string;
6562
6468
  filename: string;
@@ -6640,10 +6546,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6640
6546
  type: "UNASSIGN";
6641
6547
  id: string;
6642
6548
  status: "Rejected" | "Requested" | "Accepted";
6643
- transactionId: string;
6644
6549
  createdAt: string;
6645
6550
  createdBy: string;
6646
- createdByRole: string;
6647
6551
  declaration: Record<string, string | number | boolean | {
6648
6552
  type: string;
6649
6553
  filename: string;
@@ -6683,7 +6587,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6683
6587
  originalFilename: string;
6684
6588
  }[] | undefined>;
6685
6589
  createdAtLocation: string;
6686
- assignedTo: null;
6687
6590
  annotation?: Record<string, string | number | boolean | {
6688
6591
  type: string;
6689
6592
  filename: string;
@@ -6723,12 +6626,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6723
6626
  originalFilename: string;
6724
6627
  }[] | undefined> | undefined;
6725
6628
  originalActionId?: string | undefined;
6629
+ assignedTo?: null | undefined;
6726
6630
  }>, z.ZodObject<z.objectUtil.extendShape<{
6727
6631
  id: z.ZodString;
6728
- transactionId: z.ZodString;
6729
6632
  createdAt: z.ZodString;
6730
6633
  createdBy: z.ZodString;
6731
- createdByRole: z.ZodString;
6732
6634
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6733
6635
  filename: z.ZodString;
6734
6636
  originalFilename: z.ZodString;
@@ -6966,10 +6868,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6966
6868
  type: "PRINT_CERTIFICATE";
6967
6869
  id: string;
6968
6870
  status: "Rejected" | "Requested" | "Accepted";
6969
- transactionId: string;
6970
6871
  createdAt: string;
6971
6872
  createdBy: string;
6972
- createdByRole: string;
6973
6873
  declaration: Record<string, string | number | boolean | {
6974
6874
  type: string;
6975
6875
  filename: string;
@@ -7052,10 +6952,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7052
6952
  type: "PRINT_CERTIFICATE";
7053
6953
  id: string;
7054
6954
  status: "Rejected" | "Requested" | "Accepted";
7055
- transactionId: string;
7056
6955
  createdAt: string;
7057
6956
  createdBy: string;
7058
- createdByRole: string;
7059
6957
  declaration: Record<string, string | number | boolean | {
7060
6958
  type: string;
7061
6959
  filename: string;
@@ -7136,10 +7034,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7136
7034
  originalActionId?: string | undefined;
7137
7035
  }>, z.ZodObject<z.objectUtil.extendShape<{
7138
7036
  id: z.ZodString;
7139
- transactionId: z.ZodString;
7140
7037
  createdAt: z.ZodString;
7141
7038
  createdBy: z.ZodString;
7142
- createdByRole: z.ZodString;
7143
7039
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7144
7040
  filename: z.ZodString;
7145
7041
  originalFilename: z.ZodString;
@@ -7377,10 +7273,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7377
7273
  type: "READ";
7378
7274
  id: string;
7379
7275
  status: "Rejected" | "Requested" | "Accepted";
7380
- transactionId: string;
7381
7276
  createdAt: string;
7382
7277
  createdBy: string;
7383
- createdByRole: string;
7384
7278
  declaration: Record<string, string | number | boolean | {
7385
7279
  type: string;
7386
7280
  filename: string;
@@ -7463,10 +7357,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7463
7357
  type: "READ";
7464
7358
  id: string;
7465
7359
  status: "Rejected" | "Requested" | "Accepted";
7466
- transactionId: string;
7467
7360
  createdAt: string;
7468
7361
  createdBy: string;
7469
- createdByRole: string;
7470
7362
  declaration: Record<string, string | number | boolean | {
7471
7363
  type: string;
7472
7364
  filename: string;
@@ -7549,10 +7441,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7549
7441
  export type ActionDocument = z.infer<typeof ActionDocument>;
7550
7442
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
7551
7443
  id: z.ZodString;
7552
- transactionId: z.ZodString;
7553
7444
  createdAt: z.ZodString;
7554
7445
  createdBy: z.ZodString;
7555
- createdByRole: z.ZodString;
7556
7446
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7557
7447
  filename: z.ZodString;
7558
7448
  originalFilename: z.ZodString;
@@ -7784,31 +7674,27 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7784
7674
  createdAtLocation: z.ZodString;
7785
7675
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7786
7676
  originalActionId: z.ZodOptional<z.ZodString>;
7787
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
7677
+ }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
7788
7678
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7789
7679
  status: z.ZodLiteral<"Rejected">;
7790
7680
  }>, "strip", z.ZodTypeAny, {
7791
7681
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7792
7682
  id: string;
7793
7683
  status: "Rejected";
7794
- transactionId: string;
7795
7684
  createdAt: string;
7796
7685
  originalActionId?: string | undefined;
7797
7686
  }, {
7798
7687
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7799
7688
  id: string;
7800
7689
  status: "Rejected";
7801
- transactionId: string;
7802
7690
  createdAt: string;
7803
7691
  originalActionId?: string | undefined;
7804
7692
  }>;
7805
7693
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
7806
7694
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7807
7695
  id: z.ZodString;
7808
- transactionId: z.ZodString;
7809
7696
  createdAt: z.ZodString;
7810
7697
  createdBy: z.ZodString;
7811
- createdByRole: z.ZodString;
7812
7698
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7813
7699
  filename: z.ZodString;
7814
7700
  originalFilename: z.ZodString;
@@ -8046,10 +7932,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8046
7932
  type: "CREATE";
8047
7933
  id: string;
8048
7934
  status: "Rejected" | "Requested" | "Accepted";
8049
- transactionId: string;
8050
7935
  createdAt: string;
8051
7936
  createdBy: string;
8052
- createdByRole: string;
8053
7937
  declaration: Record<string, string | number | boolean | {
8054
7938
  type: string;
8055
7939
  filename: string;
@@ -8132,10 +8016,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8132
8016
  type: "CREATE";
8133
8017
  id: string;
8134
8018
  status: "Rejected" | "Requested" | "Accepted";
8135
- transactionId: string;
8136
8019
  createdAt: string;
8137
8020
  createdBy: string;
8138
- createdByRole: string;
8139
8021
  declaration: Record<string, string | number | boolean | {
8140
8022
  type: string;
8141
8023
  filename: string;
@@ -8216,10 +8098,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8216
8098
  originalActionId?: string | undefined;
8217
8099
  }>, z.ZodObject<z.objectUtil.extendShape<{
8218
8100
  id: z.ZodString;
8219
- transactionId: z.ZodString;
8220
8101
  createdAt: z.ZodString;
8221
8102
  createdBy: z.ZodString;
8222
- createdByRole: z.ZodString;
8223
8103
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8224
8104
  filename: z.ZodString;
8225
8105
  originalFilename: z.ZodString;
@@ -8457,10 +8337,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8457
8337
  type: "VALIDATE";
8458
8338
  id: string;
8459
8339
  status: "Rejected" | "Requested" | "Accepted";
8460
- transactionId: string;
8461
8340
  createdAt: string;
8462
8341
  createdBy: string;
8463
- createdByRole: string;
8464
8342
  declaration: Record<string, string | number | boolean | {
8465
8343
  type: string;
8466
8344
  filename: string;
@@ -8543,10 +8421,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8543
8421
  type: "VALIDATE";
8544
8422
  id: string;
8545
8423
  status: "Rejected" | "Requested" | "Accepted";
8546
- transactionId: string;
8547
8424
  createdAt: string;
8548
8425
  createdBy: string;
8549
- createdByRole: string;
8550
8426
  declaration: Record<string, string | number | boolean | {
8551
8427
  type: string;
8552
8428
  filename: string;
@@ -8627,10 +8503,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8627
8503
  originalActionId?: string | undefined;
8628
8504
  }>, z.ZodObject<z.objectUtil.extendShape<{
8629
8505
  id: z.ZodString;
8630
- transactionId: z.ZodString;
8631
8506
  createdAt: z.ZodString;
8632
8507
  createdBy: z.ZodString;
8633
- createdByRole: z.ZodString;
8634
8508
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8635
8509
  filename: z.ZodString;
8636
8510
  originalFilename: z.ZodString;
@@ -8868,10 +8742,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8868
8742
  type: "REJECT";
8869
8743
  id: string;
8870
8744
  status: "Rejected" | "Requested" | "Accepted";
8871
- transactionId: string;
8872
8745
  createdAt: string;
8873
8746
  createdBy: string;
8874
- createdByRole: string;
8875
8747
  declaration: Record<string, string | number | boolean | {
8876
8748
  type: string;
8877
8749
  filename: string;
@@ -8954,10 +8826,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8954
8826
  type: "REJECT";
8955
8827
  id: string;
8956
8828
  status: "Rejected" | "Requested" | "Accepted";
8957
- transactionId: string;
8958
8829
  createdAt: string;
8959
8830
  createdBy: string;
8960
- createdByRole: string;
8961
8831
  declaration: Record<string, string | number | boolean | {
8962
8832
  type: string;
8963
8833
  filename: string;
@@ -9038,10 +8908,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9038
8908
  originalActionId?: string | undefined;
9039
8909
  }>, z.ZodObject<z.objectUtil.extendShape<{
9040
8910
  id: z.ZodString;
9041
- transactionId: z.ZodString;
9042
8911
  createdAt: z.ZodString;
9043
8912
  createdBy: z.ZodString;
9044
- createdByRole: z.ZodString;
9045
8913
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9046
8914
  filename: z.ZodString;
9047
8915
  originalFilename: z.ZodString;
@@ -9279,10 +9147,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9279
9147
  type: "MARKED_AS_DUPLICATE";
9280
9148
  id: string;
9281
9149
  status: "Rejected" | "Requested" | "Accepted";
9282
- transactionId: string;
9283
9150
  createdAt: string;
9284
9151
  createdBy: string;
9285
- createdByRole: string;
9286
9152
  declaration: Record<string, string | number | boolean | {
9287
9153
  type: string;
9288
9154
  filename: string;
@@ -9365,10 +9231,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9365
9231
  type: "MARKED_AS_DUPLICATE";
9366
9232
  id: string;
9367
9233
  status: "Rejected" | "Requested" | "Accepted";
9368
- transactionId: string;
9369
9234
  createdAt: string;
9370
9235
  createdBy: string;
9371
- createdByRole: string;
9372
9236
  declaration: Record<string, string | number | boolean | {
9373
9237
  type: string;
9374
9238
  filename: string;
@@ -9449,10 +9313,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9449
9313
  originalActionId?: string | undefined;
9450
9314
  }>, z.ZodObject<z.objectUtil.extendShape<{
9451
9315
  id: z.ZodString;
9452
- transactionId: z.ZodString;
9453
9316
  createdAt: z.ZodString;
9454
9317
  createdBy: z.ZodString;
9455
- createdByRole: z.ZodString;
9456
9318
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9457
9319
  filename: z.ZodString;
9458
9320
  originalFilename: z.ZodString;
@@ -9690,10 +9552,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9690
9552
  type: "ARCHIVE";
9691
9553
  id: string;
9692
9554
  status: "Rejected" | "Requested" | "Accepted";
9693
- transactionId: string;
9694
9555
  createdAt: string;
9695
9556
  createdBy: string;
9696
- createdByRole: string;
9697
9557
  declaration: Record<string, string | number | boolean | {
9698
9558
  type: string;
9699
9559
  filename: string;
@@ -9776,10 +9636,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9776
9636
  type: "ARCHIVE";
9777
9637
  id: string;
9778
9638
  status: "Rejected" | "Requested" | "Accepted";
9779
- transactionId: string;
9780
9639
  createdAt: string;
9781
9640
  createdBy: string;
9782
- createdByRole: string;
9783
9641
  declaration: Record<string, string | number | boolean | {
9784
9642
  type: string;
9785
9643
  filename: string;
@@ -9860,10 +9718,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9860
9718
  originalActionId?: string | undefined;
9861
9719
  }>, z.ZodObject<z.objectUtil.extendShape<{
9862
9720
  id: z.ZodString;
9863
- transactionId: z.ZodString;
9864
9721
  createdAt: z.ZodString;
9865
9722
  createdBy: z.ZodString;
9866
- createdByRole: z.ZodString;
9867
9723
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9868
9724
  filename: z.ZodString;
9869
9725
  originalFilename: z.ZodString;
@@ -10101,10 +9957,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10101
9957
  type: "NOTIFY";
10102
9958
  id: string;
10103
9959
  status: "Rejected" | "Requested" | "Accepted";
10104
- transactionId: string;
10105
9960
  createdAt: string;
10106
9961
  createdBy: string;
10107
- createdByRole: string;
10108
9962
  declaration: Record<string, string | number | boolean | {
10109
9963
  type: string;
10110
9964
  filename: string;
@@ -10187,10 +10041,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10187
10041
  type: "NOTIFY";
10188
10042
  id: string;
10189
10043
  status: "Rejected" | "Requested" | "Accepted";
10190
- transactionId: string;
10191
10044
  createdAt: string;
10192
10045
  createdBy: string;
10193
- createdByRole: string;
10194
10046
  declaration: Record<string, string | number | boolean | {
10195
10047
  type: string;
10196
10048
  filename: string;
@@ -10271,10 +10123,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10271
10123
  originalActionId?: string | undefined;
10272
10124
  }>, z.ZodObject<z.objectUtil.extendShape<{
10273
10125
  id: z.ZodString;
10274
- transactionId: z.ZodString;
10275
10126
  createdAt: z.ZodString;
10276
10127
  createdBy: z.ZodString;
10277
- createdByRole: z.ZodString;
10278
10128
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10279
10129
  filename: z.ZodString;
10280
10130
  originalFilename: z.ZodString;
@@ -10513,10 +10363,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10513
10363
  type: "REGISTER";
10514
10364
  id: string;
10515
10365
  status: "Rejected" | "Requested" | "Accepted";
10516
- transactionId: string;
10517
10366
  createdAt: string;
10518
10367
  createdBy: string;
10519
- createdByRole: string;
10520
10368
  declaration: Record<string, string | number | boolean | {
10521
10369
  type: string;
10522
10370
  filename: string;
@@ -10600,10 +10448,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10600
10448
  type: "REGISTER";
10601
10449
  id: string;
10602
10450
  status: "Rejected" | "Requested" | "Accepted";
10603
- transactionId: string;
10604
10451
  createdAt: string;
10605
10452
  createdBy: string;
10606
- createdByRole: string;
10607
10453
  declaration: Record<string, string | number | boolean | {
10608
10454
  type: string;
10609
10455
  filename: string;
@@ -10685,10 +10531,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10685
10531
  registrationNumber?: string | undefined;
10686
10532
  }>, z.ZodObject<z.objectUtil.extendShape<{
10687
10533
  id: z.ZodString;
10688
- transactionId: z.ZodString;
10689
10534
  createdAt: z.ZodString;
10690
10535
  createdBy: z.ZodString;
10691
- createdByRole: z.ZodString;
10692
10536
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10693
10537
  filename: z.ZodString;
10694
10538
  originalFilename: z.ZodString;
@@ -10926,10 +10770,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10926
10770
  type: "DECLARE";
10927
10771
  id: string;
10928
10772
  status: "Rejected" | "Requested" | "Accepted";
10929
- transactionId: string;
10930
10773
  createdAt: string;
10931
10774
  createdBy: string;
10932
- createdByRole: string;
10933
10775
  declaration: Record<string, string | number | boolean | {
10934
10776
  type: string;
10935
10777
  filename: string;
@@ -11012,10 +10854,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11012
10854
  type: "DECLARE";
11013
10855
  id: string;
11014
10856
  status: "Rejected" | "Requested" | "Accepted";
11015
- transactionId: string;
11016
10857
  createdAt: string;
11017
10858
  createdBy: string;
11018
- createdByRole: string;
11019
10859
  declaration: Record<string, string | number | boolean | {
11020
10860
  type: string;
11021
10861
  filename: string;
@@ -11096,10 +10936,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11096
10936
  originalActionId?: string | undefined;
11097
10937
  }>, z.ZodObject<z.objectUtil.extendShape<{
11098
10938
  id: z.ZodString;
11099
- transactionId: z.ZodString;
11100
10939
  createdAt: z.ZodString;
11101
10940
  createdBy: z.ZodString;
11102
- createdByRole: z.ZodString;
11103
10941
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11104
10942
  filename: z.ZodString;
11105
10943
  originalFilename: z.ZodString;
@@ -11338,10 +11176,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11338
11176
  type: "ASSIGN";
11339
11177
  id: string;
11340
11178
  status: "Rejected" | "Requested" | "Accepted";
11341
- transactionId: string;
11342
11179
  createdAt: string;
11343
11180
  createdBy: string;
11344
- createdByRole: string;
11345
11181
  declaration: Record<string, string | number | boolean | {
11346
11182
  type: string;
11347
11183
  filename: string;
@@ -11425,10 +11261,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11425
11261
  type: "ASSIGN";
11426
11262
  id: string;
11427
11263
  status: "Rejected" | "Requested" | "Accepted";
11428
- transactionId: string;
11429
11264
  createdAt: string;
11430
11265
  createdBy: string;
11431
- createdByRole: string;
11432
11266
  declaration: Record<string, string | number | boolean | {
11433
11267
  type: string;
11434
11268
  filename: string;
@@ -11510,10 +11344,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11510
11344
  originalActionId?: string | undefined;
11511
11345
  }>, z.ZodObject<z.objectUtil.extendShape<{
11512
11346
  id: z.ZodString;
11513
- transactionId: z.ZodString;
11514
11347
  createdAt: z.ZodString;
11515
11348
  createdBy: z.ZodString;
11516
- createdByRole: z.ZodString;
11517
11349
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11518
11350
  filename: z.ZodString;
11519
11351
  originalFilename: z.ZodString;
@@ -11751,10 +11583,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11751
11583
  type: "REQUEST_CORRECTION";
11752
11584
  id: string;
11753
11585
  status: "Rejected" | "Requested" | "Accepted";
11754
- transactionId: string;
11755
11586
  createdAt: string;
11756
11587
  createdBy: string;
11757
- createdByRole: string;
11758
11588
  declaration: Record<string, string | number | boolean | {
11759
11589
  type: string;
11760
11590
  filename: string;
@@ -11837,10 +11667,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11837
11667
  type: "REQUEST_CORRECTION";
11838
11668
  id: string;
11839
11669
  status: "Rejected" | "Requested" | "Accepted";
11840
- transactionId: string;
11841
11670
  createdAt: string;
11842
11671
  createdBy: string;
11843
- createdByRole: string;
11844
11672
  declaration: Record<string, string | number | boolean | {
11845
11673
  type: string;
11846
11674
  filename: string;
@@ -11921,10 +11749,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11921
11749
  originalActionId?: string | undefined;
11922
11750
  }>, z.ZodObject<z.objectUtil.extendShape<{
11923
11751
  id: z.ZodString;
11924
- transactionId: z.ZodString;
11925
11752
  createdAt: z.ZodString;
11926
11753
  createdBy: z.ZodString;
11927
- createdByRole: z.ZodString;
11928
11754
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11929
11755
  filename: z.ZodString;
11930
11756
  originalFilename: z.ZodString;
@@ -12163,10 +11989,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12163
11989
  type: "APPROVE_CORRECTION";
12164
11990
  id: string;
12165
11991
  status: "Rejected" | "Requested" | "Accepted";
12166
- transactionId: string;
12167
11992
  createdAt: string;
12168
11993
  createdBy: string;
12169
- createdByRole: string;
12170
11994
  declaration: Record<string, string | number | boolean | {
12171
11995
  type: string;
12172
11996
  filename: string;
@@ -12250,10 +12074,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12250
12074
  type: "APPROVE_CORRECTION";
12251
12075
  id: string;
12252
12076
  status: "Rejected" | "Requested" | "Accepted";
12253
- transactionId: string;
12254
12077
  createdAt: string;
12255
12078
  createdBy: string;
12256
- createdByRole: string;
12257
12079
  declaration: Record<string, string | number | boolean | {
12258
12080
  type: string;
12259
12081
  filename: string;
@@ -12335,10 +12157,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12335
12157
  originalActionId?: string | undefined;
12336
12158
  }>, z.ZodObject<z.objectUtil.extendShape<{
12337
12159
  id: z.ZodString;
12338
- transactionId: z.ZodString;
12339
12160
  createdAt: z.ZodString;
12340
12161
  createdBy: z.ZodString;
12341
- createdByRole: z.ZodString;
12342
12162
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12343
12163
  filename: z.ZodString;
12344
12164
  originalFilename: z.ZodString;
@@ -12577,10 +12397,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12577
12397
  type: "REJECT_CORRECTION";
12578
12398
  id: string;
12579
12399
  status: "Rejected" | "Requested" | "Accepted";
12580
- transactionId: string;
12581
12400
  createdAt: string;
12582
12401
  createdBy: string;
12583
- createdByRole: string;
12584
12402
  declaration: Record<string, string | number | boolean | {
12585
12403
  type: string;
12586
12404
  filename: string;
@@ -12664,10 +12482,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12664
12482
  type: "REJECT_CORRECTION";
12665
12483
  id: string;
12666
12484
  status: "Rejected" | "Requested" | "Accepted";
12667
- transactionId: string;
12668
12485
  createdAt: string;
12669
12486
  createdBy: string;
12670
- createdByRole: string;
12671
12487
  declaration: Record<string, string | number | boolean | {
12672
12488
  type: string;
12673
12489
  filename: string;
@@ -12749,10 +12565,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12749
12565
  originalActionId?: string | undefined;
12750
12566
  }>, z.ZodObject<z.objectUtil.extendShape<{
12751
12567
  id: z.ZodString;
12752
- transactionId: z.ZodString;
12753
12568
  createdAt: z.ZodString;
12754
12569
  createdBy: z.ZodString;
12755
- createdByRole: z.ZodString;
12756
12570
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12757
12571
  filename: z.ZodString;
12758
12572
  originalFilename: z.ZodString;
@@ -12986,15 +12800,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12986
12800
  originalActionId: z.ZodOptional<z.ZodString>;
12987
12801
  }, {
12988
12802
  type: z.ZodLiteral<"UNASSIGN">;
12989
- assignedTo: z.ZodLiteral<null>;
12803
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
12990
12804
  }>, "strip", z.ZodTypeAny, {
12991
12805
  type: "UNASSIGN";
12992
12806
  id: string;
12993
12807
  status: "Rejected" | "Requested" | "Accepted";
12994
- transactionId: string;
12995
12808
  createdAt: string;
12996
12809
  createdBy: string;
12997
- createdByRole: string;
12998
12810
  declaration: Record<string, string | number | boolean | {
12999
12811
  type: string;
13000
12812
  filename: string;
@@ -13078,10 +12890,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13078
12890
  type: "UNASSIGN";
13079
12891
  id: string;
13080
12892
  status: "Rejected" | "Requested" | "Accepted";
13081
- transactionId: string;
13082
12893
  createdAt: string;
13083
12894
  createdBy: string;
13084
- createdByRole: string;
13085
12895
  declaration: Record<string, string | number | boolean | {
13086
12896
  type: string;
13087
12897
  filename: string;
@@ -13121,7 +12931,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13121
12931
  originalFilename: string;
13122
12932
  }[] | undefined>;
13123
12933
  createdAtLocation: string;
13124
- assignedTo: null;
13125
12934
  annotation?: Record<string, string | number | boolean | {
13126
12935
  type: string;
13127
12936
  filename: string;
@@ -13161,12 +12970,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13161
12970
  originalFilename: string;
13162
12971
  }[] | undefined> | undefined;
13163
12972
  originalActionId?: string | undefined;
12973
+ assignedTo?: null | undefined;
13164
12974
  }>, z.ZodObject<z.objectUtil.extendShape<{
13165
12975
  id: z.ZodString;
13166
- transactionId: z.ZodString;
13167
12976
  createdAt: z.ZodString;
13168
12977
  createdBy: z.ZodString;
13169
- createdByRole: z.ZodString;
13170
12978
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13171
12979
  filename: z.ZodString;
13172
12980
  originalFilename: z.ZodString;
@@ -13404,10 +13212,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13404
13212
  type: "PRINT_CERTIFICATE";
13405
13213
  id: string;
13406
13214
  status: "Rejected" | "Requested" | "Accepted";
13407
- transactionId: string;
13408
13215
  createdAt: string;
13409
13216
  createdBy: string;
13410
- createdByRole: string;
13411
13217
  declaration: Record<string, string | number | boolean | {
13412
13218
  type: string;
13413
13219
  filename: string;
@@ -13490,10 +13296,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13490
13296
  type: "PRINT_CERTIFICATE";
13491
13297
  id: string;
13492
13298
  status: "Rejected" | "Requested" | "Accepted";
13493
- transactionId: string;
13494
13299
  createdAt: string;
13495
13300
  createdBy: string;
13496
- createdByRole: string;
13497
13301
  declaration: Record<string, string | number | boolean | {
13498
13302
  type: string;
13499
13303
  filename: string;
@@ -13574,10 +13378,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13574
13378
  originalActionId?: string | undefined;
13575
13379
  }>, z.ZodObject<z.objectUtil.extendShape<{
13576
13380
  id: z.ZodString;
13577
- transactionId: z.ZodString;
13578
13381
  createdAt: z.ZodString;
13579
13382
  createdBy: z.ZodString;
13580
- createdByRole: z.ZodString;
13581
13383
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13582
13384
  filename: z.ZodString;
13583
13385
  originalFilename: z.ZodString;
@@ -13815,10 +13617,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13815
13617
  type: "READ";
13816
13618
  id: string;
13817
13619
  status: "Rejected" | "Requested" | "Accepted";
13818
- transactionId: string;
13819
13620
  createdAt: string;
13820
13621
  createdBy: string;
13821
- createdByRole: string;
13822
13622
  declaration: Record<string, string | number | boolean | {
13823
13623
  type: string;
13824
13624
  filename: string;
@@ -13901,10 +13701,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13901
13701
  type: "READ";
13902
13702
  id: string;
13903
13703
  status: "Rejected" | "Requested" | "Accepted";
13904
- transactionId: string;
13905
13704
  createdAt: string;
13906
13705
  createdBy: string;
13907
- createdByRole: string;
13908
13706
  declaration: Record<string, string | number | boolean | {
13909
13707
  type: string;
13910
13708
  filename: string;
@@ -13985,10 +13783,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13985
13783
  originalActionId?: string | undefined;
13986
13784
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
13987
13785
  id: z.ZodString;
13988
- transactionId: z.ZodString;
13989
13786
  createdAt: z.ZodString;
13990
13787
  createdBy: z.ZodString;
13991
- createdByRole: z.ZodString;
13992
13788
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13993
13789
  filename: z.ZodString;
13994
13790
  originalFilename: z.ZodString;
@@ -14220,21 +14016,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14220
14016
  createdAtLocation: z.ZodString;
14221
14017
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14222
14018
  originalActionId: z.ZodOptional<z.ZodString>;
14223
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
14019
+ }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
14224
14020
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
14225
14021
  status: z.ZodLiteral<"Rejected">;
14226
14022
  }>, "strip", z.ZodTypeAny, {
14227
14023
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14228
14024
  id: string;
14229
14025
  status: "Rejected";
14230
- transactionId: string;
14231
14026
  createdAt: string;
14232
14027
  originalActionId?: string | undefined;
14233
14028
  }, {
14234
14029
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14235
14030
  id: string;
14236
14031
  status: "Rejected";
14237
- transactionId: string;
14238
14032
  createdAt: string;
14239
14033
  originalActionId?: string | undefined;
14240
14034
  }>]>;