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

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,29 +5883,25 @@ 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;
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
- }>;
5703
5901
  }>, "strip", z.ZodTypeAny, {
5704
5902
  type: "REJECT_CORRECTION";
5705
5903
  id: string & z.BRAND<"UUID">;
5706
5904
  status: "Rejected" | "Requested" | "Accepted";
5707
- reason: {
5708
- message: string;
5709
- isDuplicate?: boolean | undefined;
5710
- };
5711
5905
  transactionId: string;
5712
5906
  createdByUserType: "system" | "user";
5713
5907
  createdAt: string;
@@ -5806,15 +6000,15 @@ export declare const EventDocument: z.ZodObject<{
5806
6000
  start: string;
5807
6001
  end: string;
5808
6002
  } | null | undefined> | null | undefined;
6003
+ actionDetails?: {
6004
+ templateId?: string | undefined;
6005
+ isImmediateCorrection?: boolean | undefined;
6006
+ } | null | undefined;
5809
6007
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5810
6008
  }, {
5811
6009
  type: "REJECT_CORRECTION";
5812
6010
  id: string;
5813
6011
  status: "Rejected" | "Requested" | "Accepted";
5814
- reason: {
5815
- message: string;
5816
- isDuplicate?: boolean | undefined;
5817
- };
5818
6012
  transactionId: string;
5819
6013
  createdByUserType: "system" | "user";
5820
6014
  createdAt: string;
@@ -5913,6 +6107,10 @@ export declare const EventDocument: z.ZodObject<{
5913
6107
  start: string;
5914
6108
  end: string;
5915
6109
  } | null | undefined> | null | undefined;
6110
+ actionDetails?: {
6111
+ templateId?: string | undefined;
6112
+ isImmediateCorrection?: boolean | undefined;
6113
+ } | null | undefined;
5916
6114
  originalActionId?: string | null | undefined;
5917
6115
  }>, z.ZodObject<z.objectUtil.extendShape<{
5918
6116
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6193,6 +6391,16 @@ export declare const EventDocument: z.ZodObject<{
6193
6391
  surname?: string | null | undefined;
6194
6392
  middlename?: string | null | undefined;
6195
6393
  }>, 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
+ }>>>;
6196
6404
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6197
6405
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6198
6406
  }, {
@@ -6298,6 +6506,10 @@ export declare const EventDocument: z.ZodObject<{
6298
6506
  start: string;
6299
6507
  end: string;
6300
6508
  } | null | undefined> | null | undefined;
6509
+ actionDetails?: {
6510
+ templateId?: string | undefined;
6511
+ isImmediateCorrection?: boolean | undefined;
6512
+ } | null | undefined;
6301
6513
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6302
6514
  }, {
6303
6515
  type: "UNASSIGN";
@@ -6400,6 +6612,10 @@ export declare const EventDocument: z.ZodObject<{
6400
6612
  start: string;
6401
6613
  end: string;
6402
6614
  } | null | undefined> | null | undefined;
6615
+ actionDetails?: {
6616
+ templateId?: string | undefined;
6617
+ isImmediateCorrection?: boolean | undefined;
6618
+ } | null | undefined;
6403
6619
  originalActionId?: string | null | undefined;
6404
6620
  }>, z.ZodObject<z.objectUtil.extendShape<{
6405
6621
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -6680,6 +6896,16 @@ export declare const EventDocument: z.ZodObject<{
6680
6896
  surname?: string | null | undefined;
6681
6897
  middlename?: string | null | undefined;
6682
6898
  }>, 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
+ }>>>;
6683
6909
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6684
6910
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6685
6911
  }, {
@@ -6785,6 +7011,10 @@ export declare const EventDocument: z.ZodObject<{
6785
7011
  start: string;
6786
7012
  end: string;
6787
7013
  } | null | undefined> | null | undefined;
7014
+ actionDetails?: {
7015
+ templateId?: string | undefined;
7016
+ isImmediateCorrection?: boolean | undefined;
7017
+ } | null | undefined;
6788
7018
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6789
7019
  }, {
6790
7020
  type: "PRINT_CERTIFICATE";
@@ -6887,6 +7117,10 @@ export declare const EventDocument: z.ZodObject<{
6887
7117
  start: string;
6888
7118
  end: string;
6889
7119
  } | null | undefined> | null | undefined;
7120
+ actionDetails?: {
7121
+ templateId?: string | undefined;
7122
+ isImmediateCorrection?: boolean | undefined;
7123
+ } | null | undefined;
6890
7124
  originalActionId?: string | null | undefined;
6891
7125
  }>, z.ZodObject<z.objectUtil.extendShape<{
6892
7126
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7167,6 +7401,16 @@ export declare const EventDocument: z.ZodObject<{
7167
7401
  surname?: string | null | undefined;
7168
7402
  middlename?: string | null | undefined;
7169
7403
  }>, 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
+ }>>>;
7170
7414
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7171
7415
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7172
7416
  }, {
@@ -7272,6 +7516,10 @@ export declare const EventDocument: z.ZodObject<{
7272
7516
  start: string;
7273
7517
  end: string;
7274
7518
  } | null | undefined> | null | undefined;
7519
+ actionDetails?: {
7520
+ templateId?: string | undefined;
7521
+ isImmediateCorrection?: boolean | undefined;
7522
+ } | null | undefined;
7275
7523
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7276
7524
  }, {
7277
7525
  type: "READ";
@@ -7374,6 +7622,10 @@ export declare const EventDocument: z.ZodObject<{
7374
7622
  start: string;
7375
7623
  end: string;
7376
7624
  } | null | undefined> | null | undefined;
7625
+ actionDetails?: {
7626
+ templateId?: string | undefined;
7627
+ isImmediateCorrection?: boolean | undefined;
7628
+ } | null | undefined;
7377
7629
  originalActionId?: string | null | undefined;
7378
7630
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
7379
7631
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7654,6 +7906,16 @@ export declare const EventDocument: z.ZodObject<{
7654
7906
  surname?: string | null | undefined;
7655
7907
  middlename?: string | null | undefined;
7656
7908
  }>, 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
+ }>>>;
7657
7919
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7658
7920
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7659
7921
  }, "declaration" | "annotation">, {
@@ -7670,6 +7932,10 @@ export declare const EventDocument: z.ZodObject<{
7670
7932
  createdByRole: string;
7671
7933
  createdBySignature?: string | null | undefined;
7672
7934
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7935
+ actionDetails?: {
7936
+ templateId?: string | undefined;
7937
+ isImmediateCorrection?: boolean | undefined;
7938
+ } | null | undefined;
7673
7939
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7674
7940
  }, {
7675
7941
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -7682,6 +7948,10 @@ export declare const EventDocument: z.ZodObject<{
7682
7948
  createdByRole: string;
7683
7949
  createdBySignature?: string | null | undefined;
7684
7950
  createdAtLocation?: string | null | undefined;
7951
+ actionDetails?: {
7952
+ templateId?: string | undefined;
7953
+ isImmediateCorrection?: boolean | undefined;
7954
+ } | null | undefined;
7685
7955
  originalActionId?: string | null | undefined;
7686
7956
  }>]>, "many">;
7687
7957
  trackingId: z.ZodString;
@@ -7792,6 +8062,10 @@ export declare const EventDocument: z.ZodObject<{
7792
8062
  start: string;
7793
8063
  end: string;
7794
8064
  } | null | undefined> | null | undefined;
8065
+ actionDetails?: {
8066
+ templateId?: string | undefined;
8067
+ isImmediateCorrection?: boolean | undefined;
8068
+ } | null | undefined;
7795
8069
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7796
8070
  } | {
7797
8071
  type: "UNASSIGN";
@@ -7894,6 +8168,10 @@ export declare const EventDocument: z.ZodObject<{
7894
8168
  start: string;
7895
8169
  end: string;
7896
8170
  } | null | undefined> | null | undefined;
8171
+ actionDetails?: {
8172
+ templateId?: string | undefined;
8173
+ isImmediateCorrection?: boolean | undefined;
8174
+ } | null | undefined;
7897
8175
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7898
8176
  } | {
7899
8177
  type: "REGISTER";
@@ -7996,6 +8274,10 @@ export declare const EventDocument: z.ZodObject<{
7996
8274
  start: string;
7997
8275
  end: string;
7998
8276
  } | null | undefined> | null | undefined;
8277
+ actionDetails?: {
8278
+ templateId?: string | undefined;
8279
+ isImmediateCorrection?: boolean | undefined;
8280
+ } | null | undefined;
7999
8281
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8000
8282
  registrationNumber?: string | undefined;
8001
8283
  } | {
@@ -8099,6 +8381,10 @@ export declare const EventDocument: z.ZodObject<{
8099
8381
  start: string;
8100
8382
  end: string;
8101
8383
  } | null | undefined> | null | undefined;
8384
+ actionDetails?: {
8385
+ templateId?: string | undefined;
8386
+ isImmediateCorrection?: boolean | undefined;
8387
+ } | null | undefined;
8102
8388
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8103
8389
  } | {
8104
8390
  type: "VALIDATE";
@@ -8201,6 +8487,10 @@ export declare const EventDocument: z.ZodObject<{
8201
8487
  start: string;
8202
8488
  end: string;
8203
8489
  } | null | undefined> | null | undefined;
8490
+ actionDetails?: {
8491
+ templateId?: string | undefined;
8492
+ isImmediateCorrection?: boolean | undefined;
8493
+ } | null | undefined;
8204
8494
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8205
8495
  } | {
8206
8496
  type: "REJECT";
@@ -8307,6 +8597,10 @@ export declare const EventDocument: z.ZodObject<{
8307
8597
  start: string;
8308
8598
  end: string;
8309
8599
  } | null | undefined> | null | undefined;
8600
+ actionDetails?: {
8601
+ templateId?: string | undefined;
8602
+ isImmediateCorrection?: boolean | undefined;
8603
+ } | null | undefined;
8310
8604
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8311
8605
  } | {
8312
8606
  type: "MARKED_AS_DUPLICATE";
@@ -8409,6 +8703,10 @@ export declare const EventDocument: z.ZodObject<{
8409
8703
  start: string;
8410
8704
  end: string;
8411
8705
  } | null | undefined> | null | undefined;
8706
+ actionDetails?: {
8707
+ templateId?: string | undefined;
8708
+ isImmediateCorrection?: boolean | undefined;
8709
+ } | null | undefined;
8412
8710
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8413
8711
  } | {
8414
8712
  type: "ARCHIVE";
@@ -8515,6 +8813,10 @@ export declare const EventDocument: z.ZodObject<{
8515
8813
  start: string;
8516
8814
  end: string;
8517
8815
  } | null | undefined> | null | undefined;
8816
+ actionDetails?: {
8817
+ templateId?: string | undefined;
8818
+ isImmediateCorrection?: boolean | undefined;
8819
+ } | null | undefined;
8518
8820
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8519
8821
  } | {
8520
8822
  type: "CREATE";
@@ -8617,6 +8919,10 @@ export declare const EventDocument: z.ZodObject<{
8617
8919
  start: string;
8618
8920
  end: string;
8619
8921
  } | null | undefined> | null | undefined;
8922
+ actionDetails?: {
8923
+ templateId?: string | undefined;
8924
+ isImmediateCorrection?: boolean | undefined;
8925
+ } | null | undefined;
8620
8926
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8621
8927
  } | {
8622
8928
  type: "NOTIFY";
@@ -8719,6 +9025,10 @@ export declare const EventDocument: z.ZodObject<{
8719
9025
  start: string;
8720
9026
  end: string;
8721
9027
  } | null | undefined> | null | undefined;
9028
+ actionDetails?: {
9029
+ templateId?: string | undefined;
9030
+ isImmediateCorrection?: boolean | undefined;
9031
+ } | null | undefined;
8722
9032
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8723
9033
  } | {
8724
9034
  type: "PRINT_CERTIFICATE";
@@ -8821,6 +9131,10 @@ export declare const EventDocument: z.ZodObject<{
8821
9131
  start: string;
8822
9132
  end: string;
8823
9133
  } | null | undefined> | null | undefined;
9134
+ actionDetails?: {
9135
+ templateId?: string | undefined;
9136
+ isImmediateCorrection?: boolean | undefined;
9137
+ } | null | undefined;
8824
9138
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8825
9139
  } | {
8826
9140
  type: "REQUEST_CORRECTION";
@@ -8923,6 +9237,10 @@ export declare const EventDocument: z.ZodObject<{
8923
9237
  start: string;
8924
9238
  end: string;
8925
9239
  } | null | undefined> | null | undefined;
9240
+ actionDetails?: {
9241
+ templateId?: string | undefined;
9242
+ isImmediateCorrection?: boolean | undefined;
9243
+ } | null | undefined;
8926
9244
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8927
9245
  } | {
8928
9246
  type: "APPROVE_CORRECTION";
@@ -9026,15 +9344,15 @@ export declare const EventDocument: z.ZodObject<{
9026
9344
  start: string;
9027
9345
  end: string;
9028
9346
  } | null | undefined> | null | undefined;
9347
+ actionDetails?: {
9348
+ templateId?: string | undefined;
9349
+ isImmediateCorrection?: boolean | undefined;
9350
+ } | null | undefined;
9029
9351
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9030
9352
  } | {
9031
9353
  type: "REJECT_CORRECTION";
9032
9354
  id: string & z.BRAND<"UUID">;
9033
9355
  status: "Rejected" | "Requested" | "Accepted";
9034
- reason: {
9035
- message: string;
9036
- isDuplicate?: boolean | undefined;
9037
- };
9038
9356
  transactionId: string;
9039
9357
  createdByUserType: "system" | "user";
9040
9358
  createdAt: string;
@@ -9133,6 +9451,10 @@ export declare const EventDocument: z.ZodObject<{
9133
9451
  start: string;
9134
9452
  end: string;
9135
9453
  } | null | undefined> | null | undefined;
9454
+ actionDetails?: {
9455
+ templateId?: string | undefined;
9456
+ isImmediateCorrection?: boolean | undefined;
9457
+ } | null | undefined;
9136
9458
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9137
9459
  } | {
9138
9460
  type: "READ";
@@ -9235,6 +9557,10 @@ export declare const EventDocument: z.ZodObject<{
9235
9557
  start: string;
9236
9558
  end: string;
9237
9559
  } | null | undefined> | null | undefined;
9560
+ actionDetails?: {
9561
+ templateId?: string | undefined;
9562
+ isImmediateCorrection?: boolean | undefined;
9563
+ } | null | undefined;
9238
9564
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9239
9565
  } | {
9240
9566
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -9247,6 +9573,10 @@ export declare const EventDocument: z.ZodObject<{
9247
9573
  createdByRole: string;
9248
9574
  createdBySignature?: string | null | undefined;
9249
9575
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9576
+ actionDetails?: {
9577
+ templateId?: string | undefined;
9578
+ isImmediateCorrection?: boolean | undefined;
9579
+ } | null | undefined;
9250
9580
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9251
9581
  })[];
9252
9582
  trackingId: string;
@@ -9357,6 +9687,10 @@ export declare const EventDocument: z.ZodObject<{
9357
9687
  start: string;
9358
9688
  end: string;
9359
9689
  } | null | undefined> | null | undefined;
9690
+ actionDetails?: {
9691
+ templateId?: string | undefined;
9692
+ isImmediateCorrection?: boolean | undefined;
9693
+ } | null | undefined;
9360
9694
  originalActionId?: string | null | undefined;
9361
9695
  } | {
9362
9696
  type: "UNASSIGN";
@@ -9459,6 +9793,10 @@ export declare const EventDocument: z.ZodObject<{
9459
9793
  start: string;
9460
9794
  end: string;
9461
9795
  } | null | undefined> | null | undefined;
9796
+ actionDetails?: {
9797
+ templateId?: string | undefined;
9798
+ isImmediateCorrection?: boolean | undefined;
9799
+ } | null | undefined;
9462
9800
  originalActionId?: string | null | undefined;
9463
9801
  } | {
9464
9802
  type: "REGISTER";
@@ -9561,6 +9899,10 @@ export declare const EventDocument: z.ZodObject<{
9561
9899
  start: string;
9562
9900
  end: string;
9563
9901
  } | null | undefined> | null | undefined;
9902
+ actionDetails?: {
9903
+ templateId?: string | undefined;
9904
+ isImmediateCorrection?: boolean | undefined;
9905
+ } | null | undefined;
9564
9906
  originalActionId?: string | null | undefined;
9565
9907
  registrationNumber?: string | undefined;
9566
9908
  } | {
@@ -9664,6 +10006,10 @@ export declare const EventDocument: z.ZodObject<{
9664
10006
  start: string;
9665
10007
  end: string;
9666
10008
  } | null | undefined> | null | undefined;
10009
+ actionDetails?: {
10010
+ templateId?: string | undefined;
10011
+ isImmediateCorrection?: boolean | undefined;
10012
+ } | null | undefined;
9667
10013
  originalActionId?: string | null | undefined;
9668
10014
  } | {
9669
10015
  type: "VALIDATE";
@@ -9766,6 +10112,10 @@ export declare const EventDocument: z.ZodObject<{
9766
10112
  start: string;
9767
10113
  end: string;
9768
10114
  } | null | undefined> | null | undefined;
10115
+ actionDetails?: {
10116
+ templateId?: string | undefined;
10117
+ isImmediateCorrection?: boolean | undefined;
10118
+ } | null | undefined;
9769
10119
  originalActionId?: string | null | undefined;
9770
10120
  } | {
9771
10121
  type: "REJECT";
@@ -9872,6 +10222,10 @@ export declare const EventDocument: z.ZodObject<{
9872
10222
  start: string;
9873
10223
  end: string;
9874
10224
  } | null | undefined> | null | undefined;
10225
+ actionDetails?: {
10226
+ templateId?: string | undefined;
10227
+ isImmediateCorrection?: boolean | undefined;
10228
+ } | null | undefined;
9875
10229
  originalActionId?: string | null | undefined;
9876
10230
  } | {
9877
10231
  type: "MARKED_AS_DUPLICATE";
@@ -9974,6 +10328,10 @@ export declare const EventDocument: z.ZodObject<{
9974
10328
  start: string;
9975
10329
  end: string;
9976
10330
  } | null | undefined> | null | undefined;
10331
+ actionDetails?: {
10332
+ templateId?: string | undefined;
10333
+ isImmediateCorrection?: boolean | undefined;
10334
+ } | null | undefined;
9977
10335
  originalActionId?: string | null | undefined;
9978
10336
  } | {
9979
10337
  type: "ARCHIVE";
@@ -10080,6 +10438,10 @@ export declare const EventDocument: z.ZodObject<{
10080
10438
  start: string;
10081
10439
  end: string;
10082
10440
  } | null | undefined> | null | undefined;
10441
+ actionDetails?: {
10442
+ templateId?: string | undefined;
10443
+ isImmediateCorrection?: boolean | undefined;
10444
+ } | null | undefined;
10083
10445
  originalActionId?: string | null | undefined;
10084
10446
  } | {
10085
10447
  type: "CREATE";
@@ -10182,6 +10544,10 @@ export declare const EventDocument: z.ZodObject<{
10182
10544
  start: string;
10183
10545
  end: string;
10184
10546
  } | null | undefined> | null | undefined;
10547
+ actionDetails?: {
10548
+ templateId?: string | undefined;
10549
+ isImmediateCorrection?: boolean | undefined;
10550
+ } | null | undefined;
10185
10551
  originalActionId?: string | null | undefined;
10186
10552
  } | {
10187
10553
  type: "NOTIFY";
@@ -10284,6 +10650,10 @@ export declare const EventDocument: z.ZodObject<{
10284
10650
  start: string;
10285
10651
  end: string;
10286
10652
  } | null | undefined> | null | undefined;
10653
+ actionDetails?: {
10654
+ templateId?: string | undefined;
10655
+ isImmediateCorrection?: boolean | undefined;
10656
+ } | null | undefined;
10287
10657
  originalActionId?: string | null | undefined;
10288
10658
  } | {
10289
10659
  type: "PRINT_CERTIFICATE";
@@ -10386,6 +10756,10 @@ export declare const EventDocument: z.ZodObject<{
10386
10756
  start: string;
10387
10757
  end: string;
10388
10758
  } | null | undefined> | null | undefined;
10759
+ actionDetails?: {
10760
+ templateId?: string | undefined;
10761
+ isImmediateCorrection?: boolean | undefined;
10762
+ } | null | undefined;
10389
10763
  originalActionId?: string | null | undefined;
10390
10764
  } | {
10391
10765
  type: "REQUEST_CORRECTION";
@@ -10488,6 +10862,10 @@ export declare const EventDocument: z.ZodObject<{
10488
10862
  start: string;
10489
10863
  end: string;
10490
10864
  } | null | undefined> | null | undefined;
10865
+ actionDetails?: {
10866
+ templateId?: string | undefined;
10867
+ isImmediateCorrection?: boolean | undefined;
10868
+ } | null | undefined;
10491
10869
  originalActionId?: string | null | undefined;
10492
10870
  } | {
10493
10871
  type: "APPROVE_CORRECTION";
@@ -10591,15 +10969,15 @@ export declare const EventDocument: z.ZodObject<{
10591
10969
  start: string;
10592
10970
  end: string;
10593
10971
  } | null | undefined> | null | undefined;
10972
+ actionDetails?: {
10973
+ templateId?: string | undefined;
10974
+ isImmediateCorrection?: boolean | undefined;
10975
+ } | null | undefined;
10594
10976
  originalActionId?: string | null | undefined;
10595
10977
  } | {
10596
10978
  type: "REJECT_CORRECTION";
10597
10979
  id: string;
10598
10980
  status: "Rejected" | "Requested" | "Accepted";
10599
- reason: {
10600
- message: string;
10601
- isDuplicate?: boolean | undefined;
10602
- };
10603
10981
  transactionId: string;
10604
10982
  createdByUserType: "system" | "user";
10605
10983
  createdAt: string;
@@ -10698,6 +11076,10 @@ export declare const EventDocument: z.ZodObject<{
10698
11076
  start: string;
10699
11077
  end: string;
10700
11078
  } | null | undefined> | null | undefined;
11079
+ actionDetails?: {
11080
+ templateId?: string | undefined;
11081
+ isImmediateCorrection?: boolean | undefined;
11082
+ } | null | undefined;
10701
11083
  originalActionId?: string | null | undefined;
10702
11084
  } | {
10703
11085
  type: "READ";
@@ -10800,6 +11182,10 @@ export declare const EventDocument: z.ZodObject<{
10800
11182
  start: string;
10801
11183
  end: string;
10802
11184
  } | null | undefined> | null | undefined;
11185
+ actionDetails?: {
11186
+ templateId?: string | undefined;
11187
+ isImmediateCorrection?: boolean | undefined;
11188
+ } | null | undefined;
10803
11189
  originalActionId?: string | null | undefined;
10804
11190
  } | {
10805
11191
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -10812,6 +11198,10 @@ export declare const EventDocument: z.ZodObject<{
10812
11198
  createdByRole: string;
10813
11199
  createdBySignature?: string | null | undefined;
10814
11200
  createdAtLocation?: string | null | undefined;
11201
+ actionDetails?: {
11202
+ templateId?: string | undefined;
11203
+ isImmediateCorrection?: boolean | undefined;
11204
+ } | null | undefined;
10815
11205
  originalActionId?: string | null | undefined;
10816
11206
  })[];
10817
11207
  trackingId: string;