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

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.
@@ -272,16 +272,6 @@ export declare const BaseActionInput: z.ZodObject<{
272
272
  surname?: string | null | undefined;
273
273
  middlename?: string | null | undefined;
274
274
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
275
- actionDetails: z.ZodOptional<z.ZodObject<{
276
- templateId: z.ZodOptional<z.ZodString>;
277
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
278
- }, "strip", z.ZodTypeAny, {
279
- templateId?: string | undefined;
280
- isImmediateCorrection?: boolean | undefined;
281
- }, {
282
- templateId?: string | undefined;
283
- isImmediateCorrection?: boolean | undefined;
284
- }>>;
285
275
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
286
276
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
287
277
  }, "strip", z.ZodTypeAny, {
@@ -377,10 +367,6 @@ export declare const BaseActionInput: z.ZodObject<{
377
367
  start: string;
378
368
  end: string;
379
369
  } | null | undefined> | undefined;
380
- actionDetails?: {
381
- templateId?: string | undefined;
382
- isImmediateCorrection?: boolean | undefined;
383
- } | undefined;
384
370
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
385
371
  keepAssignment?: boolean | undefined;
386
372
  }, {
@@ -476,10 +462,6 @@ export declare const BaseActionInput: z.ZodObject<{
476
462
  start: string;
477
463
  end: string;
478
464
  } | null | undefined> | undefined;
479
- actionDetails?: {
480
- templateId?: string | undefined;
481
- isImmediateCorrection?: boolean | undefined;
482
- } | undefined;
483
465
  originalActionId?: string | undefined;
484
466
  keepAssignment?: boolean | undefined;
485
467
  }>;
@@ -756,16 +738,6 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
756
738
  surname?: string | null | undefined;
757
739
  middlename?: string | null | undefined;
758
740
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
759
- actionDetails: z.ZodOptional<z.ZodObject<{
760
- templateId: z.ZodOptional<z.ZodString>;
761
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
762
- }, "strip", z.ZodTypeAny, {
763
- templateId?: string | undefined;
764
- isImmediateCorrection?: boolean | undefined;
765
- }, {
766
- templateId?: string | undefined;
767
- isImmediateCorrection?: boolean | undefined;
768
- }>>;
769
741
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
770
742
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
771
743
  }, {
@@ -865,10 +837,6 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
865
837
  start: string;
866
838
  end: string;
867
839
  } | null | undefined> | undefined;
868
- actionDetails?: {
869
- templateId?: string | undefined;
870
- isImmediateCorrection?: boolean | undefined;
871
- } | undefined;
872
840
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
873
841
  registrationNumber?: string | undefined;
874
842
  keepAssignment?: boolean | undefined;
@@ -966,10 +934,6 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
966
934
  start: string;
967
935
  end: string;
968
936
  } | null | undefined> | undefined;
969
- actionDetails?: {
970
- templateId?: string | undefined;
971
- isImmediateCorrection?: boolean | undefined;
972
- } | undefined;
973
937
  originalActionId?: string | undefined;
974
938
  registrationNumber?: string | undefined;
975
939
  keepAssignment?: boolean | undefined;
@@ -1248,16 +1212,6 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1248
1212
  surname?: string | null | undefined;
1249
1213
  middlename?: string | null | undefined;
1250
1214
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1251
- actionDetails: z.ZodOptional<z.ZodObject<{
1252
- templateId: z.ZodOptional<z.ZodString>;
1253
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
1254
- }, "strip", z.ZodTypeAny, {
1255
- templateId?: string | undefined;
1256
- isImmediateCorrection?: boolean | undefined;
1257
- }, {
1258
- templateId?: string | undefined;
1259
- isImmediateCorrection?: boolean | undefined;
1260
- }>>;
1261
1215
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1262
1216
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
1263
1217
  }, {
@@ -1358,10 +1312,6 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1358
1312
  start: string;
1359
1313
  end: string;
1360
1314
  } | null | undefined> | undefined;
1361
- actionDetails?: {
1362
- templateId?: string | undefined;
1363
- isImmediateCorrection?: boolean | undefined;
1364
- } | undefined;
1365
1315
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1366
1316
  keepAssignment?: boolean | undefined;
1367
1317
  }, {
@@ -1459,10 +1409,6 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1459
1409
  start: string;
1460
1410
  end: string;
1461
1411
  } | null | undefined> | undefined;
1462
- actionDetails?: {
1463
- templateId?: string | undefined;
1464
- isImmediateCorrection?: boolean | undefined;
1465
- } | undefined;
1466
1412
  originalActionId?: string | undefined;
1467
1413
  keepAssignment?: boolean | undefined;
1468
1414
  }>;
@@ -1740,16 +1686,6 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1740
1686
  surname?: string | null | undefined;
1741
1687
  middlename?: string | null | undefined;
1742
1688
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1743
- actionDetails: z.ZodOptional<z.ZodObject<{
1744
- templateId: z.ZodOptional<z.ZodString>;
1745
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
1746
- }, "strip", z.ZodTypeAny, {
1747
- templateId?: string | undefined;
1748
- isImmediateCorrection?: boolean | undefined;
1749
- }, {
1750
- templateId?: string | undefined;
1751
- isImmediateCorrection?: boolean | undefined;
1752
- }>>;
1753
1689
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1754
1690
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
1755
1691
  }, {
@@ -1848,10 +1784,6 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1848
1784
  start: string;
1849
1785
  end: string;
1850
1786
  } | null | undefined> | undefined;
1851
- actionDetails?: {
1852
- templateId?: string | undefined;
1853
- isImmediateCorrection?: boolean | undefined;
1854
- } | undefined;
1855
1787
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1856
1788
  keepAssignment?: boolean | undefined;
1857
1789
  }, {
@@ -1948,10 +1880,6 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1948
1880
  start: string;
1949
1881
  end: string;
1950
1882
  } | null | undefined> | undefined;
1951
- actionDetails?: {
1952
- templateId?: string | undefined;
1953
- isImmediateCorrection?: boolean | undefined;
1954
- } | undefined;
1955
1883
  originalActionId?: string | undefined;
1956
1884
  keepAssignment?: boolean | undefined;
1957
1885
  }>;
@@ -2229,16 +2157,6 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
2229
2157
  surname?: string | null | undefined;
2230
2158
  middlename?: string | null | undefined;
2231
2159
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2232
- actionDetails: z.ZodOptional<z.ZodObject<{
2233
- templateId: z.ZodOptional<z.ZodString>;
2234
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2235
- }, "strip", z.ZodTypeAny, {
2236
- templateId?: string | undefined;
2237
- isImmediateCorrection?: boolean | undefined;
2238
- }, {
2239
- templateId?: string | undefined;
2240
- isImmediateCorrection?: boolean | undefined;
2241
- }>>;
2242
2160
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
2243
2161
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
2244
2162
  }, {
@@ -2337,10 +2255,6 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
2337
2255
  start: string;
2338
2256
  end: string;
2339
2257
  } | null | undefined> | undefined;
2340
- actionDetails?: {
2341
- templateId?: string | undefined;
2342
- isImmediateCorrection?: boolean | undefined;
2343
- } | undefined;
2344
2258
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
2345
2259
  keepAssignment?: boolean | undefined;
2346
2260
  }, {
@@ -2437,10 +2351,6 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
2437
2351
  start: string;
2438
2352
  end: string;
2439
2353
  } | null | undefined> | undefined;
2440
- actionDetails?: {
2441
- templateId?: string | undefined;
2442
- isImmediateCorrection?: boolean | undefined;
2443
- } | undefined;
2444
2354
  originalActionId?: string | undefined;
2445
2355
  keepAssignment?: boolean | undefined;
2446
2356
  }>;
@@ -2717,20 +2627,17 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2717
2627
  surname?: string | null | undefined;
2718
2628
  middlename?: string | null | undefined;
2719
2629
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2720
- actionDetails: z.ZodOptional<z.ZodObject<{
2630
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
2631
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2632
+ }, {
2633
+ type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2634
+ content: z.ZodOptional<z.ZodObject<{
2721
2635
  templateId: z.ZodOptional<z.ZodString>;
2722
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2723
2636
  }, "strip", z.ZodTypeAny, {
2724
2637
  templateId?: string | undefined;
2725
- isImmediateCorrection?: boolean | undefined;
2726
2638
  }, {
2727
2639
  templateId?: string | undefined;
2728
- isImmediateCorrection?: boolean | undefined;
2729
2640
  }>>;
2730
- originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
2731
- keepAssignment: z.ZodOptional<z.ZodBoolean>;
2732
- }, {
2733
- type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2734
2641
  }>, "strip", z.ZodTypeAny, {
2735
2642
  type: "PRINT_CERTIFICATE";
2736
2643
  transactionId: string;
@@ -2780,6 +2687,9 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2780
2687
  end: string;
2781
2688
  } | null | undefined>;
2782
2689
  eventId: string & z.BRAND<"UUID">;
2690
+ content?: {
2691
+ templateId?: string | undefined;
2692
+ } | undefined;
2783
2693
  annotation?: Record<string, string | number | boolean | {
2784
2694
  type: string;
2785
2695
  path: string;
@@ -2825,16 +2735,15 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2825
2735
  start: string;
2826
2736
  end: string;
2827
2737
  } | null | undefined> | undefined;
2828
- actionDetails?: {
2829
- templateId?: string | undefined;
2830
- isImmediateCorrection?: boolean | undefined;
2831
- } | undefined;
2832
2738
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
2833
2739
  keepAssignment?: boolean | undefined;
2834
2740
  }, {
2835
2741
  transactionId: string;
2836
2742
  eventId: string;
2837
2743
  type?: "PRINT_CERTIFICATE" | undefined;
2744
+ content?: {
2745
+ templateId?: string | undefined;
2746
+ } | undefined;
2838
2747
  declaration?: Record<string, string | number | boolean | {
2839
2748
  type: string;
2840
2749
  path: string;
@@ -2925,10 +2834,6 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2925
2834
  start: string;
2926
2835
  end: string;
2927
2836
  } | null | undefined> | undefined;
2928
- actionDetails?: {
2929
- templateId?: string | undefined;
2930
- isImmediateCorrection?: boolean | undefined;
2931
- } | undefined;
2932
2837
  originalActionId?: string | undefined;
2933
2838
  keepAssignment?: boolean | undefined;
2934
2839
  }>;
@@ -3206,16 +3111,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
3206
3111
  surname?: string | null | undefined;
3207
3112
  middlename?: string | null | undefined;
3208
3113
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3209
- actionDetails: z.ZodOptional<z.ZodObject<{
3210
- templateId: z.ZodOptional<z.ZodString>;
3211
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
3212
- }, "strip", z.ZodTypeAny, {
3213
- templateId?: string | undefined;
3214
- isImmediateCorrection?: boolean | undefined;
3215
- }, {
3216
- templateId?: string | undefined;
3217
- isImmediateCorrection?: boolean | undefined;
3218
- }>>;
3219
3114
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3220
3115
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3221
3116
  }, {
@@ -3328,10 +3223,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
3328
3223
  start: string;
3329
3224
  end: string;
3330
3225
  } | null | undefined> | undefined;
3331
- actionDetails?: {
3332
- templateId?: string | undefined;
3333
- isImmediateCorrection?: boolean | undefined;
3334
- } | undefined;
3335
3226
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3336
3227
  keepAssignment?: boolean | undefined;
3337
3228
  }, {
@@ -3432,10 +3323,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
3432
3323
  start: string;
3433
3324
  end: string;
3434
3325
  } | null | undefined> | undefined;
3435
- actionDetails?: {
3436
- templateId?: string | undefined;
3437
- isImmediateCorrection?: boolean | undefined;
3438
- } | undefined;
3439
3326
  originalActionId?: string | undefined;
3440
3327
  keepAssignment?: boolean | undefined;
3441
3328
  }>;
@@ -3713,16 +3600,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3713
3600
  surname?: string | null | undefined;
3714
3601
  middlename?: string | null | undefined;
3715
3602
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3716
- actionDetails: z.ZodOptional<z.ZodObject<{
3717
- templateId: z.ZodOptional<z.ZodString>;
3718
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
3719
- }, "strip", z.ZodTypeAny, {
3720
- templateId?: string | undefined;
3721
- isImmediateCorrection?: boolean | undefined;
3722
- }, {
3723
- templateId?: string | undefined;
3724
- isImmediateCorrection?: boolean | undefined;
3725
- }>>;
3726
3603
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3727
3604
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3728
3605
  }, {
@@ -3821,10 +3698,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3821
3698
  start: string;
3822
3699
  end: string;
3823
3700
  } | null | undefined> | undefined;
3824
- actionDetails?: {
3825
- templateId?: string | undefined;
3826
- isImmediateCorrection?: boolean | undefined;
3827
- } | undefined;
3828
3701
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3829
3702
  keepAssignment?: boolean | undefined;
3830
3703
  }, {
@@ -3921,10 +3794,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3921
3794
  start: string;
3922
3795
  end: string;
3923
3796
  } | null | undefined> | undefined;
3924
- actionDetails?: {
3925
- templateId?: string | undefined;
3926
- isImmediateCorrection?: boolean | undefined;
3927
- } | undefined;
3928
3797
  originalActionId?: string | undefined;
3929
3798
  keepAssignment?: boolean | undefined;
3930
3799
  }>;
@@ -4202,16 +4071,6 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4202
4071
  surname?: string | null | undefined;
4203
4072
  middlename?: string | null | undefined;
4204
4073
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4205
- actionDetails: z.ZodOptional<z.ZodObject<{
4206
- templateId: z.ZodOptional<z.ZodString>;
4207
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
4208
- }, "strip", z.ZodTypeAny, {
4209
- templateId?: string | undefined;
4210
- isImmediateCorrection?: boolean | undefined;
4211
- }, {
4212
- templateId?: string | undefined;
4213
- isImmediateCorrection?: boolean | undefined;
4214
- }>>;
4215
4074
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
4216
4075
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
4217
4076
  }, {
@@ -4324,10 +4183,6 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4324
4183
  start: string;
4325
4184
  end: string;
4326
4185
  } | null | undefined> | undefined;
4327
- actionDetails?: {
4328
- templateId?: string | undefined;
4329
- isImmediateCorrection?: boolean | undefined;
4330
- } | undefined;
4331
4186
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4332
4187
  keepAssignment?: boolean | undefined;
4333
4188
  }, {
@@ -4428,10 +4283,6 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4428
4283
  start: string;
4429
4284
  end: string;
4430
4285
  } | null | undefined> | undefined;
4431
- actionDetails?: {
4432
- templateId?: string | undefined;
4433
- isImmediateCorrection?: boolean | undefined;
4434
- } | undefined;
4435
4286
  originalActionId?: string | undefined;
4436
4287
  keepAssignment?: boolean | undefined;
4437
4288
  }>;
@@ -4709,16 +4560,6 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4709
4560
  surname?: string | null | undefined;
4710
4561
  middlename?: string | null | undefined;
4711
4562
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4712
- actionDetails: z.ZodOptional<z.ZodObject<{
4713
- templateId: z.ZodOptional<z.ZodString>;
4714
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
4715
- }, "strip", z.ZodTypeAny, {
4716
- templateId?: string | undefined;
4717
- isImmediateCorrection?: boolean | undefined;
4718
- }, {
4719
- templateId?: string | undefined;
4720
- isImmediateCorrection?: boolean | undefined;
4721
- }>>;
4722
4563
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
4723
4564
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
4724
4565
  }, {
@@ -4819,10 +4660,6 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4819
4660
  start: string;
4820
4661
  end: string;
4821
4662
  } | null | undefined> | undefined;
4822
- actionDetails?: {
4823
- templateId?: string | undefined;
4824
- isImmediateCorrection?: boolean | undefined;
4825
- } | undefined;
4826
4663
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4827
4664
  keepAssignment?: boolean | undefined;
4828
4665
  }, {
@@ -4920,10 +4757,6 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4920
4757
  start: string;
4921
4758
  end: string;
4922
4759
  } | null | undefined> | undefined;
4923
- actionDetails?: {
4924
- templateId?: string | undefined;
4925
- isImmediateCorrection?: boolean | undefined;
4926
- } | undefined;
4927
4760
  originalActionId?: string | undefined;
4928
4761
  keepAssignment?: boolean | undefined;
4929
4762
  }>;
@@ -5201,16 +5034,6 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
5201
5034
  surname?: string | null | undefined;
5202
5035
  middlename?: string | null | undefined;
5203
5036
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5204
- actionDetails: z.ZodOptional<z.ZodObject<{
5205
- templateId: z.ZodOptional<z.ZodString>;
5206
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
5207
- }, "strip", z.ZodTypeAny, {
5208
- templateId?: string | undefined;
5209
- isImmediateCorrection?: boolean | undefined;
5210
- }, {
5211
- templateId?: string | undefined;
5212
- isImmediateCorrection?: boolean | undefined;
5213
- }>>;
5214
5037
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5215
5038
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5216
5039
  }, {
@@ -5311,10 +5134,6 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
5311
5134
  start: string;
5312
5135
  end: string;
5313
5136
  } | null | undefined> | undefined;
5314
- actionDetails?: {
5315
- templateId?: string | undefined;
5316
- isImmediateCorrection?: boolean | undefined;
5317
- } | undefined;
5318
5137
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5319
5138
  keepAssignment?: boolean | undefined;
5320
5139
  }, {
@@ -5411,10 +5230,6 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
5411
5230
  start: string;
5412
5231
  end: string;
5413
5232
  } | null | undefined> | undefined;
5414
- actionDetails?: {
5415
- templateId?: string | undefined;
5416
- isImmediateCorrection?: boolean | undefined;
5417
- } | undefined;
5418
5233
  originalActionId?: string | undefined;
5419
5234
  assignedTo?: null | undefined;
5420
5235
  keepAssignment?: boolean | undefined;
@@ -5693,16 +5508,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5693
5508
  surname?: string | null | undefined;
5694
5509
  middlename?: string | null | undefined;
5695
5510
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5696
- actionDetails: z.ZodOptional<z.ZodObject<{
5697
- templateId: z.ZodOptional<z.ZodString>;
5698
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
5699
- }, "strip", z.ZodTypeAny, {
5700
- templateId?: string | undefined;
5701
- isImmediateCorrection?: boolean | undefined;
5702
- }, {
5703
- templateId?: string | undefined;
5704
- isImmediateCorrection?: boolean | undefined;
5705
- }>>;
5706
5511
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5707
5512
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5708
5513
  }, {
@@ -5801,10 +5606,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5801
5606
  start: string;
5802
5607
  end: string;
5803
5608
  } | null | undefined> | undefined;
5804
- actionDetails?: {
5805
- templateId?: string | undefined;
5806
- isImmediateCorrection?: boolean | undefined;
5807
- } | undefined;
5808
5609
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5809
5610
  keepAssignment?: boolean | undefined;
5810
5611
  }, {
@@ -5901,10 +5702,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5901
5702
  start: string;
5902
5703
  end: string;
5903
5704
  } | null | undefined> | undefined;
5904
- actionDetails?: {
5905
- templateId?: string | undefined;
5906
- isImmediateCorrection?: boolean | undefined;
5907
- } | undefined;
5908
5705
  originalActionId?: string | undefined;
5909
5706
  keepAssignment?: boolean | undefined;
5910
5707
  }>;
@@ -6182,23 +5979,27 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
6182
5979
  surname?: string | null | undefined;
6183
5980
  middlename?: string | null | undefined;
6184
5981
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6185
- actionDetails: z.ZodOptional<z.ZodObject<{
6186
- templateId: z.ZodOptional<z.ZodString>;
6187
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6188
- }, "strip", z.ZodTypeAny, {
6189
- templateId?: string | undefined;
6190
- isImmediateCorrection?: boolean | undefined;
6191
- }, {
6192
- templateId?: string | undefined;
6193
- isImmediateCorrection?: boolean | undefined;
6194
- }>>;
6195
5982
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
6196
5983
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6197
5984
  }, {
6198
5985
  requestId: z.ZodString;
6199
5986
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5987
+ reason: z.ZodObject<{
5988
+ message: z.ZodString;
5989
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
5990
+ }, "strip", z.ZodTypeAny, {
5991
+ message: string;
5992
+ isDuplicate?: boolean | undefined;
5993
+ }, {
5994
+ message: string;
5995
+ isDuplicate?: boolean | undefined;
5996
+ }>;
6200
5997
  }>, "strip", z.ZodTypeAny, {
6201
5998
  type: "REJECT_CORRECTION";
5999
+ reason: {
6000
+ message: string;
6001
+ isDuplicate?: boolean | undefined;
6002
+ };
6202
6003
  transactionId: string;
6203
6004
  declaration: Record<string, string | number | boolean | {
6204
6005
  type: string;
@@ -6292,13 +6093,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
6292
6093
  start: string;
6293
6094
  end: string;
6294
6095
  } | null | undefined> | undefined;
6295
- actionDetails?: {
6296
- templateId?: string | undefined;
6297
- isImmediateCorrection?: boolean | undefined;
6298
- } | undefined;
6299
6096
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6300
6097
  keepAssignment?: boolean | undefined;
6301
6098
  }, {
6099
+ reason: {
6100
+ message: string;
6101
+ isDuplicate?: boolean | undefined;
6102
+ };
6302
6103
  transactionId: string;
6303
6104
  requestId: string;
6304
6105
  eventId: string;
@@ -6393,10 +6194,6 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
6393
6194
  start: string;
6394
6195
  end: string;
6395
6196
  } | null | undefined> | undefined;
6396
- actionDetails?: {
6397
- templateId?: string | undefined;
6398
- isImmediateCorrection?: boolean | undefined;
6399
- } | undefined;
6400
6197
  originalActionId?: string | undefined;
6401
6198
  keepAssignment?: boolean | undefined;
6402
6199
  }>;
@@ -6674,16 +6471,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
6674
6471
  surname?: string | null | undefined;
6675
6472
  middlename?: string | null | undefined;
6676
6473
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6677
- actionDetails: z.ZodOptional<z.ZodObject<{
6678
- templateId: z.ZodOptional<z.ZodString>;
6679
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6680
- }, "strip", z.ZodTypeAny, {
6681
- templateId?: string | undefined;
6682
- isImmediateCorrection?: boolean | undefined;
6683
- }, {
6684
- templateId?: string | undefined;
6685
- isImmediateCorrection?: boolean | undefined;
6686
- }>>;
6687
6474
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
6688
6475
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6689
6476
  }, {
@@ -6784,10 +6571,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
6784
6571
  start: string;
6785
6572
  end: string;
6786
6573
  } | null | undefined> | undefined;
6787
- actionDetails?: {
6788
- templateId?: string | undefined;
6789
- isImmediateCorrection?: boolean | undefined;
6790
- } | undefined;
6791
6574
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6792
6575
  keepAssignment?: boolean | undefined;
6793
6576
  }, {
@@ -6885,10 +6668,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
6885
6668
  start: string;
6886
6669
  end: string;
6887
6670
  } | null | undefined> | undefined;
6888
- actionDetails?: {
6889
- templateId?: string | undefined;
6890
- isImmediateCorrection?: boolean | undefined;
6891
- } | undefined;
6892
6671
  originalActionId?: string | undefined;
6893
6672
  keepAssignment?: boolean | undefined;
6894
6673
  }>;
@@ -7166,16 +6945,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
7166
6945
  surname?: string | null | undefined;
7167
6946
  middlename?: string | null | undefined;
7168
6947
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7169
- actionDetails: z.ZodOptional<z.ZodObject<{
7170
- templateId: z.ZodOptional<z.ZodString>;
7171
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7172
- }, "strip", z.ZodTypeAny, {
7173
- templateId?: string | undefined;
7174
- isImmediateCorrection?: boolean | undefined;
7175
- }, {
7176
- templateId?: string | undefined;
7177
- isImmediateCorrection?: boolean | undefined;
7178
- }>>;
7179
6948
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7180
6949
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7181
6950
  }, {
@@ -7274,10 +7043,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
7274
7043
  start: string;
7275
7044
  end: string;
7276
7045
  } | null | undefined> | undefined;
7277
- actionDetails?: {
7278
- templateId?: string | undefined;
7279
- isImmediateCorrection?: boolean | undefined;
7280
- } | undefined;
7281
7046
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7282
7047
  keepAssignment?: boolean | undefined;
7283
7048
  }, {
@@ -7374,10 +7139,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
7374
7139
  start: string;
7375
7140
  end: string;
7376
7141
  } | null | undefined> | undefined;
7377
- actionDetails?: {
7378
- templateId?: string | undefined;
7379
- isImmediateCorrection?: boolean | undefined;
7380
- } | undefined;
7381
7142
  originalActionId?: string | undefined;
7382
7143
  keepAssignment?: boolean | undefined;
7383
7144
  }>;
@@ -7671,16 +7432,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7671
7432
  surname?: string | null | undefined;
7672
7433
  middlename?: string | null | undefined;
7673
7434
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7674
- actionDetails: z.ZodOptional<z.ZodObject<{
7675
- templateId: z.ZodOptional<z.ZodString>;
7676
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7677
- }, "strip", z.ZodTypeAny, {
7678
- templateId?: string | undefined;
7679
- isImmediateCorrection?: boolean | undefined;
7680
- }, {
7681
- templateId?: string | undefined;
7682
- isImmediateCorrection?: boolean | undefined;
7683
- }>>;
7684
7435
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7685
7436
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7686
7437
  }, {
@@ -7781,10 +7532,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7781
7532
  start: string;
7782
7533
  end: string;
7783
7534
  } | null | undefined> | undefined;
7784
- actionDetails?: {
7785
- templateId?: string | undefined;
7786
- isImmediateCorrection?: boolean | undefined;
7787
- } | undefined;
7788
7535
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7789
7536
  keepAssignment?: boolean | undefined;
7790
7537
  }, {
@@ -7882,10 +7629,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7882
7629
  start: string;
7883
7630
  end: string;
7884
7631
  } | null | undefined> | undefined;
7885
- actionDetails?: {
7886
- templateId?: string | undefined;
7887
- isImmediateCorrection?: boolean | undefined;
7888
- } | undefined;
7889
7632
  originalActionId?: string | undefined;
7890
7633
  keepAssignment?: boolean | undefined;
7891
7634
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -8161,16 +7904,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8161
7904
  surname?: string | null | undefined;
8162
7905
  middlename?: string | null | undefined;
8163
7906
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8164
- actionDetails: z.ZodOptional<z.ZodObject<{
8165
- templateId: z.ZodOptional<z.ZodString>;
8166
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
8167
- }, "strip", z.ZodTypeAny, {
8168
- templateId?: string | undefined;
8169
- isImmediateCorrection?: boolean | undefined;
8170
- }, {
8171
- templateId?: string | undefined;
8172
- isImmediateCorrection?: boolean | undefined;
8173
- }>>;
8174
7907
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8175
7908
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8176
7909
  }, {
@@ -8271,10 +8004,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8271
8004
  start: string;
8272
8005
  end: string;
8273
8006
  } | null | undefined> | undefined;
8274
- actionDetails?: {
8275
- templateId?: string | undefined;
8276
- isImmediateCorrection?: boolean | undefined;
8277
- } | undefined;
8278
8007
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8279
8008
  keepAssignment?: boolean | undefined;
8280
8009
  }, {
@@ -8372,10 +8101,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8372
8101
  start: string;
8373
8102
  end: string;
8374
8103
  } | null | undefined> | undefined;
8375
- actionDetails?: {
8376
- templateId?: string | undefined;
8377
- isImmediateCorrection?: boolean | undefined;
8378
- } | undefined;
8379
8104
  originalActionId?: string | undefined;
8380
8105
  keepAssignment?: boolean | undefined;
8381
8106
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -8651,16 +8376,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8651
8376
  surname?: string | null | undefined;
8652
8377
  middlename?: string | null | undefined;
8653
8378
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8654
- actionDetails: z.ZodOptional<z.ZodObject<{
8655
- templateId: z.ZodOptional<z.ZodString>;
8656
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
8657
- }, "strip", z.ZodTypeAny, {
8658
- templateId?: string | undefined;
8659
- isImmediateCorrection?: boolean | undefined;
8660
- }, {
8661
- templateId?: string | undefined;
8662
- isImmediateCorrection?: boolean | undefined;
8663
- }>>;
8664
8379
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8665
8380
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8666
8381
  }, {
@@ -8760,10 +8475,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8760
8475
  start: string;
8761
8476
  end: string;
8762
8477
  } | null | undefined> | undefined;
8763
- actionDetails?: {
8764
- templateId?: string | undefined;
8765
- isImmediateCorrection?: boolean | undefined;
8766
- } | undefined;
8767
8478
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8768
8479
  registrationNumber?: string | undefined;
8769
8480
  keepAssignment?: boolean | undefined;
@@ -8861,10 +8572,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8861
8572
  start: string;
8862
8573
  end: string;
8863
8574
  } | null | undefined> | undefined;
8864
- actionDetails?: {
8865
- templateId?: string | undefined;
8866
- isImmediateCorrection?: boolean | undefined;
8867
- } | undefined;
8868
8575
  originalActionId?: string | undefined;
8869
8576
  registrationNumber?: string | undefined;
8870
8577
  keepAssignment?: boolean | undefined;
@@ -9141,16 +8848,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9141
8848
  surname?: string | null | undefined;
9142
8849
  middlename?: string | null | undefined;
9143
8850
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9144
- actionDetails: z.ZodOptional<z.ZodObject<{
9145
- templateId: z.ZodOptional<z.ZodString>;
9146
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
9147
- }, "strip", z.ZodTypeAny, {
9148
- templateId?: string | undefined;
9149
- isImmediateCorrection?: boolean | undefined;
9150
- }, {
9151
- templateId?: string | undefined;
9152
- isImmediateCorrection?: boolean | undefined;
9153
- }>>;
9154
8851
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9155
8852
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9156
8853
  }, {
@@ -9249,10 +8946,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9249
8946
  start: string;
9250
8947
  end: string;
9251
8948
  } | null | undefined> | undefined;
9252
- actionDetails?: {
9253
- templateId?: string | undefined;
9254
- isImmediateCorrection?: boolean | undefined;
9255
- } | undefined;
9256
8949
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9257
8950
  keepAssignment?: boolean | undefined;
9258
8951
  }, {
@@ -9349,10 +9042,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9349
9042
  start: string;
9350
9043
  end: string;
9351
9044
  } | null | undefined> | undefined;
9352
- actionDetails?: {
9353
- templateId?: string | undefined;
9354
- isImmediateCorrection?: boolean | undefined;
9355
- } | undefined;
9356
9045
  originalActionId?: string | undefined;
9357
9046
  keepAssignment?: boolean | undefined;
9358
9047
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -9628,16 +9317,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9628
9317
  surname?: string | null | undefined;
9629
9318
  middlename?: string | null | undefined;
9630
9319
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9631
- actionDetails: z.ZodOptional<z.ZodObject<{
9632
- templateId: z.ZodOptional<z.ZodString>;
9633
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
9634
- }, "strip", z.ZodTypeAny, {
9635
- templateId?: string | undefined;
9636
- isImmediateCorrection?: boolean | undefined;
9637
- }, {
9638
- templateId?: string | undefined;
9639
- isImmediateCorrection?: boolean | undefined;
9640
- }>>;
9641
9320
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9642
9321
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9643
9322
  }, {
@@ -9736,10 +9415,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9736
9415
  start: string;
9737
9416
  end: string;
9738
9417
  } | null | undefined> | undefined;
9739
- actionDetails?: {
9740
- templateId?: string | undefined;
9741
- isImmediateCorrection?: boolean | undefined;
9742
- } | undefined;
9743
9418
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9744
9419
  keepAssignment?: boolean | undefined;
9745
9420
  }, {
@@ -9836,10 +9511,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9836
9511
  start: string;
9837
9512
  end: string;
9838
9513
  } | null | undefined> | undefined;
9839
- actionDetails?: {
9840
- templateId?: string | undefined;
9841
- isImmediateCorrection?: boolean | undefined;
9842
- } | undefined;
9843
9514
  originalActionId?: string | undefined;
9844
9515
  keepAssignment?: boolean | undefined;
9845
9516
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -10115,16 +9786,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10115
9786
  surname?: string | null | undefined;
10116
9787
  middlename?: string | null | undefined;
10117
9788
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10118
- actionDetails: z.ZodOptional<z.ZodObject<{
10119
- templateId: z.ZodOptional<z.ZodString>;
10120
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
10121
- }, "strip", z.ZodTypeAny, {
10122
- templateId?: string | undefined;
10123
- isImmediateCorrection?: boolean | undefined;
10124
- }, {
10125
- templateId?: string | undefined;
10126
- isImmediateCorrection?: boolean | undefined;
10127
- }>>;
10128
9789
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
10129
9790
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
10130
9791
  }, {
@@ -10237,10 +9898,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10237
9898
  start: string;
10238
9899
  end: string;
10239
9900
  } | null | undefined> | undefined;
10240
- actionDetails?: {
10241
- templateId?: string | undefined;
10242
- isImmediateCorrection?: boolean | undefined;
10243
- } | undefined;
10244
9901
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10245
9902
  keepAssignment?: boolean | undefined;
10246
9903
  }, {
@@ -10341,10 +9998,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10341
9998
  start: string;
10342
9999
  end: string;
10343
10000
  } | null | undefined> | undefined;
10344
- actionDetails?: {
10345
- templateId?: string | undefined;
10346
- isImmediateCorrection?: boolean | undefined;
10347
- } | undefined;
10348
10001
  originalActionId?: string | undefined;
10349
10002
  keepAssignment?: boolean | undefined;
10350
10003
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -10620,16 +10273,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10620
10273
  surname?: string | null | undefined;
10621
10274
  middlename?: string | null | undefined;
10622
10275
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10623
- actionDetails: z.ZodOptional<z.ZodObject<{
10624
- templateId: z.ZodOptional<z.ZodString>;
10625
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
10626
- }, "strip", z.ZodTypeAny, {
10627
- templateId?: string | undefined;
10628
- isImmediateCorrection?: boolean | undefined;
10629
- }, {
10630
- templateId?: string | undefined;
10631
- isImmediateCorrection?: boolean | undefined;
10632
- }>>;
10633
10276
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
10634
10277
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
10635
10278
  }, {
@@ -10728,10 +10371,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10728
10371
  start: string;
10729
10372
  end: string;
10730
10373
  } | null | undefined> | undefined;
10731
- actionDetails?: {
10732
- templateId?: string | undefined;
10733
- isImmediateCorrection?: boolean | undefined;
10734
- } | undefined;
10735
10374
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10736
10375
  keepAssignment?: boolean | undefined;
10737
10376
  }, {
@@ -10828,10 +10467,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10828
10467
  start: string;
10829
10468
  end: string;
10830
10469
  } | null | undefined> | undefined;
10831
- actionDetails?: {
10832
- templateId?: string | undefined;
10833
- isImmediateCorrection?: boolean | undefined;
10834
- } | undefined;
10835
10470
  originalActionId?: string | undefined;
10836
10471
  keepAssignment?: boolean | undefined;
10837
10472
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -11107,16 +10742,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11107
10742
  surname?: string | null | undefined;
11108
10743
  middlename?: string | null | undefined;
11109
10744
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11110
- actionDetails: z.ZodOptional<z.ZodObject<{
11111
- templateId: z.ZodOptional<z.ZodString>;
11112
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
11113
- }, "strip", z.ZodTypeAny, {
11114
- templateId?: string | undefined;
11115
- isImmediateCorrection?: boolean | undefined;
11116
- }, {
11117
- templateId?: string | undefined;
11118
- isImmediateCorrection?: boolean | undefined;
11119
- }>>;
11120
10745
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11121
10746
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11122
10747
  }, {
@@ -11229,10 +10854,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11229
10854
  start: string;
11230
10855
  end: string;
11231
10856
  } | null | undefined> | undefined;
11232
- actionDetails?: {
11233
- templateId?: string | undefined;
11234
- isImmediateCorrection?: boolean | undefined;
11235
- } | undefined;
11236
10857
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11237
10858
  keepAssignment?: boolean | undefined;
11238
10859
  }, {
@@ -11333,10 +10954,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11333
10954
  start: string;
11334
10955
  end: string;
11335
10956
  } | null | undefined> | undefined;
11336
- actionDetails?: {
11337
- templateId?: string | undefined;
11338
- isImmediateCorrection?: boolean | undefined;
11339
- } | undefined;
11340
10957
  originalActionId?: string | undefined;
11341
10958
  keepAssignment?: boolean | undefined;
11342
10959
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -11612,16 +11229,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11612
11229
  surname?: string | null | undefined;
11613
11230
  middlename?: string | null | undefined;
11614
11231
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11615
- actionDetails: z.ZodOptional<z.ZodObject<{
11616
- templateId: z.ZodOptional<z.ZodString>;
11617
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
11618
- }, "strip", z.ZodTypeAny, {
11619
- templateId?: string | undefined;
11620
- isImmediateCorrection?: boolean | undefined;
11621
- }, {
11622
- templateId?: string | undefined;
11623
- isImmediateCorrection?: boolean | undefined;
11624
- }>>;
11625
11232
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11626
11233
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11627
11234
  }, {
@@ -11722,10 +11329,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11722
11329
  start: string;
11723
11330
  end: string;
11724
11331
  } | null | undefined> | undefined;
11725
- actionDetails?: {
11726
- templateId?: string | undefined;
11727
- isImmediateCorrection?: boolean | undefined;
11728
- } | undefined;
11729
11332
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11730
11333
  keepAssignment?: boolean | undefined;
11731
11334
  }, {
@@ -11823,10 +11426,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11823
11426
  start: string;
11824
11427
  end: string;
11825
11428
  } | null | undefined> | undefined;
11826
- actionDetails?: {
11827
- templateId?: string | undefined;
11828
- isImmediateCorrection?: boolean | undefined;
11829
- } | undefined;
11830
11429
  originalActionId?: string | undefined;
11831
11430
  keepAssignment?: boolean | undefined;
11832
11431
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -12102,16 +11701,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12102
11701
  surname?: string | null | undefined;
12103
11702
  middlename?: string | null | undefined;
12104
11703
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12105
- actionDetails: z.ZodOptional<z.ZodObject<{
12106
- templateId: z.ZodOptional<z.ZodString>;
12107
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
12108
- }, "strip", z.ZodTypeAny, {
12109
- templateId?: string | undefined;
12110
- isImmediateCorrection?: boolean | undefined;
12111
- }, {
12112
- templateId?: string | undefined;
12113
- isImmediateCorrection?: boolean | undefined;
12114
- }>>;
12115
11704
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
12116
11705
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
12117
11706
  }, {
@@ -12212,10 +11801,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12212
11801
  start: string;
12213
11802
  end: string;
12214
11803
  } | null | undefined> | undefined;
12215
- actionDetails?: {
12216
- templateId?: string | undefined;
12217
- isImmediateCorrection?: boolean | undefined;
12218
- } | undefined;
12219
11804
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
12220
11805
  keepAssignment?: boolean | undefined;
12221
11806
  }, {
@@ -12312,10 +11897,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12312
11897
  start: string;
12313
11898
  end: string;
12314
11899
  } | null | undefined> | undefined;
12315
- actionDetails?: {
12316
- templateId?: string | undefined;
12317
- isImmediateCorrection?: boolean | undefined;
12318
- } | undefined;
12319
11900
  originalActionId?: string | undefined;
12320
11901
  assignedTo?: null | undefined;
12321
11902
  keepAssignment?: boolean | undefined;
@@ -12592,20 +12173,17 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12592
12173
  surname?: string | null | undefined;
12593
12174
  middlename?: string | null | undefined;
12594
12175
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12595
- actionDetails: z.ZodOptional<z.ZodObject<{
12176
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
12177
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
12178
+ }, {
12179
+ type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
12180
+ content: z.ZodOptional<z.ZodObject<{
12596
12181
  templateId: z.ZodOptional<z.ZodString>;
12597
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
12598
12182
  }, "strip", z.ZodTypeAny, {
12599
12183
  templateId?: string | undefined;
12600
- isImmediateCorrection?: boolean | undefined;
12601
12184
  }, {
12602
12185
  templateId?: string | undefined;
12603
- isImmediateCorrection?: boolean | undefined;
12604
12186
  }>>;
12605
- originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
12606
- keepAssignment: z.ZodOptional<z.ZodBoolean>;
12607
- }, {
12608
- type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
12609
12187
  }>, "strip", z.ZodTypeAny, {
12610
12188
  type: "PRINT_CERTIFICATE";
12611
12189
  transactionId: string;
@@ -12655,6 +12233,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12655
12233
  end: string;
12656
12234
  } | null | undefined>;
12657
12235
  eventId: string & z.BRAND<"UUID">;
12236
+ content?: {
12237
+ templateId?: string | undefined;
12238
+ } | undefined;
12658
12239
  annotation?: Record<string, string | number | boolean | {
12659
12240
  type: string;
12660
12241
  path: string;
@@ -12700,16 +12281,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12700
12281
  start: string;
12701
12282
  end: string;
12702
12283
  } | null | undefined> | undefined;
12703
- actionDetails?: {
12704
- templateId?: string | undefined;
12705
- isImmediateCorrection?: boolean | undefined;
12706
- } | undefined;
12707
12284
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
12708
12285
  keepAssignment?: boolean | undefined;
12709
12286
  }, {
12710
12287
  transactionId: string;
12711
12288
  eventId: string;
12712
12289
  type?: "PRINT_CERTIFICATE" | undefined;
12290
+ content?: {
12291
+ templateId?: string | undefined;
12292
+ } | undefined;
12713
12293
  declaration?: Record<string, string | number | boolean | {
12714
12294
  type: string;
12715
12295
  path: string;
@@ -12800,10 +12380,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12800
12380
  start: string;
12801
12381
  end: string;
12802
12382
  } | null | undefined> | undefined;
12803
- actionDetails?: {
12804
- templateId?: string | undefined;
12805
- isImmediateCorrection?: boolean | undefined;
12806
- } | undefined;
12807
12383
  originalActionId?: string | undefined;
12808
12384
  keepAssignment?: boolean | undefined;
12809
12385
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -13079,16 +12655,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13079
12655
  surname?: string | null | undefined;
13080
12656
  middlename?: string | null | undefined;
13081
12657
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13082
- actionDetails: z.ZodOptional<z.ZodObject<{
13083
- templateId: z.ZodOptional<z.ZodString>;
13084
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
13085
- }, "strip", z.ZodTypeAny, {
13086
- templateId?: string | undefined;
13087
- isImmediateCorrection?: boolean | undefined;
13088
- }, {
13089
- templateId?: string | undefined;
13090
- isImmediateCorrection?: boolean | undefined;
13091
- }>>;
13092
12658
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
13093
12659
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
13094
12660
  }, {
@@ -13187,10 +12753,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13187
12753
  start: string;
13188
12754
  end: string;
13189
12755
  } | null | undefined> | undefined;
13190
- actionDetails?: {
13191
- templateId?: string | undefined;
13192
- isImmediateCorrection?: boolean | undefined;
13193
- } | undefined;
13194
12756
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
13195
12757
  keepAssignment?: boolean | undefined;
13196
12758
  }, {
@@ -13287,10 +12849,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13287
12849
  start: string;
13288
12850
  end: string;
13289
12851
  } | null | undefined> | undefined;
13290
- actionDetails?: {
13291
- templateId?: string | undefined;
13292
- isImmediateCorrection?: boolean | undefined;
13293
- } | undefined;
13294
12852
  originalActionId?: string | undefined;
13295
12853
  keepAssignment?: boolean | undefined;
13296
12854
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -13566,23 +13124,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13566
13124
  surname?: string | null | undefined;
13567
13125
  middlename?: string | null | undefined;
13568
13126
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13569
- actionDetails: z.ZodOptional<z.ZodObject<{
13570
- templateId: z.ZodOptional<z.ZodString>;
13571
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
13572
- }, "strip", z.ZodTypeAny, {
13573
- templateId?: string | undefined;
13574
- isImmediateCorrection?: boolean | undefined;
13575
- }, {
13576
- templateId?: string | undefined;
13577
- isImmediateCorrection?: boolean | undefined;
13578
- }>>;
13579
13127
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
13580
13128
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
13581
13129
  }, {
13582
13130
  requestId: z.ZodString;
13583
13131
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
13132
+ reason: z.ZodObject<{
13133
+ message: z.ZodString;
13134
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
13135
+ }, "strip", z.ZodTypeAny, {
13136
+ message: string;
13137
+ isDuplicate?: boolean | undefined;
13138
+ }, {
13139
+ message: string;
13140
+ isDuplicate?: boolean | undefined;
13141
+ }>;
13584
13142
  }>, "strip", z.ZodTypeAny, {
13585
13143
  type: "REJECT_CORRECTION";
13144
+ reason: {
13145
+ message: string;
13146
+ isDuplicate?: boolean | undefined;
13147
+ };
13586
13148
  transactionId: string;
13587
13149
  declaration: Record<string, string | number | boolean | {
13588
13150
  type: string;
@@ -13676,13 +13238,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13676
13238
  start: string;
13677
13239
  end: string;
13678
13240
  } | null | undefined> | undefined;
13679
- actionDetails?: {
13680
- templateId?: string | undefined;
13681
- isImmediateCorrection?: boolean | undefined;
13682
- } | undefined;
13683
13241
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
13684
13242
  keepAssignment?: boolean | undefined;
13685
13243
  }, {
13244
+ reason: {
13245
+ message: string;
13246
+ isDuplicate?: boolean | undefined;
13247
+ };
13686
13248
  transactionId: string;
13687
13249
  requestId: string;
13688
13250
  eventId: string;
@@ -13777,10 +13339,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13777
13339
  start: string;
13778
13340
  end: string;
13779
13341
  } | null | undefined> | undefined;
13780
- actionDetails?: {
13781
- templateId?: string | undefined;
13782
- isImmediateCorrection?: boolean | undefined;
13783
- } | undefined;
13784
13342
  originalActionId?: string | undefined;
13785
13343
  keepAssignment?: boolean | undefined;
13786
13344
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -14056,16 +13614,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14056
13614
  surname?: string | null | undefined;
14057
13615
  middlename?: string | null | undefined;
14058
13616
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14059
- actionDetails: z.ZodOptional<z.ZodObject<{
14060
- templateId: z.ZodOptional<z.ZodString>;
14061
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
14062
- }, "strip", z.ZodTypeAny, {
14063
- templateId?: string | undefined;
14064
- isImmediateCorrection?: boolean | undefined;
14065
- }, {
14066
- templateId?: string | undefined;
14067
- isImmediateCorrection?: boolean | undefined;
14068
- }>>;
14069
13617
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
14070
13618
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
14071
13619
  }, {
@@ -14166,10 +13714,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14166
13714
  start: string;
14167
13715
  end: string;
14168
13716
  } | null | undefined> | undefined;
14169
- actionDetails?: {
14170
- templateId?: string | undefined;
14171
- isImmediateCorrection?: boolean | undefined;
14172
- } | undefined;
14173
13717
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
14174
13718
  keepAssignment?: boolean | undefined;
14175
13719
  }, {
@@ -14267,10 +13811,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14267
13811
  start: string;
14268
13812
  end: string;
14269
13813
  } | null | undefined> | undefined;
14270
- actionDetails?: {
14271
- templateId?: string | undefined;
14272
- isImmediateCorrection?: boolean | undefined;
14273
- } | undefined;
14274
13814
  originalActionId?: string | undefined;
14275
13815
  keepAssignment?: boolean | undefined;
14276
13816
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -14546,16 +14086,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14546
14086
  surname?: string | null | undefined;
14547
14087
  middlename?: string | null | undefined;
14548
14088
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14549
- actionDetails: z.ZodOptional<z.ZodObject<{
14550
- templateId: z.ZodOptional<z.ZodString>;
14551
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
14552
- }, "strip", z.ZodTypeAny, {
14553
- templateId?: string | undefined;
14554
- isImmediateCorrection?: boolean | undefined;
14555
- }, {
14556
- templateId?: string | undefined;
14557
- isImmediateCorrection?: boolean | undefined;
14558
- }>>;
14559
14089
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
14560
14090
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
14561
14091
  }, {
@@ -14654,10 +14184,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14654
14184
  start: string;
14655
14185
  end: string;
14656
14186
  } | null | undefined> | undefined;
14657
- actionDetails?: {
14658
- templateId?: string | undefined;
14659
- isImmediateCorrection?: boolean | undefined;
14660
- } | undefined;
14661
14187
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
14662
14188
  keepAssignment?: boolean | undefined;
14663
14189
  }, {
@@ -14754,10 +14280,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14754
14280
  start: string;
14755
14281
  end: string;
14756
14282
  } | null | undefined> | undefined;
14757
- actionDetails?: {
14758
- templateId?: string | undefined;
14759
- isImmediateCorrection?: boolean | undefined;
14760
- } | undefined;
14761
14283
  originalActionId?: string | undefined;
14762
14284
  keepAssignment?: boolean | undefined;
14763
14285
  }>]>;