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

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