@opencrvs/toolkit 1.8.0-rc.fde984c → 1.8.0-rc.fe4d9d5
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.
- package/dist/commons/api/router.d.ts +4652 -128
- package/dist/commons/conditionals/validate.d.ts +5 -0
- package/dist/commons/events/ActionDocument.d.ts +105 -0
- package/dist/commons/events/ActionType.d.ts +6 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +254 -168
- package/dist/commons/events/Draft.d.ts +5 -0
- package/dist/commons/events/EventDocument.d.ts +80 -0
- package/dist/commons/events/EventIndex.d.ts +596 -160
- package/dist/commons/events/EventMetadata.d.ts +35 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +1959 -470
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +1 -2
- package/dist/commons/events/test.utils.d.ts +13 -0
- package/dist/commons/events/utils.d.ts +1 -0
- package/dist/events/index.js +870 -539
- package/dist/scopes/index.d.ts +4 -1
- package/dist/scopes/index.js +67 -17
- package/package.json +1 -1
@@ -7,6 +7,7 @@ export declare const Draft: z.ZodObject<{
|
|
7
7
|
action: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
8
8
|
id: z.ZodString;
|
9
9
|
transactionId: z.ZodString;
|
10
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
10
11
|
createdAt: z.ZodString;
|
11
12
|
createdBy: z.ZodString;
|
12
13
|
createdByRole: z.ZodString;
|
@@ -272,6 +273,7 @@ export declare const Draft: z.ZodObject<{
|
|
272
273
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
273
274
|
status: "Rejected" | "Requested" | "Accepted";
|
274
275
|
transactionId: string;
|
276
|
+
createdByUserType: "system" | "user";
|
275
277
|
createdAt: string;
|
276
278
|
createdBy: string;
|
277
279
|
createdByRole: string;
|
@@ -366,6 +368,7 @@ export declare const Draft: z.ZodObject<{
|
|
366
368
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
367
369
|
status: "Rejected" | "Requested" | "Accepted";
|
368
370
|
transactionId: string;
|
371
|
+
createdByUserType: "system" | "user";
|
369
372
|
createdAt: string;
|
370
373
|
createdBy: string;
|
371
374
|
createdByRole: string;
|
@@ -466,6 +469,7 @@ export declare const Draft: z.ZodObject<{
|
|
466
469
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
467
470
|
status: "Rejected" | "Requested" | "Accepted";
|
468
471
|
transactionId: string;
|
472
|
+
createdByUserType: "system" | "user";
|
469
473
|
createdAt: string;
|
470
474
|
createdBy: string;
|
471
475
|
createdByRole: string;
|
@@ -566,6 +570,7 @@ export declare const Draft: z.ZodObject<{
|
|
566
570
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
567
571
|
status: "Rejected" | "Requested" | "Accepted";
|
568
572
|
transactionId: string;
|
573
|
+
createdByUserType: "system" | "user";
|
569
574
|
createdAt: string;
|
570
575
|
createdBy: string;
|
571
576
|
createdByRole: string;
|
@@ -7,6 +7,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7
7
|
actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
8
8
|
id: z.ZodString;
|
9
9
|
transactionId: z.ZodString;
|
10
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
10
11
|
createdAt: z.ZodString;
|
11
12
|
createdBy: z.ZodString;
|
12
13
|
createdByRole: z.ZodString;
|
@@ -273,6 +274,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
273
274
|
id: string;
|
274
275
|
status: "Rejected" | "Requested" | "Accepted";
|
275
276
|
transactionId: string;
|
277
|
+
createdByUserType: "system" | "user";
|
276
278
|
createdAt: string;
|
277
279
|
createdBy: string;
|
278
280
|
createdByRole: string;
|
@@ -368,6 +370,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
368
370
|
id: string;
|
369
371
|
status: "Rejected" | "Requested" | "Accepted";
|
370
372
|
transactionId: string;
|
373
|
+
createdByUserType: "system" | "user";
|
371
374
|
createdAt: string;
|
372
375
|
createdBy: string;
|
373
376
|
createdByRole: string;
|
@@ -461,6 +464,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
461
464
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
462
465
|
id: z.ZodString;
|
463
466
|
transactionId: z.ZodString;
|
467
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
464
468
|
createdAt: z.ZodString;
|
465
469
|
createdBy: z.ZodString;
|
466
470
|
createdByRole: z.ZodString;
|
@@ -727,6 +731,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
727
731
|
id: string;
|
728
732
|
status: "Rejected" | "Requested" | "Accepted";
|
729
733
|
transactionId: string;
|
734
|
+
createdByUserType: "system" | "user";
|
730
735
|
createdAt: string;
|
731
736
|
createdBy: string;
|
732
737
|
createdByRole: string;
|
@@ -822,6 +827,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
822
827
|
id: string;
|
823
828
|
status: "Rejected" | "Requested" | "Accepted";
|
824
829
|
transactionId: string;
|
830
|
+
createdByUserType: "system" | "user";
|
825
831
|
createdAt: string;
|
826
832
|
createdBy: string;
|
827
833
|
createdByRole: string;
|
@@ -915,6 +921,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
915
921
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
916
922
|
id: z.ZodString;
|
917
923
|
transactionId: z.ZodString;
|
924
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
918
925
|
createdAt: z.ZodString;
|
919
926
|
createdBy: z.ZodString;
|
920
927
|
createdByRole: z.ZodString;
|
@@ -1195,6 +1202,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1195
1202
|
isDuplicate?: boolean | undefined;
|
1196
1203
|
};
|
1197
1204
|
transactionId: string;
|
1205
|
+
createdByUserType: "system" | "user";
|
1198
1206
|
createdAt: string;
|
1199
1207
|
createdBy: string;
|
1200
1208
|
createdByRole: string;
|
@@ -1294,6 +1302,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1294
1302
|
isDuplicate?: boolean | undefined;
|
1295
1303
|
};
|
1296
1304
|
transactionId: string;
|
1305
|
+
createdByUserType: "system" | "user";
|
1297
1306
|
createdAt: string;
|
1298
1307
|
createdBy: string;
|
1299
1308
|
createdByRole: string;
|
@@ -1387,6 +1396,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1387
1396
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1388
1397
|
id: z.ZodString;
|
1389
1398
|
transactionId: z.ZodString;
|
1399
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
1390
1400
|
createdAt: z.ZodString;
|
1391
1401
|
createdBy: z.ZodString;
|
1392
1402
|
createdByRole: z.ZodString;
|
@@ -1653,6 +1663,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1653
1663
|
id: string;
|
1654
1664
|
status: "Rejected" | "Requested" | "Accepted";
|
1655
1665
|
transactionId: string;
|
1666
|
+
createdByUserType: "system" | "user";
|
1656
1667
|
createdAt: string;
|
1657
1668
|
createdBy: string;
|
1658
1669
|
createdByRole: string;
|
@@ -1748,6 +1759,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1748
1759
|
id: string;
|
1749
1760
|
status: "Rejected" | "Requested" | "Accepted";
|
1750
1761
|
transactionId: string;
|
1762
|
+
createdByUserType: "system" | "user";
|
1751
1763
|
createdAt: string;
|
1752
1764
|
createdBy: string;
|
1753
1765
|
createdByRole: string;
|
@@ -1841,6 +1853,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1841
1853
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1842
1854
|
id: z.ZodString;
|
1843
1855
|
transactionId: z.ZodString;
|
1856
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
1844
1857
|
createdAt: z.ZodString;
|
1845
1858
|
createdBy: z.ZodString;
|
1846
1859
|
createdByRole: z.ZodString;
|
@@ -2121,6 +2134,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2121
2134
|
isDuplicate?: boolean | undefined;
|
2122
2135
|
};
|
2123
2136
|
transactionId: string;
|
2137
|
+
createdByUserType: "system" | "user";
|
2124
2138
|
createdAt: string;
|
2125
2139
|
createdBy: string;
|
2126
2140
|
createdByRole: string;
|
@@ -2220,6 +2234,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2220
2234
|
isDuplicate?: boolean | undefined;
|
2221
2235
|
};
|
2222
2236
|
transactionId: string;
|
2237
|
+
createdByUserType: "system" | "user";
|
2223
2238
|
createdAt: string;
|
2224
2239
|
createdBy: string;
|
2225
2240
|
createdByRole: string;
|
@@ -2313,6 +2328,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2313
2328
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2314
2329
|
id: z.ZodString;
|
2315
2330
|
transactionId: z.ZodString;
|
2331
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
2316
2332
|
createdAt: z.ZodString;
|
2317
2333
|
createdBy: z.ZodString;
|
2318
2334
|
createdByRole: z.ZodString;
|
@@ -2579,6 +2595,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2579
2595
|
id: string;
|
2580
2596
|
status: "Rejected" | "Requested" | "Accepted";
|
2581
2597
|
transactionId: string;
|
2598
|
+
createdByUserType: "system" | "user";
|
2582
2599
|
createdAt: string;
|
2583
2600
|
createdBy: string;
|
2584
2601
|
createdByRole: string;
|
@@ -2674,6 +2691,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2674
2691
|
id: string;
|
2675
2692
|
status: "Rejected" | "Requested" | "Accepted";
|
2676
2693
|
transactionId: string;
|
2694
|
+
createdByUserType: "system" | "user";
|
2677
2695
|
createdAt: string;
|
2678
2696
|
createdBy: string;
|
2679
2697
|
createdByRole: string;
|
@@ -2767,6 +2785,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2767
2785
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2768
2786
|
id: z.ZodString;
|
2769
2787
|
transactionId: z.ZodString;
|
2788
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
2770
2789
|
createdAt: z.ZodString;
|
2771
2790
|
createdBy: z.ZodString;
|
2772
2791
|
createdByRole: z.ZodString;
|
@@ -3034,6 +3053,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3034
3053
|
id: string;
|
3035
3054
|
status: "Rejected" | "Requested" | "Accepted";
|
3036
3055
|
transactionId: string;
|
3056
|
+
createdByUserType: "system" | "user";
|
3037
3057
|
createdAt: string;
|
3038
3058
|
createdBy: string;
|
3039
3059
|
createdByRole: string;
|
@@ -3130,6 +3150,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3130
3150
|
id: string;
|
3131
3151
|
status: "Rejected" | "Requested" | "Accepted";
|
3132
3152
|
transactionId: string;
|
3153
|
+
createdByUserType: "system" | "user";
|
3133
3154
|
createdAt: string;
|
3134
3155
|
createdBy: string;
|
3135
3156
|
createdByRole: string;
|
@@ -3224,6 +3245,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3224
3245
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3225
3246
|
id: z.ZodString;
|
3226
3247
|
transactionId: z.ZodString;
|
3248
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
3227
3249
|
createdAt: z.ZodString;
|
3228
3250
|
createdBy: z.ZodString;
|
3229
3251
|
createdByRole: z.ZodString;
|
@@ -3490,6 +3512,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3490
3512
|
id: string;
|
3491
3513
|
status: "Rejected" | "Requested" | "Accepted";
|
3492
3514
|
transactionId: string;
|
3515
|
+
createdByUserType: "system" | "user";
|
3493
3516
|
createdAt: string;
|
3494
3517
|
createdBy: string;
|
3495
3518
|
createdByRole: string;
|
@@ -3585,6 +3608,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3585
3608
|
id: string;
|
3586
3609
|
status: "Rejected" | "Requested" | "Accepted";
|
3587
3610
|
transactionId: string;
|
3611
|
+
createdByUserType: "system" | "user";
|
3588
3612
|
createdAt: string;
|
3589
3613
|
createdBy: string;
|
3590
3614
|
createdByRole: string;
|
@@ -3678,6 +3702,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3678
3702
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3679
3703
|
id: z.ZodString;
|
3680
3704
|
transactionId: z.ZodString;
|
3705
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
3681
3706
|
createdAt: z.ZodString;
|
3682
3707
|
createdBy: z.ZodString;
|
3683
3708
|
createdByRole: z.ZodString;
|
@@ -3945,6 +3970,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3945
3970
|
id: string;
|
3946
3971
|
status: "Rejected" | "Requested" | "Accepted";
|
3947
3972
|
transactionId: string;
|
3973
|
+
createdByUserType: "system" | "user";
|
3948
3974
|
createdAt: string;
|
3949
3975
|
createdBy: string;
|
3950
3976
|
createdByRole: string;
|
@@ -4041,6 +4067,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4041
4067
|
id: string;
|
4042
4068
|
status: "Rejected" | "Requested" | "Accepted";
|
4043
4069
|
transactionId: string;
|
4070
|
+
createdByUserType: "system" | "user";
|
4044
4071
|
createdAt: string;
|
4045
4072
|
createdBy: string;
|
4046
4073
|
createdByRole: string;
|
@@ -4135,6 +4162,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4135
4162
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4136
4163
|
id: z.ZodString;
|
4137
4164
|
transactionId: z.ZodString;
|
4165
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
4138
4166
|
createdAt: z.ZodString;
|
4139
4167
|
createdBy: z.ZodString;
|
4140
4168
|
createdByRole: z.ZodString;
|
@@ -4401,6 +4429,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4401
4429
|
id: string;
|
4402
4430
|
status: "Rejected" | "Requested" | "Accepted";
|
4403
4431
|
transactionId: string;
|
4432
|
+
createdByUserType: "system" | "user";
|
4404
4433
|
createdAt: string;
|
4405
4434
|
createdBy: string;
|
4406
4435
|
createdByRole: string;
|
@@ -4496,6 +4525,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4496
4525
|
id: string;
|
4497
4526
|
status: "Rejected" | "Requested" | "Accepted";
|
4498
4527
|
transactionId: string;
|
4528
|
+
createdByUserType: "system" | "user";
|
4499
4529
|
createdAt: string;
|
4500
4530
|
createdBy: string;
|
4501
4531
|
createdByRole: string;
|
@@ -4589,6 +4619,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4589
4619
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4590
4620
|
id: z.ZodString;
|
4591
4621
|
transactionId: z.ZodString;
|
4622
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
4592
4623
|
createdAt: z.ZodString;
|
4593
4624
|
createdBy: z.ZodString;
|
4594
4625
|
createdByRole: z.ZodString;
|
@@ -4856,6 +4887,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4856
4887
|
id: string;
|
4857
4888
|
status: "Rejected" | "Requested" | "Accepted";
|
4858
4889
|
transactionId: string;
|
4890
|
+
createdByUserType: "system" | "user";
|
4859
4891
|
createdAt: string;
|
4860
4892
|
createdBy: string;
|
4861
4893
|
createdByRole: string;
|
@@ -4952,6 +4984,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4952
4984
|
id: string;
|
4953
4985
|
status: "Rejected" | "Requested" | "Accepted";
|
4954
4986
|
transactionId: string;
|
4987
|
+
createdByUserType: "system" | "user";
|
4955
4988
|
createdAt: string;
|
4956
4989
|
createdBy: string;
|
4957
4990
|
createdByRole: string;
|
@@ -5046,6 +5079,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5046
5079
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5047
5080
|
id: z.ZodString;
|
5048
5081
|
transactionId: z.ZodString;
|
5082
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
5049
5083
|
createdAt: z.ZodString;
|
5050
5084
|
createdBy: z.ZodString;
|
5051
5085
|
createdByRole: z.ZodString;
|
@@ -5313,6 +5347,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5313
5347
|
id: string;
|
5314
5348
|
status: "Rejected" | "Requested" | "Accepted";
|
5315
5349
|
transactionId: string;
|
5350
|
+
createdByUserType: "system" | "user";
|
5316
5351
|
createdAt: string;
|
5317
5352
|
createdBy: string;
|
5318
5353
|
createdByRole: string;
|
@@ -5409,6 +5444,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5409
5444
|
id: string;
|
5410
5445
|
status: "Rejected" | "Requested" | "Accepted";
|
5411
5446
|
transactionId: string;
|
5447
|
+
createdByUserType: "system" | "user";
|
5412
5448
|
createdAt: string;
|
5413
5449
|
createdBy: string;
|
5414
5450
|
createdByRole: string;
|
@@ -5503,6 +5539,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5503
5539
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5504
5540
|
id: z.ZodString;
|
5505
5541
|
transactionId: z.ZodString;
|
5542
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
5506
5543
|
createdAt: z.ZodString;
|
5507
5544
|
createdBy: z.ZodString;
|
5508
5545
|
createdByRole: z.ZodString;
|
@@ -5770,6 +5807,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5770
5807
|
id: string;
|
5771
5808
|
status: "Rejected" | "Requested" | "Accepted";
|
5772
5809
|
transactionId: string;
|
5810
|
+
createdByUserType: "system" | "user";
|
5773
5811
|
createdAt: string;
|
5774
5812
|
createdBy: string;
|
5775
5813
|
createdByRole: string;
|
@@ -5866,6 +5904,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5866
5904
|
id: string;
|
5867
5905
|
status: "Rejected" | "Requested" | "Accepted";
|
5868
5906
|
transactionId: string;
|
5907
|
+
createdByUserType: "system" | "user";
|
5869
5908
|
createdAt: string;
|
5870
5909
|
createdBy: string;
|
5871
5910
|
createdByRole: string;
|
@@ -5960,6 +5999,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5960
5999
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5961
6000
|
id: z.ZodString;
|
5962
6001
|
transactionId: z.ZodString;
|
6002
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
5963
6003
|
createdAt: z.ZodString;
|
5964
6004
|
createdBy: z.ZodString;
|
5965
6005
|
createdByRole: z.ZodString;
|
@@ -6226,6 +6266,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
6226
6266
|
id: string;
|
6227
6267
|
status: "Rejected" | "Requested" | "Accepted";
|
6228
6268
|
transactionId: string;
|
6269
|
+
createdByUserType: "system" | "user";
|
6229
6270
|
createdAt: string;
|
6230
6271
|
createdBy: string;
|
6231
6272
|
createdByRole: string;
|
@@ -6321,6 +6362,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
6321
6362
|
id: string;
|
6322
6363
|
status: "Rejected" | "Requested" | "Accepted";
|
6323
6364
|
transactionId: string;
|
6365
|
+
createdByUserType: "system" | "user";
|
6324
6366
|
createdAt: string;
|
6325
6367
|
createdBy: string;
|
6326
6368
|
createdByRole: string;
|
@@ -6414,6 +6456,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
6414
6456
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6415
6457
|
id: z.ZodString;
|
6416
6458
|
transactionId: z.ZodString;
|
6459
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
6417
6460
|
createdAt: z.ZodString;
|
6418
6461
|
createdBy: z.ZodString;
|
6419
6462
|
createdByRole: z.ZodString;
|
@@ -6680,6 +6723,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
6680
6723
|
id: string;
|
6681
6724
|
status: "Rejected" | "Requested" | "Accepted";
|
6682
6725
|
transactionId: string;
|
6726
|
+
createdByUserType: "system" | "user";
|
6683
6727
|
createdAt: string;
|
6684
6728
|
createdBy: string;
|
6685
6729
|
createdByRole: string;
|
@@ -6775,6 +6819,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
6775
6819
|
id: string;
|
6776
6820
|
status: "Rejected" | "Requested" | "Accepted";
|
6777
6821
|
transactionId: string;
|
6822
|
+
createdByUserType: "system" | "user";
|
6778
6823
|
createdAt: string;
|
6779
6824
|
createdBy: string;
|
6780
6825
|
createdByRole: string;
|
@@ -6868,6 +6913,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
6868
6913
|
}>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
6869
6914
|
id: z.ZodString;
|
6870
6915
|
transactionId: z.ZodString;
|
6916
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
6871
6917
|
createdAt: z.ZodString;
|
6872
6918
|
createdBy: z.ZodString;
|
6873
6919
|
createdByRole: z.ZodString;
|
@@ -7135,6 +7181,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7135
7181
|
id: string;
|
7136
7182
|
status: "Rejected";
|
7137
7183
|
transactionId: string;
|
7184
|
+
createdByUserType: "system" | "user";
|
7138
7185
|
createdAt: string;
|
7139
7186
|
createdBy: string;
|
7140
7187
|
createdByRole: string;
|
@@ -7146,6 +7193,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7146
7193
|
id: string;
|
7147
7194
|
status: "Rejected";
|
7148
7195
|
transactionId: string;
|
7196
|
+
createdByUserType: "system" | "user";
|
7149
7197
|
createdAt: string;
|
7150
7198
|
createdBy: string;
|
7151
7199
|
createdByRole: string;
|
@@ -7164,6 +7212,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7164
7212
|
id: string;
|
7165
7213
|
status: "Rejected" | "Requested" | "Accepted";
|
7166
7214
|
transactionId: string;
|
7215
|
+
createdByUserType: "system" | "user";
|
7167
7216
|
createdAt: string;
|
7168
7217
|
createdBy: string;
|
7169
7218
|
createdByRole: string;
|
@@ -7260,6 +7309,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7260
7309
|
id: string;
|
7261
7310
|
status: "Rejected" | "Requested" | "Accepted";
|
7262
7311
|
transactionId: string;
|
7312
|
+
createdByUserType: "system" | "user";
|
7263
7313
|
createdAt: string;
|
7264
7314
|
createdBy: string;
|
7265
7315
|
createdByRole: string;
|
@@ -7356,6 +7406,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7356
7406
|
id: string;
|
7357
7407
|
status: "Rejected" | "Requested" | "Accepted";
|
7358
7408
|
transactionId: string;
|
7409
|
+
createdByUserType: "system" | "user";
|
7359
7410
|
createdAt: string;
|
7360
7411
|
createdBy: string;
|
7361
7412
|
createdByRole: string;
|
@@ -7452,6 +7503,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7452
7503
|
id: string;
|
7453
7504
|
status: "Rejected" | "Requested" | "Accepted";
|
7454
7505
|
transactionId: string;
|
7506
|
+
createdByUserType: "system" | "user";
|
7455
7507
|
createdAt: string;
|
7456
7508
|
createdBy: string;
|
7457
7509
|
createdByRole: string;
|
@@ -7547,6 +7599,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7547
7599
|
id: string;
|
7548
7600
|
status: "Rejected" | "Requested" | "Accepted";
|
7549
7601
|
transactionId: string;
|
7602
|
+
createdByUserType: "system" | "user";
|
7550
7603
|
createdAt: string;
|
7551
7604
|
createdBy: string;
|
7552
7605
|
createdByRole: string;
|
@@ -7646,6 +7699,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7646
7699
|
isDuplicate?: boolean | undefined;
|
7647
7700
|
};
|
7648
7701
|
transactionId: string;
|
7702
|
+
createdByUserType: "system" | "user";
|
7649
7703
|
createdAt: string;
|
7650
7704
|
createdBy: string;
|
7651
7705
|
createdByRole: string;
|
@@ -7741,6 +7795,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7741
7795
|
id: string;
|
7742
7796
|
status: "Rejected" | "Requested" | "Accepted";
|
7743
7797
|
transactionId: string;
|
7798
|
+
createdByUserType: "system" | "user";
|
7744
7799
|
createdAt: string;
|
7745
7800
|
createdBy: string;
|
7746
7801
|
createdByRole: string;
|
@@ -7840,6 +7895,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7840
7895
|
isDuplicate?: boolean | undefined;
|
7841
7896
|
};
|
7842
7897
|
transactionId: string;
|
7898
|
+
createdByUserType: "system" | "user";
|
7843
7899
|
createdAt: string;
|
7844
7900
|
createdBy: string;
|
7845
7901
|
createdByRole: string;
|
@@ -7935,6 +7991,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
7935
7991
|
id: string;
|
7936
7992
|
status: "Rejected" | "Requested" | "Accepted";
|
7937
7993
|
transactionId: string;
|
7994
|
+
createdByUserType: "system" | "user";
|
7938
7995
|
createdAt: string;
|
7939
7996
|
createdBy: string;
|
7940
7997
|
createdByRole: string;
|
@@ -8030,6 +8087,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8030
8087
|
id: string;
|
8031
8088
|
status: "Rejected" | "Requested" | "Accepted";
|
8032
8089
|
transactionId: string;
|
8090
|
+
createdByUserType: "system" | "user";
|
8033
8091
|
createdAt: string;
|
8034
8092
|
createdBy: string;
|
8035
8093
|
createdByRole: string;
|
@@ -8125,6 +8183,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8125
8183
|
id: string;
|
8126
8184
|
status: "Rejected" | "Requested" | "Accepted";
|
8127
8185
|
transactionId: string;
|
8186
|
+
createdByUserType: "system" | "user";
|
8128
8187
|
createdAt: string;
|
8129
8188
|
createdBy: string;
|
8130
8189
|
createdByRole: string;
|
@@ -8220,6 +8279,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8220
8279
|
id: string;
|
8221
8280
|
status: "Rejected" | "Requested" | "Accepted";
|
8222
8281
|
transactionId: string;
|
8282
|
+
createdByUserType: "system" | "user";
|
8223
8283
|
createdAt: string;
|
8224
8284
|
createdBy: string;
|
8225
8285
|
createdByRole: string;
|
@@ -8315,6 +8375,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8315
8375
|
id: string;
|
8316
8376
|
status: "Rejected" | "Requested" | "Accepted";
|
8317
8377
|
transactionId: string;
|
8378
|
+
createdByUserType: "system" | "user";
|
8318
8379
|
createdAt: string;
|
8319
8380
|
createdBy: string;
|
8320
8381
|
createdByRole: string;
|
@@ -8411,6 +8472,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8411
8472
|
id: string;
|
8412
8473
|
status: "Rejected" | "Requested" | "Accepted";
|
8413
8474
|
transactionId: string;
|
8475
|
+
createdByUserType: "system" | "user";
|
8414
8476
|
createdAt: string;
|
8415
8477
|
createdBy: string;
|
8416
8478
|
createdByRole: string;
|
@@ -8507,6 +8569,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8507
8569
|
id: string;
|
8508
8570
|
status: "Rejected" | "Requested" | "Accepted";
|
8509
8571
|
transactionId: string;
|
8572
|
+
createdByUserType: "system" | "user";
|
8510
8573
|
createdAt: string;
|
8511
8574
|
createdBy: string;
|
8512
8575
|
createdByRole: string;
|
@@ -8602,6 +8665,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8602
8665
|
id: string;
|
8603
8666
|
status: "Rejected";
|
8604
8667
|
transactionId: string;
|
8668
|
+
createdByUserType: "system" | "user";
|
8605
8669
|
createdAt: string;
|
8606
8670
|
createdBy: string;
|
8607
8671
|
createdByRole: string;
|
@@ -8620,6 +8684,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8620
8684
|
id: string;
|
8621
8685
|
status: "Rejected" | "Requested" | "Accepted";
|
8622
8686
|
transactionId: string;
|
8687
|
+
createdByUserType: "system" | "user";
|
8623
8688
|
createdAt: string;
|
8624
8689
|
createdBy: string;
|
8625
8690
|
createdByRole: string;
|
@@ -8716,6 +8781,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8716
8781
|
id: string;
|
8717
8782
|
status: "Rejected" | "Requested" | "Accepted";
|
8718
8783
|
transactionId: string;
|
8784
|
+
createdByUserType: "system" | "user";
|
8719
8785
|
createdAt: string;
|
8720
8786
|
createdBy: string;
|
8721
8787
|
createdByRole: string;
|
@@ -8812,6 +8878,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8812
8878
|
id: string;
|
8813
8879
|
status: "Rejected" | "Requested" | "Accepted";
|
8814
8880
|
transactionId: string;
|
8881
|
+
createdByUserType: "system" | "user";
|
8815
8882
|
createdAt: string;
|
8816
8883
|
createdBy: string;
|
8817
8884
|
createdByRole: string;
|
@@ -8908,6 +8975,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
8908
8975
|
id: string;
|
8909
8976
|
status: "Rejected" | "Requested" | "Accepted";
|
8910
8977
|
transactionId: string;
|
8978
|
+
createdByUserType: "system" | "user";
|
8911
8979
|
createdAt: string;
|
8912
8980
|
createdBy: string;
|
8913
8981
|
createdByRole: string;
|
@@ -9003,6 +9071,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9003
9071
|
id: string;
|
9004
9072
|
status: "Rejected" | "Requested" | "Accepted";
|
9005
9073
|
transactionId: string;
|
9074
|
+
createdByUserType: "system" | "user";
|
9006
9075
|
createdAt: string;
|
9007
9076
|
createdBy: string;
|
9008
9077
|
createdByRole: string;
|
@@ -9102,6 +9171,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9102
9171
|
isDuplicate?: boolean | undefined;
|
9103
9172
|
};
|
9104
9173
|
transactionId: string;
|
9174
|
+
createdByUserType: "system" | "user";
|
9105
9175
|
createdAt: string;
|
9106
9176
|
createdBy: string;
|
9107
9177
|
createdByRole: string;
|
@@ -9197,6 +9267,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9197
9267
|
id: string;
|
9198
9268
|
status: "Rejected" | "Requested" | "Accepted";
|
9199
9269
|
transactionId: string;
|
9270
|
+
createdByUserType: "system" | "user";
|
9200
9271
|
createdAt: string;
|
9201
9272
|
createdBy: string;
|
9202
9273
|
createdByRole: string;
|
@@ -9296,6 +9367,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9296
9367
|
isDuplicate?: boolean | undefined;
|
9297
9368
|
};
|
9298
9369
|
transactionId: string;
|
9370
|
+
createdByUserType: "system" | "user";
|
9299
9371
|
createdAt: string;
|
9300
9372
|
createdBy: string;
|
9301
9373
|
createdByRole: string;
|
@@ -9391,6 +9463,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9391
9463
|
id: string;
|
9392
9464
|
status: "Rejected" | "Requested" | "Accepted";
|
9393
9465
|
transactionId: string;
|
9466
|
+
createdByUserType: "system" | "user";
|
9394
9467
|
createdAt: string;
|
9395
9468
|
createdBy: string;
|
9396
9469
|
createdByRole: string;
|
@@ -9486,6 +9559,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9486
9559
|
id: string;
|
9487
9560
|
status: "Rejected" | "Requested" | "Accepted";
|
9488
9561
|
transactionId: string;
|
9562
|
+
createdByUserType: "system" | "user";
|
9489
9563
|
createdAt: string;
|
9490
9564
|
createdBy: string;
|
9491
9565
|
createdByRole: string;
|
@@ -9581,6 +9655,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9581
9655
|
id: string;
|
9582
9656
|
status: "Rejected" | "Requested" | "Accepted";
|
9583
9657
|
transactionId: string;
|
9658
|
+
createdByUserType: "system" | "user";
|
9584
9659
|
createdAt: string;
|
9585
9660
|
createdBy: string;
|
9586
9661
|
createdByRole: string;
|
@@ -9676,6 +9751,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9676
9751
|
id: string;
|
9677
9752
|
status: "Rejected" | "Requested" | "Accepted";
|
9678
9753
|
transactionId: string;
|
9754
|
+
createdByUserType: "system" | "user";
|
9679
9755
|
createdAt: string;
|
9680
9756
|
createdBy: string;
|
9681
9757
|
createdByRole: string;
|
@@ -9771,6 +9847,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9771
9847
|
id: string;
|
9772
9848
|
status: "Rejected" | "Requested" | "Accepted";
|
9773
9849
|
transactionId: string;
|
9850
|
+
createdByUserType: "system" | "user";
|
9774
9851
|
createdAt: string;
|
9775
9852
|
createdBy: string;
|
9776
9853
|
createdByRole: string;
|
@@ -9867,6 +9944,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9867
9944
|
id: string;
|
9868
9945
|
status: "Rejected" | "Requested" | "Accepted";
|
9869
9946
|
transactionId: string;
|
9947
|
+
createdByUserType: "system" | "user";
|
9870
9948
|
createdAt: string;
|
9871
9949
|
createdBy: string;
|
9872
9950
|
createdByRole: string;
|
@@ -9963,6 +10041,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
9963
10041
|
id: string;
|
9964
10042
|
status: "Rejected" | "Requested" | "Accepted";
|
9965
10043
|
transactionId: string;
|
10044
|
+
createdByUserType: "system" | "user";
|
9966
10045
|
createdAt: string;
|
9967
10046
|
createdBy: string;
|
9968
10047
|
createdByRole: string;
|
@@ -10058,6 +10137,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
10058
10137
|
id: string;
|
10059
10138
|
status: "Rejected";
|
10060
10139
|
transactionId: string;
|
10140
|
+
createdByUserType: "system" | "user";
|
10061
10141
|
createdAt: string;
|
10062
10142
|
createdBy: string;
|
10063
10143
|
createdByRole: string;
|