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

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