@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.
@@ -280,6 +280,7 @@ export type ActionStatus = keyof typeof ActionStatus;
280
280
  export declare const ActionBase: z.ZodObject<{
281
281
  id: z.ZodString;
282
282
  transactionId: z.ZodString;
283
+ createdByUserType: z.ZodEnum<["user", "system"]>;
283
284
  createdAt: z.ZodString;
284
285
  createdBy: z.ZodString;
285
286
  createdByRole: z.ZodString;
@@ -543,6 +544,7 @@ export declare const ActionBase: z.ZodObject<{
543
544
  id: string;
544
545
  status: "Rejected" | "Requested" | "Accepted";
545
546
  transactionId: string;
547
+ createdByUserType: "system" | "user";
546
548
  createdAt: string;
547
549
  createdBy: string;
548
550
  createdByRole: string;
@@ -637,6 +639,7 @@ export declare const ActionBase: z.ZodObject<{
637
639
  id: string;
638
640
  status: "Rejected" | "Requested" | "Accepted";
639
641
  transactionId: string;
642
+ createdByUserType: "system" | "user";
640
643
  createdAt: string;
641
644
  createdBy: string;
642
645
  createdByRole: string;
@@ -732,6 +735,7 @@ export type ActionBase = z.infer<typeof ActionBase>;
732
735
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
733
736
  id: z.ZodString;
734
737
  transactionId: z.ZodString;
738
+ createdByUserType: z.ZodEnum<["user", "system"]>;
735
739
  createdAt: z.ZodString;
736
740
  createdBy: z.ZodString;
737
741
  createdByRole: z.ZodString;
@@ -999,6 +1003,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
999
1003
  id: string;
1000
1004
  status: "Rejected" | "Requested" | "Accepted";
1001
1005
  transactionId: string;
1006
+ createdByUserType: "system" | "user";
1002
1007
  createdAt: string;
1003
1008
  createdBy: string;
1004
1009
  createdByRole: string;
@@ -1095,6 +1100,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1095
1100
  id: string;
1096
1101
  status: "Rejected" | "Requested" | "Accepted";
1097
1102
  transactionId: string;
1103
+ createdByUserType: "system" | "user";
1098
1104
  createdAt: string;
1099
1105
  createdBy: string;
1100
1106
  createdByRole: string;
@@ -1201,6 +1207,7 @@ export declare const RejectionReason: z.ZodObject<{
1201
1207
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1202
1208
  id: z.ZodString;
1203
1209
  transactionId: z.ZodString;
1210
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1204
1211
  createdAt: z.ZodString;
1205
1212
  createdBy: z.ZodString;
1206
1213
  createdByRole: z.ZodString;
@@ -1467,6 +1474,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1467
1474
  id: string;
1468
1475
  status: "Rejected" | "Requested" | "Accepted";
1469
1476
  transactionId: string;
1477
+ createdByUserType: "system" | "user";
1470
1478
  createdAt: string;
1471
1479
  createdBy: string;
1472
1480
  createdByRole: string;
@@ -1562,6 +1570,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1562
1570
  id: string;
1563
1571
  status: "Rejected" | "Requested" | "Accepted";
1564
1572
  transactionId: string;
1573
+ createdByUserType: "system" | "user";
1565
1574
  createdAt: string;
1566
1575
  createdBy: string;
1567
1576
  createdByRole: string;
@@ -1656,6 +1665,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1656
1665
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1657
1666
  id: z.ZodString;
1658
1667
  transactionId: z.ZodString;
1668
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1659
1669
  createdAt: z.ZodString;
1660
1670
  createdBy: z.ZodString;
1661
1671
  createdByRole: z.ZodString;
@@ -1922,6 +1932,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1922
1932
  id: string;
1923
1933
  status: "Rejected" | "Requested" | "Accepted";
1924
1934
  transactionId: string;
1935
+ createdByUserType: "system" | "user";
1925
1936
  createdAt: string;
1926
1937
  createdBy: string;
1927
1938
  createdByRole: string;
@@ -2017,6 +2028,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2017
2028
  id: string;
2018
2029
  status: "Rejected" | "Requested" | "Accepted";
2019
2030
  transactionId: string;
2031
+ createdByUserType: "system" | "user";
2020
2032
  createdAt: string;
2021
2033
  createdBy: string;
2022
2034
  createdByRole: string;
@@ -2110,6 +2122,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2110
2122
  }>, z.ZodObject<z.objectUtil.extendShape<{
2111
2123
  id: z.ZodString;
2112
2124
  transactionId: z.ZodString;
2125
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2113
2126
  createdAt: z.ZodString;
2114
2127
  createdBy: z.ZodString;
2115
2128
  createdByRole: z.ZodString;
@@ -2376,6 +2389,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2376
2389
  id: string;
2377
2390
  status: "Rejected" | "Requested" | "Accepted";
2378
2391
  transactionId: string;
2392
+ createdByUserType: "system" | "user";
2379
2393
  createdAt: string;
2380
2394
  createdBy: string;
2381
2395
  createdByRole: string;
@@ -2471,6 +2485,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2471
2485
  id: string;
2472
2486
  status: "Rejected" | "Requested" | "Accepted";
2473
2487
  transactionId: string;
2488
+ createdByUserType: "system" | "user";
2474
2489
  createdAt: string;
2475
2490
  createdBy: string;
2476
2491
  createdByRole: string;
@@ -2564,6 +2579,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2564
2579
  }>, z.ZodObject<z.objectUtil.extendShape<{
2565
2580
  id: z.ZodString;
2566
2581
  transactionId: z.ZodString;
2582
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2567
2583
  createdAt: z.ZodString;
2568
2584
  createdBy: z.ZodString;
2569
2585
  createdByRole: z.ZodString;
@@ -2844,6 +2860,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2844
2860
  isDuplicate?: boolean | undefined;
2845
2861
  };
2846
2862
  transactionId: string;
2863
+ createdByUserType: "system" | "user";
2847
2864
  createdAt: string;
2848
2865
  createdBy: string;
2849
2866
  createdByRole: string;
@@ -2943,6 +2960,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2943
2960
  isDuplicate?: boolean | undefined;
2944
2961
  };
2945
2962
  transactionId: string;
2963
+ createdByUserType: "system" | "user";
2946
2964
  createdAt: string;
2947
2965
  createdBy: string;
2948
2966
  createdByRole: string;
@@ -3036,6 +3054,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3036
3054
  }>, z.ZodObject<z.objectUtil.extendShape<{
3037
3055
  id: z.ZodString;
3038
3056
  transactionId: z.ZodString;
3057
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3039
3058
  createdAt: z.ZodString;
3040
3059
  createdBy: z.ZodString;
3041
3060
  createdByRole: z.ZodString;
@@ -3302,6 +3321,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3302
3321
  id: string;
3303
3322
  status: "Rejected" | "Requested" | "Accepted";
3304
3323
  transactionId: string;
3324
+ createdByUserType: "system" | "user";
3305
3325
  createdAt: string;
3306
3326
  createdBy: string;
3307
3327
  createdByRole: string;
@@ -3397,6 +3417,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3397
3417
  id: string;
3398
3418
  status: "Rejected" | "Requested" | "Accepted";
3399
3419
  transactionId: string;
3420
+ createdByUserType: "system" | "user";
3400
3421
  createdAt: string;
3401
3422
  createdBy: string;
3402
3423
  createdByRole: string;
@@ -3490,6 +3511,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3490
3511
  }>, z.ZodObject<z.objectUtil.extendShape<{
3491
3512
  id: z.ZodString;
3492
3513
  transactionId: z.ZodString;
3514
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3493
3515
  createdAt: z.ZodString;
3494
3516
  createdBy: z.ZodString;
3495
3517
  createdByRole: z.ZodString;
@@ -3770,6 +3792,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3770
3792
  isDuplicate?: boolean | undefined;
3771
3793
  };
3772
3794
  transactionId: string;
3795
+ createdByUserType: "system" | "user";
3773
3796
  createdAt: string;
3774
3797
  createdBy: string;
3775
3798
  createdByRole: string;
@@ -3869,6 +3892,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3869
3892
  isDuplicate?: boolean | undefined;
3870
3893
  };
3871
3894
  transactionId: string;
3895
+ createdByUserType: "system" | "user";
3872
3896
  createdAt: string;
3873
3897
  createdBy: string;
3874
3898
  createdByRole: string;
@@ -3962,6 +3986,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3962
3986
  }>, z.ZodObject<z.objectUtil.extendShape<{
3963
3987
  id: z.ZodString;
3964
3988
  transactionId: z.ZodString;
3989
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3965
3990
  createdAt: z.ZodString;
3966
3991
  createdBy: z.ZodString;
3967
3992
  createdByRole: z.ZodString;
@@ -4228,6 +4253,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4228
4253
  id: string;
4229
4254
  status: "Rejected" | "Requested" | "Accepted";
4230
4255
  transactionId: string;
4256
+ createdByUserType: "system" | "user";
4231
4257
  createdAt: string;
4232
4258
  createdBy: string;
4233
4259
  createdByRole: string;
@@ -4323,6 +4349,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4323
4349
  id: string;
4324
4350
  status: "Rejected" | "Requested" | "Accepted";
4325
4351
  transactionId: string;
4352
+ createdByUserType: "system" | "user";
4326
4353
  createdAt: string;
4327
4354
  createdBy: string;
4328
4355
  createdByRole: string;
@@ -4416,6 +4443,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4416
4443
  }>, z.ZodObject<z.objectUtil.extendShape<{
4417
4444
  id: z.ZodString;
4418
4445
  transactionId: z.ZodString;
4446
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4419
4447
  createdAt: z.ZodString;
4420
4448
  createdBy: z.ZodString;
4421
4449
  createdByRole: z.ZodString;
@@ -4683,6 +4711,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4683
4711
  id: string;
4684
4712
  status: "Rejected" | "Requested" | "Accepted";
4685
4713
  transactionId: string;
4714
+ createdByUserType: "system" | "user";
4686
4715
  createdAt: string;
4687
4716
  createdBy: string;
4688
4717
  createdByRole: string;
@@ -4779,6 +4808,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4779
4808
  id: string;
4780
4809
  status: "Rejected" | "Requested" | "Accepted";
4781
4810
  transactionId: string;
4811
+ createdByUserType: "system" | "user";
4782
4812
  createdAt: string;
4783
4813
  createdBy: string;
4784
4814
  createdByRole: string;
@@ -4873,6 +4903,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4873
4903
  }>, z.ZodObject<z.objectUtil.extendShape<{
4874
4904
  id: z.ZodString;
4875
4905
  transactionId: z.ZodString;
4906
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4876
4907
  createdAt: z.ZodString;
4877
4908
  createdBy: z.ZodString;
4878
4909
  createdByRole: z.ZodString;
@@ -5139,6 +5170,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5139
5170
  id: string;
5140
5171
  status: "Rejected" | "Requested" | "Accepted";
5141
5172
  transactionId: string;
5173
+ createdByUserType: "system" | "user";
5142
5174
  createdAt: string;
5143
5175
  createdBy: string;
5144
5176
  createdByRole: string;
@@ -5234,6 +5266,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5234
5266
  id: string;
5235
5267
  status: "Rejected" | "Requested" | "Accepted";
5236
5268
  transactionId: string;
5269
+ createdByUserType: "system" | "user";
5237
5270
  createdAt: string;
5238
5271
  createdBy: string;
5239
5272
  createdByRole: string;
@@ -5327,6 +5360,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5327
5360
  }>, z.ZodObject<z.objectUtil.extendShape<{
5328
5361
  id: z.ZodString;
5329
5362
  transactionId: z.ZodString;
5363
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5330
5364
  createdAt: z.ZodString;
5331
5365
  createdBy: z.ZodString;
5332
5366
  createdByRole: z.ZodString;
@@ -5594,6 +5628,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5594
5628
  id: string;
5595
5629
  status: "Rejected" | "Requested" | "Accepted";
5596
5630
  transactionId: string;
5631
+ createdByUserType: "system" | "user";
5597
5632
  createdAt: string;
5598
5633
  createdBy: string;
5599
5634
  createdByRole: string;
@@ -5690,6 +5725,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5690
5725
  id: string;
5691
5726
  status: "Rejected" | "Requested" | "Accepted";
5692
5727
  transactionId: string;
5728
+ createdByUserType: "system" | "user";
5693
5729
  createdAt: string;
5694
5730
  createdBy: string;
5695
5731
  createdByRole: string;
@@ -5784,6 +5820,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5784
5820
  }>, z.ZodObject<z.objectUtil.extendShape<{
5785
5821
  id: z.ZodString;
5786
5822
  transactionId: z.ZodString;
5823
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5787
5824
  createdAt: z.ZodString;
5788
5825
  createdBy: z.ZodString;
5789
5826
  createdByRole: z.ZodString;
@@ -6050,6 +6087,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6050
6087
  id: string;
6051
6088
  status: "Rejected" | "Requested" | "Accepted";
6052
6089
  transactionId: string;
6090
+ createdByUserType: "system" | "user";
6053
6091
  createdAt: string;
6054
6092
  createdBy: string;
6055
6093
  createdByRole: string;
@@ -6145,6 +6183,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6145
6183
  id: string;
6146
6184
  status: "Rejected" | "Requested" | "Accepted";
6147
6185
  transactionId: string;
6186
+ createdByUserType: "system" | "user";
6148
6187
  createdAt: string;
6149
6188
  createdBy: string;
6150
6189
  createdByRole: string;
@@ -6238,6 +6277,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6238
6277
  }>, z.ZodObject<z.objectUtil.extendShape<{
6239
6278
  id: z.ZodString;
6240
6279
  transactionId: z.ZodString;
6280
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6241
6281
  createdAt: z.ZodString;
6242
6282
  createdBy: z.ZodString;
6243
6283
  createdByRole: z.ZodString;
@@ -6505,6 +6545,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6505
6545
  id: string;
6506
6546
  status: "Rejected" | "Requested" | "Accepted";
6507
6547
  transactionId: string;
6548
+ createdByUserType: "system" | "user";
6508
6549
  createdAt: string;
6509
6550
  createdBy: string;
6510
6551
  createdByRole: string;
@@ -6601,6 +6642,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6601
6642
  id: string;
6602
6643
  status: "Rejected" | "Requested" | "Accepted";
6603
6644
  transactionId: string;
6645
+ createdByUserType: "system" | "user";
6604
6646
  createdAt: string;
6605
6647
  createdBy: string;
6606
6648
  createdByRole: string;
@@ -6695,6 +6737,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6695
6737
  }>, z.ZodObject<z.objectUtil.extendShape<{
6696
6738
  id: z.ZodString;
6697
6739
  transactionId: z.ZodString;
6740
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6698
6741
  createdAt: z.ZodString;
6699
6742
  createdBy: z.ZodString;
6700
6743
  createdByRole: z.ZodString;
@@ -6962,6 +7005,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6962
7005
  id: string;
6963
7006
  status: "Rejected" | "Requested" | "Accepted";
6964
7007
  transactionId: string;
7008
+ createdByUserType: "system" | "user";
6965
7009
  createdAt: string;
6966
7010
  createdBy: string;
6967
7011
  createdByRole: string;
@@ -7058,6 +7102,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7058
7102
  id: string;
7059
7103
  status: "Rejected" | "Requested" | "Accepted";
7060
7104
  transactionId: string;
7105
+ createdByUserType: "system" | "user";
7061
7106
  createdAt: string;
7062
7107
  createdBy: string;
7063
7108
  createdByRole: string;
@@ -7152,6 +7197,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7152
7197
  }>, z.ZodObject<z.objectUtil.extendShape<{
7153
7198
  id: z.ZodString;
7154
7199
  transactionId: z.ZodString;
7200
+ createdByUserType: z.ZodEnum<["user", "system"]>;
7155
7201
  createdAt: z.ZodString;
7156
7202
  createdBy: z.ZodString;
7157
7203
  createdByRole: z.ZodString;
@@ -7419,6 +7465,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7419
7465
  id: string;
7420
7466
  status: "Rejected" | "Requested" | "Accepted";
7421
7467
  transactionId: string;
7468
+ createdByUserType: "system" | "user";
7422
7469
  createdAt: string;
7423
7470
  createdBy: string;
7424
7471
  createdByRole: string;
@@ -7515,6 +7562,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7515
7562
  id: string;
7516
7563
  status: "Rejected" | "Requested" | "Accepted";
7517
7564
  transactionId: string;
7565
+ createdByUserType: "system" | "user";
7518
7566
  createdAt: string;
7519
7567
  createdBy: string;
7520
7568
  createdByRole: string;
@@ -7609,6 +7657,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7609
7657
  }>, z.ZodObject<z.objectUtil.extendShape<{
7610
7658
  id: z.ZodString;
7611
7659
  transactionId: z.ZodString;
7660
+ createdByUserType: z.ZodEnum<["user", "system"]>;
7612
7661
  createdAt: z.ZodString;
7613
7662
  createdBy: z.ZodString;
7614
7663
  createdByRole: z.ZodString;
@@ -7875,6 +7924,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7875
7924
  id: string;
7876
7925
  status: "Rejected" | "Requested" | "Accepted";
7877
7926
  transactionId: string;
7927
+ createdByUserType: "system" | "user";
7878
7928
  createdAt: string;
7879
7929
  createdBy: string;
7880
7930
  createdByRole: string;
@@ -7970,6 +8020,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7970
8020
  id: string;
7971
8021
  status: "Rejected" | "Requested" | "Accepted";
7972
8022
  transactionId: string;
8023
+ createdByUserType: "system" | "user";
7973
8024
  createdAt: string;
7974
8025
  createdBy: string;
7975
8026
  createdByRole: string;
@@ -8063,6 +8114,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8063
8114
  }>, z.ZodObject<z.objectUtil.extendShape<{
8064
8115
  id: z.ZodString;
8065
8116
  transactionId: z.ZodString;
8117
+ createdByUserType: z.ZodEnum<["user", "system"]>;
8066
8118
  createdAt: z.ZodString;
8067
8119
  createdBy: z.ZodString;
8068
8120
  createdByRole: z.ZodString;
@@ -8329,6 +8381,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8329
8381
  id: string;
8330
8382
  status: "Rejected" | "Requested" | "Accepted";
8331
8383
  transactionId: string;
8384
+ createdByUserType: "system" | "user";
8332
8385
  createdAt: string;
8333
8386
  createdBy: string;
8334
8387
  createdByRole: string;
@@ -8424,6 +8477,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8424
8477
  id: string;
8425
8478
  status: "Rejected" | "Requested" | "Accepted";
8426
8479
  transactionId: string;
8480
+ createdByUserType: "system" | "user";
8427
8481
  createdAt: string;
8428
8482
  createdBy: string;
8429
8483
  createdByRole: string;
@@ -8519,6 +8573,7 @@ export type ActionDocument = z.infer<typeof ActionDocument>;
8519
8573
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
8520
8574
  id: z.ZodString;
8521
8575
  transactionId: z.ZodString;
8576
+ createdByUserType: z.ZodEnum<["user", "system"]>;
8522
8577
  createdAt: z.ZodString;
8523
8578
  createdBy: z.ZodString;
8524
8579
  createdByRole: z.ZodString;
@@ -8786,6 +8841,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8786
8841
  id: string;
8787
8842
  status: "Rejected";
8788
8843
  transactionId: string;
8844
+ createdByUserType: "system" | "user";
8789
8845
  createdAt: string;
8790
8846
  createdBy: string;
8791
8847
  createdByRole: string;
@@ -8797,6 +8853,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8797
8853
  id: string;
8798
8854
  status: "Rejected";
8799
8855
  transactionId: string;
8856
+ createdByUserType: "system" | "user";
8800
8857
  createdAt: string;
8801
8858
  createdBy: string;
8802
8859
  createdByRole: string;
@@ -8808,6 +8865,7 @@ export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument
8808
8865
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8809
8866
  id: z.ZodString;
8810
8867
  transactionId: z.ZodString;
8868
+ createdByUserType: z.ZodEnum<["user", "system"]>;
8811
8869
  createdAt: z.ZodString;
8812
8870
  createdBy: z.ZodString;
8813
8871
  createdByRole: z.ZodString;
@@ -9074,6 +9132,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9074
9132
  id: string;
9075
9133
  status: "Rejected" | "Requested" | "Accepted";
9076
9134
  transactionId: string;
9135
+ createdByUserType: "system" | "user";
9077
9136
  createdAt: string;
9078
9137
  createdBy: string;
9079
9138
  createdByRole: string;
@@ -9169,6 +9228,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9169
9228
  id: string;
9170
9229
  status: "Rejected" | "Requested" | "Accepted";
9171
9230
  transactionId: string;
9231
+ createdByUserType: "system" | "user";
9172
9232
  createdAt: string;
9173
9233
  createdBy: string;
9174
9234
  createdByRole: string;
@@ -9262,6 +9322,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9262
9322
  }>, z.ZodObject<z.objectUtil.extendShape<{
9263
9323
  id: z.ZodString;
9264
9324
  transactionId: z.ZodString;
9325
+ createdByUserType: z.ZodEnum<["user", "system"]>;
9265
9326
  createdAt: z.ZodString;
9266
9327
  createdBy: z.ZodString;
9267
9328
  createdByRole: z.ZodString;
@@ -9528,6 +9589,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9528
9589
  id: string;
9529
9590
  status: "Rejected" | "Requested" | "Accepted";
9530
9591
  transactionId: string;
9592
+ createdByUserType: "system" | "user";
9531
9593
  createdAt: string;
9532
9594
  createdBy: string;
9533
9595
  createdByRole: string;
@@ -9623,6 +9685,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9623
9685
  id: string;
9624
9686
  status: "Rejected" | "Requested" | "Accepted";
9625
9687
  transactionId: string;
9688
+ createdByUserType: "system" | "user";
9626
9689
  createdAt: string;
9627
9690
  createdBy: string;
9628
9691
  createdByRole: string;
@@ -9716,6 +9779,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9716
9779
  }>, z.ZodObject<z.objectUtil.extendShape<{
9717
9780
  id: z.ZodString;
9718
9781
  transactionId: z.ZodString;
9782
+ createdByUserType: z.ZodEnum<["user", "system"]>;
9719
9783
  createdAt: z.ZodString;
9720
9784
  createdBy: z.ZodString;
9721
9785
  createdByRole: z.ZodString;
@@ -9996,6 +10060,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9996
10060
  isDuplicate?: boolean | undefined;
9997
10061
  };
9998
10062
  transactionId: string;
10063
+ createdByUserType: "system" | "user";
9999
10064
  createdAt: string;
10000
10065
  createdBy: string;
10001
10066
  createdByRole: string;
@@ -10095,6 +10160,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10095
10160
  isDuplicate?: boolean | undefined;
10096
10161
  };
10097
10162
  transactionId: string;
10163
+ createdByUserType: "system" | "user";
10098
10164
  createdAt: string;
10099
10165
  createdBy: string;
10100
10166
  createdByRole: string;
@@ -10188,6 +10254,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10188
10254
  }>, z.ZodObject<z.objectUtil.extendShape<{
10189
10255
  id: z.ZodString;
10190
10256
  transactionId: z.ZodString;
10257
+ createdByUserType: z.ZodEnum<["user", "system"]>;
10191
10258
  createdAt: z.ZodString;
10192
10259
  createdBy: z.ZodString;
10193
10260
  createdByRole: z.ZodString;
@@ -10454,6 +10521,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10454
10521
  id: string;
10455
10522
  status: "Rejected" | "Requested" | "Accepted";
10456
10523
  transactionId: string;
10524
+ createdByUserType: "system" | "user";
10457
10525
  createdAt: string;
10458
10526
  createdBy: string;
10459
10527
  createdByRole: string;
@@ -10549,6 +10617,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10549
10617
  id: string;
10550
10618
  status: "Rejected" | "Requested" | "Accepted";
10551
10619
  transactionId: string;
10620
+ createdByUserType: "system" | "user";
10552
10621
  createdAt: string;
10553
10622
  createdBy: string;
10554
10623
  createdByRole: string;
@@ -10642,6 +10711,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10642
10711
  }>, z.ZodObject<z.objectUtil.extendShape<{
10643
10712
  id: z.ZodString;
10644
10713
  transactionId: z.ZodString;
10714
+ createdByUserType: z.ZodEnum<["user", "system"]>;
10645
10715
  createdAt: z.ZodString;
10646
10716
  createdBy: z.ZodString;
10647
10717
  createdByRole: z.ZodString;
@@ -10922,6 +10992,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10922
10992
  isDuplicate?: boolean | undefined;
10923
10993
  };
10924
10994
  transactionId: string;
10995
+ createdByUserType: "system" | "user";
10925
10996
  createdAt: string;
10926
10997
  createdBy: string;
10927
10998
  createdByRole: string;
@@ -11021,6 +11092,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11021
11092
  isDuplicate?: boolean | undefined;
11022
11093
  };
11023
11094
  transactionId: string;
11095
+ createdByUserType: "system" | "user";
11024
11096
  createdAt: string;
11025
11097
  createdBy: string;
11026
11098
  createdByRole: string;
@@ -11114,6 +11186,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11114
11186
  }>, z.ZodObject<z.objectUtil.extendShape<{
11115
11187
  id: z.ZodString;
11116
11188
  transactionId: z.ZodString;
11189
+ createdByUserType: z.ZodEnum<["user", "system"]>;
11117
11190
  createdAt: z.ZodString;
11118
11191
  createdBy: z.ZodString;
11119
11192
  createdByRole: z.ZodString;
@@ -11380,6 +11453,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11380
11453
  id: string;
11381
11454
  status: "Rejected" | "Requested" | "Accepted";
11382
11455
  transactionId: string;
11456
+ createdByUserType: "system" | "user";
11383
11457
  createdAt: string;
11384
11458
  createdBy: string;
11385
11459
  createdByRole: string;
@@ -11475,6 +11549,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11475
11549
  id: string;
11476
11550
  status: "Rejected" | "Requested" | "Accepted";
11477
11551
  transactionId: string;
11552
+ createdByUserType: "system" | "user";
11478
11553
  createdAt: string;
11479
11554
  createdBy: string;
11480
11555
  createdByRole: string;
@@ -11568,6 +11643,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11568
11643
  }>, z.ZodObject<z.objectUtil.extendShape<{
11569
11644
  id: z.ZodString;
11570
11645
  transactionId: z.ZodString;
11646
+ createdByUserType: z.ZodEnum<["user", "system"]>;
11571
11647
  createdAt: z.ZodString;
11572
11648
  createdBy: z.ZodString;
11573
11649
  createdByRole: z.ZodString;
@@ -11835,6 +11911,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11835
11911
  id: string;
11836
11912
  status: "Rejected" | "Requested" | "Accepted";
11837
11913
  transactionId: string;
11914
+ createdByUserType: "system" | "user";
11838
11915
  createdAt: string;
11839
11916
  createdBy: string;
11840
11917
  createdByRole: string;
@@ -11931,6 +12008,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11931
12008
  id: string;
11932
12009
  status: "Rejected" | "Requested" | "Accepted";
11933
12010
  transactionId: string;
12011
+ createdByUserType: "system" | "user";
11934
12012
  createdAt: string;
11935
12013
  createdBy: string;
11936
12014
  createdByRole: string;
@@ -12025,6 +12103,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12025
12103
  }>, z.ZodObject<z.objectUtil.extendShape<{
12026
12104
  id: z.ZodString;
12027
12105
  transactionId: z.ZodString;
12106
+ createdByUserType: z.ZodEnum<["user", "system"]>;
12028
12107
  createdAt: z.ZodString;
12029
12108
  createdBy: z.ZodString;
12030
12109
  createdByRole: z.ZodString;
@@ -12291,6 +12370,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12291
12370
  id: string;
12292
12371
  status: "Rejected" | "Requested" | "Accepted";
12293
12372
  transactionId: string;
12373
+ createdByUserType: "system" | "user";
12294
12374
  createdAt: string;
12295
12375
  createdBy: string;
12296
12376
  createdByRole: string;
@@ -12386,6 +12466,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12386
12466
  id: string;
12387
12467
  status: "Rejected" | "Requested" | "Accepted";
12388
12468
  transactionId: string;
12469
+ createdByUserType: "system" | "user";
12389
12470
  createdAt: string;
12390
12471
  createdBy: string;
12391
12472
  createdByRole: string;
@@ -12479,6 +12560,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12479
12560
  }>, z.ZodObject<z.objectUtil.extendShape<{
12480
12561
  id: z.ZodString;
12481
12562
  transactionId: z.ZodString;
12563
+ createdByUserType: z.ZodEnum<["user", "system"]>;
12482
12564
  createdAt: z.ZodString;
12483
12565
  createdBy: z.ZodString;
12484
12566
  createdByRole: z.ZodString;
@@ -12746,6 +12828,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12746
12828
  id: string;
12747
12829
  status: "Rejected" | "Requested" | "Accepted";
12748
12830
  transactionId: string;
12831
+ createdByUserType: "system" | "user";
12749
12832
  createdAt: string;
12750
12833
  createdBy: string;
12751
12834
  createdByRole: string;
@@ -12842,6 +12925,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12842
12925
  id: string;
12843
12926
  status: "Rejected" | "Requested" | "Accepted";
12844
12927
  transactionId: string;
12928
+ createdByUserType: "system" | "user";
12845
12929
  createdAt: string;
12846
12930
  createdBy: string;
12847
12931
  createdByRole: string;
@@ -12936,6 +13020,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12936
13020
  }>, z.ZodObject<z.objectUtil.extendShape<{
12937
13021
  id: z.ZodString;
12938
13022
  transactionId: z.ZodString;
13023
+ createdByUserType: z.ZodEnum<["user", "system"]>;
12939
13024
  createdAt: z.ZodString;
12940
13025
  createdBy: z.ZodString;
12941
13026
  createdByRole: z.ZodString;
@@ -13202,6 +13287,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13202
13287
  id: string;
13203
13288
  status: "Rejected" | "Requested" | "Accepted";
13204
13289
  transactionId: string;
13290
+ createdByUserType: "system" | "user";
13205
13291
  createdAt: string;
13206
13292
  createdBy: string;
13207
13293
  createdByRole: string;
@@ -13297,6 +13383,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13297
13383
  id: string;
13298
13384
  status: "Rejected" | "Requested" | "Accepted";
13299
13385
  transactionId: string;
13386
+ createdByUserType: "system" | "user";
13300
13387
  createdAt: string;
13301
13388
  createdBy: string;
13302
13389
  createdByRole: string;
@@ -13390,6 +13477,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13390
13477
  }>, z.ZodObject<z.objectUtil.extendShape<{
13391
13478
  id: z.ZodString;
13392
13479
  transactionId: z.ZodString;
13480
+ createdByUserType: z.ZodEnum<["user", "system"]>;
13393
13481
  createdAt: z.ZodString;
13394
13482
  createdBy: z.ZodString;
13395
13483
  createdByRole: z.ZodString;
@@ -13657,6 +13745,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13657
13745
  id: string;
13658
13746
  status: "Rejected" | "Requested" | "Accepted";
13659
13747
  transactionId: string;
13748
+ createdByUserType: "system" | "user";
13660
13749
  createdAt: string;
13661
13750
  createdBy: string;
13662
13751
  createdByRole: string;
@@ -13753,6 +13842,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13753
13842
  id: string;
13754
13843
  status: "Rejected" | "Requested" | "Accepted";
13755
13844
  transactionId: string;
13845
+ createdByUserType: "system" | "user";
13756
13846
  createdAt: string;
13757
13847
  createdBy: string;
13758
13848
  createdByRole: string;
@@ -13847,6 +13937,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13847
13937
  }>, z.ZodObject<z.objectUtil.extendShape<{
13848
13938
  id: z.ZodString;
13849
13939
  transactionId: z.ZodString;
13940
+ createdByUserType: z.ZodEnum<["user", "system"]>;
13850
13941
  createdAt: z.ZodString;
13851
13942
  createdBy: z.ZodString;
13852
13943
  createdByRole: z.ZodString;
@@ -14114,6 +14205,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14114
14205
  id: string;
14115
14206
  status: "Rejected" | "Requested" | "Accepted";
14116
14207
  transactionId: string;
14208
+ createdByUserType: "system" | "user";
14117
14209
  createdAt: string;
14118
14210
  createdBy: string;
14119
14211
  createdByRole: string;
@@ -14210,6 +14302,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14210
14302
  id: string;
14211
14303
  status: "Rejected" | "Requested" | "Accepted";
14212
14304
  transactionId: string;
14305
+ createdByUserType: "system" | "user";
14213
14306
  createdAt: string;
14214
14307
  createdBy: string;
14215
14308
  createdByRole: string;
@@ -14304,6 +14397,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14304
14397
  }>, z.ZodObject<z.objectUtil.extendShape<{
14305
14398
  id: z.ZodString;
14306
14399
  transactionId: z.ZodString;
14400
+ createdByUserType: z.ZodEnum<["user", "system"]>;
14307
14401
  createdAt: z.ZodString;
14308
14402
  createdBy: z.ZodString;
14309
14403
  createdByRole: z.ZodString;
@@ -14571,6 +14665,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14571
14665
  id: string;
14572
14666
  status: "Rejected" | "Requested" | "Accepted";
14573
14667
  transactionId: string;
14668
+ createdByUserType: "system" | "user";
14574
14669
  createdAt: string;
14575
14670
  createdBy: string;
14576
14671
  createdByRole: string;
@@ -14667,6 +14762,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14667
14762
  id: string;
14668
14763
  status: "Rejected" | "Requested" | "Accepted";
14669
14764
  transactionId: string;
14765
+ createdByUserType: "system" | "user";
14670
14766
  createdAt: string;
14671
14767
  createdBy: string;
14672
14768
  createdByRole: string;
@@ -14761,6 +14857,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14761
14857
  }>, z.ZodObject<z.objectUtil.extendShape<{
14762
14858
  id: z.ZodString;
14763
14859
  transactionId: z.ZodString;
14860
+ createdByUserType: z.ZodEnum<["user", "system"]>;
14764
14861
  createdAt: z.ZodString;
14765
14862
  createdBy: z.ZodString;
14766
14863
  createdByRole: z.ZodString;
@@ -15027,6 +15124,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15027
15124
  id: string;
15028
15125
  status: "Rejected" | "Requested" | "Accepted";
15029
15126
  transactionId: string;
15127
+ createdByUserType: "system" | "user";
15030
15128
  createdAt: string;
15031
15129
  createdBy: string;
15032
15130
  createdByRole: string;
@@ -15122,6 +15220,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15122
15220
  id: string;
15123
15221
  status: "Rejected" | "Requested" | "Accepted";
15124
15222
  transactionId: string;
15223
+ createdByUserType: "system" | "user";
15125
15224
  createdAt: string;
15126
15225
  createdBy: string;
15127
15226
  createdByRole: string;
@@ -15215,6 +15314,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15215
15314
  }>, z.ZodObject<z.objectUtil.extendShape<{
15216
15315
  id: z.ZodString;
15217
15316
  transactionId: z.ZodString;
15317
+ createdByUserType: z.ZodEnum<["user", "system"]>;
15218
15318
  createdAt: z.ZodString;
15219
15319
  createdBy: z.ZodString;
15220
15320
  createdByRole: z.ZodString;
@@ -15481,6 +15581,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15481
15581
  id: string;
15482
15582
  status: "Rejected" | "Requested" | "Accepted";
15483
15583
  transactionId: string;
15584
+ createdByUserType: "system" | "user";
15484
15585
  createdAt: string;
15485
15586
  createdBy: string;
15486
15587
  createdByRole: string;
@@ -15576,6 +15677,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15576
15677
  id: string;
15577
15678
  status: "Rejected" | "Requested" | "Accepted";
15578
15679
  transactionId: string;
15680
+ createdByUserType: "system" | "user";
15579
15681
  createdAt: string;
15580
15682
  createdBy: string;
15581
15683
  createdByRole: string;
@@ -15669,6 +15771,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15669
15771
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
15670
15772
  id: z.ZodString;
15671
15773
  transactionId: z.ZodString;
15774
+ createdByUserType: z.ZodEnum<["user", "system"]>;
15672
15775
  createdAt: z.ZodString;
15673
15776
  createdBy: z.ZodString;
15674
15777
  createdByRole: z.ZodString;
@@ -15936,6 +16039,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15936
16039
  id: string;
15937
16040
  status: "Rejected";
15938
16041
  transactionId: string;
16042
+ createdByUserType: "system" | "user";
15939
16043
  createdAt: string;
15940
16044
  createdBy: string;
15941
16045
  createdByRole: string;
@@ -15947,6 +16051,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15947
16051
  id: string;
15948
16052
  status: "Rejected";
15949
16053
  transactionId: string;
16054
+ createdByUserType: "system" | "user";
15950
16055
  createdAt: string;
15951
16056
  createdBy: string;
15952
16057
  createdByRole: string;