@opencrvs/toolkit 1.8.1-rc.bbbfede → 1.8.1-rc.facd84c

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.
@@ -295,17 +295,6 @@ export declare const ActionStatus: {
295
295
  readonly Rejected: "Rejected";
296
296
  };
297
297
  export type ActionStatus = keyof typeof ActionStatus;
298
- export declare const ActionDetails: z.ZodObject<{
299
- templateId: z.ZodOptional<z.ZodString>;
300
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
301
- }, "strip", z.ZodTypeAny, {
302
- templateId?: string | undefined;
303
- isImmediateCorrection?: boolean | undefined;
304
- }, {
305
- templateId?: string | undefined;
306
- isImmediateCorrection?: boolean | undefined;
307
- }>;
308
- export type ActionDetails = z.infer<typeof ActionDetails>;
309
298
  export declare const ActionBase: z.ZodObject<{
310
299
  id: z.ZodBranded<z.ZodString, "UUID">;
311
300
  transactionId: z.ZodString;
@@ -585,16 +574,6 @@ export declare const ActionBase: z.ZodObject<{
585
574
  surname?: string | null | undefined;
586
575
  middlename?: string | null | undefined;
587
576
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
588
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
589
- templateId: z.ZodOptional<z.ZodString>;
590
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
591
- }, "strip", z.ZodTypeAny, {
592
- templateId?: string | undefined;
593
- isImmediateCorrection?: boolean | undefined;
594
- }, {
595
- templateId?: string | undefined;
596
- isImmediateCorrection?: boolean | undefined;
597
- }>>>;
598
577
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
599
578
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
600
579
  }, "strip", z.ZodTypeAny, {
@@ -697,10 +676,6 @@ export declare const ActionBase: z.ZodObject<{
697
676
  start: string;
698
677
  end: string;
699
678
  } | null | undefined> | null | undefined;
700
- actionDetails?: {
701
- templateId?: string | undefined;
702
- isImmediateCorrection?: boolean | undefined;
703
- } | null | undefined;
704
679
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
705
680
  }, {
706
681
  id: string;
@@ -802,10 +777,6 @@ export declare const ActionBase: z.ZodObject<{
802
777
  start: string;
803
778
  end: string;
804
779
  } | null | undefined> | null | undefined;
805
- actionDetails?: {
806
- templateId?: string | undefined;
807
- isImmediateCorrection?: boolean | undefined;
808
- } | null | undefined;
809
780
  originalActionId?: string | null | undefined;
810
781
  }>;
811
782
  export type ActionBase = z.infer<typeof ActionBase>;
@@ -1088,16 +1059,6 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1088
1059
  surname?: string | null | undefined;
1089
1060
  middlename?: string | null | undefined;
1090
1061
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1091
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1092
- templateId: z.ZodOptional<z.ZodString>;
1093
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
1094
- }, "strip", z.ZodTypeAny, {
1095
- templateId?: string | undefined;
1096
- isImmediateCorrection?: boolean | undefined;
1097
- }, {
1098
- templateId?: string | undefined;
1099
- isImmediateCorrection?: boolean | undefined;
1100
- }>>>;
1101
1062
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1102
1063
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1103
1064
  }, {
@@ -1204,10 +1165,6 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1204
1165
  start: string;
1205
1166
  end: string;
1206
1167
  } | null | undefined> | null | undefined;
1207
- actionDetails?: {
1208
- templateId?: string | undefined;
1209
- isImmediateCorrection?: boolean | undefined;
1210
- } | null | undefined;
1211
1168
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1212
1169
  registrationNumber?: string | undefined;
1213
1170
  }, {
@@ -1311,10 +1268,6 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1311
1268
  start: string;
1312
1269
  end: string;
1313
1270
  } | null | undefined> | null | undefined;
1314
- actionDetails?: {
1315
- templateId?: string | undefined;
1316
- isImmediateCorrection?: boolean | undefined;
1317
- } | null | undefined;
1318
1271
  originalActionId?: string | null | undefined;
1319
1272
  registrationNumber?: string | undefined;
1320
1273
  }>;
@@ -1608,16 +1561,6 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1608
1561
  surname?: string | null | undefined;
1609
1562
  middlename?: string | null | undefined;
1610
1563
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1611
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1612
- templateId: z.ZodOptional<z.ZodString>;
1613
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
1614
- }, "strip", z.ZodTypeAny, {
1615
- templateId?: string | undefined;
1616
- isImmediateCorrection?: boolean | undefined;
1617
- }, {
1618
- templateId?: string | undefined;
1619
- isImmediateCorrection?: boolean | undefined;
1620
- }>>>;
1621
1564
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1622
1565
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1623
1566
  }, {
@@ -1723,10 +1666,6 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1723
1666
  start: string;
1724
1667
  end: string;
1725
1668
  } | null | undefined> | null | undefined;
1726
- actionDetails?: {
1727
- templateId?: string | undefined;
1728
- isImmediateCorrection?: boolean | undefined;
1729
- } | null | undefined;
1730
1669
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1731
1670
  }, {
1732
1671
  type: "CREATE";
@@ -1829,10 +1768,6 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1829
1768
  start: string;
1830
1769
  end: string;
1831
1770
  } | null | undefined> | null | undefined;
1832
- actionDetails?: {
1833
- templateId?: string | undefined;
1834
- isImmediateCorrection?: boolean | undefined;
1835
- } | null | undefined;
1836
1771
  originalActionId?: string | null | undefined;
1837
1772
  }>;
1838
1773
  declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
@@ -2114,16 +2049,6 @@ declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
2114
2049
  surname?: string | null | undefined;
2115
2050
  middlename?: string | null | undefined;
2116
2051
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2117
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2118
- templateId: z.ZodOptional<z.ZodString>;
2119
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2120
- }, "strip", z.ZodTypeAny, {
2121
- templateId?: string | undefined;
2122
- isImmediateCorrection?: boolean | undefined;
2123
- }, {
2124
- templateId?: string | undefined;
2125
- isImmediateCorrection?: boolean | undefined;
2126
- }>>>;
2127
2052
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2128
2053
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2129
2054
  }, {
@@ -2229,10 +2154,6 @@ declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
2229
2154
  start: string;
2230
2155
  end: string;
2231
2156
  } | null | undefined> | null | undefined;
2232
- actionDetails?: {
2233
- templateId?: string | undefined;
2234
- isImmediateCorrection?: boolean | undefined;
2235
- } | null | undefined;
2236
2157
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2237
2158
  }, {
2238
2159
  type: "REQUEST_CORRECTION";
@@ -2335,10 +2256,6 @@ declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
2335
2256
  start: string;
2336
2257
  end: string;
2337
2258
  } | null | undefined> | null | undefined;
2338
- actionDetails?: {
2339
- templateId?: string | undefined;
2340
- isImmediateCorrection?: boolean | undefined;
2341
- } | null | undefined;
2342
2259
  originalActionId?: string | null | undefined;
2343
2260
  }>;
2344
2261
  export type RequestedCorrectionAction = z.infer<typeof RequestedCorrectionAction>;
@@ -2621,16 +2538,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2621
2538
  surname?: string | null | undefined;
2622
2539
  middlename?: string | null | undefined;
2623
2540
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2624
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2625
- templateId: z.ZodOptional<z.ZodString>;
2626
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2627
- }, "strip", z.ZodTypeAny, {
2628
- templateId?: string | undefined;
2629
- isImmediateCorrection?: boolean | undefined;
2630
- }, {
2631
- templateId?: string | undefined;
2632
- isImmediateCorrection?: boolean | undefined;
2633
- }>>>;
2634
2541
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2635
2542
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2636
2543
  }, {
@@ -2736,10 +2643,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2736
2643
  start: string;
2737
2644
  end: string;
2738
2645
  } | null | undefined> | null | undefined;
2739
- actionDetails?: {
2740
- templateId?: string | undefined;
2741
- isImmediateCorrection?: boolean | undefined;
2742
- } | null | undefined;
2743
2646
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2744
2647
  }, {
2745
2648
  type: "CREATE";
@@ -2842,10 +2745,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2842
2745
  start: string;
2843
2746
  end: string;
2844
2747
  } | null | undefined> | null | undefined;
2845
- actionDetails?: {
2846
- templateId?: string | undefined;
2847
- isImmediateCorrection?: boolean | undefined;
2848
- } | null | undefined;
2849
2748
  originalActionId?: string | null | undefined;
2850
2749
  }>, z.ZodObject<z.objectUtil.extendShape<{
2851
2750
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -3126,16 +3025,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3126
3025
  surname?: string | null | undefined;
3127
3026
  middlename?: string | null | undefined;
3128
3027
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3129
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3130
- templateId: z.ZodOptional<z.ZodString>;
3131
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
3132
- }, "strip", z.ZodTypeAny, {
3133
- templateId?: string | undefined;
3134
- isImmediateCorrection?: boolean | undefined;
3135
- }, {
3136
- templateId?: string | undefined;
3137
- isImmediateCorrection?: boolean | undefined;
3138
- }>>>;
3139
3028
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3140
3029
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3141
3030
  }, {
@@ -3241,10 +3130,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3241
3130
  start: string;
3242
3131
  end: string;
3243
3132
  } | null | undefined> | null | undefined;
3244
- actionDetails?: {
3245
- templateId?: string | undefined;
3246
- isImmediateCorrection?: boolean | undefined;
3247
- } | null | undefined;
3248
3133
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3249
3134
  }, {
3250
3135
  type: "VALIDATE";
@@ -3347,10 +3232,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3347
3232
  start: string;
3348
3233
  end: string;
3349
3234
  } | null | undefined> | null | undefined;
3350
- actionDetails?: {
3351
- templateId?: string | undefined;
3352
- isImmediateCorrection?: boolean | undefined;
3353
- } | null | undefined;
3354
3235
  originalActionId?: string | null | undefined;
3355
3236
  }>, z.ZodObject<z.objectUtil.extendShape<{
3356
3237
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -3631,16 +3512,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3631
3512
  surname?: string | null | undefined;
3632
3513
  middlename?: string | null | undefined;
3633
3514
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3634
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3635
- templateId: z.ZodOptional<z.ZodString>;
3636
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
3637
- }, "strip", z.ZodTypeAny, {
3638
- templateId?: string | undefined;
3639
- isImmediateCorrection?: boolean | undefined;
3640
- }, {
3641
- templateId?: string | undefined;
3642
- isImmediateCorrection?: boolean | undefined;
3643
- }>>>;
3644
3515
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3645
3516
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3646
3517
  }, {
@@ -3760,10 +3631,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3760
3631
  start: string;
3761
3632
  end: string;
3762
3633
  } | null | undefined> | null | undefined;
3763
- actionDetails?: {
3764
- templateId?: string | undefined;
3765
- isImmediateCorrection?: boolean | undefined;
3766
- } | null | undefined;
3767
3634
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3768
3635
  }, {
3769
3636
  type: "REJECT";
@@ -3870,10 +3737,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3870
3737
  start: string;
3871
3738
  end: string;
3872
3739
  } | null | undefined> | null | undefined;
3873
- actionDetails?: {
3874
- templateId?: string | undefined;
3875
- isImmediateCorrection?: boolean | undefined;
3876
- } | null | undefined;
3877
3740
  originalActionId?: string | null | undefined;
3878
3741
  }>, z.ZodObject<z.objectUtil.extendShape<{
3879
3742
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -4154,16 +4017,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4154
4017
  surname?: string | null | undefined;
4155
4018
  middlename?: string | null | undefined;
4156
4019
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4157
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4158
- templateId: z.ZodOptional<z.ZodString>;
4159
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
4160
- }, "strip", z.ZodTypeAny, {
4161
- templateId?: string | undefined;
4162
- isImmediateCorrection?: boolean | undefined;
4163
- }, {
4164
- templateId?: string | undefined;
4165
- isImmediateCorrection?: boolean | undefined;
4166
- }>>>;
4167
4020
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4168
4021
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4169
4022
  }, {
@@ -4269,10 +4122,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4269
4122
  start: string;
4270
4123
  end: string;
4271
4124
  } | null | undefined> | null | undefined;
4272
- actionDetails?: {
4273
- templateId?: string | undefined;
4274
- isImmediateCorrection?: boolean | undefined;
4275
- } | null | undefined;
4276
4125
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4277
4126
  }, {
4278
4127
  type: "MARKED_AS_DUPLICATE";
@@ -4375,10 +4224,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4375
4224
  start: string;
4376
4225
  end: string;
4377
4226
  } | null | undefined> | null | undefined;
4378
- actionDetails?: {
4379
- templateId?: string | undefined;
4380
- isImmediateCorrection?: boolean | undefined;
4381
- } | null | undefined;
4382
4227
  originalActionId?: string | null | undefined;
4383
4228
  }>, z.ZodObject<z.objectUtil.extendShape<{
4384
4229
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -4659,16 +4504,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4659
4504
  surname?: string | null | undefined;
4660
4505
  middlename?: string | null | undefined;
4661
4506
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4662
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4663
- templateId: z.ZodOptional<z.ZodString>;
4664
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
4665
- }, "strip", z.ZodTypeAny, {
4666
- templateId?: string | undefined;
4667
- isImmediateCorrection?: boolean | undefined;
4668
- }, {
4669
- templateId?: string | undefined;
4670
- isImmediateCorrection?: boolean | undefined;
4671
- }>>>;
4672
4507
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4673
4508
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4674
4509
  }, {
@@ -4788,10 +4623,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4788
4623
  start: string;
4789
4624
  end: string;
4790
4625
  } | null | undefined> | null | undefined;
4791
- actionDetails?: {
4792
- templateId?: string | undefined;
4793
- isImmediateCorrection?: boolean | undefined;
4794
- } | null | undefined;
4795
4626
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4796
4627
  }, {
4797
4628
  type: "ARCHIVE";
@@ -4898,10 +4729,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4898
4729
  start: string;
4899
4730
  end: string;
4900
4731
  } | null | undefined> | null | undefined;
4901
- actionDetails?: {
4902
- templateId?: string | undefined;
4903
- isImmediateCorrection?: boolean | undefined;
4904
- } | null | undefined;
4905
4732
  originalActionId?: string | null | undefined;
4906
4733
  }>, z.ZodObject<z.objectUtil.extendShape<{
4907
4734
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -5182,16 +5009,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5182
5009
  surname?: string | null | undefined;
5183
5010
  middlename?: string | null | undefined;
5184
5011
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5185
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5186
- templateId: z.ZodOptional<z.ZodString>;
5187
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
5188
- }, "strip", z.ZodTypeAny, {
5189
- templateId?: string | undefined;
5190
- isImmediateCorrection?: boolean | undefined;
5191
- }, {
5192
- templateId?: string | undefined;
5193
- isImmediateCorrection?: boolean | undefined;
5194
- }>>>;
5195
5012
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5196
5013
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5197
5014
  }, {
@@ -5297,10 +5114,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5297
5114
  start: string;
5298
5115
  end: string;
5299
5116
  } | null | undefined> | null | undefined;
5300
- actionDetails?: {
5301
- templateId?: string | undefined;
5302
- isImmediateCorrection?: boolean | undefined;
5303
- } | null | undefined;
5304
5117
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5305
5118
  }, {
5306
5119
  type: "NOTIFY";
@@ -5403,10 +5216,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5403
5216
  start: string;
5404
5217
  end: string;
5405
5218
  } | null | undefined> | null | undefined;
5406
- actionDetails?: {
5407
- templateId?: string | undefined;
5408
- isImmediateCorrection?: boolean | undefined;
5409
- } | null | undefined;
5410
5219
  originalActionId?: string | null | undefined;
5411
5220
  }>, z.ZodObject<z.objectUtil.extendShape<{
5412
5221
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -5687,16 +5496,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5687
5496
  surname?: string | null | undefined;
5688
5497
  middlename?: string | null | undefined;
5689
5498
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5690
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5691
- templateId: z.ZodOptional<z.ZodString>;
5692
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
5693
- }, "strip", z.ZodTypeAny, {
5694
- templateId?: string | undefined;
5695
- isImmediateCorrection?: boolean | undefined;
5696
- }, {
5697
- templateId?: string | undefined;
5698
- isImmediateCorrection?: boolean | undefined;
5699
- }>>>;
5700
5499
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5701
5500
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5702
5501
  }, {
@@ -5803,10 +5602,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5803
5602
  start: string;
5804
5603
  end: string;
5805
5604
  } | null | undefined> | null | undefined;
5806
- actionDetails?: {
5807
- templateId?: string | undefined;
5808
- isImmediateCorrection?: boolean | undefined;
5809
- } | null | undefined;
5810
5605
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5811
5606
  registrationNumber?: string | undefined;
5812
5607
  }, {
@@ -5910,10 +5705,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5910
5705
  start: string;
5911
5706
  end: string;
5912
5707
  } | null | undefined> | null | undefined;
5913
- actionDetails?: {
5914
- templateId?: string | undefined;
5915
- isImmediateCorrection?: boolean | undefined;
5916
- } | null | undefined;
5917
5708
  originalActionId?: string | null | undefined;
5918
5709
  registrationNumber?: string | undefined;
5919
5710
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -6195,16 +5986,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6195
5986
  surname?: string | null | undefined;
6196
5987
  middlename?: string | null | undefined;
6197
5988
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6198
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6199
- templateId: z.ZodOptional<z.ZodString>;
6200
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6201
- }, "strip", z.ZodTypeAny, {
6202
- templateId?: string | undefined;
6203
- isImmediateCorrection?: boolean | undefined;
6204
- }, {
6205
- templateId?: string | undefined;
6206
- isImmediateCorrection?: boolean | undefined;
6207
- }>>>;
6208
5989
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6209
5990
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6210
5991
  }, {
@@ -6310,10 +6091,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6310
6091
  start: string;
6311
6092
  end: string;
6312
6093
  } | null | undefined> | null | undefined;
6313
- actionDetails?: {
6314
- templateId?: string | undefined;
6315
- isImmediateCorrection?: boolean | undefined;
6316
- } | null | undefined;
6317
6094
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6318
6095
  }, {
6319
6096
  type: "DECLARE";
@@ -6416,10 +6193,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6416
6193
  start: string;
6417
6194
  end: string;
6418
6195
  } | null | undefined> | null | undefined;
6419
- actionDetails?: {
6420
- templateId?: string | undefined;
6421
- isImmediateCorrection?: boolean | undefined;
6422
- } | null | undefined;
6423
6196
  originalActionId?: string | null | undefined;
6424
6197
  }>, z.ZodObject<z.objectUtil.extendShape<{
6425
6198
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6700,16 +6473,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6700
6473
  surname?: string | null | undefined;
6701
6474
  middlename?: string | null | undefined;
6702
6475
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6703
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6704
- templateId: z.ZodOptional<z.ZodString>;
6705
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6706
- }, "strip", z.ZodTypeAny, {
6707
- templateId?: string | undefined;
6708
- isImmediateCorrection?: boolean | undefined;
6709
- }, {
6710
- templateId?: string | undefined;
6711
- isImmediateCorrection?: boolean | undefined;
6712
- }>>>;
6713
6476
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6714
6477
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6715
6478
  }, {
@@ -6817,10 +6580,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6817
6580
  start: string;
6818
6581
  end: string;
6819
6582
  } | null | undefined> | null | undefined;
6820
- actionDetails?: {
6821
- templateId?: string | undefined;
6822
- isImmediateCorrection?: boolean | undefined;
6823
- } | null | undefined;
6824
6583
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6825
6584
  }, {
6826
6585
  type: "ASSIGN";
@@ -6924,10 +6683,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6924
6683
  start: string;
6925
6684
  end: string;
6926
6685
  } | null | undefined> | null | undefined;
6927
- actionDetails?: {
6928
- templateId?: string | undefined;
6929
- isImmediateCorrection?: boolean | undefined;
6930
- } | null | undefined;
6931
6686
  originalActionId?: string | null | undefined;
6932
6687
  }>, z.ZodObject<z.objectUtil.extendShape<{
6933
6688
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7208,16 +6963,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7208
6963
  surname?: string | null | undefined;
7209
6964
  middlename?: string | null | undefined;
7210
6965
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7211
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7212
- templateId: z.ZodOptional<z.ZodString>;
7213
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7214
- }, "strip", z.ZodTypeAny, {
7215
- templateId?: string | undefined;
7216
- isImmediateCorrection?: boolean | undefined;
7217
- }, {
7218
- templateId?: string | undefined;
7219
- isImmediateCorrection?: boolean | undefined;
7220
- }>>>;
7221
6966
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7222
6967
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7223
6968
  }, {
@@ -7323,10 +7068,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7323
7068
  start: string;
7324
7069
  end: string;
7325
7070
  } | null | undefined> | null | undefined;
7326
- actionDetails?: {
7327
- templateId?: string | undefined;
7328
- isImmediateCorrection?: boolean | undefined;
7329
- } | null | undefined;
7330
7071
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7331
7072
  }, {
7332
7073
  type: "REQUEST_CORRECTION";
@@ -7429,10 +7170,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7429
7170
  start: string;
7430
7171
  end: string;
7431
7172
  } | null | undefined> | null | undefined;
7432
- actionDetails?: {
7433
- templateId?: string | undefined;
7434
- isImmediateCorrection?: boolean | undefined;
7435
- } | null | undefined;
7436
7173
  originalActionId?: string | null | undefined;
7437
7174
  }>, z.ZodObject<z.objectUtil.extendShape<{
7438
7175
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7713,16 +7450,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7713
7450
  surname?: string | null | undefined;
7714
7451
  middlename?: string | null | undefined;
7715
7452
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7716
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7717
- templateId: z.ZodOptional<z.ZodString>;
7718
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7719
- }, "strip", z.ZodTypeAny, {
7720
- templateId?: string | undefined;
7721
- isImmediateCorrection?: boolean | undefined;
7722
- }, {
7723
- templateId?: string | undefined;
7724
- isImmediateCorrection?: boolean | undefined;
7725
- }>>>;
7726
7453
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7727
7454
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7728
7455
  }, {
@@ -7830,10 +7557,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7830
7557
  start: string;
7831
7558
  end: string;
7832
7559
  } | null | undefined> | null | undefined;
7833
- actionDetails?: {
7834
- templateId?: string | undefined;
7835
- isImmediateCorrection?: boolean | undefined;
7836
- } | null | undefined;
7837
7560
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7838
7561
  }, {
7839
7562
  type: "APPROVE_CORRECTION";
@@ -7937,10 +7660,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7937
7660
  start: string;
7938
7661
  end: string;
7939
7662
  } | null | undefined> | null | undefined;
7940
- actionDetails?: {
7941
- templateId?: string | undefined;
7942
- isImmediateCorrection?: boolean | undefined;
7943
- } | null | undefined;
7944
7663
  originalActionId?: string | null | undefined;
7945
7664
  }>, z.ZodObject<z.objectUtil.extendShape<{
7946
7665
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -8221,25 +7940,29 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8221
7940
  surname?: string | null | undefined;
8222
7941
  middlename?: string | null | undefined;
8223
7942
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
8224
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8225
- templateId: z.ZodOptional<z.ZodString>;
8226
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
8227
- }, "strip", z.ZodTypeAny, {
8228
- templateId?: string | undefined;
8229
- isImmediateCorrection?: boolean | undefined;
8230
- }, {
8231
- templateId?: string | undefined;
8232
- isImmediateCorrection?: boolean | undefined;
8233
- }>>>;
8234
7943
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8235
7944
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8236
7945
  }, {
8237
7946
  type: z.ZodLiteral<"REJECT_CORRECTION">;
8238
7947
  requestId: z.ZodString;
7948
+ reason: z.ZodObject<{
7949
+ message: z.ZodString;
7950
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
7951
+ }, "strip", z.ZodTypeAny, {
7952
+ message: string;
7953
+ isDuplicate?: boolean | undefined;
7954
+ }, {
7955
+ message: string;
7956
+ isDuplicate?: boolean | undefined;
7957
+ }>;
8239
7958
  }>, "strip", z.ZodTypeAny, {
8240
7959
  type: "REJECT_CORRECTION";
8241
7960
  id: string & z.BRAND<"UUID">;
8242
7961
  status: "Rejected" | "Requested" | "Accepted";
7962
+ reason: {
7963
+ message: string;
7964
+ isDuplicate?: boolean | undefined;
7965
+ };
8243
7966
  transactionId: string;
8244
7967
  createdByUserType: "system" | "user";
8245
7968
  createdAt: string;
@@ -8338,15 +8061,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8338
8061
  start: string;
8339
8062
  end: string;
8340
8063
  } | null | undefined> | null | undefined;
8341
- actionDetails?: {
8342
- templateId?: string | undefined;
8343
- isImmediateCorrection?: boolean | undefined;
8344
- } | null | undefined;
8345
8064
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8346
8065
  }, {
8347
8066
  type: "REJECT_CORRECTION";
8348
8067
  id: string;
8349
8068
  status: "Rejected" | "Requested" | "Accepted";
8069
+ reason: {
8070
+ message: string;
8071
+ isDuplicate?: boolean | undefined;
8072
+ };
8350
8073
  transactionId: string;
8351
8074
  createdByUserType: "system" | "user";
8352
8075
  createdAt: string;
@@ -8445,10 +8168,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8445
8168
  start: string;
8446
8169
  end: string;
8447
8170
  } | null | undefined> | null | undefined;
8448
- actionDetails?: {
8449
- templateId?: string | undefined;
8450
- isImmediateCorrection?: boolean | undefined;
8451
- } | null | undefined;
8452
8171
  originalActionId?: string | null | undefined;
8453
8172
  }>, z.ZodObject<z.objectUtil.extendShape<{
8454
8173
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -8729,16 +8448,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8729
8448
  surname?: string | null | undefined;
8730
8449
  middlename?: string | null | undefined;
8731
8450
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
8732
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8733
- templateId: z.ZodOptional<z.ZodString>;
8734
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
8735
- }, "strip", z.ZodTypeAny, {
8736
- templateId?: string | undefined;
8737
- isImmediateCorrection?: boolean | undefined;
8738
- }, {
8739
- templateId?: string | undefined;
8740
- isImmediateCorrection?: boolean | undefined;
8741
- }>>>;
8742
8451
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8743
8452
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8744
8453
  }, {
@@ -8844,10 +8553,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8844
8553
  start: string;
8845
8554
  end: string;
8846
8555
  } | null | undefined> | null | undefined;
8847
- actionDetails?: {
8848
- templateId?: string | undefined;
8849
- isImmediateCorrection?: boolean | undefined;
8850
- } | null | undefined;
8851
8556
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8852
8557
  }, {
8853
8558
  type: "UNASSIGN";
@@ -8950,10 +8655,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8950
8655
  start: string;
8951
8656
  end: string;
8952
8657
  } | null | undefined> | null | undefined;
8953
- actionDetails?: {
8954
- templateId?: string | undefined;
8955
- isImmediateCorrection?: boolean | undefined;
8956
- } | null | undefined;
8957
8658
  originalActionId?: string | null | undefined;
8958
8659
  }>, z.ZodObject<z.objectUtil.extendShape<{
8959
8660
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -9234,16 +8935,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9234
8935
  surname?: string | null | undefined;
9235
8936
  middlename?: string | null | undefined;
9236
8937
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
9237
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9238
- templateId: z.ZodOptional<z.ZodString>;
9239
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
9240
- }, "strip", z.ZodTypeAny, {
9241
- templateId?: string | undefined;
9242
- isImmediateCorrection?: boolean | undefined;
9243
- }, {
9244
- templateId?: string | undefined;
9245
- isImmediateCorrection?: boolean | undefined;
9246
- }>>>;
9247
8938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9248
8939
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9249
8940
  }, {
@@ -9349,10 +9040,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9349
9040
  start: string;
9350
9041
  end: string;
9351
9042
  } | null | undefined> | null | undefined;
9352
- actionDetails?: {
9353
- templateId?: string | undefined;
9354
- isImmediateCorrection?: boolean | undefined;
9355
- } | null | undefined;
9356
9043
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9357
9044
  }, {
9358
9045
  type: "PRINT_CERTIFICATE";
@@ -9455,10 +9142,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9455
9142
  start: string;
9456
9143
  end: string;
9457
9144
  } | null | undefined> | null | undefined;
9458
- actionDetails?: {
9459
- templateId?: string | undefined;
9460
- isImmediateCorrection?: boolean | undefined;
9461
- } | null | undefined;
9462
9145
  originalActionId?: string | null | undefined;
9463
9146
  }>, z.ZodObject<z.objectUtil.extendShape<{
9464
9147
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -9739,16 +9422,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9739
9422
  surname?: string | null | undefined;
9740
9423
  middlename?: string | null | undefined;
9741
9424
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
9742
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9743
- templateId: z.ZodOptional<z.ZodString>;
9744
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
9745
- }, "strip", z.ZodTypeAny, {
9746
- templateId?: string | undefined;
9747
- isImmediateCorrection?: boolean | undefined;
9748
- }, {
9749
- templateId?: string | undefined;
9750
- isImmediateCorrection?: boolean | undefined;
9751
- }>>>;
9752
9425
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9753
9426
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9754
9427
  }, {
@@ -9854,10 +9527,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9854
9527
  start: string;
9855
9528
  end: string;
9856
9529
  } | null | undefined> | null | undefined;
9857
- actionDetails?: {
9858
- templateId?: string | undefined;
9859
- isImmediateCorrection?: boolean | undefined;
9860
- } | null | undefined;
9861
9530
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9862
9531
  }, {
9863
9532
  type: "READ";
@@ -9960,10 +9629,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9960
9629
  start: string;
9961
9630
  end: string;
9962
9631
  } | null | undefined> | null | undefined;
9963
- actionDetails?: {
9964
- templateId?: string | undefined;
9965
- isImmediateCorrection?: boolean | undefined;
9966
- } | null | undefined;
9967
9632
  originalActionId?: string | null | undefined;
9968
9633
  }>]>;
9969
9634
  export type ActionDocument = z.infer<typeof ActionDocument>;
@@ -10246,16 +9911,6 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
10246
9911
  surname?: string | null | undefined;
10247
9912
  middlename?: string | null | undefined;
10248
9913
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
10249
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10250
- templateId: z.ZodOptional<z.ZodString>;
10251
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
10252
- }, "strip", z.ZodTypeAny, {
10253
- templateId?: string | undefined;
10254
- isImmediateCorrection?: boolean | undefined;
10255
- }, {
10256
- templateId?: string | undefined;
10257
- isImmediateCorrection?: boolean | undefined;
10258
- }>>>;
10259
9914
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10260
9915
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10261
9916
  }, "declaration" | "annotation">, {
@@ -10272,10 +9927,6 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
10272
9927
  createdByRole: string;
10273
9928
  createdBySignature?: string | null | undefined;
10274
9929
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10275
- actionDetails?: {
10276
- templateId?: string | undefined;
10277
- isImmediateCorrection?: boolean | undefined;
10278
- } | null | undefined;
10279
9930
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10280
9931
  }, {
10281
9932
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -10288,10 +9939,6 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
10288
9939
  createdByRole: string;
10289
9940
  createdBySignature?: string | null | undefined;
10290
9941
  createdAtLocation?: string | null | undefined;
10291
- actionDetails?: {
10292
- templateId?: string | undefined;
10293
- isImmediateCorrection?: boolean | undefined;
10294
- } | null | undefined;
10295
9942
  originalActionId?: string | null | undefined;
10296
9943
  }>;
10297
9944
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
@@ -10574,16 +10221,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10574
10221
  surname?: string | null | undefined;
10575
10222
  middlename?: string | null | undefined;
10576
10223
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
10577
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10578
- templateId: z.ZodOptional<z.ZodString>;
10579
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
10580
- }, "strip", z.ZodTypeAny, {
10581
- templateId?: string | undefined;
10582
- isImmediateCorrection?: boolean | undefined;
10583
- }, {
10584
- templateId?: string | undefined;
10585
- isImmediateCorrection?: boolean | undefined;
10586
- }>>>;
10587
10224
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10588
10225
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10589
10226
  }, {
@@ -10689,10 +10326,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10689
10326
  start: string;
10690
10327
  end: string;
10691
10328
  } | null | undefined> | null | undefined;
10692
- actionDetails?: {
10693
- templateId?: string | undefined;
10694
- isImmediateCorrection?: boolean | undefined;
10695
- } | null | undefined;
10696
10329
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10697
10330
  }, {
10698
10331
  type: "CREATE";
@@ -10795,10 +10428,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10795
10428
  start: string;
10796
10429
  end: string;
10797
10430
  } | null | undefined> | null | undefined;
10798
- actionDetails?: {
10799
- templateId?: string | undefined;
10800
- isImmediateCorrection?: boolean | undefined;
10801
- } | null | undefined;
10802
10431
  originalActionId?: string | null | undefined;
10803
10432
  }>, z.ZodObject<z.objectUtil.extendShape<{
10804
10433
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -11079,16 +10708,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11079
10708
  surname?: string | null | undefined;
11080
10709
  middlename?: string | null | undefined;
11081
10710
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
11082
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11083
- templateId: z.ZodOptional<z.ZodString>;
11084
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
11085
- }, "strip", z.ZodTypeAny, {
11086
- templateId?: string | undefined;
11087
- isImmediateCorrection?: boolean | undefined;
11088
- }, {
11089
- templateId?: string | undefined;
11090
- isImmediateCorrection?: boolean | undefined;
11091
- }>>>;
11092
10711
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11093
10712
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11094
10713
  }, {
@@ -11194,10 +10813,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11194
10813
  start: string;
11195
10814
  end: string;
11196
10815
  } | null | undefined> | null | undefined;
11197
- actionDetails?: {
11198
- templateId?: string | undefined;
11199
- isImmediateCorrection?: boolean | undefined;
11200
- } | null | undefined;
11201
10816
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11202
10817
  }, {
11203
10818
  type: "VALIDATE";
@@ -11300,10 +10915,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11300
10915
  start: string;
11301
10916
  end: string;
11302
10917
  } | null | undefined> | null | undefined;
11303
- actionDetails?: {
11304
- templateId?: string | undefined;
11305
- isImmediateCorrection?: boolean | undefined;
11306
- } | null | undefined;
11307
10918
  originalActionId?: string | null | undefined;
11308
10919
  }>, z.ZodObject<z.objectUtil.extendShape<{
11309
10920
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -11584,16 +11195,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11584
11195
  surname?: string | null | undefined;
11585
11196
  middlename?: string | null | undefined;
11586
11197
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
11587
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11588
- templateId: z.ZodOptional<z.ZodString>;
11589
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
11590
- }, "strip", z.ZodTypeAny, {
11591
- templateId?: string | undefined;
11592
- isImmediateCorrection?: boolean | undefined;
11593
- }, {
11594
- templateId?: string | undefined;
11595
- isImmediateCorrection?: boolean | undefined;
11596
- }>>>;
11597
11198
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11598
11199
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11599
11200
  }, {
@@ -11713,10 +11314,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11713
11314
  start: string;
11714
11315
  end: string;
11715
11316
  } | null | undefined> | null | undefined;
11716
- actionDetails?: {
11717
- templateId?: string | undefined;
11718
- isImmediateCorrection?: boolean | undefined;
11719
- } | null | undefined;
11720
11317
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11721
11318
  }, {
11722
11319
  type: "REJECT";
@@ -11823,10 +11420,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11823
11420
  start: string;
11824
11421
  end: string;
11825
11422
  } | null | undefined> | null | undefined;
11826
- actionDetails?: {
11827
- templateId?: string | undefined;
11828
- isImmediateCorrection?: boolean | undefined;
11829
- } | null | undefined;
11830
11423
  originalActionId?: string | null | undefined;
11831
11424
  }>, z.ZodObject<z.objectUtil.extendShape<{
11832
11425
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -12107,16 +11700,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12107
11700
  surname?: string | null | undefined;
12108
11701
  middlename?: string | null | undefined;
12109
11702
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
12110
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12111
- templateId: z.ZodOptional<z.ZodString>;
12112
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
12113
- }, "strip", z.ZodTypeAny, {
12114
- templateId?: string | undefined;
12115
- isImmediateCorrection?: boolean | undefined;
12116
- }, {
12117
- templateId?: string | undefined;
12118
- isImmediateCorrection?: boolean | undefined;
12119
- }>>>;
12120
11703
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12121
11704
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12122
11705
  }, {
@@ -12222,10 +11805,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12222
11805
  start: string;
12223
11806
  end: string;
12224
11807
  } | null | undefined> | null | undefined;
12225
- actionDetails?: {
12226
- templateId?: string | undefined;
12227
- isImmediateCorrection?: boolean | undefined;
12228
- } | null | undefined;
12229
11808
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12230
11809
  }, {
12231
11810
  type: "MARKED_AS_DUPLICATE";
@@ -12328,10 +11907,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12328
11907
  start: string;
12329
11908
  end: string;
12330
11909
  } | null | undefined> | null | undefined;
12331
- actionDetails?: {
12332
- templateId?: string | undefined;
12333
- isImmediateCorrection?: boolean | undefined;
12334
- } | null | undefined;
12335
11910
  originalActionId?: string | null | undefined;
12336
11911
  }>, z.ZodObject<z.objectUtil.extendShape<{
12337
11912
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -12612,16 +12187,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12612
12187
  surname?: string | null | undefined;
12613
12188
  middlename?: string | null | undefined;
12614
12189
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
12615
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12616
- templateId: z.ZodOptional<z.ZodString>;
12617
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
12618
- }, "strip", z.ZodTypeAny, {
12619
- templateId?: string | undefined;
12620
- isImmediateCorrection?: boolean | undefined;
12621
- }, {
12622
- templateId?: string | undefined;
12623
- isImmediateCorrection?: boolean | undefined;
12624
- }>>>;
12625
12190
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12626
12191
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12627
12192
  }, {
@@ -12741,10 +12306,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12741
12306
  start: string;
12742
12307
  end: string;
12743
12308
  } | null | undefined> | null | undefined;
12744
- actionDetails?: {
12745
- templateId?: string | undefined;
12746
- isImmediateCorrection?: boolean | undefined;
12747
- } | null | undefined;
12748
12309
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12749
12310
  }, {
12750
12311
  type: "ARCHIVE";
@@ -12851,10 +12412,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12851
12412
  start: string;
12852
12413
  end: string;
12853
12414
  } | null | undefined> | null | undefined;
12854
- actionDetails?: {
12855
- templateId?: string | undefined;
12856
- isImmediateCorrection?: boolean | undefined;
12857
- } | null | undefined;
12858
12415
  originalActionId?: string | null | undefined;
12859
12416
  }>, z.ZodObject<z.objectUtil.extendShape<{
12860
12417
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -13135,16 +12692,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13135
12692
  surname?: string | null | undefined;
13136
12693
  middlename?: string | null | undefined;
13137
12694
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
13138
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13139
- templateId: z.ZodOptional<z.ZodString>;
13140
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
13141
- }, "strip", z.ZodTypeAny, {
13142
- templateId?: string | undefined;
13143
- isImmediateCorrection?: boolean | undefined;
13144
- }, {
13145
- templateId?: string | undefined;
13146
- isImmediateCorrection?: boolean | undefined;
13147
- }>>>;
13148
12695
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13149
12696
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13150
12697
  }, {
@@ -13250,10 +12797,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13250
12797
  start: string;
13251
12798
  end: string;
13252
12799
  } | null | undefined> | null | undefined;
13253
- actionDetails?: {
13254
- templateId?: string | undefined;
13255
- isImmediateCorrection?: boolean | undefined;
13256
- } | null | undefined;
13257
12800
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13258
12801
  }, {
13259
12802
  type: "NOTIFY";
@@ -13356,10 +12899,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13356
12899
  start: string;
13357
12900
  end: string;
13358
12901
  } | null | undefined> | null | undefined;
13359
- actionDetails?: {
13360
- templateId?: string | undefined;
13361
- isImmediateCorrection?: boolean | undefined;
13362
- } | null | undefined;
13363
12902
  originalActionId?: string | null | undefined;
13364
12903
  }>, z.ZodObject<z.objectUtil.extendShape<{
13365
12904
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -13640,16 +13179,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13640
13179
  surname?: string | null | undefined;
13641
13180
  middlename?: string | null | undefined;
13642
13181
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
13643
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13644
- templateId: z.ZodOptional<z.ZodString>;
13645
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
13646
- }, "strip", z.ZodTypeAny, {
13647
- templateId?: string | undefined;
13648
- isImmediateCorrection?: boolean | undefined;
13649
- }, {
13650
- templateId?: string | undefined;
13651
- isImmediateCorrection?: boolean | undefined;
13652
- }>>>;
13653
13182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13654
13183
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13655
13184
  }, {
@@ -13756,10 +13285,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13756
13285
  start: string;
13757
13286
  end: string;
13758
13287
  } | null | undefined> | null | undefined;
13759
- actionDetails?: {
13760
- templateId?: string | undefined;
13761
- isImmediateCorrection?: boolean | undefined;
13762
- } | null | undefined;
13763
13288
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13764
13289
  registrationNumber?: string | undefined;
13765
13290
  }, {
@@ -13863,10 +13388,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13863
13388
  start: string;
13864
13389
  end: string;
13865
13390
  } | null | undefined> | null | undefined;
13866
- actionDetails?: {
13867
- templateId?: string | undefined;
13868
- isImmediateCorrection?: boolean | undefined;
13869
- } | null | undefined;
13870
13391
  originalActionId?: string | null | undefined;
13871
13392
  registrationNumber?: string | undefined;
13872
13393
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -14148,16 +13669,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14148
13669
  surname?: string | null | undefined;
14149
13670
  middlename?: string | null | undefined;
14150
13671
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
14151
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14152
- templateId: z.ZodOptional<z.ZodString>;
14153
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
14154
- }, "strip", z.ZodTypeAny, {
14155
- templateId?: string | undefined;
14156
- isImmediateCorrection?: boolean | undefined;
14157
- }, {
14158
- templateId?: string | undefined;
14159
- isImmediateCorrection?: boolean | undefined;
14160
- }>>>;
14161
13672
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14162
13673
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14163
13674
  }, {
@@ -14263,10 +13774,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14263
13774
  start: string;
14264
13775
  end: string;
14265
13776
  } | null | undefined> | null | undefined;
14266
- actionDetails?: {
14267
- templateId?: string | undefined;
14268
- isImmediateCorrection?: boolean | undefined;
14269
- } | null | undefined;
14270
13777
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14271
13778
  }, {
14272
13779
  type: "DECLARE";
@@ -14369,10 +13876,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14369
13876
  start: string;
14370
13877
  end: string;
14371
13878
  } | null | undefined> | null | undefined;
14372
- actionDetails?: {
14373
- templateId?: string | undefined;
14374
- isImmediateCorrection?: boolean | undefined;
14375
- } | null | undefined;
14376
13879
  originalActionId?: string | null | undefined;
14377
13880
  }>, z.ZodObject<z.objectUtil.extendShape<{
14378
13881
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -14653,16 +14156,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14653
14156
  surname?: string | null | undefined;
14654
14157
  middlename?: string | null | undefined;
14655
14158
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
14656
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14657
- templateId: z.ZodOptional<z.ZodString>;
14658
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
14659
- }, "strip", z.ZodTypeAny, {
14660
- templateId?: string | undefined;
14661
- isImmediateCorrection?: boolean | undefined;
14662
- }, {
14663
- templateId?: string | undefined;
14664
- isImmediateCorrection?: boolean | undefined;
14665
- }>>>;
14666
14159
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14667
14160
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14668
14161
  }, {
@@ -14770,10 +14263,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14770
14263
  start: string;
14771
14264
  end: string;
14772
14265
  } | null | undefined> | null | undefined;
14773
- actionDetails?: {
14774
- templateId?: string | undefined;
14775
- isImmediateCorrection?: boolean | undefined;
14776
- } | null | undefined;
14777
14266
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14778
14267
  }, {
14779
14268
  type: "ASSIGN";
@@ -14877,10 +14366,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14877
14366
  start: string;
14878
14367
  end: string;
14879
14368
  } | null | undefined> | null | undefined;
14880
- actionDetails?: {
14881
- templateId?: string | undefined;
14882
- isImmediateCorrection?: boolean | undefined;
14883
- } | null | undefined;
14884
14369
  originalActionId?: string | null | undefined;
14885
14370
  }>, z.ZodObject<z.objectUtil.extendShape<{
14886
14371
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -15161,16 +14646,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15161
14646
  surname?: string | null | undefined;
15162
14647
  middlename?: string | null | undefined;
15163
14648
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
15164
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15165
- templateId: z.ZodOptional<z.ZodString>;
15166
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
15167
- }, "strip", z.ZodTypeAny, {
15168
- templateId?: string | undefined;
15169
- isImmediateCorrection?: boolean | undefined;
15170
- }, {
15171
- templateId?: string | undefined;
15172
- isImmediateCorrection?: boolean | undefined;
15173
- }>>>;
15174
14649
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
15175
14650
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15176
14651
  }, {
@@ -15276,10 +14751,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15276
14751
  start: string;
15277
14752
  end: string;
15278
14753
  } | null | undefined> | null | undefined;
15279
- actionDetails?: {
15280
- templateId?: string | undefined;
15281
- isImmediateCorrection?: boolean | undefined;
15282
- } | null | undefined;
15283
14754
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15284
14755
  }, {
15285
14756
  type: "REQUEST_CORRECTION";
@@ -15382,10 +14853,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15382
14853
  start: string;
15383
14854
  end: string;
15384
14855
  } | null | undefined> | null | undefined;
15385
- actionDetails?: {
15386
- templateId?: string | undefined;
15387
- isImmediateCorrection?: boolean | undefined;
15388
- } | null | undefined;
15389
14856
  originalActionId?: string | null | undefined;
15390
14857
  }>, z.ZodObject<z.objectUtil.extendShape<{
15391
14858
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -15666,16 +15133,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15666
15133
  surname?: string | null | undefined;
15667
15134
  middlename?: string | null | undefined;
15668
15135
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
15669
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15670
- templateId: z.ZodOptional<z.ZodString>;
15671
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
15672
- }, "strip", z.ZodTypeAny, {
15673
- templateId?: string | undefined;
15674
- isImmediateCorrection?: boolean | undefined;
15675
- }, {
15676
- templateId?: string | undefined;
15677
- isImmediateCorrection?: boolean | undefined;
15678
- }>>>;
15679
15136
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
15680
15137
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15681
15138
  }, {
@@ -15783,10 +15240,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15783
15240
  start: string;
15784
15241
  end: string;
15785
15242
  } | null | undefined> | null | undefined;
15786
- actionDetails?: {
15787
- templateId?: string | undefined;
15788
- isImmediateCorrection?: boolean | undefined;
15789
- } | null | undefined;
15790
15243
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15791
15244
  }, {
15792
15245
  type: "APPROVE_CORRECTION";
@@ -15890,10 +15343,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15890
15343
  start: string;
15891
15344
  end: string;
15892
15345
  } | null | undefined> | null | undefined;
15893
- actionDetails?: {
15894
- templateId?: string | undefined;
15895
- isImmediateCorrection?: boolean | undefined;
15896
- } | null | undefined;
15897
15346
  originalActionId?: string | null | undefined;
15898
15347
  }>, z.ZodObject<z.objectUtil.extendShape<{
15899
15348
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -16174,25 +15623,29 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16174
15623
  surname?: string | null | undefined;
16175
15624
  middlename?: string | null | undefined;
16176
15625
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
16177
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
16178
- templateId: z.ZodOptional<z.ZodString>;
16179
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
16180
- }, "strip", z.ZodTypeAny, {
16181
- templateId?: string | undefined;
16182
- isImmediateCorrection?: boolean | undefined;
16183
- }, {
16184
- templateId?: string | undefined;
16185
- isImmediateCorrection?: boolean | undefined;
16186
- }>>>;
16187
15626
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
16188
15627
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
16189
15628
  }, {
16190
15629
  type: z.ZodLiteral<"REJECT_CORRECTION">;
16191
15630
  requestId: z.ZodString;
15631
+ reason: z.ZodObject<{
15632
+ message: z.ZodString;
15633
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
15634
+ }, "strip", z.ZodTypeAny, {
15635
+ message: string;
15636
+ isDuplicate?: boolean | undefined;
15637
+ }, {
15638
+ message: string;
15639
+ isDuplicate?: boolean | undefined;
15640
+ }>;
16192
15641
  }>, "strip", z.ZodTypeAny, {
16193
15642
  type: "REJECT_CORRECTION";
16194
15643
  id: string & z.BRAND<"UUID">;
16195
15644
  status: "Rejected" | "Requested" | "Accepted";
15645
+ reason: {
15646
+ message: string;
15647
+ isDuplicate?: boolean | undefined;
15648
+ };
16196
15649
  transactionId: string;
16197
15650
  createdByUserType: "system" | "user";
16198
15651
  createdAt: string;
@@ -16291,15 +15744,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16291
15744
  start: string;
16292
15745
  end: string;
16293
15746
  } | null | undefined> | null | undefined;
16294
- actionDetails?: {
16295
- templateId?: string | undefined;
16296
- isImmediateCorrection?: boolean | undefined;
16297
- } | null | undefined;
16298
15747
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
16299
15748
  }, {
16300
15749
  type: "REJECT_CORRECTION";
16301
15750
  id: string;
16302
15751
  status: "Rejected" | "Requested" | "Accepted";
15752
+ reason: {
15753
+ message: string;
15754
+ isDuplicate?: boolean | undefined;
15755
+ };
16303
15756
  transactionId: string;
16304
15757
  createdByUserType: "system" | "user";
16305
15758
  createdAt: string;
@@ -16398,10 +15851,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16398
15851
  start: string;
16399
15852
  end: string;
16400
15853
  } | null | undefined> | null | undefined;
16401
- actionDetails?: {
16402
- templateId?: string | undefined;
16403
- isImmediateCorrection?: boolean | undefined;
16404
- } | null | undefined;
16405
15854
  originalActionId?: string | null | undefined;
16406
15855
  }>, z.ZodObject<z.objectUtil.extendShape<{
16407
15856
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -16682,16 +16131,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16682
16131
  surname?: string | null | undefined;
16683
16132
  middlename?: string | null | undefined;
16684
16133
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
16685
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
16686
- templateId: z.ZodOptional<z.ZodString>;
16687
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
16688
- }, "strip", z.ZodTypeAny, {
16689
- templateId?: string | undefined;
16690
- isImmediateCorrection?: boolean | undefined;
16691
- }, {
16692
- templateId?: string | undefined;
16693
- isImmediateCorrection?: boolean | undefined;
16694
- }>>>;
16695
16134
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
16696
16135
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
16697
16136
  }, {
@@ -16797,10 +16236,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16797
16236
  start: string;
16798
16237
  end: string;
16799
16238
  } | null | undefined> | null | undefined;
16800
- actionDetails?: {
16801
- templateId?: string | undefined;
16802
- isImmediateCorrection?: boolean | undefined;
16803
- } | null | undefined;
16804
16239
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
16805
16240
  }, {
16806
16241
  type: "UNASSIGN";
@@ -16903,10 +16338,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16903
16338
  start: string;
16904
16339
  end: string;
16905
16340
  } | null | undefined> | null | undefined;
16906
- actionDetails?: {
16907
- templateId?: string | undefined;
16908
- isImmediateCorrection?: boolean | undefined;
16909
- } | null | undefined;
16910
16341
  originalActionId?: string | null | undefined;
16911
16342
  }>, z.ZodObject<z.objectUtil.extendShape<{
16912
16343
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -17187,16 +16618,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17187
16618
  surname?: string | null | undefined;
17188
16619
  middlename?: string | null | undefined;
17189
16620
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
17190
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
17191
- templateId: z.ZodOptional<z.ZodString>;
17192
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
17193
- }, "strip", z.ZodTypeAny, {
17194
- templateId?: string | undefined;
17195
- isImmediateCorrection?: boolean | undefined;
17196
- }, {
17197
- templateId?: string | undefined;
17198
- isImmediateCorrection?: boolean | undefined;
17199
- }>>>;
17200
16621
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
17201
16622
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
17202
16623
  }, {
@@ -17302,10 +16723,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17302
16723
  start: string;
17303
16724
  end: string;
17304
16725
  } | null | undefined> | null | undefined;
17305
- actionDetails?: {
17306
- templateId?: string | undefined;
17307
- isImmediateCorrection?: boolean | undefined;
17308
- } | null | undefined;
17309
16726
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
17310
16727
  }, {
17311
16728
  type: "PRINT_CERTIFICATE";
@@ -17408,10 +16825,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17408
16825
  start: string;
17409
16826
  end: string;
17410
16827
  } | null | undefined> | null | undefined;
17411
- actionDetails?: {
17412
- templateId?: string | undefined;
17413
- isImmediateCorrection?: boolean | undefined;
17414
- } | null | undefined;
17415
16828
  originalActionId?: string | null | undefined;
17416
16829
  }>, z.ZodObject<z.objectUtil.extendShape<{
17417
16830
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -17692,16 +17105,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17692
17105
  surname?: string | null | undefined;
17693
17106
  middlename?: string | null | undefined;
17694
17107
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
17695
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
17696
- templateId: z.ZodOptional<z.ZodString>;
17697
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
17698
- }, "strip", z.ZodTypeAny, {
17699
- templateId?: string | undefined;
17700
- isImmediateCorrection?: boolean | undefined;
17701
- }, {
17702
- templateId?: string | undefined;
17703
- isImmediateCorrection?: boolean | undefined;
17704
- }>>>;
17705
17108
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
17706
17109
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
17707
17110
  }, {
@@ -17807,10 +17210,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17807
17210
  start: string;
17808
17211
  end: string;
17809
17212
  } | null | undefined> | null | undefined;
17810
- actionDetails?: {
17811
- templateId?: string | undefined;
17812
- isImmediateCorrection?: boolean | undefined;
17813
- } | null | undefined;
17814
17213
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
17815
17214
  }, {
17816
17215
  type: "READ";
@@ -17913,10 +17312,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17913
17312
  start: string;
17914
17313
  end: string;
17915
17314
  } | null | undefined> | null | undefined;
17916
- actionDetails?: {
17917
- templateId?: string | undefined;
17918
- isImmediateCorrection?: boolean | undefined;
17919
- } | null | undefined;
17920
17315
  originalActionId?: string | null | undefined;
17921
17316
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
17922
17317
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -18197,16 +17592,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
18197
17592
  surname?: string | null | undefined;
18198
17593
  middlename?: string | null | undefined;
18199
17594
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
18200
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18201
- templateId: z.ZodOptional<z.ZodString>;
18202
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
18203
- }, "strip", z.ZodTypeAny, {
18204
- templateId?: string | undefined;
18205
- isImmediateCorrection?: boolean | undefined;
18206
- }, {
18207
- templateId?: string | undefined;
18208
- isImmediateCorrection?: boolean | undefined;
18209
- }>>>;
18210
17595
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
18211
17596
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
18212
17597
  }, "declaration" | "annotation">, {
@@ -18223,10 +17608,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
18223
17608
  createdByRole: string;
18224
17609
  createdBySignature?: string | null | undefined;
18225
17610
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
18226
- actionDetails?: {
18227
- templateId?: string | undefined;
18228
- isImmediateCorrection?: boolean | undefined;
18229
- } | null | undefined;
18230
17611
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
18231
17612
  }, {
18232
17613
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -18239,10 +17620,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
18239
17620
  createdByRole: string;
18240
17621
  createdBySignature?: string | null | undefined;
18241
17622
  createdAtLocation?: string | null | undefined;
18242
- actionDetails?: {
18243
- templateId?: string | undefined;
18244
- isImmediateCorrection?: boolean | undefined;
18245
- } | null | undefined;
18246
17623
  originalActionId?: string | null | undefined;
18247
17624
  }>]>;
18248
17625
  export type Action = ActionDocument | AsyncRejectActionDocument;