@opencrvs/toolkit 1.8.1-rc.3e74262 → 1.8.1-rc.7e34683

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,6 +8221,16 @@ 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
  }, {
@@ -8047,6 +8338,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8047
8338
  start: string;
8048
8339
  end: string;
8049
8340
  } | null | undefined> | null | undefined;
8341
+ actionDetails?: {
8342
+ templateId?: string | undefined;
8343
+ isImmediateCorrection?: boolean | undefined;
8344
+ } | null | undefined;
8050
8345
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8051
8346
  }, {
8052
8347
  type: "REJECT_CORRECTION";
@@ -8150,6 +8445,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8150
8445
  start: string;
8151
8446
  end: string;
8152
8447
  } | null | undefined> | null | undefined;
8448
+ actionDetails?: {
8449
+ templateId?: string | undefined;
8450
+ isImmediateCorrection?: boolean | undefined;
8451
+ } | null | undefined;
8153
8452
  originalActionId?: string | null | undefined;
8154
8453
  }>, z.ZodObject<z.objectUtil.extendShape<{
8155
8454
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -8430,6 +8729,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8430
8729
  surname?: string | null | undefined;
8431
8730
  middlename?: string | null | undefined;
8432
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
+ }>>>;
8433
8742
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8434
8743
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8435
8744
  }, {
@@ -8535,6 +8844,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8535
8844
  start: string;
8536
8845
  end: string;
8537
8846
  } | null | undefined> | null | undefined;
8847
+ actionDetails?: {
8848
+ templateId?: string | undefined;
8849
+ isImmediateCorrection?: boolean | undefined;
8850
+ } | null | undefined;
8538
8851
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8539
8852
  }, {
8540
8853
  type: "UNASSIGN";
@@ -8637,6 +8950,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8637
8950
  start: string;
8638
8951
  end: string;
8639
8952
  } | null | undefined> | null | undefined;
8953
+ actionDetails?: {
8954
+ templateId?: string | undefined;
8955
+ isImmediateCorrection?: boolean | undefined;
8956
+ } | null | undefined;
8640
8957
  originalActionId?: string | null | undefined;
8641
8958
  }>, z.ZodObject<z.objectUtil.extendShape<{
8642
8959
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -8917,6 +9234,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8917
9234
  surname?: string | null | undefined;
8918
9235
  middlename?: string | null | undefined;
8919
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
+ }>>>;
8920
9247
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8921
9248
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8922
9249
  }, {
@@ -9022,6 +9349,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9022
9349
  start: string;
9023
9350
  end: string;
9024
9351
  } | null | undefined> | null | undefined;
9352
+ actionDetails?: {
9353
+ templateId?: string | undefined;
9354
+ isImmediateCorrection?: boolean | undefined;
9355
+ } | null | undefined;
9025
9356
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9026
9357
  }, {
9027
9358
  type: "PRINT_CERTIFICATE";
@@ -9124,6 +9455,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9124
9455
  start: string;
9125
9456
  end: string;
9126
9457
  } | null | undefined> | null | undefined;
9458
+ actionDetails?: {
9459
+ templateId?: string | undefined;
9460
+ isImmediateCorrection?: boolean | undefined;
9461
+ } | null | undefined;
9127
9462
  originalActionId?: string | null | undefined;
9128
9463
  }>, z.ZodObject<z.objectUtil.extendShape<{
9129
9464
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -9404,6 +9739,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9404
9739
  surname?: string | null | undefined;
9405
9740
  middlename?: string | null | undefined;
9406
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
+ }>>>;
9407
9752
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9408
9753
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9409
9754
  }, {
@@ -9509,6 +9854,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9509
9854
  start: string;
9510
9855
  end: string;
9511
9856
  } | null | undefined> | null | undefined;
9857
+ actionDetails?: {
9858
+ templateId?: string | undefined;
9859
+ isImmediateCorrection?: boolean | undefined;
9860
+ } | null | undefined;
9512
9861
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9513
9862
  }, {
9514
9863
  type: "READ";
@@ -9611,6 +9960,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9611
9960
  start: string;
9612
9961
  end: string;
9613
9962
  } | null | undefined> | null | undefined;
9963
+ actionDetails?: {
9964
+ templateId?: string | undefined;
9965
+ isImmediateCorrection?: boolean | undefined;
9966
+ } | null | undefined;
9614
9967
  originalActionId?: string | null | undefined;
9615
9968
  }>]>;
9616
9969
  export type ActionDocument = z.infer<typeof ActionDocument>;
@@ -9893,6 +10246,16 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
9893
10246
  surname?: string | null | undefined;
9894
10247
  middlename?: string | null | undefined;
9895
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
+ }>>>;
9896
10259
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9897
10260
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9898
10261
  }, "declaration" | "annotation">, {
@@ -9909,6 +10272,10 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
9909
10272
  createdByRole: string;
9910
10273
  createdBySignature?: string | null | undefined;
9911
10274
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10275
+ actionDetails?: {
10276
+ templateId?: string | undefined;
10277
+ isImmediateCorrection?: boolean | undefined;
10278
+ } | null | undefined;
9912
10279
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9913
10280
  }, {
9914
10281
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -9921,6 +10288,10 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
9921
10288
  createdByRole: string;
9922
10289
  createdBySignature?: string | null | undefined;
9923
10290
  createdAtLocation?: string | null | undefined;
10291
+ actionDetails?: {
10292
+ templateId?: string | undefined;
10293
+ isImmediateCorrection?: boolean | undefined;
10294
+ } | null | undefined;
9924
10295
  originalActionId?: string | null | undefined;
9925
10296
  }>;
9926
10297
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
@@ -10203,6 +10574,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10203
10574
  surname?: string | null | undefined;
10204
10575
  middlename?: string | null | undefined;
10205
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
+ }>>>;
10206
10587
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10207
10588
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10208
10589
  }, {
@@ -10308,6 +10689,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10308
10689
  start: string;
10309
10690
  end: string;
10310
10691
  } | null | undefined> | null | undefined;
10692
+ actionDetails?: {
10693
+ templateId?: string | undefined;
10694
+ isImmediateCorrection?: boolean | undefined;
10695
+ } | null | undefined;
10311
10696
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10312
10697
  }, {
10313
10698
  type: "CREATE";
@@ -10410,6 +10795,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10410
10795
  start: string;
10411
10796
  end: string;
10412
10797
  } | null | undefined> | null | undefined;
10798
+ actionDetails?: {
10799
+ templateId?: string | undefined;
10800
+ isImmediateCorrection?: boolean | undefined;
10801
+ } | null | undefined;
10413
10802
  originalActionId?: string | null | undefined;
10414
10803
  }>, z.ZodObject<z.objectUtil.extendShape<{
10415
10804
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -10690,6 +11079,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10690
11079
  surname?: string | null | undefined;
10691
11080
  middlename?: string | null | undefined;
10692
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
+ }>>>;
10693
11092
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10694
11093
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10695
11094
  }, {
@@ -10795,6 +11194,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10795
11194
  start: string;
10796
11195
  end: string;
10797
11196
  } | null | undefined> | null | undefined;
11197
+ actionDetails?: {
11198
+ templateId?: string | undefined;
11199
+ isImmediateCorrection?: boolean | undefined;
11200
+ } | null | undefined;
10798
11201
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10799
11202
  }, {
10800
11203
  type: "VALIDATE";
@@ -10897,6 +11300,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10897
11300
  start: string;
10898
11301
  end: string;
10899
11302
  } | null | undefined> | null | undefined;
11303
+ actionDetails?: {
11304
+ templateId?: string | undefined;
11305
+ isImmediateCorrection?: boolean | undefined;
11306
+ } | null | undefined;
10900
11307
  originalActionId?: string | null | undefined;
10901
11308
  }>, z.ZodObject<z.objectUtil.extendShape<{
10902
11309
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -11177,6 +11584,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11177
11584
  surname?: string | null | undefined;
11178
11585
  middlename?: string | null | undefined;
11179
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
+ }>>>;
11180
11597
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11181
11598
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11182
11599
  }, {
@@ -11296,6 +11713,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11296
11713
  start: string;
11297
11714
  end: string;
11298
11715
  } | null | undefined> | null | undefined;
11716
+ actionDetails?: {
11717
+ templateId?: string | undefined;
11718
+ isImmediateCorrection?: boolean | undefined;
11719
+ } | null | undefined;
11299
11720
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11300
11721
  }, {
11301
11722
  type: "REJECT";
@@ -11402,6 +11823,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11402
11823
  start: string;
11403
11824
  end: string;
11404
11825
  } | null | undefined> | null | undefined;
11826
+ actionDetails?: {
11827
+ templateId?: string | undefined;
11828
+ isImmediateCorrection?: boolean | undefined;
11829
+ } | null | undefined;
11405
11830
  originalActionId?: string | null | undefined;
11406
11831
  }>, z.ZodObject<z.objectUtil.extendShape<{
11407
11832
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -11682,6 +12107,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11682
12107
  surname?: string | null | undefined;
11683
12108
  middlename?: string | null | undefined;
11684
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
+ }>>>;
11685
12120
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11686
12121
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11687
12122
  }, {
@@ -11787,6 +12222,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11787
12222
  start: string;
11788
12223
  end: string;
11789
12224
  } | null | undefined> | null | undefined;
12225
+ actionDetails?: {
12226
+ templateId?: string | undefined;
12227
+ isImmediateCorrection?: boolean | undefined;
12228
+ } | null | undefined;
11790
12229
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11791
12230
  }, {
11792
12231
  type: "MARKED_AS_DUPLICATE";
@@ -11889,6 +12328,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11889
12328
  start: string;
11890
12329
  end: string;
11891
12330
  } | null | undefined> | null | undefined;
12331
+ actionDetails?: {
12332
+ templateId?: string | undefined;
12333
+ isImmediateCorrection?: boolean | undefined;
12334
+ } | null | undefined;
11892
12335
  originalActionId?: string | null | undefined;
11893
12336
  }>, z.ZodObject<z.objectUtil.extendShape<{
11894
12337
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -12169,6 +12612,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12169
12612
  surname?: string | null | undefined;
12170
12613
  middlename?: string | null | undefined;
12171
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
+ }>>>;
12172
12625
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12173
12626
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12174
12627
  }, {
@@ -12288,6 +12741,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12288
12741
  start: string;
12289
12742
  end: string;
12290
12743
  } | null | undefined> | null | undefined;
12744
+ actionDetails?: {
12745
+ templateId?: string | undefined;
12746
+ isImmediateCorrection?: boolean | undefined;
12747
+ } | null | undefined;
12291
12748
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12292
12749
  }, {
12293
12750
  type: "ARCHIVE";
@@ -12394,6 +12851,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12394
12851
  start: string;
12395
12852
  end: string;
12396
12853
  } | null | undefined> | null | undefined;
12854
+ actionDetails?: {
12855
+ templateId?: string | undefined;
12856
+ isImmediateCorrection?: boolean | undefined;
12857
+ } | null | undefined;
12397
12858
  originalActionId?: string | null | undefined;
12398
12859
  }>, z.ZodObject<z.objectUtil.extendShape<{
12399
12860
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -12674,6 +13135,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12674
13135
  surname?: string | null | undefined;
12675
13136
  middlename?: string | null | undefined;
12676
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
+ }>>>;
12677
13148
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12678
13149
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12679
13150
  }, {
@@ -12779,6 +13250,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12779
13250
  start: string;
12780
13251
  end: string;
12781
13252
  } | null | undefined> | null | undefined;
13253
+ actionDetails?: {
13254
+ templateId?: string | undefined;
13255
+ isImmediateCorrection?: boolean | undefined;
13256
+ } | null | undefined;
12782
13257
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12783
13258
  }, {
12784
13259
  type: "NOTIFY";
@@ -12881,6 +13356,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12881
13356
  start: string;
12882
13357
  end: string;
12883
13358
  } | null | undefined> | null | undefined;
13359
+ actionDetails?: {
13360
+ templateId?: string | undefined;
13361
+ isImmediateCorrection?: boolean | undefined;
13362
+ } | null | undefined;
12884
13363
  originalActionId?: string | null | undefined;
12885
13364
  }>, z.ZodObject<z.objectUtil.extendShape<{
12886
13365
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -13161,6 +13640,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13161
13640
  surname?: string | null | undefined;
13162
13641
  middlename?: string | null | undefined;
13163
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
+ }>>>;
13164
13653
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13165
13654
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13166
13655
  }, {
@@ -13267,6 +13756,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13267
13756
  start: string;
13268
13757
  end: string;
13269
13758
  } | null | undefined> | null | undefined;
13759
+ actionDetails?: {
13760
+ templateId?: string | undefined;
13761
+ isImmediateCorrection?: boolean | undefined;
13762
+ } | null | undefined;
13270
13763
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13271
13764
  registrationNumber?: string | undefined;
13272
13765
  }, {
@@ -13370,6 +13863,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13370
13863
  start: string;
13371
13864
  end: string;
13372
13865
  } | null | undefined> | null | undefined;
13866
+ actionDetails?: {
13867
+ templateId?: string | undefined;
13868
+ isImmediateCorrection?: boolean | undefined;
13869
+ } | null | undefined;
13373
13870
  originalActionId?: string | null | undefined;
13374
13871
  registrationNumber?: string | undefined;
13375
13872
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -13651,6 +14148,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13651
14148
  surname?: string | null | undefined;
13652
14149
  middlename?: string | null | undefined;
13653
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
+ }>>>;
13654
14161
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13655
14162
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13656
14163
  }, {
@@ -13756,6 +14263,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13756
14263
  start: string;
13757
14264
  end: string;
13758
14265
  } | null | undefined> | null | undefined;
14266
+ actionDetails?: {
14267
+ templateId?: string | undefined;
14268
+ isImmediateCorrection?: boolean | undefined;
14269
+ } | null | undefined;
13759
14270
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13760
14271
  }, {
13761
14272
  type: "DECLARE";
@@ -13858,6 +14369,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13858
14369
  start: string;
13859
14370
  end: string;
13860
14371
  } | null | undefined> | null | undefined;
14372
+ actionDetails?: {
14373
+ templateId?: string | undefined;
14374
+ isImmediateCorrection?: boolean | undefined;
14375
+ } | null | undefined;
13861
14376
  originalActionId?: string | null | undefined;
13862
14377
  }>, z.ZodObject<z.objectUtil.extendShape<{
13863
14378
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -14138,6 +14653,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14138
14653
  surname?: string | null | undefined;
14139
14654
  middlename?: string | null | undefined;
14140
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
+ }>>>;
14141
14666
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14142
14667
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14143
14668
  }, {
@@ -14245,6 +14770,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14245
14770
  start: string;
14246
14771
  end: string;
14247
14772
  } | null | undefined> | null | undefined;
14773
+ actionDetails?: {
14774
+ templateId?: string | undefined;
14775
+ isImmediateCorrection?: boolean | undefined;
14776
+ } | null | undefined;
14248
14777
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14249
14778
  }, {
14250
14779
  type: "ASSIGN";
@@ -14348,6 +14877,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14348
14877
  start: string;
14349
14878
  end: string;
14350
14879
  } | null | undefined> | null | undefined;
14880
+ actionDetails?: {
14881
+ templateId?: string | undefined;
14882
+ isImmediateCorrection?: boolean | undefined;
14883
+ } | null | undefined;
14351
14884
  originalActionId?: string | null | undefined;
14352
14885
  }>, z.ZodObject<z.objectUtil.extendShape<{
14353
14886
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -14628,6 +15161,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14628
15161
  surname?: string | null | undefined;
14629
15162
  middlename?: string | null | undefined;
14630
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
+ }>>>;
14631
15174
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14632
15175
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14633
15176
  }, {
@@ -14733,6 +15276,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14733
15276
  start: string;
14734
15277
  end: string;
14735
15278
  } | null | undefined> | null | undefined;
15279
+ actionDetails?: {
15280
+ templateId?: string | undefined;
15281
+ isImmediateCorrection?: boolean | undefined;
15282
+ } | null | undefined;
14736
15283
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14737
15284
  }, {
14738
15285
  type: "REQUEST_CORRECTION";
@@ -14835,6 +15382,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14835
15382
  start: string;
14836
15383
  end: string;
14837
15384
  } | null | undefined> | null | undefined;
15385
+ actionDetails?: {
15386
+ templateId?: string | undefined;
15387
+ isImmediateCorrection?: boolean | undefined;
15388
+ } | null | undefined;
14838
15389
  originalActionId?: string | null | undefined;
14839
15390
  }>, z.ZodObject<z.objectUtil.extendShape<{
14840
15391
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -15115,6 +15666,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15115
15666
  surname?: string | null | undefined;
15116
15667
  middlename?: string | null | undefined;
15117
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
+ }>>>;
15118
15679
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
15119
15680
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15120
15681
  }, {
@@ -15222,6 +15783,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15222
15783
  start: string;
15223
15784
  end: string;
15224
15785
  } | null | undefined> | null | undefined;
15786
+ actionDetails?: {
15787
+ templateId?: string | undefined;
15788
+ isImmediateCorrection?: boolean | undefined;
15789
+ } | null | undefined;
15225
15790
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15226
15791
  }, {
15227
15792
  type: "APPROVE_CORRECTION";
@@ -15325,6 +15890,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15325
15890
  start: string;
15326
15891
  end: string;
15327
15892
  } | null | undefined> | null | undefined;
15893
+ actionDetails?: {
15894
+ templateId?: string | undefined;
15895
+ isImmediateCorrection?: boolean | undefined;
15896
+ } | null | undefined;
15328
15897
  originalActionId?: string | null | undefined;
15329
15898
  }>, z.ZodObject<z.objectUtil.extendShape<{
15330
15899
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -15605,6 +16174,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15605
16174
  surname?: string | null | undefined;
15606
16175
  middlename?: string | null | undefined;
15607
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
+ }>>>;
15608
16187
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
15609
16188
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15610
16189
  }, {
@@ -15712,6 +16291,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15712
16291
  start: string;
15713
16292
  end: string;
15714
16293
  } | null | undefined> | null | undefined;
16294
+ actionDetails?: {
16295
+ templateId?: string | undefined;
16296
+ isImmediateCorrection?: boolean | undefined;
16297
+ } | null | undefined;
15715
16298
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15716
16299
  }, {
15717
16300
  type: "REJECT_CORRECTION";
@@ -15815,6 +16398,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15815
16398
  start: string;
15816
16399
  end: string;
15817
16400
  } | null | undefined> | null | undefined;
16401
+ actionDetails?: {
16402
+ templateId?: string | undefined;
16403
+ isImmediateCorrection?: boolean | undefined;
16404
+ } | null | undefined;
15818
16405
  originalActionId?: string | null | undefined;
15819
16406
  }>, z.ZodObject<z.objectUtil.extendShape<{
15820
16407
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -16095,6 +16682,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16095
16682
  surname?: string | null | undefined;
16096
16683
  middlename?: string | null | undefined;
16097
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
+ }>>>;
16098
16695
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
16099
16696
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
16100
16697
  }, {
@@ -16200,6 +16797,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16200
16797
  start: string;
16201
16798
  end: string;
16202
16799
  } | null | undefined> | null | undefined;
16800
+ actionDetails?: {
16801
+ templateId?: string | undefined;
16802
+ isImmediateCorrection?: boolean | undefined;
16803
+ } | null | undefined;
16203
16804
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
16204
16805
  }, {
16205
16806
  type: "UNASSIGN";
@@ -16302,6 +16903,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16302
16903
  start: string;
16303
16904
  end: string;
16304
16905
  } | null | undefined> | null | undefined;
16906
+ actionDetails?: {
16907
+ templateId?: string | undefined;
16908
+ isImmediateCorrection?: boolean | undefined;
16909
+ } | null | undefined;
16305
16910
  originalActionId?: string | null | undefined;
16306
16911
  }>, z.ZodObject<z.objectUtil.extendShape<{
16307
16912
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -16582,6 +17187,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16582
17187
  surname?: string | null | undefined;
16583
17188
  middlename?: string | null | undefined;
16584
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
+ }>>>;
16585
17200
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
16586
17201
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
16587
17202
  }, {
@@ -16687,6 +17302,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16687
17302
  start: string;
16688
17303
  end: string;
16689
17304
  } | null | undefined> | null | undefined;
17305
+ actionDetails?: {
17306
+ templateId?: string | undefined;
17307
+ isImmediateCorrection?: boolean | undefined;
17308
+ } | null | undefined;
16690
17309
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
16691
17310
  }, {
16692
17311
  type: "PRINT_CERTIFICATE";
@@ -16789,6 +17408,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16789
17408
  start: string;
16790
17409
  end: string;
16791
17410
  } | null | undefined> | null | undefined;
17411
+ actionDetails?: {
17412
+ templateId?: string | undefined;
17413
+ isImmediateCorrection?: boolean | undefined;
17414
+ } | null | undefined;
16792
17415
  originalActionId?: string | null | undefined;
16793
17416
  }>, z.ZodObject<z.objectUtil.extendShape<{
16794
17417
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -17069,6 +17692,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17069
17692
  surname?: string | null | undefined;
17070
17693
  middlename?: string | null | undefined;
17071
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
+ }>>>;
17072
17705
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
17073
17706
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
17074
17707
  }, {
@@ -17174,6 +17807,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17174
17807
  start: string;
17175
17808
  end: string;
17176
17809
  } | null | undefined> | null | undefined;
17810
+ actionDetails?: {
17811
+ templateId?: string | undefined;
17812
+ isImmediateCorrection?: boolean | undefined;
17813
+ } | null | undefined;
17177
17814
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
17178
17815
  }, {
17179
17816
  type: "READ";
@@ -17276,6 +17913,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17276
17913
  start: string;
17277
17914
  end: string;
17278
17915
  } | null | undefined> | null | undefined;
17916
+ actionDetails?: {
17917
+ templateId?: string | undefined;
17918
+ isImmediateCorrection?: boolean | undefined;
17919
+ } | null | undefined;
17279
17920
  originalActionId?: string | null | undefined;
17280
17921
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
17281
17922
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -17556,6 +18197,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17556
18197
  surname?: string | null | undefined;
17557
18198
  middlename?: string | null | undefined;
17558
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
+ }>>>;
17559
18210
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
17560
18211
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
17561
18212
  }, "declaration" | "annotation">, {
@@ -17572,6 +18223,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17572
18223
  createdByRole: string;
17573
18224
  createdBySignature?: string | null | undefined;
17574
18225
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
18226
+ actionDetails?: {
18227
+ templateId?: string | undefined;
18228
+ isImmediateCorrection?: boolean | undefined;
18229
+ } | null | undefined;
17575
18230
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
17576
18231
  }, {
17577
18232
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -17584,6 +18239,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
17584
18239
  createdByRole: string;
17585
18240
  createdBySignature?: string | null | undefined;
17586
18241
  createdAtLocation?: string | null | undefined;
18242
+ actionDetails?: {
18243
+ templateId?: string | undefined;
18244
+ isImmediateCorrection?: boolean | undefined;
18245
+ } | null | undefined;
17587
18246
  originalActionId?: string | null | undefined;
17588
18247
  }>]>;
17589
18248
  export type Action = ActionDocument | AsyncRejectActionDocument;