@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.
@@ -7,8 +7,10 @@ export declare const EventDocument: z.ZodObject<{
7
7
  updatedAtLocation: z.ZodString;
8
8
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
9
9
  id: z.ZodString;
10
+ transactionId: z.ZodString;
10
11
  createdAt: z.ZodString;
11
12
  createdBy: z.ZodString;
13
+ createdByRole: z.ZodString;
12
14
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13
15
  filename: z.ZodString;
14
16
  originalFilename: z.ZodString;
@@ -246,8 +248,10 @@ export declare const EventDocument: z.ZodObject<{
246
248
  type: "CREATE";
247
249
  id: string;
248
250
  status: "Rejected" | "Requested" | "Accepted";
251
+ transactionId: string;
249
252
  createdAt: string;
250
253
  createdBy: string;
254
+ createdByRole: string;
251
255
  declaration: Record<string, string | number | boolean | {
252
256
  type: string;
253
257
  filename: string;
@@ -330,8 +334,10 @@ export declare const EventDocument: z.ZodObject<{
330
334
  type: "CREATE";
331
335
  id: string;
332
336
  status: "Rejected" | "Requested" | "Accepted";
337
+ transactionId: string;
333
338
  createdAt: string;
334
339
  createdBy: string;
340
+ createdByRole: string;
335
341
  declaration: Record<string, string | number | boolean | {
336
342
  type: string;
337
343
  filename: string;
@@ -412,8 +418,10 @@ export declare const EventDocument: z.ZodObject<{
412
418
  originalActionId?: string | undefined;
413
419
  }>, z.ZodObject<z.objectUtil.extendShape<{
414
420
  id: z.ZodString;
421
+ transactionId: z.ZodString;
415
422
  createdAt: z.ZodString;
416
423
  createdBy: z.ZodString;
424
+ createdByRole: z.ZodString;
417
425
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
418
426
  filename: z.ZodString;
419
427
  originalFilename: z.ZodString;
@@ -651,8 +659,10 @@ export declare const EventDocument: z.ZodObject<{
651
659
  type: "VALIDATE";
652
660
  id: string;
653
661
  status: "Rejected" | "Requested" | "Accepted";
662
+ transactionId: string;
654
663
  createdAt: string;
655
664
  createdBy: string;
665
+ createdByRole: string;
656
666
  declaration: Record<string, string | number | boolean | {
657
667
  type: string;
658
668
  filename: string;
@@ -735,8 +745,10 @@ export declare const EventDocument: z.ZodObject<{
735
745
  type: "VALIDATE";
736
746
  id: string;
737
747
  status: "Rejected" | "Requested" | "Accepted";
748
+ transactionId: string;
738
749
  createdAt: string;
739
750
  createdBy: string;
751
+ createdByRole: string;
740
752
  declaration: Record<string, string | number | boolean | {
741
753
  type: string;
742
754
  filename: string;
@@ -817,8 +829,10 @@ export declare const EventDocument: z.ZodObject<{
817
829
  originalActionId?: string | undefined;
818
830
  }>, z.ZodObject<z.objectUtil.extendShape<{
819
831
  id: z.ZodString;
832
+ transactionId: z.ZodString;
820
833
  createdAt: z.ZodString;
821
834
  createdBy: z.ZodString;
835
+ createdByRole: z.ZodString;
822
836
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
823
837
  filename: z.ZodString;
824
838
  originalFilename: z.ZodString;
@@ -1056,8 +1070,10 @@ export declare const EventDocument: z.ZodObject<{
1056
1070
  type: "REJECT";
1057
1071
  id: string;
1058
1072
  status: "Rejected" | "Requested" | "Accepted";
1073
+ transactionId: string;
1059
1074
  createdAt: string;
1060
1075
  createdBy: string;
1076
+ createdByRole: string;
1061
1077
  declaration: Record<string, string | number | boolean | {
1062
1078
  type: string;
1063
1079
  filename: string;
@@ -1140,8 +1156,10 @@ export declare const EventDocument: z.ZodObject<{
1140
1156
  type: "REJECT";
1141
1157
  id: string;
1142
1158
  status: "Rejected" | "Requested" | "Accepted";
1159
+ transactionId: string;
1143
1160
  createdAt: string;
1144
1161
  createdBy: string;
1162
+ createdByRole: string;
1145
1163
  declaration: Record<string, string | number | boolean | {
1146
1164
  type: string;
1147
1165
  filename: string;
@@ -1222,8 +1240,10 @@ export declare const EventDocument: z.ZodObject<{
1222
1240
  originalActionId?: string | undefined;
1223
1241
  }>, z.ZodObject<z.objectUtil.extendShape<{
1224
1242
  id: z.ZodString;
1243
+ transactionId: z.ZodString;
1225
1244
  createdAt: z.ZodString;
1226
1245
  createdBy: z.ZodString;
1246
+ createdByRole: z.ZodString;
1227
1247
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1228
1248
  filename: z.ZodString;
1229
1249
  originalFilename: z.ZodString;
@@ -1461,8 +1481,10 @@ export declare const EventDocument: z.ZodObject<{
1461
1481
  type: "MARKED_AS_DUPLICATE";
1462
1482
  id: string;
1463
1483
  status: "Rejected" | "Requested" | "Accepted";
1484
+ transactionId: string;
1464
1485
  createdAt: string;
1465
1486
  createdBy: string;
1487
+ createdByRole: string;
1466
1488
  declaration: Record<string, string | number | boolean | {
1467
1489
  type: string;
1468
1490
  filename: string;
@@ -1545,8 +1567,10 @@ export declare const EventDocument: z.ZodObject<{
1545
1567
  type: "MARKED_AS_DUPLICATE";
1546
1568
  id: string;
1547
1569
  status: "Rejected" | "Requested" | "Accepted";
1570
+ transactionId: string;
1548
1571
  createdAt: string;
1549
1572
  createdBy: string;
1573
+ createdByRole: string;
1550
1574
  declaration: Record<string, string | number | boolean | {
1551
1575
  type: string;
1552
1576
  filename: string;
@@ -1627,8 +1651,10 @@ export declare const EventDocument: z.ZodObject<{
1627
1651
  originalActionId?: string | undefined;
1628
1652
  }>, z.ZodObject<z.objectUtil.extendShape<{
1629
1653
  id: z.ZodString;
1654
+ transactionId: z.ZodString;
1630
1655
  createdAt: z.ZodString;
1631
1656
  createdBy: z.ZodString;
1657
+ createdByRole: z.ZodString;
1632
1658
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1633
1659
  filename: z.ZodString;
1634
1660
  originalFilename: z.ZodString;
@@ -1866,8 +1892,10 @@ export declare const EventDocument: z.ZodObject<{
1866
1892
  type: "ARCHIVE";
1867
1893
  id: string;
1868
1894
  status: "Rejected" | "Requested" | "Accepted";
1895
+ transactionId: string;
1869
1896
  createdAt: string;
1870
1897
  createdBy: string;
1898
+ createdByRole: string;
1871
1899
  declaration: Record<string, string | number | boolean | {
1872
1900
  type: string;
1873
1901
  filename: string;
@@ -1950,8 +1978,10 @@ export declare const EventDocument: z.ZodObject<{
1950
1978
  type: "ARCHIVE";
1951
1979
  id: string;
1952
1980
  status: "Rejected" | "Requested" | "Accepted";
1981
+ transactionId: string;
1953
1982
  createdAt: string;
1954
1983
  createdBy: string;
1984
+ createdByRole: string;
1955
1985
  declaration: Record<string, string | number | boolean | {
1956
1986
  type: string;
1957
1987
  filename: string;
@@ -2032,8 +2062,10 @@ export declare const EventDocument: z.ZodObject<{
2032
2062
  originalActionId?: string | undefined;
2033
2063
  }>, z.ZodObject<z.objectUtil.extendShape<{
2034
2064
  id: z.ZodString;
2065
+ transactionId: z.ZodString;
2035
2066
  createdAt: z.ZodString;
2036
2067
  createdBy: z.ZodString;
2068
+ createdByRole: z.ZodString;
2037
2069
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2038
2070
  filename: z.ZodString;
2039
2071
  originalFilename: z.ZodString;
@@ -2271,8 +2303,10 @@ export declare const EventDocument: z.ZodObject<{
2271
2303
  type: "NOTIFY";
2272
2304
  id: string;
2273
2305
  status: "Rejected" | "Requested" | "Accepted";
2306
+ transactionId: string;
2274
2307
  createdAt: string;
2275
2308
  createdBy: string;
2309
+ createdByRole: string;
2276
2310
  declaration: Record<string, string | number | boolean | {
2277
2311
  type: string;
2278
2312
  filename: string;
@@ -2355,8 +2389,10 @@ export declare const EventDocument: z.ZodObject<{
2355
2389
  type: "NOTIFY";
2356
2390
  id: string;
2357
2391
  status: "Rejected" | "Requested" | "Accepted";
2392
+ transactionId: string;
2358
2393
  createdAt: string;
2359
2394
  createdBy: string;
2395
+ createdByRole: string;
2360
2396
  declaration: Record<string, string | number | boolean | {
2361
2397
  type: string;
2362
2398
  filename: string;
@@ -2437,8 +2473,10 @@ export declare const EventDocument: z.ZodObject<{
2437
2473
  originalActionId?: string | undefined;
2438
2474
  }>, z.ZodObject<z.objectUtil.extendShape<{
2439
2475
  id: z.ZodString;
2476
+ transactionId: z.ZodString;
2440
2477
  createdAt: z.ZodString;
2441
2478
  createdBy: z.ZodString;
2479
+ createdByRole: z.ZodString;
2442
2480
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2443
2481
  filename: z.ZodString;
2444
2482
  originalFilename: z.ZodString;
@@ -2677,8 +2715,10 @@ export declare const EventDocument: z.ZodObject<{
2677
2715
  type: "REGISTER";
2678
2716
  id: string;
2679
2717
  status: "Rejected" | "Requested" | "Accepted";
2718
+ transactionId: string;
2680
2719
  createdAt: string;
2681
2720
  createdBy: string;
2721
+ createdByRole: string;
2682
2722
  declaration: Record<string, string | number | boolean | {
2683
2723
  type: string;
2684
2724
  filename: string;
@@ -2762,8 +2802,10 @@ export declare const EventDocument: z.ZodObject<{
2762
2802
  type: "REGISTER";
2763
2803
  id: string;
2764
2804
  status: "Rejected" | "Requested" | "Accepted";
2805
+ transactionId: string;
2765
2806
  createdAt: string;
2766
2807
  createdBy: string;
2808
+ createdByRole: string;
2767
2809
  declaration: Record<string, string | number | boolean | {
2768
2810
  type: string;
2769
2811
  filename: string;
@@ -2845,8 +2887,10 @@ export declare const EventDocument: z.ZodObject<{
2845
2887
  registrationNumber?: string | undefined;
2846
2888
  }>, z.ZodObject<z.objectUtil.extendShape<{
2847
2889
  id: z.ZodString;
2890
+ transactionId: z.ZodString;
2848
2891
  createdAt: z.ZodString;
2849
2892
  createdBy: z.ZodString;
2893
+ createdByRole: z.ZodString;
2850
2894
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2851
2895
  filename: z.ZodString;
2852
2896
  originalFilename: z.ZodString;
@@ -3084,8 +3128,10 @@ export declare const EventDocument: z.ZodObject<{
3084
3128
  type: "DECLARE";
3085
3129
  id: string;
3086
3130
  status: "Rejected" | "Requested" | "Accepted";
3131
+ transactionId: string;
3087
3132
  createdAt: string;
3088
3133
  createdBy: string;
3134
+ createdByRole: string;
3089
3135
  declaration: Record<string, string | number | boolean | {
3090
3136
  type: string;
3091
3137
  filename: string;
@@ -3168,8 +3214,10 @@ export declare const EventDocument: z.ZodObject<{
3168
3214
  type: "DECLARE";
3169
3215
  id: string;
3170
3216
  status: "Rejected" | "Requested" | "Accepted";
3217
+ transactionId: string;
3171
3218
  createdAt: string;
3172
3219
  createdBy: string;
3220
+ createdByRole: string;
3173
3221
  declaration: Record<string, string | number | boolean | {
3174
3222
  type: string;
3175
3223
  filename: string;
@@ -3250,8 +3298,10 @@ export declare const EventDocument: z.ZodObject<{
3250
3298
  originalActionId?: string | undefined;
3251
3299
  }>, z.ZodObject<z.objectUtil.extendShape<{
3252
3300
  id: z.ZodString;
3301
+ transactionId: z.ZodString;
3253
3302
  createdAt: z.ZodString;
3254
3303
  createdBy: z.ZodString;
3304
+ createdByRole: z.ZodString;
3255
3305
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3256
3306
  filename: z.ZodString;
3257
3307
  originalFilename: z.ZodString;
@@ -3490,8 +3540,10 @@ export declare const EventDocument: z.ZodObject<{
3490
3540
  type: "ASSIGN";
3491
3541
  id: string;
3492
3542
  status: "Rejected" | "Requested" | "Accepted";
3543
+ transactionId: string;
3493
3544
  createdAt: string;
3494
3545
  createdBy: string;
3546
+ createdByRole: string;
3495
3547
  declaration: Record<string, string | number | boolean | {
3496
3548
  type: string;
3497
3549
  filename: string;
@@ -3575,8 +3627,10 @@ export declare const EventDocument: z.ZodObject<{
3575
3627
  type: "ASSIGN";
3576
3628
  id: string;
3577
3629
  status: "Rejected" | "Requested" | "Accepted";
3630
+ transactionId: string;
3578
3631
  createdAt: string;
3579
3632
  createdBy: string;
3633
+ createdByRole: string;
3580
3634
  declaration: Record<string, string | number | boolean | {
3581
3635
  type: string;
3582
3636
  filename: string;
@@ -3658,8 +3712,10 @@ export declare const EventDocument: z.ZodObject<{
3658
3712
  originalActionId?: string | undefined;
3659
3713
  }>, z.ZodObject<z.objectUtil.extendShape<{
3660
3714
  id: z.ZodString;
3715
+ transactionId: z.ZodString;
3661
3716
  createdAt: z.ZodString;
3662
3717
  createdBy: z.ZodString;
3718
+ createdByRole: z.ZodString;
3663
3719
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3664
3720
  filename: z.ZodString;
3665
3721
  originalFilename: z.ZodString;
@@ -3897,8 +3953,10 @@ export declare const EventDocument: z.ZodObject<{
3897
3953
  type: "REQUEST_CORRECTION";
3898
3954
  id: string;
3899
3955
  status: "Rejected" | "Requested" | "Accepted";
3956
+ transactionId: string;
3900
3957
  createdAt: string;
3901
3958
  createdBy: string;
3959
+ createdByRole: string;
3902
3960
  declaration: Record<string, string | number | boolean | {
3903
3961
  type: string;
3904
3962
  filename: string;
@@ -3981,8 +4039,10 @@ export declare const EventDocument: z.ZodObject<{
3981
4039
  type: "REQUEST_CORRECTION";
3982
4040
  id: string;
3983
4041
  status: "Rejected" | "Requested" | "Accepted";
4042
+ transactionId: string;
3984
4043
  createdAt: string;
3985
4044
  createdBy: string;
4045
+ createdByRole: string;
3986
4046
  declaration: Record<string, string | number | boolean | {
3987
4047
  type: string;
3988
4048
  filename: string;
@@ -4063,8 +4123,10 @@ export declare const EventDocument: z.ZodObject<{
4063
4123
  originalActionId?: string | undefined;
4064
4124
  }>, z.ZodObject<z.objectUtil.extendShape<{
4065
4125
  id: z.ZodString;
4126
+ transactionId: z.ZodString;
4066
4127
  createdAt: z.ZodString;
4067
4128
  createdBy: z.ZodString;
4129
+ createdByRole: z.ZodString;
4068
4130
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4069
4131
  filename: z.ZodString;
4070
4132
  originalFilename: z.ZodString;
@@ -4303,8 +4365,10 @@ export declare const EventDocument: z.ZodObject<{
4303
4365
  type: "APPROVE_CORRECTION";
4304
4366
  id: string;
4305
4367
  status: "Rejected" | "Requested" | "Accepted";
4368
+ transactionId: string;
4306
4369
  createdAt: string;
4307
4370
  createdBy: string;
4371
+ createdByRole: string;
4308
4372
  declaration: Record<string, string | number | boolean | {
4309
4373
  type: string;
4310
4374
  filename: string;
@@ -4388,8 +4452,10 @@ export declare const EventDocument: z.ZodObject<{
4388
4452
  type: "APPROVE_CORRECTION";
4389
4453
  id: string;
4390
4454
  status: "Rejected" | "Requested" | "Accepted";
4455
+ transactionId: string;
4391
4456
  createdAt: string;
4392
4457
  createdBy: string;
4458
+ createdByRole: string;
4393
4459
  declaration: Record<string, string | number | boolean | {
4394
4460
  type: string;
4395
4461
  filename: string;
@@ -4471,8 +4537,10 @@ export declare const EventDocument: z.ZodObject<{
4471
4537
  originalActionId?: string | undefined;
4472
4538
  }>, z.ZodObject<z.objectUtil.extendShape<{
4473
4539
  id: z.ZodString;
4540
+ transactionId: z.ZodString;
4474
4541
  createdAt: z.ZodString;
4475
4542
  createdBy: z.ZodString;
4543
+ createdByRole: z.ZodString;
4476
4544
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4477
4545
  filename: z.ZodString;
4478
4546
  originalFilename: z.ZodString;
@@ -4711,8 +4779,10 @@ export declare const EventDocument: z.ZodObject<{
4711
4779
  type: "REJECT_CORRECTION";
4712
4780
  id: string;
4713
4781
  status: "Rejected" | "Requested" | "Accepted";
4782
+ transactionId: string;
4714
4783
  createdAt: string;
4715
4784
  createdBy: string;
4785
+ createdByRole: string;
4716
4786
  declaration: Record<string, string | number | boolean | {
4717
4787
  type: string;
4718
4788
  filename: string;
@@ -4796,8 +4866,10 @@ export declare const EventDocument: z.ZodObject<{
4796
4866
  type: "REJECT_CORRECTION";
4797
4867
  id: string;
4798
4868
  status: "Rejected" | "Requested" | "Accepted";
4869
+ transactionId: string;
4799
4870
  createdAt: string;
4800
4871
  createdBy: string;
4872
+ createdByRole: string;
4801
4873
  declaration: Record<string, string | number | boolean | {
4802
4874
  type: string;
4803
4875
  filename: string;
@@ -4879,8 +4951,10 @@ export declare const EventDocument: z.ZodObject<{
4879
4951
  originalActionId?: string | undefined;
4880
4952
  }>, z.ZodObject<z.objectUtil.extendShape<{
4881
4953
  id: z.ZodString;
4954
+ transactionId: z.ZodString;
4882
4955
  createdAt: z.ZodString;
4883
4956
  createdBy: z.ZodString;
4957
+ createdByRole: z.ZodString;
4884
4958
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4885
4959
  filename: z.ZodString;
4886
4960
  originalFilename: z.ZodString;
@@ -5114,13 +5188,15 @@ export declare const EventDocument: z.ZodObject<{
5114
5188
  originalActionId: z.ZodOptional<z.ZodString>;
5115
5189
  }, {
5116
5190
  type: z.ZodLiteral<"UNASSIGN">;
5117
- assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
5191
+ assignedTo: z.ZodLiteral<null>;
5118
5192
  }>, "strip", z.ZodTypeAny, {
5119
5193
  type: "UNASSIGN";
5120
5194
  id: string;
5121
5195
  status: "Rejected" | "Requested" | "Accepted";
5196
+ transactionId: string;
5122
5197
  createdAt: string;
5123
5198
  createdBy: string;
5199
+ createdByRole: string;
5124
5200
  declaration: Record<string, string | number | boolean | {
5125
5201
  type: string;
5126
5202
  filename: string;
@@ -5204,8 +5280,10 @@ export declare const EventDocument: z.ZodObject<{
5204
5280
  type: "UNASSIGN";
5205
5281
  id: string;
5206
5282
  status: "Rejected" | "Requested" | "Accepted";
5283
+ transactionId: string;
5207
5284
  createdAt: string;
5208
5285
  createdBy: string;
5286
+ createdByRole: string;
5209
5287
  declaration: Record<string, string | number | boolean | {
5210
5288
  type: string;
5211
5289
  filename: string;
@@ -5245,6 +5323,7 @@ export declare const EventDocument: z.ZodObject<{
5245
5323
  originalFilename: string;
5246
5324
  }[] | undefined>;
5247
5325
  createdAtLocation: string;
5326
+ assignedTo: null;
5248
5327
  annotation?: Record<string, string | number | boolean | {
5249
5328
  type: string;
5250
5329
  filename: string;
@@ -5284,11 +5363,12 @@ export declare const EventDocument: z.ZodObject<{
5284
5363
  originalFilename: string;
5285
5364
  }[] | undefined> | undefined;
5286
5365
  originalActionId?: string | undefined;
5287
- assignedTo?: null | undefined;
5288
5366
  }>, z.ZodObject<z.objectUtil.extendShape<{
5289
5367
  id: z.ZodString;
5368
+ transactionId: z.ZodString;
5290
5369
  createdAt: z.ZodString;
5291
5370
  createdBy: z.ZodString;
5371
+ createdByRole: z.ZodString;
5292
5372
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5293
5373
  filename: z.ZodString;
5294
5374
  originalFilename: z.ZodString;
@@ -5526,8 +5606,10 @@ export declare const EventDocument: z.ZodObject<{
5526
5606
  type: "PRINT_CERTIFICATE";
5527
5607
  id: string;
5528
5608
  status: "Rejected" | "Requested" | "Accepted";
5609
+ transactionId: string;
5529
5610
  createdAt: string;
5530
5611
  createdBy: string;
5612
+ createdByRole: string;
5531
5613
  declaration: Record<string, string | number | boolean | {
5532
5614
  type: string;
5533
5615
  filename: string;
@@ -5610,8 +5692,10 @@ export declare const EventDocument: z.ZodObject<{
5610
5692
  type: "PRINT_CERTIFICATE";
5611
5693
  id: string;
5612
5694
  status: "Rejected" | "Requested" | "Accepted";
5695
+ transactionId: string;
5613
5696
  createdAt: string;
5614
5697
  createdBy: string;
5698
+ createdByRole: string;
5615
5699
  declaration: Record<string, string | number | boolean | {
5616
5700
  type: string;
5617
5701
  filename: string;
@@ -5692,8 +5776,10 @@ export declare const EventDocument: z.ZodObject<{
5692
5776
  originalActionId?: string | undefined;
5693
5777
  }>, z.ZodObject<z.objectUtil.extendShape<{
5694
5778
  id: z.ZodString;
5779
+ transactionId: z.ZodString;
5695
5780
  createdAt: z.ZodString;
5696
5781
  createdBy: z.ZodString;
5782
+ createdByRole: z.ZodString;
5697
5783
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5698
5784
  filename: z.ZodString;
5699
5785
  originalFilename: z.ZodString;
@@ -5931,8 +6017,10 @@ export declare const EventDocument: z.ZodObject<{
5931
6017
  type: "READ";
5932
6018
  id: string;
5933
6019
  status: "Rejected" | "Requested" | "Accepted";
6020
+ transactionId: string;
5934
6021
  createdAt: string;
5935
6022
  createdBy: string;
6023
+ createdByRole: string;
5936
6024
  declaration: Record<string, string | number | boolean | {
5937
6025
  type: string;
5938
6026
  filename: string;
@@ -6015,8 +6103,10 @@ export declare const EventDocument: z.ZodObject<{
6015
6103
  type: "READ";
6016
6104
  id: string;
6017
6105
  status: "Rejected" | "Requested" | "Accepted";
6106
+ transactionId: string;
6018
6107
  createdAt: string;
6019
6108
  createdBy: string;
6109
+ createdByRole: string;
6020
6110
  declaration: Record<string, string | number | boolean | {
6021
6111
  type: string;
6022
6112
  filename: string;
@@ -6097,8 +6187,10 @@ export declare const EventDocument: z.ZodObject<{
6097
6187
  originalActionId?: string | undefined;
6098
6188
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6099
6189
  id: z.ZodString;
6190
+ transactionId: z.ZodString;
6100
6191
  createdAt: z.ZodString;
6101
6192
  createdBy: z.ZodString;
6193
+ createdByRole: z.ZodString;
6102
6194
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6103
6195
  filename: z.ZodString;
6104
6196
  originalFilename: z.ZodString;
@@ -6330,19 +6422,21 @@ export declare const EventDocument: z.ZodObject<{
6330
6422
  createdAtLocation: z.ZodString;
6331
6423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6332
6424
  originalActionId: z.ZodOptional<z.ZodString>;
6333
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6425
+ }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
6334
6426
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6335
6427
  status: z.ZodLiteral<"Rejected">;
6336
6428
  }>, "strip", z.ZodTypeAny, {
6337
6429
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6338
6430
  id: string;
6339
6431
  status: "Rejected";
6432
+ transactionId: string;
6340
6433
  createdAt: string;
6341
6434
  originalActionId?: string | undefined;
6342
6435
  }, {
6343
6436
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6344
6437
  id: string;
6345
6438
  status: "Rejected";
6439
+ transactionId: string;
6346
6440
  createdAt: string;
6347
6441
  originalActionId?: string | undefined;
6348
6442
  }>]>, "many">;
@@ -6357,8 +6451,10 @@ export declare const EventDocument: z.ZodObject<{
6357
6451
  type: "ASSIGN";
6358
6452
  id: string;
6359
6453
  status: "Rejected" | "Requested" | "Accepted";
6454
+ transactionId: string;
6360
6455
  createdAt: string;
6361
6456
  createdBy: string;
6457
+ createdByRole: string;
6362
6458
  declaration: Record<string, string | number | boolean | {
6363
6459
  type: string;
6364
6460
  filename: string;
@@ -6442,8 +6538,10 @@ export declare const EventDocument: z.ZodObject<{
6442
6538
  type: "UNASSIGN";
6443
6539
  id: string;
6444
6540
  status: "Rejected" | "Requested" | "Accepted";
6541
+ transactionId: string;
6445
6542
  createdAt: string;
6446
6543
  createdBy: string;
6544
+ createdByRole: string;
6447
6545
  declaration: Record<string, string | number | boolean | {
6448
6546
  type: string;
6449
6547
  filename: string;
@@ -6527,8 +6625,10 @@ export declare const EventDocument: z.ZodObject<{
6527
6625
  type: "REGISTER";
6528
6626
  id: string;
6529
6627
  status: "Rejected" | "Requested" | "Accepted";
6628
+ transactionId: string;
6530
6629
  createdAt: string;
6531
6630
  createdBy: string;
6631
+ createdByRole: string;
6532
6632
  declaration: Record<string, string | number | boolean | {
6533
6633
  type: string;
6534
6634
  filename: string;
@@ -6612,8 +6712,10 @@ export declare const EventDocument: z.ZodObject<{
6612
6712
  type: "DECLARE";
6613
6713
  id: string;
6614
6714
  status: "Rejected" | "Requested" | "Accepted";
6715
+ transactionId: string;
6615
6716
  createdAt: string;
6616
6717
  createdBy: string;
6718
+ createdByRole: string;
6617
6719
  declaration: Record<string, string | number | boolean | {
6618
6720
  type: string;
6619
6721
  filename: string;
@@ -6696,8 +6798,10 @@ export declare const EventDocument: z.ZodObject<{
6696
6798
  type: "VALIDATE";
6697
6799
  id: string;
6698
6800
  status: "Rejected" | "Requested" | "Accepted";
6801
+ transactionId: string;
6699
6802
  createdAt: string;
6700
6803
  createdBy: string;
6804
+ createdByRole: string;
6701
6805
  declaration: Record<string, string | number | boolean | {
6702
6806
  type: string;
6703
6807
  filename: string;
@@ -6780,8 +6884,10 @@ export declare const EventDocument: z.ZodObject<{
6780
6884
  type: "REJECT";
6781
6885
  id: string;
6782
6886
  status: "Rejected" | "Requested" | "Accepted";
6887
+ transactionId: string;
6783
6888
  createdAt: string;
6784
6889
  createdBy: string;
6890
+ createdByRole: string;
6785
6891
  declaration: Record<string, string | number | boolean | {
6786
6892
  type: string;
6787
6893
  filename: string;
@@ -6864,8 +6970,10 @@ export declare const EventDocument: z.ZodObject<{
6864
6970
  type: "MARKED_AS_DUPLICATE";
6865
6971
  id: string;
6866
6972
  status: "Rejected" | "Requested" | "Accepted";
6973
+ transactionId: string;
6867
6974
  createdAt: string;
6868
6975
  createdBy: string;
6976
+ createdByRole: string;
6869
6977
  declaration: Record<string, string | number | boolean | {
6870
6978
  type: string;
6871
6979
  filename: string;
@@ -6948,8 +7056,10 @@ export declare const EventDocument: z.ZodObject<{
6948
7056
  type: "ARCHIVE";
6949
7057
  id: string;
6950
7058
  status: "Rejected" | "Requested" | "Accepted";
7059
+ transactionId: string;
6951
7060
  createdAt: string;
6952
7061
  createdBy: string;
7062
+ createdByRole: string;
6953
7063
  declaration: Record<string, string | number | boolean | {
6954
7064
  type: string;
6955
7065
  filename: string;
@@ -7032,8 +7142,10 @@ export declare const EventDocument: z.ZodObject<{
7032
7142
  type: "CREATE";
7033
7143
  id: string;
7034
7144
  status: "Rejected" | "Requested" | "Accepted";
7145
+ transactionId: string;
7035
7146
  createdAt: string;
7036
7147
  createdBy: string;
7148
+ createdByRole: string;
7037
7149
  declaration: Record<string, string | number | boolean | {
7038
7150
  type: string;
7039
7151
  filename: string;
@@ -7116,8 +7228,10 @@ export declare const EventDocument: z.ZodObject<{
7116
7228
  type: "NOTIFY";
7117
7229
  id: string;
7118
7230
  status: "Rejected" | "Requested" | "Accepted";
7231
+ transactionId: string;
7119
7232
  createdAt: string;
7120
7233
  createdBy: string;
7234
+ createdByRole: string;
7121
7235
  declaration: Record<string, string | number | boolean | {
7122
7236
  type: string;
7123
7237
  filename: string;
@@ -7200,8 +7314,10 @@ export declare const EventDocument: z.ZodObject<{
7200
7314
  type: "PRINT_CERTIFICATE";
7201
7315
  id: string;
7202
7316
  status: "Rejected" | "Requested" | "Accepted";
7317
+ transactionId: string;
7203
7318
  createdAt: string;
7204
7319
  createdBy: string;
7320
+ createdByRole: string;
7205
7321
  declaration: Record<string, string | number | boolean | {
7206
7322
  type: string;
7207
7323
  filename: string;
@@ -7284,8 +7400,10 @@ export declare const EventDocument: z.ZodObject<{
7284
7400
  type: "REQUEST_CORRECTION";
7285
7401
  id: string;
7286
7402
  status: "Rejected" | "Requested" | "Accepted";
7403
+ transactionId: string;
7287
7404
  createdAt: string;
7288
7405
  createdBy: string;
7406
+ createdByRole: string;
7289
7407
  declaration: Record<string, string | number | boolean | {
7290
7408
  type: string;
7291
7409
  filename: string;
@@ -7368,8 +7486,10 @@ export declare const EventDocument: z.ZodObject<{
7368
7486
  type: "APPROVE_CORRECTION";
7369
7487
  id: string;
7370
7488
  status: "Rejected" | "Requested" | "Accepted";
7489
+ transactionId: string;
7371
7490
  createdAt: string;
7372
7491
  createdBy: string;
7492
+ createdByRole: string;
7373
7493
  declaration: Record<string, string | number | boolean | {
7374
7494
  type: string;
7375
7495
  filename: string;
@@ -7453,8 +7573,10 @@ export declare const EventDocument: z.ZodObject<{
7453
7573
  type: "REJECT_CORRECTION";
7454
7574
  id: string;
7455
7575
  status: "Rejected" | "Requested" | "Accepted";
7576
+ transactionId: string;
7456
7577
  createdAt: string;
7457
7578
  createdBy: string;
7579
+ createdByRole: string;
7458
7580
  declaration: Record<string, string | number | boolean | {
7459
7581
  type: string;
7460
7582
  filename: string;
@@ -7538,8 +7660,10 @@ export declare const EventDocument: z.ZodObject<{
7538
7660
  type: "READ";
7539
7661
  id: string;
7540
7662
  status: "Rejected" | "Requested" | "Accepted";
7663
+ transactionId: string;
7541
7664
  createdAt: string;
7542
7665
  createdBy: string;
7666
+ createdByRole: string;
7543
7667
  declaration: Record<string, string | number | boolean | {
7544
7668
  type: string;
7545
7669
  filename: string;
@@ -7622,6 +7746,7 @@ export declare const EventDocument: z.ZodObject<{
7622
7746
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7623
7747
  id: string;
7624
7748
  status: "Rejected";
7749
+ transactionId: string;
7625
7750
  createdAt: string;
7626
7751
  originalActionId?: string | undefined;
7627
7752
  })[];
@@ -7636,8 +7761,10 @@ export declare const EventDocument: z.ZodObject<{
7636
7761
  type: "ASSIGN";
7637
7762
  id: string;
7638
7763
  status: "Rejected" | "Requested" | "Accepted";
7764
+ transactionId: string;
7639
7765
  createdAt: string;
7640
7766
  createdBy: string;
7767
+ createdByRole: string;
7641
7768
  declaration: Record<string, string | number | boolean | {
7642
7769
  type: string;
7643
7770
  filename: string;
@@ -7721,8 +7848,10 @@ export declare const EventDocument: z.ZodObject<{
7721
7848
  type: "UNASSIGN";
7722
7849
  id: string;
7723
7850
  status: "Rejected" | "Requested" | "Accepted";
7851
+ transactionId: string;
7724
7852
  createdAt: string;
7725
7853
  createdBy: string;
7854
+ createdByRole: string;
7726
7855
  declaration: Record<string, string | number | boolean | {
7727
7856
  type: string;
7728
7857
  filename: string;
@@ -7762,6 +7891,7 @@ export declare const EventDocument: z.ZodObject<{
7762
7891
  originalFilename: string;
7763
7892
  }[] | undefined>;
7764
7893
  createdAtLocation: string;
7894
+ assignedTo: null;
7765
7895
  annotation?: Record<string, string | number | boolean | {
7766
7896
  type: string;
7767
7897
  filename: string;
@@ -7801,13 +7931,14 @@ export declare const EventDocument: z.ZodObject<{
7801
7931
  originalFilename: string;
7802
7932
  }[] | undefined> | undefined;
7803
7933
  originalActionId?: string | undefined;
7804
- assignedTo?: null | undefined;
7805
7934
  } | {
7806
7935
  type: "REGISTER";
7807
7936
  id: string;
7808
7937
  status: "Rejected" | "Requested" | "Accepted";
7938
+ transactionId: string;
7809
7939
  createdAt: string;
7810
7940
  createdBy: string;
7941
+ createdByRole: string;
7811
7942
  declaration: Record<string, string | number | boolean | {
7812
7943
  type: string;
7813
7944
  filename: string;
@@ -7891,8 +8022,10 @@ export declare const EventDocument: z.ZodObject<{
7891
8022
  type: "DECLARE";
7892
8023
  id: string;
7893
8024
  status: "Rejected" | "Requested" | "Accepted";
8025
+ transactionId: string;
7894
8026
  createdAt: string;
7895
8027
  createdBy: string;
8028
+ createdByRole: string;
7896
8029
  declaration: Record<string, string | number | boolean | {
7897
8030
  type: string;
7898
8031
  filename: string;
@@ -7975,8 +8108,10 @@ export declare const EventDocument: z.ZodObject<{
7975
8108
  type: "VALIDATE";
7976
8109
  id: string;
7977
8110
  status: "Rejected" | "Requested" | "Accepted";
8111
+ transactionId: string;
7978
8112
  createdAt: string;
7979
8113
  createdBy: string;
8114
+ createdByRole: string;
7980
8115
  declaration: Record<string, string | number | boolean | {
7981
8116
  type: string;
7982
8117
  filename: string;
@@ -8059,8 +8194,10 @@ export declare const EventDocument: z.ZodObject<{
8059
8194
  type: "REJECT";
8060
8195
  id: string;
8061
8196
  status: "Rejected" | "Requested" | "Accepted";
8197
+ transactionId: string;
8062
8198
  createdAt: string;
8063
8199
  createdBy: string;
8200
+ createdByRole: string;
8064
8201
  declaration: Record<string, string | number | boolean | {
8065
8202
  type: string;
8066
8203
  filename: string;
@@ -8143,8 +8280,10 @@ export declare const EventDocument: z.ZodObject<{
8143
8280
  type: "MARKED_AS_DUPLICATE";
8144
8281
  id: string;
8145
8282
  status: "Rejected" | "Requested" | "Accepted";
8283
+ transactionId: string;
8146
8284
  createdAt: string;
8147
8285
  createdBy: string;
8286
+ createdByRole: string;
8148
8287
  declaration: Record<string, string | number | boolean | {
8149
8288
  type: string;
8150
8289
  filename: string;
@@ -8227,8 +8366,10 @@ export declare const EventDocument: z.ZodObject<{
8227
8366
  type: "ARCHIVE";
8228
8367
  id: string;
8229
8368
  status: "Rejected" | "Requested" | "Accepted";
8369
+ transactionId: string;
8230
8370
  createdAt: string;
8231
8371
  createdBy: string;
8372
+ createdByRole: string;
8232
8373
  declaration: Record<string, string | number | boolean | {
8233
8374
  type: string;
8234
8375
  filename: string;
@@ -8311,8 +8452,10 @@ export declare const EventDocument: z.ZodObject<{
8311
8452
  type: "CREATE";
8312
8453
  id: string;
8313
8454
  status: "Rejected" | "Requested" | "Accepted";
8455
+ transactionId: string;
8314
8456
  createdAt: string;
8315
8457
  createdBy: string;
8458
+ createdByRole: string;
8316
8459
  declaration: Record<string, string | number | boolean | {
8317
8460
  type: string;
8318
8461
  filename: string;
@@ -8395,8 +8538,10 @@ export declare const EventDocument: z.ZodObject<{
8395
8538
  type: "NOTIFY";
8396
8539
  id: string;
8397
8540
  status: "Rejected" | "Requested" | "Accepted";
8541
+ transactionId: string;
8398
8542
  createdAt: string;
8399
8543
  createdBy: string;
8544
+ createdByRole: string;
8400
8545
  declaration: Record<string, string | number | boolean | {
8401
8546
  type: string;
8402
8547
  filename: string;
@@ -8479,8 +8624,10 @@ export declare const EventDocument: z.ZodObject<{
8479
8624
  type: "PRINT_CERTIFICATE";
8480
8625
  id: string;
8481
8626
  status: "Rejected" | "Requested" | "Accepted";
8627
+ transactionId: string;
8482
8628
  createdAt: string;
8483
8629
  createdBy: string;
8630
+ createdByRole: string;
8484
8631
  declaration: Record<string, string | number | boolean | {
8485
8632
  type: string;
8486
8633
  filename: string;
@@ -8563,8 +8710,10 @@ export declare const EventDocument: z.ZodObject<{
8563
8710
  type: "REQUEST_CORRECTION";
8564
8711
  id: string;
8565
8712
  status: "Rejected" | "Requested" | "Accepted";
8713
+ transactionId: string;
8566
8714
  createdAt: string;
8567
8715
  createdBy: string;
8716
+ createdByRole: string;
8568
8717
  declaration: Record<string, string | number | boolean | {
8569
8718
  type: string;
8570
8719
  filename: string;
@@ -8647,8 +8796,10 @@ export declare const EventDocument: z.ZodObject<{
8647
8796
  type: "APPROVE_CORRECTION";
8648
8797
  id: string;
8649
8798
  status: "Rejected" | "Requested" | "Accepted";
8799
+ transactionId: string;
8650
8800
  createdAt: string;
8651
8801
  createdBy: string;
8802
+ createdByRole: string;
8652
8803
  declaration: Record<string, string | number | boolean | {
8653
8804
  type: string;
8654
8805
  filename: string;
@@ -8732,8 +8883,10 @@ export declare const EventDocument: z.ZodObject<{
8732
8883
  type: "REJECT_CORRECTION";
8733
8884
  id: string;
8734
8885
  status: "Rejected" | "Requested" | "Accepted";
8886
+ transactionId: string;
8735
8887
  createdAt: string;
8736
8888
  createdBy: string;
8889
+ createdByRole: string;
8737
8890
  declaration: Record<string, string | number | boolean | {
8738
8891
  type: string;
8739
8892
  filename: string;
@@ -8817,8 +8970,10 @@ export declare const EventDocument: z.ZodObject<{
8817
8970
  type: "READ";
8818
8971
  id: string;
8819
8972
  status: "Rejected" | "Requested" | "Accepted";
8973
+ transactionId: string;
8820
8974
  createdAt: string;
8821
8975
  createdBy: string;
8976
+ createdByRole: string;
8822
8977
  declaration: Record<string, string | number | boolean | {
8823
8978
  type: string;
8824
8979
  filename: string;
@@ -8901,6 +9056,7 @@ export declare const EventDocument: z.ZodObject<{
8901
9056
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8902
9057
  id: string;
8903
9058
  status: "Rejected";
9059
+ transactionId: string;
8904
9060
  createdAt: string;
8905
9061
  originalActionId?: string | undefined;
8906
9062
  })[];