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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,20 +6680,17 @@ 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<{
6683
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6684
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6685
+ }, {
6686
+ type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6687
+ content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6900
6688
  templateId: z.ZodOptional<z.ZodString>;
6901
- isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
6902
6689
  }, "strip", z.ZodTypeAny, {
6903
6690
  templateId?: string | undefined;
6904
- isImmediateCorrection?: boolean | undefined;
6905
6691
  }, {
6906
6692
  templateId?: string | undefined;
6907
- isImmediateCorrection?: boolean | undefined;
6908
6693
  }>>>;
6909
- status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6910
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6911
- }, {
6912
- type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6913
6694
  }>, "strip", z.ZodTypeAny, {
6914
6695
  type: "PRINT_CERTIFICATE";
6915
6696
  id: string & z.BRAND<"UUID">;
@@ -6964,6 +6745,9 @@ export declare const EventDocument: z.ZodObject<{
6964
6745
  start: string;
6965
6746
  end: string;
6966
6747
  } | null | undefined>;
6748
+ content?: {
6749
+ templateId?: string | undefined;
6750
+ } | null | undefined;
6967
6751
  createdBySignature?: string | null | undefined;
6968
6752
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6969
6753
  annotation?: Record<string, string | number | boolean | {
@@ -7011,10 +6795,6 @@ export declare const EventDocument: z.ZodObject<{
7011
6795
  start: string;
7012
6796
  end: string;
7013
6797
  } | null | undefined> | null | undefined;
7014
- actionDetails?: {
7015
- templateId?: string | undefined;
7016
- isImmediateCorrection?: boolean | undefined;
7017
- } | null | undefined;
7018
6798
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7019
6799
  }, {
7020
6800
  type: "PRINT_CERTIFICATE";
@@ -7070,6 +6850,9 @@ export declare const EventDocument: z.ZodObject<{
7070
6850
  start: string;
7071
6851
  end: string;
7072
6852
  } | null | undefined>;
6853
+ content?: {
6854
+ templateId?: string | undefined;
6855
+ } | null | undefined;
7073
6856
  createdBySignature?: string | null | undefined;
7074
6857
  createdAtLocation?: string | null | undefined;
7075
6858
  annotation?: Record<string, string | number | boolean | {
@@ -7117,10 +6900,6 @@ export declare const EventDocument: z.ZodObject<{
7117
6900
  start: string;
7118
6901
  end: string;
7119
6902
  } | null | undefined> | null | undefined;
7120
- actionDetails?: {
7121
- templateId?: string | undefined;
7122
- isImmediateCorrection?: boolean | undefined;
7123
- } | null | undefined;
7124
6903
  originalActionId?: string | null | undefined;
7125
6904
  }>, z.ZodObject<z.objectUtil.extendShape<{
7126
6905
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7401,16 +7180,6 @@ export declare const EventDocument: z.ZodObject<{
7401
7180
  surname?: string | null | undefined;
7402
7181
  middlename?: string | null | undefined;
7403
7182
  }>, 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
7183
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7415
7184
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7416
7185
  }, {
@@ -7516,10 +7285,6 @@ export declare const EventDocument: z.ZodObject<{
7516
7285
  start: string;
7517
7286
  end: string;
7518
7287
  } | null | undefined> | null | undefined;
7519
- actionDetails?: {
7520
- templateId?: string | undefined;
7521
- isImmediateCorrection?: boolean | undefined;
7522
- } | null | undefined;
7523
7288
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7524
7289
  }, {
7525
7290
  type: "READ";
@@ -7622,10 +7387,6 @@ export declare const EventDocument: z.ZodObject<{
7622
7387
  start: string;
7623
7388
  end: string;
7624
7389
  } | null | undefined> | null | undefined;
7625
- actionDetails?: {
7626
- templateId?: string | undefined;
7627
- isImmediateCorrection?: boolean | undefined;
7628
- } | null | undefined;
7629
7390
  originalActionId?: string | null | undefined;
7630
7391
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
7631
7392
  id: z.ZodBranded<z.ZodString, "UUID">;
@@ -7906,16 +7667,6 @@ export declare const EventDocument: z.ZodObject<{
7906
7667
  surname?: string | null | undefined;
7907
7668
  middlename?: string | null | undefined;
7908
7669
  }>, 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
7670
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7920
7671
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7921
7672
  }, "declaration" | "annotation">, {
@@ -7932,10 +7683,6 @@ export declare const EventDocument: z.ZodObject<{
7932
7683
  createdByRole: string;
7933
7684
  createdBySignature?: string | null | undefined;
7934
7685
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7935
- actionDetails?: {
7936
- templateId?: string | undefined;
7937
- isImmediateCorrection?: boolean | undefined;
7938
- } | null | undefined;
7939
7686
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7940
7687
  }, {
7941
7688
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -7948,10 +7695,6 @@ export declare const EventDocument: z.ZodObject<{
7948
7695
  createdByRole: string;
7949
7696
  createdBySignature?: string | null | undefined;
7950
7697
  createdAtLocation?: string | null | undefined;
7951
- actionDetails?: {
7952
- templateId?: string | undefined;
7953
- isImmediateCorrection?: boolean | undefined;
7954
- } | null | undefined;
7955
7698
  originalActionId?: string | null | undefined;
7956
7699
  }>]>, "many">;
7957
7700
  trackingId: z.ZodString;
@@ -8062,10 +7805,6 @@ export declare const EventDocument: z.ZodObject<{
8062
7805
  start: string;
8063
7806
  end: string;
8064
7807
  } | null | undefined> | null | undefined;
8065
- actionDetails?: {
8066
- templateId?: string | undefined;
8067
- isImmediateCorrection?: boolean | undefined;
8068
- } | null | undefined;
8069
7808
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8070
7809
  } | {
8071
7810
  type: "UNASSIGN";
@@ -8168,10 +7907,6 @@ export declare const EventDocument: z.ZodObject<{
8168
7907
  start: string;
8169
7908
  end: string;
8170
7909
  } | null | undefined> | null | undefined;
8171
- actionDetails?: {
8172
- templateId?: string | undefined;
8173
- isImmediateCorrection?: boolean | undefined;
8174
- } | null | undefined;
8175
7910
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8176
7911
  } | {
8177
7912
  type: "REGISTER";
@@ -8274,10 +8009,6 @@ export declare const EventDocument: z.ZodObject<{
8274
8009
  start: string;
8275
8010
  end: string;
8276
8011
  } | null | undefined> | null | undefined;
8277
- actionDetails?: {
8278
- templateId?: string | undefined;
8279
- isImmediateCorrection?: boolean | undefined;
8280
- } | null | undefined;
8281
8012
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8282
8013
  registrationNumber?: string | undefined;
8283
8014
  } | {
@@ -8381,10 +8112,6 @@ export declare const EventDocument: z.ZodObject<{
8381
8112
  start: string;
8382
8113
  end: string;
8383
8114
  } | null | undefined> | null | undefined;
8384
- actionDetails?: {
8385
- templateId?: string | undefined;
8386
- isImmediateCorrection?: boolean | undefined;
8387
- } | null | undefined;
8388
8115
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8389
8116
  } | {
8390
8117
  type: "VALIDATE";
@@ -8487,10 +8214,6 @@ export declare const EventDocument: z.ZodObject<{
8487
8214
  start: string;
8488
8215
  end: string;
8489
8216
  } | null | undefined> | null | undefined;
8490
- actionDetails?: {
8491
- templateId?: string | undefined;
8492
- isImmediateCorrection?: boolean | undefined;
8493
- } | null | undefined;
8494
8217
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8495
8218
  } | {
8496
8219
  type: "REJECT";
@@ -8597,10 +8320,6 @@ export declare const EventDocument: z.ZodObject<{
8597
8320
  start: string;
8598
8321
  end: string;
8599
8322
  } | null | undefined> | null | undefined;
8600
- actionDetails?: {
8601
- templateId?: string | undefined;
8602
- isImmediateCorrection?: boolean | undefined;
8603
- } | null | undefined;
8604
8323
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8605
8324
  } | {
8606
8325
  type: "MARKED_AS_DUPLICATE";
@@ -8703,10 +8422,6 @@ export declare const EventDocument: z.ZodObject<{
8703
8422
  start: string;
8704
8423
  end: string;
8705
8424
  } | null | undefined> | null | undefined;
8706
- actionDetails?: {
8707
- templateId?: string | undefined;
8708
- isImmediateCorrection?: boolean | undefined;
8709
- } | null | undefined;
8710
8425
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8711
8426
  } | {
8712
8427
  type: "ARCHIVE";
@@ -8813,10 +8528,6 @@ export declare const EventDocument: z.ZodObject<{
8813
8528
  start: string;
8814
8529
  end: string;
8815
8530
  } | null | undefined> | null | undefined;
8816
- actionDetails?: {
8817
- templateId?: string | undefined;
8818
- isImmediateCorrection?: boolean | undefined;
8819
- } | null | undefined;
8820
8531
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8821
8532
  } | {
8822
8533
  type: "CREATE";
@@ -8919,10 +8630,6 @@ export declare const EventDocument: z.ZodObject<{
8919
8630
  start: string;
8920
8631
  end: string;
8921
8632
  } | null | undefined> | null | undefined;
8922
- actionDetails?: {
8923
- templateId?: string | undefined;
8924
- isImmediateCorrection?: boolean | undefined;
8925
- } | null | undefined;
8926
8633
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8927
8634
  } | {
8928
8635
  type: "NOTIFY";
@@ -9025,10 +8732,6 @@ export declare const EventDocument: z.ZodObject<{
9025
8732
  start: string;
9026
8733
  end: string;
9027
8734
  } | null | undefined> | null | undefined;
9028
- actionDetails?: {
9029
- templateId?: string | undefined;
9030
- isImmediateCorrection?: boolean | undefined;
9031
- } | null | undefined;
9032
8735
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9033
8736
  } | {
9034
8737
  type: "PRINT_CERTIFICATE";
@@ -9084,6 +8787,9 @@ export declare const EventDocument: z.ZodObject<{
9084
8787
  start: string;
9085
8788
  end: string;
9086
8789
  } | null | undefined>;
8790
+ content?: {
8791
+ templateId?: string | undefined;
8792
+ } | null | undefined;
9087
8793
  createdBySignature?: string | null | undefined;
9088
8794
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9089
8795
  annotation?: Record<string, string | number | boolean | {
@@ -9131,10 +8837,6 @@ export declare const EventDocument: z.ZodObject<{
9131
8837
  start: string;
9132
8838
  end: string;
9133
8839
  } | null | undefined> | null | undefined;
9134
- actionDetails?: {
9135
- templateId?: string | undefined;
9136
- isImmediateCorrection?: boolean | undefined;
9137
- } | null | undefined;
9138
8840
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9139
8841
  } | {
9140
8842
  type: "REQUEST_CORRECTION";
@@ -9237,10 +8939,6 @@ export declare const EventDocument: z.ZodObject<{
9237
8939
  start: string;
9238
8940
  end: string;
9239
8941
  } | null | undefined> | null | undefined;
9240
- actionDetails?: {
9241
- templateId?: string | undefined;
9242
- isImmediateCorrection?: boolean | undefined;
9243
- } | null | undefined;
9244
8942
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9245
8943
  } | {
9246
8944
  type: "APPROVE_CORRECTION";
@@ -9344,15 +9042,15 @@ export declare const EventDocument: z.ZodObject<{
9344
9042
  start: string;
9345
9043
  end: string;
9346
9044
  } | null | undefined> | null | undefined;
9347
- actionDetails?: {
9348
- templateId?: string | undefined;
9349
- isImmediateCorrection?: boolean | undefined;
9350
- } | null | undefined;
9351
9045
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9352
9046
  } | {
9353
9047
  type: "REJECT_CORRECTION";
9354
9048
  id: string & z.BRAND<"UUID">;
9355
9049
  status: "Rejected" | "Requested" | "Accepted";
9050
+ reason: {
9051
+ message: string;
9052
+ isDuplicate?: boolean | undefined;
9053
+ };
9356
9054
  transactionId: string;
9357
9055
  createdByUserType: "system" | "user";
9358
9056
  createdAt: string;
@@ -9451,10 +9149,6 @@ export declare const EventDocument: z.ZodObject<{
9451
9149
  start: string;
9452
9150
  end: string;
9453
9151
  } | null | undefined> | null | undefined;
9454
- actionDetails?: {
9455
- templateId?: string | undefined;
9456
- isImmediateCorrection?: boolean | undefined;
9457
- } | null | undefined;
9458
9152
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9459
9153
  } | {
9460
9154
  type: "READ";
@@ -9557,10 +9251,6 @@ export declare const EventDocument: z.ZodObject<{
9557
9251
  start: string;
9558
9252
  end: string;
9559
9253
  } | null | undefined> | null | undefined;
9560
- actionDetails?: {
9561
- templateId?: string | undefined;
9562
- isImmediateCorrection?: boolean | undefined;
9563
- } | null | undefined;
9564
9254
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9565
9255
  } | {
9566
9256
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -9573,10 +9263,6 @@ export declare const EventDocument: z.ZodObject<{
9573
9263
  createdByRole: string;
9574
9264
  createdBySignature?: string | null | undefined;
9575
9265
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9576
- actionDetails?: {
9577
- templateId?: string | undefined;
9578
- isImmediateCorrection?: boolean | undefined;
9579
- } | null | undefined;
9580
9266
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9581
9267
  })[];
9582
9268
  trackingId: string;
@@ -9687,10 +9373,6 @@ export declare const EventDocument: z.ZodObject<{
9687
9373
  start: string;
9688
9374
  end: string;
9689
9375
  } | null | undefined> | null | undefined;
9690
- actionDetails?: {
9691
- templateId?: string | undefined;
9692
- isImmediateCorrection?: boolean | undefined;
9693
- } | null | undefined;
9694
9376
  originalActionId?: string | null | undefined;
9695
9377
  } | {
9696
9378
  type: "UNASSIGN";
@@ -9793,10 +9475,6 @@ export declare const EventDocument: z.ZodObject<{
9793
9475
  start: string;
9794
9476
  end: string;
9795
9477
  } | null | undefined> | null | undefined;
9796
- actionDetails?: {
9797
- templateId?: string | undefined;
9798
- isImmediateCorrection?: boolean | undefined;
9799
- } | null | undefined;
9800
9478
  originalActionId?: string | null | undefined;
9801
9479
  } | {
9802
9480
  type: "REGISTER";
@@ -9899,10 +9577,6 @@ export declare const EventDocument: z.ZodObject<{
9899
9577
  start: string;
9900
9578
  end: string;
9901
9579
  } | null | undefined> | null | undefined;
9902
- actionDetails?: {
9903
- templateId?: string | undefined;
9904
- isImmediateCorrection?: boolean | undefined;
9905
- } | null | undefined;
9906
9580
  originalActionId?: string | null | undefined;
9907
9581
  registrationNumber?: string | undefined;
9908
9582
  } | {
@@ -10006,10 +9680,6 @@ export declare const EventDocument: z.ZodObject<{
10006
9680
  start: string;
10007
9681
  end: string;
10008
9682
  } | null | undefined> | null | undefined;
10009
- actionDetails?: {
10010
- templateId?: string | undefined;
10011
- isImmediateCorrection?: boolean | undefined;
10012
- } | null | undefined;
10013
9683
  originalActionId?: string | null | undefined;
10014
9684
  } | {
10015
9685
  type: "VALIDATE";
@@ -10112,10 +9782,6 @@ export declare const EventDocument: z.ZodObject<{
10112
9782
  start: string;
10113
9783
  end: string;
10114
9784
  } | null | undefined> | null | undefined;
10115
- actionDetails?: {
10116
- templateId?: string | undefined;
10117
- isImmediateCorrection?: boolean | undefined;
10118
- } | null | undefined;
10119
9785
  originalActionId?: string | null | undefined;
10120
9786
  } | {
10121
9787
  type: "REJECT";
@@ -10222,10 +9888,6 @@ export declare const EventDocument: z.ZodObject<{
10222
9888
  start: string;
10223
9889
  end: string;
10224
9890
  } | null | undefined> | null | undefined;
10225
- actionDetails?: {
10226
- templateId?: string | undefined;
10227
- isImmediateCorrection?: boolean | undefined;
10228
- } | null | undefined;
10229
9891
  originalActionId?: string | null | undefined;
10230
9892
  } | {
10231
9893
  type: "MARKED_AS_DUPLICATE";
@@ -10328,10 +9990,6 @@ export declare const EventDocument: z.ZodObject<{
10328
9990
  start: string;
10329
9991
  end: string;
10330
9992
  } | null | undefined> | null | undefined;
10331
- actionDetails?: {
10332
- templateId?: string | undefined;
10333
- isImmediateCorrection?: boolean | undefined;
10334
- } | null | undefined;
10335
9993
  originalActionId?: string | null | undefined;
10336
9994
  } | {
10337
9995
  type: "ARCHIVE";
@@ -10438,10 +10096,6 @@ export declare const EventDocument: z.ZodObject<{
10438
10096
  start: string;
10439
10097
  end: string;
10440
10098
  } | null | undefined> | null | undefined;
10441
- actionDetails?: {
10442
- templateId?: string | undefined;
10443
- isImmediateCorrection?: boolean | undefined;
10444
- } | null | undefined;
10445
10099
  originalActionId?: string | null | undefined;
10446
10100
  } | {
10447
10101
  type: "CREATE";
@@ -10544,10 +10198,6 @@ export declare const EventDocument: z.ZodObject<{
10544
10198
  start: string;
10545
10199
  end: string;
10546
10200
  } | null | undefined> | null | undefined;
10547
- actionDetails?: {
10548
- templateId?: string | undefined;
10549
- isImmediateCorrection?: boolean | undefined;
10550
- } | null | undefined;
10551
10201
  originalActionId?: string | null | undefined;
10552
10202
  } | {
10553
10203
  type: "NOTIFY";
@@ -10650,10 +10300,6 @@ export declare const EventDocument: z.ZodObject<{
10650
10300
  start: string;
10651
10301
  end: string;
10652
10302
  } | null | undefined> | null | undefined;
10653
- actionDetails?: {
10654
- templateId?: string | undefined;
10655
- isImmediateCorrection?: boolean | undefined;
10656
- } | null | undefined;
10657
10303
  originalActionId?: string | null | undefined;
10658
10304
  } | {
10659
10305
  type: "PRINT_CERTIFICATE";
@@ -10709,6 +10355,9 @@ export declare const EventDocument: z.ZodObject<{
10709
10355
  start: string;
10710
10356
  end: string;
10711
10357
  } | null | undefined>;
10358
+ content?: {
10359
+ templateId?: string | undefined;
10360
+ } | null | undefined;
10712
10361
  createdBySignature?: string | null | undefined;
10713
10362
  createdAtLocation?: string | null | undefined;
10714
10363
  annotation?: Record<string, string | number | boolean | {
@@ -10756,10 +10405,6 @@ export declare const EventDocument: z.ZodObject<{
10756
10405
  start: string;
10757
10406
  end: string;
10758
10407
  } | null | undefined> | null | undefined;
10759
- actionDetails?: {
10760
- templateId?: string | undefined;
10761
- isImmediateCorrection?: boolean | undefined;
10762
- } | null | undefined;
10763
10408
  originalActionId?: string | null | undefined;
10764
10409
  } | {
10765
10410
  type: "REQUEST_CORRECTION";
@@ -10862,10 +10507,6 @@ export declare const EventDocument: z.ZodObject<{
10862
10507
  start: string;
10863
10508
  end: string;
10864
10509
  } | null | undefined> | null | undefined;
10865
- actionDetails?: {
10866
- templateId?: string | undefined;
10867
- isImmediateCorrection?: boolean | undefined;
10868
- } | null | undefined;
10869
10510
  originalActionId?: string | null | undefined;
10870
10511
  } | {
10871
10512
  type: "APPROVE_CORRECTION";
@@ -10969,15 +10610,15 @@ export declare const EventDocument: z.ZodObject<{
10969
10610
  start: string;
10970
10611
  end: string;
10971
10612
  } | null | undefined> | null | undefined;
10972
- actionDetails?: {
10973
- templateId?: string | undefined;
10974
- isImmediateCorrection?: boolean | undefined;
10975
- } | null | undefined;
10976
10613
  originalActionId?: string | null | undefined;
10977
10614
  } | {
10978
10615
  type: "REJECT_CORRECTION";
10979
10616
  id: string;
10980
10617
  status: "Rejected" | "Requested" | "Accepted";
10618
+ reason: {
10619
+ message: string;
10620
+ isDuplicate?: boolean | undefined;
10621
+ };
10981
10622
  transactionId: string;
10982
10623
  createdByUserType: "system" | "user";
10983
10624
  createdAt: string;
@@ -11076,10 +10717,6 @@ export declare const EventDocument: z.ZodObject<{
11076
10717
  start: string;
11077
10718
  end: string;
11078
10719
  } | null | undefined> | null | undefined;
11079
- actionDetails?: {
11080
- templateId?: string | undefined;
11081
- isImmediateCorrection?: boolean | undefined;
11082
- } | null | undefined;
11083
10720
  originalActionId?: string | null | undefined;
11084
10721
  } | {
11085
10722
  type: "READ";
@@ -11182,10 +10819,6 @@ export declare const EventDocument: z.ZodObject<{
11182
10819
  start: string;
11183
10820
  end: string;
11184
10821
  } | null | undefined> | null | undefined;
11185
- actionDetails?: {
11186
- templateId?: string | undefined;
11187
- isImmediateCorrection?: boolean | undefined;
11188
- } | null | undefined;
11189
10822
  originalActionId?: string | null | undefined;
11190
10823
  } | {
11191
10824
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -11198,10 +10831,6 @@ export declare const EventDocument: z.ZodObject<{
11198
10831
  createdByRole: string;
11199
10832
  createdBySignature?: string | null | undefined;
11200
10833
  createdAtLocation?: string | null | undefined;
11201
- actionDetails?: {
11202
- templateId?: string | undefined;
11203
- isImmediateCorrection?: boolean | undefined;
11204
- } | null | undefined;
11205
10834
  originalActionId?: string | null | undefined;
11206
10835
  })[];
11207
10836
  trackingId: string;