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

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