@opencrvs/toolkit 1.8.0-rc.f8a9481 → 1.8.0-rc.f8b1f33

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.
@@ -233,7 +233,6 @@ export declare const BaseActionInput: z.ZodObject<{
233
233
  originalActionId: z.ZodOptional<z.ZodString>;
234
234
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
235
235
  }, "strip", z.ZodTypeAny, {
236
- transactionId: string;
237
236
  declaration: Record<string, string | number | boolean | {
238
237
  type: string;
239
238
  filename: string;
@@ -273,6 +272,7 @@ export declare const BaseActionInput: z.ZodObject<{
273
272
  originalFilename: string;
274
273
  }[] | undefined>;
275
274
  eventId: string;
275
+ transactionId: string;
276
276
  annotation?: Record<string, string | number | boolean | {
277
277
  type: string;
278
278
  filename: string;
@@ -314,8 +314,8 @@ export declare const BaseActionInput: z.ZodObject<{
314
314
  originalActionId?: string | undefined;
315
315
  keepAssignment?: boolean | undefined;
316
316
  }, {
317
- transactionId: string;
318
317
  eventId: string;
318
+ transactionId: string;
319
319
  declaration?: Record<string, string | number | boolean | {
320
320
  type: string;
321
321
  filename: string;
@@ -633,7 +633,6 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
633
633
  registrationNumber: z.ZodOptional<z.ZodString>;
634
634
  }>, "strip", z.ZodTypeAny, {
635
635
  type: "REGISTER";
636
- transactionId: string;
637
636
  declaration: Record<string, string | number | boolean | {
638
637
  type: string;
639
638
  filename: string;
@@ -673,6 +672,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
673
672
  originalFilename: string;
674
673
  }[] | undefined>;
675
674
  eventId: string;
675
+ transactionId: string;
676
676
  annotation?: Record<string, string | number | boolean | {
677
677
  type: string;
678
678
  filename: string;
@@ -715,8 +715,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
715
715
  registrationNumber?: string | undefined;
716
716
  keepAssignment?: boolean | undefined;
717
717
  }, {
718
- transactionId: string;
719
718
  eventId: string;
719
+ transactionId: string;
720
720
  type?: "REGISTER" | undefined;
721
721
  declaration?: Record<string, string | number | boolean | {
722
722
  type: string;
@@ -1037,7 +1037,6 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1037
1037
  duplicates: z.ZodArray<z.ZodString, "many">;
1038
1038
  }>, "strip", z.ZodTypeAny, {
1039
1039
  type: "VALIDATE";
1040
- transactionId: string;
1041
1040
  declaration: Record<string, string | number | boolean | {
1042
1041
  type: string;
1043
1042
  filename: string;
@@ -1077,6 +1076,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1077
1076
  originalFilename: string;
1078
1077
  }[] | undefined>;
1079
1078
  eventId: string;
1079
+ transactionId: string;
1080
1080
  duplicates: string[];
1081
1081
  annotation?: Record<string, string | number | boolean | {
1082
1082
  type: string;
@@ -1119,8 +1119,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1119
1119
  originalActionId?: string | undefined;
1120
1120
  keepAssignment?: boolean | undefined;
1121
1121
  }, {
1122
- transactionId: string;
1123
1122
  eventId: string;
1123
+ transactionId: string;
1124
1124
  duplicates: string[];
1125
1125
  type?: "VALIDATE" | undefined;
1126
1126
  declaration?: Record<string, string | number | boolean | {
@@ -1440,7 +1440,6 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1440
1440
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1441
1441
  }>, "strip", z.ZodTypeAny, {
1442
1442
  type: "NOTIFY";
1443
- transactionId: string;
1444
1443
  declaration: Record<string, string | number | boolean | {
1445
1444
  type: string;
1446
1445
  filename: string;
@@ -1480,6 +1479,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1480
1479
  originalFilename: string;
1481
1480
  }[] | undefined>;
1482
1481
  eventId: string;
1482
+ transactionId: string;
1483
1483
  annotation?: Record<string, string | number | boolean | {
1484
1484
  type: string;
1485
1485
  filename: string;
@@ -1521,8 +1521,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1521
1521
  originalActionId?: string | undefined;
1522
1522
  keepAssignment?: boolean | undefined;
1523
1523
  }, {
1524
- transactionId: string;
1525
1524
  eventId: string;
1525
+ transactionId: string;
1526
1526
  type?: "NOTIFY" | undefined;
1527
1527
  declaration?: Record<string, string | number | boolean | {
1528
1528
  type: string;
@@ -1841,7 +1841,6 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1841
1841
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1842
1842
  }>, "strip", z.ZodTypeAny, {
1843
1843
  type: "DECLARE";
1844
- transactionId: string;
1845
1844
  declaration: Record<string, string | number | boolean | {
1846
1845
  type: string;
1847
1846
  filename: string;
@@ -1881,6 +1880,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1881
1880
  originalFilename: string;
1882
1881
  }[] | undefined>;
1883
1882
  eventId: string;
1883
+ transactionId: string;
1884
1884
  annotation?: Record<string, string | number | boolean | {
1885
1885
  type: string;
1886
1886
  filename: string;
@@ -1922,8 +1922,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1922
1922
  originalActionId?: string | undefined;
1923
1923
  keepAssignment?: boolean | undefined;
1924
1924
  }, {
1925
- transactionId: string;
1926
1925
  eventId: string;
1926
+ transactionId: string;
1927
1927
  type?: "DECLARE" | undefined;
1928
1928
  declaration?: Record<string, string | number | boolean | {
1929
1929
  type: string;
@@ -2241,7 +2241,6 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2241
2241
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2242
2242
  }>, "strip", z.ZodTypeAny, {
2243
2243
  type: "PRINT_CERTIFICATE";
2244
- transactionId: string;
2245
2244
  declaration: Record<string, string | number | boolean | {
2246
2245
  type: string;
2247
2246
  filename: string;
@@ -2281,6 +2280,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2281
2280
  originalFilename: string;
2282
2281
  }[] | undefined>;
2283
2282
  eventId: string;
2283
+ transactionId: string;
2284
2284
  annotation?: Record<string, string | number | boolean | {
2285
2285
  type: string;
2286
2286
  filename: string;
@@ -2322,8 +2322,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2322
2322
  originalActionId?: string | undefined;
2323
2323
  keepAssignment?: boolean | undefined;
2324
2324
  }, {
2325
- transactionId: string;
2326
2325
  eventId: string;
2326
+ transactionId: string;
2327
2327
  type?: "PRINT_CERTIFICATE" | undefined;
2328
2328
  declaration?: Record<string, string | number | boolean | {
2329
2329
  type: string;
@@ -2642,7 +2642,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2642
2642
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2643
2643
  }>, "strip", z.ZodTypeAny, {
2644
2644
  type: "REJECT";
2645
- transactionId: string;
2646
2645
  declaration: Record<string, string | number | boolean | {
2647
2646
  type: string;
2648
2647
  filename: string;
@@ -2682,6 +2681,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2682
2681
  originalFilename: string;
2683
2682
  }[] | undefined>;
2684
2683
  eventId: string;
2684
+ transactionId: string;
2685
2685
  annotation?: Record<string, string | number | boolean | {
2686
2686
  type: string;
2687
2687
  filename: string;
@@ -2723,8 +2723,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2723
2723
  originalActionId?: string | undefined;
2724
2724
  keepAssignment?: boolean | undefined;
2725
2725
  }, {
2726
- transactionId: string;
2727
2726
  eventId: string;
2727
+ transactionId: string;
2728
2728
  type?: "REJECT" | undefined;
2729
2729
  declaration?: Record<string, string | number | boolean | {
2730
2730
  type: string;
@@ -3043,7 +3043,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3043
3043
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3044
3044
  }>, "strip", z.ZodTypeAny, {
3045
3045
  type: "MARKED_AS_DUPLICATE";
3046
- transactionId: string;
3047
3046
  declaration: Record<string, string | number | boolean | {
3048
3047
  type: string;
3049
3048
  filename: string;
@@ -3083,6 +3082,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3083
3082
  originalFilename: string;
3084
3083
  }[] | undefined>;
3085
3084
  eventId: string;
3085
+ transactionId: string;
3086
3086
  annotation?: Record<string, string | number | boolean | {
3087
3087
  type: string;
3088
3088
  filename: string;
@@ -3124,8 +3124,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3124
3124
  originalActionId?: string | undefined;
3125
3125
  keepAssignment?: boolean | undefined;
3126
3126
  }, {
3127
- transactionId: string;
3128
3127
  eventId: string;
3128
+ transactionId: string;
3129
3129
  type?: "MARKED_AS_DUPLICATE" | undefined;
3130
3130
  declaration?: Record<string, string | number | boolean | {
3131
3131
  type: string;
@@ -3444,7 +3444,6 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3444
3444
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3445
3445
  }>, "strip", z.ZodTypeAny, {
3446
3446
  type: "ARCHIVE";
3447
- transactionId: string;
3448
3447
  declaration: Record<string, string | number | boolean | {
3449
3448
  type: string;
3450
3449
  filename: string;
@@ -3484,6 +3483,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3484
3483
  originalFilename: string;
3485
3484
  }[] | undefined>;
3486
3485
  eventId: string;
3486
+ transactionId: string;
3487
3487
  annotation?: Record<string, string | number | boolean | {
3488
3488
  type: string;
3489
3489
  filename: string;
@@ -3525,8 +3525,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3525
3525
  originalActionId?: string | undefined;
3526
3526
  keepAssignment?: boolean | undefined;
3527
3527
  }, {
3528
- transactionId: string;
3529
3528
  eventId: string;
3529
+ transactionId: string;
3530
3530
  type?: "ARCHIVE" | undefined;
3531
3531
  declaration?: Record<string, string | number | boolean | {
3532
3532
  type: string;
@@ -3846,7 +3846,6 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3846
3846
  assignedTo: z.ZodString;
3847
3847
  }>, "strip", z.ZodTypeAny, {
3848
3848
  type: "ASSIGN";
3849
- transactionId: string;
3850
3849
  declaration: Record<string, string | number | boolean | {
3851
3850
  type: string;
3852
3851
  filename: string;
@@ -3887,6 +3886,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3887
3886
  }[] | undefined>;
3888
3887
  assignedTo: string;
3889
3888
  eventId: string;
3889
+ transactionId: string;
3890
3890
  annotation?: Record<string, string | number | boolean | {
3891
3891
  type: string;
3892
3892
  filename: string;
@@ -3928,9 +3928,9 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3928
3928
  originalActionId?: string | undefined;
3929
3929
  keepAssignment?: boolean | undefined;
3930
3930
  }, {
3931
- transactionId: string;
3932
3931
  assignedTo: string;
3933
3932
  eventId: string;
3933
+ transactionId: string;
3934
3934
  type?: "ASSIGN" | undefined;
3935
3935
  declaration?: Record<string, string | number | boolean | {
3936
3936
  type: string;
@@ -4250,7 +4250,6 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4250
4250
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
4251
4251
  }>, "strip", z.ZodTypeAny, {
4252
4252
  type: "UNASSIGN";
4253
- transactionId: string;
4254
4253
  declaration: Record<string, string | number | boolean | {
4255
4254
  type: string;
4256
4255
  filename: string;
@@ -4291,6 +4290,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4291
4290
  }[] | undefined>;
4292
4291
  assignedTo: null;
4293
4292
  eventId: string;
4293
+ transactionId: string;
4294
4294
  annotation?: Record<string, string | number | boolean | {
4295
4295
  type: string;
4296
4296
  filename: string;
@@ -4332,8 +4332,8 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4332
4332
  originalActionId?: string | undefined;
4333
4333
  keepAssignment?: boolean | undefined;
4334
4334
  }, {
4335
- transactionId: string;
4336
4335
  eventId: string;
4336
+ transactionId: string;
4337
4337
  type?: "UNASSIGN" | undefined;
4338
4338
  declaration?: Record<string, string | number | boolean | {
4339
4339
  type: string;
@@ -4653,7 +4653,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4653
4653
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
4654
4654
  }>, "strip", z.ZodTypeAny, {
4655
4655
  type: "REQUEST_CORRECTION";
4656
- transactionId: string;
4657
4656
  declaration: Record<string, string | number | boolean | {
4658
4657
  type: string;
4659
4658
  filename: string;
@@ -4693,6 +4692,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4693
4692
  originalFilename: string;
4694
4693
  }[] | undefined>;
4695
4694
  eventId: string;
4695
+ transactionId: string;
4696
4696
  annotation?: Record<string, string | number | boolean | {
4697
4697
  type: string;
4698
4698
  filename: string;
@@ -4734,8 +4734,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4734
4734
  originalActionId?: string | undefined;
4735
4735
  keepAssignment?: boolean | undefined;
4736
4736
  }, {
4737
- transactionId: string;
4738
4737
  eventId: string;
4738
+ transactionId: string;
4739
4739
  type?: "REQUEST_CORRECTION" | undefined;
4740
4740
  declaration?: Record<string, string | number | boolean | {
4741
4741
  type: string;
@@ -5055,7 +5055,6 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5055
5055
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5056
5056
  }>, "strip", z.ZodTypeAny, {
5057
5057
  type: "REJECT_CORRECTION";
5058
- transactionId: string;
5059
5058
  declaration: Record<string, string | number | boolean | {
5060
5059
  type: string;
5061
5060
  filename: string;
@@ -5096,6 +5095,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5096
5095
  }[] | undefined>;
5097
5096
  requestId: string;
5098
5097
  eventId: string;
5098
+ transactionId: string;
5099
5099
  annotation?: Record<string, string | number | boolean | {
5100
5100
  type: string;
5101
5101
  filename: string;
@@ -5137,9 +5137,9 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5137
5137
  originalActionId?: string | undefined;
5138
5138
  keepAssignment?: boolean | undefined;
5139
5139
  }, {
5140
- transactionId: string;
5141
5140
  requestId: string;
5142
5141
  eventId: string;
5142
+ transactionId: string;
5143
5143
  type?: "REJECT_CORRECTION" | undefined;
5144
5144
  declaration?: Record<string, string | number | boolean | {
5145
5145
  type: string;
@@ -5459,7 +5459,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5459
5459
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
5460
5460
  }>, "strip", z.ZodTypeAny, {
5461
5461
  type: "APPROVE_CORRECTION";
5462
- transactionId: string;
5463
5462
  declaration: Record<string, string | number | boolean | {
5464
5463
  type: string;
5465
5464
  filename: string;
@@ -5500,6 +5499,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5500
5499
  }[] | undefined>;
5501
5500
  requestId: string;
5502
5501
  eventId: string;
5502
+ transactionId: string;
5503
5503
  annotation?: Record<string, string | number | boolean | {
5504
5504
  type: string;
5505
5505
  filename: string;
@@ -5541,9 +5541,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5541
5541
  originalActionId?: string | undefined;
5542
5542
  keepAssignment?: boolean | undefined;
5543
5543
  }, {
5544
- transactionId: string;
5545
5544
  requestId: string;
5546
5545
  eventId: string;
5546
+ transactionId: string;
5547
5547
  type?: "APPROVE_CORRECTION" | undefined;
5548
5548
  declaration?: Record<string, string | number | boolean | {
5549
5549
  type: string;
@@ -5862,7 +5862,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5862
5862
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
5863
5863
  }>, "strip", z.ZodTypeAny, {
5864
5864
  type: "READ";
5865
- transactionId: string;
5866
5865
  declaration: Record<string, string | number | boolean | {
5867
5866
  type: string;
5868
5867
  filename: string;
@@ -5902,6 +5901,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5902
5901
  originalFilename: string;
5903
5902
  }[] | undefined>;
5904
5903
  eventId: string;
5904
+ transactionId: string;
5905
5905
  annotation?: Record<string, string | number | boolean | {
5906
5906
  type: string;
5907
5907
  filename: string;
@@ -5943,8 +5943,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5943
5943
  originalActionId?: string | undefined;
5944
5944
  keepAssignment?: boolean | undefined;
5945
5945
  }, {
5946
- transactionId: string;
5947
5946
  eventId: string;
5947
+ transactionId: string;
5948
5948
  type?: "READ" | undefined;
5949
5949
  declaration?: Record<string, string | number | boolean | {
5950
5950
  type: string;
@@ -6026,14 +6026,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
6026
6026
  keepAssignment?: boolean | undefined;
6027
6027
  }>;
6028
6028
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
6029
- export declare const DeleteActionInput: z.ZodObject<{
6030
- eventId: z.ZodString;
6031
- }, "strip", z.ZodTypeAny, {
6032
- eventId: string;
6033
- }, {
6034
- eventId: string;
6035
- }>;
6036
- export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
6037
6029
  /**
6038
6030
  * ActionInput types are used to validate the input data for the action.
6039
6031
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -6280,7 +6272,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6280
6272
  createdAtLocation: z.ZodString;
6281
6273
  }>, "strip", z.ZodTypeAny, {
6282
6274
  type: "CREATE";
6283
- transactionId: string;
6284
6275
  declaration: Record<string, string | number | boolean | {
6285
6276
  type: string;
6286
6277
  filename: string;
@@ -6321,6 +6312,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6321
6312
  }[] | undefined>;
6322
6313
  createdAtLocation: string;
6323
6314
  eventId: string;
6315
+ transactionId: string;
6324
6316
  annotation?: Record<string, string | number | boolean | {
6325
6317
  type: string;
6326
6318
  filename: string;
@@ -6362,9 +6354,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6362
6354
  originalActionId?: string | undefined;
6363
6355
  keepAssignment?: boolean | undefined;
6364
6356
  }, {
6365
- transactionId: string;
6366
6357
  createdAtLocation: string;
6367
6358
  eventId: string;
6359
+ transactionId: string;
6368
6360
  type?: "CREATE" | undefined;
6369
6361
  declaration?: Record<string, string | number | boolean | {
6370
6362
  type: string;
@@ -6682,7 +6674,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6682
6674
  duplicates: z.ZodArray<z.ZodString, "many">;
6683
6675
  }>, "strip", z.ZodTypeAny, {
6684
6676
  type: "VALIDATE";
6685
- transactionId: string;
6686
6677
  declaration: Record<string, string | number | boolean | {
6687
6678
  type: string;
6688
6679
  filename: string;
@@ -6722,6 +6713,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6722
6713
  originalFilename: string;
6723
6714
  }[] | undefined>;
6724
6715
  eventId: string;
6716
+ transactionId: string;
6725
6717
  duplicates: string[];
6726
6718
  annotation?: Record<string, string | number | boolean | {
6727
6719
  type: string;
@@ -6764,8 +6756,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6764
6756
  originalActionId?: string | undefined;
6765
6757
  keepAssignment?: boolean | undefined;
6766
6758
  }, {
6767
- transactionId: string;
6768
6759
  eventId: string;
6760
+ transactionId: string;
6769
6761
  duplicates: string[];
6770
6762
  type?: "VALIDATE" | undefined;
6771
6763
  declaration?: Record<string, string | number | boolean | {
@@ -7084,7 +7076,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7084
7076
  registrationNumber: z.ZodOptional<z.ZodString>;
7085
7077
  }>, "strip", z.ZodTypeAny, {
7086
7078
  type: "REGISTER";
7087
- transactionId: string;
7088
7079
  declaration: Record<string, string | number | boolean | {
7089
7080
  type: string;
7090
7081
  filename: string;
@@ -7124,6 +7115,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7124
7115
  originalFilename: string;
7125
7116
  }[] | undefined>;
7126
7117
  eventId: string;
7118
+ transactionId: string;
7127
7119
  annotation?: Record<string, string | number | boolean | {
7128
7120
  type: string;
7129
7121
  filename: string;
@@ -7166,8 +7158,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7166
7158
  registrationNumber?: string | undefined;
7167
7159
  keepAssignment?: boolean | undefined;
7168
7160
  }, {
7169
- transactionId: string;
7170
7161
  eventId: string;
7162
+ transactionId: string;
7171
7163
  type?: "REGISTER" | undefined;
7172
7164
  declaration?: Record<string, string | number | boolean | {
7173
7165
  type: string;
@@ -7485,7 +7477,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7485
7477
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
7486
7478
  }>, "strip", z.ZodTypeAny, {
7487
7479
  type: "NOTIFY";
7488
- transactionId: string;
7489
7480
  declaration: Record<string, string | number | boolean | {
7490
7481
  type: string;
7491
7482
  filename: string;
@@ -7525,6 +7516,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7525
7516
  originalFilename: string;
7526
7517
  }[] | undefined>;
7527
7518
  eventId: string;
7519
+ transactionId: string;
7528
7520
  annotation?: Record<string, string | number | boolean | {
7529
7521
  type: string;
7530
7522
  filename: string;
@@ -7566,8 +7558,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7566
7558
  originalActionId?: string | undefined;
7567
7559
  keepAssignment?: boolean | undefined;
7568
7560
  }, {
7569
- transactionId: string;
7570
7561
  eventId: string;
7562
+ transactionId: string;
7571
7563
  type?: "NOTIFY" | undefined;
7572
7564
  declaration?: Record<string, string | number | boolean | {
7573
7565
  type: string;
@@ -7884,7 +7876,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7884
7876
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7885
7877
  }>, "strip", z.ZodTypeAny, {
7886
7878
  type: "DECLARE";
7887
- transactionId: string;
7888
7879
  declaration: Record<string, string | number | boolean | {
7889
7880
  type: string;
7890
7881
  filename: string;
@@ -7924,6 +7915,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7924
7915
  originalFilename: string;
7925
7916
  }[] | undefined>;
7926
7917
  eventId: string;
7918
+ transactionId: string;
7927
7919
  annotation?: Record<string, string | number | boolean | {
7928
7920
  type: string;
7929
7921
  filename: string;
@@ -7965,8 +7957,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7965
7957
  originalActionId?: string | undefined;
7966
7958
  keepAssignment?: boolean | undefined;
7967
7959
  }, {
7968
- transactionId: string;
7969
7960
  eventId: string;
7961
+ transactionId: string;
7970
7962
  type?: "DECLARE" | undefined;
7971
7963
  declaration?: Record<string, string | number | boolean | {
7972
7964
  type: string;
@@ -8283,7 +8275,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8283
8275
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
8284
8276
  }>, "strip", z.ZodTypeAny, {
8285
8277
  type: "REJECT";
8286
- transactionId: string;
8287
8278
  declaration: Record<string, string | number | boolean | {
8288
8279
  type: string;
8289
8280
  filename: string;
@@ -8323,6 +8314,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8323
8314
  originalFilename: string;
8324
8315
  }[] | undefined>;
8325
8316
  eventId: string;
8317
+ transactionId: string;
8326
8318
  annotation?: Record<string, string | number | boolean | {
8327
8319
  type: string;
8328
8320
  filename: string;
@@ -8364,8 +8356,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8364
8356
  originalActionId?: string | undefined;
8365
8357
  keepAssignment?: boolean | undefined;
8366
8358
  }, {
8367
- transactionId: string;
8368
8359
  eventId: string;
8360
+ transactionId: string;
8369
8361
  type?: "REJECT" | undefined;
8370
8362
  declaration?: Record<string, string | number | boolean | {
8371
8363
  type: string;
@@ -8682,7 +8674,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8682
8674
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
8683
8675
  }>, "strip", z.ZodTypeAny, {
8684
8676
  type: "MARKED_AS_DUPLICATE";
8685
- transactionId: string;
8686
8677
  declaration: Record<string, string | number | boolean | {
8687
8678
  type: string;
8688
8679
  filename: string;
@@ -8722,6 +8713,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8722
8713
  originalFilename: string;
8723
8714
  }[] | undefined>;
8724
8715
  eventId: string;
8716
+ transactionId: string;
8725
8717
  annotation?: Record<string, string | number | boolean | {
8726
8718
  type: string;
8727
8719
  filename: string;
@@ -8763,8 +8755,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8763
8755
  originalActionId?: string | undefined;
8764
8756
  keepAssignment?: boolean | undefined;
8765
8757
  }, {
8766
- transactionId: string;
8767
8758
  eventId: string;
8759
+ transactionId: string;
8768
8760
  type?: "MARKED_AS_DUPLICATE" | undefined;
8769
8761
  declaration?: Record<string, string | number | boolean | {
8770
8762
  type: string;
@@ -9081,7 +9073,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9081
9073
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
9082
9074
  }>, "strip", z.ZodTypeAny, {
9083
9075
  type: "ARCHIVE";
9084
- transactionId: string;
9085
9076
  declaration: Record<string, string | number | boolean | {
9086
9077
  type: string;
9087
9078
  filename: string;
@@ -9121,6 +9112,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9121
9112
  originalFilename: string;
9122
9113
  }[] | undefined>;
9123
9114
  eventId: string;
9115
+ transactionId: string;
9124
9116
  annotation?: Record<string, string | number | boolean | {
9125
9117
  type: string;
9126
9118
  filename: string;
@@ -9162,8 +9154,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9162
9154
  originalActionId?: string | undefined;
9163
9155
  keepAssignment?: boolean | undefined;
9164
9156
  }, {
9165
- transactionId: string;
9166
9157
  eventId: string;
9158
+ transactionId: string;
9167
9159
  type?: "ARCHIVE" | undefined;
9168
9160
  declaration?: Record<string, string | number | boolean | {
9169
9161
  type: string;
@@ -9481,7 +9473,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9481
9473
  assignedTo: z.ZodString;
9482
9474
  }>, "strip", z.ZodTypeAny, {
9483
9475
  type: "ASSIGN";
9484
- transactionId: string;
9485
9476
  declaration: Record<string, string | number | boolean | {
9486
9477
  type: string;
9487
9478
  filename: string;
@@ -9522,6 +9513,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9522
9513
  }[] | undefined>;
9523
9514
  assignedTo: string;
9524
9515
  eventId: string;
9516
+ transactionId: string;
9525
9517
  annotation?: Record<string, string | number | boolean | {
9526
9518
  type: string;
9527
9519
  filename: string;
@@ -9563,9 +9555,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9563
9555
  originalActionId?: string | undefined;
9564
9556
  keepAssignment?: boolean | undefined;
9565
9557
  }, {
9566
- transactionId: string;
9567
9558
  assignedTo: string;
9568
9559
  eventId: string;
9560
+ transactionId: string;
9569
9561
  type?: "ASSIGN" | undefined;
9570
9562
  declaration?: Record<string, string | number | boolean | {
9571
9563
  type: string;
@@ -9883,7 +9875,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9883
9875
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
9884
9876
  }>, "strip", z.ZodTypeAny, {
9885
9877
  type: "UNASSIGN";
9886
- transactionId: string;
9887
9878
  declaration: Record<string, string | number | boolean | {
9888
9879
  type: string;
9889
9880
  filename: string;
@@ -9924,6 +9915,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9924
9915
  }[] | undefined>;
9925
9916
  assignedTo: null;
9926
9917
  eventId: string;
9918
+ transactionId: string;
9927
9919
  annotation?: Record<string, string | number | boolean | {
9928
9920
  type: string;
9929
9921
  filename: string;
@@ -9965,8 +9957,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9965
9957
  originalActionId?: string | undefined;
9966
9958
  keepAssignment?: boolean | undefined;
9967
9959
  }, {
9968
- transactionId: string;
9969
9960
  eventId: string;
9961
+ transactionId: string;
9970
9962
  type?: "UNASSIGN" | undefined;
9971
9963
  declaration?: Record<string, string | number | boolean | {
9972
9964
  type: string;
@@ -10284,7 +10276,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10284
10276
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
10285
10277
  }>, "strip", z.ZodTypeAny, {
10286
10278
  type: "PRINT_CERTIFICATE";
10287
- transactionId: string;
10288
10279
  declaration: Record<string, string | number | boolean | {
10289
10280
  type: string;
10290
10281
  filename: string;
@@ -10324,6 +10315,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10324
10315
  originalFilename: string;
10325
10316
  }[] | undefined>;
10326
10317
  eventId: string;
10318
+ transactionId: string;
10327
10319
  annotation?: Record<string, string | number | boolean | {
10328
10320
  type: string;
10329
10321
  filename: string;
@@ -10365,8 +10357,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10365
10357
  originalActionId?: string | undefined;
10366
10358
  keepAssignment?: boolean | undefined;
10367
10359
  }, {
10368
- transactionId: string;
10369
10360
  eventId: string;
10361
+ transactionId: string;
10370
10362
  type?: "PRINT_CERTIFICATE" | undefined;
10371
10363
  declaration?: Record<string, string | number | boolean | {
10372
10364
  type: string;
@@ -10683,7 +10675,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10683
10675
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
10684
10676
  }>, "strip", z.ZodTypeAny, {
10685
10677
  type: "REQUEST_CORRECTION";
10686
- transactionId: string;
10687
10678
  declaration: Record<string, string | number | boolean | {
10688
10679
  type: string;
10689
10680
  filename: string;
@@ -10723,6 +10714,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10723
10714
  originalFilename: string;
10724
10715
  }[] | undefined>;
10725
10716
  eventId: string;
10717
+ transactionId: string;
10726
10718
  annotation?: Record<string, string | number | boolean | {
10727
10719
  type: string;
10728
10720
  filename: string;
@@ -10764,8 +10756,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10764
10756
  originalActionId?: string | undefined;
10765
10757
  keepAssignment?: boolean | undefined;
10766
10758
  }, {
10767
- transactionId: string;
10768
10759
  eventId: string;
10760
+ transactionId: string;
10769
10761
  type?: "REQUEST_CORRECTION" | undefined;
10770
10762
  declaration?: Record<string, string | number | boolean | {
10771
10763
  type: string;
@@ -11083,7 +11075,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11083
11075
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
11084
11076
  }>, "strip", z.ZodTypeAny, {
11085
11077
  type: "REJECT_CORRECTION";
11086
- transactionId: string;
11087
11078
  declaration: Record<string, string | number | boolean | {
11088
11079
  type: string;
11089
11080
  filename: string;
@@ -11124,6 +11115,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11124
11115
  }[] | undefined>;
11125
11116
  requestId: string;
11126
11117
  eventId: string;
11118
+ transactionId: string;
11127
11119
  annotation?: Record<string, string | number | boolean | {
11128
11120
  type: string;
11129
11121
  filename: string;
@@ -11165,9 +11157,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11165
11157
  originalActionId?: string | undefined;
11166
11158
  keepAssignment?: boolean | undefined;
11167
11159
  }, {
11168
- transactionId: string;
11169
11160
  requestId: string;
11170
11161
  eventId: string;
11162
+ transactionId: string;
11171
11163
  type?: "REJECT_CORRECTION" | undefined;
11172
11164
  declaration?: Record<string, string | number | boolean | {
11173
11165
  type: string;
@@ -11485,7 +11477,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11485
11477
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
11486
11478
  }>, "strip", z.ZodTypeAny, {
11487
11479
  type: "APPROVE_CORRECTION";
11488
- transactionId: string;
11489
11480
  declaration: Record<string, string | number | boolean | {
11490
11481
  type: string;
11491
11482
  filename: string;
@@ -11526,6 +11517,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11526
11517
  }[] | undefined>;
11527
11518
  requestId: string;
11528
11519
  eventId: string;
11520
+ transactionId: string;
11529
11521
  annotation?: Record<string, string | number | boolean | {
11530
11522
  type: string;
11531
11523
  filename: string;
@@ -11567,9 +11559,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11567
11559
  originalActionId?: string | undefined;
11568
11560
  keepAssignment?: boolean | undefined;
11569
11561
  }, {
11570
- transactionId: string;
11571
11562
  requestId: string;
11572
11563
  eventId: string;
11564
+ transactionId: string;
11573
11565
  type?: "APPROVE_CORRECTION" | undefined;
11574
11566
  declaration?: Record<string, string | number | boolean | {
11575
11567
  type: string;
@@ -11886,7 +11878,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11886
11878
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
11887
11879
  }>, "strip", z.ZodTypeAny, {
11888
11880
  type: "READ";
11889
- transactionId: string;
11890
11881
  declaration: Record<string, string | number | boolean | {
11891
11882
  type: string;
11892
11883
  filename: string;
@@ -11926,6 +11917,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11926
11917
  originalFilename: string;
11927
11918
  }[] | undefined>;
11928
11919
  eventId: string;
11920
+ transactionId: string;
11929
11921
  annotation?: Record<string, string | number | boolean | {
11930
11922
  type: string;
11931
11923
  filename: string;
@@ -11967,8 +11959,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11967
11959
  originalActionId?: string | undefined;
11968
11960
  keepAssignment?: boolean | undefined;
11969
11961
  }, {
11970
- transactionId: string;
11971
11962
  eventId: string;
11963
+ transactionId: string;
11972
11964
  type?: "READ" | undefined;
11973
11965
  declaration?: Record<string, string | number | boolean | {
11974
11966
  type: string;