@opencrvs/toolkit 1.8.1-rc.be16155 → 1.8.1-rc.e32d7b8

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