@opencrvs/toolkit 1.8.0-rc.faacbde → 1.8.0-rc.fb0e687

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.
@@ -4,7 +4,7 @@ export declare const EventDocument: z.ZodObject<{
4
4
  type: z.ZodString;
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
7
- actions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7
+ actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
8
  id: z.ZodString;
9
9
  createdAt: z.ZodString;
10
10
  createdBy: z.ZodString;
@@ -237,11 +237,14 @@ export declare const EventDocument: z.ZodObject<{
237
237
  postcodeOrZip?: string | null | undefined;
238
238
  }>]>>>;
239
239
  createdAtLocation: z.ZodString;
240
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
241
+ originalActionId: z.ZodOptional<z.ZodString>;
240
242
  }, {
241
243
  type: z.ZodLiteral<"CREATE">;
242
244
  }>, "strip", z.ZodTypeAny, {
243
245
  type: "CREATE";
244
246
  id: string;
247
+ status: "Rejected" | "Requested" | "Accepted";
245
248
  createdAt: string;
246
249
  createdBy: string;
247
250
  declaration: Record<string, string | number | boolean | {
@@ -321,9 +324,11 @@ export declare const EventDocument: z.ZodObject<{
321
324
  filename: string;
322
325
  originalFilename: string;
323
326
  }[] | undefined> | undefined;
327
+ originalActionId?: string | undefined;
324
328
  }, {
325
329
  type: "CREATE";
326
330
  id: string;
331
+ status: "Rejected" | "Requested" | "Accepted";
327
332
  createdAt: string;
328
333
  createdBy: string;
329
334
  declaration: Record<string, string | number | boolean | {
@@ -403,6 +408,7 @@ export declare const EventDocument: z.ZodObject<{
403
408
  filename: string;
404
409
  originalFilename: string;
405
410
  }[] | undefined> | undefined;
411
+ originalActionId?: string | undefined;
406
412
  }>, z.ZodObject<z.objectUtil.extendShape<{
407
413
  id: z.ZodString;
408
414
  createdAt: z.ZodString;
@@ -636,11 +642,14 @@ export declare const EventDocument: z.ZodObject<{
636
642
  postcodeOrZip?: string | null | undefined;
637
643
  }>]>>>;
638
644
  createdAtLocation: z.ZodString;
645
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
646
+ originalActionId: z.ZodOptional<z.ZodString>;
639
647
  }, {
640
648
  type: z.ZodLiteral<"VALIDATE">;
641
649
  }>, "strip", z.ZodTypeAny, {
642
650
  type: "VALIDATE";
643
651
  id: string;
652
+ status: "Rejected" | "Requested" | "Accepted";
644
653
  createdAt: string;
645
654
  createdBy: string;
646
655
  declaration: Record<string, string | number | boolean | {
@@ -720,9 +729,11 @@ export declare const EventDocument: z.ZodObject<{
720
729
  filename: string;
721
730
  originalFilename: string;
722
731
  }[] | undefined> | undefined;
732
+ originalActionId?: string | undefined;
723
733
  }, {
724
734
  type: "VALIDATE";
725
735
  id: string;
736
+ status: "Rejected" | "Requested" | "Accepted";
726
737
  createdAt: string;
727
738
  createdBy: string;
728
739
  declaration: Record<string, string | number | boolean | {
@@ -802,6 +813,7 @@ export declare const EventDocument: z.ZodObject<{
802
813
  filename: string;
803
814
  originalFilename: string;
804
815
  }[] | undefined> | undefined;
816
+ originalActionId?: string | undefined;
805
817
  }>, z.ZodObject<z.objectUtil.extendShape<{
806
818
  id: z.ZodString;
807
819
  createdAt: z.ZodString;
@@ -1035,11 +1047,14 @@ export declare const EventDocument: z.ZodObject<{
1035
1047
  postcodeOrZip?: string | null | undefined;
1036
1048
  }>]>>>;
1037
1049
  createdAtLocation: z.ZodString;
1050
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1051
+ originalActionId: z.ZodOptional<z.ZodString>;
1038
1052
  }, {
1039
1053
  type: z.ZodLiteral<"REJECT">;
1040
1054
  }>, "strip", z.ZodTypeAny, {
1041
1055
  type: "REJECT";
1042
1056
  id: string;
1057
+ status: "Rejected" | "Requested" | "Accepted";
1043
1058
  createdAt: string;
1044
1059
  createdBy: string;
1045
1060
  declaration: Record<string, string | number | boolean | {
@@ -1119,9 +1134,11 @@ export declare const EventDocument: z.ZodObject<{
1119
1134
  filename: string;
1120
1135
  originalFilename: string;
1121
1136
  }[] | undefined> | undefined;
1137
+ originalActionId?: string | undefined;
1122
1138
  }, {
1123
1139
  type: "REJECT";
1124
1140
  id: string;
1141
+ status: "Rejected" | "Requested" | "Accepted";
1125
1142
  createdAt: string;
1126
1143
  createdBy: string;
1127
1144
  declaration: Record<string, string | number | boolean | {
@@ -1201,6 +1218,7 @@ export declare const EventDocument: z.ZodObject<{
1201
1218
  filename: string;
1202
1219
  originalFilename: string;
1203
1220
  }[] | undefined> | undefined;
1221
+ originalActionId?: string | undefined;
1204
1222
  }>, z.ZodObject<z.objectUtil.extendShape<{
1205
1223
  id: z.ZodString;
1206
1224
  createdAt: z.ZodString;
@@ -1434,11 +1452,14 @@ export declare const EventDocument: z.ZodObject<{
1434
1452
  postcodeOrZip?: string | null | undefined;
1435
1453
  }>]>>>;
1436
1454
  createdAtLocation: z.ZodString;
1455
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1456
+ originalActionId: z.ZodOptional<z.ZodString>;
1437
1457
  }, {
1438
1458
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1439
1459
  }>, "strip", z.ZodTypeAny, {
1440
1460
  type: "MARKED_AS_DUPLICATE";
1441
1461
  id: string;
1462
+ status: "Rejected" | "Requested" | "Accepted";
1442
1463
  createdAt: string;
1443
1464
  createdBy: string;
1444
1465
  declaration: Record<string, string | number | boolean | {
@@ -1518,9 +1539,11 @@ export declare const EventDocument: z.ZodObject<{
1518
1539
  filename: string;
1519
1540
  originalFilename: string;
1520
1541
  }[] | undefined> | undefined;
1542
+ originalActionId?: string | undefined;
1521
1543
  }, {
1522
1544
  type: "MARKED_AS_DUPLICATE";
1523
1545
  id: string;
1546
+ status: "Rejected" | "Requested" | "Accepted";
1524
1547
  createdAt: string;
1525
1548
  createdBy: string;
1526
1549
  declaration: Record<string, string | number | boolean | {
@@ -1600,6 +1623,7 @@ export declare const EventDocument: z.ZodObject<{
1600
1623
  filename: string;
1601
1624
  originalFilename: string;
1602
1625
  }[] | undefined> | undefined;
1626
+ originalActionId?: string | undefined;
1603
1627
  }>, z.ZodObject<z.objectUtil.extendShape<{
1604
1628
  id: z.ZodString;
1605
1629
  createdAt: z.ZodString;
@@ -1833,11 +1857,14 @@ export declare const EventDocument: z.ZodObject<{
1833
1857
  postcodeOrZip?: string | null | undefined;
1834
1858
  }>]>>>;
1835
1859
  createdAtLocation: z.ZodString;
1860
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1861
+ originalActionId: z.ZodOptional<z.ZodString>;
1836
1862
  }, {
1837
1863
  type: z.ZodLiteral<"ARCHIVE">;
1838
1864
  }>, "strip", z.ZodTypeAny, {
1839
1865
  type: "ARCHIVE";
1840
1866
  id: string;
1867
+ status: "Rejected" | "Requested" | "Accepted";
1841
1868
  createdAt: string;
1842
1869
  createdBy: string;
1843
1870
  declaration: Record<string, string | number | boolean | {
@@ -1917,9 +1944,11 @@ export declare const EventDocument: z.ZodObject<{
1917
1944
  filename: string;
1918
1945
  originalFilename: string;
1919
1946
  }[] | undefined> | undefined;
1947
+ originalActionId?: string | undefined;
1920
1948
  }, {
1921
1949
  type: "ARCHIVE";
1922
1950
  id: string;
1951
+ status: "Rejected" | "Requested" | "Accepted";
1923
1952
  createdAt: string;
1924
1953
  createdBy: string;
1925
1954
  declaration: Record<string, string | number | boolean | {
@@ -1999,6 +2028,7 @@ export declare const EventDocument: z.ZodObject<{
1999
2028
  filename: string;
2000
2029
  originalFilename: string;
2001
2030
  }[] | undefined> | undefined;
2031
+ originalActionId?: string | undefined;
2002
2032
  }>, z.ZodObject<z.objectUtil.extendShape<{
2003
2033
  id: z.ZodString;
2004
2034
  createdAt: z.ZodString;
@@ -2232,11 +2262,14 @@ export declare const EventDocument: z.ZodObject<{
2232
2262
  postcodeOrZip?: string | null | undefined;
2233
2263
  }>]>>>;
2234
2264
  createdAtLocation: z.ZodString;
2265
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2266
+ originalActionId: z.ZodOptional<z.ZodString>;
2235
2267
  }, {
2236
2268
  type: z.ZodLiteral<"NOTIFY">;
2237
2269
  }>, "strip", z.ZodTypeAny, {
2238
2270
  type: "NOTIFY";
2239
2271
  id: string;
2272
+ status: "Rejected" | "Requested" | "Accepted";
2240
2273
  createdAt: string;
2241
2274
  createdBy: string;
2242
2275
  declaration: Record<string, string | number | boolean | {
@@ -2316,9 +2349,11 @@ export declare const EventDocument: z.ZodObject<{
2316
2349
  filename: string;
2317
2350
  originalFilename: string;
2318
2351
  }[] | undefined> | undefined;
2352
+ originalActionId?: string | undefined;
2319
2353
  }, {
2320
2354
  type: "NOTIFY";
2321
2355
  id: string;
2356
+ status: "Rejected" | "Requested" | "Accepted";
2322
2357
  createdAt: string;
2323
2358
  createdBy: string;
2324
2359
  declaration: Record<string, string | number | boolean | {
@@ -2398,6 +2433,7 @@ export declare const EventDocument: z.ZodObject<{
2398
2433
  filename: string;
2399
2434
  originalFilename: string;
2400
2435
  }[] | undefined> | undefined;
2436
+ originalActionId?: string | undefined;
2401
2437
  }>, z.ZodObject<z.objectUtil.extendShape<{
2402
2438
  id: z.ZodString;
2403
2439
  createdAt: z.ZodString;
@@ -2631,21 +2667,15 @@ export declare const EventDocument: z.ZodObject<{
2631
2667
  postcodeOrZip?: string | null | undefined;
2632
2668
  }>]>>>;
2633
2669
  createdAtLocation: z.ZodString;
2670
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2671
+ originalActionId: z.ZodOptional<z.ZodString>;
2634
2672
  }, {
2635
2673
  type: z.ZodLiteral<"REGISTER">;
2636
- identifiers: z.ZodObject<{
2637
- trackingId: z.ZodString;
2638
- registrationNumber: z.ZodString;
2639
- }, "strip", z.ZodTypeAny, {
2640
- trackingId: string;
2641
- registrationNumber: string;
2642
- }, {
2643
- trackingId: string;
2644
- registrationNumber: string;
2645
- }>;
2674
+ registrationNumber: z.ZodOptional<z.ZodString>;
2646
2675
  }>, "strip", z.ZodTypeAny, {
2647
2676
  type: "REGISTER";
2648
2677
  id: string;
2678
+ status: "Rejected" | "Requested" | "Accepted";
2649
2679
  createdAt: string;
2650
2680
  createdBy: string;
2651
2681
  declaration: Record<string, string | number | boolean | {
@@ -2687,10 +2717,6 @@ export declare const EventDocument: z.ZodObject<{
2687
2717
  originalFilename: string;
2688
2718
  }[] | undefined>;
2689
2719
  createdAtLocation: string;
2690
- identifiers: {
2691
- trackingId: string;
2692
- registrationNumber: string;
2693
- };
2694
2720
  annotation?: Record<string, string | number | boolean | {
2695
2721
  type: string;
2696
2722
  filename: string;
@@ -2729,9 +2755,12 @@ export declare const EventDocument: z.ZodObject<{
2729
2755
  filename: string;
2730
2756
  originalFilename: string;
2731
2757
  }[] | undefined> | undefined;
2758
+ originalActionId?: string | undefined;
2759
+ registrationNumber?: string | undefined;
2732
2760
  }, {
2733
2761
  type: "REGISTER";
2734
2762
  id: string;
2763
+ status: "Rejected" | "Requested" | "Accepted";
2735
2764
  createdAt: string;
2736
2765
  createdBy: string;
2737
2766
  declaration: Record<string, string | number | boolean | {
@@ -2773,10 +2802,6 @@ export declare const EventDocument: z.ZodObject<{
2773
2802
  originalFilename: string;
2774
2803
  }[] | undefined>;
2775
2804
  createdAtLocation: string;
2776
- identifiers: {
2777
- trackingId: string;
2778
- registrationNumber: string;
2779
- };
2780
2805
  annotation?: Record<string, string | number | boolean | {
2781
2806
  type: string;
2782
2807
  filename: string;
@@ -2815,6 +2840,8 @@ export declare const EventDocument: z.ZodObject<{
2815
2840
  filename: string;
2816
2841
  originalFilename: string;
2817
2842
  }[] | undefined> | undefined;
2843
+ originalActionId?: string | undefined;
2844
+ registrationNumber?: string | undefined;
2818
2845
  }>, z.ZodObject<z.objectUtil.extendShape<{
2819
2846
  id: z.ZodString;
2820
2847
  createdAt: z.ZodString;
@@ -3048,11 +3075,14 @@ export declare const EventDocument: z.ZodObject<{
3048
3075
  postcodeOrZip?: string | null | undefined;
3049
3076
  }>]>>>;
3050
3077
  createdAtLocation: z.ZodString;
3078
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3079
+ originalActionId: z.ZodOptional<z.ZodString>;
3051
3080
  }, {
3052
3081
  type: z.ZodLiteral<"DECLARE">;
3053
3082
  }>, "strip", z.ZodTypeAny, {
3054
3083
  type: "DECLARE";
3055
3084
  id: string;
3085
+ status: "Rejected" | "Requested" | "Accepted";
3056
3086
  createdAt: string;
3057
3087
  createdBy: string;
3058
3088
  declaration: Record<string, string | number | boolean | {
@@ -3132,9 +3162,11 @@ export declare const EventDocument: z.ZodObject<{
3132
3162
  filename: string;
3133
3163
  originalFilename: string;
3134
3164
  }[] | undefined> | undefined;
3165
+ originalActionId?: string | undefined;
3135
3166
  }, {
3136
3167
  type: "DECLARE";
3137
3168
  id: string;
3169
+ status: "Rejected" | "Requested" | "Accepted";
3138
3170
  createdAt: string;
3139
3171
  createdBy: string;
3140
3172
  declaration: Record<string, string | number | boolean | {
@@ -3214,6 +3246,7 @@ export declare const EventDocument: z.ZodObject<{
3214
3246
  filename: string;
3215
3247
  originalFilename: string;
3216
3248
  }[] | undefined> | undefined;
3249
+ originalActionId?: string | undefined;
3217
3250
  }>, z.ZodObject<z.objectUtil.extendShape<{
3218
3251
  id: z.ZodString;
3219
3252
  createdAt: z.ZodString;
@@ -3447,12 +3480,15 @@ export declare const EventDocument: z.ZodObject<{
3447
3480
  postcodeOrZip?: string | null | undefined;
3448
3481
  }>]>>>;
3449
3482
  createdAtLocation: z.ZodString;
3483
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3484
+ originalActionId: z.ZodOptional<z.ZodString>;
3450
3485
  }, {
3451
3486
  type: z.ZodLiteral<"ASSIGN">;
3452
3487
  assignedTo: z.ZodString;
3453
3488
  }>, "strip", z.ZodTypeAny, {
3454
3489
  type: "ASSIGN";
3455
3490
  id: string;
3491
+ status: "Rejected" | "Requested" | "Accepted";
3456
3492
  createdAt: string;
3457
3493
  createdBy: string;
3458
3494
  declaration: Record<string, string | number | boolean | {
@@ -3533,9 +3569,11 @@ export declare const EventDocument: z.ZodObject<{
3533
3569
  filename: string;
3534
3570
  originalFilename: string;
3535
3571
  }[] | undefined> | undefined;
3572
+ originalActionId?: string | undefined;
3536
3573
  }, {
3537
3574
  type: "ASSIGN";
3538
3575
  id: string;
3576
+ status: "Rejected" | "Requested" | "Accepted";
3539
3577
  createdAt: string;
3540
3578
  createdBy: string;
3541
3579
  declaration: Record<string, string | number | boolean | {
@@ -3616,6 +3654,7 @@ export declare const EventDocument: z.ZodObject<{
3616
3654
  filename: string;
3617
3655
  originalFilename: string;
3618
3656
  }[] | undefined> | undefined;
3657
+ originalActionId?: string | undefined;
3619
3658
  }>, z.ZodObject<z.objectUtil.extendShape<{
3620
3659
  id: z.ZodString;
3621
3660
  createdAt: z.ZodString;
@@ -3849,11 +3888,14 @@ export declare const EventDocument: z.ZodObject<{
3849
3888
  postcodeOrZip?: string | null | undefined;
3850
3889
  }>]>>>;
3851
3890
  createdAtLocation: z.ZodString;
3891
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3892
+ originalActionId: z.ZodOptional<z.ZodString>;
3852
3893
  }, {
3853
3894
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
3854
3895
  }>, "strip", z.ZodTypeAny, {
3855
3896
  type: "REQUEST_CORRECTION";
3856
3897
  id: string;
3898
+ status: "Rejected" | "Requested" | "Accepted";
3857
3899
  createdAt: string;
3858
3900
  createdBy: string;
3859
3901
  declaration: Record<string, string | number | boolean | {
@@ -3933,9 +3975,11 @@ export declare const EventDocument: z.ZodObject<{
3933
3975
  filename: string;
3934
3976
  originalFilename: string;
3935
3977
  }[] | undefined> | undefined;
3978
+ originalActionId?: string | undefined;
3936
3979
  }, {
3937
3980
  type: "REQUEST_CORRECTION";
3938
3981
  id: string;
3982
+ status: "Rejected" | "Requested" | "Accepted";
3939
3983
  createdAt: string;
3940
3984
  createdBy: string;
3941
3985
  declaration: Record<string, string | number | boolean | {
@@ -4015,6 +4059,7 @@ export declare const EventDocument: z.ZodObject<{
4015
4059
  filename: string;
4016
4060
  originalFilename: string;
4017
4061
  }[] | undefined> | undefined;
4062
+ originalActionId?: string | undefined;
4018
4063
  }>, z.ZodObject<z.objectUtil.extendShape<{
4019
4064
  id: z.ZodString;
4020
4065
  createdAt: z.ZodString;
@@ -4248,12 +4293,15 @@ export declare const EventDocument: z.ZodObject<{
4248
4293
  postcodeOrZip?: string | null | undefined;
4249
4294
  }>]>>>;
4250
4295
  createdAtLocation: z.ZodString;
4296
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4297
+ originalActionId: z.ZodOptional<z.ZodString>;
4251
4298
  }, {
4252
4299
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4253
4300
  requestId: z.ZodString;
4254
4301
  }>, "strip", z.ZodTypeAny, {
4255
4302
  type: "APPROVE_CORRECTION";
4256
4303
  id: string;
4304
+ status: "Rejected" | "Requested" | "Accepted";
4257
4305
  createdAt: string;
4258
4306
  createdBy: string;
4259
4307
  declaration: Record<string, string | number | boolean | {
@@ -4334,9 +4382,11 @@ export declare const EventDocument: z.ZodObject<{
4334
4382
  filename: string;
4335
4383
  originalFilename: string;
4336
4384
  }[] | undefined> | undefined;
4385
+ originalActionId?: string | undefined;
4337
4386
  }, {
4338
4387
  type: "APPROVE_CORRECTION";
4339
4388
  id: string;
4389
+ status: "Rejected" | "Requested" | "Accepted";
4340
4390
  createdAt: string;
4341
4391
  createdBy: string;
4342
4392
  declaration: Record<string, string | number | boolean | {
@@ -4417,6 +4467,7 @@ export declare const EventDocument: z.ZodObject<{
4417
4467
  filename: string;
4418
4468
  originalFilename: string;
4419
4469
  }[] | undefined> | undefined;
4470
+ originalActionId?: string | undefined;
4420
4471
  }>, z.ZodObject<z.objectUtil.extendShape<{
4421
4472
  id: z.ZodString;
4422
4473
  createdAt: z.ZodString;
@@ -4650,12 +4701,15 @@ export declare const EventDocument: z.ZodObject<{
4650
4701
  postcodeOrZip?: string | null | undefined;
4651
4702
  }>]>>>;
4652
4703
  createdAtLocation: z.ZodString;
4704
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4705
+ originalActionId: z.ZodOptional<z.ZodString>;
4653
4706
  }, {
4654
4707
  type: z.ZodLiteral<"REJECT_CORRECTION">;
4655
4708
  requestId: z.ZodString;
4656
4709
  }>, "strip", z.ZodTypeAny, {
4657
4710
  type: "REJECT_CORRECTION";
4658
4711
  id: string;
4712
+ status: "Rejected" | "Requested" | "Accepted";
4659
4713
  createdAt: string;
4660
4714
  createdBy: string;
4661
4715
  declaration: Record<string, string | number | boolean | {
@@ -4736,9 +4790,11 @@ export declare const EventDocument: z.ZodObject<{
4736
4790
  filename: string;
4737
4791
  originalFilename: string;
4738
4792
  }[] | undefined> | undefined;
4793
+ originalActionId?: string | undefined;
4739
4794
  }, {
4740
4795
  type: "REJECT_CORRECTION";
4741
4796
  id: string;
4797
+ status: "Rejected" | "Requested" | "Accepted";
4742
4798
  createdAt: string;
4743
4799
  createdBy: string;
4744
4800
  declaration: Record<string, string | number | boolean | {
@@ -4819,6 +4875,7 @@ export declare const EventDocument: z.ZodObject<{
4819
4875
  filename: string;
4820
4876
  originalFilename: string;
4821
4877
  }[] | undefined> | undefined;
4878
+ originalActionId?: string | undefined;
4822
4879
  }>, z.ZodObject<z.objectUtil.extendShape<{
4823
4880
  id: z.ZodString;
4824
4881
  createdAt: z.ZodString;
@@ -5052,11 +5109,14 @@ export declare const EventDocument: z.ZodObject<{
5052
5109
  postcodeOrZip?: string | null | undefined;
5053
5110
  }>]>>>;
5054
5111
  createdAtLocation: z.ZodString;
5112
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5113
+ originalActionId: z.ZodOptional<z.ZodString>;
5055
5114
  }, {
5056
5115
  type: z.ZodLiteral<"UNASSIGN">;
5057
5116
  }>, "strip", z.ZodTypeAny, {
5058
5117
  type: "UNASSIGN";
5059
5118
  id: string;
5119
+ status: "Rejected" | "Requested" | "Accepted";
5060
5120
  createdAt: string;
5061
5121
  createdBy: string;
5062
5122
  declaration: Record<string, string | number | boolean | {
@@ -5136,9 +5196,11 @@ export declare const EventDocument: z.ZodObject<{
5136
5196
  filename: string;
5137
5197
  originalFilename: string;
5138
5198
  }[] | undefined> | undefined;
5199
+ originalActionId?: string | undefined;
5139
5200
  }, {
5140
5201
  type: "UNASSIGN";
5141
5202
  id: string;
5203
+ status: "Rejected" | "Requested" | "Accepted";
5142
5204
  createdAt: string;
5143
5205
  createdBy: string;
5144
5206
  declaration: Record<string, string | number | boolean | {
@@ -5218,6 +5280,7 @@ export declare const EventDocument: z.ZodObject<{
5218
5280
  filename: string;
5219
5281
  originalFilename: string;
5220
5282
  }[] | undefined> | undefined;
5283
+ originalActionId?: string | undefined;
5221
5284
  }>, z.ZodObject<z.objectUtil.extendShape<{
5222
5285
  id: z.ZodString;
5223
5286
  createdAt: z.ZodString;
@@ -5451,11 +5514,14 @@ export declare const EventDocument: z.ZodObject<{
5451
5514
  postcodeOrZip?: string | null | undefined;
5452
5515
  }>]>>>;
5453
5516
  createdAtLocation: z.ZodString;
5517
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5518
+ originalActionId: z.ZodOptional<z.ZodString>;
5454
5519
  }, {
5455
5520
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
5456
5521
  }>, "strip", z.ZodTypeAny, {
5457
5522
  type: "PRINT_CERTIFICATE";
5458
5523
  id: string;
5524
+ status: "Rejected" | "Requested" | "Accepted";
5459
5525
  createdAt: string;
5460
5526
  createdBy: string;
5461
5527
  declaration: Record<string, string | number | boolean | {
@@ -5535,9 +5601,11 @@ export declare const EventDocument: z.ZodObject<{
5535
5601
  filename: string;
5536
5602
  originalFilename: string;
5537
5603
  }[] | undefined> | undefined;
5604
+ originalActionId?: string | undefined;
5538
5605
  }, {
5539
5606
  type: "PRINT_CERTIFICATE";
5540
5607
  id: string;
5608
+ status: "Rejected" | "Requested" | "Accepted";
5541
5609
  createdAt: string;
5542
5610
  createdBy: string;
5543
5611
  declaration: Record<string, string | number | boolean | {
@@ -5617,6 +5685,7 @@ export declare const EventDocument: z.ZodObject<{
5617
5685
  filename: string;
5618
5686
  originalFilename: string;
5619
5687
  }[] | undefined> | undefined;
5688
+ originalActionId?: string | undefined;
5620
5689
  }>, z.ZodObject<z.objectUtil.extendShape<{
5621
5690
  id: z.ZodString;
5622
5691
  createdAt: z.ZodString;
@@ -5850,11 +5919,14 @@ export declare const EventDocument: z.ZodObject<{
5850
5919
  postcodeOrZip?: string | null | undefined;
5851
5920
  }>]>>>;
5852
5921
  createdAtLocation: z.ZodString;
5922
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5923
+ originalActionId: z.ZodOptional<z.ZodString>;
5853
5924
  }, {
5854
5925
  type: z.ZodLiteral<"READ">;
5855
5926
  }>, "strip", z.ZodTypeAny, {
5856
5927
  type: "READ";
5857
5928
  id: string;
5929
+ status: "Rejected" | "Requested" | "Accepted";
5858
5930
  createdAt: string;
5859
5931
  createdBy: string;
5860
5932
  declaration: Record<string, string | number | boolean | {
@@ -5934,9 +6006,11 @@ export declare const EventDocument: z.ZodObject<{
5934
6006
  filename: string;
5935
6007
  originalFilename: string;
5936
6008
  }[] | undefined> | undefined;
6009
+ originalActionId?: string | undefined;
5937
6010
  }, {
5938
6011
  type: "READ";
5939
6012
  id: string;
6013
+ status: "Rejected" | "Requested" | "Accepted";
5940
6014
  createdAt: string;
5941
6015
  createdBy: string;
5942
6016
  declaration: Record<string, string | number | boolean | {
@@ -6016,17 +6090,268 @@ export declare const EventDocument: z.ZodObject<{
6016
6090
  filename: string;
6017
6091
  originalFilename: string;
6018
6092
  }[] | undefined> | undefined;
6093
+ originalActionId?: string | undefined;
6094
+ }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6095
+ id: z.ZodString;
6096
+ createdAt: z.ZodString;
6097
+ createdBy: z.ZodString;
6098
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6099
+ filename: z.ZodString;
6100
+ originalFilename: z.ZodString;
6101
+ type: z.ZodString;
6102
+ }, "strip", z.ZodTypeAny, {
6103
+ type: string;
6104
+ filename: string;
6105
+ originalFilename: string;
6106
+ }, {
6107
+ type: string;
6108
+ filename: string;
6109
+ originalFilename: string;
6110
+ }>, z.ZodArray<z.ZodObject<{
6111
+ filename: z.ZodString;
6112
+ originalFilename: z.ZodString;
6113
+ type: z.ZodString;
6114
+ option: z.ZodString;
6115
+ }, "strip", z.ZodTypeAny, {
6116
+ type: string;
6117
+ option: string;
6118
+ filename: string;
6119
+ originalFilename: string;
6120
+ }, {
6121
+ type: string;
6122
+ option: string;
6123
+ filename: string;
6124
+ originalFilename: string;
6125
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
6126
+ country: z.ZodString;
6127
+ addressType: z.ZodLiteral<"DOMESTIC">;
6128
+ province: z.ZodString;
6129
+ district: z.ZodString;
6130
+ }, {
6131
+ urbanOrRural: z.ZodLiteral<"URBAN">;
6132
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6133
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6134
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6135
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6136
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6137
+ }>, "strip", z.ZodTypeAny, {
6138
+ country: string;
6139
+ district: string;
6140
+ addressType: "DOMESTIC";
6141
+ province: string;
6142
+ urbanOrRural: "URBAN";
6143
+ number?: string | null | undefined;
6144
+ town?: string | null | undefined;
6145
+ residentialArea?: string | null | undefined;
6146
+ street?: string | null | undefined;
6147
+ zipCode?: string | null | undefined;
6148
+ }, {
6149
+ country: string;
6150
+ district: string;
6151
+ addressType: "DOMESTIC";
6152
+ province: string;
6153
+ urbanOrRural: "URBAN";
6154
+ number?: string | null | undefined;
6155
+ town?: string | null | undefined;
6156
+ residentialArea?: string | null | undefined;
6157
+ street?: string | null | undefined;
6158
+ zipCode?: string | null | undefined;
6159
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6160
+ country: z.ZodString;
6161
+ addressType: z.ZodLiteral<"DOMESTIC">;
6162
+ province: z.ZodString;
6163
+ district: z.ZodString;
6164
+ }, {
6165
+ urbanOrRural: z.ZodLiteral<"RURAL">;
6166
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6167
+ }>, "strip", z.ZodTypeAny, {
6168
+ country: string;
6169
+ district: string;
6170
+ addressType: "DOMESTIC";
6171
+ province: string;
6172
+ urbanOrRural: "RURAL";
6173
+ village?: string | null | undefined;
6174
+ }, {
6175
+ country: string;
6176
+ district: string;
6177
+ addressType: "DOMESTIC";
6178
+ province: string;
6179
+ urbanOrRural: "RURAL";
6180
+ village?: string | null | undefined;
6181
+ }>, z.ZodUndefined, z.ZodObject<{
6182
+ country: z.ZodString;
6183
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
6184
+ state: z.ZodString;
6185
+ district2: z.ZodString;
6186
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6187
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6188
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6189
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6190
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6191
+ }, "strip", z.ZodTypeAny, {
6192
+ country: string;
6193
+ state: string;
6194
+ addressType: "INTERNATIONAL";
6195
+ district2: string;
6196
+ cityOrTown?: string | null | undefined;
6197
+ addressLine1?: string | null | undefined;
6198
+ addressLine2?: string | null | undefined;
6199
+ addressLine3?: string | null | undefined;
6200
+ postcodeOrZip?: string | null | undefined;
6201
+ }, {
6202
+ country: string;
6203
+ state: string;
6204
+ addressType: "INTERNATIONAL";
6205
+ district2: string;
6206
+ cityOrTown?: string | null | undefined;
6207
+ addressLine1?: string | null | undefined;
6208
+ addressLine2?: string | null | undefined;
6209
+ addressLine3?: string | null | undefined;
6210
+ postcodeOrZip?: string | null | undefined;
6211
+ }>]>>;
6212
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6213
+ filename: z.ZodString;
6214
+ originalFilename: z.ZodString;
6215
+ type: z.ZodString;
6216
+ }, "strip", z.ZodTypeAny, {
6217
+ type: string;
6218
+ filename: string;
6219
+ originalFilename: string;
6220
+ }, {
6221
+ type: string;
6222
+ filename: string;
6223
+ originalFilename: string;
6224
+ }>, z.ZodArray<z.ZodObject<{
6225
+ filename: z.ZodString;
6226
+ originalFilename: z.ZodString;
6227
+ type: z.ZodString;
6228
+ option: z.ZodString;
6229
+ }, "strip", z.ZodTypeAny, {
6230
+ type: string;
6231
+ option: string;
6232
+ filename: string;
6233
+ originalFilename: string;
6234
+ }, {
6235
+ type: string;
6236
+ option: string;
6237
+ filename: string;
6238
+ originalFilename: string;
6239
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
6240
+ country: z.ZodString;
6241
+ addressType: z.ZodLiteral<"DOMESTIC">;
6242
+ province: z.ZodString;
6243
+ district: z.ZodString;
6244
+ }, {
6245
+ urbanOrRural: z.ZodLiteral<"URBAN">;
6246
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6247
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6249
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6250
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6251
+ }>, "strip", z.ZodTypeAny, {
6252
+ country: string;
6253
+ district: string;
6254
+ addressType: "DOMESTIC";
6255
+ province: string;
6256
+ urbanOrRural: "URBAN";
6257
+ number?: string | null | undefined;
6258
+ town?: string | null | undefined;
6259
+ residentialArea?: string | null | undefined;
6260
+ street?: string | null | undefined;
6261
+ zipCode?: string | null | undefined;
6262
+ }, {
6263
+ country: string;
6264
+ district: string;
6265
+ addressType: "DOMESTIC";
6266
+ province: string;
6267
+ urbanOrRural: "URBAN";
6268
+ number?: string | null | undefined;
6269
+ town?: string | null | undefined;
6270
+ residentialArea?: string | null | undefined;
6271
+ street?: string | null | undefined;
6272
+ zipCode?: string | null | undefined;
6273
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6274
+ country: z.ZodString;
6275
+ addressType: z.ZodLiteral<"DOMESTIC">;
6276
+ province: z.ZodString;
6277
+ district: z.ZodString;
6278
+ }, {
6279
+ urbanOrRural: z.ZodLiteral<"RURAL">;
6280
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6281
+ }>, "strip", z.ZodTypeAny, {
6282
+ country: string;
6283
+ district: string;
6284
+ addressType: "DOMESTIC";
6285
+ province: string;
6286
+ urbanOrRural: "RURAL";
6287
+ village?: string | null | undefined;
6288
+ }, {
6289
+ country: string;
6290
+ district: string;
6291
+ addressType: "DOMESTIC";
6292
+ province: string;
6293
+ urbanOrRural: "RURAL";
6294
+ village?: string | null | undefined;
6295
+ }>, z.ZodUndefined, z.ZodObject<{
6296
+ country: z.ZodString;
6297
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
6298
+ state: z.ZodString;
6299
+ district2: z.ZodString;
6300
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6301
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6302
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6303
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6304
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6305
+ }, "strip", z.ZodTypeAny, {
6306
+ country: string;
6307
+ state: string;
6308
+ addressType: "INTERNATIONAL";
6309
+ district2: string;
6310
+ cityOrTown?: string | null | undefined;
6311
+ addressLine1?: string | null | undefined;
6312
+ addressLine2?: string | null | undefined;
6313
+ addressLine3?: string | null | undefined;
6314
+ postcodeOrZip?: string | null | undefined;
6315
+ }, {
6316
+ country: string;
6317
+ state: string;
6318
+ addressType: "INTERNATIONAL";
6319
+ district2: string;
6320
+ cityOrTown?: string | null | undefined;
6321
+ addressLine1?: string | null | undefined;
6322
+ addressLine2?: string | null | undefined;
6323
+ addressLine3?: string | null | undefined;
6324
+ postcodeOrZip?: string | null | undefined;
6325
+ }>]>>>;
6326
+ createdAtLocation: z.ZodString;
6327
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6328
+ originalActionId: z.ZodOptional<z.ZodString>;
6329
+ }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
6330
+ type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6331
+ status: z.ZodLiteral<"Rejected">;
6332
+ }>, "strip", z.ZodTypeAny, {
6333
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6334
+ id: string;
6335
+ status: "Rejected";
6336
+ createdAt: string;
6337
+ originalActionId?: string | undefined;
6338
+ }, {
6339
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6340
+ id: string;
6341
+ status: "Rejected";
6342
+ createdAt: string;
6343
+ originalActionId?: string | undefined;
6019
6344
  }>]>, "many">;
6020
6345
  trackingId: z.ZodString;
6021
6346
  }, "strip", z.ZodTypeAny, {
6022
6347
  type: string;
6023
6348
  id: string;
6024
6349
  createdAt: string;
6025
- trackingId: string;
6026
6350
  updatedAt: string;
6027
6351
  actions: ({
6028
6352
  type: "ASSIGN";
6029
6353
  id: string;
6354
+ status: "Rejected" | "Requested" | "Accepted";
6030
6355
  createdAt: string;
6031
6356
  createdBy: string;
6032
6357
  declaration: Record<string, string | number | boolean | {
@@ -6107,9 +6432,11 @@ export declare const EventDocument: z.ZodObject<{
6107
6432
  filename: string;
6108
6433
  originalFilename: string;
6109
6434
  }[] | undefined> | undefined;
6435
+ originalActionId?: string | undefined;
6110
6436
  } | {
6111
6437
  type: "UNASSIGN";
6112
6438
  id: string;
6439
+ status: "Rejected" | "Requested" | "Accepted";
6113
6440
  createdAt: string;
6114
6441
  createdBy: string;
6115
6442
  declaration: Record<string, string | number | boolean | {
@@ -6189,9 +6516,11 @@ export declare const EventDocument: z.ZodObject<{
6189
6516
  filename: string;
6190
6517
  originalFilename: string;
6191
6518
  }[] | undefined> | undefined;
6519
+ originalActionId?: string | undefined;
6192
6520
  } | {
6193
6521
  type: "REGISTER";
6194
6522
  id: string;
6523
+ status: "Rejected" | "Requested" | "Accepted";
6195
6524
  createdAt: string;
6196
6525
  createdBy: string;
6197
6526
  declaration: Record<string, string | number | boolean | {
@@ -6233,10 +6562,6 @@ export declare const EventDocument: z.ZodObject<{
6233
6562
  originalFilename: string;
6234
6563
  }[] | undefined>;
6235
6564
  createdAtLocation: string;
6236
- identifiers: {
6237
- trackingId: string;
6238
- registrationNumber: string;
6239
- };
6240
6565
  annotation?: Record<string, string | number | boolean | {
6241
6566
  type: string;
6242
6567
  filename: string;
@@ -6275,9 +6600,12 @@ export declare const EventDocument: z.ZodObject<{
6275
6600
  filename: string;
6276
6601
  originalFilename: string;
6277
6602
  }[] | undefined> | undefined;
6603
+ originalActionId?: string | undefined;
6604
+ registrationNumber?: string | undefined;
6278
6605
  } | {
6279
6606
  type: "DECLARE";
6280
6607
  id: string;
6608
+ status: "Rejected" | "Requested" | "Accepted";
6281
6609
  createdAt: string;
6282
6610
  createdBy: string;
6283
6611
  declaration: Record<string, string | number | boolean | {
@@ -6357,9 +6685,11 @@ export declare const EventDocument: z.ZodObject<{
6357
6685
  filename: string;
6358
6686
  originalFilename: string;
6359
6687
  }[] | undefined> | undefined;
6688
+ originalActionId?: string | undefined;
6360
6689
  } | {
6361
6690
  type: "VALIDATE";
6362
6691
  id: string;
6692
+ status: "Rejected" | "Requested" | "Accepted";
6363
6693
  createdAt: string;
6364
6694
  createdBy: string;
6365
6695
  declaration: Record<string, string | number | boolean | {
@@ -6439,9 +6769,11 @@ export declare const EventDocument: z.ZodObject<{
6439
6769
  filename: string;
6440
6770
  originalFilename: string;
6441
6771
  }[] | undefined> | undefined;
6772
+ originalActionId?: string | undefined;
6442
6773
  } | {
6443
6774
  type: "REJECT";
6444
6775
  id: string;
6776
+ status: "Rejected" | "Requested" | "Accepted";
6445
6777
  createdAt: string;
6446
6778
  createdBy: string;
6447
6779
  declaration: Record<string, string | number | boolean | {
@@ -6521,9 +6853,11 @@ export declare const EventDocument: z.ZodObject<{
6521
6853
  filename: string;
6522
6854
  originalFilename: string;
6523
6855
  }[] | undefined> | undefined;
6856
+ originalActionId?: string | undefined;
6524
6857
  } | {
6525
6858
  type: "MARKED_AS_DUPLICATE";
6526
6859
  id: string;
6860
+ status: "Rejected" | "Requested" | "Accepted";
6527
6861
  createdAt: string;
6528
6862
  createdBy: string;
6529
6863
  declaration: Record<string, string | number | boolean | {
@@ -6603,9 +6937,11 @@ export declare const EventDocument: z.ZodObject<{
6603
6937
  filename: string;
6604
6938
  originalFilename: string;
6605
6939
  }[] | undefined> | undefined;
6940
+ originalActionId?: string | undefined;
6606
6941
  } | {
6607
6942
  type: "ARCHIVE";
6608
6943
  id: string;
6944
+ status: "Rejected" | "Requested" | "Accepted";
6609
6945
  createdAt: string;
6610
6946
  createdBy: string;
6611
6947
  declaration: Record<string, string | number | boolean | {
@@ -6685,9 +7021,11 @@ export declare const EventDocument: z.ZodObject<{
6685
7021
  filename: string;
6686
7022
  originalFilename: string;
6687
7023
  }[] | undefined> | undefined;
7024
+ originalActionId?: string | undefined;
6688
7025
  } | {
6689
7026
  type: "CREATE";
6690
7027
  id: string;
7028
+ status: "Rejected" | "Requested" | "Accepted";
6691
7029
  createdAt: string;
6692
7030
  createdBy: string;
6693
7031
  declaration: Record<string, string | number | boolean | {
@@ -6767,9 +7105,11 @@ export declare const EventDocument: z.ZodObject<{
6767
7105
  filename: string;
6768
7106
  originalFilename: string;
6769
7107
  }[] | undefined> | undefined;
7108
+ originalActionId?: string | undefined;
6770
7109
  } | {
6771
7110
  type: "NOTIFY";
6772
7111
  id: string;
7112
+ status: "Rejected" | "Requested" | "Accepted";
6773
7113
  createdAt: string;
6774
7114
  createdBy: string;
6775
7115
  declaration: Record<string, string | number | boolean | {
@@ -6849,9 +7189,11 @@ export declare const EventDocument: z.ZodObject<{
6849
7189
  filename: string;
6850
7190
  originalFilename: string;
6851
7191
  }[] | undefined> | undefined;
7192
+ originalActionId?: string | undefined;
6852
7193
  } | {
6853
7194
  type: "PRINT_CERTIFICATE";
6854
7195
  id: string;
7196
+ status: "Rejected" | "Requested" | "Accepted";
6855
7197
  createdAt: string;
6856
7198
  createdBy: string;
6857
7199
  declaration: Record<string, string | number | boolean | {
@@ -6931,9 +7273,11 @@ export declare const EventDocument: z.ZodObject<{
6931
7273
  filename: string;
6932
7274
  originalFilename: string;
6933
7275
  }[] | undefined> | undefined;
7276
+ originalActionId?: string | undefined;
6934
7277
  } | {
6935
7278
  type: "REQUEST_CORRECTION";
6936
7279
  id: string;
7280
+ status: "Rejected" | "Requested" | "Accepted";
6937
7281
  createdAt: string;
6938
7282
  createdBy: string;
6939
7283
  declaration: Record<string, string | number | boolean | {
@@ -7013,9 +7357,11 @@ export declare const EventDocument: z.ZodObject<{
7013
7357
  filename: string;
7014
7358
  originalFilename: string;
7015
7359
  }[] | undefined> | undefined;
7360
+ originalActionId?: string | undefined;
7016
7361
  } | {
7017
7362
  type: "APPROVE_CORRECTION";
7018
7363
  id: string;
7364
+ status: "Rejected" | "Requested" | "Accepted";
7019
7365
  createdAt: string;
7020
7366
  createdBy: string;
7021
7367
  declaration: Record<string, string | number | boolean | {
@@ -7096,9 +7442,11 @@ export declare const EventDocument: z.ZodObject<{
7096
7442
  filename: string;
7097
7443
  originalFilename: string;
7098
7444
  }[] | undefined> | undefined;
7445
+ originalActionId?: string | undefined;
7099
7446
  } | {
7100
7447
  type: "REJECT_CORRECTION";
7101
7448
  id: string;
7449
+ status: "Rejected" | "Requested" | "Accepted";
7102
7450
  createdAt: string;
7103
7451
  createdBy: string;
7104
7452
  declaration: Record<string, string | number | boolean | {
@@ -7179,9 +7527,11 @@ export declare const EventDocument: z.ZodObject<{
7179
7527
  filename: string;
7180
7528
  originalFilename: string;
7181
7529
  }[] | undefined> | undefined;
7530
+ originalActionId?: string | undefined;
7182
7531
  } | {
7183
7532
  type: "READ";
7184
7533
  id: string;
7534
+ status: "Rejected" | "Requested" | "Accepted";
7185
7535
  createdAt: string;
7186
7536
  createdBy: string;
7187
7537
  declaration: Record<string, string | number | boolean | {
@@ -7261,16 +7611,24 @@ export declare const EventDocument: z.ZodObject<{
7261
7611
  filename: string;
7262
7612
  originalFilename: string;
7263
7613
  }[] | undefined> | undefined;
7614
+ originalActionId?: string | undefined;
7615
+ } | {
7616
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7617
+ id: string;
7618
+ status: "Rejected";
7619
+ createdAt: string;
7620
+ originalActionId?: string | undefined;
7264
7621
  })[];
7622
+ trackingId: string;
7265
7623
  }, {
7266
7624
  type: string;
7267
7625
  id: string;
7268
7626
  createdAt: string;
7269
- trackingId: string;
7270
7627
  updatedAt: string;
7271
7628
  actions: ({
7272
7629
  type: "ASSIGN";
7273
7630
  id: string;
7631
+ status: "Rejected" | "Requested" | "Accepted";
7274
7632
  createdAt: string;
7275
7633
  createdBy: string;
7276
7634
  declaration: Record<string, string | number | boolean | {
@@ -7351,9 +7709,11 @@ export declare const EventDocument: z.ZodObject<{
7351
7709
  filename: string;
7352
7710
  originalFilename: string;
7353
7711
  }[] | undefined> | undefined;
7712
+ originalActionId?: string | undefined;
7354
7713
  } | {
7355
7714
  type: "UNASSIGN";
7356
7715
  id: string;
7716
+ status: "Rejected" | "Requested" | "Accepted";
7357
7717
  createdAt: string;
7358
7718
  createdBy: string;
7359
7719
  declaration: Record<string, string | number | boolean | {
@@ -7433,9 +7793,11 @@ export declare const EventDocument: z.ZodObject<{
7433
7793
  filename: string;
7434
7794
  originalFilename: string;
7435
7795
  }[] | undefined> | undefined;
7796
+ originalActionId?: string | undefined;
7436
7797
  } | {
7437
7798
  type: "REGISTER";
7438
7799
  id: string;
7800
+ status: "Rejected" | "Requested" | "Accepted";
7439
7801
  createdAt: string;
7440
7802
  createdBy: string;
7441
7803
  declaration: Record<string, string | number | boolean | {
@@ -7477,10 +7839,6 @@ export declare const EventDocument: z.ZodObject<{
7477
7839
  originalFilename: string;
7478
7840
  }[] | undefined>;
7479
7841
  createdAtLocation: string;
7480
- identifiers: {
7481
- trackingId: string;
7482
- registrationNumber: string;
7483
- };
7484
7842
  annotation?: Record<string, string | number | boolean | {
7485
7843
  type: string;
7486
7844
  filename: string;
@@ -7519,9 +7877,12 @@ export declare const EventDocument: z.ZodObject<{
7519
7877
  filename: string;
7520
7878
  originalFilename: string;
7521
7879
  }[] | undefined> | undefined;
7880
+ originalActionId?: string | undefined;
7881
+ registrationNumber?: string | undefined;
7522
7882
  } | {
7523
7883
  type: "DECLARE";
7524
7884
  id: string;
7885
+ status: "Rejected" | "Requested" | "Accepted";
7525
7886
  createdAt: string;
7526
7887
  createdBy: string;
7527
7888
  declaration: Record<string, string | number | boolean | {
@@ -7601,9 +7962,11 @@ export declare const EventDocument: z.ZodObject<{
7601
7962
  filename: string;
7602
7963
  originalFilename: string;
7603
7964
  }[] | undefined> | undefined;
7965
+ originalActionId?: string | undefined;
7604
7966
  } | {
7605
7967
  type: "VALIDATE";
7606
7968
  id: string;
7969
+ status: "Rejected" | "Requested" | "Accepted";
7607
7970
  createdAt: string;
7608
7971
  createdBy: string;
7609
7972
  declaration: Record<string, string | number | boolean | {
@@ -7683,9 +8046,11 @@ export declare const EventDocument: z.ZodObject<{
7683
8046
  filename: string;
7684
8047
  originalFilename: string;
7685
8048
  }[] | undefined> | undefined;
8049
+ originalActionId?: string | undefined;
7686
8050
  } | {
7687
8051
  type: "REJECT";
7688
8052
  id: string;
8053
+ status: "Rejected" | "Requested" | "Accepted";
7689
8054
  createdAt: string;
7690
8055
  createdBy: string;
7691
8056
  declaration: Record<string, string | number | boolean | {
@@ -7765,9 +8130,11 @@ export declare const EventDocument: z.ZodObject<{
7765
8130
  filename: string;
7766
8131
  originalFilename: string;
7767
8132
  }[] | undefined> | undefined;
8133
+ originalActionId?: string | undefined;
7768
8134
  } | {
7769
8135
  type: "MARKED_AS_DUPLICATE";
7770
8136
  id: string;
8137
+ status: "Rejected" | "Requested" | "Accepted";
7771
8138
  createdAt: string;
7772
8139
  createdBy: string;
7773
8140
  declaration: Record<string, string | number | boolean | {
@@ -7847,9 +8214,11 @@ export declare const EventDocument: z.ZodObject<{
7847
8214
  filename: string;
7848
8215
  originalFilename: string;
7849
8216
  }[] | undefined> | undefined;
8217
+ originalActionId?: string | undefined;
7850
8218
  } | {
7851
8219
  type: "ARCHIVE";
7852
8220
  id: string;
8221
+ status: "Rejected" | "Requested" | "Accepted";
7853
8222
  createdAt: string;
7854
8223
  createdBy: string;
7855
8224
  declaration: Record<string, string | number | boolean | {
@@ -7929,9 +8298,11 @@ export declare const EventDocument: z.ZodObject<{
7929
8298
  filename: string;
7930
8299
  originalFilename: string;
7931
8300
  }[] | undefined> | undefined;
8301
+ originalActionId?: string | undefined;
7932
8302
  } | {
7933
8303
  type: "CREATE";
7934
8304
  id: string;
8305
+ status: "Rejected" | "Requested" | "Accepted";
7935
8306
  createdAt: string;
7936
8307
  createdBy: string;
7937
8308
  declaration: Record<string, string | number | boolean | {
@@ -8011,9 +8382,11 @@ export declare const EventDocument: z.ZodObject<{
8011
8382
  filename: string;
8012
8383
  originalFilename: string;
8013
8384
  }[] | undefined> | undefined;
8385
+ originalActionId?: string | undefined;
8014
8386
  } | {
8015
8387
  type: "NOTIFY";
8016
8388
  id: string;
8389
+ status: "Rejected" | "Requested" | "Accepted";
8017
8390
  createdAt: string;
8018
8391
  createdBy: string;
8019
8392
  declaration: Record<string, string | number | boolean | {
@@ -8093,9 +8466,11 @@ export declare const EventDocument: z.ZodObject<{
8093
8466
  filename: string;
8094
8467
  originalFilename: string;
8095
8468
  }[] | undefined> | undefined;
8469
+ originalActionId?: string | undefined;
8096
8470
  } | {
8097
8471
  type: "PRINT_CERTIFICATE";
8098
8472
  id: string;
8473
+ status: "Rejected" | "Requested" | "Accepted";
8099
8474
  createdAt: string;
8100
8475
  createdBy: string;
8101
8476
  declaration: Record<string, string | number | boolean | {
@@ -8175,9 +8550,11 @@ export declare const EventDocument: z.ZodObject<{
8175
8550
  filename: string;
8176
8551
  originalFilename: string;
8177
8552
  }[] | undefined> | undefined;
8553
+ originalActionId?: string | undefined;
8178
8554
  } | {
8179
8555
  type: "REQUEST_CORRECTION";
8180
8556
  id: string;
8557
+ status: "Rejected" | "Requested" | "Accepted";
8181
8558
  createdAt: string;
8182
8559
  createdBy: string;
8183
8560
  declaration: Record<string, string | number | boolean | {
@@ -8257,9 +8634,11 @@ export declare const EventDocument: z.ZodObject<{
8257
8634
  filename: string;
8258
8635
  originalFilename: string;
8259
8636
  }[] | undefined> | undefined;
8637
+ originalActionId?: string | undefined;
8260
8638
  } | {
8261
8639
  type: "APPROVE_CORRECTION";
8262
8640
  id: string;
8641
+ status: "Rejected" | "Requested" | "Accepted";
8263
8642
  createdAt: string;
8264
8643
  createdBy: string;
8265
8644
  declaration: Record<string, string | number | boolean | {
@@ -8340,9 +8719,11 @@ export declare const EventDocument: z.ZodObject<{
8340
8719
  filename: string;
8341
8720
  originalFilename: string;
8342
8721
  }[] | undefined> | undefined;
8722
+ originalActionId?: string | undefined;
8343
8723
  } | {
8344
8724
  type: "REJECT_CORRECTION";
8345
8725
  id: string;
8726
+ status: "Rejected" | "Requested" | "Accepted";
8346
8727
  createdAt: string;
8347
8728
  createdBy: string;
8348
8729
  declaration: Record<string, string | number | boolean | {
@@ -8423,9 +8804,11 @@ export declare const EventDocument: z.ZodObject<{
8423
8804
  filename: string;
8424
8805
  originalFilename: string;
8425
8806
  }[] | undefined> | undefined;
8807
+ originalActionId?: string | undefined;
8426
8808
  } | {
8427
8809
  type: "READ";
8428
8810
  id: string;
8811
+ status: "Rejected" | "Requested" | "Accepted";
8429
8812
  createdAt: string;
8430
8813
  createdBy: string;
8431
8814
  declaration: Record<string, string | number | boolean | {
@@ -8505,7 +8888,15 @@ export declare const EventDocument: z.ZodObject<{
8505
8888
  filename: string;
8506
8889
  originalFilename: string;
8507
8890
  }[] | undefined> | undefined;
8891
+ originalActionId?: string | undefined;
8892
+ } | {
8893
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8894
+ id: string;
8895
+ status: "Rejected";
8896
+ createdAt: string;
8897
+ originalActionId?: string | undefined;
8508
8898
  })[];
8899
+ trackingId: string;
8509
8900
  }>;
8510
8901
  export type EventDocument = z.infer<typeof EventDocument>;
8511
8902
  //# sourceMappingURL=EventDocument.d.ts.map