@opencrvs/toolkit 1.8.0-rc.f876361 → 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.
@@ -4,10 +4,13 @@ export declare const EventDocument: z.ZodObject<{
4
4
  type: z.ZodString;
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
7
+ updatedAtLocation: z.ZodString;
7
8
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
9
  id: z.ZodString;
10
+ transactionId: z.ZodString;
9
11
  createdAt: z.ZodString;
10
12
  createdBy: z.ZodString;
13
+ createdByRole: z.ZodString;
11
14
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12
15
  filename: z.ZodString;
13
16
  originalFilename: z.ZodString;
@@ -245,8 +248,10 @@ export declare const EventDocument: z.ZodObject<{
245
248
  type: "CREATE";
246
249
  id: string;
247
250
  status: "Rejected" | "Requested" | "Accepted";
251
+ transactionId: string;
248
252
  createdAt: string;
249
253
  createdBy: string;
254
+ createdByRole: string;
250
255
  declaration: Record<string, string | number | boolean | {
251
256
  type: string;
252
257
  filename: string;
@@ -329,8 +334,10 @@ export declare const EventDocument: z.ZodObject<{
329
334
  type: "CREATE";
330
335
  id: string;
331
336
  status: "Rejected" | "Requested" | "Accepted";
337
+ transactionId: string;
332
338
  createdAt: string;
333
339
  createdBy: string;
340
+ createdByRole: string;
334
341
  declaration: Record<string, string | number | boolean | {
335
342
  type: string;
336
343
  filename: string;
@@ -411,8 +418,10 @@ export declare const EventDocument: z.ZodObject<{
411
418
  originalActionId?: string | undefined;
412
419
  }>, z.ZodObject<z.objectUtil.extendShape<{
413
420
  id: z.ZodString;
421
+ transactionId: z.ZodString;
414
422
  createdAt: z.ZodString;
415
423
  createdBy: z.ZodString;
424
+ createdByRole: z.ZodString;
416
425
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
417
426
  filename: z.ZodString;
418
427
  originalFilename: z.ZodString;
@@ -650,8 +659,10 @@ export declare const EventDocument: z.ZodObject<{
650
659
  type: "VALIDATE";
651
660
  id: string;
652
661
  status: "Rejected" | "Requested" | "Accepted";
662
+ transactionId: string;
653
663
  createdAt: string;
654
664
  createdBy: string;
665
+ createdByRole: string;
655
666
  declaration: Record<string, string | number | boolean | {
656
667
  type: string;
657
668
  filename: string;
@@ -734,8 +745,10 @@ export declare const EventDocument: z.ZodObject<{
734
745
  type: "VALIDATE";
735
746
  id: string;
736
747
  status: "Rejected" | "Requested" | "Accepted";
748
+ transactionId: string;
737
749
  createdAt: string;
738
750
  createdBy: string;
751
+ createdByRole: string;
739
752
  declaration: Record<string, string | number | boolean | {
740
753
  type: string;
741
754
  filename: string;
@@ -816,8 +829,10 @@ export declare const EventDocument: z.ZodObject<{
816
829
  originalActionId?: string | undefined;
817
830
  }>, z.ZodObject<z.objectUtil.extendShape<{
818
831
  id: z.ZodString;
832
+ transactionId: z.ZodString;
819
833
  createdAt: z.ZodString;
820
834
  createdBy: z.ZodString;
835
+ createdByRole: z.ZodString;
821
836
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
822
837
  filename: z.ZodString;
823
838
  originalFilename: z.ZodString;
@@ -1055,8 +1070,10 @@ export declare const EventDocument: z.ZodObject<{
1055
1070
  type: "REJECT";
1056
1071
  id: string;
1057
1072
  status: "Rejected" | "Requested" | "Accepted";
1073
+ transactionId: string;
1058
1074
  createdAt: string;
1059
1075
  createdBy: string;
1076
+ createdByRole: string;
1060
1077
  declaration: Record<string, string | number | boolean | {
1061
1078
  type: string;
1062
1079
  filename: string;
@@ -1139,8 +1156,10 @@ export declare const EventDocument: z.ZodObject<{
1139
1156
  type: "REJECT";
1140
1157
  id: string;
1141
1158
  status: "Rejected" | "Requested" | "Accepted";
1159
+ transactionId: string;
1142
1160
  createdAt: string;
1143
1161
  createdBy: string;
1162
+ createdByRole: string;
1144
1163
  declaration: Record<string, string | number | boolean | {
1145
1164
  type: string;
1146
1165
  filename: string;
@@ -1221,8 +1240,10 @@ export declare const EventDocument: z.ZodObject<{
1221
1240
  originalActionId?: string | undefined;
1222
1241
  }>, z.ZodObject<z.objectUtil.extendShape<{
1223
1242
  id: z.ZodString;
1243
+ transactionId: z.ZodString;
1224
1244
  createdAt: z.ZodString;
1225
1245
  createdBy: z.ZodString;
1246
+ createdByRole: z.ZodString;
1226
1247
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1227
1248
  filename: z.ZodString;
1228
1249
  originalFilename: z.ZodString;
@@ -1460,8 +1481,10 @@ export declare const EventDocument: z.ZodObject<{
1460
1481
  type: "MARKED_AS_DUPLICATE";
1461
1482
  id: string;
1462
1483
  status: "Rejected" | "Requested" | "Accepted";
1484
+ transactionId: string;
1463
1485
  createdAt: string;
1464
1486
  createdBy: string;
1487
+ createdByRole: string;
1465
1488
  declaration: Record<string, string | number | boolean | {
1466
1489
  type: string;
1467
1490
  filename: string;
@@ -1544,8 +1567,10 @@ export declare const EventDocument: z.ZodObject<{
1544
1567
  type: "MARKED_AS_DUPLICATE";
1545
1568
  id: string;
1546
1569
  status: "Rejected" | "Requested" | "Accepted";
1570
+ transactionId: string;
1547
1571
  createdAt: string;
1548
1572
  createdBy: string;
1573
+ createdByRole: string;
1549
1574
  declaration: Record<string, string | number | boolean | {
1550
1575
  type: string;
1551
1576
  filename: string;
@@ -1626,8 +1651,10 @@ export declare const EventDocument: z.ZodObject<{
1626
1651
  originalActionId?: string | undefined;
1627
1652
  }>, z.ZodObject<z.objectUtil.extendShape<{
1628
1653
  id: z.ZodString;
1654
+ transactionId: z.ZodString;
1629
1655
  createdAt: z.ZodString;
1630
1656
  createdBy: z.ZodString;
1657
+ createdByRole: z.ZodString;
1631
1658
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1632
1659
  filename: z.ZodString;
1633
1660
  originalFilename: z.ZodString;
@@ -1865,8 +1892,10 @@ export declare const EventDocument: z.ZodObject<{
1865
1892
  type: "ARCHIVE";
1866
1893
  id: string;
1867
1894
  status: "Rejected" | "Requested" | "Accepted";
1895
+ transactionId: string;
1868
1896
  createdAt: string;
1869
1897
  createdBy: string;
1898
+ createdByRole: string;
1870
1899
  declaration: Record<string, string | number | boolean | {
1871
1900
  type: string;
1872
1901
  filename: string;
@@ -1949,8 +1978,10 @@ export declare const EventDocument: z.ZodObject<{
1949
1978
  type: "ARCHIVE";
1950
1979
  id: string;
1951
1980
  status: "Rejected" | "Requested" | "Accepted";
1981
+ transactionId: string;
1952
1982
  createdAt: string;
1953
1983
  createdBy: string;
1984
+ createdByRole: string;
1954
1985
  declaration: Record<string, string | number | boolean | {
1955
1986
  type: string;
1956
1987
  filename: string;
@@ -2031,8 +2062,10 @@ export declare const EventDocument: z.ZodObject<{
2031
2062
  originalActionId?: string | undefined;
2032
2063
  }>, z.ZodObject<z.objectUtil.extendShape<{
2033
2064
  id: z.ZodString;
2065
+ transactionId: z.ZodString;
2034
2066
  createdAt: z.ZodString;
2035
2067
  createdBy: z.ZodString;
2068
+ createdByRole: z.ZodString;
2036
2069
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2037
2070
  filename: z.ZodString;
2038
2071
  originalFilename: z.ZodString;
@@ -2270,8 +2303,10 @@ export declare const EventDocument: z.ZodObject<{
2270
2303
  type: "NOTIFY";
2271
2304
  id: string;
2272
2305
  status: "Rejected" | "Requested" | "Accepted";
2306
+ transactionId: string;
2273
2307
  createdAt: string;
2274
2308
  createdBy: string;
2309
+ createdByRole: string;
2275
2310
  declaration: Record<string, string | number | boolean | {
2276
2311
  type: string;
2277
2312
  filename: string;
@@ -2354,8 +2389,10 @@ export declare const EventDocument: z.ZodObject<{
2354
2389
  type: "NOTIFY";
2355
2390
  id: string;
2356
2391
  status: "Rejected" | "Requested" | "Accepted";
2392
+ transactionId: string;
2357
2393
  createdAt: string;
2358
2394
  createdBy: string;
2395
+ createdByRole: string;
2359
2396
  declaration: Record<string, string | number | boolean | {
2360
2397
  type: string;
2361
2398
  filename: string;
@@ -2436,8 +2473,10 @@ export declare const EventDocument: z.ZodObject<{
2436
2473
  originalActionId?: string | undefined;
2437
2474
  }>, z.ZodObject<z.objectUtil.extendShape<{
2438
2475
  id: z.ZodString;
2476
+ transactionId: z.ZodString;
2439
2477
  createdAt: z.ZodString;
2440
2478
  createdBy: z.ZodString;
2479
+ createdByRole: z.ZodString;
2441
2480
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2442
2481
  filename: z.ZodString;
2443
2482
  originalFilename: z.ZodString;
@@ -2676,8 +2715,10 @@ export declare const EventDocument: z.ZodObject<{
2676
2715
  type: "REGISTER";
2677
2716
  id: string;
2678
2717
  status: "Rejected" | "Requested" | "Accepted";
2718
+ transactionId: string;
2679
2719
  createdAt: string;
2680
2720
  createdBy: string;
2721
+ createdByRole: string;
2681
2722
  declaration: Record<string, string | number | boolean | {
2682
2723
  type: string;
2683
2724
  filename: string;
@@ -2761,8 +2802,10 @@ export declare const EventDocument: z.ZodObject<{
2761
2802
  type: "REGISTER";
2762
2803
  id: string;
2763
2804
  status: "Rejected" | "Requested" | "Accepted";
2805
+ transactionId: string;
2764
2806
  createdAt: string;
2765
2807
  createdBy: string;
2808
+ createdByRole: string;
2766
2809
  declaration: Record<string, string | number | boolean | {
2767
2810
  type: string;
2768
2811
  filename: string;
@@ -2844,8 +2887,10 @@ export declare const EventDocument: z.ZodObject<{
2844
2887
  registrationNumber?: string | undefined;
2845
2888
  }>, z.ZodObject<z.objectUtil.extendShape<{
2846
2889
  id: z.ZodString;
2890
+ transactionId: z.ZodString;
2847
2891
  createdAt: z.ZodString;
2848
2892
  createdBy: z.ZodString;
2893
+ createdByRole: z.ZodString;
2849
2894
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2850
2895
  filename: z.ZodString;
2851
2896
  originalFilename: z.ZodString;
@@ -3083,8 +3128,10 @@ export declare const EventDocument: z.ZodObject<{
3083
3128
  type: "DECLARE";
3084
3129
  id: string;
3085
3130
  status: "Rejected" | "Requested" | "Accepted";
3131
+ transactionId: string;
3086
3132
  createdAt: string;
3087
3133
  createdBy: string;
3134
+ createdByRole: string;
3088
3135
  declaration: Record<string, string | number | boolean | {
3089
3136
  type: string;
3090
3137
  filename: string;
@@ -3167,8 +3214,10 @@ export declare const EventDocument: z.ZodObject<{
3167
3214
  type: "DECLARE";
3168
3215
  id: string;
3169
3216
  status: "Rejected" | "Requested" | "Accepted";
3217
+ transactionId: string;
3170
3218
  createdAt: string;
3171
3219
  createdBy: string;
3220
+ createdByRole: string;
3172
3221
  declaration: Record<string, string | number | boolean | {
3173
3222
  type: string;
3174
3223
  filename: string;
@@ -3249,8 +3298,10 @@ export declare const EventDocument: z.ZodObject<{
3249
3298
  originalActionId?: string | undefined;
3250
3299
  }>, z.ZodObject<z.objectUtil.extendShape<{
3251
3300
  id: z.ZodString;
3301
+ transactionId: z.ZodString;
3252
3302
  createdAt: z.ZodString;
3253
3303
  createdBy: z.ZodString;
3304
+ createdByRole: z.ZodString;
3254
3305
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3255
3306
  filename: z.ZodString;
3256
3307
  originalFilename: z.ZodString;
@@ -3489,8 +3540,10 @@ export declare const EventDocument: z.ZodObject<{
3489
3540
  type: "ASSIGN";
3490
3541
  id: string;
3491
3542
  status: "Rejected" | "Requested" | "Accepted";
3543
+ transactionId: string;
3492
3544
  createdAt: string;
3493
3545
  createdBy: string;
3546
+ createdByRole: string;
3494
3547
  declaration: Record<string, string | number | boolean | {
3495
3548
  type: string;
3496
3549
  filename: string;
@@ -3574,8 +3627,10 @@ export declare const EventDocument: z.ZodObject<{
3574
3627
  type: "ASSIGN";
3575
3628
  id: string;
3576
3629
  status: "Rejected" | "Requested" | "Accepted";
3630
+ transactionId: string;
3577
3631
  createdAt: string;
3578
3632
  createdBy: string;
3633
+ createdByRole: string;
3579
3634
  declaration: Record<string, string | number | boolean | {
3580
3635
  type: string;
3581
3636
  filename: string;
@@ -3657,8 +3712,10 @@ export declare const EventDocument: z.ZodObject<{
3657
3712
  originalActionId?: string | undefined;
3658
3713
  }>, z.ZodObject<z.objectUtil.extendShape<{
3659
3714
  id: z.ZodString;
3715
+ transactionId: z.ZodString;
3660
3716
  createdAt: z.ZodString;
3661
3717
  createdBy: z.ZodString;
3718
+ createdByRole: z.ZodString;
3662
3719
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3663
3720
  filename: z.ZodString;
3664
3721
  originalFilename: z.ZodString;
@@ -3896,8 +3953,10 @@ export declare const EventDocument: z.ZodObject<{
3896
3953
  type: "REQUEST_CORRECTION";
3897
3954
  id: string;
3898
3955
  status: "Rejected" | "Requested" | "Accepted";
3956
+ transactionId: string;
3899
3957
  createdAt: string;
3900
3958
  createdBy: string;
3959
+ createdByRole: string;
3901
3960
  declaration: Record<string, string | number | boolean | {
3902
3961
  type: string;
3903
3962
  filename: string;
@@ -3980,8 +4039,10 @@ export declare const EventDocument: z.ZodObject<{
3980
4039
  type: "REQUEST_CORRECTION";
3981
4040
  id: string;
3982
4041
  status: "Rejected" | "Requested" | "Accepted";
4042
+ transactionId: string;
3983
4043
  createdAt: string;
3984
4044
  createdBy: string;
4045
+ createdByRole: string;
3985
4046
  declaration: Record<string, string | number | boolean | {
3986
4047
  type: string;
3987
4048
  filename: string;
@@ -4062,8 +4123,10 @@ export declare const EventDocument: z.ZodObject<{
4062
4123
  originalActionId?: string | undefined;
4063
4124
  }>, z.ZodObject<z.objectUtil.extendShape<{
4064
4125
  id: z.ZodString;
4126
+ transactionId: z.ZodString;
4065
4127
  createdAt: z.ZodString;
4066
4128
  createdBy: z.ZodString;
4129
+ createdByRole: z.ZodString;
4067
4130
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4068
4131
  filename: z.ZodString;
4069
4132
  originalFilename: z.ZodString;
@@ -4302,8 +4365,10 @@ export declare const EventDocument: z.ZodObject<{
4302
4365
  type: "APPROVE_CORRECTION";
4303
4366
  id: string;
4304
4367
  status: "Rejected" | "Requested" | "Accepted";
4368
+ transactionId: string;
4305
4369
  createdAt: string;
4306
4370
  createdBy: string;
4371
+ createdByRole: string;
4307
4372
  declaration: Record<string, string | number | boolean | {
4308
4373
  type: string;
4309
4374
  filename: string;
@@ -4387,8 +4452,10 @@ export declare const EventDocument: z.ZodObject<{
4387
4452
  type: "APPROVE_CORRECTION";
4388
4453
  id: string;
4389
4454
  status: "Rejected" | "Requested" | "Accepted";
4455
+ transactionId: string;
4390
4456
  createdAt: string;
4391
4457
  createdBy: string;
4458
+ createdByRole: string;
4392
4459
  declaration: Record<string, string | number | boolean | {
4393
4460
  type: string;
4394
4461
  filename: string;
@@ -4470,8 +4537,10 @@ export declare const EventDocument: z.ZodObject<{
4470
4537
  originalActionId?: string | undefined;
4471
4538
  }>, z.ZodObject<z.objectUtil.extendShape<{
4472
4539
  id: z.ZodString;
4540
+ transactionId: z.ZodString;
4473
4541
  createdAt: z.ZodString;
4474
4542
  createdBy: z.ZodString;
4543
+ createdByRole: z.ZodString;
4475
4544
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4476
4545
  filename: z.ZodString;
4477
4546
  originalFilename: z.ZodString;
@@ -4710,8 +4779,10 @@ export declare const EventDocument: z.ZodObject<{
4710
4779
  type: "REJECT_CORRECTION";
4711
4780
  id: string;
4712
4781
  status: "Rejected" | "Requested" | "Accepted";
4782
+ transactionId: string;
4713
4783
  createdAt: string;
4714
4784
  createdBy: string;
4785
+ createdByRole: string;
4715
4786
  declaration: Record<string, string | number | boolean | {
4716
4787
  type: string;
4717
4788
  filename: string;
@@ -4795,8 +4866,10 @@ export declare const EventDocument: z.ZodObject<{
4795
4866
  type: "REJECT_CORRECTION";
4796
4867
  id: string;
4797
4868
  status: "Rejected" | "Requested" | "Accepted";
4869
+ transactionId: string;
4798
4870
  createdAt: string;
4799
4871
  createdBy: string;
4872
+ createdByRole: string;
4800
4873
  declaration: Record<string, string | number | boolean | {
4801
4874
  type: string;
4802
4875
  filename: string;
@@ -4878,8 +4951,10 @@ export declare const EventDocument: z.ZodObject<{
4878
4951
  originalActionId?: string | undefined;
4879
4952
  }>, z.ZodObject<z.objectUtil.extendShape<{
4880
4953
  id: z.ZodString;
4954
+ transactionId: z.ZodString;
4881
4955
  createdAt: z.ZodString;
4882
4956
  createdBy: z.ZodString;
4957
+ createdByRole: z.ZodString;
4883
4958
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4884
4959
  filename: z.ZodString;
4885
4960
  originalFilename: z.ZodString;
@@ -5113,12 +5188,15 @@ export declare const EventDocument: z.ZodObject<{
5113
5188
  originalActionId: z.ZodOptional<z.ZodString>;
5114
5189
  }, {
5115
5190
  type: z.ZodLiteral<"UNASSIGN">;
5191
+ assignedTo: z.ZodLiteral<null>;
5116
5192
  }>, "strip", z.ZodTypeAny, {
5117
5193
  type: "UNASSIGN";
5118
5194
  id: string;
5119
5195
  status: "Rejected" | "Requested" | "Accepted";
5196
+ transactionId: string;
5120
5197
  createdAt: string;
5121
5198
  createdBy: string;
5199
+ createdByRole: string;
5122
5200
  declaration: Record<string, string | number | boolean | {
5123
5201
  type: string;
5124
5202
  filename: string;
@@ -5158,6 +5236,7 @@ export declare const EventDocument: z.ZodObject<{
5158
5236
  originalFilename: string;
5159
5237
  }[] | undefined>;
5160
5238
  createdAtLocation: string;
5239
+ assignedTo: null;
5161
5240
  annotation?: Record<string, string | number | boolean | {
5162
5241
  type: string;
5163
5242
  filename: string;
@@ -5201,8 +5280,10 @@ export declare const EventDocument: z.ZodObject<{
5201
5280
  type: "UNASSIGN";
5202
5281
  id: string;
5203
5282
  status: "Rejected" | "Requested" | "Accepted";
5283
+ transactionId: string;
5204
5284
  createdAt: string;
5205
5285
  createdBy: string;
5286
+ createdByRole: string;
5206
5287
  declaration: Record<string, string | number | boolean | {
5207
5288
  type: string;
5208
5289
  filename: string;
@@ -5242,6 +5323,7 @@ export declare const EventDocument: z.ZodObject<{
5242
5323
  originalFilename: string;
5243
5324
  }[] | undefined>;
5244
5325
  createdAtLocation: string;
5326
+ assignedTo: null;
5245
5327
  annotation?: Record<string, string | number | boolean | {
5246
5328
  type: string;
5247
5329
  filename: string;
@@ -5283,8 +5365,10 @@ export declare const EventDocument: z.ZodObject<{
5283
5365
  originalActionId?: string | undefined;
5284
5366
  }>, z.ZodObject<z.objectUtil.extendShape<{
5285
5367
  id: z.ZodString;
5368
+ transactionId: z.ZodString;
5286
5369
  createdAt: z.ZodString;
5287
5370
  createdBy: z.ZodString;
5371
+ createdByRole: z.ZodString;
5288
5372
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5289
5373
  filename: z.ZodString;
5290
5374
  originalFilename: z.ZodString;
@@ -5522,8 +5606,10 @@ export declare const EventDocument: z.ZodObject<{
5522
5606
  type: "PRINT_CERTIFICATE";
5523
5607
  id: string;
5524
5608
  status: "Rejected" | "Requested" | "Accepted";
5609
+ transactionId: string;
5525
5610
  createdAt: string;
5526
5611
  createdBy: string;
5612
+ createdByRole: string;
5527
5613
  declaration: Record<string, string | number | boolean | {
5528
5614
  type: string;
5529
5615
  filename: string;
@@ -5606,8 +5692,10 @@ export declare const EventDocument: z.ZodObject<{
5606
5692
  type: "PRINT_CERTIFICATE";
5607
5693
  id: string;
5608
5694
  status: "Rejected" | "Requested" | "Accepted";
5695
+ transactionId: string;
5609
5696
  createdAt: string;
5610
5697
  createdBy: string;
5698
+ createdByRole: string;
5611
5699
  declaration: Record<string, string | number | boolean | {
5612
5700
  type: string;
5613
5701
  filename: string;
@@ -5688,8 +5776,10 @@ export declare const EventDocument: z.ZodObject<{
5688
5776
  originalActionId?: string | undefined;
5689
5777
  }>, z.ZodObject<z.objectUtil.extendShape<{
5690
5778
  id: z.ZodString;
5779
+ transactionId: z.ZodString;
5691
5780
  createdAt: z.ZodString;
5692
5781
  createdBy: z.ZodString;
5782
+ createdByRole: z.ZodString;
5693
5783
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5694
5784
  filename: z.ZodString;
5695
5785
  originalFilename: z.ZodString;
@@ -5927,8 +6017,10 @@ export declare const EventDocument: z.ZodObject<{
5927
6017
  type: "READ";
5928
6018
  id: string;
5929
6019
  status: "Rejected" | "Requested" | "Accepted";
6020
+ transactionId: string;
5930
6021
  createdAt: string;
5931
6022
  createdBy: string;
6023
+ createdByRole: string;
5932
6024
  declaration: Record<string, string | number | boolean | {
5933
6025
  type: string;
5934
6026
  filename: string;
@@ -6011,8 +6103,10 @@ export declare const EventDocument: z.ZodObject<{
6011
6103
  type: "READ";
6012
6104
  id: string;
6013
6105
  status: "Rejected" | "Requested" | "Accepted";
6106
+ transactionId: string;
6014
6107
  createdAt: string;
6015
6108
  createdBy: string;
6109
+ createdByRole: string;
6016
6110
  declaration: Record<string, string | number | boolean | {
6017
6111
  type: string;
6018
6112
  filename: string;
@@ -6093,8 +6187,10 @@ export declare const EventDocument: z.ZodObject<{
6093
6187
  originalActionId?: string | undefined;
6094
6188
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6095
6189
  id: z.ZodString;
6190
+ transactionId: z.ZodString;
6096
6191
  createdAt: z.ZodString;
6097
6192
  createdBy: z.ZodString;
6193
+ createdByRole: z.ZodString;
6098
6194
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6099
6195
  filename: z.ZodString;
6100
6196
  originalFilename: z.ZodString;
@@ -6326,19 +6422,21 @@ export declare const EventDocument: z.ZodObject<{
6326
6422
  createdAtLocation: z.ZodString;
6327
6423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6328
6424
  originalActionId: z.ZodOptional<z.ZodString>;
6329
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6425
+ }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
6330
6426
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6331
6427
  status: z.ZodLiteral<"Rejected">;
6332
6428
  }>, "strip", z.ZodTypeAny, {
6333
6429
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6334
6430
  id: string;
6335
6431
  status: "Rejected";
6432
+ transactionId: string;
6336
6433
  createdAt: string;
6337
6434
  originalActionId?: string | undefined;
6338
6435
  }, {
6339
6436
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6340
6437
  id: string;
6341
6438
  status: "Rejected";
6439
+ transactionId: string;
6342
6440
  createdAt: string;
6343
6441
  originalActionId?: string | undefined;
6344
6442
  }>]>, "many">;
@@ -6348,12 +6446,15 @@ export declare const EventDocument: z.ZodObject<{
6348
6446
  id: string;
6349
6447
  createdAt: string;
6350
6448
  updatedAt: string;
6449
+ updatedAtLocation: string;
6351
6450
  actions: ({
6352
6451
  type: "ASSIGN";
6353
6452
  id: string;
6354
6453
  status: "Rejected" | "Requested" | "Accepted";
6454
+ transactionId: string;
6355
6455
  createdAt: string;
6356
6456
  createdBy: string;
6457
+ createdByRole: string;
6357
6458
  declaration: Record<string, string | number | boolean | {
6358
6459
  type: string;
6359
6460
  filename: string;
@@ -6437,8 +6538,10 @@ export declare const EventDocument: z.ZodObject<{
6437
6538
  type: "UNASSIGN";
6438
6539
  id: string;
6439
6540
  status: "Rejected" | "Requested" | "Accepted";
6541
+ transactionId: string;
6440
6542
  createdAt: string;
6441
6543
  createdBy: string;
6544
+ createdByRole: string;
6442
6545
  declaration: Record<string, string | number | boolean | {
6443
6546
  type: string;
6444
6547
  filename: string;
@@ -6478,6 +6581,7 @@ export declare const EventDocument: z.ZodObject<{
6478
6581
  originalFilename: string;
6479
6582
  }[] | undefined>;
6480
6583
  createdAtLocation: string;
6584
+ assignedTo: null;
6481
6585
  annotation?: Record<string, string | number | boolean | {
6482
6586
  type: string;
6483
6587
  filename: string;
@@ -6521,8 +6625,10 @@ export declare const EventDocument: z.ZodObject<{
6521
6625
  type: "REGISTER";
6522
6626
  id: string;
6523
6627
  status: "Rejected" | "Requested" | "Accepted";
6628
+ transactionId: string;
6524
6629
  createdAt: string;
6525
6630
  createdBy: string;
6631
+ createdByRole: string;
6526
6632
  declaration: Record<string, string | number | boolean | {
6527
6633
  type: string;
6528
6634
  filename: string;
@@ -6606,8 +6712,10 @@ export declare const EventDocument: z.ZodObject<{
6606
6712
  type: "DECLARE";
6607
6713
  id: string;
6608
6714
  status: "Rejected" | "Requested" | "Accepted";
6715
+ transactionId: string;
6609
6716
  createdAt: string;
6610
6717
  createdBy: string;
6718
+ createdByRole: string;
6611
6719
  declaration: Record<string, string | number | boolean | {
6612
6720
  type: string;
6613
6721
  filename: string;
@@ -6690,8 +6798,10 @@ export declare const EventDocument: z.ZodObject<{
6690
6798
  type: "VALIDATE";
6691
6799
  id: string;
6692
6800
  status: "Rejected" | "Requested" | "Accepted";
6801
+ transactionId: string;
6693
6802
  createdAt: string;
6694
6803
  createdBy: string;
6804
+ createdByRole: string;
6695
6805
  declaration: Record<string, string | number | boolean | {
6696
6806
  type: string;
6697
6807
  filename: string;
@@ -6774,8 +6884,10 @@ export declare const EventDocument: z.ZodObject<{
6774
6884
  type: "REJECT";
6775
6885
  id: string;
6776
6886
  status: "Rejected" | "Requested" | "Accepted";
6887
+ transactionId: string;
6777
6888
  createdAt: string;
6778
6889
  createdBy: string;
6890
+ createdByRole: string;
6779
6891
  declaration: Record<string, string | number | boolean | {
6780
6892
  type: string;
6781
6893
  filename: string;
@@ -6858,8 +6970,10 @@ export declare const EventDocument: z.ZodObject<{
6858
6970
  type: "MARKED_AS_DUPLICATE";
6859
6971
  id: string;
6860
6972
  status: "Rejected" | "Requested" | "Accepted";
6973
+ transactionId: string;
6861
6974
  createdAt: string;
6862
6975
  createdBy: string;
6976
+ createdByRole: string;
6863
6977
  declaration: Record<string, string | number | boolean | {
6864
6978
  type: string;
6865
6979
  filename: string;
@@ -6942,8 +7056,10 @@ export declare const EventDocument: z.ZodObject<{
6942
7056
  type: "ARCHIVE";
6943
7057
  id: string;
6944
7058
  status: "Rejected" | "Requested" | "Accepted";
7059
+ transactionId: string;
6945
7060
  createdAt: string;
6946
7061
  createdBy: string;
7062
+ createdByRole: string;
6947
7063
  declaration: Record<string, string | number | boolean | {
6948
7064
  type: string;
6949
7065
  filename: string;
@@ -7026,8 +7142,10 @@ export declare const EventDocument: z.ZodObject<{
7026
7142
  type: "CREATE";
7027
7143
  id: string;
7028
7144
  status: "Rejected" | "Requested" | "Accepted";
7145
+ transactionId: string;
7029
7146
  createdAt: string;
7030
7147
  createdBy: string;
7148
+ createdByRole: string;
7031
7149
  declaration: Record<string, string | number | boolean | {
7032
7150
  type: string;
7033
7151
  filename: string;
@@ -7110,8 +7228,10 @@ export declare const EventDocument: z.ZodObject<{
7110
7228
  type: "NOTIFY";
7111
7229
  id: string;
7112
7230
  status: "Rejected" | "Requested" | "Accepted";
7231
+ transactionId: string;
7113
7232
  createdAt: string;
7114
7233
  createdBy: string;
7234
+ createdByRole: string;
7115
7235
  declaration: Record<string, string | number | boolean | {
7116
7236
  type: string;
7117
7237
  filename: string;
@@ -7194,8 +7314,10 @@ export declare const EventDocument: z.ZodObject<{
7194
7314
  type: "PRINT_CERTIFICATE";
7195
7315
  id: string;
7196
7316
  status: "Rejected" | "Requested" | "Accepted";
7317
+ transactionId: string;
7197
7318
  createdAt: string;
7198
7319
  createdBy: string;
7320
+ createdByRole: string;
7199
7321
  declaration: Record<string, string | number | boolean | {
7200
7322
  type: string;
7201
7323
  filename: string;
@@ -7278,8 +7400,10 @@ export declare const EventDocument: z.ZodObject<{
7278
7400
  type: "REQUEST_CORRECTION";
7279
7401
  id: string;
7280
7402
  status: "Rejected" | "Requested" | "Accepted";
7403
+ transactionId: string;
7281
7404
  createdAt: string;
7282
7405
  createdBy: string;
7406
+ createdByRole: string;
7283
7407
  declaration: Record<string, string | number | boolean | {
7284
7408
  type: string;
7285
7409
  filename: string;
@@ -7362,8 +7486,10 @@ export declare const EventDocument: z.ZodObject<{
7362
7486
  type: "APPROVE_CORRECTION";
7363
7487
  id: string;
7364
7488
  status: "Rejected" | "Requested" | "Accepted";
7489
+ transactionId: string;
7365
7490
  createdAt: string;
7366
7491
  createdBy: string;
7492
+ createdByRole: string;
7367
7493
  declaration: Record<string, string | number | boolean | {
7368
7494
  type: string;
7369
7495
  filename: string;
@@ -7447,8 +7573,10 @@ export declare const EventDocument: z.ZodObject<{
7447
7573
  type: "REJECT_CORRECTION";
7448
7574
  id: string;
7449
7575
  status: "Rejected" | "Requested" | "Accepted";
7576
+ transactionId: string;
7450
7577
  createdAt: string;
7451
7578
  createdBy: string;
7579
+ createdByRole: string;
7452
7580
  declaration: Record<string, string | number | boolean | {
7453
7581
  type: string;
7454
7582
  filename: string;
@@ -7532,8 +7660,10 @@ export declare const EventDocument: z.ZodObject<{
7532
7660
  type: "READ";
7533
7661
  id: string;
7534
7662
  status: "Rejected" | "Requested" | "Accepted";
7663
+ transactionId: string;
7535
7664
  createdAt: string;
7536
7665
  createdBy: string;
7666
+ createdByRole: string;
7537
7667
  declaration: Record<string, string | number | boolean | {
7538
7668
  type: string;
7539
7669
  filename: string;
@@ -7616,6 +7746,7 @@ export declare const EventDocument: z.ZodObject<{
7616
7746
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7617
7747
  id: string;
7618
7748
  status: "Rejected";
7749
+ transactionId: string;
7619
7750
  createdAt: string;
7620
7751
  originalActionId?: string | undefined;
7621
7752
  })[];
@@ -7625,12 +7756,15 @@ export declare const EventDocument: z.ZodObject<{
7625
7756
  id: string;
7626
7757
  createdAt: string;
7627
7758
  updatedAt: string;
7759
+ updatedAtLocation: string;
7628
7760
  actions: ({
7629
7761
  type: "ASSIGN";
7630
7762
  id: string;
7631
7763
  status: "Rejected" | "Requested" | "Accepted";
7764
+ transactionId: string;
7632
7765
  createdAt: string;
7633
7766
  createdBy: string;
7767
+ createdByRole: string;
7634
7768
  declaration: Record<string, string | number | boolean | {
7635
7769
  type: string;
7636
7770
  filename: string;
@@ -7714,8 +7848,10 @@ export declare const EventDocument: z.ZodObject<{
7714
7848
  type: "UNASSIGN";
7715
7849
  id: string;
7716
7850
  status: "Rejected" | "Requested" | "Accepted";
7851
+ transactionId: string;
7717
7852
  createdAt: string;
7718
7853
  createdBy: string;
7854
+ createdByRole: string;
7719
7855
  declaration: Record<string, string | number | boolean | {
7720
7856
  type: string;
7721
7857
  filename: string;
@@ -7755,6 +7891,7 @@ export declare const EventDocument: z.ZodObject<{
7755
7891
  originalFilename: string;
7756
7892
  }[] | undefined>;
7757
7893
  createdAtLocation: string;
7894
+ assignedTo: null;
7758
7895
  annotation?: Record<string, string | number | boolean | {
7759
7896
  type: string;
7760
7897
  filename: string;
@@ -7798,8 +7935,10 @@ export declare const EventDocument: z.ZodObject<{
7798
7935
  type: "REGISTER";
7799
7936
  id: string;
7800
7937
  status: "Rejected" | "Requested" | "Accepted";
7938
+ transactionId: string;
7801
7939
  createdAt: string;
7802
7940
  createdBy: string;
7941
+ createdByRole: string;
7803
7942
  declaration: Record<string, string | number | boolean | {
7804
7943
  type: string;
7805
7944
  filename: string;
@@ -7883,8 +8022,10 @@ export declare const EventDocument: z.ZodObject<{
7883
8022
  type: "DECLARE";
7884
8023
  id: string;
7885
8024
  status: "Rejected" | "Requested" | "Accepted";
8025
+ transactionId: string;
7886
8026
  createdAt: string;
7887
8027
  createdBy: string;
8028
+ createdByRole: string;
7888
8029
  declaration: Record<string, string | number | boolean | {
7889
8030
  type: string;
7890
8031
  filename: string;
@@ -7967,8 +8108,10 @@ export declare const EventDocument: z.ZodObject<{
7967
8108
  type: "VALIDATE";
7968
8109
  id: string;
7969
8110
  status: "Rejected" | "Requested" | "Accepted";
8111
+ transactionId: string;
7970
8112
  createdAt: string;
7971
8113
  createdBy: string;
8114
+ createdByRole: string;
7972
8115
  declaration: Record<string, string | number | boolean | {
7973
8116
  type: string;
7974
8117
  filename: string;
@@ -8051,8 +8194,10 @@ export declare const EventDocument: z.ZodObject<{
8051
8194
  type: "REJECT";
8052
8195
  id: string;
8053
8196
  status: "Rejected" | "Requested" | "Accepted";
8197
+ transactionId: string;
8054
8198
  createdAt: string;
8055
8199
  createdBy: string;
8200
+ createdByRole: string;
8056
8201
  declaration: Record<string, string | number | boolean | {
8057
8202
  type: string;
8058
8203
  filename: string;
@@ -8135,8 +8280,10 @@ export declare const EventDocument: z.ZodObject<{
8135
8280
  type: "MARKED_AS_DUPLICATE";
8136
8281
  id: string;
8137
8282
  status: "Rejected" | "Requested" | "Accepted";
8283
+ transactionId: string;
8138
8284
  createdAt: string;
8139
8285
  createdBy: string;
8286
+ createdByRole: string;
8140
8287
  declaration: Record<string, string | number | boolean | {
8141
8288
  type: string;
8142
8289
  filename: string;
@@ -8219,8 +8366,10 @@ export declare const EventDocument: z.ZodObject<{
8219
8366
  type: "ARCHIVE";
8220
8367
  id: string;
8221
8368
  status: "Rejected" | "Requested" | "Accepted";
8369
+ transactionId: string;
8222
8370
  createdAt: string;
8223
8371
  createdBy: string;
8372
+ createdByRole: string;
8224
8373
  declaration: Record<string, string | number | boolean | {
8225
8374
  type: string;
8226
8375
  filename: string;
@@ -8303,8 +8452,10 @@ export declare const EventDocument: z.ZodObject<{
8303
8452
  type: "CREATE";
8304
8453
  id: string;
8305
8454
  status: "Rejected" | "Requested" | "Accepted";
8455
+ transactionId: string;
8306
8456
  createdAt: string;
8307
8457
  createdBy: string;
8458
+ createdByRole: string;
8308
8459
  declaration: Record<string, string | number | boolean | {
8309
8460
  type: string;
8310
8461
  filename: string;
@@ -8387,8 +8538,10 @@ export declare const EventDocument: z.ZodObject<{
8387
8538
  type: "NOTIFY";
8388
8539
  id: string;
8389
8540
  status: "Rejected" | "Requested" | "Accepted";
8541
+ transactionId: string;
8390
8542
  createdAt: string;
8391
8543
  createdBy: string;
8544
+ createdByRole: string;
8392
8545
  declaration: Record<string, string | number | boolean | {
8393
8546
  type: string;
8394
8547
  filename: string;
@@ -8471,8 +8624,10 @@ export declare const EventDocument: z.ZodObject<{
8471
8624
  type: "PRINT_CERTIFICATE";
8472
8625
  id: string;
8473
8626
  status: "Rejected" | "Requested" | "Accepted";
8627
+ transactionId: string;
8474
8628
  createdAt: string;
8475
8629
  createdBy: string;
8630
+ createdByRole: string;
8476
8631
  declaration: Record<string, string | number | boolean | {
8477
8632
  type: string;
8478
8633
  filename: string;
@@ -8555,8 +8710,10 @@ export declare const EventDocument: z.ZodObject<{
8555
8710
  type: "REQUEST_CORRECTION";
8556
8711
  id: string;
8557
8712
  status: "Rejected" | "Requested" | "Accepted";
8713
+ transactionId: string;
8558
8714
  createdAt: string;
8559
8715
  createdBy: string;
8716
+ createdByRole: string;
8560
8717
  declaration: Record<string, string | number | boolean | {
8561
8718
  type: string;
8562
8719
  filename: string;
@@ -8639,8 +8796,10 @@ export declare const EventDocument: z.ZodObject<{
8639
8796
  type: "APPROVE_CORRECTION";
8640
8797
  id: string;
8641
8798
  status: "Rejected" | "Requested" | "Accepted";
8799
+ transactionId: string;
8642
8800
  createdAt: string;
8643
8801
  createdBy: string;
8802
+ createdByRole: string;
8644
8803
  declaration: Record<string, string | number | boolean | {
8645
8804
  type: string;
8646
8805
  filename: string;
@@ -8724,8 +8883,10 @@ export declare const EventDocument: z.ZodObject<{
8724
8883
  type: "REJECT_CORRECTION";
8725
8884
  id: string;
8726
8885
  status: "Rejected" | "Requested" | "Accepted";
8886
+ transactionId: string;
8727
8887
  createdAt: string;
8728
8888
  createdBy: string;
8889
+ createdByRole: string;
8729
8890
  declaration: Record<string, string | number | boolean | {
8730
8891
  type: string;
8731
8892
  filename: string;
@@ -8809,8 +8970,10 @@ export declare const EventDocument: z.ZodObject<{
8809
8970
  type: "READ";
8810
8971
  id: string;
8811
8972
  status: "Rejected" | "Requested" | "Accepted";
8973
+ transactionId: string;
8812
8974
  createdAt: string;
8813
8975
  createdBy: string;
8976
+ createdByRole: string;
8814
8977
  declaration: Record<string, string | number | boolean | {
8815
8978
  type: string;
8816
8979
  filename: string;
@@ -8893,6 +9056,7 @@ export declare const EventDocument: z.ZodObject<{
8893
9056
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8894
9057
  id: string;
8895
9058
  status: "Rejected";
9059
+ transactionId: string;
8896
9060
  createdAt: string;
8897
9061
  originalActionId?: string | undefined;
8898
9062
  })[];