@opencrvs/toolkit 1.8.1-rc.5530ede → 1.8.1-rc.5c415ba

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,6 +283,16 @@ 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
+ }>>>;
286
296
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
287
297
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
288
298
  }, {
@@ -388,6 +398,10 @@ export declare const EventDocument: z.ZodObject<{
388
398
  start: string;
389
399
  end: string;
390
400
  } | null | undefined> | null | undefined;
401
+ actionDetails?: {
402
+ templateId?: string | undefined;
403
+ isImmediateCorrection?: boolean | undefined;
404
+ } | null | undefined;
391
405
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
392
406
  }, {
393
407
  type: "CREATE";
@@ -490,6 +504,10 @@ export declare const EventDocument: z.ZodObject<{
490
504
  start: string;
491
505
  end: string;
492
506
  } | null | undefined> | null | undefined;
507
+ actionDetails?: {
508
+ templateId?: string | undefined;
509
+ isImmediateCorrection?: boolean | undefined;
510
+ } | null | undefined;
493
511
  originalActionId?: string | null | undefined;
494
512
  }>, z.ZodObject<z.objectUtil.extendShape<{
495
513
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -770,6 +788,16 @@ export declare const EventDocument: z.ZodObject<{
770
788
  surname?: string | null | undefined;
771
789
  middlename?: string | null | undefined;
772
790
  }>, 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
+ }>>>;
773
801
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
774
802
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
775
803
  }, {
@@ -875,6 +903,10 @@ export declare const EventDocument: z.ZodObject<{
875
903
  start: string;
876
904
  end: string;
877
905
  } | null | undefined> | null | undefined;
906
+ actionDetails?: {
907
+ templateId?: string | undefined;
908
+ isImmediateCorrection?: boolean | undefined;
909
+ } | null | undefined;
878
910
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
879
911
  }, {
880
912
  type: "VALIDATE";
@@ -977,6 +1009,10 @@ export declare const EventDocument: z.ZodObject<{
977
1009
  start: string;
978
1010
  end: string;
979
1011
  } | null | undefined> | null | undefined;
1012
+ actionDetails?: {
1013
+ templateId?: string | undefined;
1014
+ isImmediateCorrection?: boolean | undefined;
1015
+ } | null | undefined;
980
1016
  originalActionId?: string | null | undefined;
981
1017
  }>, z.ZodObject<z.objectUtil.extendShape<{
982
1018
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -1257,6 +1293,16 @@ export declare const EventDocument: z.ZodObject<{
1257
1293
  surname?: string | null | undefined;
1258
1294
  middlename?: string | null | undefined;
1259
1295
  }>, 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
+ }>>>;
1260
1306
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1261
1307
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1262
1308
  }, {
@@ -1376,6 +1422,10 @@ export declare const EventDocument: z.ZodObject<{
1376
1422
  start: string;
1377
1423
  end: string;
1378
1424
  } | null | undefined> | null | undefined;
1425
+ actionDetails?: {
1426
+ templateId?: string | undefined;
1427
+ isImmediateCorrection?: boolean | undefined;
1428
+ } | null | undefined;
1379
1429
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1380
1430
  }, {
1381
1431
  type: "REJECT";
@@ -1482,6 +1532,10 @@ export declare const EventDocument: z.ZodObject<{
1482
1532
  start: string;
1483
1533
  end: string;
1484
1534
  } | null | undefined> | null | undefined;
1535
+ actionDetails?: {
1536
+ templateId?: string | undefined;
1537
+ isImmediateCorrection?: boolean | undefined;
1538
+ } | null | undefined;
1485
1539
  originalActionId?: string | null | undefined;
1486
1540
  }>, z.ZodObject<z.objectUtil.extendShape<{
1487
1541
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -1762,6 +1816,16 @@ export declare const EventDocument: z.ZodObject<{
1762
1816
  surname?: string | null | undefined;
1763
1817
  middlename?: string | null | undefined;
1764
1818
  }>, 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
+ }>>>;
1765
1829
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1766
1830
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1767
1831
  }, {
@@ -1867,6 +1931,10 @@ export declare const EventDocument: z.ZodObject<{
1867
1931
  start: string;
1868
1932
  end: string;
1869
1933
  } | null | undefined> | null | undefined;
1934
+ actionDetails?: {
1935
+ templateId?: string | undefined;
1936
+ isImmediateCorrection?: boolean | undefined;
1937
+ } | null | undefined;
1870
1938
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1871
1939
  }, {
1872
1940
  type: "MARKED_AS_DUPLICATE";
@@ -1969,6 +2037,10 @@ export declare const EventDocument: z.ZodObject<{
1969
2037
  start: string;
1970
2038
  end: string;
1971
2039
  } | null | undefined> | null | undefined;
2040
+ actionDetails?: {
2041
+ templateId?: string | undefined;
2042
+ isImmediateCorrection?: boolean | undefined;
2043
+ } | null | undefined;
1972
2044
  originalActionId?: string | null | undefined;
1973
2045
  }>, z.ZodObject<z.objectUtil.extendShape<{
1974
2046
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -2249,6 +2321,16 @@ export declare const EventDocument: z.ZodObject<{
2249
2321
  surname?: string | null | undefined;
2250
2322
  middlename?: string | null | undefined;
2251
2323
  }>, 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
+ }>>>;
2252
2334
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2253
2335
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2254
2336
  }, {
@@ -2368,6 +2450,10 @@ export declare const EventDocument: z.ZodObject<{
2368
2450
  start: string;
2369
2451
  end: string;
2370
2452
  } | null | undefined> | null | undefined;
2453
+ actionDetails?: {
2454
+ templateId?: string | undefined;
2455
+ isImmediateCorrection?: boolean | undefined;
2456
+ } | null | undefined;
2371
2457
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2372
2458
  }, {
2373
2459
  type: "ARCHIVE";
@@ -2474,6 +2560,10 @@ export declare const EventDocument: z.ZodObject<{
2474
2560
  start: string;
2475
2561
  end: string;
2476
2562
  } | null | undefined> | null | undefined;
2563
+ actionDetails?: {
2564
+ templateId?: string | undefined;
2565
+ isImmediateCorrection?: boolean | undefined;
2566
+ } | null | undefined;
2477
2567
  originalActionId?: string | null | undefined;
2478
2568
  }>, z.ZodObject<z.objectUtil.extendShape<{
2479
2569
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -2754,6 +2844,16 @@ export declare const EventDocument: z.ZodObject<{
2754
2844
  surname?: string | null | undefined;
2755
2845
  middlename?: string | null | undefined;
2756
2846
  }>, 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
+ }>>>;
2757
2857
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2758
2858
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2759
2859
  }, {
@@ -2859,6 +2959,10 @@ export declare const EventDocument: z.ZodObject<{
2859
2959
  start: string;
2860
2960
  end: string;
2861
2961
  } | null | undefined> | null | undefined;
2962
+ actionDetails?: {
2963
+ templateId?: string | undefined;
2964
+ isImmediateCorrection?: boolean | undefined;
2965
+ } | null | undefined;
2862
2966
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2863
2967
  }, {
2864
2968
  type: "NOTIFY";
@@ -2961,6 +3065,10 @@ export declare const EventDocument: z.ZodObject<{
2961
3065
  start: string;
2962
3066
  end: string;
2963
3067
  } | null | undefined> | null | undefined;
3068
+ actionDetails?: {
3069
+ templateId?: string | undefined;
3070
+ isImmediateCorrection?: boolean | undefined;
3071
+ } | null | undefined;
2964
3072
  originalActionId?: string | null | undefined;
2965
3073
  }>, z.ZodObject<z.objectUtil.extendShape<{
2966
3074
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -3241,6 +3349,16 @@ export declare const EventDocument: z.ZodObject<{
3241
3349
  surname?: string | null | undefined;
3242
3350
  middlename?: string | null | undefined;
3243
3351
  }>, 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
+ }>>>;
3244
3362
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3245
3363
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3246
3364
  }, {
@@ -3347,6 +3465,10 @@ export declare const EventDocument: z.ZodObject<{
3347
3465
  start: string;
3348
3466
  end: string;
3349
3467
  } | null | undefined> | null | undefined;
3468
+ actionDetails?: {
3469
+ templateId?: string | undefined;
3470
+ isImmediateCorrection?: boolean | undefined;
3471
+ } | null | undefined;
3350
3472
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3351
3473
  registrationNumber?: string | undefined;
3352
3474
  }, {
@@ -3450,6 +3572,10 @@ export declare const EventDocument: z.ZodObject<{
3450
3572
  start: string;
3451
3573
  end: string;
3452
3574
  } | null | undefined> | null | undefined;
3575
+ actionDetails?: {
3576
+ templateId?: string | undefined;
3577
+ isImmediateCorrection?: boolean | undefined;
3578
+ } | null | undefined;
3453
3579
  originalActionId?: string | null | undefined;
3454
3580
  registrationNumber?: string | undefined;
3455
3581
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -3731,6 +3857,16 @@ export declare const EventDocument: z.ZodObject<{
3731
3857
  surname?: string | null | undefined;
3732
3858
  middlename?: string | null | undefined;
3733
3859
  }>, 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
+ }>>>;
3734
3870
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3735
3871
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3736
3872
  }, {
@@ -3836,6 +3972,10 @@ export declare const EventDocument: z.ZodObject<{
3836
3972
  start: string;
3837
3973
  end: string;
3838
3974
  } | null | undefined> | null | undefined;
3975
+ actionDetails?: {
3976
+ templateId?: string | undefined;
3977
+ isImmediateCorrection?: boolean | undefined;
3978
+ } | null | undefined;
3839
3979
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3840
3980
  }, {
3841
3981
  type: "DECLARE";
@@ -3938,6 +4078,10 @@ export declare const EventDocument: z.ZodObject<{
3938
4078
  start: string;
3939
4079
  end: string;
3940
4080
  } | null | undefined> | null | undefined;
4081
+ actionDetails?: {
4082
+ templateId?: string | undefined;
4083
+ isImmediateCorrection?: boolean | undefined;
4084
+ } | null | undefined;
3941
4085
  originalActionId?: string | null | undefined;
3942
4086
  }>, z.ZodObject<z.objectUtil.extendShape<{
3943
4087
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -4218,6 +4362,16 @@ export declare const EventDocument: z.ZodObject<{
4218
4362
  surname?: string | null | undefined;
4219
4363
  middlename?: string | null | undefined;
4220
4364
  }>, 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
+ }>>>;
4221
4375
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4222
4376
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4223
4377
  }, {
@@ -4325,6 +4479,10 @@ export declare const EventDocument: z.ZodObject<{
4325
4479
  start: string;
4326
4480
  end: string;
4327
4481
  } | null | undefined> | null | undefined;
4482
+ actionDetails?: {
4483
+ templateId?: string | undefined;
4484
+ isImmediateCorrection?: boolean | undefined;
4485
+ } | null | undefined;
4328
4486
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4329
4487
  }, {
4330
4488
  type: "ASSIGN";
@@ -4428,6 +4586,10 @@ export declare const EventDocument: z.ZodObject<{
4428
4586
  start: string;
4429
4587
  end: string;
4430
4588
  } | null | undefined> | null | undefined;
4589
+ actionDetails?: {
4590
+ templateId?: string | undefined;
4591
+ isImmediateCorrection?: boolean | undefined;
4592
+ } | null | undefined;
4431
4593
  originalActionId?: string | null | undefined;
4432
4594
  }>, z.ZodObject<z.objectUtil.extendShape<{
4433
4595
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -4708,6 +4870,16 @@ export declare const EventDocument: z.ZodObject<{
4708
4870
  surname?: string | null | undefined;
4709
4871
  middlename?: string | null | undefined;
4710
4872
  }>, 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
+ }>>>;
4711
4883
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4712
4884
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4713
4885
  }, {
@@ -4813,6 +4985,10 @@ export declare const EventDocument: z.ZodObject<{
4813
4985
  start: string;
4814
4986
  end: string;
4815
4987
  } | null | undefined> | null | undefined;
4988
+ actionDetails?: {
4989
+ templateId?: string | undefined;
4990
+ isImmediateCorrection?: boolean | undefined;
4991
+ } | null | undefined;
4816
4992
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4817
4993
  }, {
4818
4994
  type: "REQUEST_CORRECTION";
@@ -4915,6 +5091,10 @@ export declare const EventDocument: z.ZodObject<{
4915
5091
  start: string;
4916
5092
  end: string;
4917
5093
  } | null | undefined> | null | undefined;
5094
+ actionDetails?: {
5095
+ templateId?: string | undefined;
5096
+ isImmediateCorrection?: boolean | undefined;
5097
+ } | null | undefined;
4918
5098
  originalActionId?: string | null | undefined;
4919
5099
  }>, z.ZodObject<z.objectUtil.extendShape<{
4920
5100
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -5195,6 +5375,16 @@ export declare const EventDocument: z.ZodObject<{
5195
5375
  surname?: string | null | undefined;
5196
5376
  middlename?: string | null | undefined;
5197
5377
  }>, 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
+ }>>>;
5198
5388
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5199
5389
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5200
5390
  }, {
@@ -5302,6 +5492,10 @@ export declare const EventDocument: z.ZodObject<{
5302
5492
  start: string;
5303
5493
  end: string;
5304
5494
  } | null | undefined> | null | undefined;
5495
+ actionDetails?: {
5496
+ templateId?: string | undefined;
5497
+ isImmediateCorrection?: boolean | undefined;
5498
+ } | null | undefined;
5305
5499
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5306
5500
  }, {
5307
5501
  type: "APPROVE_CORRECTION";
@@ -5405,6 +5599,10 @@ export declare const EventDocument: z.ZodObject<{
5405
5599
  start: string;
5406
5600
  end: string;
5407
5601
  } | null | undefined> | null | undefined;
5602
+ actionDetails?: {
5603
+ templateId?: string | undefined;
5604
+ isImmediateCorrection?: boolean | undefined;
5605
+ } | null | undefined;
5408
5606
  originalActionId?: string | null | undefined;
5409
5607
  }>, z.ZodObject<z.objectUtil.extendShape<{
5410
5608
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -5685,15 +5883,39 @@ export declare const EventDocument: z.ZodObject<{
5685
5883
  surname?: string | null | undefined;
5686
5884
  middlename?: string | null | undefined;
5687
5885
  }>, 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
+ }>>>;
5688
5896
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5689
5897
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5690
5898
  }, {
5691
5899
  type: z.ZodLiteral<"REJECT_CORRECTION">;
5692
5900
  requestId: z.ZodString;
5901
+ reason: z.ZodObject<{
5902
+ message: z.ZodString;
5903
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
5904
+ }, "strip", z.ZodTypeAny, {
5905
+ message: string;
5906
+ isDuplicate?: boolean | undefined;
5907
+ }, {
5908
+ message: string;
5909
+ isDuplicate?: boolean | undefined;
5910
+ }>;
5693
5911
  }>, "strip", z.ZodTypeAny, {
5694
5912
  type: "REJECT_CORRECTION";
5695
5913
  id: string & z.BRAND<"UUID">;
5696
5914
  status: "Rejected" | "Requested" | "Accepted";
5915
+ reason: {
5916
+ message: string;
5917
+ isDuplicate?: boolean | undefined;
5918
+ };
5697
5919
  transactionId: string;
5698
5920
  createdByUserType: "system" | "user";
5699
5921
  createdAt: string;
@@ -5792,11 +6014,19 @@ export declare const EventDocument: z.ZodObject<{
5792
6014
  start: string;
5793
6015
  end: string;
5794
6016
  } | null | undefined> | null | undefined;
6017
+ actionDetails?: {
6018
+ templateId?: string | undefined;
6019
+ isImmediateCorrection?: boolean | undefined;
6020
+ } | null | undefined;
5795
6021
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5796
6022
  }, {
5797
6023
  type: "REJECT_CORRECTION";
5798
6024
  id: string;
5799
6025
  status: "Rejected" | "Requested" | "Accepted";
6026
+ reason: {
6027
+ message: string;
6028
+ isDuplicate?: boolean | undefined;
6029
+ };
5800
6030
  transactionId: string;
5801
6031
  createdByUserType: "system" | "user";
5802
6032
  createdAt: string;
@@ -5895,6 +6125,10 @@ export declare const EventDocument: z.ZodObject<{
5895
6125
  start: string;
5896
6126
  end: string;
5897
6127
  } | null | undefined> | null | undefined;
6128
+ actionDetails?: {
6129
+ templateId?: string | undefined;
6130
+ isImmediateCorrection?: boolean | undefined;
6131
+ } | null | undefined;
5898
6132
  originalActionId?: string | null | undefined;
5899
6133
  }>, z.ZodObject<z.objectUtil.extendShape<{
5900
6134
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6175,6 +6409,16 @@ export declare const EventDocument: z.ZodObject<{
6175
6409
  surname?: string | null | undefined;
6176
6410
  middlename?: string | null | undefined;
6177
6411
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6412
+ actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6413
+ templateId: z.ZodOptional<z.ZodString>;
6414
+ isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6415
+ }, "strip", z.ZodTypeAny, {
6416
+ templateId?: string | undefined;
6417
+ isImmediateCorrection?: boolean | undefined;
6418
+ }, {
6419
+ templateId?: string | undefined;
6420
+ isImmediateCorrection?: boolean | undefined;
6421
+ }>>>;
6178
6422
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6179
6423
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6180
6424
  }, {
@@ -6280,6 +6524,10 @@ export declare const EventDocument: z.ZodObject<{
6280
6524
  start: string;
6281
6525
  end: string;
6282
6526
  } | null | undefined> | null | undefined;
6527
+ actionDetails?: {
6528
+ templateId?: string | undefined;
6529
+ isImmediateCorrection?: boolean | undefined;
6530
+ } | null | undefined;
6283
6531
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6284
6532
  }, {
6285
6533
  type: "UNASSIGN";
@@ -6382,6 +6630,10 @@ export declare const EventDocument: z.ZodObject<{
6382
6630
  start: string;
6383
6631
  end: string;
6384
6632
  } | null | undefined> | null | undefined;
6633
+ actionDetails?: {
6634
+ templateId?: string | undefined;
6635
+ isImmediateCorrection?: boolean | undefined;
6636
+ } | null | undefined;
6385
6637
  originalActionId?: string | null | undefined;
6386
6638
  }>, z.ZodObject<z.objectUtil.extendShape<{
6387
6639
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6662,6 +6914,16 @@ export declare const EventDocument: z.ZodObject<{
6662
6914
  surname?: string | null | undefined;
6663
6915
  middlename?: string | null | undefined;
6664
6916
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6917
+ actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6918
+ templateId: z.ZodOptional<z.ZodString>;
6919
+ isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6920
+ }, "strip", z.ZodTypeAny, {
6921
+ templateId?: string | undefined;
6922
+ isImmediateCorrection?: boolean | undefined;
6923
+ }, {
6924
+ templateId?: string | undefined;
6925
+ isImmediateCorrection?: boolean | undefined;
6926
+ }>>>;
6665
6927
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6666
6928
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6667
6929
  }, {
@@ -6767,6 +7029,10 @@ export declare const EventDocument: z.ZodObject<{
6767
7029
  start: string;
6768
7030
  end: string;
6769
7031
  } | null | undefined> | null | undefined;
7032
+ actionDetails?: {
7033
+ templateId?: string | undefined;
7034
+ isImmediateCorrection?: boolean | undefined;
7035
+ } | null | undefined;
6770
7036
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6771
7037
  }, {
6772
7038
  type: "PRINT_CERTIFICATE";
@@ -6869,6 +7135,10 @@ export declare const EventDocument: z.ZodObject<{
6869
7135
  start: string;
6870
7136
  end: string;
6871
7137
  } | null | undefined> | null | undefined;
7138
+ actionDetails?: {
7139
+ templateId?: string | undefined;
7140
+ isImmediateCorrection?: boolean | undefined;
7141
+ } | null | undefined;
6872
7142
  originalActionId?: string | null | undefined;
6873
7143
  }>, z.ZodObject<z.objectUtil.extendShape<{
6874
7144
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7149,6 +7419,16 @@ export declare const EventDocument: z.ZodObject<{
7149
7419
  surname?: string | null | undefined;
7150
7420
  middlename?: string | null | undefined;
7151
7421
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7422
+ actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7423
+ templateId: z.ZodOptional<z.ZodString>;
7424
+ isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7425
+ }, "strip", z.ZodTypeAny, {
7426
+ templateId?: string | undefined;
7427
+ isImmediateCorrection?: boolean | undefined;
7428
+ }, {
7429
+ templateId?: string | undefined;
7430
+ isImmediateCorrection?: boolean | undefined;
7431
+ }>>>;
7152
7432
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7153
7433
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7154
7434
  }, {
@@ -7254,6 +7534,10 @@ export declare const EventDocument: z.ZodObject<{
7254
7534
  start: string;
7255
7535
  end: string;
7256
7536
  } | null | undefined> | null | undefined;
7537
+ actionDetails?: {
7538
+ templateId?: string | undefined;
7539
+ isImmediateCorrection?: boolean | undefined;
7540
+ } | null | undefined;
7257
7541
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7258
7542
  }, {
7259
7543
  type: "READ";
@@ -7356,6 +7640,10 @@ export declare const EventDocument: z.ZodObject<{
7356
7640
  start: string;
7357
7641
  end: string;
7358
7642
  } | null | undefined> | null | undefined;
7643
+ actionDetails?: {
7644
+ templateId?: string | undefined;
7645
+ isImmediateCorrection?: boolean | undefined;
7646
+ } | null | undefined;
7359
7647
  originalActionId?: string | null | undefined;
7360
7648
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
7361
7649
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7636,6 +7924,16 @@ export declare const EventDocument: z.ZodObject<{
7636
7924
  surname?: string | null | undefined;
7637
7925
  middlename?: string | null | undefined;
7638
7926
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7927
+ actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7928
+ templateId: z.ZodOptional<z.ZodString>;
7929
+ isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
7930
+ }, "strip", z.ZodTypeAny, {
7931
+ templateId?: string | undefined;
7932
+ isImmediateCorrection?: boolean | undefined;
7933
+ }, {
7934
+ templateId?: string | undefined;
7935
+ isImmediateCorrection?: boolean | undefined;
7936
+ }>>>;
7639
7937
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7640
7938
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7641
7939
  }, "declaration" | "annotation">, {
@@ -7652,6 +7950,10 @@ export declare const EventDocument: z.ZodObject<{
7652
7950
  createdByRole: string;
7653
7951
  createdBySignature?: string | null | undefined;
7654
7952
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7953
+ actionDetails?: {
7954
+ templateId?: string | undefined;
7955
+ isImmediateCorrection?: boolean | undefined;
7956
+ } | null | undefined;
7655
7957
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7656
7958
  }, {
7657
7959
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -7664,6 +7966,10 @@ export declare const EventDocument: z.ZodObject<{
7664
7966
  createdByRole: string;
7665
7967
  createdBySignature?: string | null | undefined;
7666
7968
  createdAtLocation?: string | null | undefined;
7969
+ actionDetails?: {
7970
+ templateId?: string | undefined;
7971
+ isImmediateCorrection?: boolean | undefined;
7972
+ } | null | undefined;
7667
7973
  originalActionId?: string | null | undefined;
7668
7974
  }>]>, "many">;
7669
7975
  trackingId: z.ZodString;
@@ -7774,6 +8080,10 @@ export declare const EventDocument: z.ZodObject<{
7774
8080
  start: string;
7775
8081
  end: string;
7776
8082
  } | null | undefined> | null | undefined;
8083
+ actionDetails?: {
8084
+ templateId?: string | undefined;
8085
+ isImmediateCorrection?: boolean | undefined;
8086
+ } | null | undefined;
7777
8087
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7778
8088
  } | {
7779
8089
  type: "UNASSIGN";
@@ -7876,6 +8186,10 @@ export declare const EventDocument: z.ZodObject<{
7876
8186
  start: string;
7877
8187
  end: string;
7878
8188
  } | null | undefined> | null | undefined;
8189
+ actionDetails?: {
8190
+ templateId?: string | undefined;
8191
+ isImmediateCorrection?: boolean | undefined;
8192
+ } | null | undefined;
7879
8193
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7880
8194
  } | {
7881
8195
  type: "REGISTER";
@@ -7978,6 +8292,10 @@ export declare const EventDocument: z.ZodObject<{
7978
8292
  start: string;
7979
8293
  end: string;
7980
8294
  } | null | undefined> | null | undefined;
8295
+ actionDetails?: {
8296
+ templateId?: string | undefined;
8297
+ isImmediateCorrection?: boolean | undefined;
8298
+ } | null | undefined;
7981
8299
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7982
8300
  registrationNumber?: string | undefined;
7983
8301
  } | {
@@ -8081,6 +8399,10 @@ export declare const EventDocument: z.ZodObject<{
8081
8399
  start: string;
8082
8400
  end: string;
8083
8401
  } | null | undefined> | null | undefined;
8402
+ actionDetails?: {
8403
+ templateId?: string | undefined;
8404
+ isImmediateCorrection?: boolean | undefined;
8405
+ } | null | undefined;
8084
8406
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8085
8407
  } | {
8086
8408
  type: "VALIDATE";
@@ -8183,6 +8505,10 @@ export declare const EventDocument: z.ZodObject<{
8183
8505
  start: string;
8184
8506
  end: string;
8185
8507
  } | null | undefined> | null | undefined;
8508
+ actionDetails?: {
8509
+ templateId?: string | undefined;
8510
+ isImmediateCorrection?: boolean | undefined;
8511
+ } | null | undefined;
8186
8512
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8187
8513
  } | {
8188
8514
  type: "REJECT";
@@ -8289,6 +8615,10 @@ export declare const EventDocument: z.ZodObject<{
8289
8615
  start: string;
8290
8616
  end: string;
8291
8617
  } | null | undefined> | null | undefined;
8618
+ actionDetails?: {
8619
+ templateId?: string | undefined;
8620
+ isImmediateCorrection?: boolean | undefined;
8621
+ } | null | undefined;
8292
8622
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8293
8623
  } | {
8294
8624
  type: "MARKED_AS_DUPLICATE";
@@ -8391,6 +8721,10 @@ export declare const EventDocument: z.ZodObject<{
8391
8721
  start: string;
8392
8722
  end: string;
8393
8723
  } | null | undefined> | null | undefined;
8724
+ actionDetails?: {
8725
+ templateId?: string | undefined;
8726
+ isImmediateCorrection?: boolean | undefined;
8727
+ } | null | undefined;
8394
8728
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8395
8729
  } | {
8396
8730
  type: "ARCHIVE";
@@ -8497,6 +8831,10 @@ export declare const EventDocument: z.ZodObject<{
8497
8831
  start: string;
8498
8832
  end: string;
8499
8833
  } | null | undefined> | null | undefined;
8834
+ actionDetails?: {
8835
+ templateId?: string | undefined;
8836
+ isImmediateCorrection?: boolean | undefined;
8837
+ } | null | undefined;
8500
8838
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8501
8839
  } | {
8502
8840
  type: "CREATE";
@@ -8599,6 +8937,10 @@ export declare const EventDocument: z.ZodObject<{
8599
8937
  start: string;
8600
8938
  end: string;
8601
8939
  } | null | undefined> | null | undefined;
8940
+ actionDetails?: {
8941
+ templateId?: string | undefined;
8942
+ isImmediateCorrection?: boolean | undefined;
8943
+ } | null | undefined;
8602
8944
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8603
8945
  } | {
8604
8946
  type: "NOTIFY";
@@ -8701,6 +9043,10 @@ export declare const EventDocument: z.ZodObject<{
8701
9043
  start: string;
8702
9044
  end: string;
8703
9045
  } | null | undefined> | null | undefined;
9046
+ actionDetails?: {
9047
+ templateId?: string | undefined;
9048
+ isImmediateCorrection?: boolean | undefined;
9049
+ } | null | undefined;
8704
9050
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8705
9051
  } | {
8706
9052
  type: "PRINT_CERTIFICATE";
@@ -8803,6 +9149,10 @@ export declare const EventDocument: z.ZodObject<{
8803
9149
  start: string;
8804
9150
  end: string;
8805
9151
  } | null | undefined> | null | undefined;
9152
+ actionDetails?: {
9153
+ templateId?: string | undefined;
9154
+ isImmediateCorrection?: boolean | undefined;
9155
+ } | null | undefined;
8806
9156
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8807
9157
  } | {
8808
9158
  type: "REQUEST_CORRECTION";
@@ -8905,6 +9255,10 @@ export declare const EventDocument: z.ZodObject<{
8905
9255
  start: string;
8906
9256
  end: string;
8907
9257
  } | null | undefined> | null | undefined;
9258
+ actionDetails?: {
9259
+ templateId?: string | undefined;
9260
+ isImmediateCorrection?: boolean | undefined;
9261
+ } | null | undefined;
8908
9262
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8909
9263
  } | {
8910
9264
  type: "APPROVE_CORRECTION";
@@ -9008,11 +9362,19 @@ export declare const EventDocument: z.ZodObject<{
9008
9362
  start: string;
9009
9363
  end: string;
9010
9364
  } | null | undefined> | null | undefined;
9365
+ actionDetails?: {
9366
+ templateId?: string | undefined;
9367
+ isImmediateCorrection?: boolean | undefined;
9368
+ } | null | undefined;
9011
9369
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9012
9370
  } | {
9013
9371
  type: "REJECT_CORRECTION";
9014
9372
  id: string & z.BRAND<"UUID">;
9015
9373
  status: "Rejected" | "Requested" | "Accepted";
9374
+ reason: {
9375
+ message: string;
9376
+ isDuplicate?: boolean | undefined;
9377
+ };
9016
9378
  transactionId: string;
9017
9379
  createdByUserType: "system" | "user";
9018
9380
  createdAt: string;
@@ -9111,6 +9473,10 @@ export declare const EventDocument: z.ZodObject<{
9111
9473
  start: string;
9112
9474
  end: string;
9113
9475
  } | null | undefined> | null | undefined;
9476
+ actionDetails?: {
9477
+ templateId?: string | undefined;
9478
+ isImmediateCorrection?: boolean | undefined;
9479
+ } | null | undefined;
9114
9480
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9115
9481
  } | {
9116
9482
  type: "READ";
@@ -9213,6 +9579,10 @@ export declare const EventDocument: z.ZodObject<{
9213
9579
  start: string;
9214
9580
  end: string;
9215
9581
  } | null | undefined> | null | undefined;
9582
+ actionDetails?: {
9583
+ templateId?: string | undefined;
9584
+ isImmediateCorrection?: boolean | undefined;
9585
+ } | null | undefined;
9216
9586
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9217
9587
  } | {
9218
9588
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -9225,6 +9595,10 @@ export declare const EventDocument: z.ZodObject<{
9225
9595
  createdByRole: string;
9226
9596
  createdBySignature?: string | null | undefined;
9227
9597
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9598
+ actionDetails?: {
9599
+ templateId?: string | undefined;
9600
+ isImmediateCorrection?: boolean | undefined;
9601
+ } | null | undefined;
9228
9602
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9229
9603
  })[];
9230
9604
  trackingId: string;
@@ -9335,6 +9709,10 @@ export declare const EventDocument: z.ZodObject<{
9335
9709
  start: string;
9336
9710
  end: string;
9337
9711
  } | null | undefined> | null | undefined;
9712
+ actionDetails?: {
9713
+ templateId?: string | undefined;
9714
+ isImmediateCorrection?: boolean | undefined;
9715
+ } | null | undefined;
9338
9716
  originalActionId?: string | null | undefined;
9339
9717
  } | {
9340
9718
  type: "UNASSIGN";
@@ -9437,6 +9815,10 @@ export declare const EventDocument: z.ZodObject<{
9437
9815
  start: string;
9438
9816
  end: string;
9439
9817
  } | null | undefined> | null | undefined;
9818
+ actionDetails?: {
9819
+ templateId?: string | undefined;
9820
+ isImmediateCorrection?: boolean | undefined;
9821
+ } | null | undefined;
9440
9822
  originalActionId?: string | null | undefined;
9441
9823
  } | {
9442
9824
  type: "REGISTER";
@@ -9539,6 +9921,10 @@ export declare const EventDocument: z.ZodObject<{
9539
9921
  start: string;
9540
9922
  end: string;
9541
9923
  } | null | undefined> | null | undefined;
9924
+ actionDetails?: {
9925
+ templateId?: string | undefined;
9926
+ isImmediateCorrection?: boolean | undefined;
9927
+ } | null | undefined;
9542
9928
  originalActionId?: string | null | undefined;
9543
9929
  registrationNumber?: string | undefined;
9544
9930
  } | {
@@ -9642,6 +10028,10 @@ export declare const EventDocument: z.ZodObject<{
9642
10028
  start: string;
9643
10029
  end: string;
9644
10030
  } | null | undefined> | null | undefined;
10031
+ actionDetails?: {
10032
+ templateId?: string | undefined;
10033
+ isImmediateCorrection?: boolean | undefined;
10034
+ } | null | undefined;
9645
10035
  originalActionId?: string | null | undefined;
9646
10036
  } | {
9647
10037
  type: "VALIDATE";
@@ -9744,6 +10134,10 @@ export declare const EventDocument: z.ZodObject<{
9744
10134
  start: string;
9745
10135
  end: string;
9746
10136
  } | null | undefined> | null | undefined;
10137
+ actionDetails?: {
10138
+ templateId?: string | undefined;
10139
+ isImmediateCorrection?: boolean | undefined;
10140
+ } | null | undefined;
9747
10141
  originalActionId?: string | null | undefined;
9748
10142
  } | {
9749
10143
  type: "REJECT";
@@ -9850,6 +10244,10 @@ export declare const EventDocument: z.ZodObject<{
9850
10244
  start: string;
9851
10245
  end: string;
9852
10246
  } | null | undefined> | null | undefined;
10247
+ actionDetails?: {
10248
+ templateId?: string | undefined;
10249
+ isImmediateCorrection?: boolean | undefined;
10250
+ } | null | undefined;
9853
10251
  originalActionId?: string | null | undefined;
9854
10252
  } | {
9855
10253
  type: "MARKED_AS_DUPLICATE";
@@ -9952,6 +10350,10 @@ export declare const EventDocument: z.ZodObject<{
9952
10350
  start: string;
9953
10351
  end: string;
9954
10352
  } | null | undefined> | null | undefined;
10353
+ actionDetails?: {
10354
+ templateId?: string | undefined;
10355
+ isImmediateCorrection?: boolean | undefined;
10356
+ } | null | undefined;
9955
10357
  originalActionId?: string | null | undefined;
9956
10358
  } | {
9957
10359
  type: "ARCHIVE";
@@ -10058,6 +10460,10 @@ export declare const EventDocument: z.ZodObject<{
10058
10460
  start: string;
10059
10461
  end: string;
10060
10462
  } | null | undefined> | null | undefined;
10463
+ actionDetails?: {
10464
+ templateId?: string | undefined;
10465
+ isImmediateCorrection?: boolean | undefined;
10466
+ } | null | undefined;
10061
10467
  originalActionId?: string | null | undefined;
10062
10468
  } | {
10063
10469
  type: "CREATE";
@@ -10160,6 +10566,10 @@ export declare const EventDocument: z.ZodObject<{
10160
10566
  start: string;
10161
10567
  end: string;
10162
10568
  } | null | undefined> | null | undefined;
10569
+ actionDetails?: {
10570
+ templateId?: string | undefined;
10571
+ isImmediateCorrection?: boolean | undefined;
10572
+ } | null | undefined;
10163
10573
  originalActionId?: string | null | undefined;
10164
10574
  } | {
10165
10575
  type: "NOTIFY";
@@ -10262,6 +10672,10 @@ export declare const EventDocument: z.ZodObject<{
10262
10672
  start: string;
10263
10673
  end: string;
10264
10674
  } | null | undefined> | null | undefined;
10675
+ actionDetails?: {
10676
+ templateId?: string | undefined;
10677
+ isImmediateCorrection?: boolean | undefined;
10678
+ } | null | undefined;
10265
10679
  originalActionId?: string | null | undefined;
10266
10680
  } | {
10267
10681
  type: "PRINT_CERTIFICATE";
@@ -10364,6 +10778,10 @@ export declare const EventDocument: z.ZodObject<{
10364
10778
  start: string;
10365
10779
  end: string;
10366
10780
  } | null | undefined> | null | undefined;
10781
+ actionDetails?: {
10782
+ templateId?: string | undefined;
10783
+ isImmediateCorrection?: boolean | undefined;
10784
+ } | null | undefined;
10367
10785
  originalActionId?: string | null | undefined;
10368
10786
  } | {
10369
10787
  type: "REQUEST_CORRECTION";
@@ -10466,6 +10884,10 @@ export declare const EventDocument: z.ZodObject<{
10466
10884
  start: string;
10467
10885
  end: string;
10468
10886
  } | null | undefined> | null | undefined;
10887
+ actionDetails?: {
10888
+ templateId?: string | undefined;
10889
+ isImmediateCorrection?: boolean | undefined;
10890
+ } | null | undefined;
10469
10891
  originalActionId?: string | null | undefined;
10470
10892
  } | {
10471
10893
  type: "APPROVE_CORRECTION";
@@ -10569,11 +10991,19 @@ export declare const EventDocument: z.ZodObject<{
10569
10991
  start: string;
10570
10992
  end: string;
10571
10993
  } | null | undefined> | null | undefined;
10994
+ actionDetails?: {
10995
+ templateId?: string | undefined;
10996
+ isImmediateCorrection?: boolean | undefined;
10997
+ } | null | undefined;
10572
10998
  originalActionId?: string | null | undefined;
10573
10999
  } | {
10574
11000
  type: "REJECT_CORRECTION";
10575
11001
  id: string;
10576
11002
  status: "Rejected" | "Requested" | "Accepted";
11003
+ reason: {
11004
+ message: string;
11005
+ isDuplicate?: boolean | undefined;
11006
+ };
10577
11007
  transactionId: string;
10578
11008
  createdByUserType: "system" | "user";
10579
11009
  createdAt: string;
@@ -10672,6 +11102,10 @@ export declare const EventDocument: z.ZodObject<{
10672
11102
  start: string;
10673
11103
  end: string;
10674
11104
  } | null | undefined> | null | undefined;
11105
+ actionDetails?: {
11106
+ templateId?: string | undefined;
11107
+ isImmediateCorrection?: boolean | undefined;
11108
+ } | null | undefined;
10675
11109
  originalActionId?: string | null | undefined;
10676
11110
  } | {
10677
11111
  type: "READ";
@@ -10774,6 +11208,10 @@ export declare const EventDocument: z.ZodObject<{
10774
11208
  start: string;
10775
11209
  end: string;
10776
11210
  } | null | undefined> | null | undefined;
11211
+ actionDetails?: {
11212
+ templateId?: string | undefined;
11213
+ isImmediateCorrection?: boolean | undefined;
11214
+ } | null | undefined;
10777
11215
  originalActionId?: string | null | undefined;
10778
11216
  } | {
10779
11217
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -10786,6 +11224,10 @@ export declare const EventDocument: z.ZodObject<{
10786
11224
  createdByRole: string;
10787
11225
  createdBySignature?: string | null | undefined;
10788
11226
  createdAtLocation?: string | null | undefined;
11227
+ actionDetails?: {
11228
+ templateId?: string | undefined;
11229
+ isImmediateCorrection?: boolean | undefined;
11230
+ } | null | undefined;
10789
11231
  originalActionId?: string | null | undefined;
10790
11232
  })[];
10791
11233
  trackingId: string;