@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.
@@ -283,16 +283,6 @@ export declare const EventDocument: z.ZodObject<{
283
283
  surname?: string | null | undefined;
284
284
  middlename?: string | null | undefined;
285
285
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
286
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
287
- templateId: z.ZodOptional<z.ZodString>;
288
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
289
- }, "strip", z.ZodTypeAny, {
290
- templateId?: string | undefined;
291
- isImmediateCorrection?: boolean | undefined;
292
- }, {
293
- templateId?: string | undefined;
294
- isImmediateCorrection?: boolean | undefined;
295
- }>>>;
296
286
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
297
287
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
298
288
  }, {
@@ -398,10 +388,6 @@ export declare const EventDocument: z.ZodObject<{
398
388
  start: string;
399
389
  end: string;
400
390
  } | null | undefined> | null | undefined;
401
- actionDetails?: {
402
- templateId?: string | undefined;
403
- isImmediateCorrection?: boolean | undefined;
404
- } | null | undefined;
405
391
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
406
392
  }, {
407
393
  type: "CREATE";
@@ -504,10 +490,6 @@ export declare const EventDocument: z.ZodObject<{
504
490
  start: string;
505
491
  end: string;
506
492
  } | null | undefined> | null | undefined;
507
- actionDetails?: {
508
- templateId?: string | undefined;
509
- isImmediateCorrection?: boolean | undefined;
510
- } | null | undefined;
511
493
  originalActionId?: string | null | undefined;
512
494
  }>, z.ZodObject<z.objectUtil.extendShape<{
513
495
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -788,16 +770,6 @@ export declare const EventDocument: z.ZodObject<{
788
770
  surname?: string | null | undefined;
789
771
  middlename?: string | null | undefined;
790
772
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
791
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
792
- templateId: z.ZodOptional<z.ZodString>;
793
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
794
- }, "strip", z.ZodTypeAny, {
795
- templateId?: string | undefined;
796
- isImmediateCorrection?: boolean | undefined;
797
- }, {
798
- templateId?: string | undefined;
799
- isImmediateCorrection?: boolean | undefined;
800
- }>>>;
801
773
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
802
774
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
803
775
  }, {
@@ -903,10 +875,6 @@ export declare const EventDocument: z.ZodObject<{
903
875
  start: string;
904
876
  end: string;
905
877
  } | null | undefined> | null | undefined;
906
- actionDetails?: {
907
- templateId?: string | undefined;
908
- isImmediateCorrection?: boolean | undefined;
909
- } | null | undefined;
910
878
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
911
879
  }, {
912
880
  type: "VALIDATE";
@@ -1009,10 +977,6 @@ export declare const EventDocument: z.ZodObject<{
1009
977
  start: string;
1010
978
  end: string;
1011
979
  } | null | undefined> | null | undefined;
1012
- actionDetails?: {
1013
- templateId?: string | undefined;
1014
- isImmediateCorrection?: boolean | undefined;
1015
- } | null | undefined;
1016
980
  originalActionId?: string | null | undefined;
1017
981
  }>, z.ZodObject<z.objectUtil.extendShape<{
1018
982
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -1293,16 +1257,6 @@ export declare const EventDocument: z.ZodObject<{
1293
1257
  surname?: string | null | undefined;
1294
1258
  middlename?: string | null | undefined;
1295
1259
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1296
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1297
- templateId: z.ZodOptional<z.ZodString>;
1298
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
1299
- }, "strip", z.ZodTypeAny, {
1300
- templateId?: string | undefined;
1301
- isImmediateCorrection?: boolean | undefined;
1302
- }, {
1303
- templateId?: string | undefined;
1304
- isImmediateCorrection?: boolean | undefined;
1305
- }>>>;
1306
1260
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1307
1261
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1308
1262
  }, {
@@ -1422,10 +1376,6 @@ export declare const EventDocument: z.ZodObject<{
1422
1376
  start: string;
1423
1377
  end: string;
1424
1378
  } | null | undefined> | null | undefined;
1425
- actionDetails?: {
1426
- templateId?: string | undefined;
1427
- isImmediateCorrection?: boolean | undefined;
1428
- } | null | undefined;
1429
1379
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1430
1380
  }, {
1431
1381
  type: "REJECT";
@@ -1532,10 +1482,6 @@ export declare const EventDocument: z.ZodObject<{
1532
1482
  start: string;
1533
1483
  end: string;
1534
1484
  } | null | undefined> | null | undefined;
1535
- actionDetails?: {
1536
- templateId?: string | undefined;
1537
- isImmediateCorrection?: boolean | undefined;
1538
- } | null | undefined;
1539
1485
  originalActionId?: string | null | undefined;
1540
1486
  }>, z.ZodObject<z.objectUtil.extendShape<{
1541
1487
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -1816,16 +1762,6 @@ export declare const EventDocument: z.ZodObject<{
1816
1762
  surname?: string | null | undefined;
1817
1763
  middlename?: string | null | undefined;
1818
1764
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1819
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1820
- templateId: z.ZodOptional<z.ZodString>;
1821
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
1822
- }, "strip", z.ZodTypeAny, {
1823
- templateId?: string | undefined;
1824
- isImmediateCorrection?: boolean | undefined;
1825
- }, {
1826
- templateId?: string | undefined;
1827
- isImmediateCorrection?: boolean | undefined;
1828
- }>>>;
1829
1765
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1830
1766
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1831
1767
  }, {
@@ -1931,10 +1867,6 @@ export declare const EventDocument: z.ZodObject<{
1931
1867
  start: string;
1932
1868
  end: string;
1933
1869
  } | null | undefined> | null | undefined;
1934
- actionDetails?: {
1935
- templateId?: string | undefined;
1936
- isImmediateCorrection?: boolean | undefined;
1937
- } | null | undefined;
1938
1870
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1939
1871
  }, {
1940
1872
  type: "MARKED_AS_DUPLICATE";
@@ -2037,10 +1969,6 @@ export declare const EventDocument: z.ZodObject<{
2037
1969
  start: string;
2038
1970
  end: string;
2039
1971
  } | null | undefined> | null | undefined;
2040
- actionDetails?: {
2041
- templateId?: string | undefined;
2042
- isImmediateCorrection?: boolean | undefined;
2043
- } | null | undefined;
2044
1972
  originalActionId?: string | null | undefined;
2045
1973
  }>, z.ZodObject<z.objectUtil.extendShape<{
2046
1974
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -2321,16 +2249,6 @@ export declare const EventDocument: z.ZodObject<{
2321
2249
  surname?: string | null | undefined;
2322
2250
  middlename?: string | null | undefined;
2323
2251
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2324
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2325
- templateId: z.ZodOptional<z.ZodString>;
2326
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2327
- }, "strip", z.ZodTypeAny, {
2328
- templateId?: string | undefined;
2329
- isImmediateCorrection?: boolean | undefined;
2330
- }, {
2331
- templateId?: string | undefined;
2332
- isImmediateCorrection?: boolean | undefined;
2333
- }>>>;
2334
2252
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2335
2253
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2336
2254
  }, {
@@ -2450,10 +2368,6 @@ export declare const EventDocument: z.ZodObject<{
2450
2368
  start: string;
2451
2369
  end: string;
2452
2370
  } | null | undefined> | null | undefined;
2453
- actionDetails?: {
2454
- templateId?: string | undefined;
2455
- isImmediateCorrection?: boolean | undefined;
2456
- } | null | undefined;
2457
2371
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2458
2372
  }, {
2459
2373
  type: "ARCHIVE";
@@ -2560,10 +2474,6 @@ export declare const EventDocument: z.ZodObject<{
2560
2474
  start: string;
2561
2475
  end: string;
2562
2476
  } | null | undefined> | null | undefined;
2563
- actionDetails?: {
2564
- templateId?: string | undefined;
2565
- isImmediateCorrection?: boolean | undefined;
2566
- } | null | undefined;
2567
2477
  originalActionId?: string | null | undefined;
2568
2478
  }>, z.ZodObject<z.objectUtil.extendShape<{
2569
2479
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -2844,16 +2754,6 @@ export declare const EventDocument: z.ZodObject<{
2844
2754
  surname?: string | null | undefined;
2845
2755
  middlename?: string | null | undefined;
2846
2756
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2847
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2848
- templateId: z.ZodOptional<z.ZodString>;
2849
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
2850
- }, "strip", z.ZodTypeAny, {
2851
- templateId?: string | undefined;
2852
- isImmediateCorrection?: boolean | undefined;
2853
- }, {
2854
- templateId?: string | undefined;
2855
- isImmediateCorrection?: boolean | undefined;
2856
- }>>>;
2857
2757
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2858
2758
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2859
2759
  }, {
@@ -2959,10 +2859,6 @@ export declare const EventDocument: z.ZodObject<{
2959
2859
  start: string;
2960
2860
  end: string;
2961
2861
  } | null | undefined> | null | undefined;
2962
- actionDetails?: {
2963
- templateId?: string | undefined;
2964
- isImmediateCorrection?: boolean | undefined;
2965
- } | null | undefined;
2966
2862
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2967
2863
  }, {
2968
2864
  type: "NOTIFY";
@@ -3065,10 +2961,6 @@ export declare const EventDocument: z.ZodObject<{
3065
2961
  start: string;
3066
2962
  end: string;
3067
2963
  } | null | undefined> | null | undefined;
3068
- actionDetails?: {
3069
- templateId?: string | undefined;
3070
- isImmediateCorrection?: boolean | undefined;
3071
- } | null | undefined;
3072
2964
  originalActionId?: string | null | undefined;
3073
2965
  }>, z.ZodObject<z.objectUtil.extendShape<{
3074
2966
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -3349,16 +3241,6 @@ export declare const EventDocument: z.ZodObject<{
3349
3241
  surname?: string | null | undefined;
3350
3242
  middlename?: string | null | undefined;
3351
3243
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3352
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3353
- templateId: z.ZodOptional<z.ZodString>;
3354
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
3355
- }, "strip", z.ZodTypeAny, {
3356
- templateId?: string | undefined;
3357
- isImmediateCorrection?: boolean | undefined;
3358
- }, {
3359
- templateId?: string | undefined;
3360
- isImmediateCorrection?: boolean | undefined;
3361
- }>>>;
3362
3244
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3363
3245
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3364
3246
  }, {
@@ -3465,10 +3347,6 @@ export declare const EventDocument: z.ZodObject<{
3465
3347
  start: string;
3466
3348
  end: string;
3467
3349
  } | null | undefined> | null | undefined;
3468
- actionDetails?: {
3469
- templateId?: string | undefined;
3470
- isImmediateCorrection?: boolean | undefined;
3471
- } | null | undefined;
3472
3350
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3473
3351
  registrationNumber?: string | undefined;
3474
3352
  }, {
@@ -3572,10 +3450,6 @@ export declare const EventDocument: z.ZodObject<{
3572
3450
  start: string;
3573
3451
  end: string;
3574
3452
  } | null | undefined> | null | undefined;
3575
- actionDetails?: {
3576
- templateId?: string | undefined;
3577
- isImmediateCorrection?: boolean | undefined;
3578
- } | null | undefined;
3579
3453
  originalActionId?: string | null | undefined;
3580
3454
  registrationNumber?: string | undefined;
3581
3455
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -3857,16 +3731,6 @@ export declare const EventDocument: z.ZodObject<{
3857
3731
  surname?: string | null | undefined;
3858
3732
  middlename?: string | null | undefined;
3859
3733
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3860
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3861
- templateId: z.ZodOptional<z.ZodString>;
3862
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
3863
- }, "strip", z.ZodTypeAny, {
3864
- templateId?: string | undefined;
3865
- isImmediateCorrection?: boolean | undefined;
3866
- }, {
3867
- templateId?: string | undefined;
3868
- isImmediateCorrection?: boolean | undefined;
3869
- }>>>;
3870
3734
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3871
3735
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3872
3736
  }, {
@@ -3972,10 +3836,6 @@ export declare const EventDocument: z.ZodObject<{
3972
3836
  start: string;
3973
3837
  end: string;
3974
3838
  } | null | undefined> | null | undefined;
3975
- actionDetails?: {
3976
- templateId?: string | undefined;
3977
- isImmediateCorrection?: boolean | undefined;
3978
- } | null | undefined;
3979
3839
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3980
3840
  }, {
3981
3841
  type: "DECLARE";
@@ -4078,10 +3938,6 @@ export declare const EventDocument: z.ZodObject<{
4078
3938
  start: string;
4079
3939
  end: string;
4080
3940
  } | null | undefined> | null | undefined;
4081
- actionDetails?: {
4082
- templateId?: string | undefined;
4083
- isImmediateCorrection?: boolean | undefined;
4084
- } | null | undefined;
4085
3941
  originalActionId?: string | null | undefined;
4086
3942
  }>, z.ZodObject<z.objectUtil.extendShape<{
4087
3943
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -4362,16 +4218,6 @@ export declare const EventDocument: z.ZodObject<{
4362
4218
  surname?: string | null | undefined;
4363
4219
  middlename?: string | null | undefined;
4364
4220
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4365
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4366
- templateId: z.ZodOptional<z.ZodString>;
4367
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
4368
- }, "strip", z.ZodTypeAny, {
4369
- templateId?: string | undefined;
4370
- isImmediateCorrection?: boolean | undefined;
4371
- }, {
4372
- templateId?: string | undefined;
4373
- isImmediateCorrection?: boolean | undefined;
4374
- }>>>;
4375
4221
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4376
4222
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4377
4223
  }, {
@@ -4479,10 +4325,6 @@ export declare const EventDocument: z.ZodObject<{
4479
4325
  start: string;
4480
4326
  end: string;
4481
4327
  } | null | undefined> | null | undefined;
4482
- actionDetails?: {
4483
- templateId?: string | undefined;
4484
- isImmediateCorrection?: boolean | undefined;
4485
- } | null | undefined;
4486
4328
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4487
4329
  }, {
4488
4330
  type: "ASSIGN";
@@ -4586,10 +4428,6 @@ export declare const EventDocument: z.ZodObject<{
4586
4428
  start: string;
4587
4429
  end: string;
4588
4430
  } | null | undefined> | null | undefined;
4589
- actionDetails?: {
4590
- templateId?: string | undefined;
4591
- isImmediateCorrection?: boolean | undefined;
4592
- } | null | undefined;
4593
4431
  originalActionId?: string | null | undefined;
4594
4432
  }>, z.ZodObject<z.objectUtil.extendShape<{
4595
4433
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -4870,16 +4708,6 @@ export declare const EventDocument: z.ZodObject<{
4870
4708
  surname?: string | null | undefined;
4871
4709
  middlename?: string | null | undefined;
4872
4710
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4873
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4874
- templateId: z.ZodOptional<z.ZodString>;
4875
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
4876
- }, "strip", z.ZodTypeAny, {
4877
- templateId?: string | undefined;
4878
- isImmediateCorrection?: boolean | undefined;
4879
- }, {
4880
- templateId?: string | undefined;
4881
- isImmediateCorrection?: boolean | undefined;
4882
- }>>>;
4883
4711
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4884
4712
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4885
4713
  }, {
@@ -4985,10 +4813,6 @@ export declare const EventDocument: z.ZodObject<{
4985
4813
  start: string;
4986
4814
  end: string;
4987
4815
  } | null | undefined> | null | undefined;
4988
- actionDetails?: {
4989
- templateId?: string | undefined;
4990
- isImmediateCorrection?: boolean | undefined;
4991
- } | null | undefined;
4992
4816
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4993
4817
  }, {
4994
4818
  type: "REQUEST_CORRECTION";
@@ -5091,10 +4915,6 @@ export declare const EventDocument: z.ZodObject<{
5091
4915
  start: string;
5092
4916
  end: string;
5093
4917
  } | null | undefined> | null | undefined;
5094
- actionDetails?: {
5095
- templateId?: string | undefined;
5096
- isImmediateCorrection?: boolean | undefined;
5097
- } | null | undefined;
5098
4918
  originalActionId?: string | null | undefined;
5099
4919
  }>, z.ZodObject<z.objectUtil.extendShape<{
5100
4920
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -5375,16 +5195,6 @@ export declare const EventDocument: z.ZodObject<{
5375
5195
  surname?: string | null | undefined;
5376
5196
  middlename?: string | null | undefined;
5377
5197
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5378
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5379
- templateId: z.ZodOptional<z.ZodString>;
5380
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
5381
- }, "strip", z.ZodTypeAny, {
5382
- templateId?: string | undefined;
5383
- isImmediateCorrection?: boolean | undefined;
5384
- }, {
5385
- templateId?: string | undefined;
5386
- isImmediateCorrection?: boolean | undefined;
5387
- }>>>;
5388
5198
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5389
5199
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5390
5200
  }, {
@@ -5492,10 +5302,6 @@ export declare const EventDocument: z.ZodObject<{
5492
5302
  start: string;
5493
5303
  end: string;
5494
5304
  } | null | undefined> | null | undefined;
5495
- actionDetails?: {
5496
- templateId?: string | undefined;
5497
- isImmediateCorrection?: boolean | undefined;
5498
- } | null | undefined;
5499
5305
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5500
5306
  }, {
5501
5307
  type: "APPROVE_CORRECTION";
@@ -5599,10 +5405,6 @@ export declare const EventDocument: z.ZodObject<{
5599
5405
  start: string;
5600
5406
  end: string;
5601
5407
  } | null | undefined> | null | undefined;
5602
- actionDetails?: {
5603
- templateId?: string | undefined;
5604
- isImmediateCorrection?: boolean | undefined;
5605
- } | null | undefined;
5606
5408
  originalActionId?: string | null | undefined;
5607
5409
  }>, z.ZodObject<z.objectUtil.extendShape<{
5608
5410
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -5883,25 +5685,29 @@ export declare const EventDocument: z.ZodObject<{
5883
5685
  surname?: string | null | undefined;
5884
5686
  middlename?: string | null | undefined;
5885
5687
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5886
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5887
- templateId: z.ZodOptional<z.ZodString>;
5888
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
5889
- }, "strip", z.ZodTypeAny, {
5890
- templateId?: string | undefined;
5891
- isImmediateCorrection?: boolean | undefined;
5892
- }, {
5893
- templateId?: string | undefined;
5894
- isImmediateCorrection?: boolean | undefined;
5895
- }>>>;
5896
5688
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5897
5689
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5898
5690
  }, {
5899
5691
  type: z.ZodLiteral<"REJECT_CORRECTION">;
5900
5692
  requestId: z.ZodString;
5693
+ reason: z.ZodObject<{
5694
+ message: z.ZodString;
5695
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
5696
+ }, "strip", z.ZodTypeAny, {
5697
+ message: string;
5698
+ isDuplicate?: boolean | undefined;
5699
+ }, {
5700
+ message: string;
5701
+ isDuplicate?: boolean | undefined;
5702
+ }>;
5901
5703
  }>, "strip", z.ZodTypeAny, {
5902
5704
  type: "REJECT_CORRECTION";
5903
5705
  id: string & z.BRAND<"UUID">;
5904
5706
  status: "Rejected" | "Requested" | "Accepted";
5707
+ reason: {
5708
+ message: string;
5709
+ isDuplicate?: boolean | undefined;
5710
+ };
5905
5711
  transactionId: string;
5906
5712
  createdByUserType: "system" | "user";
5907
5713
  createdAt: string;
@@ -6000,15 +5806,15 @@ export declare const EventDocument: z.ZodObject<{
6000
5806
  start: string;
6001
5807
  end: string;
6002
5808
  } | null | undefined> | null | undefined;
6003
- actionDetails?: {
6004
- templateId?: string | undefined;
6005
- isImmediateCorrection?: boolean | undefined;
6006
- } | null | undefined;
6007
5809
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6008
5810
  }, {
6009
5811
  type: "REJECT_CORRECTION";
6010
5812
  id: string;
6011
5813
  status: "Rejected" | "Requested" | "Accepted";
5814
+ reason: {
5815
+ message: string;
5816
+ isDuplicate?: boolean | undefined;
5817
+ };
6012
5818
  transactionId: string;
6013
5819
  createdByUserType: "system" | "user";
6014
5820
  createdAt: string;
@@ -6107,10 +5913,6 @@ export declare const EventDocument: z.ZodObject<{
6107
5913
  start: string;
6108
5914
  end: string;
6109
5915
  } | null | undefined> | null | undefined;
6110
- actionDetails?: {
6111
- templateId?: string | undefined;
6112
- isImmediateCorrection?: boolean | undefined;
6113
- } | null | undefined;
6114
5916
  originalActionId?: string | null | undefined;
6115
5917
  }>, z.ZodObject<z.objectUtil.extendShape<{
6116
5918
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6391,16 +6193,6 @@ export declare const EventDocument: z.ZodObject<{
6391
6193
  surname?: string | null | undefined;
6392
6194
  middlename?: string | null | undefined;
6393
6195
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6394
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6395
- templateId: z.ZodOptional<z.ZodString>;
6396
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6397
- }, "strip", z.ZodTypeAny, {
6398
- templateId?: string | undefined;
6399
- isImmediateCorrection?: boolean | undefined;
6400
- }, {
6401
- templateId?: string | undefined;
6402
- isImmediateCorrection?: boolean | undefined;
6403
- }>>>;
6404
6196
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6405
6197
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6406
6198
  }, {
@@ -6506,10 +6298,6 @@ export declare const EventDocument: z.ZodObject<{
6506
6298
  start: string;
6507
6299
  end: string;
6508
6300
  } | null | undefined> | null | undefined;
6509
- actionDetails?: {
6510
- templateId?: string | undefined;
6511
- isImmediateCorrection?: boolean | undefined;
6512
- } | null | undefined;
6513
6301
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6514
6302
  }, {
6515
6303
  type: "UNASSIGN";
@@ -6612,10 +6400,6 @@ export declare const EventDocument: z.ZodObject<{
6612
6400
  start: string;
6613
6401
  end: string;
6614
6402
  } | null | undefined> | null | undefined;
6615
- actionDetails?: {
6616
- templateId?: string | undefined;
6617
- isImmediateCorrection?: boolean | undefined;
6618
- } | null | undefined;
6619
6403
  originalActionId?: string | null | undefined;
6620
6404
  }>, z.ZodObject<z.objectUtil.extendShape<{
6621
6405
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6896,16 +6680,6 @@ export declare const EventDocument: z.ZodObject<{
6896
6680
  surname?: string | null | undefined;
6897
6681
  middlename?: string | null | undefined;
6898
6682
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6899
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6900
- templateId: z.ZodOptional<z.ZodString>;
6901
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6902
- }, "strip", z.ZodTypeAny, {
6903
- templateId?: string | undefined;
6904
- isImmediateCorrection?: boolean | undefined;
6905
- }, {
6906
- templateId?: string | undefined;
6907
- isImmediateCorrection?: boolean | undefined;
6908
- }>>>;
6909
6683
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6910
6684
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6911
6685
  }, {
@@ -7011,10 +6785,6 @@ export declare const EventDocument: z.ZodObject<{
7011
6785
  start: string;
7012
6786
  end: string;
7013
6787
  } | null | undefined> | null | undefined;
7014
- actionDetails?: {
7015
- templateId?: string | undefined;
7016
- isImmediateCorrection?: boolean | undefined;
7017
- } | null | undefined;
7018
6788
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7019
6789
  }, {
7020
6790
  type: "PRINT_CERTIFICATE";
@@ -7117,10 +6887,6 @@ export declare const EventDocument: z.ZodObject<{
7117
6887
  start: string;
7118
6888
  end: string;
7119
6889
  } | null | undefined> | null | undefined;
7120
- actionDetails?: {
7121
- templateId?: string | undefined;
7122
- isImmediateCorrection?: boolean | undefined;
7123
- } | null | undefined;
7124
6890
  originalActionId?: string | null | undefined;
7125
6891
  }>, z.ZodObject<z.objectUtil.extendShape<{
7126
6892
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7401,16 +7167,6 @@ export declare const EventDocument: z.ZodObject<{
7401
7167
  surname?: string | null | undefined;
7402
7168
  middlename?: string | null | undefined;
7403
7169
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7404
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7405
- templateId: z.ZodOptional<z.ZodString>;
7406
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7407
- }, "strip", z.ZodTypeAny, {
7408
- templateId?: string | undefined;
7409
- isImmediateCorrection?: boolean | undefined;
7410
- }, {
7411
- templateId?: string | undefined;
7412
- isImmediateCorrection?: boolean | undefined;
7413
- }>>>;
7414
7170
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7415
7171
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7416
7172
  }, {
@@ -7516,10 +7272,6 @@ export declare const EventDocument: z.ZodObject<{
7516
7272
  start: string;
7517
7273
  end: string;
7518
7274
  } | null | undefined> | null | undefined;
7519
- actionDetails?: {
7520
- templateId?: string | undefined;
7521
- isImmediateCorrection?: boolean | undefined;
7522
- } | null | undefined;
7523
7275
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7524
7276
  }, {
7525
7277
  type: "READ";
@@ -7622,10 +7374,6 @@ export declare const EventDocument: z.ZodObject<{
7622
7374
  start: string;
7623
7375
  end: string;
7624
7376
  } | null | undefined> | null | undefined;
7625
- actionDetails?: {
7626
- templateId?: string | undefined;
7627
- isImmediateCorrection?: boolean | undefined;
7628
- } | null | undefined;
7629
7377
  originalActionId?: string | null | undefined;
7630
7378
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
7631
7379
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7906,16 +7654,6 @@ export declare const EventDocument: z.ZodObject<{
7906
7654
  surname?: string | null | undefined;
7907
7655
  middlename?: string | null | undefined;
7908
7656
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7909
- actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7910
- templateId: z.ZodOptional<z.ZodString>;
7911
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7912
- }, "strip", z.ZodTypeAny, {
7913
- templateId?: string | undefined;
7914
- isImmediateCorrection?: boolean | undefined;
7915
- }, {
7916
- templateId?: string | undefined;
7917
- isImmediateCorrection?: boolean | undefined;
7918
- }>>>;
7919
7657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7920
7658
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7921
7659
  }, "declaration" | "annotation">, {
@@ -7932,10 +7670,6 @@ export declare const EventDocument: z.ZodObject<{
7932
7670
  createdByRole: string;
7933
7671
  createdBySignature?: string | null | undefined;
7934
7672
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7935
- actionDetails?: {
7936
- templateId?: string | undefined;
7937
- isImmediateCorrection?: boolean | undefined;
7938
- } | null | undefined;
7939
7673
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7940
7674
  }, {
7941
7675
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -7948,10 +7682,6 @@ export declare const EventDocument: z.ZodObject<{
7948
7682
  createdByRole: string;
7949
7683
  createdBySignature?: string | null | undefined;
7950
7684
  createdAtLocation?: string | null | undefined;
7951
- actionDetails?: {
7952
- templateId?: string | undefined;
7953
- isImmediateCorrection?: boolean | undefined;
7954
- } | null | undefined;
7955
7685
  originalActionId?: string | null | undefined;
7956
7686
  }>]>, "many">;
7957
7687
  trackingId: z.ZodString;
@@ -8062,10 +7792,6 @@ export declare const EventDocument: z.ZodObject<{
8062
7792
  start: string;
8063
7793
  end: string;
8064
7794
  } | null | undefined> | null | undefined;
8065
- actionDetails?: {
8066
- templateId?: string | undefined;
8067
- isImmediateCorrection?: boolean | undefined;
8068
- } | null | undefined;
8069
7795
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8070
7796
  } | {
8071
7797
  type: "UNASSIGN";
@@ -8168,10 +7894,6 @@ export declare const EventDocument: z.ZodObject<{
8168
7894
  start: string;
8169
7895
  end: string;
8170
7896
  } | null | undefined> | null | undefined;
8171
- actionDetails?: {
8172
- templateId?: string | undefined;
8173
- isImmediateCorrection?: boolean | undefined;
8174
- } | null | undefined;
8175
7897
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8176
7898
  } | {
8177
7899
  type: "REGISTER";
@@ -8274,10 +7996,6 @@ export declare const EventDocument: z.ZodObject<{
8274
7996
  start: string;
8275
7997
  end: string;
8276
7998
  } | null | undefined> | null | undefined;
8277
- actionDetails?: {
8278
- templateId?: string | undefined;
8279
- isImmediateCorrection?: boolean | undefined;
8280
- } | null | undefined;
8281
7999
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8282
8000
  registrationNumber?: string | undefined;
8283
8001
  } | {
@@ -8381,10 +8099,6 @@ export declare const EventDocument: z.ZodObject<{
8381
8099
  start: string;
8382
8100
  end: string;
8383
8101
  } | null | undefined> | null | undefined;
8384
- actionDetails?: {
8385
- templateId?: string | undefined;
8386
- isImmediateCorrection?: boolean | undefined;
8387
- } | null | undefined;
8388
8102
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8389
8103
  } | {
8390
8104
  type: "VALIDATE";
@@ -8487,10 +8201,6 @@ export declare const EventDocument: z.ZodObject<{
8487
8201
  start: string;
8488
8202
  end: string;
8489
8203
  } | null | undefined> | null | undefined;
8490
- actionDetails?: {
8491
- templateId?: string | undefined;
8492
- isImmediateCorrection?: boolean | undefined;
8493
- } | null | undefined;
8494
8204
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8495
8205
  } | {
8496
8206
  type: "REJECT";
@@ -8597,10 +8307,6 @@ export declare const EventDocument: z.ZodObject<{
8597
8307
  start: string;
8598
8308
  end: string;
8599
8309
  } | null | undefined> | null | undefined;
8600
- actionDetails?: {
8601
- templateId?: string | undefined;
8602
- isImmediateCorrection?: boolean | undefined;
8603
- } | null | undefined;
8604
8310
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8605
8311
  } | {
8606
8312
  type: "MARKED_AS_DUPLICATE";
@@ -8703,10 +8409,6 @@ export declare const EventDocument: z.ZodObject<{
8703
8409
  start: string;
8704
8410
  end: string;
8705
8411
  } | null | undefined> | null | undefined;
8706
- actionDetails?: {
8707
- templateId?: string | undefined;
8708
- isImmediateCorrection?: boolean | undefined;
8709
- } | null | undefined;
8710
8412
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8711
8413
  } | {
8712
8414
  type: "ARCHIVE";
@@ -8813,10 +8515,6 @@ export declare const EventDocument: z.ZodObject<{
8813
8515
  start: string;
8814
8516
  end: string;
8815
8517
  } | null | undefined> | null | undefined;
8816
- actionDetails?: {
8817
- templateId?: string | undefined;
8818
- isImmediateCorrection?: boolean | undefined;
8819
- } | null | undefined;
8820
8518
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8821
8519
  } | {
8822
8520
  type: "CREATE";
@@ -8919,10 +8617,6 @@ export declare const EventDocument: z.ZodObject<{
8919
8617
  start: string;
8920
8618
  end: string;
8921
8619
  } | null | undefined> | null | undefined;
8922
- actionDetails?: {
8923
- templateId?: string | undefined;
8924
- isImmediateCorrection?: boolean | undefined;
8925
- } | null | undefined;
8926
8620
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8927
8621
  } | {
8928
8622
  type: "NOTIFY";
@@ -9025,10 +8719,6 @@ export declare const EventDocument: z.ZodObject<{
9025
8719
  start: string;
9026
8720
  end: string;
9027
8721
  } | null | undefined> | null | undefined;
9028
- actionDetails?: {
9029
- templateId?: string | undefined;
9030
- isImmediateCorrection?: boolean | undefined;
9031
- } | null | undefined;
9032
8722
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9033
8723
  } | {
9034
8724
  type: "PRINT_CERTIFICATE";
@@ -9131,10 +8821,6 @@ export declare const EventDocument: z.ZodObject<{
9131
8821
  start: string;
9132
8822
  end: string;
9133
8823
  } | null | undefined> | null | undefined;
9134
- actionDetails?: {
9135
- templateId?: string | undefined;
9136
- isImmediateCorrection?: boolean | undefined;
9137
- } | null | undefined;
9138
8824
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9139
8825
  } | {
9140
8826
  type: "REQUEST_CORRECTION";
@@ -9237,10 +8923,6 @@ export declare const EventDocument: z.ZodObject<{
9237
8923
  start: string;
9238
8924
  end: string;
9239
8925
  } | null | undefined> | null | undefined;
9240
- actionDetails?: {
9241
- templateId?: string | undefined;
9242
- isImmediateCorrection?: boolean | undefined;
9243
- } | null | undefined;
9244
8926
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9245
8927
  } | {
9246
8928
  type: "APPROVE_CORRECTION";
@@ -9344,15 +9026,15 @@ export declare const EventDocument: z.ZodObject<{
9344
9026
  start: string;
9345
9027
  end: string;
9346
9028
  } | null | undefined> | null | undefined;
9347
- actionDetails?: {
9348
- templateId?: string | undefined;
9349
- isImmediateCorrection?: boolean | undefined;
9350
- } | null | undefined;
9351
9029
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9352
9030
  } | {
9353
9031
  type: "REJECT_CORRECTION";
9354
9032
  id: string & z.BRAND<"UUID">;
9355
9033
  status: "Rejected" | "Requested" | "Accepted";
9034
+ reason: {
9035
+ message: string;
9036
+ isDuplicate?: boolean | undefined;
9037
+ };
9356
9038
  transactionId: string;
9357
9039
  createdByUserType: "system" | "user";
9358
9040
  createdAt: string;
@@ -9451,10 +9133,6 @@ export declare const EventDocument: z.ZodObject<{
9451
9133
  start: string;
9452
9134
  end: string;
9453
9135
  } | null | undefined> | null | undefined;
9454
- actionDetails?: {
9455
- templateId?: string | undefined;
9456
- isImmediateCorrection?: boolean | undefined;
9457
- } | null | undefined;
9458
9136
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9459
9137
  } | {
9460
9138
  type: "READ";
@@ -9557,10 +9235,6 @@ export declare const EventDocument: z.ZodObject<{
9557
9235
  start: string;
9558
9236
  end: string;
9559
9237
  } | null | undefined> | null | undefined;
9560
- actionDetails?: {
9561
- templateId?: string | undefined;
9562
- isImmediateCorrection?: boolean | undefined;
9563
- } | null | undefined;
9564
9238
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9565
9239
  } | {
9566
9240
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -9573,10 +9247,6 @@ export declare const EventDocument: z.ZodObject<{
9573
9247
  createdByRole: string;
9574
9248
  createdBySignature?: string | null | undefined;
9575
9249
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9576
- actionDetails?: {
9577
- templateId?: string | undefined;
9578
- isImmediateCorrection?: boolean | undefined;
9579
- } | null | undefined;
9580
9250
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9581
9251
  })[];
9582
9252
  trackingId: string;
@@ -9687,10 +9357,6 @@ export declare const EventDocument: z.ZodObject<{
9687
9357
  start: string;
9688
9358
  end: string;
9689
9359
  } | null | undefined> | null | undefined;
9690
- actionDetails?: {
9691
- templateId?: string | undefined;
9692
- isImmediateCorrection?: boolean | undefined;
9693
- } | null | undefined;
9694
9360
  originalActionId?: string | null | undefined;
9695
9361
  } | {
9696
9362
  type: "UNASSIGN";
@@ -9793,10 +9459,6 @@ export declare const EventDocument: z.ZodObject<{
9793
9459
  start: string;
9794
9460
  end: string;
9795
9461
  } | null | undefined> | null | undefined;
9796
- actionDetails?: {
9797
- templateId?: string | undefined;
9798
- isImmediateCorrection?: boolean | undefined;
9799
- } | null | undefined;
9800
9462
  originalActionId?: string | null | undefined;
9801
9463
  } | {
9802
9464
  type: "REGISTER";
@@ -9899,10 +9561,6 @@ export declare const EventDocument: z.ZodObject<{
9899
9561
  start: string;
9900
9562
  end: string;
9901
9563
  } | null | undefined> | null | undefined;
9902
- actionDetails?: {
9903
- templateId?: string | undefined;
9904
- isImmediateCorrection?: boolean | undefined;
9905
- } | null | undefined;
9906
9564
  originalActionId?: string | null | undefined;
9907
9565
  registrationNumber?: string | undefined;
9908
9566
  } | {
@@ -10006,10 +9664,6 @@ export declare const EventDocument: z.ZodObject<{
10006
9664
  start: string;
10007
9665
  end: string;
10008
9666
  } | null | undefined> | null | undefined;
10009
- actionDetails?: {
10010
- templateId?: string | undefined;
10011
- isImmediateCorrection?: boolean | undefined;
10012
- } | null | undefined;
10013
9667
  originalActionId?: string | null | undefined;
10014
9668
  } | {
10015
9669
  type: "VALIDATE";
@@ -10112,10 +9766,6 @@ export declare const EventDocument: z.ZodObject<{
10112
9766
  start: string;
10113
9767
  end: string;
10114
9768
  } | null | undefined> | null | undefined;
10115
- actionDetails?: {
10116
- templateId?: string | undefined;
10117
- isImmediateCorrection?: boolean | undefined;
10118
- } | null | undefined;
10119
9769
  originalActionId?: string | null | undefined;
10120
9770
  } | {
10121
9771
  type: "REJECT";
@@ -10222,10 +9872,6 @@ export declare const EventDocument: z.ZodObject<{
10222
9872
  start: string;
10223
9873
  end: string;
10224
9874
  } | null | undefined> | null | undefined;
10225
- actionDetails?: {
10226
- templateId?: string | undefined;
10227
- isImmediateCorrection?: boolean | undefined;
10228
- } | null | undefined;
10229
9875
  originalActionId?: string | null | undefined;
10230
9876
  } | {
10231
9877
  type: "MARKED_AS_DUPLICATE";
@@ -10328,10 +9974,6 @@ export declare const EventDocument: z.ZodObject<{
10328
9974
  start: string;
10329
9975
  end: string;
10330
9976
  } | null | undefined> | null | undefined;
10331
- actionDetails?: {
10332
- templateId?: string | undefined;
10333
- isImmediateCorrection?: boolean | undefined;
10334
- } | null | undefined;
10335
9977
  originalActionId?: string | null | undefined;
10336
9978
  } | {
10337
9979
  type: "ARCHIVE";
@@ -10438,10 +10080,6 @@ export declare const EventDocument: z.ZodObject<{
10438
10080
  start: string;
10439
10081
  end: string;
10440
10082
  } | null | undefined> | null | undefined;
10441
- actionDetails?: {
10442
- templateId?: string | undefined;
10443
- isImmediateCorrection?: boolean | undefined;
10444
- } | null | undefined;
10445
10083
  originalActionId?: string | null | undefined;
10446
10084
  } | {
10447
10085
  type: "CREATE";
@@ -10544,10 +10182,6 @@ export declare const EventDocument: z.ZodObject<{
10544
10182
  start: string;
10545
10183
  end: string;
10546
10184
  } | null | undefined> | null | undefined;
10547
- actionDetails?: {
10548
- templateId?: string | undefined;
10549
- isImmediateCorrection?: boolean | undefined;
10550
- } | null | undefined;
10551
10185
  originalActionId?: string | null | undefined;
10552
10186
  } | {
10553
10187
  type: "NOTIFY";
@@ -10650,10 +10284,6 @@ export declare const EventDocument: z.ZodObject<{
10650
10284
  start: string;
10651
10285
  end: string;
10652
10286
  } | null | undefined> | null | undefined;
10653
- actionDetails?: {
10654
- templateId?: string | undefined;
10655
- isImmediateCorrection?: boolean | undefined;
10656
- } | null | undefined;
10657
10287
  originalActionId?: string | null | undefined;
10658
10288
  } | {
10659
10289
  type: "PRINT_CERTIFICATE";
@@ -10756,10 +10386,6 @@ export declare const EventDocument: z.ZodObject<{
10756
10386
  start: string;
10757
10387
  end: string;
10758
10388
  } | null | undefined> | null | undefined;
10759
- actionDetails?: {
10760
- templateId?: string | undefined;
10761
- isImmediateCorrection?: boolean | undefined;
10762
- } | null | undefined;
10763
10389
  originalActionId?: string | null | undefined;
10764
10390
  } | {
10765
10391
  type: "REQUEST_CORRECTION";
@@ -10862,10 +10488,6 @@ export declare const EventDocument: z.ZodObject<{
10862
10488
  start: string;
10863
10489
  end: string;
10864
10490
  } | null | undefined> | null | undefined;
10865
- actionDetails?: {
10866
- templateId?: string | undefined;
10867
- isImmediateCorrection?: boolean | undefined;
10868
- } | null | undefined;
10869
10491
  originalActionId?: string | null | undefined;
10870
10492
  } | {
10871
10493
  type: "APPROVE_CORRECTION";
@@ -10969,15 +10591,15 @@ export declare const EventDocument: z.ZodObject<{
10969
10591
  start: string;
10970
10592
  end: string;
10971
10593
  } | null | undefined> | null | undefined;
10972
- actionDetails?: {
10973
- templateId?: string | undefined;
10974
- isImmediateCorrection?: boolean | undefined;
10975
- } | null | undefined;
10976
10594
  originalActionId?: string | null | undefined;
10977
10595
  } | {
10978
10596
  type: "REJECT_CORRECTION";
10979
10597
  id: string;
10980
10598
  status: "Rejected" | "Requested" | "Accepted";
10599
+ reason: {
10600
+ message: string;
10601
+ isDuplicate?: boolean | undefined;
10602
+ };
10981
10603
  transactionId: string;
10982
10604
  createdByUserType: "system" | "user";
10983
10605
  createdAt: string;
@@ -11076,10 +10698,6 @@ export declare const EventDocument: z.ZodObject<{
11076
10698
  start: string;
11077
10699
  end: string;
11078
10700
  } | null | undefined> | null | undefined;
11079
- actionDetails?: {
11080
- templateId?: string | undefined;
11081
- isImmediateCorrection?: boolean | undefined;
11082
- } | null | undefined;
11083
10701
  originalActionId?: string | null | undefined;
11084
10702
  } | {
11085
10703
  type: "READ";
@@ -11182,10 +10800,6 @@ export declare const EventDocument: z.ZodObject<{
11182
10800
  start: string;
11183
10801
  end: string;
11184
10802
  } | null | undefined> | null | undefined;
11185
- actionDetails?: {
11186
- templateId?: string | undefined;
11187
- isImmediateCorrection?: boolean | undefined;
11188
- } | null | undefined;
11189
10803
  originalActionId?: string | null | undefined;
11190
10804
  } | {
11191
10805
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -11198,10 +10812,6 @@ export declare const EventDocument: z.ZodObject<{
11198
10812
  createdByRole: string;
11199
10813
  createdBySignature?: string | null | undefined;
11200
10814
  createdAtLocation?: string | null | undefined;
11201
- actionDetails?: {
11202
- templateId?: string | undefined;
11203
- isImmediateCorrection?: boolean | undefined;
11204
- } | null | undefined;
11205
10815
  originalActionId?: string | null | undefined;
11206
10816
  })[];
11207
10817
  trackingId: string;