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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,16 +2627,6 @@ 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<{
2721
- templateId: z.ZodOptional<z.ZodString>;
2722
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2723
- }, "strip", z.ZodTypeAny, {
2724
- templateId?: string | undefined;
2725
- isImmediateCorrection?: boolean | undefined;
2726
- }, {
2727
- templateId?: string | undefined;
2728
- isImmediateCorrection?: boolean | undefined;
2729
- }>>;
2730
2630
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
2731
2631
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
2732
2632
  }, {
@@ -2825,10 +2725,6 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2825
2725
  start: string;
2826
2726
  end: string;
2827
2727
  } | null | undefined> | undefined;
2828
- actionDetails?: {
2829
- templateId?: string | undefined;
2830
- isImmediateCorrection?: boolean | undefined;
2831
- } | undefined;
2832
2728
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
2833
2729
  keepAssignment?: boolean | undefined;
2834
2730
  }, {
@@ -2925,10 +2821,6 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2925
2821
  start: string;
2926
2822
  end: string;
2927
2823
  } | null | undefined> | undefined;
2928
- actionDetails?: {
2929
- templateId?: string | undefined;
2930
- isImmediateCorrection?: boolean | undefined;
2931
- } | undefined;
2932
2824
  originalActionId?: string | undefined;
2933
2825
  keepAssignment?: boolean | undefined;
2934
2826
  }>;
@@ -3206,16 +3098,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
3206
3098
  surname?: string | null | undefined;
3207
3099
  middlename?: string | null | undefined;
3208
3100
  }>, 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
3101
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3220
3102
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3221
3103
  }, {
@@ -3328,10 +3210,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
3328
3210
  start: string;
3329
3211
  end: string;
3330
3212
  } | null | undefined> | undefined;
3331
- actionDetails?: {
3332
- templateId?: string | undefined;
3333
- isImmediateCorrection?: boolean | undefined;
3334
- } | undefined;
3335
3213
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3336
3214
  keepAssignment?: boolean | undefined;
3337
3215
  }, {
@@ -3432,10 +3310,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
3432
3310
  start: string;
3433
3311
  end: string;
3434
3312
  } | null | undefined> | undefined;
3435
- actionDetails?: {
3436
- templateId?: string | undefined;
3437
- isImmediateCorrection?: boolean | undefined;
3438
- } | undefined;
3439
3313
  originalActionId?: string | undefined;
3440
3314
  keepAssignment?: boolean | undefined;
3441
3315
  }>;
@@ -3713,16 +3587,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3713
3587
  surname?: string | null | undefined;
3714
3588
  middlename?: string | null | undefined;
3715
3589
  }>, 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
3590
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3727
3591
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3728
3592
  }, {
@@ -3821,10 +3685,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3821
3685
  start: string;
3822
3686
  end: string;
3823
3687
  } | null | undefined> | undefined;
3824
- actionDetails?: {
3825
- templateId?: string | undefined;
3826
- isImmediateCorrection?: boolean | undefined;
3827
- } | undefined;
3828
3688
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3829
3689
  keepAssignment?: boolean | undefined;
3830
3690
  }, {
@@ -3921,10 +3781,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3921
3781
  start: string;
3922
3782
  end: string;
3923
3783
  } | null | undefined> | undefined;
3924
- actionDetails?: {
3925
- templateId?: string | undefined;
3926
- isImmediateCorrection?: boolean | undefined;
3927
- } | undefined;
3928
3784
  originalActionId?: string | undefined;
3929
3785
  keepAssignment?: boolean | undefined;
3930
3786
  }>;
@@ -4202,16 +4058,6 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4202
4058
  surname?: string | null | undefined;
4203
4059
  middlename?: string | null | undefined;
4204
4060
  }>, 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
4061
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
4216
4062
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
4217
4063
  }, {
@@ -4324,10 +4170,6 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4324
4170
  start: string;
4325
4171
  end: string;
4326
4172
  } | null | undefined> | undefined;
4327
- actionDetails?: {
4328
- templateId?: string | undefined;
4329
- isImmediateCorrection?: boolean | undefined;
4330
- } | undefined;
4331
4173
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4332
4174
  keepAssignment?: boolean | undefined;
4333
4175
  }, {
@@ -4428,10 +4270,6 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4428
4270
  start: string;
4429
4271
  end: string;
4430
4272
  } | null | undefined> | undefined;
4431
- actionDetails?: {
4432
- templateId?: string | undefined;
4433
- isImmediateCorrection?: boolean | undefined;
4434
- } | undefined;
4435
4273
  originalActionId?: string | undefined;
4436
4274
  keepAssignment?: boolean | undefined;
4437
4275
  }>;
@@ -4709,16 +4547,6 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4709
4547
  surname?: string | null | undefined;
4710
4548
  middlename?: string | null | undefined;
4711
4549
  }>, 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
4550
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
4723
4551
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
4724
4552
  }, {
@@ -4819,10 +4647,6 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4819
4647
  start: string;
4820
4648
  end: string;
4821
4649
  } | null | undefined> | undefined;
4822
- actionDetails?: {
4823
- templateId?: string | undefined;
4824
- isImmediateCorrection?: boolean | undefined;
4825
- } | undefined;
4826
4650
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4827
4651
  keepAssignment?: boolean | undefined;
4828
4652
  }, {
@@ -4920,10 +4744,6 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4920
4744
  start: string;
4921
4745
  end: string;
4922
4746
  } | null | undefined> | undefined;
4923
- actionDetails?: {
4924
- templateId?: string | undefined;
4925
- isImmediateCorrection?: boolean | undefined;
4926
- } | undefined;
4927
4747
  originalActionId?: string | undefined;
4928
4748
  keepAssignment?: boolean | undefined;
4929
4749
  }>;
@@ -5201,16 +5021,6 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
5201
5021
  surname?: string | null | undefined;
5202
5022
  middlename?: string | null | undefined;
5203
5023
  }>, 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
5024
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5215
5025
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5216
5026
  }, {
@@ -5311,10 +5121,6 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
5311
5121
  start: string;
5312
5122
  end: string;
5313
5123
  } | null | undefined> | undefined;
5314
- actionDetails?: {
5315
- templateId?: string | undefined;
5316
- isImmediateCorrection?: boolean | undefined;
5317
- } | undefined;
5318
5124
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5319
5125
  keepAssignment?: boolean | undefined;
5320
5126
  }, {
@@ -5411,10 +5217,6 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
5411
5217
  start: string;
5412
5218
  end: string;
5413
5219
  } | null | undefined> | undefined;
5414
- actionDetails?: {
5415
- templateId?: string | undefined;
5416
- isImmediateCorrection?: boolean | undefined;
5417
- } | undefined;
5418
5220
  originalActionId?: string | undefined;
5419
5221
  assignedTo?: null | undefined;
5420
5222
  keepAssignment?: boolean | undefined;
@@ -5693,16 +5495,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5693
5495
  surname?: string | null | undefined;
5694
5496
  middlename?: string | null | undefined;
5695
5497
  }>, 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
5498
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5707
5499
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5708
5500
  }, {
@@ -5801,10 +5593,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5801
5593
  start: string;
5802
5594
  end: string;
5803
5595
  } | null | undefined> | undefined;
5804
- actionDetails?: {
5805
- templateId?: string | undefined;
5806
- isImmediateCorrection?: boolean | undefined;
5807
- } | undefined;
5808
5596
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5809
5597
  keepAssignment?: boolean | undefined;
5810
5598
  }, {
@@ -5901,10 +5689,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5901
5689
  start: string;
5902
5690
  end: string;
5903
5691
  } | null | undefined> | undefined;
5904
- actionDetails?: {
5905
- templateId?: string | undefined;
5906
- isImmediateCorrection?: boolean | undefined;
5907
- } | undefined;
5908
5692
  originalActionId?: string | undefined;
5909
5693
  keepAssignment?: boolean | undefined;
5910
5694
  }>;
@@ -6182,23 +5966,27 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
6182
5966
  surname?: string | null | undefined;
6183
5967
  middlename?: string | null | undefined;
6184
5968
  }>, 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
5969
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
6196
5970
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6197
5971
  }, {
6198
5972
  requestId: z.ZodString;
6199
5973
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5974
+ reason: z.ZodObject<{
5975
+ message: z.ZodString;
5976
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
5977
+ }, "strip", z.ZodTypeAny, {
5978
+ message: string;
5979
+ isDuplicate?: boolean | undefined;
5980
+ }, {
5981
+ message: string;
5982
+ isDuplicate?: boolean | undefined;
5983
+ }>;
6200
5984
  }>, "strip", z.ZodTypeAny, {
6201
5985
  type: "REJECT_CORRECTION";
5986
+ reason: {
5987
+ message: string;
5988
+ isDuplicate?: boolean | undefined;
5989
+ };
6202
5990
  transactionId: string;
6203
5991
  declaration: Record<string, string | number | boolean | {
6204
5992
  type: string;
@@ -6292,13 +6080,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
6292
6080
  start: string;
6293
6081
  end: string;
6294
6082
  } | null | undefined> | undefined;
6295
- actionDetails?: {
6296
- templateId?: string | undefined;
6297
- isImmediateCorrection?: boolean | undefined;
6298
- } | undefined;
6299
6083
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6300
6084
  keepAssignment?: boolean | undefined;
6301
6085
  }, {
6086
+ reason: {
6087
+ message: string;
6088
+ isDuplicate?: boolean | undefined;
6089
+ };
6302
6090
  transactionId: string;
6303
6091
  requestId: string;
6304
6092
  eventId: string;
@@ -6393,10 +6181,6 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
6393
6181
  start: string;
6394
6182
  end: string;
6395
6183
  } | null | undefined> | undefined;
6396
- actionDetails?: {
6397
- templateId?: string | undefined;
6398
- isImmediateCorrection?: boolean | undefined;
6399
- } | undefined;
6400
6184
  originalActionId?: string | undefined;
6401
6185
  keepAssignment?: boolean | undefined;
6402
6186
  }>;
@@ -6674,16 +6458,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
6674
6458
  surname?: string | null | undefined;
6675
6459
  middlename?: string | null | undefined;
6676
6460
  }>, 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
6461
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
6688
6462
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6689
6463
  }, {
@@ -6784,10 +6558,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
6784
6558
  start: string;
6785
6559
  end: string;
6786
6560
  } | null | undefined> | undefined;
6787
- actionDetails?: {
6788
- templateId?: string | undefined;
6789
- isImmediateCorrection?: boolean | undefined;
6790
- } | undefined;
6791
6561
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6792
6562
  keepAssignment?: boolean | undefined;
6793
6563
  }, {
@@ -6885,10 +6655,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
6885
6655
  start: string;
6886
6656
  end: string;
6887
6657
  } | null | undefined> | undefined;
6888
- actionDetails?: {
6889
- templateId?: string | undefined;
6890
- isImmediateCorrection?: boolean | undefined;
6891
- } | undefined;
6892
6658
  originalActionId?: string | undefined;
6893
6659
  keepAssignment?: boolean | undefined;
6894
6660
  }>;
@@ -7166,16 +6932,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
7166
6932
  surname?: string | null | undefined;
7167
6933
  middlename?: string | null | undefined;
7168
6934
  }>, 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
6935
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7180
6936
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7181
6937
  }, {
@@ -7274,10 +7030,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
7274
7030
  start: string;
7275
7031
  end: string;
7276
7032
  } | null | undefined> | undefined;
7277
- actionDetails?: {
7278
- templateId?: string | undefined;
7279
- isImmediateCorrection?: boolean | undefined;
7280
- } | undefined;
7281
7033
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7282
7034
  keepAssignment?: boolean | undefined;
7283
7035
  }, {
@@ -7374,10 +7126,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
7374
7126
  start: string;
7375
7127
  end: string;
7376
7128
  } | null | undefined> | undefined;
7377
- actionDetails?: {
7378
- templateId?: string | undefined;
7379
- isImmediateCorrection?: boolean | undefined;
7380
- } | undefined;
7381
7129
  originalActionId?: string | undefined;
7382
7130
  keepAssignment?: boolean | undefined;
7383
7131
  }>;
@@ -7671,16 +7419,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7671
7419
  surname?: string | null | undefined;
7672
7420
  middlename?: string | null | undefined;
7673
7421
  }>, 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
7422
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7685
7423
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7686
7424
  }, {
@@ -7781,10 +7519,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7781
7519
  start: string;
7782
7520
  end: string;
7783
7521
  } | null | undefined> | undefined;
7784
- actionDetails?: {
7785
- templateId?: string | undefined;
7786
- isImmediateCorrection?: boolean | undefined;
7787
- } | undefined;
7788
7522
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7789
7523
  keepAssignment?: boolean | undefined;
7790
7524
  }, {
@@ -7882,10 +7616,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7882
7616
  start: string;
7883
7617
  end: string;
7884
7618
  } | null | undefined> | undefined;
7885
- actionDetails?: {
7886
- templateId?: string | undefined;
7887
- isImmediateCorrection?: boolean | undefined;
7888
- } | undefined;
7889
7619
  originalActionId?: string | undefined;
7890
7620
  keepAssignment?: boolean | undefined;
7891
7621
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -8161,16 +7891,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8161
7891
  surname?: string | null | undefined;
8162
7892
  middlename?: string | null | undefined;
8163
7893
  }>, 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
7894
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8175
7895
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8176
7896
  }, {
@@ -8271,10 +7991,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8271
7991
  start: string;
8272
7992
  end: string;
8273
7993
  } | null | undefined> | undefined;
8274
- actionDetails?: {
8275
- templateId?: string | undefined;
8276
- isImmediateCorrection?: boolean | undefined;
8277
- } | undefined;
8278
7994
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8279
7995
  keepAssignment?: boolean | undefined;
8280
7996
  }, {
@@ -8372,10 +8088,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8372
8088
  start: string;
8373
8089
  end: string;
8374
8090
  } | null | undefined> | undefined;
8375
- actionDetails?: {
8376
- templateId?: string | undefined;
8377
- isImmediateCorrection?: boolean | undefined;
8378
- } | undefined;
8379
8091
  originalActionId?: string | undefined;
8380
8092
  keepAssignment?: boolean | undefined;
8381
8093
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -8651,16 +8363,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8651
8363
  surname?: string | null | undefined;
8652
8364
  middlename?: string | null | undefined;
8653
8365
  }>, 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
8366
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8665
8367
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8666
8368
  }, {
@@ -8760,10 +8462,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8760
8462
  start: string;
8761
8463
  end: string;
8762
8464
  } | null | undefined> | undefined;
8763
- actionDetails?: {
8764
- templateId?: string | undefined;
8765
- isImmediateCorrection?: boolean | undefined;
8766
- } | undefined;
8767
8465
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8768
8466
  registrationNumber?: string | undefined;
8769
8467
  keepAssignment?: boolean | undefined;
@@ -8861,10 +8559,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8861
8559
  start: string;
8862
8560
  end: string;
8863
8561
  } | null | undefined> | undefined;
8864
- actionDetails?: {
8865
- templateId?: string | undefined;
8866
- isImmediateCorrection?: boolean | undefined;
8867
- } | undefined;
8868
8562
  originalActionId?: string | undefined;
8869
8563
  registrationNumber?: string | undefined;
8870
8564
  keepAssignment?: boolean | undefined;
@@ -9141,16 +8835,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9141
8835
  surname?: string | null | undefined;
9142
8836
  middlename?: string | null | undefined;
9143
8837
  }>, 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
8838
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9155
8839
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9156
8840
  }, {
@@ -9249,10 +8933,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9249
8933
  start: string;
9250
8934
  end: string;
9251
8935
  } | null | undefined> | undefined;
9252
- actionDetails?: {
9253
- templateId?: string | undefined;
9254
- isImmediateCorrection?: boolean | undefined;
9255
- } | undefined;
9256
8936
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9257
8937
  keepAssignment?: boolean | undefined;
9258
8938
  }, {
@@ -9349,10 +9029,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9349
9029
  start: string;
9350
9030
  end: string;
9351
9031
  } | null | undefined> | undefined;
9352
- actionDetails?: {
9353
- templateId?: string | undefined;
9354
- isImmediateCorrection?: boolean | undefined;
9355
- } | undefined;
9356
9032
  originalActionId?: string | undefined;
9357
9033
  keepAssignment?: boolean | undefined;
9358
9034
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -9628,16 +9304,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9628
9304
  surname?: string | null | undefined;
9629
9305
  middlename?: string | null | undefined;
9630
9306
  }>, 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
9307
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9642
9308
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9643
9309
  }, {
@@ -9736,10 +9402,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9736
9402
  start: string;
9737
9403
  end: string;
9738
9404
  } | null | undefined> | undefined;
9739
- actionDetails?: {
9740
- templateId?: string | undefined;
9741
- isImmediateCorrection?: boolean | undefined;
9742
- } | undefined;
9743
9405
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9744
9406
  keepAssignment?: boolean | undefined;
9745
9407
  }, {
@@ -9836,10 +9498,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9836
9498
  start: string;
9837
9499
  end: string;
9838
9500
  } | null | undefined> | undefined;
9839
- actionDetails?: {
9840
- templateId?: string | undefined;
9841
- isImmediateCorrection?: boolean | undefined;
9842
- } | undefined;
9843
9501
  originalActionId?: string | undefined;
9844
9502
  keepAssignment?: boolean | undefined;
9845
9503
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -10115,16 +9773,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10115
9773
  surname?: string | null | undefined;
10116
9774
  middlename?: string | null | undefined;
10117
9775
  }>, 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
9776
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
10129
9777
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
10130
9778
  }, {
@@ -10237,10 +9885,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10237
9885
  start: string;
10238
9886
  end: string;
10239
9887
  } | null | undefined> | undefined;
10240
- actionDetails?: {
10241
- templateId?: string | undefined;
10242
- isImmediateCorrection?: boolean | undefined;
10243
- } | undefined;
10244
9888
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10245
9889
  keepAssignment?: boolean | undefined;
10246
9890
  }, {
@@ -10341,10 +9985,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10341
9985
  start: string;
10342
9986
  end: string;
10343
9987
  } | null | undefined> | undefined;
10344
- actionDetails?: {
10345
- templateId?: string | undefined;
10346
- isImmediateCorrection?: boolean | undefined;
10347
- } | undefined;
10348
9988
  originalActionId?: string | undefined;
10349
9989
  keepAssignment?: boolean | undefined;
10350
9990
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -10620,16 +10260,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10620
10260
  surname?: string | null | undefined;
10621
10261
  middlename?: string | null | undefined;
10622
10262
  }>, 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
10263
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
10634
10264
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
10635
10265
  }, {
@@ -10728,10 +10358,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10728
10358
  start: string;
10729
10359
  end: string;
10730
10360
  } | null | undefined> | undefined;
10731
- actionDetails?: {
10732
- templateId?: string | undefined;
10733
- isImmediateCorrection?: boolean | undefined;
10734
- } | undefined;
10735
10361
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10736
10362
  keepAssignment?: boolean | undefined;
10737
10363
  }, {
@@ -10828,10 +10454,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10828
10454
  start: string;
10829
10455
  end: string;
10830
10456
  } | null | undefined> | undefined;
10831
- actionDetails?: {
10832
- templateId?: string | undefined;
10833
- isImmediateCorrection?: boolean | undefined;
10834
- } | undefined;
10835
10457
  originalActionId?: string | undefined;
10836
10458
  keepAssignment?: boolean | undefined;
10837
10459
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -11107,16 +10729,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11107
10729
  surname?: string | null | undefined;
11108
10730
  middlename?: string | null | undefined;
11109
10731
  }>, 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
10732
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11121
10733
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11122
10734
  }, {
@@ -11229,10 +10841,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11229
10841
  start: string;
11230
10842
  end: string;
11231
10843
  } | null | undefined> | undefined;
11232
- actionDetails?: {
11233
- templateId?: string | undefined;
11234
- isImmediateCorrection?: boolean | undefined;
11235
- } | undefined;
11236
10844
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11237
10845
  keepAssignment?: boolean | undefined;
11238
10846
  }, {
@@ -11333,10 +10941,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11333
10941
  start: string;
11334
10942
  end: string;
11335
10943
  } | null | undefined> | undefined;
11336
- actionDetails?: {
11337
- templateId?: string | undefined;
11338
- isImmediateCorrection?: boolean | undefined;
11339
- } | undefined;
11340
10944
  originalActionId?: string | undefined;
11341
10945
  keepAssignment?: boolean | undefined;
11342
10946
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -11612,16 +11216,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11612
11216
  surname?: string | null | undefined;
11613
11217
  middlename?: string | null | undefined;
11614
11218
  }>, 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
11219
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11626
11220
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11627
11221
  }, {
@@ -11722,10 +11316,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11722
11316
  start: string;
11723
11317
  end: string;
11724
11318
  } | null | undefined> | undefined;
11725
- actionDetails?: {
11726
- templateId?: string | undefined;
11727
- isImmediateCorrection?: boolean | undefined;
11728
- } | undefined;
11729
11319
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11730
11320
  keepAssignment?: boolean | undefined;
11731
11321
  }, {
@@ -11823,10 +11413,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11823
11413
  start: string;
11824
11414
  end: string;
11825
11415
  } | null | undefined> | undefined;
11826
- actionDetails?: {
11827
- templateId?: string | undefined;
11828
- isImmediateCorrection?: boolean | undefined;
11829
- } | undefined;
11830
11416
  originalActionId?: string | undefined;
11831
11417
  keepAssignment?: boolean | undefined;
11832
11418
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -12102,16 +11688,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12102
11688
  surname?: string | null | undefined;
12103
11689
  middlename?: string | null | undefined;
12104
11690
  }>, 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
11691
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
12116
11692
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
12117
11693
  }, {
@@ -12212,10 +11788,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12212
11788
  start: string;
12213
11789
  end: string;
12214
11790
  } | null | undefined> | undefined;
12215
- actionDetails?: {
12216
- templateId?: string | undefined;
12217
- isImmediateCorrection?: boolean | undefined;
12218
- } | undefined;
12219
11791
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
12220
11792
  keepAssignment?: boolean | undefined;
12221
11793
  }, {
@@ -12312,10 +11884,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12312
11884
  start: string;
12313
11885
  end: string;
12314
11886
  } | null | undefined> | undefined;
12315
- actionDetails?: {
12316
- templateId?: string | undefined;
12317
- isImmediateCorrection?: boolean | undefined;
12318
- } | undefined;
12319
11887
  originalActionId?: string | undefined;
12320
11888
  assignedTo?: null | undefined;
12321
11889
  keepAssignment?: boolean | undefined;
@@ -12592,16 +12160,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12592
12160
  surname?: string | null | undefined;
12593
12161
  middlename?: string | null | undefined;
12594
12162
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12595
- actionDetails: z.ZodOptional<z.ZodObject<{
12596
- templateId: z.ZodOptional<z.ZodString>;
12597
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
12598
- }, "strip", z.ZodTypeAny, {
12599
- templateId?: string | undefined;
12600
- isImmediateCorrection?: boolean | undefined;
12601
- }, {
12602
- templateId?: string | undefined;
12603
- isImmediateCorrection?: boolean | undefined;
12604
- }>>;
12605
12163
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
12606
12164
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
12607
12165
  }, {
@@ -12700,10 +12258,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12700
12258
  start: string;
12701
12259
  end: string;
12702
12260
  } | null | undefined> | undefined;
12703
- actionDetails?: {
12704
- templateId?: string | undefined;
12705
- isImmediateCorrection?: boolean | undefined;
12706
- } | undefined;
12707
12261
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
12708
12262
  keepAssignment?: boolean | undefined;
12709
12263
  }, {
@@ -12800,10 +12354,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12800
12354
  start: string;
12801
12355
  end: string;
12802
12356
  } | null | undefined> | undefined;
12803
- actionDetails?: {
12804
- templateId?: string | undefined;
12805
- isImmediateCorrection?: boolean | undefined;
12806
- } | undefined;
12807
12357
  originalActionId?: string | undefined;
12808
12358
  keepAssignment?: boolean | undefined;
12809
12359
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -13079,16 +12629,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13079
12629
  surname?: string | null | undefined;
13080
12630
  middlename?: string | null | undefined;
13081
12631
  }>, 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
12632
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
13093
12633
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
13094
12634
  }, {
@@ -13187,10 +12727,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13187
12727
  start: string;
13188
12728
  end: string;
13189
12729
  } | null | undefined> | undefined;
13190
- actionDetails?: {
13191
- templateId?: string | undefined;
13192
- isImmediateCorrection?: boolean | undefined;
13193
- } | undefined;
13194
12730
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
13195
12731
  keepAssignment?: boolean | undefined;
13196
12732
  }, {
@@ -13287,10 +12823,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13287
12823
  start: string;
13288
12824
  end: string;
13289
12825
  } | null | undefined> | undefined;
13290
- actionDetails?: {
13291
- templateId?: string | undefined;
13292
- isImmediateCorrection?: boolean | undefined;
13293
- } | undefined;
13294
12826
  originalActionId?: string | undefined;
13295
12827
  keepAssignment?: boolean | undefined;
13296
12828
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -13566,23 +13098,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13566
13098
  surname?: string | null | undefined;
13567
13099
  middlename?: string | null | undefined;
13568
13100
  }>, 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
13101
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
13580
13102
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
13581
13103
  }, {
13582
13104
  requestId: z.ZodString;
13583
13105
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
13106
+ reason: z.ZodObject<{
13107
+ message: z.ZodString;
13108
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
13109
+ }, "strip", z.ZodTypeAny, {
13110
+ message: string;
13111
+ isDuplicate?: boolean | undefined;
13112
+ }, {
13113
+ message: string;
13114
+ isDuplicate?: boolean | undefined;
13115
+ }>;
13584
13116
  }>, "strip", z.ZodTypeAny, {
13585
13117
  type: "REJECT_CORRECTION";
13118
+ reason: {
13119
+ message: string;
13120
+ isDuplicate?: boolean | undefined;
13121
+ };
13586
13122
  transactionId: string;
13587
13123
  declaration: Record<string, string | number | boolean | {
13588
13124
  type: string;
@@ -13676,13 +13212,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13676
13212
  start: string;
13677
13213
  end: string;
13678
13214
  } | null | undefined> | undefined;
13679
- actionDetails?: {
13680
- templateId?: string | undefined;
13681
- isImmediateCorrection?: boolean | undefined;
13682
- } | undefined;
13683
13215
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
13684
13216
  keepAssignment?: boolean | undefined;
13685
13217
  }, {
13218
+ reason: {
13219
+ message: string;
13220
+ isDuplicate?: boolean | undefined;
13221
+ };
13686
13222
  transactionId: string;
13687
13223
  requestId: string;
13688
13224
  eventId: string;
@@ -13777,10 +13313,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13777
13313
  start: string;
13778
13314
  end: string;
13779
13315
  } | null | undefined> | undefined;
13780
- actionDetails?: {
13781
- templateId?: string | undefined;
13782
- isImmediateCorrection?: boolean | undefined;
13783
- } | undefined;
13784
13316
  originalActionId?: string | undefined;
13785
13317
  keepAssignment?: boolean | undefined;
13786
13318
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -14056,16 +13588,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14056
13588
  surname?: string | null | undefined;
14057
13589
  middlename?: string | null | undefined;
14058
13590
  }>, 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
13591
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
14070
13592
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
14071
13593
  }, {
@@ -14166,10 +13688,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14166
13688
  start: string;
14167
13689
  end: string;
14168
13690
  } | null | undefined> | undefined;
14169
- actionDetails?: {
14170
- templateId?: string | undefined;
14171
- isImmediateCorrection?: boolean | undefined;
14172
- } | undefined;
14173
13691
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
14174
13692
  keepAssignment?: boolean | undefined;
14175
13693
  }, {
@@ -14267,10 +13785,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14267
13785
  start: string;
14268
13786
  end: string;
14269
13787
  } | null | undefined> | undefined;
14270
- actionDetails?: {
14271
- templateId?: string | undefined;
14272
- isImmediateCorrection?: boolean | undefined;
14273
- } | undefined;
14274
13788
  originalActionId?: string | undefined;
14275
13789
  keepAssignment?: boolean | undefined;
14276
13790
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -14546,16 +14060,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14546
14060
  surname?: string | null | undefined;
14547
14061
  middlename?: string | null | undefined;
14548
14062
  }>, 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
14063
  originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
14560
14064
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
14561
14065
  }, {
@@ -14654,10 +14158,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14654
14158
  start: string;
14655
14159
  end: string;
14656
14160
  } | null | undefined> | undefined;
14657
- actionDetails?: {
14658
- templateId?: string | undefined;
14659
- isImmediateCorrection?: boolean | undefined;
14660
- } | undefined;
14661
14161
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
14662
14162
  keepAssignment?: boolean | undefined;
14663
14163
  }, {
@@ -14754,10 +14254,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
14754
14254
  start: string;
14755
14255
  end: string;
14756
14256
  } | null | undefined> | undefined;
14757
- actionDetails?: {
14758
- templateId?: string | undefined;
14759
- isImmediateCorrection?: boolean | undefined;
14760
- } | undefined;
14761
14257
  originalActionId?: string | undefined;
14762
14258
  keepAssignment?: boolean | undefined;
14763
14259
  }>]>;