@opencrvs/toolkit 1.8.0-rc.fb2e700 → 1.8.0-rc.fb5b9fe

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.
Files changed (41) hide show
  1. package/dist/commons/api/router.d.ts +12023 -4357
  2. package/dist/commons/conditionals/conditionals.d.ts +10 -6
  3. package/dist/commons/conditionals/validate.d.ts +4 -6
  4. package/dist/commons/events/ActionConfig.d.ts +105057 -1720
  5. package/dist/commons/events/ActionDocument.d.ts +970 -452
  6. package/dist/commons/events/ActionInput.d.ts +443 -363
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +957 -22
  8. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  9. package/dist/commons/events/Constants.d.ts +2 -0
  10. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  11. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  12. package/dist/commons/events/Draft.d.ts +57 -39
  13. package/dist/commons/events/EventConfig.d.ts +50483 -1345
  14. package/dist/commons/events/EventDocument.d.ts +630 -330
  15. package/dist/commons/events/EventIndex.d.ts +1344 -18
  16. package/dist/commons/events/EventMetadata.d.ts +302 -16
  17. package/dist/commons/events/FieldConfig.d.ts +4358 -786
  18. package/dist/commons/events/FieldType.d.ts +3 -3
  19. package/dist/commons/events/FieldTypeMapping.d.ts +16 -6
  20. package/dist/commons/events/FieldValue.d.ts +9 -4
  21. package/dist/commons/events/FormConfig.d.ts +43885 -439
  22. package/dist/commons/events/PageConfig.d.ts +10930 -204
  23. package/dist/commons/events/SummaryConfig.d.ts +95 -39
  24. package/dist/commons/events/User.d.ts +31 -2
  25. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  26. package/dist/commons/events/WorkqueueConfig.d.ts +4525 -20
  27. package/dist/commons/events/defineConfig.d.ts +8017 -28
  28. package/dist/commons/events/event.d.ts +54 -0
  29. package/dist/commons/events/field.d.ts +73 -0
  30. package/dist/commons/events/index.d.ts +7 -0
  31. package/dist/commons/events/scopes.d.ts +45 -0
  32. package/dist/commons/events/serializer.d.ts +2 -0
  33. package/dist/commons/events/test.utils.d.ts +35 -51
  34. package/dist/commons/events/transactions.d.ts +1 -1
  35. package/dist/commons/events/utils.d.ts +3706 -71
  36. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  37. package/dist/conditionals/index.js +58 -35
  38. package/dist/events/index.js +3152 -1166
  39. package/dist/scopes/index.d.ts +94 -6
  40. package/dist/scopes/index.js +42 -21
  41. package/package.json +3 -2
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  export declare const BaseActionInput: z.ZodObject<{
3
- eventId: z.ZodString;
3
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4
4
  transactionId: z.ZodString;
5
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6
6
  filename: z.ZodString;
7
7
  originalFilename: z.ZodString;
8
8
  type: z.ZodString;
@@ -116,7 +116,7 @@ export declare const BaseActionInput: z.ZodObject<{
116
116
  addressLine3?: string | null | undefined;
117
117
  postcodeOrZip?: string | null | undefined;
118
118
  }>]>>>;
119
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
119
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
120
120
  filename: z.ZodString;
121
121
  originalFilename: z.ZodString;
122
122
  type: z.ZodString;
@@ -230,9 +230,10 @@ export declare const BaseActionInput: z.ZodObject<{
230
230
  addressLine3?: string | null | undefined;
231
231
  postcodeOrZip?: string | null | undefined;
232
232
  }>]>>>;
233
- originalActionId: z.ZodOptional<z.ZodString>;
233
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
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;
@@ -270,9 +271,8 @@ export declare const BaseActionInput: z.ZodObject<{
270
271
  option: string;
271
272
  filename: string;
272
273
  originalFilename: string;
273
- }[] | undefined>;
274
- eventId: string;
275
- transactionId: string;
274
+ }[] | [string, string] | undefined>;
275
+ eventId: string & z.BRAND<"UUID">;
276
276
  annotation?: Record<string, string | number | boolean | {
277
277
  type: string;
278
278
  filename: string;
@@ -310,12 +310,12 @@ export declare const BaseActionInput: z.ZodObject<{
310
310
  option: string;
311
311
  filename: string;
312
312
  originalFilename: string;
313
- }[] | undefined> | undefined;
314
- originalActionId?: string | undefined;
313
+ }[] | [string, string] | undefined> | undefined;
314
+ originalActionId?: (string & z.BRAND<"UUID">) | 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;
@@ -353,7 +353,7 @@ export declare const BaseActionInput: z.ZodObject<{
353
353
  option: string;
354
354
  filename: string;
355
355
  originalFilename: string;
356
- }[] | undefined> | undefined;
356
+ }[] | [string, string] | undefined> | undefined;
357
357
  annotation?: Record<string, string | number | boolean | {
358
358
  type: string;
359
359
  filename: string;
@@ -391,14 +391,14 @@ export declare const BaseActionInput: z.ZodObject<{
391
391
  option: string;
392
392
  filename: string;
393
393
  originalFilename: string;
394
- }[] | undefined> | undefined;
394
+ }[] | [string, string] | undefined> | undefined;
395
395
  originalActionId?: string | undefined;
396
396
  keepAssignment?: boolean | undefined;
397
397
  }>;
398
398
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
399
- eventId: z.ZodString;
399
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
400
400
  transactionId: z.ZodString;
401
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
401
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
402
402
  filename: z.ZodString;
403
403
  originalFilename: z.ZodString;
404
404
  type: z.ZodString;
@@ -512,7 +512,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
512
512
  addressLine3?: string | null | undefined;
513
513
  postcodeOrZip?: string | null | undefined;
514
514
  }>]>>>;
515
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
515
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
516
516
  filename: z.ZodString;
517
517
  originalFilename: z.ZodString;
518
518
  type: z.ZodString;
@@ -626,13 +626,14 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
626
626
  addressLine3?: string | null | undefined;
627
627
  postcodeOrZip?: string | null | undefined;
628
628
  }>]>>>;
629
- originalActionId: z.ZodOptional<z.ZodString>;
629
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
630
630
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
631
631
  }, {
632
632
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
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;
@@ -670,9 +671,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
670
671
  option: string;
671
672
  filename: string;
672
673
  originalFilename: string;
673
- }[] | undefined>;
674
- eventId: string;
675
- transactionId: string;
674
+ }[] | [string, string] | undefined>;
675
+ eventId: string & z.BRAND<"UUID">;
676
676
  annotation?: Record<string, string | number | boolean | {
677
677
  type: string;
678
678
  filename: string;
@@ -710,13 +710,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
710
710
  option: string;
711
711
  filename: string;
712
712
  originalFilename: string;
713
- }[] | undefined> | undefined;
714
- originalActionId?: string | undefined;
713
+ }[] | [string, string] | undefined> | undefined;
714
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
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;
@@ -755,7 +755,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
755
755
  option: string;
756
756
  filename: string;
757
757
  originalFilename: string;
758
- }[] | undefined> | undefined;
758
+ }[] | [string, string] | undefined> | undefined;
759
759
  annotation?: Record<string, string | number | boolean | {
760
760
  type: string;
761
761
  filename: string;
@@ -793,16 +793,16 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
793
793
  option: string;
794
794
  filename: string;
795
795
  originalFilename: string;
796
- }[] | undefined> | undefined;
796
+ }[] | [string, string] | undefined> | undefined;
797
797
  originalActionId?: string | undefined;
798
798
  registrationNumber?: string | undefined;
799
799
  keepAssignment?: boolean | undefined;
800
800
  }>;
801
801
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
802
802
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
803
- eventId: z.ZodString;
803
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
804
804
  transactionId: z.ZodString;
805
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
805
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
806
806
  filename: z.ZodString;
807
807
  originalFilename: z.ZodString;
808
808
  type: z.ZodString;
@@ -916,7 +916,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
916
916
  addressLine3?: string | null | undefined;
917
917
  postcodeOrZip?: string | null | undefined;
918
918
  }>]>>>;
919
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
919
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
920
920
  filename: z.ZodString;
921
921
  originalFilename: z.ZodString;
922
922
  type: z.ZodString;
@@ -1030,13 +1030,14 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1030
1030
  addressLine3?: string | null | undefined;
1031
1031
  postcodeOrZip?: string | null | undefined;
1032
1032
  }>]>>>;
1033
- originalActionId: z.ZodOptional<z.ZodString>;
1033
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1034
1034
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
1035
1035
  }, {
1036
1036
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
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;
@@ -1074,9 +1075,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1074
1075
  option: string;
1075
1076
  filename: string;
1076
1077
  originalFilename: string;
1077
- }[] | undefined>;
1078
- eventId: string;
1079
- transactionId: string;
1078
+ }[] | [string, string] | undefined>;
1079
+ eventId: string & z.BRAND<"UUID">;
1080
1080
  duplicates: string[];
1081
1081
  annotation?: Record<string, string | number | boolean | {
1082
1082
  type: string;
@@ -1115,12 +1115,12 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1115
1115
  option: string;
1116
1116
  filename: string;
1117
1117
  originalFilename: string;
1118
- }[] | undefined> | undefined;
1119
- originalActionId?: string | undefined;
1118
+ }[] | [string, string] | undefined> | undefined;
1119
+ originalActionId?: (string & z.BRAND<"UUID">) | 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 | {
@@ -1160,7 +1160,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1160
1160
  option: string;
1161
1161
  filename: string;
1162
1162
  originalFilename: string;
1163
- }[] | undefined> | undefined;
1163
+ }[] | [string, string] | undefined> | undefined;
1164
1164
  annotation?: Record<string, string | number | boolean | {
1165
1165
  type: string;
1166
1166
  filename: string;
@@ -1198,15 +1198,15 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1198
1198
  option: string;
1199
1199
  filename: string;
1200
1200
  originalFilename: string;
1201
- }[] | undefined> | undefined;
1201
+ }[] | [string, string] | undefined> | undefined;
1202
1202
  originalActionId?: string | undefined;
1203
1203
  keepAssignment?: boolean | undefined;
1204
1204
  }>;
1205
1205
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1206
1206
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1207
- eventId: z.ZodString;
1207
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1208
1208
  transactionId: z.ZodString;
1209
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1209
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1210
1210
  filename: z.ZodString;
1211
1211
  originalFilename: z.ZodString;
1212
1212
  type: z.ZodString;
@@ -1320,7 +1320,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1320
1320
  addressLine3?: string | null | undefined;
1321
1321
  postcodeOrZip?: string | null | undefined;
1322
1322
  }>]>>>;
1323
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1323
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1324
1324
  filename: z.ZodString;
1325
1325
  originalFilename: z.ZodString;
1326
1326
  type: z.ZodString;
@@ -1434,12 +1434,13 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1434
1434
  addressLine3?: string | null | undefined;
1435
1435
  postcodeOrZip?: string | null | undefined;
1436
1436
  }>]>>>;
1437
- originalActionId: z.ZodOptional<z.ZodString>;
1437
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1438
1438
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
1439
1439
  }, {
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;
@@ -1477,9 +1478,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1477
1478
  option: string;
1478
1479
  filename: string;
1479
1480
  originalFilename: string;
1480
- }[] | undefined>;
1481
- eventId: string;
1482
- transactionId: string;
1481
+ }[] | [string, string] | undefined>;
1482
+ eventId: string & z.BRAND<"UUID">;
1483
1483
  annotation?: Record<string, string | number | boolean | {
1484
1484
  type: string;
1485
1485
  filename: string;
@@ -1517,12 +1517,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1517
1517
  option: string;
1518
1518
  filename: string;
1519
1519
  originalFilename: string;
1520
- }[] | undefined> | undefined;
1521
- originalActionId?: string | undefined;
1520
+ }[] | [string, string] | undefined> | undefined;
1521
+ originalActionId?: (string & z.BRAND<"UUID">) | 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;
@@ -1561,7 +1561,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1561
1561
  option: string;
1562
1562
  filename: string;
1563
1563
  originalFilename: string;
1564
- }[] | undefined> | undefined;
1564
+ }[] | [string, string] | undefined> | undefined;
1565
1565
  annotation?: Record<string, string | number | boolean | {
1566
1566
  type: string;
1567
1567
  filename: string;
@@ -1599,15 +1599,15 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1599
1599
  option: string;
1600
1600
  filename: string;
1601
1601
  originalFilename: string;
1602
- }[] | undefined> | undefined;
1602
+ }[] | [string, string] | undefined> | undefined;
1603
1603
  originalActionId?: string | undefined;
1604
1604
  keepAssignment?: boolean | undefined;
1605
1605
  }>;
1606
1606
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1607
1607
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1608
- eventId: z.ZodString;
1608
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1609
1609
  transactionId: z.ZodString;
1610
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1610
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1611
1611
  filename: z.ZodString;
1612
1612
  originalFilename: z.ZodString;
1613
1613
  type: z.ZodString;
@@ -1721,7 +1721,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1721
1721
  addressLine3?: string | null | undefined;
1722
1722
  postcodeOrZip?: string | null | undefined;
1723
1723
  }>]>>>;
1724
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1724
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1725
1725
  filename: z.ZodString;
1726
1726
  originalFilename: z.ZodString;
1727
1727
  type: z.ZodString;
@@ -1835,12 +1835,13 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1835
1835
  addressLine3?: string | null | undefined;
1836
1836
  postcodeOrZip?: string | null | undefined;
1837
1837
  }>]>>>;
1838
- originalActionId: z.ZodOptional<z.ZodString>;
1838
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1839
1839
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
1840
1840
  }, {
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;
@@ -1878,9 +1879,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1878
1879
  option: string;
1879
1880
  filename: string;
1880
1881
  originalFilename: string;
1881
- }[] | undefined>;
1882
- eventId: string;
1883
- transactionId: string;
1882
+ }[] | [string, string] | undefined>;
1883
+ eventId: string & z.BRAND<"UUID">;
1884
1884
  annotation?: Record<string, string | number | boolean | {
1885
1885
  type: string;
1886
1886
  filename: string;
@@ -1918,12 +1918,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1918
1918
  option: string;
1919
1919
  filename: string;
1920
1920
  originalFilename: string;
1921
- }[] | undefined> | undefined;
1922
- originalActionId?: string | undefined;
1921
+ }[] | [string, string] | undefined> | undefined;
1922
+ originalActionId?: (string & z.BRAND<"UUID">) | 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;
@@ -1962,7 +1962,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1962
1962
  option: string;
1963
1963
  filename: string;
1964
1964
  originalFilename: string;
1965
- }[] | undefined> | undefined;
1965
+ }[] | [string, string] | undefined> | undefined;
1966
1966
  annotation?: Record<string, string | number | boolean | {
1967
1967
  type: string;
1968
1968
  filename: string;
@@ -2000,14 +2000,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
2000
2000
  option: string;
2001
2001
  filename: string;
2002
2002
  originalFilename: string;
2003
- }[] | undefined> | undefined;
2003
+ }[] | [string, string] | undefined> | undefined;
2004
2004
  originalActionId?: string | undefined;
2005
2005
  keepAssignment?: boolean | undefined;
2006
2006
  }>;
2007
2007
  export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2008
- eventId: z.ZodString;
2008
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
2009
2009
  transactionId: z.ZodString;
2010
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2010
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2011
2011
  filename: z.ZodString;
2012
2012
  originalFilename: z.ZodString;
2013
2013
  type: z.ZodString;
@@ -2121,7 +2121,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2121
2121
  addressLine3?: string | null | undefined;
2122
2122
  postcodeOrZip?: string | null | undefined;
2123
2123
  }>]>>>;
2124
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2124
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2125
2125
  filename: z.ZodString;
2126
2126
  originalFilename: z.ZodString;
2127
2127
  type: z.ZodString;
@@ -2235,12 +2235,13 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2235
2235
  addressLine3?: string | null | undefined;
2236
2236
  postcodeOrZip?: string | null | undefined;
2237
2237
  }>]>>>;
2238
- originalActionId: z.ZodOptional<z.ZodString>;
2238
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
2239
2239
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
2240
2240
  }, {
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;
@@ -2278,9 +2279,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2278
2279
  option: string;
2279
2280
  filename: string;
2280
2281
  originalFilename: string;
2281
- }[] | undefined>;
2282
- eventId: string;
2283
- transactionId: string;
2282
+ }[] | [string, string] | undefined>;
2283
+ eventId: string & z.BRAND<"UUID">;
2284
2284
  annotation?: Record<string, string | number | boolean | {
2285
2285
  type: string;
2286
2286
  filename: string;
@@ -2318,12 +2318,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2318
2318
  option: string;
2319
2319
  filename: string;
2320
2320
  originalFilename: string;
2321
- }[] | undefined> | undefined;
2322
- originalActionId?: string | undefined;
2321
+ }[] | [string, string] | undefined> | undefined;
2322
+ originalActionId?: (string & z.BRAND<"UUID">) | 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;
@@ -2362,7 +2362,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2362
2362
  option: string;
2363
2363
  filename: string;
2364
2364
  originalFilename: string;
2365
- }[] | undefined> | undefined;
2365
+ }[] | [string, string] | undefined> | undefined;
2366
2366
  annotation?: Record<string, string | number | boolean | {
2367
2367
  type: string;
2368
2368
  filename: string;
@@ -2400,15 +2400,15 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2400
2400
  option: string;
2401
2401
  filename: string;
2402
2402
  originalFilename: string;
2403
- }[] | undefined> | undefined;
2403
+ }[] | [string, string] | undefined> | undefined;
2404
2404
  originalActionId?: string | undefined;
2405
2405
  keepAssignment?: boolean | undefined;
2406
2406
  }>;
2407
2407
  export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2408
2408
  export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2409
- eventId: z.ZodString;
2409
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
2410
2410
  transactionId: z.ZodString;
2411
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2411
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2412
2412
  filename: z.ZodString;
2413
2413
  originalFilename: z.ZodString;
2414
2414
  type: z.ZodString;
@@ -2522,7 +2522,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2522
2522
  addressLine3?: string | null | undefined;
2523
2523
  postcodeOrZip?: string | null | undefined;
2524
2524
  }>]>>>;
2525
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2525
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2526
2526
  filename: z.ZodString;
2527
2527
  originalFilename: z.ZodString;
2528
2528
  type: z.ZodString;
@@ -2636,12 +2636,27 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2636
2636
  addressLine3?: string | null | undefined;
2637
2637
  postcodeOrZip?: string | null | undefined;
2638
2638
  }>]>>>;
2639
- originalActionId: z.ZodOptional<z.ZodString>;
2639
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
2640
2640
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
2641
2641
  }, {
2642
2642
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2643
+ reason: z.ZodObject<{
2644
+ message: z.ZodString;
2645
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2646
+ }, "strip", z.ZodTypeAny, {
2647
+ message: string;
2648
+ isDuplicate?: boolean | undefined;
2649
+ }, {
2650
+ message: string;
2651
+ isDuplicate?: boolean | undefined;
2652
+ }>;
2643
2653
  }>, "strip", z.ZodTypeAny, {
2644
2654
  type: "REJECT";
2655
+ reason: {
2656
+ message: string;
2657
+ isDuplicate?: boolean | undefined;
2658
+ };
2659
+ transactionId: string;
2645
2660
  declaration: Record<string, string | number | boolean | {
2646
2661
  type: string;
2647
2662
  filename: string;
@@ -2679,9 +2694,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2679
2694
  option: string;
2680
2695
  filename: string;
2681
2696
  originalFilename: string;
2682
- }[] | undefined>;
2683
- eventId: string;
2684
- transactionId: string;
2697
+ }[] | [string, string] | undefined>;
2698
+ eventId: string & z.BRAND<"UUID">;
2685
2699
  annotation?: Record<string, string | number | boolean | {
2686
2700
  type: string;
2687
2701
  filename: string;
@@ -2719,12 +2733,16 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2719
2733
  option: string;
2720
2734
  filename: string;
2721
2735
  originalFilename: string;
2722
- }[] | undefined> | undefined;
2723
- originalActionId?: string | undefined;
2736
+ }[] | [string, string] | undefined> | undefined;
2737
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
2724
2738
  keepAssignment?: boolean | undefined;
2725
2739
  }, {
2726
- eventId: string;
2740
+ reason: {
2741
+ message: string;
2742
+ isDuplicate?: boolean | undefined;
2743
+ };
2727
2744
  transactionId: string;
2745
+ eventId: string;
2728
2746
  type?: "REJECT" | undefined;
2729
2747
  declaration?: Record<string, string | number | boolean | {
2730
2748
  type: string;
@@ -2763,7 +2781,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2763
2781
  option: string;
2764
2782
  filename: string;
2765
2783
  originalFilename: string;
2766
- }[] | undefined> | undefined;
2784
+ }[] | [string, string] | undefined> | undefined;
2767
2785
  annotation?: Record<string, string | number | boolean | {
2768
2786
  type: string;
2769
2787
  filename: string;
@@ -2801,15 +2819,15 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2801
2819
  option: string;
2802
2820
  filename: string;
2803
2821
  originalFilename: string;
2804
- }[] | undefined> | undefined;
2822
+ }[] | [string, string] | undefined> | undefined;
2805
2823
  originalActionId?: string | undefined;
2806
2824
  keepAssignment?: boolean | undefined;
2807
2825
  }>;
2808
2826
  export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2809
2827
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2810
- eventId: z.ZodString;
2828
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
2811
2829
  transactionId: z.ZodString;
2812
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2830
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2813
2831
  filename: z.ZodString;
2814
2832
  originalFilename: z.ZodString;
2815
2833
  type: z.ZodString;
@@ -2923,7 +2941,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2923
2941
  addressLine3?: string | null | undefined;
2924
2942
  postcodeOrZip?: string | null | undefined;
2925
2943
  }>]>>>;
2926
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2944
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2927
2945
  filename: z.ZodString;
2928
2946
  originalFilename: z.ZodString;
2929
2947
  type: z.ZodString;
@@ -3037,12 +3055,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3037
3055
  addressLine3?: string | null | undefined;
3038
3056
  postcodeOrZip?: string | null | undefined;
3039
3057
  }>]>>>;
3040
- originalActionId: z.ZodOptional<z.ZodString>;
3058
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3041
3059
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3042
3060
  }, {
3043
3061
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3044
3062
  }>, "strip", z.ZodTypeAny, {
3045
3063
  type: "MARKED_AS_DUPLICATE";
3064
+ transactionId: string;
3046
3065
  declaration: Record<string, string | number | boolean | {
3047
3066
  type: string;
3048
3067
  filename: string;
@@ -3080,9 +3099,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3080
3099
  option: string;
3081
3100
  filename: string;
3082
3101
  originalFilename: string;
3083
- }[] | undefined>;
3084
- eventId: string;
3085
- transactionId: string;
3102
+ }[] | [string, string] | undefined>;
3103
+ eventId: string & z.BRAND<"UUID">;
3086
3104
  annotation?: Record<string, string | number | boolean | {
3087
3105
  type: string;
3088
3106
  filename: string;
@@ -3120,12 +3138,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3120
3138
  option: string;
3121
3139
  filename: string;
3122
3140
  originalFilename: string;
3123
- }[] | undefined> | undefined;
3124
- originalActionId?: string | undefined;
3141
+ }[] | [string, string] | undefined> | undefined;
3142
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3125
3143
  keepAssignment?: boolean | undefined;
3126
3144
  }, {
3127
- eventId: string;
3128
3145
  transactionId: string;
3146
+ eventId: string;
3129
3147
  type?: "MARKED_AS_DUPLICATE" | undefined;
3130
3148
  declaration?: Record<string, string | number | boolean | {
3131
3149
  type: string;
@@ -3164,7 +3182,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3164
3182
  option: string;
3165
3183
  filename: string;
3166
3184
  originalFilename: string;
3167
- }[] | undefined> | undefined;
3185
+ }[] | [string, string] | undefined> | undefined;
3168
3186
  annotation?: Record<string, string | number | boolean | {
3169
3187
  type: string;
3170
3188
  filename: string;
@@ -3202,15 +3220,15 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3202
3220
  option: string;
3203
3221
  filename: string;
3204
3222
  originalFilename: string;
3205
- }[] | undefined> | undefined;
3223
+ }[] | [string, string] | undefined> | undefined;
3206
3224
  originalActionId?: string | undefined;
3207
3225
  keepAssignment?: boolean | undefined;
3208
3226
  }>;
3209
3227
  export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3210
3228
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3211
- eventId: z.ZodString;
3229
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
3212
3230
  transactionId: z.ZodString;
3213
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3231
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3214
3232
  filename: z.ZodString;
3215
3233
  originalFilename: z.ZodString;
3216
3234
  type: z.ZodString;
@@ -3324,7 +3342,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3324
3342
  addressLine3?: string | null | undefined;
3325
3343
  postcodeOrZip?: string | null | undefined;
3326
3344
  }>]>>>;
3327
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3345
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3328
3346
  filename: z.ZodString;
3329
3347
  originalFilename: z.ZodString;
3330
3348
  type: z.ZodString;
@@ -3438,12 +3456,27 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3438
3456
  addressLine3?: string | null | undefined;
3439
3457
  postcodeOrZip?: string | null | undefined;
3440
3458
  }>]>>>;
3441
- originalActionId: z.ZodOptional<z.ZodString>;
3459
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3442
3460
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3443
3461
  }, {
3444
3462
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3463
+ reason: z.ZodObject<{
3464
+ message: z.ZodString;
3465
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3466
+ }, "strip", z.ZodTypeAny, {
3467
+ message: string;
3468
+ isDuplicate?: boolean | undefined;
3469
+ }, {
3470
+ message: string;
3471
+ isDuplicate?: boolean | undefined;
3472
+ }>;
3445
3473
  }>, "strip", z.ZodTypeAny, {
3446
3474
  type: "ARCHIVE";
3475
+ reason: {
3476
+ message: string;
3477
+ isDuplicate?: boolean | undefined;
3478
+ };
3479
+ transactionId: string;
3447
3480
  declaration: Record<string, string | number | boolean | {
3448
3481
  type: string;
3449
3482
  filename: string;
@@ -3481,9 +3514,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3481
3514
  option: string;
3482
3515
  filename: string;
3483
3516
  originalFilename: string;
3484
- }[] | undefined>;
3485
- eventId: string;
3486
- transactionId: string;
3517
+ }[] | [string, string] | undefined>;
3518
+ eventId: string & z.BRAND<"UUID">;
3487
3519
  annotation?: Record<string, string | number | boolean | {
3488
3520
  type: string;
3489
3521
  filename: string;
@@ -3521,12 +3553,16 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3521
3553
  option: string;
3522
3554
  filename: string;
3523
3555
  originalFilename: string;
3524
- }[] | undefined> | undefined;
3525
- originalActionId?: string | undefined;
3556
+ }[] | [string, string] | undefined> | undefined;
3557
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3526
3558
  keepAssignment?: boolean | undefined;
3527
3559
  }, {
3528
- eventId: string;
3560
+ reason: {
3561
+ message: string;
3562
+ isDuplicate?: boolean | undefined;
3563
+ };
3529
3564
  transactionId: string;
3565
+ eventId: string;
3530
3566
  type?: "ARCHIVE" | undefined;
3531
3567
  declaration?: Record<string, string | number | boolean | {
3532
3568
  type: string;
@@ -3565,7 +3601,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3565
3601
  option: string;
3566
3602
  filename: string;
3567
3603
  originalFilename: string;
3568
- }[] | undefined> | undefined;
3604
+ }[] | [string, string] | undefined> | undefined;
3569
3605
  annotation?: Record<string, string | number | boolean | {
3570
3606
  type: string;
3571
3607
  filename: string;
@@ -3603,15 +3639,15 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3603
3639
  option: string;
3604
3640
  filename: string;
3605
3641
  originalFilename: string;
3606
- }[] | undefined> | undefined;
3642
+ }[] | [string, string] | undefined> | undefined;
3607
3643
  originalActionId?: string | undefined;
3608
3644
  keepAssignment?: boolean | undefined;
3609
3645
  }>;
3610
3646
  export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3611
3647
  export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3612
- eventId: z.ZodString;
3648
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
3613
3649
  transactionId: z.ZodString;
3614
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3650
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3615
3651
  filename: z.ZodString;
3616
3652
  originalFilename: z.ZodString;
3617
3653
  type: z.ZodString;
@@ -3725,7 +3761,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3725
3761
  addressLine3?: string | null | undefined;
3726
3762
  postcodeOrZip?: string | null | undefined;
3727
3763
  }>]>>>;
3728
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3764
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3729
3765
  filename: z.ZodString;
3730
3766
  originalFilename: z.ZodString;
3731
3767
  type: z.ZodString;
@@ -3839,13 +3875,14 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3839
3875
  addressLine3?: string | null | undefined;
3840
3876
  postcodeOrZip?: string | null | undefined;
3841
3877
  }>]>>>;
3842
- originalActionId: z.ZodOptional<z.ZodString>;
3878
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3843
3879
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3844
3880
  }, {
3845
3881
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3846
3882
  assignedTo: z.ZodString;
3847
3883
  }>, "strip", z.ZodTypeAny, {
3848
3884
  type: "ASSIGN";
3885
+ transactionId: string;
3849
3886
  declaration: Record<string, string | number | boolean | {
3850
3887
  type: string;
3851
3888
  filename: string;
@@ -3883,10 +3920,9 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3883
3920
  option: string;
3884
3921
  filename: string;
3885
3922
  originalFilename: string;
3886
- }[] | undefined>;
3923
+ }[] | [string, string] | undefined>;
3887
3924
  assignedTo: string;
3888
- eventId: string;
3889
- transactionId: string;
3925
+ eventId: string & z.BRAND<"UUID">;
3890
3926
  annotation?: Record<string, string | number | boolean | {
3891
3927
  type: string;
3892
3928
  filename: string;
@@ -3924,13 +3960,13 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3924
3960
  option: string;
3925
3961
  filename: string;
3926
3962
  originalFilename: string;
3927
- }[] | undefined> | undefined;
3928
- originalActionId?: string | undefined;
3963
+ }[] | [string, string] | undefined> | undefined;
3964
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3929
3965
  keepAssignment?: boolean | undefined;
3930
3966
  }, {
3967
+ transactionId: string;
3931
3968
  assignedTo: string;
3932
3969
  eventId: string;
3933
- transactionId: string;
3934
3970
  type?: "ASSIGN" | undefined;
3935
3971
  declaration?: Record<string, string | number | boolean | {
3936
3972
  type: string;
@@ -3969,7 +4005,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3969
4005
  option: string;
3970
4006
  filename: string;
3971
4007
  originalFilename: string;
3972
- }[] | undefined> | undefined;
4008
+ }[] | [string, string] | undefined> | undefined;
3973
4009
  annotation?: Record<string, string | number | boolean | {
3974
4010
  type: string;
3975
4011
  filename: string;
@@ -4007,15 +4043,15 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4007
4043
  option: string;
4008
4044
  filename: string;
4009
4045
  originalFilename: string;
4010
- }[] | undefined> | undefined;
4046
+ }[] | [string, string] | undefined> | undefined;
4011
4047
  originalActionId?: string | undefined;
4012
4048
  keepAssignment?: boolean | undefined;
4013
4049
  }>;
4014
4050
  export type AssignActionInput = z.infer<typeof AssignActionInput>;
4015
4051
  export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4016
- eventId: z.ZodString;
4052
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4017
4053
  transactionId: z.ZodString;
4018
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4054
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4019
4055
  filename: z.ZodString;
4020
4056
  originalFilename: z.ZodString;
4021
4057
  type: z.ZodString;
@@ -4129,7 +4165,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4129
4165
  addressLine3?: string | null | undefined;
4130
4166
  postcodeOrZip?: string | null | undefined;
4131
4167
  }>]>>>;
4132
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4168
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4133
4169
  filename: z.ZodString;
4134
4170
  originalFilename: z.ZodString;
4135
4171
  type: z.ZodString;
@@ -4243,13 +4279,14 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4243
4279
  addressLine3?: string | null | undefined;
4244
4280
  postcodeOrZip?: string | null | undefined;
4245
4281
  }>]>>>;
4246
- originalActionId: z.ZodOptional<z.ZodString>;
4282
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
4247
4283
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
4248
4284
  }, {
4249
4285
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4250
4286
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
4251
4287
  }>, "strip", z.ZodTypeAny, {
4252
4288
  type: "UNASSIGN";
4289
+ transactionId: string;
4253
4290
  declaration: Record<string, string | number | boolean | {
4254
4291
  type: string;
4255
4292
  filename: string;
@@ -4287,10 +4324,9 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4287
4324
  option: string;
4288
4325
  filename: string;
4289
4326
  originalFilename: string;
4290
- }[] | undefined>;
4327
+ }[] | [string, string] | undefined>;
4291
4328
  assignedTo: null;
4292
- eventId: string;
4293
- transactionId: string;
4329
+ eventId: string & z.BRAND<"UUID">;
4294
4330
  annotation?: Record<string, string | number | boolean | {
4295
4331
  type: string;
4296
4332
  filename: string;
@@ -4328,12 +4364,12 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4328
4364
  option: string;
4329
4365
  filename: string;
4330
4366
  originalFilename: string;
4331
- }[] | undefined> | undefined;
4332
- originalActionId?: string | undefined;
4367
+ }[] | [string, string] | undefined> | undefined;
4368
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4333
4369
  keepAssignment?: boolean | undefined;
4334
4370
  }, {
4335
- eventId: string;
4336
4371
  transactionId: string;
4372
+ eventId: string;
4337
4373
  type?: "UNASSIGN" | undefined;
4338
4374
  declaration?: Record<string, string | number | boolean | {
4339
4375
  type: string;
@@ -4372,7 +4408,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4372
4408
  option: string;
4373
4409
  filename: string;
4374
4410
  originalFilename: string;
4375
- }[] | undefined> | undefined;
4411
+ }[] | [string, string] | undefined> | undefined;
4376
4412
  annotation?: Record<string, string | number | boolean | {
4377
4413
  type: string;
4378
4414
  filename: string;
@@ -4410,16 +4446,16 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4410
4446
  option: string;
4411
4447
  filename: string;
4412
4448
  originalFilename: string;
4413
- }[] | undefined> | undefined;
4449
+ }[] | [string, string] | undefined> | undefined;
4414
4450
  originalActionId?: string | undefined;
4415
4451
  assignedTo?: null | undefined;
4416
4452
  keepAssignment?: boolean | undefined;
4417
4453
  }>;
4418
4454
  export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
4419
4455
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4420
- eventId: z.ZodString;
4456
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4421
4457
  transactionId: z.ZodString;
4422
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4458
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4423
4459
  filename: z.ZodString;
4424
4460
  originalFilename: z.ZodString;
4425
4461
  type: z.ZodString;
@@ -4533,7 +4569,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4533
4569
  addressLine3?: string | null | undefined;
4534
4570
  postcodeOrZip?: string | null | undefined;
4535
4571
  }>]>>>;
4536
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4572
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4537
4573
  filename: z.ZodString;
4538
4574
  originalFilename: z.ZodString;
4539
4575
  type: z.ZodString;
@@ -4647,12 +4683,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4647
4683
  addressLine3?: string | null | undefined;
4648
4684
  postcodeOrZip?: string | null | undefined;
4649
4685
  }>]>>>;
4650
- originalActionId: z.ZodOptional<z.ZodString>;
4686
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
4651
4687
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
4652
4688
  }, {
4653
4689
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
4654
4690
  }>, "strip", z.ZodTypeAny, {
4655
4691
  type: "REQUEST_CORRECTION";
4692
+ transactionId: string;
4656
4693
  declaration: Record<string, string | number | boolean | {
4657
4694
  type: string;
4658
4695
  filename: string;
@@ -4690,9 +4727,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4690
4727
  option: string;
4691
4728
  filename: string;
4692
4729
  originalFilename: string;
4693
- }[] | undefined>;
4694
- eventId: string;
4695
- transactionId: string;
4730
+ }[] | [string, string] | undefined>;
4731
+ eventId: string & z.BRAND<"UUID">;
4696
4732
  annotation?: Record<string, string | number | boolean | {
4697
4733
  type: string;
4698
4734
  filename: string;
@@ -4730,12 +4766,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4730
4766
  option: string;
4731
4767
  filename: string;
4732
4768
  originalFilename: string;
4733
- }[] | undefined> | undefined;
4734
- originalActionId?: string | undefined;
4769
+ }[] | [string, string] | undefined> | undefined;
4770
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4735
4771
  keepAssignment?: boolean | undefined;
4736
4772
  }, {
4737
- eventId: string;
4738
4773
  transactionId: string;
4774
+ eventId: string;
4739
4775
  type?: "REQUEST_CORRECTION" | undefined;
4740
4776
  declaration?: Record<string, string | number | boolean | {
4741
4777
  type: string;
@@ -4774,7 +4810,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4774
4810
  option: string;
4775
4811
  filename: string;
4776
4812
  originalFilename: string;
4777
- }[] | undefined> | undefined;
4813
+ }[] | [string, string] | undefined> | undefined;
4778
4814
  annotation?: Record<string, string | number | boolean | {
4779
4815
  type: string;
4780
4816
  filename: string;
@@ -4812,15 +4848,15 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4812
4848
  option: string;
4813
4849
  filename: string;
4814
4850
  originalFilename: string;
4815
- }[] | undefined> | undefined;
4851
+ }[] | [string, string] | undefined> | undefined;
4816
4852
  originalActionId?: string | undefined;
4817
4853
  keepAssignment?: boolean | undefined;
4818
4854
  }>;
4819
4855
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
4820
4856
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4821
- eventId: z.ZodString;
4857
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4822
4858
  transactionId: z.ZodString;
4823
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4859
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4824
4860
  filename: z.ZodString;
4825
4861
  originalFilename: z.ZodString;
4826
4862
  type: z.ZodString;
@@ -4934,7 +4970,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4934
4970
  addressLine3?: string | null | undefined;
4935
4971
  postcodeOrZip?: string | null | undefined;
4936
4972
  }>]>>>;
4937
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4973
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4938
4974
  filename: z.ZodString;
4939
4975
  originalFilename: z.ZodString;
4940
4976
  type: z.ZodString;
@@ -5048,13 +5084,14 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5048
5084
  addressLine3?: string | null | undefined;
5049
5085
  postcodeOrZip?: string | null | undefined;
5050
5086
  }>]>>>;
5051
- originalActionId: z.ZodOptional<z.ZodString>;
5087
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5052
5088
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5053
5089
  }, {
5054
5090
  requestId: z.ZodString;
5055
5091
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5056
5092
  }>, "strip", z.ZodTypeAny, {
5057
5093
  type: "REJECT_CORRECTION";
5094
+ transactionId: string;
5058
5095
  declaration: Record<string, string | number | boolean | {
5059
5096
  type: string;
5060
5097
  filename: string;
@@ -5092,10 +5129,9 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5092
5129
  option: string;
5093
5130
  filename: string;
5094
5131
  originalFilename: string;
5095
- }[] | undefined>;
5132
+ }[] | [string, string] | undefined>;
5096
5133
  requestId: string;
5097
- eventId: string;
5098
- transactionId: string;
5134
+ eventId: string & z.BRAND<"UUID">;
5099
5135
  annotation?: Record<string, string | number | boolean | {
5100
5136
  type: string;
5101
5137
  filename: string;
@@ -5133,13 +5169,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5133
5169
  option: string;
5134
5170
  filename: string;
5135
5171
  originalFilename: string;
5136
- }[] | undefined> | undefined;
5137
- originalActionId?: string | undefined;
5172
+ }[] | [string, string] | undefined> | undefined;
5173
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5138
5174
  keepAssignment?: boolean | undefined;
5139
5175
  }, {
5176
+ transactionId: string;
5140
5177
  requestId: string;
5141
5178
  eventId: string;
5142
- transactionId: string;
5143
5179
  type?: "REJECT_CORRECTION" | undefined;
5144
5180
  declaration?: Record<string, string | number | boolean | {
5145
5181
  type: string;
@@ -5178,7 +5214,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5178
5214
  option: string;
5179
5215
  filename: string;
5180
5216
  originalFilename: string;
5181
- }[] | undefined> | undefined;
5217
+ }[] | [string, string] | undefined> | undefined;
5182
5218
  annotation?: Record<string, string | number | boolean | {
5183
5219
  type: string;
5184
5220
  filename: string;
@@ -5216,15 +5252,15 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5216
5252
  option: string;
5217
5253
  filename: string;
5218
5254
  originalFilename: string;
5219
- }[] | undefined> | undefined;
5255
+ }[] | [string, string] | undefined> | undefined;
5220
5256
  originalActionId?: string | undefined;
5221
5257
  keepAssignment?: boolean | undefined;
5222
5258
  }>;
5223
5259
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
5224
5260
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
5225
- eventId: z.ZodString;
5261
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
5226
5262
  transactionId: z.ZodString;
5227
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5263
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5228
5264
  filename: z.ZodString;
5229
5265
  originalFilename: z.ZodString;
5230
5266
  type: z.ZodString;
@@ -5338,7 +5374,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5338
5374
  addressLine3?: string | null | undefined;
5339
5375
  postcodeOrZip?: string | null | undefined;
5340
5376
  }>]>>>;
5341
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5377
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5342
5378
  filename: z.ZodString;
5343
5379
  originalFilename: z.ZodString;
5344
5380
  type: z.ZodString;
@@ -5452,13 +5488,14 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5452
5488
  addressLine3?: string | null | undefined;
5453
5489
  postcodeOrZip?: string | null | undefined;
5454
5490
  }>]>>>;
5455
- originalActionId: z.ZodOptional<z.ZodString>;
5491
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5456
5492
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5457
5493
  }, {
5458
5494
  requestId: z.ZodString;
5459
5495
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
5460
5496
  }>, "strip", z.ZodTypeAny, {
5461
5497
  type: "APPROVE_CORRECTION";
5498
+ transactionId: string;
5462
5499
  declaration: Record<string, string | number | boolean | {
5463
5500
  type: string;
5464
5501
  filename: string;
@@ -5496,10 +5533,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5496
5533
  option: string;
5497
5534
  filename: string;
5498
5535
  originalFilename: string;
5499
- }[] | undefined>;
5536
+ }[] | [string, string] | undefined>;
5500
5537
  requestId: string;
5501
- eventId: string;
5502
- transactionId: string;
5538
+ eventId: string & z.BRAND<"UUID">;
5503
5539
  annotation?: Record<string, string | number | boolean | {
5504
5540
  type: string;
5505
5541
  filename: string;
@@ -5537,13 +5573,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5537
5573
  option: string;
5538
5574
  filename: string;
5539
5575
  originalFilename: string;
5540
- }[] | undefined> | undefined;
5541
- originalActionId?: string | undefined;
5576
+ }[] | [string, string] | undefined> | undefined;
5577
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5542
5578
  keepAssignment?: boolean | undefined;
5543
5579
  }, {
5580
+ transactionId: string;
5544
5581
  requestId: string;
5545
5582
  eventId: string;
5546
- transactionId: string;
5547
5583
  type?: "APPROVE_CORRECTION" | undefined;
5548
5584
  declaration?: Record<string, string | number | boolean | {
5549
5585
  type: string;
@@ -5582,7 +5618,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5582
5618
  option: string;
5583
5619
  filename: string;
5584
5620
  originalFilename: string;
5585
- }[] | undefined> | undefined;
5621
+ }[] | [string, string] | undefined> | undefined;
5586
5622
  annotation?: Record<string, string | number | boolean | {
5587
5623
  type: string;
5588
5624
  filename: string;
@@ -5620,15 +5656,15 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5620
5656
  option: string;
5621
5657
  filename: string;
5622
5658
  originalFilename: string;
5623
- }[] | undefined> | undefined;
5659
+ }[] | [string, string] | undefined> | undefined;
5624
5660
  originalActionId?: string | undefined;
5625
5661
  keepAssignment?: boolean | undefined;
5626
5662
  }>;
5627
5663
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
5628
5664
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5629
- eventId: z.ZodString;
5665
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
5630
5666
  transactionId: z.ZodString;
5631
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5667
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5632
5668
  filename: z.ZodString;
5633
5669
  originalFilename: z.ZodString;
5634
5670
  type: z.ZodString;
@@ -5742,7 +5778,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5742
5778
  addressLine3?: string | null | undefined;
5743
5779
  postcodeOrZip?: string | null | undefined;
5744
5780
  }>]>>>;
5745
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5781
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5746
5782
  filename: z.ZodString;
5747
5783
  originalFilename: z.ZodString;
5748
5784
  type: z.ZodString;
@@ -5856,12 +5892,13 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5856
5892
  addressLine3?: string | null | undefined;
5857
5893
  postcodeOrZip?: string | null | undefined;
5858
5894
  }>]>>>;
5859
- originalActionId: z.ZodOptional<z.ZodString>;
5895
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5860
5896
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5861
5897
  }, {
5862
5898
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
5863
5899
  }>, "strip", z.ZodTypeAny, {
5864
5900
  type: "READ";
5901
+ transactionId: string;
5865
5902
  declaration: Record<string, string | number | boolean | {
5866
5903
  type: string;
5867
5904
  filename: string;
@@ -5899,9 +5936,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5899
5936
  option: string;
5900
5937
  filename: string;
5901
5938
  originalFilename: string;
5902
- }[] | undefined>;
5903
- eventId: string;
5904
- transactionId: string;
5939
+ }[] | [string, string] | undefined>;
5940
+ eventId: string & z.BRAND<"UUID">;
5905
5941
  annotation?: Record<string, string | number | boolean | {
5906
5942
  type: string;
5907
5943
  filename: string;
@@ -5939,12 +5975,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5939
5975
  option: string;
5940
5976
  filename: string;
5941
5977
  originalFilename: string;
5942
- }[] | undefined> | undefined;
5943
- originalActionId?: string | undefined;
5978
+ }[] | [string, string] | undefined> | undefined;
5979
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5944
5980
  keepAssignment?: boolean | undefined;
5945
5981
  }, {
5946
- eventId: string;
5947
5982
  transactionId: string;
5983
+ eventId: string;
5948
5984
  type?: "READ" | undefined;
5949
5985
  declaration?: Record<string, string | number | boolean | {
5950
5986
  type: string;
@@ -5983,7 +6019,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5983
6019
  option: string;
5984
6020
  filename: string;
5985
6021
  originalFilename: string;
5986
- }[] | undefined> | undefined;
6022
+ }[] | [string, string] | undefined> | undefined;
5987
6023
  annotation?: Record<string, string | number | boolean | {
5988
6024
  type: string;
5989
6025
  filename: string;
@@ -6021,11 +6057,19 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
6021
6057
  option: string;
6022
6058
  filename: string;
6023
6059
  originalFilename: string;
6024
- }[] | undefined> | undefined;
6060
+ }[] | [string, string] | undefined> | undefined;
6025
6061
  originalActionId?: string | undefined;
6026
6062
  keepAssignment?: boolean | undefined;
6027
6063
  }>;
6028
6064
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
6065
+ export declare const DeleteActionInput: z.ZodObject<{
6066
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6067
+ }, "strip", z.ZodTypeAny, {
6068
+ eventId: string & z.BRAND<"UUID">;
6069
+ }, {
6070
+ eventId: string;
6071
+ }>;
6072
+ export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
6029
6073
  /**
6030
6074
  * ActionInput types are used to validate the input data for the action.
6031
6075
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -6035,9 +6079,9 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
6035
6079
  * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
6036
6080
  */
6037
6081
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
6038
- eventId: z.ZodString;
6082
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6039
6083
  transactionId: z.ZodString;
6040
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6084
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6041
6085
  filename: z.ZodString;
6042
6086
  originalFilename: z.ZodString;
6043
6087
  type: z.ZodString;
@@ -6151,7 +6195,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6151
6195
  addressLine3?: string | null | undefined;
6152
6196
  postcodeOrZip?: string | null | undefined;
6153
6197
  }>]>>>;
6154
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6198
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6155
6199
  filename: z.ZodString;
6156
6200
  originalFilename: z.ZodString;
6157
6201
  type: z.ZodString;
@@ -6265,13 +6309,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6265
6309
  addressLine3?: string | null | undefined;
6266
6310
  postcodeOrZip?: string | null | undefined;
6267
6311
  }>]>>>;
6268
- originalActionId: z.ZodOptional<z.ZodString>;
6312
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
6269
6313
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6270
6314
  }, {
6271
6315
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
6272
- createdAtLocation: z.ZodString;
6316
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6273
6317
  }>, "strip", z.ZodTypeAny, {
6274
6318
  type: "CREATE";
6319
+ transactionId: string;
6275
6320
  declaration: Record<string, string | number | boolean | {
6276
6321
  type: string;
6277
6322
  filename: string;
@@ -6309,10 +6354,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6309
6354
  option: string;
6310
6355
  filename: string;
6311
6356
  originalFilename: string;
6312
- }[] | undefined>;
6313
- createdAtLocation: string;
6314
- eventId: string;
6315
- transactionId: string;
6357
+ }[] | [string, string] | undefined>;
6358
+ eventId: string & z.BRAND<"UUID">;
6359
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6316
6360
  annotation?: Record<string, string | number | boolean | {
6317
6361
  type: string;
6318
6362
  filename: string;
@@ -6350,14 +6394,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6350
6394
  option: string;
6351
6395
  filename: string;
6352
6396
  originalFilename: string;
6353
- }[] | undefined> | undefined;
6354
- originalActionId?: string | undefined;
6397
+ }[] | [string, string] | undefined> | undefined;
6398
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6355
6399
  keepAssignment?: boolean | undefined;
6356
6400
  }, {
6357
- createdAtLocation: string;
6358
- eventId: string;
6359
6401
  transactionId: string;
6402
+ eventId: string;
6360
6403
  type?: "CREATE" | undefined;
6404
+ createdAtLocation?: string | null | undefined;
6361
6405
  declaration?: Record<string, string | number | boolean | {
6362
6406
  type: string;
6363
6407
  filename: string;
@@ -6395,7 +6439,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6395
6439
  option: string;
6396
6440
  filename: string;
6397
6441
  originalFilename: string;
6398
- }[] | undefined> | undefined;
6442
+ }[] | [string, string] | undefined> | undefined;
6399
6443
  annotation?: Record<string, string | number | boolean | {
6400
6444
  type: string;
6401
6445
  filename: string;
@@ -6433,13 +6477,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6433
6477
  option: string;
6434
6478
  filename: string;
6435
6479
  originalFilename: string;
6436
- }[] | undefined> | undefined;
6480
+ }[] | [string, string] | undefined> | undefined;
6437
6481
  originalActionId?: string | undefined;
6438
6482
  keepAssignment?: boolean | undefined;
6439
6483
  }>, z.ZodObject<z.objectUtil.extendShape<{
6440
- eventId: z.ZodString;
6484
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6441
6485
  transactionId: z.ZodString;
6442
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6486
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6443
6487
  filename: z.ZodString;
6444
6488
  originalFilename: z.ZodString;
6445
6489
  type: z.ZodString;
@@ -6553,7 +6597,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6553
6597
  addressLine3?: string | null | undefined;
6554
6598
  postcodeOrZip?: string | null | undefined;
6555
6599
  }>]>>>;
6556
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6600
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6557
6601
  filename: z.ZodString;
6558
6602
  originalFilename: z.ZodString;
6559
6603
  type: z.ZodString;
@@ -6667,13 +6711,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6667
6711
  addressLine3?: string | null | undefined;
6668
6712
  postcodeOrZip?: string | null | undefined;
6669
6713
  }>]>>>;
6670
- originalActionId: z.ZodOptional<z.ZodString>;
6714
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
6671
6715
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6672
6716
  }, {
6673
6717
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
6674
6718
  duplicates: z.ZodArray<z.ZodString, "many">;
6675
6719
  }>, "strip", z.ZodTypeAny, {
6676
6720
  type: "VALIDATE";
6721
+ transactionId: string;
6677
6722
  declaration: Record<string, string | number | boolean | {
6678
6723
  type: string;
6679
6724
  filename: string;
@@ -6711,9 +6756,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6711
6756
  option: string;
6712
6757
  filename: string;
6713
6758
  originalFilename: string;
6714
- }[] | undefined>;
6715
- eventId: string;
6716
- transactionId: string;
6759
+ }[] | [string, string] | undefined>;
6760
+ eventId: string & z.BRAND<"UUID">;
6717
6761
  duplicates: string[];
6718
6762
  annotation?: Record<string, string | number | boolean | {
6719
6763
  type: string;
@@ -6752,12 +6796,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6752
6796
  option: string;
6753
6797
  filename: string;
6754
6798
  originalFilename: string;
6755
- }[] | undefined> | undefined;
6756
- originalActionId?: string | undefined;
6799
+ }[] | [string, string] | undefined> | undefined;
6800
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6757
6801
  keepAssignment?: boolean | undefined;
6758
6802
  }, {
6759
- eventId: string;
6760
6803
  transactionId: string;
6804
+ eventId: string;
6761
6805
  duplicates: string[];
6762
6806
  type?: "VALIDATE" | undefined;
6763
6807
  declaration?: Record<string, string | number | boolean | {
@@ -6797,7 +6841,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6797
6841
  option: string;
6798
6842
  filename: string;
6799
6843
  originalFilename: string;
6800
- }[] | undefined> | undefined;
6844
+ }[] | [string, string] | undefined> | undefined;
6801
6845
  annotation?: Record<string, string | number | boolean | {
6802
6846
  type: string;
6803
6847
  filename: string;
@@ -6835,13 +6879,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6835
6879
  option: string;
6836
6880
  filename: string;
6837
6881
  originalFilename: string;
6838
- }[] | undefined> | undefined;
6882
+ }[] | [string, string] | undefined> | undefined;
6839
6883
  originalActionId?: string | undefined;
6840
6884
  keepAssignment?: boolean | undefined;
6841
6885
  }>, z.ZodObject<z.objectUtil.extendShape<{
6842
- eventId: z.ZodString;
6886
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6843
6887
  transactionId: z.ZodString;
6844
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6888
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6845
6889
  filename: z.ZodString;
6846
6890
  originalFilename: z.ZodString;
6847
6891
  type: z.ZodString;
@@ -6955,7 +6999,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6955
6999
  addressLine3?: string | null | undefined;
6956
7000
  postcodeOrZip?: string | null | undefined;
6957
7001
  }>]>>>;
6958
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7002
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6959
7003
  filename: z.ZodString;
6960
7004
  originalFilename: z.ZodString;
6961
7005
  type: z.ZodString;
@@ -7069,13 +7113,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7069
7113
  addressLine3?: string | null | undefined;
7070
7114
  postcodeOrZip?: string | null | undefined;
7071
7115
  }>]>>>;
7072
- originalActionId: z.ZodOptional<z.ZodString>;
7116
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7073
7117
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7074
7118
  }, {
7075
7119
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
7076
7120
  registrationNumber: z.ZodOptional<z.ZodString>;
7077
7121
  }>, "strip", z.ZodTypeAny, {
7078
7122
  type: "REGISTER";
7123
+ transactionId: string;
7079
7124
  declaration: Record<string, string | number | boolean | {
7080
7125
  type: string;
7081
7126
  filename: string;
@@ -7113,9 +7158,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7113
7158
  option: string;
7114
7159
  filename: string;
7115
7160
  originalFilename: string;
7116
- }[] | undefined>;
7117
- eventId: string;
7118
- transactionId: string;
7161
+ }[] | [string, string] | undefined>;
7162
+ eventId: string & z.BRAND<"UUID">;
7119
7163
  annotation?: Record<string, string | number | boolean | {
7120
7164
  type: string;
7121
7165
  filename: string;
@@ -7153,13 +7197,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7153
7197
  option: string;
7154
7198
  filename: string;
7155
7199
  originalFilename: string;
7156
- }[] | undefined> | undefined;
7157
- originalActionId?: string | undefined;
7200
+ }[] | [string, string] | undefined> | undefined;
7201
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7158
7202
  registrationNumber?: string | undefined;
7159
7203
  keepAssignment?: boolean | undefined;
7160
7204
  }, {
7161
- eventId: string;
7162
7205
  transactionId: string;
7206
+ eventId: string;
7163
7207
  type?: "REGISTER" | undefined;
7164
7208
  declaration?: Record<string, string | number | boolean | {
7165
7209
  type: string;
@@ -7198,7 +7242,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7198
7242
  option: string;
7199
7243
  filename: string;
7200
7244
  originalFilename: string;
7201
- }[] | undefined> | undefined;
7245
+ }[] | [string, string] | undefined> | undefined;
7202
7246
  annotation?: Record<string, string | number | boolean | {
7203
7247
  type: string;
7204
7248
  filename: string;
@@ -7236,14 +7280,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7236
7280
  option: string;
7237
7281
  filename: string;
7238
7282
  originalFilename: string;
7239
- }[] | undefined> | undefined;
7283
+ }[] | [string, string] | undefined> | undefined;
7240
7284
  originalActionId?: string | undefined;
7241
7285
  registrationNumber?: string | undefined;
7242
7286
  keepAssignment?: boolean | undefined;
7243
7287
  }>, z.ZodObject<z.objectUtil.extendShape<{
7244
- eventId: z.ZodString;
7288
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
7245
7289
  transactionId: z.ZodString;
7246
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7290
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7247
7291
  filename: z.ZodString;
7248
7292
  originalFilename: z.ZodString;
7249
7293
  type: z.ZodString;
@@ -7357,7 +7401,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7357
7401
  addressLine3?: string | null | undefined;
7358
7402
  postcodeOrZip?: string | null | undefined;
7359
7403
  }>]>>>;
7360
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7404
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7361
7405
  filename: z.ZodString;
7362
7406
  originalFilename: z.ZodString;
7363
7407
  type: z.ZodString;
@@ -7471,12 +7515,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7471
7515
  addressLine3?: string | null | undefined;
7472
7516
  postcodeOrZip?: string | null | undefined;
7473
7517
  }>]>>>;
7474
- originalActionId: z.ZodOptional<z.ZodString>;
7518
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7475
7519
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7476
7520
  }, {
7477
7521
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
7478
7522
  }>, "strip", z.ZodTypeAny, {
7479
7523
  type: "NOTIFY";
7524
+ transactionId: string;
7480
7525
  declaration: Record<string, string | number | boolean | {
7481
7526
  type: string;
7482
7527
  filename: string;
@@ -7514,9 +7559,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7514
7559
  option: string;
7515
7560
  filename: string;
7516
7561
  originalFilename: string;
7517
- }[] | undefined>;
7518
- eventId: string;
7519
- transactionId: string;
7562
+ }[] | [string, string] | undefined>;
7563
+ eventId: string & z.BRAND<"UUID">;
7520
7564
  annotation?: Record<string, string | number | boolean | {
7521
7565
  type: string;
7522
7566
  filename: string;
@@ -7554,12 +7598,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7554
7598
  option: string;
7555
7599
  filename: string;
7556
7600
  originalFilename: string;
7557
- }[] | undefined> | undefined;
7558
- originalActionId?: string | undefined;
7601
+ }[] | [string, string] | undefined> | undefined;
7602
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7559
7603
  keepAssignment?: boolean | undefined;
7560
7604
  }, {
7561
- eventId: string;
7562
7605
  transactionId: string;
7606
+ eventId: string;
7563
7607
  type?: "NOTIFY" | undefined;
7564
7608
  declaration?: Record<string, string | number | boolean | {
7565
7609
  type: string;
@@ -7598,7 +7642,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7598
7642
  option: string;
7599
7643
  filename: string;
7600
7644
  originalFilename: string;
7601
- }[] | undefined> | undefined;
7645
+ }[] | [string, string] | undefined> | undefined;
7602
7646
  annotation?: Record<string, string | number | boolean | {
7603
7647
  type: string;
7604
7648
  filename: string;
@@ -7636,13 +7680,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7636
7680
  option: string;
7637
7681
  filename: string;
7638
7682
  originalFilename: string;
7639
- }[] | undefined> | undefined;
7683
+ }[] | [string, string] | undefined> | undefined;
7640
7684
  originalActionId?: string | undefined;
7641
7685
  keepAssignment?: boolean | undefined;
7642
7686
  }>, z.ZodObject<z.objectUtil.extendShape<{
7643
- eventId: z.ZodString;
7687
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
7644
7688
  transactionId: z.ZodString;
7645
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7689
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7646
7690
  filename: z.ZodString;
7647
7691
  originalFilename: z.ZodString;
7648
7692
  type: z.ZodString;
@@ -7756,7 +7800,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7756
7800
  addressLine3?: string | null | undefined;
7757
7801
  postcodeOrZip?: string | null | undefined;
7758
7802
  }>]>>>;
7759
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7803
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7760
7804
  filename: z.ZodString;
7761
7805
  originalFilename: z.ZodString;
7762
7806
  type: z.ZodString;
@@ -7870,12 +7914,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7870
7914
  addressLine3?: string | null | undefined;
7871
7915
  postcodeOrZip?: string | null | undefined;
7872
7916
  }>]>>>;
7873
- originalActionId: z.ZodOptional<z.ZodString>;
7917
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7874
7918
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7875
7919
  }, {
7876
7920
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7877
7921
  }>, "strip", z.ZodTypeAny, {
7878
7922
  type: "DECLARE";
7923
+ transactionId: string;
7879
7924
  declaration: Record<string, string | number | boolean | {
7880
7925
  type: string;
7881
7926
  filename: string;
@@ -7913,9 +7958,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7913
7958
  option: string;
7914
7959
  filename: string;
7915
7960
  originalFilename: string;
7916
- }[] | undefined>;
7917
- eventId: string;
7918
- transactionId: string;
7961
+ }[] | [string, string] | undefined>;
7962
+ eventId: string & z.BRAND<"UUID">;
7919
7963
  annotation?: Record<string, string | number | boolean | {
7920
7964
  type: string;
7921
7965
  filename: string;
@@ -7953,12 +7997,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7953
7997
  option: string;
7954
7998
  filename: string;
7955
7999
  originalFilename: string;
7956
- }[] | undefined> | undefined;
7957
- originalActionId?: string | undefined;
8000
+ }[] | [string, string] | undefined> | undefined;
8001
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7958
8002
  keepAssignment?: boolean | undefined;
7959
8003
  }, {
7960
- eventId: string;
7961
8004
  transactionId: string;
8005
+ eventId: string;
7962
8006
  type?: "DECLARE" | undefined;
7963
8007
  declaration?: Record<string, string | number | boolean | {
7964
8008
  type: string;
@@ -7997,7 +8041,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7997
8041
  option: string;
7998
8042
  filename: string;
7999
8043
  originalFilename: string;
8000
- }[] | undefined> | undefined;
8044
+ }[] | [string, string] | undefined> | undefined;
8001
8045
  annotation?: Record<string, string | number | boolean | {
8002
8046
  type: string;
8003
8047
  filename: string;
@@ -8035,13 +8079,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8035
8079
  option: string;
8036
8080
  filename: string;
8037
8081
  originalFilename: string;
8038
- }[] | undefined> | undefined;
8082
+ }[] | [string, string] | undefined> | undefined;
8039
8083
  originalActionId?: string | undefined;
8040
8084
  keepAssignment?: boolean | undefined;
8041
8085
  }>, z.ZodObject<z.objectUtil.extendShape<{
8042
- eventId: z.ZodString;
8086
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
8043
8087
  transactionId: z.ZodString;
8044
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8088
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8045
8089
  filename: z.ZodString;
8046
8090
  originalFilename: z.ZodString;
8047
8091
  type: z.ZodString;
@@ -8155,7 +8199,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8155
8199
  addressLine3?: string | null | undefined;
8156
8200
  postcodeOrZip?: string | null | undefined;
8157
8201
  }>]>>>;
8158
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8202
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8159
8203
  filename: z.ZodString;
8160
8204
  originalFilename: z.ZodString;
8161
8205
  type: z.ZodString;
@@ -8269,12 +8313,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8269
8313
  addressLine3?: string | null | undefined;
8270
8314
  postcodeOrZip?: string | null | undefined;
8271
8315
  }>]>>>;
8272
- originalActionId: z.ZodOptional<z.ZodString>;
8316
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8273
8317
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8274
8318
  }, {
8275
8319
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
8320
+ reason: z.ZodObject<{
8321
+ message: z.ZodString;
8322
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
8323
+ }, "strip", z.ZodTypeAny, {
8324
+ message: string;
8325
+ isDuplicate?: boolean | undefined;
8326
+ }, {
8327
+ message: string;
8328
+ isDuplicate?: boolean | undefined;
8329
+ }>;
8276
8330
  }>, "strip", z.ZodTypeAny, {
8277
8331
  type: "REJECT";
8332
+ reason: {
8333
+ message: string;
8334
+ isDuplicate?: boolean | undefined;
8335
+ };
8336
+ transactionId: string;
8278
8337
  declaration: Record<string, string | number | boolean | {
8279
8338
  type: string;
8280
8339
  filename: string;
@@ -8312,9 +8371,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8312
8371
  option: string;
8313
8372
  filename: string;
8314
8373
  originalFilename: string;
8315
- }[] | undefined>;
8316
- eventId: string;
8317
- transactionId: string;
8374
+ }[] | [string, string] | undefined>;
8375
+ eventId: string & z.BRAND<"UUID">;
8318
8376
  annotation?: Record<string, string | number | boolean | {
8319
8377
  type: string;
8320
8378
  filename: string;
@@ -8352,12 +8410,16 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8352
8410
  option: string;
8353
8411
  filename: string;
8354
8412
  originalFilename: string;
8355
- }[] | undefined> | undefined;
8356
- originalActionId?: string | undefined;
8413
+ }[] | [string, string] | undefined> | undefined;
8414
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8357
8415
  keepAssignment?: boolean | undefined;
8358
8416
  }, {
8359
- eventId: string;
8417
+ reason: {
8418
+ message: string;
8419
+ isDuplicate?: boolean | undefined;
8420
+ };
8360
8421
  transactionId: string;
8422
+ eventId: string;
8361
8423
  type?: "REJECT" | undefined;
8362
8424
  declaration?: Record<string, string | number | boolean | {
8363
8425
  type: string;
@@ -8396,7 +8458,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8396
8458
  option: string;
8397
8459
  filename: string;
8398
8460
  originalFilename: string;
8399
- }[] | undefined> | undefined;
8461
+ }[] | [string, string] | undefined> | undefined;
8400
8462
  annotation?: Record<string, string | number | boolean | {
8401
8463
  type: string;
8402
8464
  filename: string;
@@ -8434,13 +8496,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8434
8496
  option: string;
8435
8497
  filename: string;
8436
8498
  originalFilename: string;
8437
- }[] | undefined> | undefined;
8499
+ }[] | [string, string] | undefined> | undefined;
8438
8500
  originalActionId?: string | undefined;
8439
8501
  keepAssignment?: boolean | undefined;
8440
8502
  }>, z.ZodObject<z.objectUtil.extendShape<{
8441
- eventId: z.ZodString;
8503
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
8442
8504
  transactionId: z.ZodString;
8443
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8505
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8444
8506
  filename: z.ZodString;
8445
8507
  originalFilename: z.ZodString;
8446
8508
  type: z.ZodString;
@@ -8554,7 +8616,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8554
8616
  addressLine3?: string | null | undefined;
8555
8617
  postcodeOrZip?: string | null | undefined;
8556
8618
  }>]>>>;
8557
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8619
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8558
8620
  filename: z.ZodString;
8559
8621
  originalFilename: z.ZodString;
8560
8622
  type: z.ZodString;
@@ -8668,12 +8730,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8668
8730
  addressLine3?: string | null | undefined;
8669
8731
  postcodeOrZip?: string | null | undefined;
8670
8732
  }>]>>>;
8671
- originalActionId: z.ZodOptional<z.ZodString>;
8733
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8672
8734
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8673
8735
  }, {
8674
8736
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
8675
8737
  }>, "strip", z.ZodTypeAny, {
8676
8738
  type: "MARKED_AS_DUPLICATE";
8739
+ transactionId: string;
8677
8740
  declaration: Record<string, string | number | boolean | {
8678
8741
  type: string;
8679
8742
  filename: string;
@@ -8711,9 +8774,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8711
8774
  option: string;
8712
8775
  filename: string;
8713
8776
  originalFilename: string;
8714
- }[] | undefined>;
8715
- eventId: string;
8716
- transactionId: string;
8777
+ }[] | [string, string] | undefined>;
8778
+ eventId: string & z.BRAND<"UUID">;
8717
8779
  annotation?: Record<string, string | number | boolean | {
8718
8780
  type: string;
8719
8781
  filename: string;
@@ -8751,12 +8813,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8751
8813
  option: string;
8752
8814
  filename: string;
8753
8815
  originalFilename: string;
8754
- }[] | undefined> | undefined;
8755
- originalActionId?: string | undefined;
8816
+ }[] | [string, string] | undefined> | undefined;
8817
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8756
8818
  keepAssignment?: boolean | undefined;
8757
8819
  }, {
8758
- eventId: string;
8759
8820
  transactionId: string;
8821
+ eventId: string;
8760
8822
  type?: "MARKED_AS_DUPLICATE" | undefined;
8761
8823
  declaration?: Record<string, string | number | boolean | {
8762
8824
  type: string;
@@ -8795,7 +8857,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8795
8857
  option: string;
8796
8858
  filename: string;
8797
8859
  originalFilename: string;
8798
- }[] | undefined> | undefined;
8860
+ }[] | [string, string] | undefined> | undefined;
8799
8861
  annotation?: Record<string, string | number | boolean | {
8800
8862
  type: string;
8801
8863
  filename: string;
@@ -8833,13 +8895,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8833
8895
  option: string;
8834
8896
  filename: string;
8835
8897
  originalFilename: string;
8836
- }[] | undefined> | undefined;
8898
+ }[] | [string, string] | undefined> | undefined;
8837
8899
  originalActionId?: string | undefined;
8838
8900
  keepAssignment?: boolean | undefined;
8839
8901
  }>, z.ZodObject<z.objectUtil.extendShape<{
8840
- eventId: z.ZodString;
8902
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
8841
8903
  transactionId: z.ZodString;
8842
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8904
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8843
8905
  filename: z.ZodString;
8844
8906
  originalFilename: z.ZodString;
8845
8907
  type: z.ZodString;
@@ -8953,7 +9015,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8953
9015
  addressLine3?: string | null | undefined;
8954
9016
  postcodeOrZip?: string | null | undefined;
8955
9017
  }>]>>>;
8956
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9018
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8957
9019
  filename: z.ZodString;
8958
9020
  originalFilename: z.ZodString;
8959
9021
  type: z.ZodString;
@@ -9067,12 +9129,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9067
9129
  addressLine3?: string | null | undefined;
9068
9130
  postcodeOrZip?: string | null | undefined;
9069
9131
  }>]>>>;
9070
- originalActionId: z.ZodOptional<z.ZodString>;
9132
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9071
9133
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9072
9134
  }, {
9073
9135
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
9136
+ reason: z.ZodObject<{
9137
+ message: z.ZodString;
9138
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9139
+ }, "strip", z.ZodTypeAny, {
9140
+ message: string;
9141
+ isDuplicate?: boolean | undefined;
9142
+ }, {
9143
+ message: string;
9144
+ isDuplicate?: boolean | undefined;
9145
+ }>;
9074
9146
  }>, "strip", z.ZodTypeAny, {
9075
9147
  type: "ARCHIVE";
9148
+ reason: {
9149
+ message: string;
9150
+ isDuplicate?: boolean | undefined;
9151
+ };
9152
+ transactionId: string;
9076
9153
  declaration: Record<string, string | number | boolean | {
9077
9154
  type: string;
9078
9155
  filename: string;
@@ -9110,9 +9187,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9110
9187
  option: string;
9111
9188
  filename: string;
9112
9189
  originalFilename: string;
9113
- }[] | undefined>;
9114
- eventId: string;
9115
- transactionId: string;
9190
+ }[] | [string, string] | undefined>;
9191
+ eventId: string & z.BRAND<"UUID">;
9116
9192
  annotation?: Record<string, string | number | boolean | {
9117
9193
  type: string;
9118
9194
  filename: string;
@@ -9150,12 +9226,16 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9150
9226
  option: string;
9151
9227
  filename: string;
9152
9228
  originalFilename: string;
9153
- }[] | undefined> | undefined;
9154
- originalActionId?: string | undefined;
9229
+ }[] | [string, string] | undefined> | undefined;
9230
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9155
9231
  keepAssignment?: boolean | undefined;
9156
9232
  }, {
9157
- eventId: string;
9233
+ reason: {
9234
+ message: string;
9235
+ isDuplicate?: boolean | undefined;
9236
+ };
9158
9237
  transactionId: string;
9238
+ eventId: string;
9159
9239
  type?: "ARCHIVE" | undefined;
9160
9240
  declaration?: Record<string, string | number | boolean | {
9161
9241
  type: string;
@@ -9194,7 +9274,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9194
9274
  option: string;
9195
9275
  filename: string;
9196
9276
  originalFilename: string;
9197
- }[] | undefined> | undefined;
9277
+ }[] | [string, string] | undefined> | undefined;
9198
9278
  annotation?: Record<string, string | number | boolean | {
9199
9279
  type: string;
9200
9280
  filename: string;
@@ -9232,13 +9312,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9232
9312
  option: string;
9233
9313
  filename: string;
9234
9314
  originalFilename: string;
9235
- }[] | undefined> | undefined;
9315
+ }[] | [string, string] | undefined> | undefined;
9236
9316
  originalActionId?: string | undefined;
9237
9317
  keepAssignment?: boolean | undefined;
9238
9318
  }>, z.ZodObject<z.objectUtil.extendShape<{
9239
- eventId: z.ZodString;
9319
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
9240
9320
  transactionId: z.ZodString;
9241
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9321
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9242
9322
  filename: z.ZodString;
9243
9323
  originalFilename: z.ZodString;
9244
9324
  type: z.ZodString;
@@ -9352,7 +9432,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9352
9432
  addressLine3?: string | null | undefined;
9353
9433
  postcodeOrZip?: string | null | undefined;
9354
9434
  }>]>>>;
9355
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9435
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9356
9436
  filename: z.ZodString;
9357
9437
  originalFilename: z.ZodString;
9358
9438
  type: z.ZodString;
@@ -9466,13 +9546,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9466
9546
  addressLine3?: string | null | undefined;
9467
9547
  postcodeOrZip?: string | null | undefined;
9468
9548
  }>]>>>;
9469
- originalActionId: z.ZodOptional<z.ZodString>;
9549
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9470
9550
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9471
9551
  }, {
9472
9552
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
9473
9553
  assignedTo: z.ZodString;
9474
9554
  }>, "strip", z.ZodTypeAny, {
9475
9555
  type: "ASSIGN";
9556
+ transactionId: string;
9476
9557
  declaration: Record<string, string | number | boolean | {
9477
9558
  type: string;
9478
9559
  filename: string;
@@ -9510,10 +9591,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9510
9591
  option: string;
9511
9592
  filename: string;
9512
9593
  originalFilename: string;
9513
- }[] | undefined>;
9594
+ }[] | [string, string] | undefined>;
9514
9595
  assignedTo: string;
9515
- eventId: string;
9516
- transactionId: string;
9596
+ eventId: string & z.BRAND<"UUID">;
9517
9597
  annotation?: Record<string, string | number | boolean | {
9518
9598
  type: string;
9519
9599
  filename: string;
@@ -9551,13 +9631,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9551
9631
  option: string;
9552
9632
  filename: string;
9553
9633
  originalFilename: string;
9554
- }[] | undefined> | undefined;
9555
- originalActionId?: string | undefined;
9634
+ }[] | [string, string] | undefined> | undefined;
9635
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9556
9636
  keepAssignment?: boolean | undefined;
9557
9637
  }, {
9638
+ transactionId: string;
9558
9639
  assignedTo: string;
9559
9640
  eventId: string;
9560
- transactionId: string;
9561
9641
  type?: "ASSIGN" | undefined;
9562
9642
  declaration?: Record<string, string | number | boolean | {
9563
9643
  type: string;
@@ -9596,7 +9676,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9596
9676
  option: string;
9597
9677
  filename: string;
9598
9678
  originalFilename: string;
9599
- }[] | undefined> | undefined;
9679
+ }[] | [string, string] | undefined> | undefined;
9600
9680
  annotation?: Record<string, string | number | boolean | {
9601
9681
  type: string;
9602
9682
  filename: string;
@@ -9634,13 +9714,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9634
9714
  option: string;
9635
9715
  filename: string;
9636
9716
  originalFilename: string;
9637
- }[] | undefined> | undefined;
9717
+ }[] | [string, string] | undefined> | undefined;
9638
9718
  originalActionId?: string | undefined;
9639
9719
  keepAssignment?: boolean | undefined;
9640
9720
  }>, z.ZodObject<z.objectUtil.extendShape<{
9641
- eventId: z.ZodString;
9721
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
9642
9722
  transactionId: z.ZodString;
9643
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9723
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9644
9724
  filename: z.ZodString;
9645
9725
  originalFilename: z.ZodString;
9646
9726
  type: z.ZodString;
@@ -9754,7 +9834,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9754
9834
  addressLine3?: string | null | undefined;
9755
9835
  postcodeOrZip?: string | null | undefined;
9756
9836
  }>]>>>;
9757
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9837
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9758
9838
  filename: z.ZodString;
9759
9839
  originalFilename: z.ZodString;
9760
9840
  type: z.ZodString;
@@ -9868,13 +9948,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9868
9948
  addressLine3?: string | null | undefined;
9869
9949
  postcodeOrZip?: string | null | undefined;
9870
9950
  }>]>>>;
9871
- originalActionId: z.ZodOptional<z.ZodString>;
9951
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9872
9952
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9873
9953
  }, {
9874
9954
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9875
9955
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
9876
9956
  }>, "strip", z.ZodTypeAny, {
9877
9957
  type: "UNASSIGN";
9958
+ transactionId: string;
9878
9959
  declaration: Record<string, string | number | boolean | {
9879
9960
  type: string;
9880
9961
  filename: string;
@@ -9912,10 +9993,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9912
9993
  option: string;
9913
9994
  filename: string;
9914
9995
  originalFilename: string;
9915
- }[] | undefined>;
9996
+ }[] | [string, string] | undefined>;
9916
9997
  assignedTo: null;
9917
- eventId: string;
9918
- transactionId: string;
9998
+ eventId: string & z.BRAND<"UUID">;
9919
9999
  annotation?: Record<string, string | number | boolean | {
9920
10000
  type: string;
9921
10001
  filename: string;
@@ -9953,12 +10033,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9953
10033
  option: string;
9954
10034
  filename: string;
9955
10035
  originalFilename: string;
9956
- }[] | undefined> | undefined;
9957
- originalActionId?: string | undefined;
10036
+ }[] | [string, string] | undefined> | undefined;
10037
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9958
10038
  keepAssignment?: boolean | undefined;
9959
10039
  }, {
9960
- eventId: string;
9961
10040
  transactionId: string;
10041
+ eventId: string;
9962
10042
  type?: "UNASSIGN" | undefined;
9963
10043
  declaration?: Record<string, string | number | boolean | {
9964
10044
  type: string;
@@ -9997,7 +10077,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9997
10077
  option: string;
9998
10078
  filename: string;
9999
10079
  originalFilename: string;
10000
- }[] | undefined> | undefined;
10080
+ }[] | [string, string] | undefined> | undefined;
10001
10081
  annotation?: Record<string, string | number | boolean | {
10002
10082
  type: string;
10003
10083
  filename: string;
@@ -10035,14 +10115,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10035
10115
  option: string;
10036
10116
  filename: string;
10037
10117
  originalFilename: string;
10038
- }[] | undefined> | undefined;
10118
+ }[] | [string, string] | undefined> | undefined;
10039
10119
  originalActionId?: string | undefined;
10040
10120
  assignedTo?: null | undefined;
10041
10121
  keepAssignment?: boolean | undefined;
10042
10122
  }>, z.ZodObject<z.objectUtil.extendShape<{
10043
- eventId: z.ZodString;
10123
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
10044
10124
  transactionId: z.ZodString;
10045
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10125
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10046
10126
  filename: z.ZodString;
10047
10127
  originalFilename: z.ZodString;
10048
10128
  type: z.ZodString;
@@ -10156,7 +10236,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10156
10236
  addressLine3?: string | null | undefined;
10157
10237
  postcodeOrZip?: string | null | undefined;
10158
10238
  }>]>>>;
10159
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10239
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10160
10240
  filename: z.ZodString;
10161
10241
  originalFilename: z.ZodString;
10162
10242
  type: z.ZodString;
@@ -10270,12 +10350,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10270
10350
  addressLine3?: string | null | undefined;
10271
10351
  postcodeOrZip?: string | null | undefined;
10272
10352
  }>]>>>;
10273
- originalActionId: z.ZodOptional<z.ZodString>;
10353
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
10274
10354
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
10275
10355
  }, {
10276
10356
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
10277
10357
  }>, "strip", z.ZodTypeAny, {
10278
10358
  type: "PRINT_CERTIFICATE";
10359
+ transactionId: string;
10279
10360
  declaration: Record<string, string | number | boolean | {
10280
10361
  type: string;
10281
10362
  filename: string;
@@ -10313,9 +10394,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10313
10394
  option: string;
10314
10395
  filename: string;
10315
10396
  originalFilename: string;
10316
- }[] | undefined>;
10317
- eventId: string;
10318
- transactionId: string;
10397
+ }[] | [string, string] | undefined>;
10398
+ eventId: string & z.BRAND<"UUID">;
10319
10399
  annotation?: Record<string, string | number | boolean | {
10320
10400
  type: string;
10321
10401
  filename: string;
@@ -10353,12 +10433,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10353
10433
  option: string;
10354
10434
  filename: string;
10355
10435
  originalFilename: string;
10356
- }[] | undefined> | undefined;
10357
- originalActionId?: string | undefined;
10436
+ }[] | [string, string] | undefined> | undefined;
10437
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10358
10438
  keepAssignment?: boolean | undefined;
10359
10439
  }, {
10360
- eventId: string;
10361
10440
  transactionId: string;
10441
+ eventId: string;
10362
10442
  type?: "PRINT_CERTIFICATE" | undefined;
10363
10443
  declaration?: Record<string, string | number | boolean | {
10364
10444
  type: string;
@@ -10397,7 +10477,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10397
10477
  option: string;
10398
10478
  filename: string;
10399
10479
  originalFilename: string;
10400
- }[] | undefined> | undefined;
10480
+ }[] | [string, string] | undefined> | undefined;
10401
10481
  annotation?: Record<string, string | number | boolean | {
10402
10482
  type: string;
10403
10483
  filename: string;
@@ -10435,13 +10515,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10435
10515
  option: string;
10436
10516
  filename: string;
10437
10517
  originalFilename: string;
10438
- }[] | undefined> | undefined;
10518
+ }[] | [string, string] | undefined> | undefined;
10439
10519
  originalActionId?: string | undefined;
10440
10520
  keepAssignment?: boolean | undefined;
10441
10521
  }>, z.ZodObject<z.objectUtil.extendShape<{
10442
- eventId: z.ZodString;
10522
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
10443
10523
  transactionId: z.ZodString;
10444
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10524
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10445
10525
  filename: z.ZodString;
10446
10526
  originalFilename: z.ZodString;
10447
10527
  type: z.ZodString;
@@ -10555,7 +10635,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10555
10635
  addressLine3?: string | null | undefined;
10556
10636
  postcodeOrZip?: string | null | undefined;
10557
10637
  }>]>>>;
10558
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10638
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10559
10639
  filename: z.ZodString;
10560
10640
  originalFilename: z.ZodString;
10561
10641
  type: z.ZodString;
@@ -10669,12 +10749,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10669
10749
  addressLine3?: string | null | undefined;
10670
10750
  postcodeOrZip?: string | null | undefined;
10671
10751
  }>]>>>;
10672
- originalActionId: z.ZodOptional<z.ZodString>;
10752
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
10673
10753
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
10674
10754
  }, {
10675
10755
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
10676
10756
  }>, "strip", z.ZodTypeAny, {
10677
10757
  type: "REQUEST_CORRECTION";
10758
+ transactionId: string;
10678
10759
  declaration: Record<string, string | number | boolean | {
10679
10760
  type: string;
10680
10761
  filename: string;
@@ -10712,9 +10793,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10712
10793
  option: string;
10713
10794
  filename: string;
10714
10795
  originalFilename: string;
10715
- }[] | undefined>;
10716
- eventId: string;
10717
- transactionId: string;
10796
+ }[] | [string, string] | undefined>;
10797
+ eventId: string & z.BRAND<"UUID">;
10718
10798
  annotation?: Record<string, string | number | boolean | {
10719
10799
  type: string;
10720
10800
  filename: string;
@@ -10752,12 +10832,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10752
10832
  option: string;
10753
10833
  filename: string;
10754
10834
  originalFilename: string;
10755
- }[] | undefined> | undefined;
10756
- originalActionId?: string | undefined;
10835
+ }[] | [string, string] | undefined> | undefined;
10836
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10757
10837
  keepAssignment?: boolean | undefined;
10758
10838
  }, {
10759
- eventId: string;
10760
10839
  transactionId: string;
10840
+ eventId: string;
10761
10841
  type?: "REQUEST_CORRECTION" | undefined;
10762
10842
  declaration?: Record<string, string | number | boolean | {
10763
10843
  type: string;
@@ -10796,7 +10876,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10796
10876
  option: string;
10797
10877
  filename: string;
10798
10878
  originalFilename: string;
10799
- }[] | undefined> | undefined;
10879
+ }[] | [string, string] | undefined> | undefined;
10800
10880
  annotation?: Record<string, string | number | boolean | {
10801
10881
  type: string;
10802
10882
  filename: string;
@@ -10834,13 +10914,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10834
10914
  option: string;
10835
10915
  filename: string;
10836
10916
  originalFilename: string;
10837
- }[] | undefined> | undefined;
10917
+ }[] | [string, string] | undefined> | undefined;
10838
10918
  originalActionId?: string | undefined;
10839
10919
  keepAssignment?: boolean | undefined;
10840
10920
  }>, z.ZodObject<z.objectUtil.extendShape<{
10841
- eventId: z.ZodString;
10921
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
10842
10922
  transactionId: z.ZodString;
10843
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10923
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10844
10924
  filename: z.ZodString;
10845
10925
  originalFilename: z.ZodString;
10846
10926
  type: z.ZodString;
@@ -10954,7 +11034,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10954
11034
  addressLine3?: string | null | undefined;
10955
11035
  postcodeOrZip?: string | null | undefined;
10956
11036
  }>]>>>;
10957
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11037
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10958
11038
  filename: z.ZodString;
10959
11039
  originalFilename: z.ZodString;
10960
11040
  type: z.ZodString;
@@ -11068,13 +11148,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11068
11148
  addressLine3?: string | null | undefined;
11069
11149
  postcodeOrZip?: string | null | undefined;
11070
11150
  }>]>>>;
11071
- originalActionId: z.ZodOptional<z.ZodString>;
11151
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11072
11152
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11073
11153
  }, {
11074
11154
  requestId: z.ZodString;
11075
11155
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
11076
11156
  }>, "strip", z.ZodTypeAny, {
11077
11157
  type: "REJECT_CORRECTION";
11158
+ transactionId: string;
11078
11159
  declaration: Record<string, string | number | boolean | {
11079
11160
  type: string;
11080
11161
  filename: string;
@@ -11112,10 +11193,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11112
11193
  option: string;
11113
11194
  filename: string;
11114
11195
  originalFilename: string;
11115
- }[] | undefined>;
11196
+ }[] | [string, string] | undefined>;
11116
11197
  requestId: string;
11117
- eventId: string;
11118
- transactionId: string;
11198
+ eventId: string & z.BRAND<"UUID">;
11119
11199
  annotation?: Record<string, string | number | boolean | {
11120
11200
  type: string;
11121
11201
  filename: string;
@@ -11153,13 +11233,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11153
11233
  option: string;
11154
11234
  filename: string;
11155
11235
  originalFilename: string;
11156
- }[] | undefined> | undefined;
11157
- originalActionId?: string | undefined;
11236
+ }[] | [string, string] | undefined> | undefined;
11237
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11158
11238
  keepAssignment?: boolean | undefined;
11159
11239
  }, {
11240
+ transactionId: string;
11160
11241
  requestId: string;
11161
11242
  eventId: string;
11162
- transactionId: string;
11163
11243
  type?: "REJECT_CORRECTION" | undefined;
11164
11244
  declaration?: Record<string, string | number | boolean | {
11165
11245
  type: string;
@@ -11198,7 +11278,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11198
11278
  option: string;
11199
11279
  filename: string;
11200
11280
  originalFilename: string;
11201
- }[] | undefined> | undefined;
11281
+ }[] | [string, string] | undefined> | undefined;
11202
11282
  annotation?: Record<string, string | number | boolean | {
11203
11283
  type: string;
11204
11284
  filename: string;
@@ -11236,13 +11316,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11236
11316
  option: string;
11237
11317
  filename: string;
11238
11318
  originalFilename: string;
11239
- }[] | undefined> | undefined;
11319
+ }[] | [string, string] | undefined> | undefined;
11240
11320
  originalActionId?: string | undefined;
11241
11321
  keepAssignment?: boolean | undefined;
11242
11322
  }>, z.ZodObject<z.objectUtil.extendShape<{
11243
- eventId: z.ZodString;
11323
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
11244
11324
  transactionId: z.ZodString;
11245
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11325
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11246
11326
  filename: z.ZodString;
11247
11327
  originalFilename: z.ZodString;
11248
11328
  type: z.ZodString;
@@ -11356,7 +11436,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11356
11436
  addressLine3?: string | null | undefined;
11357
11437
  postcodeOrZip?: string | null | undefined;
11358
11438
  }>]>>>;
11359
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11439
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11360
11440
  filename: z.ZodString;
11361
11441
  originalFilename: z.ZodString;
11362
11442
  type: z.ZodString;
@@ -11470,13 +11550,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11470
11550
  addressLine3?: string | null | undefined;
11471
11551
  postcodeOrZip?: string | null | undefined;
11472
11552
  }>]>>>;
11473
- originalActionId: z.ZodOptional<z.ZodString>;
11553
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11474
11554
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11475
11555
  }, {
11476
11556
  requestId: z.ZodString;
11477
11557
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
11478
11558
  }>, "strip", z.ZodTypeAny, {
11479
11559
  type: "APPROVE_CORRECTION";
11560
+ transactionId: string;
11480
11561
  declaration: Record<string, string | number | boolean | {
11481
11562
  type: string;
11482
11563
  filename: string;
@@ -11514,10 +11595,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11514
11595
  option: string;
11515
11596
  filename: string;
11516
11597
  originalFilename: string;
11517
- }[] | undefined>;
11598
+ }[] | [string, string] | undefined>;
11518
11599
  requestId: string;
11519
- eventId: string;
11520
- transactionId: string;
11600
+ eventId: string & z.BRAND<"UUID">;
11521
11601
  annotation?: Record<string, string | number | boolean | {
11522
11602
  type: string;
11523
11603
  filename: string;
@@ -11555,13 +11635,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11555
11635
  option: string;
11556
11636
  filename: string;
11557
11637
  originalFilename: string;
11558
- }[] | undefined> | undefined;
11559
- originalActionId?: string | undefined;
11638
+ }[] | [string, string] | undefined> | undefined;
11639
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11560
11640
  keepAssignment?: boolean | undefined;
11561
11641
  }, {
11642
+ transactionId: string;
11562
11643
  requestId: string;
11563
11644
  eventId: string;
11564
- transactionId: string;
11565
11645
  type?: "APPROVE_CORRECTION" | undefined;
11566
11646
  declaration?: Record<string, string | number | boolean | {
11567
11647
  type: string;
@@ -11600,7 +11680,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11600
11680
  option: string;
11601
11681
  filename: string;
11602
11682
  originalFilename: string;
11603
- }[] | undefined> | undefined;
11683
+ }[] | [string, string] | undefined> | undefined;
11604
11684
  annotation?: Record<string, string | number | boolean | {
11605
11685
  type: string;
11606
11686
  filename: string;
@@ -11638,13 +11718,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11638
11718
  option: string;
11639
11719
  filename: string;
11640
11720
  originalFilename: string;
11641
- }[] | undefined> | undefined;
11721
+ }[] | [string, string] | undefined> | undefined;
11642
11722
  originalActionId?: string | undefined;
11643
11723
  keepAssignment?: boolean | undefined;
11644
11724
  }>, z.ZodObject<z.objectUtil.extendShape<{
11645
- eventId: z.ZodString;
11725
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
11646
11726
  transactionId: z.ZodString;
11647
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11727
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11648
11728
  filename: z.ZodString;
11649
11729
  originalFilename: z.ZodString;
11650
11730
  type: z.ZodString;
@@ -11758,7 +11838,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11758
11838
  addressLine3?: string | null | undefined;
11759
11839
  postcodeOrZip?: string | null | undefined;
11760
11840
  }>]>>>;
11761
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11841
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11762
11842
  filename: z.ZodString;
11763
11843
  originalFilename: z.ZodString;
11764
11844
  type: z.ZodString;
@@ -11872,12 +11952,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11872
11952
  addressLine3?: string | null | undefined;
11873
11953
  postcodeOrZip?: string | null | undefined;
11874
11954
  }>]>>>;
11875
- originalActionId: z.ZodOptional<z.ZodString>;
11955
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11876
11956
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11877
11957
  }, {
11878
11958
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
11879
11959
  }>, "strip", z.ZodTypeAny, {
11880
11960
  type: "READ";
11961
+ transactionId: string;
11881
11962
  declaration: Record<string, string | number | boolean | {
11882
11963
  type: string;
11883
11964
  filename: string;
@@ -11915,9 +11996,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11915
11996
  option: string;
11916
11997
  filename: string;
11917
11998
  originalFilename: string;
11918
- }[] | undefined>;
11919
- eventId: string;
11920
- transactionId: string;
11999
+ }[] | [string, string] | undefined>;
12000
+ eventId: string & z.BRAND<"UUID">;
11921
12001
  annotation?: Record<string, string | number | boolean | {
11922
12002
  type: string;
11923
12003
  filename: string;
@@ -11955,12 +12035,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11955
12035
  option: string;
11956
12036
  filename: string;
11957
12037
  originalFilename: string;
11958
- }[] | undefined> | undefined;
11959
- originalActionId?: string | undefined;
12038
+ }[] | [string, string] | undefined> | undefined;
12039
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11960
12040
  keepAssignment?: boolean | undefined;
11961
12041
  }, {
11962
- eventId: string;
11963
12042
  transactionId: string;
12043
+ eventId: string;
11964
12044
  type?: "READ" | undefined;
11965
12045
  declaration?: Record<string, string | number | boolean | {
11966
12046
  type: string;
@@ -11999,7 +12079,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11999
12079
  option: string;
12000
12080
  filename: string;
12001
12081
  originalFilename: string;
12002
- }[] | undefined> | undefined;
12082
+ }[] | [string, string] | undefined> | undefined;
12003
12083
  annotation?: Record<string, string | number | boolean | {
12004
12084
  type: string;
12005
12085
  filename: string;
@@ -12037,7 +12117,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12037
12117
  option: string;
12038
12118
  filename: string;
12039
12119
  originalFilename: string;
12040
- }[] | undefined> | undefined;
12120
+ }[] | [string, string] | undefined> | undefined;
12041
12121
  originalActionId?: string | undefined;
12042
12122
  keepAssignment?: boolean | undefined;
12043
12123
  }>]>;