@opencrvs/toolkit 1.8.0-rc.f8296f8 → 1.8.0-rc.f84146e

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 (32) hide show
  1. package/dist/commons/api/router.d.ts +2944 -1117
  2. package/dist/commons/conditionals/conditionals.d.ts +6 -2
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +24179 -11127
  5. package/dist/commons/events/ActionDocument.d.ts +1818 -414
  6. package/dist/commons/events/ActionInput.d.ts +1504 -304
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +75 -3
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +1 -0
  11. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  12. package/dist/commons/events/Draft.d.ts +129 -33
  13. package/dist/commons/events/EventConfig.d.ts +12161 -5927
  14. package/dist/commons/events/EventDocument.d.ts +1162 -298
  15. package/dist/commons/events/EventIndex.d.ts +284 -31
  16. package/dist/commons/events/EventMetadata.d.ts +57 -57
  17. package/dist/commons/events/FieldConfig.d.ts +2074 -1202
  18. package/dist/commons/events/FieldType.d.ts +4 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
  20. package/dist/commons/events/FieldValue.d.ts +43 -5
  21. package/dist/commons/events/FormConfig.d.ts +10259 -4769
  22. package/dist/commons/events/PageConfig.d.ts +3480 -2134
  23. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  24. package/dist/commons/events/WorkqueueConfig.d.ts +297 -19
  25. package/dist/commons/events/defineConfig.d.ts +1724 -701
  26. package/dist/commons/events/field.d.ts +5 -10
  27. package/dist/commons/events/test.utils.d.ts +125 -40
  28. package/dist/commons/events/transactions.d.ts +1 -1
  29. package/dist/commons/events/utils.d.ts +10015 -331
  30. package/dist/conditionals/index.js +26 -6
  31. package/dist/events/index.js +760 -491
  32. package/package.json +1 -1
@@ -115,7 +115,19 @@ export declare const ActionUpdate: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodStr
115
115
  addressLine2?: string | null | undefined;
116
116
  addressLine3?: string | null | undefined;
117
117
  postcodeOrZip?: string | null | undefined;
118
- }>]>>;
118
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
119
+ firstname: z.ZodString;
120
+ surname: z.ZodString;
121
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ firstname: string;
124
+ surname: string;
125
+ middlename?: string | null | undefined;
126
+ }, {
127
+ firstname: string;
128
+ surname: string;
129
+ middlename?: string | null | undefined;
130
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
119
131
  export type ActionUpdate = z.infer<typeof ActionUpdate>;
120
132
  /**
121
133
  * EventState is an aggregate of all the actions that have been applied to event data.
@@ -233,7 +245,31 @@ export declare const EventState: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodStrin
233
245
  addressLine2?: string | undefined;
234
246
  addressLine3?: string | undefined;
235
247
  postcodeOrZip?: string | undefined;
236
- }>]>>;
248
+ }>, z.ZodObject<{
249
+ firstname: z.ZodString;
250
+ surname: z.ZodString;
251
+ middlename: z.ZodOptional<z.ZodString>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ firstname: string;
254
+ surname: string;
255
+ middlename?: string | undefined;
256
+ }, {
257
+ firstname: string;
258
+ surname: string;
259
+ middlename?: string | undefined;
260
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
261
+ firstname: z.ZodString;
262
+ surname: z.ZodString;
263
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ firstname: string;
266
+ surname: string;
267
+ middlename?: string | null | undefined;
268
+ }, {
269
+ firstname: string;
270
+ surname: string;
271
+ middlename?: string | null | undefined;
272
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
237
273
  export type EventState = z.infer<typeof EventState>;
238
274
  export declare const ActionStatus: {
239
275
  readonly Requested: "Requested";
@@ -248,7 +284,7 @@ export declare const ActionBase: z.ZodObject<{
248
284
  createdBy: z.ZodString;
249
285
  createdByRole: z.ZodString;
250
286
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
287
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
288
  declaration: 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<{
253
289
  filename: z.ZodString;
254
290
  originalFilename: z.ZodString;
@@ -362,8 +398,20 @@ export declare const ActionBase: z.ZodObject<{
362
398
  addressLine2?: string | null | undefined;
363
399
  addressLine3?: string | null | undefined;
364
400
  postcodeOrZip?: string | null | undefined;
365
- }>]>>;
366
- annotation: z.ZodNullable<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<{
401
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
402
+ firstname: z.ZodString;
403
+ surname: z.ZodString;
404
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ firstname: string;
407
+ surname: string;
408
+ middlename?: string | null | undefined;
409
+ }, {
410
+ firstname: string;
411
+ surname: string;
412
+ middlename?: string | null | undefined;
413
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
414
+ 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<{
367
415
  filename: z.ZodString;
368
416
  originalFilename: z.ZodString;
369
417
  type: z.ZodString;
@@ -476,9 +524,21 @@ export declare const ActionBase: z.ZodObject<{
476
524
  addressLine2?: string | null | undefined;
477
525
  addressLine3?: string | null | undefined;
478
526
  postcodeOrZip?: string | null | undefined;
479
- }>]>>>>;
527
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
528
+ firstname: z.ZodString;
529
+ surname: z.ZodString;
530
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
531
+ }, "strip", z.ZodTypeAny, {
532
+ firstname: string;
533
+ surname: string;
534
+ middlename?: string | null | undefined;
535
+ }, {
536
+ firstname: string;
537
+ surname: string;
538
+ middlename?: string | null | undefined;
539
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
480
540
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
481
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
541
+ originalActionId: z.ZodOptional<z.ZodString>;
482
542
  }, "strip", z.ZodTypeAny, {
483
543
  id: string;
484
544
  status: "Rejected" | "Requested" | "Accepted";
@@ -501,6 +561,10 @@ export declare const ActionBase: z.ZodObject<{
501
561
  residentialArea?: string | null | undefined;
502
562
  street?: string | null | undefined;
503
563
  zipCode?: string | null | undefined;
564
+ } | {
565
+ firstname: string;
566
+ surname: string;
567
+ middlename?: string | null | undefined;
504
568
  } | {
505
569
  country: string;
506
570
  district: string;
@@ -523,9 +587,9 @@ export declare const ActionBase: z.ZodObject<{
523
587
  option: string;
524
588
  filename: string;
525
589
  originalFilename: string;
526
- }[] | [string, string] | undefined>;
590
+ }[] | [string, string] | null | undefined>;
527
591
  createdBySignature?: string | null | undefined;
528
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
592
+ createdAtLocation?: string | null | undefined;
529
593
  annotation?: Record<string, string | number | boolean | {
530
594
  type: string;
531
595
  filename: string;
@@ -541,6 +605,10 @@ export declare const ActionBase: z.ZodObject<{
541
605
  residentialArea?: string | null | undefined;
542
606
  street?: string | null | undefined;
543
607
  zipCode?: string | null | undefined;
608
+ } | {
609
+ firstname: string;
610
+ surname: string;
611
+ middlename?: string | null | undefined;
544
612
  } | {
545
613
  country: string;
546
614
  district: string;
@@ -563,8 +631,8 @@ export declare const ActionBase: z.ZodObject<{
563
631
  option: string;
564
632
  filename: string;
565
633
  originalFilename: string;
566
- }[] | [string, string] | undefined> | null | undefined;
567
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
634
+ }[] | [string, string] | null | undefined> | undefined;
635
+ originalActionId?: string | undefined;
568
636
  }, {
569
637
  id: string;
570
638
  status: "Rejected" | "Requested" | "Accepted";
@@ -587,6 +655,10 @@ export declare const ActionBase: z.ZodObject<{
587
655
  residentialArea?: string | null | undefined;
588
656
  street?: string | null | undefined;
589
657
  zipCode?: string | null | undefined;
658
+ } | {
659
+ firstname: string;
660
+ surname: string;
661
+ middlename?: string | null | undefined;
590
662
  } | {
591
663
  country: string;
592
664
  district: string;
@@ -609,7 +681,7 @@ export declare const ActionBase: z.ZodObject<{
609
681
  option: string;
610
682
  filename: string;
611
683
  originalFilename: string;
612
- }[] | [string, string] | undefined>;
684
+ }[] | [string, string] | null | undefined>;
613
685
  createdBySignature?: string | null | undefined;
614
686
  createdAtLocation?: string | null | undefined;
615
687
  annotation?: Record<string, string | number | boolean | {
@@ -627,6 +699,10 @@ export declare const ActionBase: z.ZodObject<{
627
699
  residentialArea?: string | null | undefined;
628
700
  street?: string | null | undefined;
629
701
  zipCode?: string | null | undefined;
702
+ } | {
703
+ firstname: string;
704
+ surname: string;
705
+ middlename?: string | null | undefined;
630
706
  } | {
631
707
  country: string;
632
708
  district: string;
@@ -649,8 +725,8 @@ export declare const ActionBase: z.ZodObject<{
649
725
  option: string;
650
726
  filename: string;
651
727
  originalFilename: string;
652
- }[] | [string, string] | undefined> | null | undefined;
653
- originalActionId?: string | null | undefined;
728
+ }[] | [string, string] | null | undefined> | undefined;
729
+ originalActionId?: string | undefined;
654
730
  }>;
655
731
  export type ActionBase = z.infer<typeof ActionBase>;
656
732
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
@@ -660,7 +736,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
660
736
  createdBy: z.ZodString;
661
737
  createdByRole: z.ZodString;
662
738
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
739
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
664
740
  declaration: 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<{
665
741
  filename: z.ZodString;
666
742
  originalFilename: z.ZodString;
@@ -774,8 +850,20 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
774
850
  addressLine2?: string | null | undefined;
775
851
  addressLine3?: string | null | undefined;
776
852
  postcodeOrZip?: string | null | undefined;
777
- }>]>>;
778
- annotation: z.ZodNullable<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<{
853
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
854
+ firstname: z.ZodString;
855
+ surname: z.ZodString;
856
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
857
+ }, "strip", z.ZodTypeAny, {
858
+ firstname: string;
859
+ surname: string;
860
+ middlename?: string | null | undefined;
861
+ }, {
862
+ firstname: string;
863
+ surname: string;
864
+ middlename?: string | null | undefined;
865
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
866
+ 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<{
779
867
  filename: z.ZodString;
780
868
  originalFilename: z.ZodString;
781
869
  type: z.ZodString;
@@ -888,9 +976,21 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
888
976
  addressLine2?: string | null | undefined;
889
977
  addressLine3?: string | null | undefined;
890
978
  postcodeOrZip?: string | null | undefined;
891
- }>]>>>>;
979
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
980
+ firstname: z.ZodString;
981
+ surname: z.ZodString;
982
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
983
+ }, "strip", z.ZodTypeAny, {
984
+ firstname: string;
985
+ surname: string;
986
+ middlename?: string | null | undefined;
987
+ }, {
988
+ firstname: string;
989
+ surname: string;
990
+ middlename?: string | null | undefined;
991
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
892
992
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
893
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
993
+ originalActionId: z.ZodOptional<z.ZodString>;
894
994
  }, {
895
995
  type: z.ZodLiteral<"REGISTER">;
896
996
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -917,6 +1017,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
917
1017
  residentialArea?: string | null | undefined;
918
1018
  street?: string | null | undefined;
919
1019
  zipCode?: string | null | undefined;
1020
+ } | {
1021
+ firstname: string;
1022
+ surname: string;
1023
+ middlename?: string | null | undefined;
920
1024
  } | {
921
1025
  country: string;
922
1026
  district: string;
@@ -939,9 +1043,9 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
939
1043
  option: string;
940
1044
  filename: string;
941
1045
  originalFilename: string;
942
- }[] | [string, string] | undefined>;
1046
+ }[] | [string, string] | null | undefined>;
943
1047
  createdBySignature?: string | null | undefined;
944
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1048
+ createdAtLocation?: string | null | undefined;
945
1049
  annotation?: Record<string, string | number | boolean | {
946
1050
  type: string;
947
1051
  filename: string;
@@ -957,6 +1061,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
957
1061
  residentialArea?: string | null | undefined;
958
1062
  street?: string | null | undefined;
959
1063
  zipCode?: string | null | undefined;
1064
+ } | {
1065
+ firstname: string;
1066
+ surname: string;
1067
+ middlename?: string | null | undefined;
960
1068
  } | {
961
1069
  country: string;
962
1070
  district: string;
@@ -979,8 +1087,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
979
1087
  option: string;
980
1088
  filename: string;
981
1089
  originalFilename: string;
982
- }[] | [string, string] | undefined> | null | undefined;
983
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1090
+ }[] | [string, string] | null | undefined> | undefined;
1091
+ originalActionId?: string | undefined;
984
1092
  registrationNumber?: string | undefined;
985
1093
  }, {
986
1094
  type: "REGISTER";
@@ -1005,6 +1113,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1005
1113
  residentialArea?: string | null | undefined;
1006
1114
  street?: string | null | undefined;
1007
1115
  zipCode?: string | null | undefined;
1116
+ } | {
1117
+ firstname: string;
1118
+ surname: string;
1119
+ middlename?: string | null | undefined;
1008
1120
  } | {
1009
1121
  country: string;
1010
1122
  district: string;
@@ -1027,7 +1139,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1027
1139
  option: string;
1028
1140
  filename: string;
1029
1141
  originalFilename: string;
1030
- }[] | [string, string] | undefined>;
1142
+ }[] | [string, string] | null | undefined>;
1031
1143
  createdBySignature?: string | null | undefined;
1032
1144
  createdAtLocation?: string | null | undefined;
1033
1145
  annotation?: Record<string, string | number | boolean | {
@@ -1045,6 +1157,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1045
1157
  residentialArea?: string | null | undefined;
1046
1158
  street?: string | null | undefined;
1047
1159
  zipCode?: string | null | undefined;
1160
+ } | {
1161
+ firstname: string;
1162
+ surname: string;
1163
+ middlename?: string | null | undefined;
1048
1164
  } | {
1049
1165
  country: string;
1050
1166
  district: string;
@@ -1067,8 +1183,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1067
1183
  option: string;
1068
1184
  filename: string;
1069
1185
  originalFilename: string;
1070
- }[] | [string, string] | undefined> | null | undefined;
1071
- originalActionId?: string | null | undefined;
1186
+ }[] | [string, string] | null | undefined> | undefined;
1187
+ originalActionId?: string | undefined;
1072
1188
  registrationNumber?: string | undefined;
1073
1189
  }>;
1074
1190
  export type RegisterAction = z.infer<typeof RegisterAction>;
@@ -1089,7 +1205,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1089
1205
  createdBy: z.ZodString;
1090
1206
  createdByRole: z.ZodString;
1091
1207
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1208
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
1209
  declaration: 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<{
1094
1210
  filename: z.ZodString;
1095
1211
  originalFilename: z.ZodString;
@@ -1203,8 +1319,20 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1203
1319
  addressLine2?: string | null | undefined;
1204
1320
  addressLine3?: string | null | undefined;
1205
1321
  postcodeOrZip?: string | null | undefined;
1206
- }>]>>;
1207
- annotation: z.ZodNullable<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<{
1322
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1323
+ firstname: z.ZodString;
1324
+ surname: z.ZodString;
1325
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1326
+ }, "strip", z.ZodTypeAny, {
1327
+ firstname: string;
1328
+ surname: string;
1329
+ middlename?: string | null | undefined;
1330
+ }, {
1331
+ firstname: string;
1332
+ surname: string;
1333
+ middlename?: string | null | undefined;
1334
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1335
+ 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<{
1208
1336
  filename: z.ZodString;
1209
1337
  originalFilename: z.ZodString;
1210
1338
  type: z.ZodString;
@@ -1317,9 +1445,21 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1317
1445
  addressLine2?: string | null | undefined;
1318
1446
  addressLine3?: string | null | undefined;
1319
1447
  postcodeOrZip?: string | null | undefined;
1320
- }>]>>>>;
1448
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1449
+ firstname: z.ZodString;
1450
+ surname: z.ZodString;
1451
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1452
+ }, "strip", z.ZodTypeAny, {
1453
+ firstname: string;
1454
+ surname: string;
1455
+ middlename?: string | null | undefined;
1456
+ }, {
1457
+ firstname: string;
1458
+ surname: string;
1459
+ middlename?: string | null | undefined;
1460
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1321
1461
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1322
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1462
+ originalActionId: z.ZodOptional<z.ZodString>;
1323
1463
  }, {
1324
1464
  type: z.ZodLiteral<"CREATE">;
1325
1465
  }>, "strip", z.ZodTypeAny, {
@@ -1345,6 +1485,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1345
1485
  residentialArea?: string | null | undefined;
1346
1486
  street?: string | null | undefined;
1347
1487
  zipCode?: string | null | undefined;
1488
+ } | {
1489
+ firstname: string;
1490
+ surname: string;
1491
+ middlename?: string | null | undefined;
1348
1492
  } | {
1349
1493
  country: string;
1350
1494
  district: string;
@@ -1367,9 +1511,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1367
1511
  option: string;
1368
1512
  filename: string;
1369
1513
  originalFilename: string;
1370
- }[] | [string, string] | undefined>;
1514
+ }[] | [string, string] | null | undefined>;
1371
1515
  createdBySignature?: string | null | undefined;
1372
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1516
+ createdAtLocation?: string | null | undefined;
1373
1517
  annotation?: Record<string, string | number | boolean | {
1374
1518
  type: string;
1375
1519
  filename: string;
@@ -1385,6 +1529,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1385
1529
  residentialArea?: string | null | undefined;
1386
1530
  street?: string | null | undefined;
1387
1531
  zipCode?: string | null | undefined;
1532
+ } | {
1533
+ firstname: string;
1534
+ surname: string;
1535
+ middlename?: string | null | undefined;
1388
1536
  } | {
1389
1537
  country: string;
1390
1538
  district: string;
@@ -1407,8 +1555,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1407
1555
  option: string;
1408
1556
  filename: string;
1409
1557
  originalFilename: string;
1410
- }[] | [string, string] | undefined> | null | undefined;
1411
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1558
+ }[] | [string, string] | null | undefined> | undefined;
1559
+ originalActionId?: string | undefined;
1412
1560
  }, {
1413
1561
  type: "CREATE";
1414
1562
  id: string;
@@ -1432,6 +1580,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1432
1580
  residentialArea?: string | null | undefined;
1433
1581
  street?: string | null | undefined;
1434
1582
  zipCode?: string | null | undefined;
1583
+ } | {
1584
+ firstname: string;
1585
+ surname: string;
1586
+ middlename?: string | null | undefined;
1435
1587
  } | {
1436
1588
  country: string;
1437
1589
  district: string;
@@ -1454,7 +1606,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1454
1606
  option: string;
1455
1607
  filename: string;
1456
1608
  originalFilename: string;
1457
- }[] | [string, string] | undefined>;
1609
+ }[] | [string, string] | null | undefined>;
1458
1610
  createdBySignature?: string | null | undefined;
1459
1611
  createdAtLocation?: string | null | undefined;
1460
1612
  annotation?: Record<string, string | number | boolean | {
@@ -1472,6 +1624,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1472
1624
  residentialArea?: string | null | undefined;
1473
1625
  street?: string | null | undefined;
1474
1626
  zipCode?: string | null | undefined;
1627
+ } | {
1628
+ firstname: string;
1629
+ surname: string;
1630
+ middlename?: string | null | undefined;
1475
1631
  } | {
1476
1632
  country: string;
1477
1633
  district: string;
@@ -1494,8 +1650,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1494
1650
  option: string;
1495
1651
  filename: string;
1496
1652
  originalFilename: string;
1497
- }[] | [string, string] | undefined> | null | undefined;
1498
- originalActionId?: string | null | undefined;
1653
+ }[] | [string, string] | null | undefined> | undefined;
1654
+ originalActionId?: string | undefined;
1499
1655
  }>;
1500
1656
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1501
1657
  id: z.ZodString;
@@ -1504,7 +1660,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1504
1660
  createdBy: z.ZodString;
1505
1661
  createdByRole: z.ZodString;
1506
1662
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1507
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1663
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1508
1664
  declaration: 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<{
1509
1665
  filename: z.ZodString;
1510
1666
  originalFilename: z.ZodString;
@@ -1618,8 +1774,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1618
1774
  addressLine2?: string | null | undefined;
1619
1775
  addressLine3?: string | null | undefined;
1620
1776
  postcodeOrZip?: string | null | undefined;
1621
- }>]>>;
1622
- annotation: z.ZodNullable<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<{
1777
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1778
+ firstname: z.ZodString;
1779
+ surname: z.ZodString;
1780
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1781
+ }, "strip", z.ZodTypeAny, {
1782
+ firstname: string;
1783
+ surname: string;
1784
+ middlename?: string | null | undefined;
1785
+ }, {
1786
+ firstname: string;
1787
+ surname: string;
1788
+ middlename?: string | null | undefined;
1789
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1790
+ 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<{
1623
1791
  filename: z.ZodString;
1624
1792
  originalFilename: z.ZodString;
1625
1793
  type: z.ZodString;
@@ -1732,9 +1900,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1732
1900
  addressLine2?: string | null | undefined;
1733
1901
  addressLine3?: string | null | undefined;
1734
1902
  postcodeOrZip?: string | null | undefined;
1735
- }>]>>>>;
1903
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1904
+ firstname: z.ZodString;
1905
+ surname: z.ZodString;
1906
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1907
+ }, "strip", z.ZodTypeAny, {
1908
+ firstname: string;
1909
+ surname: string;
1910
+ middlename?: string | null | undefined;
1911
+ }, {
1912
+ firstname: string;
1913
+ surname: string;
1914
+ middlename?: string | null | undefined;
1915
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1736
1916
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1737
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1917
+ originalActionId: z.ZodOptional<z.ZodString>;
1738
1918
  }, {
1739
1919
  type: z.ZodLiteral<"CREATE">;
1740
1920
  }>, "strip", z.ZodTypeAny, {
@@ -1760,6 +1940,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1760
1940
  residentialArea?: string | null | undefined;
1761
1941
  street?: string | null | undefined;
1762
1942
  zipCode?: string | null | undefined;
1943
+ } | {
1944
+ firstname: string;
1945
+ surname: string;
1946
+ middlename?: string | null | undefined;
1763
1947
  } | {
1764
1948
  country: string;
1765
1949
  district: string;
@@ -1782,9 +1966,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1782
1966
  option: string;
1783
1967
  filename: string;
1784
1968
  originalFilename: string;
1785
- }[] | [string, string] | undefined>;
1969
+ }[] | [string, string] | null | undefined>;
1786
1970
  createdBySignature?: string | null | undefined;
1787
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1971
+ createdAtLocation?: string | null | undefined;
1788
1972
  annotation?: Record<string, string | number | boolean | {
1789
1973
  type: string;
1790
1974
  filename: string;
@@ -1800,6 +1984,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1800
1984
  residentialArea?: string | null | undefined;
1801
1985
  street?: string | null | undefined;
1802
1986
  zipCode?: string | null | undefined;
1987
+ } | {
1988
+ firstname: string;
1989
+ surname: string;
1990
+ middlename?: string | null | undefined;
1803
1991
  } | {
1804
1992
  country: string;
1805
1993
  district: string;
@@ -1822,8 +2010,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1822
2010
  option: string;
1823
2011
  filename: string;
1824
2012
  originalFilename: string;
1825
- }[] | [string, string] | undefined> | null | undefined;
1826
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2013
+ }[] | [string, string] | null | undefined> | undefined;
2014
+ originalActionId?: string | undefined;
1827
2015
  }, {
1828
2016
  type: "CREATE";
1829
2017
  id: string;
@@ -1847,6 +2035,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1847
2035
  residentialArea?: string | null | undefined;
1848
2036
  street?: string | null | undefined;
1849
2037
  zipCode?: string | null | undefined;
2038
+ } | {
2039
+ firstname: string;
2040
+ surname: string;
2041
+ middlename?: string | null | undefined;
1850
2042
  } | {
1851
2043
  country: string;
1852
2044
  district: string;
@@ -1869,7 +2061,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1869
2061
  option: string;
1870
2062
  filename: string;
1871
2063
  originalFilename: string;
1872
- }[] | [string, string] | undefined>;
2064
+ }[] | [string, string] | null | undefined>;
1873
2065
  createdBySignature?: string | null | undefined;
1874
2066
  createdAtLocation?: string | null | undefined;
1875
2067
  annotation?: Record<string, string | number | boolean | {
@@ -1887,6 +2079,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1887
2079
  residentialArea?: string | null | undefined;
1888
2080
  street?: string | null | undefined;
1889
2081
  zipCode?: string | null | undefined;
2082
+ } | {
2083
+ firstname: string;
2084
+ surname: string;
2085
+ middlename?: string | null | undefined;
1890
2086
  } | {
1891
2087
  country: string;
1892
2088
  district: string;
@@ -1909,8 +2105,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1909
2105
  option: string;
1910
2106
  filename: string;
1911
2107
  originalFilename: string;
1912
- }[] | [string, string] | undefined> | null | undefined;
1913
- originalActionId?: string | null | undefined;
2108
+ }[] | [string, string] | null | undefined> | undefined;
2109
+ originalActionId?: string | undefined;
1914
2110
  }>, z.ZodObject<z.objectUtil.extendShape<{
1915
2111
  id: z.ZodString;
1916
2112
  transactionId: z.ZodString;
@@ -1918,7 +2114,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1918
2114
  createdBy: z.ZodString;
1919
2115
  createdByRole: z.ZodString;
1920
2116
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1921
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2117
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1922
2118
  declaration: 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<{
1923
2119
  filename: z.ZodString;
1924
2120
  originalFilename: z.ZodString;
@@ -2032,8 +2228,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2032
2228
  addressLine2?: string | null | undefined;
2033
2229
  addressLine3?: string | null | undefined;
2034
2230
  postcodeOrZip?: string | null | undefined;
2035
- }>]>>;
2036
- annotation: z.ZodNullable<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<{
2231
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2232
+ firstname: z.ZodString;
2233
+ surname: z.ZodString;
2234
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2235
+ }, "strip", z.ZodTypeAny, {
2236
+ firstname: string;
2237
+ surname: string;
2238
+ middlename?: string | null | undefined;
2239
+ }, {
2240
+ firstname: string;
2241
+ surname: string;
2242
+ middlename?: string | null | undefined;
2243
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2244
+ 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<{
2037
2245
  filename: z.ZodString;
2038
2246
  originalFilename: z.ZodString;
2039
2247
  type: z.ZodString;
@@ -2146,9 +2354,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2146
2354
  addressLine2?: string | null | undefined;
2147
2355
  addressLine3?: string | null | undefined;
2148
2356
  postcodeOrZip?: string | null | undefined;
2149
- }>]>>>>;
2357
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2358
+ firstname: z.ZodString;
2359
+ surname: z.ZodString;
2360
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2361
+ }, "strip", z.ZodTypeAny, {
2362
+ firstname: string;
2363
+ surname: string;
2364
+ middlename?: string | null | undefined;
2365
+ }, {
2366
+ firstname: string;
2367
+ surname: string;
2368
+ middlename?: string | null | undefined;
2369
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2150
2370
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2151
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2371
+ originalActionId: z.ZodOptional<z.ZodString>;
2152
2372
  }, {
2153
2373
  type: z.ZodLiteral<"VALIDATE">;
2154
2374
  }>, "strip", z.ZodTypeAny, {
@@ -2174,6 +2394,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2174
2394
  residentialArea?: string | null | undefined;
2175
2395
  street?: string | null | undefined;
2176
2396
  zipCode?: string | null | undefined;
2397
+ } | {
2398
+ firstname: string;
2399
+ surname: string;
2400
+ middlename?: string | null | undefined;
2177
2401
  } | {
2178
2402
  country: string;
2179
2403
  district: string;
@@ -2196,9 +2420,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2196
2420
  option: string;
2197
2421
  filename: string;
2198
2422
  originalFilename: string;
2199
- }[] | [string, string] | undefined>;
2423
+ }[] | [string, string] | null | undefined>;
2200
2424
  createdBySignature?: string | null | undefined;
2201
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2425
+ createdAtLocation?: string | null | undefined;
2202
2426
  annotation?: Record<string, string | number | boolean | {
2203
2427
  type: string;
2204
2428
  filename: string;
@@ -2214,6 +2438,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2214
2438
  residentialArea?: string | null | undefined;
2215
2439
  street?: string | null | undefined;
2216
2440
  zipCode?: string | null | undefined;
2441
+ } | {
2442
+ firstname: string;
2443
+ surname: string;
2444
+ middlename?: string | null | undefined;
2217
2445
  } | {
2218
2446
  country: string;
2219
2447
  district: string;
@@ -2236,8 +2464,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2236
2464
  option: string;
2237
2465
  filename: string;
2238
2466
  originalFilename: string;
2239
- }[] | [string, string] | undefined> | null | undefined;
2240
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2467
+ }[] | [string, string] | null | undefined> | undefined;
2468
+ originalActionId?: string | undefined;
2241
2469
  }, {
2242
2470
  type: "VALIDATE";
2243
2471
  id: string;
@@ -2261,6 +2489,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2261
2489
  residentialArea?: string | null | undefined;
2262
2490
  street?: string | null | undefined;
2263
2491
  zipCode?: string | null | undefined;
2492
+ } | {
2493
+ firstname: string;
2494
+ surname: string;
2495
+ middlename?: string | null | undefined;
2264
2496
  } | {
2265
2497
  country: string;
2266
2498
  district: string;
@@ -2283,7 +2515,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2283
2515
  option: string;
2284
2516
  filename: string;
2285
2517
  originalFilename: string;
2286
- }[] | [string, string] | undefined>;
2518
+ }[] | [string, string] | null | undefined>;
2287
2519
  createdBySignature?: string | null | undefined;
2288
2520
  createdAtLocation?: string | null | undefined;
2289
2521
  annotation?: Record<string, string | number | boolean | {
@@ -2301,6 +2533,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2301
2533
  residentialArea?: string | null | undefined;
2302
2534
  street?: string | null | undefined;
2303
2535
  zipCode?: string | null | undefined;
2536
+ } | {
2537
+ firstname: string;
2538
+ surname: string;
2539
+ middlename?: string | null | undefined;
2304
2540
  } | {
2305
2541
  country: string;
2306
2542
  district: string;
@@ -2323,8 +2559,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2323
2559
  option: string;
2324
2560
  filename: string;
2325
2561
  originalFilename: string;
2326
- }[] | [string, string] | undefined> | null | undefined;
2327
- originalActionId?: string | null | undefined;
2562
+ }[] | [string, string] | null | undefined> | undefined;
2563
+ originalActionId?: string | undefined;
2328
2564
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
2565
  id: z.ZodString;
2330
2566
  transactionId: z.ZodString;
@@ -2332,7 +2568,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2332
2568
  createdBy: z.ZodString;
2333
2569
  createdByRole: z.ZodString;
2334
2570
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2335
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2571
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
2572
  declaration: 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<{
2337
2573
  filename: z.ZodString;
2338
2574
  originalFilename: z.ZodString;
@@ -2446,8 +2682,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2446
2682
  addressLine2?: string | null | undefined;
2447
2683
  addressLine3?: string | null | undefined;
2448
2684
  postcodeOrZip?: string | null | undefined;
2449
- }>]>>;
2450
- annotation: z.ZodNullable<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<{
2685
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2686
+ firstname: z.ZodString;
2687
+ surname: z.ZodString;
2688
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2689
+ }, "strip", z.ZodTypeAny, {
2690
+ firstname: string;
2691
+ surname: string;
2692
+ middlename?: string | null | undefined;
2693
+ }, {
2694
+ firstname: string;
2695
+ surname: string;
2696
+ middlename?: string | null | undefined;
2697
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2698
+ 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<{
2451
2699
  filename: z.ZodString;
2452
2700
  originalFilename: z.ZodString;
2453
2701
  type: z.ZodString;
@@ -2560,9 +2808,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2560
2808
  addressLine2?: string | null | undefined;
2561
2809
  addressLine3?: string | null | undefined;
2562
2810
  postcodeOrZip?: string | null | undefined;
2563
- }>]>>>>;
2811
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2812
+ firstname: z.ZodString;
2813
+ surname: z.ZodString;
2814
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2815
+ }, "strip", z.ZodTypeAny, {
2816
+ firstname: string;
2817
+ surname: string;
2818
+ middlename?: string | null | undefined;
2819
+ }, {
2820
+ firstname: string;
2821
+ surname: string;
2822
+ middlename?: string | null | undefined;
2823
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2564
2824
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2565
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2825
+ originalActionId: z.ZodOptional<z.ZodString>;
2566
2826
  }, {
2567
2827
  type: z.ZodLiteral<"REJECT">;
2568
2828
  reason: z.ZodObject<{
@@ -2602,6 +2862,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2602
2862
  residentialArea?: string | null | undefined;
2603
2863
  street?: string | null | undefined;
2604
2864
  zipCode?: string | null | undefined;
2865
+ } | {
2866
+ firstname: string;
2867
+ surname: string;
2868
+ middlename?: string | null | undefined;
2605
2869
  } | {
2606
2870
  country: string;
2607
2871
  district: string;
@@ -2624,9 +2888,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2624
2888
  option: string;
2625
2889
  filename: string;
2626
2890
  originalFilename: string;
2627
- }[] | [string, string] | undefined>;
2891
+ }[] | [string, string] | null | undefined>;
2628
2892
  createdBySignature?: string | null | undefined;
2629
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2893
+ createdAtLocation?: string | null | undefined;
2630
2894
  annotation?: Record<string, string | number | boolean | {
2631
2895
  type: string;
2632
2896
  filename: string;
@@ -2642,6 +2906,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2642
2906
  residentialArea?: string | null | undefined;
2643
2907
  street?: string | null | undefined;
2644
2908
  zipCode?: string | null | undefined;
2909
+ } | {
2910
+ firstname: string;
2911
+ surname: string;
2912
+ middlename?: string | null | undefined;
2645
2913
  } | {
2646
2914
  country: string;
2647
2915
  district: string;
@@ -2664,8 +2932,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2664
2932
  option: string;
2665
2933
  filename: string;
2666
2934
  originalFilename: string;
2667
- }[] | [string, string] | undefined> | null | undefined;
2668
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2935
+ }[] | [string, string] | null | undefined> | undefined;
2936
+ originalActionId?: string | undefined;
2669
2937
  }, {
2670
2938
  type: "REJECT";
2671
2939
  id: string;
@@ -2693,6 +2961,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2693
2961
  residentialArea?: string | null | undefined;
2694
2962
  street?: string | null | undefined;
2695
2963
  zipCode?: string | null | undefined;
2964
+ } | {
2965
+ firstname: string;
2966
+ surname: string;
2967
+ middlename?: string | null | undefined;
2696
2968
  } | {
2697
2969
  country: string;
2698
2970
  district: string;
@@ -2715,7 +2987,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2715
2987
  option: string;
2716
2988
  filename: string;
2717
2989
  originalFilename: string;
2718
- }[] | [string, string] | undefined>;
2990
+ }[] | [string, string] | null | undefined>;
2719
2991
  createdBySignature?: string | null | undefined;
2720
2992
  createdAtLocation?: string | null | undefined;
2721
2993
  annotation?: Record<string, string | number | boolean | {
@@ -2733,6 +3005,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2733
3005
  residentialArea?: string | null | undefined;
2734
3006
  street?: string | null | undefined;
2735
3007
  zipCode?: string | null | undefined;
3008
+ } | {
3009
+ firstname: string;
3010
+ surname: string;
3011
+ middlename?: string | null | undefined;
2736
3012
  } | {
2737
3013
  country: string;
2738
3014
  district: string;
@@ -2755,8 +3031,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2755
3031
  option: string;
2756
3032
  filename: string;
2757
3033
  originalFilename: string;
2758
- }[] | [string, string] | undefined> | null | undefined;
2759
- originalActionId?: string | null | undefined;
3034
+ }[] | [string, string] | null | undefined> | undefined;
3035
+ originalActionId?: string | undefined;
2760
3036
  }>, z.ZodObject<z.objectUtil.extendShape<{
2761
3037
  id: z.ZodString;
2762
3038
  transactionId: z.ZodString;
@@ -2764,7 +3040,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2764
3040
  createdBy: z.ZodString;
2765
3041
  createdByRole: z.ZodString;
2766
3042
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3043
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
3044
  declaration: 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<{
2769
3045
  filename: z.ZodString;
2770
3046
  originalFilename: z.ZodString;
@@ -2878,8 +3154,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2878
3154
  addressLine2?: string | null | undefined;
2879
3155
  addressLine3?: string | null | undefined;
2880
3156
  postcodeOrZip?: string | null | undefined;
2881
- }>]>>;
2882
- annotation: z.ZodNullable<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<{
3157
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3158
+ firstname: z.ZodString;
3159
+ surname: z.ZodString;
3160
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3161
+ }, "strip", z.ZodTypeAny, {
3162
+ firstname: string;
3163
+ surname: string;
3164
+ middlename?: string | null | undefined;
3165
+ }, {
3166
+ firstname: string;
3167
+ surname: string;
3168
+ middlename?: string | null | undefined;
3169
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3170
+ 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<{
2883
3171
  filename: z.ZodString;
2884
3172
  originalFilename: z.ZodString;
2885
3173
  type: z.ZodString;
@@ -2992,9 +3280,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2992
3280
  addressLine2?: string | null | undefined;
2993
3281
  addressLine3?: string | null | undefined;
2994
3282
  postcodeOrZip?: string | null | undefined;
2995
- }>]>>>>;
3283
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3284
+ firstname: z.ZodString;
3285
+ surname: z.ZodString;
3286
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3287
+ }, "strip", z.ZodTypeAny, {
3288
+ firstname: string;
3289
+ surname: string;
3290
+ middlename?: string | null | undefined;
3291
+ }, {
3292
+ firstname: string;
3293
+ surname: string;
3294
+ middlename?: string | null | undefined;
3295
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2996
3296
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2997
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3297
+ originalActionId: z.ZodOptional<z.ZodString>;
2998
3298
  }, {
2999
3299
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
3000
3300
  }>, "strip", z.ZodTypeAny, {
@@ -3020,6 +3320,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3020
3320
  residentialArea?: string | null | undefined;
3021
3321
  street?: string | null | undefined;
3022
3322
  zipCode?: string | null | undefined;
3323
+ } | {
3324
+ firstname: string;
3325
+ surname: string;
3326
+ middlename?: string | null | undefined;
3023
3327
  } | {
3024
3328
  country: string;
3025
3329
  district: string;
@@ -3042,9 +3346,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3042
3346
  option: string;
3043
3347
  filename: string;
3044
3348
  originalFilename: string;
3045
- }[] | [string, string] | undefined>;
3349
+ }[] | [string, string] | null | undefined>;
3046
3350
  createdBySignature?: string | null | undefined;
3047
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3351
+ createdAtLocation?: string | null | undefined;
3048
3352
  annotation?: Record<string, string | number | boolean | {
3049
3353
  type: string;
3050
3354
  filename: string;
@@ -3060,6 +3364,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3060
3364
  residentialArea?: string | null | undefined;
3061
3365
  street?: string | null | undefined;
3062
3366
  zipCode?: string | null | undefined;
3367
+ } | {
3368
+ firstname: string;
3369
+ surname: string;
3370
+ middlename?: string | null | undefined;
3063
3371
  } | {
3064
3372
  country: string;
3065
3373
  district: string;
@@ -3082,8 +3390,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3082
3390
  option: string;
3083
3391
  filename: string;
3084
3392
  originalFilename: string;
3085
- }[] | [string, string] | undefined> | null | undefined;
3086
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3393
+ }[] | [string, string] | null | undefined> | undefined;
3394
+ originalActionId?: string | undefined;
3087
3395
  }, {
3088
3396
  type: "MARKED_AS_DUPLICATE";
3089
3397
  id: string;
@@ -3107,6 +3415,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3107
3415
  residentialArea?: string | null | undefined;
3108
3416
  street?: string | null | undefined;
3109
3417
  zipCode?: string | null | undefined;
3418
+ } | {
3419
+ firstname: string;
3420
+ surname: string;
3421
+ middlename?: string | null | undefined;
3110
3422
  } | {
3111
3423
  country: string;
3112
3424
  district: string;
@@ -3129,7 +3441,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3129
3441
  option: string;
3130
3442
  filename: string;
3131
3443
  originalFilename: string;
3132
- }[] | [string, string] | undefined>;
3444
+ }[] | [string, string] | null | undefined>;
3133
3445
  createdBySignature?: string | null | undefined;
3134
3446
  createdAtLocation?: string | null | undefined;
3135
3447
  annotation?: Record<string, string | number | boolean | {
@@ -3147,6 +3459,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3147
3459
  residentialArea?: string | null | undefined;
3148
3460
  street?: string | null | undefined;
3149
3461
  zipCode?: string | null | undefined;
3462
+ } | {
3463
+ firstname: string;
3464
+ surname: string;
3465
+ middlename?: string | null | undefined;
3150
3466
  } | {
3151
3467
  country: string;
3152
3468
  district: string;
@@ -3169,8 +3485,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3169
3485
  option: string;
3170
3486
  filename: string;
3171
3487
  originalFilename: string;
3172
- }[] | [string, string] | undefined> | null | undefined;
3173
- originalActionId?: string | null | undefined;
3488
+ }[] | [string, string] | null | undefined> | undefined;
3489
+ originalActionId?: string | undefined;
3174
3490
  }>, z.ZodObject<z.objectUtil.extendShape<{
3175
3491
  id: z.ZodString;
3176
3492
  transactionId: z.ZodString;
@@ -3178,7 +3494,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3178
3494
  createdBy: z.ZodString;
3179
3495
  createdByRole: z.ZodString;
3180
3496
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3181
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3497
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3182
3498
  declaration: 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<{
3183
3499
  filename: z.ZodString;
3184
3500
  originalFilename: z.ZodString;
@@ -3292,8 +3608,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3292
3608
  addressLine2?: string | null | undefined;
3293
3609
  addressLine3?: string | null | undefined;
3294
3610
  postcodeOrZip?: string | null | undefined;
3295
- }>]>>;
3296
- annotation: z.ZodNullable<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<{
3611
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3612
+ firstname: z.ZodString;
3613
+ surname: z.ZodString;
3614
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3615
+ }, "strip", z.ZodTypeAny, {
3616
+ firstname: string;
3617
+ surname: string;
3618
+ middlename?: string | null | undefined;
3619
+ }, {
3620
+ firstname: string;
3621
+ surname: string;
3622
+ middlename?: string | null | undefined;
3623
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3624
+ 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<{
3297
3625
  filename: z.ZodString;
3298
3626
  originalFilename: z.ZodString;
3299
3627
  type: z.ZodString;
@@ -3406,9 +3734,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3406
3734
  addressLine2?: string | null | undefined;
3407
3735
  addressLine3?: string | null | undefined;
3408
3736
  postcodeOrZip?: string | null | undefined;
3409
- }>]>>>>;
3737
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3738
+ firstname: z.ZodString;
3739
+ surname: z.ZodString;
3740
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3741
+ }, "strip", z.ZodTypeAny, {
3742
+ firstname: string;
3743
+ surname: string;
3744
+ middlename?: string | null | undefined;
3745
+ }, {
3746
+ firstname: string;
3747
+ surname: string;
3748
+ middlename?: string | null | undefined;
3749
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3410
3750
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3411
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3751
+ originalActionId: z.ZodOptional<z.ZodString>;
3412
3752
  }, {
3413
3753
  type: z.ZodLiteral<"ARCHIVE">;
3414
3754
  reason: z.ZodObject<{
@@ -3448,6 +3788,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3448
3788
  residentialArea?: string | null | undefined;
3449
3789
  street?: string | null | undefined;
3450
3790
  zipCode?: string | null | undefined;
3791
+ } | {
3792
+ firstname: string;
3793
+ surname: string;
3794
+ middlename?: string | null | undefined;
3451
3795
  } | {
3452
3796
  country: string;
3453
3797
  district: string;
@@ -3470,9 +3814,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3470
3814
  option: string;
3471
3815
  filename: string;
3472
3816
  originalFilename: string;
3473
- }[] | [string, string] | undefined>;
3817
+ }[] | [string, string] | null | undefined>;
3474
3818
  createdBySignature?: string | null | undefined;
3475
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3819
+ createdAtLocation?: string | null | undefined;
3476
3820
  annotation?: Record<string, string | number | boolean | {
3477
3821
  type: string;
3478
3822
  filename: string;
@@ -3488,6 +3832,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3488
3832
  residentialArea?: string | null | undefined;
3489
3833
  street?: string | null | undefined;
3490
3834
  zipCode?: string | null | undefined;
3835
+ } | {
3836
+ firstname: string;
3837
+ surname: string;
3838
+ middlename?: string | null | undefined;
3491
3839
  } | {
3492
3840
  country: string;
3493
3841
  district: string;
@@ -3510,8 +3858,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3510
3858
  option: string;
3511
3859
  filename: string;
3512
3860
  originalFilename: string;
3513
- }[] | [string, string] | undefined> | null | undefined;
3514
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3861
+ }[] | [string, string] | null | undefined> | undefined;
3862
+ originalActionId?: string | undefined;
3515
3863
  }, {
3516
3864
  type: "ARCHIVE";
3517
3865
  id: string;
@@ -3539,6 +3887,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3539
3887
  residentialArea?: string | null | undefined;
3540
3888
  street?: string | null | undefined;
3541
3889
  zipCode?: string | null | undefined;
3890
+ } | {
3891
+ firstname: string;
3892
+ surname: string;
3893
+ middlename?: string | null | undefined;
3542
3894
  } | {
3543
3895
  country: string;
3544
3896
  district: string;
@@ -3561,7 +3913,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3561
3913
  option: string;
3562
3914
  filename: string;
3563
3915
  originalFilename: string;
3564
- }[] | [string, string] | undefined>;
3916
+ }[] | [string, string] | null | undefined>;
3565
3917
  createdBySignature?: string | null | undefined;
3566
3918
  createdAtLocation?: string | null | undefined;
3567
3919
  annotation?: Record<string, string | number | boolean | {
@@ -3579,6 +3931,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3579
3931
  residentialArea?: string | null | undefined;
3580
3932
  street?: string | null | undefined;
3581
3933
  zipCode?: string | null | undefined;
3934
+ } | {
3935
+ firstname: string;
3936
+ surname: string;
3937
+ middlename?: string | null | undefined;
3582
3938
  } | {
3583
3939
  country: string;
3584
3940
  district: string;
@@ -3601,8 +3957,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3601
3957
  option: string;
3602
3958
  filename: string;
3603
3959
  originalFilename: string;
3604
- }[] | [string, string] | undefined> | null | undefined;
3605
- originalActionId?: string | null | undefined;
3960
+ }[] | [string, string] | null | undefined> | undefined;
3961
+ originalActionId?: string | undefined;
3606
3962
  }>, z.ZodObject<z.objectUtil.extendShape<{
3607
3963
  id: z.ZodString;
3608
3964
  transactionId: z.ZodString;
@@ -3610,7 +3966,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3610
3966
  createdBy: z.ZodString;
3611
3967
  createdByRole: z.ZodString;
3612
3968
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3613
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3969
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3614
3970
  declaration: 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
3971
  filename: z.ZodString;
3616
3972
  originalFilename: z.ZodString;
@@ -3724,8 +4080,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3724
4080
  addressLine2?: string | null | undefined;
3725
4081
  addressLine3?: string | null | undefined;
3726
4082
  postcodeOrZip?: string | null | undefined;
3727
- }>]>>;
3728
- annotation: z.ZodNullable<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<{
4083
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4084
+ firstname: z.ZodString;
4085
+ surname: z.ZodString;
4086
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4087
+ }, "strip", z.ZodTypeAny, {
4088
+ firstname: string;
4089
+ surname: string;
4090
+ middlename?: string | null | undefined;
4091
+ }, {
4092
+ firstname: string;
4093
+ surname: string;
4094
+ middlename?: string | null | undefined;
4095
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4096
+ 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
4097
  filename: z.ZodString;
3730
4098
  originalFilename: z.ZodString;
3731
4099
  type: z.ZodString;
@@ -3838,9 +4206,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3838
4206
  addressLine2?: string | null | undefined;
3839
4207
  addressLine3?: string | null | undefined;
3840
4208
  postcodeOrZip?: string | null | undefined;
3841
- }>]>>>>;
4209
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4210
+ firstname: z.ZodString;
4211
+ surname: z.ZodString;
4212
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4213
+ }, "strip", z.ZodTypeAny, {
4214
+ firstname: string;
4215
+ surname: string;
4216
+ middlename?: string | null | undefined;
4217
+ }, {
4218
+ firstname: string;
4219
+ surname: string;
4220
+ middlename?: string | null | undefined;
4221
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3842
4222
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3843
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4223
+ originalActionId: z.ZodOptional<z.ZodString>;
3844
4224
  }, {
3845
4225
  type: z.ZodLiteral<"NOTIFY">;
3846
4226
  }>, "strip", z.ZodTypeAny, {
@@ -3866,6 +4246,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3866
4246
  residentialArea?: string | null | undefined;
3867
4247
  street?: string | null | undefined;
3868
4248
  zipCode?: string | null | undefined;
4249
+ } | {
4250
+ firstname: string;
4251
+ surname: string;
4252
+ middlename?: string | null | undefined;
3869
4253
  } | {
3870
4254
  country: string;
3871
4255
  district: string;
@@ -3888,9 +4272,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3888
4272
  option: string;
3889
4273
  filename: string;
3890
4274
  originalFilename: string;
3891
- }[] | [string, string] | undefined>;
4275
+ }[] | [string, string] | null | undefined>;
3892
4276
  createdBySignature?: string | null | undefined;
3893
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4277
+ createdAtLocation?: string | null | undefined;
3894
4278
  annotation?: Record<string, string | number | boolean | {
3895
4279
  type: string;
3896
4280
  filename: string;
@@ -3906,6 +4290,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3906
4290
  residentialArea?: string | null | undefined;
3907
4291
  street?: string | null | undefined;
3908
4292
  zipCode?: string | null | undefined;
4293
+ } | {
4294
+ firstname: string;
4295
+ surname: string;
4296
+ middlename?: string | null | undefined;
3909
4297
  } | {
3910
4298
  country: string;
3911
4299
  district: string;
@@ -3928,8 +4316,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3928
4316
  option: string;
3929
4317
  filename: string;
3930
4318
  originalFilename: string;
3931
- }[] | [string, string] | undefined> | null | undefined;
3932
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4319
+ }[] | [string, string] | null | undefined> | undefined;
4320
+ originalActionId?: string | undefined;
3933
4321
  }, {
3934
4322
  type: "NOTIFY";
3935
4323
  id: string;
@@ -3953,6 +4341,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3953
4341
  residentialArea?: string | null | undefined;
3954
4342
  street?: string | null | undefined;
3955
4343
  zipCode?: string | null | undefined;
4344
+ } | {
4345
+ firstname: string;
4346
+ surname: string;
4347
+ middlename?: string | null | undefined;
3956
4348
  } | {
3957
4349
  country: string;
3958
4350
  district: string;
@@ -3975,7 +4367,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3975
4367
  option: string;
3976
4368
  filename: string;
3977
4369
  originalFilename: string;
3978
- }[] | [string, string] | undefined>;
4370
+ }[] | [string, string] | null | undefined>;
3979
4371
  createdBySignature?: string | null | undefined;
3980
4372
  createdAtLocation?: string | null | undefined;
3981
4373
  annotation?: Record<string, string | number | boolean | {
@@ -3993,6 +4385,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3993
4385
  residentialArea?: string | null | undefined;
3994
4386
  street?: string | null | undefined;
3995
4387
  zipCode?: string | null | undefined;
4388
+ } | {
4389
+ firstname: string;
4390
+ surname: string;
4391
+ middlename?: string | null | undefined;
3996
4392
  } | {
3997
4393
  country: string;
3998
4394
  district: string;
@@ -4015,8 +4411,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4015
4411
  option: string;
4016
4412
  filename: string;
4017
4413
  originalFilename: string;
4018
- }[] | [string, string] | undefined> | null | undefined;
4019
- originalActionId?: string | null | undefined;
4414
+ }[] | [string, string] | null | undefined> | undefined;
4415
+ originalActionId?: string | undefined;
4020
4416
  }>, z.ZodObject<z.objectUtil.extendShape<{
4021
4417
  id: z.ZodString;
4022
4418
  transactionId: z.ZodString;
@@ -4024,7 +4420,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4024
4420
  createdBy: z.ZodString;
4025
4421
  createdByRole: z.ZodString;
4026
4422
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4027
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4423
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4028
4424
  declaration: 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<{
4029
4425
  filename: z.ZodString;
4030
4426
  originalFilename: z.ZodString;
@@ -4138,8 +4534,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4138
4534
  addressLine2?: string | null | undefined;
4139
4535
  addressLine3?: string | null | undefined;
4140
4536
  postcodeOrZip?: string | null | undefined;
4141
- }>]>>;
4142
- annotation: z.ZodNullable<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
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4538
+ firstname: z.ZodString;
4539
+ surname: z.ZodString;
4540
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4541
+ }, "strip", z.ZodTypeAny, {
4542
+ firstname: string;
4543
+ surname: string;
4544
+ middlename?: string | null | undefined;
4545
+ }, {
4546
+ firstname: string;
4547
+ surname: string;
4548
+ middlename?: string | null | undefined;
4549
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4550
+ 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<{
4143
4551
  filename: z.ZodString;
4144
4552
  originalFilename: z.ZodString;
4145
4553
  type: z.ZodString;
@@ -4252,9 +4660,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4252
4660
  addressLine2?: string | null | undefined;
4253
4661
  addressLine3?: string | null | undefined;
4254
4662
  postcodeOrZip?: string | null | undefined;
4255
- }>]>>>>;
4663
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4664
+ firstname: z.ZodString;
4665
+ surname: z.ZodString;
4666
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4667
+ }, "strip", z.ZodTypeAny, {
4668
+ firstname: string;
4669
+ surname: string;
4670
+ middlename?: string | null | undefined;
4671
+ }, {
4672
+ firstname: string;
4673
+ surname: string;
4674
+ middlename?: string | null | undefined;
4675
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4256
4676
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4257
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4677
+ originalActionId: z.ZodOptional<z.ZodString>;
4258
4678
  }, {
4259
4679
  type: z.ZodLiteral<"REGISTER">;
4260
4680
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -4281,6 +4701,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4281
4701
  residentialArea?: string | null | undefined;
4282
4702
  street?: string | null | undefined;
4283
4703
  zipCode?: string | null | undefined;
4704
+ } | {
4705
+ firstname: string;
4706
+ surname: string;
4707
+ middlename?: string | null | undefined;
4284
4708
  } | {
4285
4709
  country: string;
4286
4710
  district: string;
@@ -4303,9 +4727,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4303
4727
  option: string;
4304
4728
  filename: string;
4305
4729
  originalFilename: string;
4306
- }[] | [string, string] | undefined>;
4730
+ }[] | [string, string] | null | undefined>;
4307
4731
  createdBySignature?: string | null | undefined;
4308
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4732
+ createdAtLocation?: string | null | undefined;
4309
4733
  annotation?: Record<string, string | number | boolean | {
4310
4734
  type: string;
4311
4735
  filename: string;
@@ -4321,6 +4745,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4321
4745
  residentialArea?: string | null | undefined;
4322
4746
  street?: string | null | undefined;
4323
4747
  zipCode?: string | null | undefined;
4748
+ } | {
4749
+ firstname: string;
4750
+ surname: string;
4751
+ middlename?: string | null | undefined;
4324
4752
  } | {
4325
4753
  country: string;
4326
4754
  district: string;
@@ -4343,8 +4771,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4343
4771
  option: string;
4344
4772
  filename: string;
4345
4773
  originalFilename: string;
4346
- }[] | [string, string] | undefined> | null | undefined;
4347
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4774
+ }[] | [string, string] | null | undefined> | undefined;
4775
+ originalActionId?: string | undefined;
4348
4776
  registrationNumber?: string | undefined;
4349
4777
  }, {
4350
4778
  type: "REGISTER";
@@ -4369,6 +4797,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4369
4797
  residentialArea?: string | null | undefined;
4370
4798
  street?: string | null | undefined;
4371
4799
  zipCode?: string | null | undefined;
4800
+ } | {
4801
+ firstname: string;
4802
+ surname: string;
4803
+ middlename?: string | null | undefined;
4372
4804
  } | {
4373
4805
  country: string;
4374
4806
  district: string;
@@ -4391,7 +4823,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4391
4823
  option: string;
4392
4824
  filename: string;
4393
4825
  originalFilename: string;
4394
- }[] | [string, string] | undefined>;
4826
+ }[] | [string, string] | null | undefined>;
4395
4827
  createdBySignature?: string | null | undefined;
4396
4828
  createdAtLocation?: string | null | undefined;
4397
4829
  annotation?: Record<string, string | number | boolean | {
@@ -4409,6 +4841,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4409
4841
  residentialArea?: string | null | undefined;
4410
4842
  street?: string | null | undefined;
4411
4843
  zipCode?: string | null | undefined;
4844
+ } | {
4845
+ firstname: string;
4846
+ surname: string;
4847
+ middlename?: string | null | undefined;
4412
4848
  } | {
4413
4849
  country: string;
4414
4850
  district: string;
@@ -4431,8 +4867,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4431
4867
  option: string;
4432
4868
  filename: string;
4433
4869
  originalFilename: string;
4434
- }[] | [string, string] | undefined> | null | undefined;
4435
- originalActionId?: string | null | undefined;
4870
+ }[] | [string, string] | null | undefined> | undefined;
4871
+ originalActionId?: string | undefined;
4436
4872
  registrationNumber?: string | undefined;
4437
4873
  }>, z.ZodObject<z.objectUtil.extendShape<{
4438
4874
  id: z.ZodString;
@@ -4441,7 +4877,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4441
4877
  createdBy: z.ZodString;
4442
4878
  createdByRole: z.ZodString;
4443
4879
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4444
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4880
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4445
4881
  declaration: 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<{
4446
4882
  filename: z.ZodString;
4447
4883
  originalFilename: z.ZodString;
@@ -4555,8 +4991,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4555
4991
  addressLine2?: string | null | undefined;
4556
4992
  addressLine3?: string | null | undefined;
4557
4993
  postcodeOrZip?: string | null | undefined;
4558
- }>]>>;
4559
- annotation: z.ZodNullable<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<{
4994
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4995
+ firstname: z.ZodString;
4996
+ surname: z.ZodString;
4997
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4998
+ }, "strip", z.ZodTypeAny, {
4999
+ firstname: string;
5000
+ surname: string;
5001
+ middlename?: string | null | undefined;
5002
+ }, {
5003
+ firstname: string;
5004
+ surname: string;
5005
+ middlename?: string | null | undefined;
5006
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5007
+ 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<{
4560
5008
  filename: z.ZodString;
4561
5009
  originalFilename: z.ZodString;
4562
5010
  type: z.ZodString;
@@ -4669,9 +5117,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4669
5117
  addressLine2?: string | null | undefined;
4670
5118
  addressLine3?: string | null | undefined;
4671
5119
  postcodeOrZip?: string | null | undefined;
4672
- }>]>>>>;
5120
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5121
+ firstname: z.ZodString;
5122
+ surname: z.ZodString;
5123
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5124
+ }, "strip", z.ZodTypeAny, {
5125
+ firstname: string;
5126
+ surname: string;
5127
+ middlename?: string | null | undefined;
5128
+ }, {
5129
+ firstname: string;
5130
+ surname: string;
5131
+ middlename?: string | null | undefined;
5132
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4673
5133
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4674
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5134
+ originalActionId: z.ZodOptional<z.ZodString>;
4675
5135
  }, {
4676
5136
  type: z.ZodLiteral<"DECLARE">;
4677
5137
  }>, "strip", z.ZodTypeAny, {
@@ -4697,6 +5157,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4697
5157
  residentialArea?: string | null | undefined;
4698
5158
  street?: string | null | undefined;
4699
5159
  zipCode?: string | null | undefined;
5160
+ } | {
5161
+ firstname: string;
5162
+ surname: string;
5163
+ middlename?: string | null | undefined;
4700
5164
  } | {
4701
5165
  country: string;
4702
5166
  district: string;
@@ -4719,9 +5183,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4719
5183
  option: string;
4720
5184
  filename: string;
4721
5185
  originalFilename: string;
4722
- }[] | [string, string] | undefined>;
5186
+ }[] | [string, string] | null | undefined>;
4723
5187
  createdBySignature?: string | null | undefined;
4724
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5188
+ createdAtLocation?: string | null | undefined;
4725
5189
  annotation?: Record<string, string | number | boolean | {
4726
5190
  type: string;
4727
5191
  filename: string;
@@ -4737,6 +5201,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4737
5201
  residentialArea?: string | null | undefined;
4738
5202
  street?: string | null | undefined;
4739
5203
  zipCode?: string | null | undefined;
5204
+ } | {
5205
+ firstname: string;
5206
+ surname: string;
5207
+ middlename?: string | null | undefined;
4740
5208
  } | {
4741
5209
  country: string;
4742
5210
  district: string;
@@ -4759,8 +5227,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4759
5227
  option: string;
4760
5228
  filename: string;
4761
5229
  originalFilename: string;
4762
- }[] | [string, string] | undefined> | null | undefined;
4763
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5230
+ }[] | [string, string] | null | undefined> | undefined;
5231
+ originalActionId?: string | undefined;
4764
5232
  }, {
4765
5233
  type: "DECLARE";
4766
5234
  id: string;
@@ -4784,6 +5252,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4784
5252
  residentialArea?: string | null | undefined;
4785
5253
  street?: string | null | undefined;
4786
5254
  zipCode?: string | null | undefined;
5255
+ } | {
5256
+ firstname: string;
5257
+ surname: string;
5258
+ middlename?: string | null | undefined;
4787
5259
  } | {
4788
5260
  country: string;
4789
5261
  district: string;
@@ -4806,7 +5278,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4806
5278
  option: string;
4807
5279
  filename: string;
4808
5280
  originalFilename: string;
4809
- }[] | [string, string] | undefined>;
5281
+ }[] | [string, string] | null | undefined>;
4810
5282
  createdBySignature?: string | null | undefined;
4811
5283
  createdAtLocation?: string | null | undefined;
4812
5284
  annotation?: Record<string, string | number | boolean | {
@@ -4824,6 +5296,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4824
5296
  residentialArea?: string | null | undefined;
4825
5297
  street?: string | null | undefined;
4826
5298
  zipCode?: string | null | undefined;
5299
+ } | {
5300
+ firstname: string;
5301
+ surname: string;
5302
+ middlename?: string | null | undefined;
4827
5303
  } | {
4828
5304
  country: string;
4829
5305
  district: string;
@@ -4846,8 +5322,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4846
5322
  option: string;
4847
5323
  filename: string;
4848
5324
  originalFilename: string;
4849
- }[] | [string, string] | undefined> | null | undefined;
4850
- originalActionId?: string | null | undefined;
5325
+ }[] | [string, string] | null | undefined> | undefined;
5326
+ originalActionId?: string | undefined;
4851
5327
  }>, z.ZodObject<z.objectUtil.extendShape<{
4852
5328
  id: z.ZodString;
4853
5329
  transactionId: z.ZodString;
@@ -4855,7 +5331,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4855
5331
  createdBy: z.ZodString;
4856
5332
  createdByRole: z.ZodString;
4857
5333
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4858
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5334
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4859
5335
  declaration: 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<{
4860
5336
  filename: z.ZodString;
4861
5337
  originalFilename: z.ZodString;
@@ -4969,8 +5445,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4969
5445
  addressLine2?: string | null | undefined;
4970
5446
  addressLine3?: string | null | undefined;
4971
5447
  postcodeOrZip?: string | null | undefined;
4972
- }>]>>;
4973
- annotation: z.ZodNullable<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<{
5448
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5449
+ firstname: z.ZodString;
5450
+ surname: z.ZodString;
5451
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5452
+ }, "strip", z.ZodTypeAny, {
5453
+ firstname: string;
5454
+ surname: string;
5455
+ middlename?: string | null | undefined;
5456
+ }, {
5457
+ firstname: string;
5458
+ surname: string;
5459
+ middlename?: string | null | undefined;
5460
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5461
+ 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<{
4974
5462
  filename: z.ZodString;
4975
5463
  originalFilename: z.ZodString;
4976
5464
  type: z.ZodString;
@@ -5083,9 +5571,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5083
5571
  addressLine2?: string | null | undefined;
5084
5572
  addressLine3?: string | null | undefined;
5085
5573
  postcodeOrZip?: string | null | undefined;
5086
- }>]>>>>;
5574
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5575
+ firstname: z.ZodString;
5576
+ surname: z.ZodString;
5577
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5578
+ }, "strip", z.ZodTypeAny, {
5579
+ firstname: string;
5580
+ surname: string;
5581
+ middlename?: string | null | undefined;
5582
+ }, {
5583
+ firstname: string;
5584
+ surname: string;
5585
+ middlename?: string | null | undefined;
5586
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5087
5587
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5088
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5588
+ originalActionId: z.ZodOptional<z.ZodString>;
5089
5589
  }, {
5090
5590
  type: z.ZodLiteral<"ASSIGN">;
5091
5591
  assignedTo: z.ZodString;
@@ -5112,6 +5612,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5112
5612
  residentialArea?: string | null | undefined;
5113
5613
  street?: string | null | undefined;
5114
5614
  zipCode?: string | null | undefined;
5615
+ } | {
5616
+ firstname: string;
5617
+ surname: string;
5618
+ middlename?: string | null | undefined;
5115
5619
  } | {
5116
5620
  country: string;
5117
5621
  district: string;
@@ -5134,10 +5638,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5134
5638
  option: string;
5135
5639
  filename: string;
5136
5640
  originalFilename: string;
5137
- }[] | [string, string] | undefined>;
5641
+ }[] | [string, string] | null | undefined>;
5138
5642
  assignedTo: string;
5139
5643
  createdBySignature?: string | null | undefined;
5140
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5644
+ createdAtLocation?: string | null | undefined;
5141
5645
  annotation?: Record<string, string | number | boolean | {
5142
5646
  type: string;
5143
5647
  filename: string;
@@ -5153,6 +5657,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5153
5657
  residentialArea?: string | null | undefined;
5154
5658
  street?: string | null | undefined;
5155
5659
  zipCode?: string | null | undefined;
5660
+ } | {
5661
+ firstname: string;
5662
+ surname: string;
5663
+ middlename?: string | null | undefined;
5156
5664
  } | {
5157
5665
  country: string;
5158
5666
  district: string;
@@ -5175,8 +5683,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5175
5683
  option: string;
5176
5684
  filename: string;
5177
5685
  originalFilename: string;
5178
- }[] | [string, string] | undefined> | null | undefined;
5179
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5686
+ }[] | [string, string] | null | undefined> | undefined;
5687
+ originalActionId?: string | undefined;
5180
5688
  }, {
5181
5689
  type: "ASSIGN";
5182
5690
  id: string;
@@ -5200,6 +5708,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5200
5708
  residentialArea?: string | null | undefined;
5201
5709
  street?: string | null | undefined;
5202
5710
  zipCode?: string | null | undefined;
5711
+ } | {
5712
+ firstname: string;
5713
+ surname: string;
5714
+ middlename?: string | null | undefined;
5203
5715
  } | {
5204
5716
  country: string;
5205
5717
  district: string;
@@ -5222,7 +5734,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5222
5734
  option: string;
5223
5735
  filename: string;
5224
5736
  originalFilename: string;
5225
- }[] | [string, string] | undefined>;
5737
+ }[] | [string, string] | null | undefined>;
5226
5738
  assignedTo: string;
5227
5739
  createdBySignature?: string | null | undefined;
5228
5740
  createdAtLocation?: string | null | undefined;
@@ -5241,6 +5753,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5241
5753
  residentialArea?: string | null | undefined;
5242
5754
  street?: string | null | undefined;
5243
5755
  zipCode?: string | null | undefined;
5756
+ } | {
5757
+ firstname: string;
5758
+ surname: string;
5759
+ middlename?: string | null | undefined;
5244
5760
  } | {
5245
5761
  country: string;
5246
5762
  district: string;
@@ -5263,8 +5779,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5263
5779
  option: string;
5264
5780
  filename: string;
5265
5781
  originalFilename: string;
5266
- }[] | [string, string] | undefined> | null | undefined;
5267
- originalActionId?: string | null | undefined;
5782
+ }[] | [string, string] | null | undefined> | undefined;
5783
+ originalActionId?: string | undefined;
5268
5784
  }>, z.ZodObject<z.objectUtil.extendShape<{
5269
5785
  id: z.ZodString;
5270
5786
  transactionId: z.ZodString;
@@ -5272,7 +5788,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5272
5788
  createdBy: z.ZodString;
5273
5789
  createdByRole: z.ZodString;
5274
5790
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5275
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5791
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5276
5792
  declaration: 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<{
5277
5793
  filename: z.ZodString;
5278
5794
  originalFilename: z.ZodString;
@@ -5386,8 +5902,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5386
5902
  addressLine2?: string | null | undefined;
5387
5903
  addressLine3?: string | null | undefined;
5388
5904
  postcodeOrZip?: string | null | undefined;
5389
- }>]>>;
5390
- annotation: z.ZodNullable<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<{
5905
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5906
+ firstname: z.ZodString;
5907
+ surname: z.ZodString;
5908
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5909
+ }, "strip", z.ZodTypeAny, {
5910
+ firstname: string;
5911
+ surname: string;
5912
+ middlename?: string | null | undefined;
5913
+ }, {
5914
+ firstname: string;
5915
+ surname: string;
5916
+ middlename?: string | null | undefined;
5917
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5918
+ 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<{
5391
5919
  filename: z.ZodString;
5392
5920
  originalFilename: z.ZodString;
5393
5921
  type: z.ZodString;
@@ -5500,9 +6028,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5500
6028
  addressLine2?: string | null | undefined;
5501
6029
  addressLine3?: string | null | undefined;
5502
6030
  postcodeOrZip?: string | null | undefined;
5503
- }>]>>>>;
6031
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6032
+ firstname: z.ZodString;
6033
+ surname: z.ZodString;
6034
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6035
+ }, "strip", z.ZodTypeAny, {
6036
+ firstname: string;
6037
+ surname: string;
6038
+ middlename?: string | null | undefined;
6039
+ }, {
6040
+ firstname: string;
6041
+ surname: string;
6042
+ middlename?: string | null | undefined;
6043
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5504
6044
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5505
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6045
+ originalActionId: z.ZodOptional<z.ZodString>;
5506
6046
  }, {
5507
6047
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
5508
6048
  }>, "strip", z.ZodTypeAny, {
@@ -5528,6 +6068,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5528
6068
  residentialArea?: string | null | undefined;
5529
6069
  street?: string | null | undefined;
5530
6070
  zipCode?: string | null | undefined;
6071
+ } | {
6072
+ firstname: string;
6073
+ surname: string;
6074
+ middlename?: string | null | undefined;
5531
6075
  } | {
5532
6076
  country: string;
5533
6077
  district: string;
@@ -5550,9 +6094,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5550
6094
  option: string;
5551
6095
  filename: string;
5552
6096
  originalFilename: string;
5553
- }[] | [string, string] | undefined>;
6097
+ }[] | [string, string] | null | undefined>;
5554
6098
  createdBySignature?: string | null | undefined;
5555
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6099
+ createdAtLocation?: string | null | undefined;
5556
6100
  annotation?: Record<string, string | number | boolean | {
5557
6101
  type: string;
5558
6102
  filename: string;
@@ -5568,6 +6112,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5568
6112
  residentialArea?: string | null | undefined;
5569
6113
  street?: string | null | undefined;
5570
6114
  zipCode?: string | null | undefined;
6115
+ } | {
6116
+ firstname: string;
6117
+ surname: string;
6118
+ middlename?: string | null | undefined;
5571
6119
  } | {
5572
6120
  country: string;
5573
6121
  district: string;
@@ -5590,8 +6138,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5590
6138
  option: string;
5591
6139
  filename: string;
5592
6140
  originalFilename: string;
5593
- }[] | [string, string] | undefined> | null | undefined;
5594
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6141
+ }[] | [string, string] | null | undefined> | undefined;
6142
+ originalActionId?: string | undefined;
5595
6143
  }, {
5596
6144
  type: "REQUEST_CORRECTION";
5597
6145
  id: string;
@@ -5615,6 +6163,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5615
6163
  residentialArea?: string | null | undefined;
5616
6164
  street?: string | null | undefined;
5617
6165
  zipCode?: string | null | undefined;
6166
+ } | {
6167
+ firstname: string;
6168
+ surname: string;
6169
+ middlename?: string | null | undefined;
5618
6170
  } | {
5619
6171
  country: string;
5620
6172
  district: string;
@@ -5637,7 +6189,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5637
6189
  option: string;
5638
6190
  filename: string;
5639
6191
  originalFilename: string;
5640
- }[] | [string, string] | undefined>;
6192
+ }[] | [string, string] | null | undefined>;
5641
6193
  createdBySignature?: string | null | undefined;
5642
6194
  createdAtLocation?: string | null | undefined;
5643
6195
  annotation?: Record<string, string | number | boolean | {
@@ -5655,6 +6207,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5655
6207
  residentialArea?: string | null | undefined;
5656
6208
  street?: string | null | undefined;
5657
6209
  zipCode?: string | null | undefined;
6210
+ } | {
6211
+ firstname: string;
6212
+ surname: string;
6213
+ middlename?: string | null | undefined;
5658
6214
  } | {
5659
6215
  country: string;
5660
6216
  district: string;
@@ -5677,8 +6233,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5677
6233
  option: string;
5678
6234
  filename: string;
5679
6235
  originalFilename: string;
5680
- }[] | [string, string] | undefined> | null | undefined;
5681
- originalActionId?: string | null | undefined;
6236
+ }[] | [string, string] | null | undefined> | undefined;
6237
+ originalActionId?: string | undefined;
5682
6238
  }>, z.ZodObject<z.objectUtil.extendShape<{
5683
6239
  id: z.ZodString;
5684
6240
  transactionId: z.ZodString;
@@ -5686,7 +6242,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5686
6242
  createdBy: z.ZodString;
5687
6243
  createdByRole: z.ZodString;
5688
6244
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5689
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6245
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5690
6246
  declaration: 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<{
5691
6247
  filename: z.ZodString;
5692
6248
  originalFilename: z.ZodString;
@@ -5800,8 +6356,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5800
6356
  addressLine2?: string | null | undefined;
5801
6357
  addressLine3?: string | null | undefined;
5802
6358
  postcodeOrZip?: string | null | undefined;
5803
- }>]>>;
5804
- annotation: z.ZodNullable<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<{
6359
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6360
+ firstname: z.ZodString;
6361
+ surname: z.ZodString;
6362
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6363
+ }, "strip", z.ZodTypeAny, {
6364
+ firstname: string;
6365
+ surname: string;
6366
+ middlename?: string | null | undefined;
6367
+ }, {
6368
+ firstname: string;
6369
+ surname: string;
6370
+ middlename?: string | null | undefined;
6371
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6372
+ 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<{
5805
6373
  filename: z.ZodString;
5806
6374
  originalFilename: z.ZodString;
5807
6375
  type: z.ZodString;
@@ -5914,9 +6482,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5914
6482
  addressLine2?: string | null | undefined;
5915
6483
  addressLine3?: string | null | undefined;
5916
6484
  postcodeOrZip?: string | null | undefined;
5917
- }>]>>>>;
6485
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6486
+ firstname: z.ZodString;
6487
+ surname: z.ZodString;
6488
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6489
+ }, "strip", z.ZodTypeAny, {
6490
+ firstname: string;
6491
+ surname: string;
6492
+ middlename?: string | null | undefined;
6493
+ }, {
6494
+ firstname: string;
6495
+ surname: string;
6496
+ middlename?: string | null | undefined;
6497
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5918
6498
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5919
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6499
+ originalActionId: z.ZodOptional<z.ZodString>;
5920
6500
  }, {
5921
6501
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
5922
6502
  requestId: z.ZodString;
@@ -5943,6 +6523,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5943
6523
  residentialArea?: string | null | undefined;
5944
6524
  street?: string | null | undefined;
5945
6525
  zipCode?: string | null | undefined;
6526
+ } | {
6527
+ firstname: string;
6528
+ surname: string;
6529
+ middlename?: string | null | undefined;
5946
6530
  } | {
5947
6531
  country: string;
5948
6532
  district: string;
@@ -5965,10 +6549,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5965
6549
  option: string;
5966
6550
  filename: string;
5967
6551
  originalFilename: string;
5968
- }[] | [string, string] | undefined>;
6552
+ }[] | [string, string] | null | undefined>;
5969
6553
  requestId: string;
5970
6554
  createdBySignature?: string | null | undefined;
5971
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6555
+ createdAtLocation?: string | null | undefined;
5972
6556
  annotation?: Record<string, string | number | boolean | {
5973
6557
  type: string;
5974
6558
  filename: string;
@@ -5984,6 +6568,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5984
6568
  residentialArea?: string | null | undefined;
5985
6569
  street?: string | null | undefined;
5986
6570
  zipCode?: string | null | undefined;
6571
+ } | {
6572
+ firstname: string;
6573
+ surname: string;
6574
+ middlename?: string | null | undefined;
5987
6575
  } | {
5988
6576
  country: string;
5989
6577
  district: string;
@@ -6006,8 +6594,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6006
6594
  option: string;
6007
6595
  filename: string;
6008
6596
  originalFilename: string;
6009
- }[] | [string, string] | undefined> | null | undefined;
6010
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6597
+ }[] | [string, string] | null | undefined> | undefined;
6598
+ originalActionId?: string | undefined;
6011
6599
  }, {
6012
6600
  type: "APPROVE_CORRECTION";
6013
6601
  id: string;
@@ -6031,6 +6619,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6031
6619
  residentialArea?: string | null | undefined;
6032
6620
  street?: string | null | undefined;
6033
6621
  zipCode?: string | null | undefined;
6622
+ } | {
6623
+ firstname: string;
6624
+ surname: string;
6625
+ middlename?: string | null | undefined;
6034
6626
  } | {
6035
6627
  country: string;
6036
6628
  district: string;
@@ -6053,7 +6645,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6053
6645
  option: string;
6054
6646
  filename: string;
6055
6647
  originalFilename: string;
6056
- }[] | [string, string] | undefined>;
6648
+ }[] | [string, string] | null | undefined>;
6057
6649
  requestId: string;
6058
6650
  createdBySignature?: string | null | undefined;
6059
6651
  createdAtLocation?: string | null | undefined;
@@ -6072,6 +6664,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6072
6664
  residentialArea?: string | null | undefined;
6073
6665
  street?: string | null | undefined;
6074
6666
  zipCode?: string | null | undefined;
6667
+ } | {
6668
+ firstname: string;
6669
+ surname: string;
6670
+ middlename?: string | null | undefined;
6075
6671
  } | {
6076
6672
  country: string;
6077
6673
  district: string;
@@ -6094,8 +6690,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6094
6690
  option: string;
6095
6691
  filename: string;
6096
6692
  originalFilename: string;
6097
- }[] | [string, string] | undefined> | null | undefined;
6098
- originalActionId?: string | null | undefined;
6693
+ }[] | [string, string] | null | undefined> | undefined;
6694
+ originalActionId?: string | undefined;
6099
6695
  }>, z.ZodObject<z.objectUtil.extendShape<{
6100
6696
  id: z.ZodString;
6101
6697
  transactionId: z.ZodString;
@@ -6103,7 +6699,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6103
6699
  createdBy: z.ZodString;
6104
6700
  createdByRole: z.ZodString;
6105
6701
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6106
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6702
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6107
6703
  declaration: 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<{
6108
6704
  filename: z.ZodString;
6109
6705
  originalFilename: z.ZodString;
@@ -6217,8 +6813,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6217
6813
  addressLine2?: string | null | undefined;
6218
6814
  addressLine3?: string | null | undefined;
6219
6815
  postcodeOrZip?: string | null | undefined;
6220
- }>]>>;
6221
- annotation: z.ZodNullable<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<{
6816
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6817
+ firstname: z.ZodString;
6818
+ surname: z.ZodString;
6819
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6820
+ }, "strip", z.ZodTypeAny, {
6821
+ firstname: string;
6822
+ surname: string;
6823
+ middlename?: string | null | undefined;
6824
+ }, {
6825
+ firstname: string;
6826
+ surname: string;
6827
+ middlename?: string | null | undefined;
6828
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6829
+ 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<{
6222
6830
  filename: z.ZodString;
6223
6831
  originalFilename: z.ZodString;
6224
6832
  type: z.ZodString;
@@ -6331,9 +6939,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6331
6939
  addressLine2?: string | null | undefined;
6332
6940
  addressLine3?: string | null | undefined;
6333
6941
  postcodeOrZip?: string | null | undefined;
6334
- }>]>>>>;
6942
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6943
+ firstname: z.ZodString;
6944
+ surname: z.ZodString;
6945
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6946
+ }, "strip", z.ZodTypeAny, {
6947
+ firstname: string;
6948
+ surname: string;
6949
+ middlename?: string | null | undefined;
6950
+ }, {
6951
+ firstname: string;
6952
+ surname: string;
6953
+ middlename?: string | null | undefined;
6954
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6335
6955
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6336
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6956
+ originalActionId: z.ZodOptional<z.ZodString>;
6337
6957
  }, {
6338
6958
  type: z.ZodLiteral<"REJECT_CORRECTION">;
6339
6959
  requestId: z.ZodString;
@@ -6360,6 +6980,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6360
6980
  residentialArea?: string | null | undefined;
6361
6981
  street?: string | null | undefined;
6362
6982
  zipCode?: string | null | undefined;
6983
+ } | {
6984
+ firstname: string;
6985
+ surname: string;
6986
+ middlename?: string | null | undefined;
6363
6987
  } | {
6364
6988
  country: string;
6365
6989
  district: string;
@@ -6382,10 +7006,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6382
7006
  option: string;
6383
7007
  filename: string;
6384
7008
  originalFilename: string;
6385
- }[] | [string, string] | undefined>;
7009
+ }[] | [string, string] | null | undefined>;
6386
7010
  requestId: string;
6387
7011
  createdBySignature?: string | null | undefined;
6388
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7012
+ createdAtLocation?: string | null | undefined;
6389
7013
  annotation?: Record<string, string | number | boolean | {
6390
7014
  type: string;
6391
7015
  filename: string;
@@ -6401,6 +7025,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6401
7025
  residentialArea?: string | null | undefined;
6402
7026
  street?: string | null | undefined;
6403
7027
  zipCode?: string | null | undefined;
7028
+ } | {
7029
+ firstname: string;
7030
+ surname: string;
7031
+ middlename?: string | null | undefined;
6404
7032
  } | {
6405
7033
  country: string;
6406
7034
  district: string;
@@ -6423,8 +7051,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6423
7051
  option: string;
6424
7052
  filename: string;
6425
7053
  originalFilename: string;
6426
- }[] | [string, string] | undefined> | null | undefined;
6427
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7054
+ }[] | [string, string] | null | undefined> | undefined;
7055
+ originalActionId?: string | undefined;
6428
7056
  }, {
6429
7057
  type: "REJECT_CORRECTION";
6430
7058
  id: string;
@@ -6448,6 +7076,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6448
7076
  residentialArea?: string | null | undefined;
6449
7077
  street?: string | null | undefined;
6450
7078
  zipCode?: string | null | undefined;
7079
+ } | {
7080
+ firstname: string;
7081
+ surname: string;
7082
+ middlename?: string | null | undefined;
6451
7083
  } | {
6452
7084
  country: string;
6453
7085
  district: string;
@@ -6470,7 +7102,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6470
7102
  option: string;
6471
7103
  filename: string;
6472
7104
  originalFilename: string;
6473
- }[] | [string, string] | undefined>;
7105
+ }[] | [string, string] | null | undefined>;
6474
7106
  requestId: string;
6475
7107
  createdBySignature?: string | null | undefined;
6476
7108
  createdAtLocation?: string | null | undefined;
@@ -6489,6 +7121,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6489
7121
  residentialArea?: string | null | undefined;
6490
7122
  street?: string | null | undefined;
6491
7123
  zipCode?: string | null | undefined;
7124
+ } | {
7125
+ firstname: string;
7126
+ surname: string;
7127
+ middlename?: string | null | undefined;
6492
7128
  } | {
6493
7129
  country: string;
6494
7130
  district: string;
@@ -6511,8 +7147,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6511
7147
  option: string;
6512
7148
  filename: string;
6513
7149
  originalFilename: string;
6514
- }[] | [string, string] | undefined> | null | undefined;
6515
- originalActionId?: string | null | undefined;
7150
+ }[] | [string, string] | null | undefined> | undefined;
7151
+ originalActionId?: string | undefined;
6516
7152
  }>, z.ZodObject<z.objectUtil.extendShape<{
6517
7153
  id: z.ZodString;
6518
7154
  transactionId: z.ZodString;
@@ -6520,7 +7156,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6520
7156
  createdBy: z.ZodString;
6521
7157
  createdByRole: z.ZodString;
6522
7158
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6523
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7159
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6524
7160
  declaration: 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<{
6525
7161
  filename: z.ZodString;
6526
7162
  originalFilename: z.ZodString;
@@ -6634,8 +7270,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6634
7270
  addressLine2?: string | null | undefined;
6635
7271
  addressLine3?: string | null | undefined;
6636
7272
  postcodeOrZip?: string | null | undefined;
6637
- }>]>>;
6638
- annotation: z.ZodNullable<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<{
7273
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7274
+ firstname: z.ZodString;
7275
+ surname: z.ZodString;
7276
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7277
+ }, "strip", z.ZodTypeAny, {
7278
+ firstname: string;
7279
+ surname: string;
7280
+ middlename?: string | null | undefined;
7281
+ }, {
7282
+ firstname: string;
7283
+ surname: string;
7284
+ middlename?: string | null | undefined;
7285
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7286
+ 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<{
6639
7287
  filename: z.ZodString;
6640
7288
  originalFilename: z.ZodString;
6641
7289
  type: z.ZodString;
@@ -6748,9 +7396,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6748
7396
  addressLine2?: string | null | undefined;
6749
7397
  addressLine3?: string | null | undefined;
6750
7398
  postcodeOrZip?: string | null | undefined;
6751
- }>]>>>>;
7399
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7400
+ firstname: z.ZodString;
7401
+ surname: z.ZodString;
7402
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7403
+ }, "strip", z.ZodTypeAny, {
7404
+ firstname: string;
7405
+ surname: string;
7406
+ middlename?: string | null | undefined;
7407
+ }, {
7408
+ firstname: string;
7409
+ surname: string;
7410
+ middlename?: string | null | undefined;
7411
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6752
7412
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6753
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7413
+ originalActionId: z.ZodOptional<z.ZodString>;
6754
7414
  }, {
6755
7415
  type: z.ZodLiteral<"UNASSIGN">;
6756
7416
  assignedTo: z.ZodLiteral<null>;
@@ -6777,6 +7437,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6777
7437
  residentialArea?: string | null | undefined;
6778
7438
  street?: string | null | undefined;
6779
7439
  zipCode?: string | null | undefined;
7440
+ } | {
7441
+ firstname: string;
7442
+ surname: string;
7443
+ middlename?: string | null | undefined;
6780
7444
  } | {
6781
7445
  country: string;
6782
7446
  district: string;
@@ -6799,10 +7463,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6799
7463
  option: string;
6800
7464
  filename: string;
6801
7465
  originalFilename: string;
6802
- }[] | [string, string] | undefined>;
7466
+ }[] | [string, string] | null | undefined>;
6803
7467
  assignedTo: null;
6804
7468
  createdBySignature?: string | null | undefined;
6805
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7469
+ createdAtLocation?: string | null | undefined;
6806
7470
  annotation?: Record<string, string | number | boolean | {
6807
7471
  type: string;
6808
7472
  filename: string;
@@ -6818,6 +7482,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6818
7482
  residentialArea?: string | null | undefined;
6819
7483
  street?: string | null | undefined;
6820
7484
  zipCode?: string | null | undefined;
7485
+ } | {
7486
+ firstname: string;
7487
+ surname: string;
7488
+ middlename?: string | null | undefined;
6821
7489
  } | {
6822
7490
  country: string;
6823
7491
  district: string;
@@ -6840,8 +7508,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6840
7508
  option: string;
6841
7509
  filename: string;
6842
7510
  originalFilename: string;
6843
- }[] | [string, string] | undefined> | null | undefined;
6844
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7511
+ }[] | [string, string] | null | undefined> | undefined;
7512
+ originalActionId?: string | undefined;
6845
7513
  }, {
6846
7514
  type: "UNASSIGN";
6847
7515
  id: string;
@@ -6865,6 +7533,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6865
7533
  residentialArea?: string | null | undefined;
6866
7534
  street?: string | null | undefined;
6867
7535
  zipCode?: string | null | undefined;
7536
+ } | {
7537
+ firstname: string;
7538
+ surname: string;
7539
+ middlename?: string | null | undefined;
6868
7540
  } | {
6869
7541
  country: string;
6870
7542
  district: string;
@@ -6887,7 +7559,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6887
7559
  option: string;
6888
7560
  filename: string;
6889
7561
  originalFilename: string;
6890
- }[] | [string, string] | undefined>;
7562
+ }[] | [string, string] | null | undefined>;
6891
7563
  assignedTo: null;
6892
7564
  createdBySignature?: string | null | undefined;
6893
7565
  createdAtLocation?: string | null | undefined;
@@ -6906,6 +7578,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6906
7578
  residentialArea?: string | null | undefined;
6907
7579
  street?: string | null | undefined;
6908
7580
  zipCode?: string | null | undefined;
7581
+ } | {
7582
+ firstname: string;
7583
+ surname: string;
7584
+ middlename?: string | null | undefined;
6909
7585
  } | {
6910
7586
  country: string;
6911
7587
  district: string;
@@ -6928,8 +7604,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6928
7604
  option: string;
6929
7605
  filename: string;
6930
7606
  originalFilename: string;
6931
- }[] | [string, string] | undefined> | null | undefined;
6932
- originalActionId?: string | null | undefined;
7607
+ }[] | [string, string] | null | undefined> | undefined;
7608
+ originalActionId?: string | undefined;
6933
7609
  }>, z.ZodObject<z.objectUtil.extendShape<{
6934
7610
  id: z.ZodString;
6935
7611
  transactionId: z.ZodString;
@@ -6937,7 +7613,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6937
7613
  createdBy: z.ZodString;
6938
7614
  createdByRole: z.ZodString;
6939
7615
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6940
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7616
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6941
7617
  declaration: 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<{
6942
7618
  filename: z.ZodString;
6943
7619
  originalFilename: z.ZodString;
@@ -7051,8 +7727,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7051
7727
  addressLine2?: string | null | undefined;
7052
7728
  addressLine3?: string | null | undefined;
7053
7729
  postcodeOrZip?: string | null | undefined;
7054
- }>]>>;
7055
- annotation: z.ZodNullable<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<{
7730
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7731
+ firstname: z.ZodString;
7732
+ surname: z.ZodString;
7733
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7734
+ }, "strip", z.ZodTypeAny, {
7735
+ firstname: string;
7736
+ surname: string;
7737
+ middlename?: string | null | undefined;
7738
+ }, {
7739
+ firstname: string;
7740
+ surname: string;
7741
+ middlename?: string | null | undefined;
7742
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7743
+ 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<{
7056
7744
  filename: z.ZodString;
7057
7745
  originalFilename: z.ZodString;
7058
7746
  type: z.ZodString;
@@ -7165,9 +7853,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7165
7853
  addressLine2?: string | null | undefined;
7166
7854
  addressLine3?: string | null | undefined;
7167
7855
  postcodeOrZip?: string | null | undefined;
7168
- }>]>>>>;
7856
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7857
+ firstname: z.ZodString;
7858
+ surname: z.ZodString;
7859
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7860
+ }, "strip", z.ZodTypeAny, {
7861
+ firstname: string;
7862
+ surname: string;
7863
+ middlename?: string | null | undefined;
7864
+ }, {
7865
+ firstname: string;
7866
+ surname: string;
7867
+ middlename?: string | null | undefined;
7868
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7169
7869
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7170
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7870
+ originalActionId: z.ZodOptional<z.ZodString>;
7171
7871
  }, {
7172
7872
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
7173
7873
  }>, "strip", z.ZodTypeAny, {
@@ -7193,6 +7893,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7193
7893
  residentialArea?: string | null | undefined;
7194
7894
  street?: string | null | undefined;
7195
7895
  zipCode?: string | null | undefined;
7896
+ } | {
7897
+ firstname: string;
7898
+ surname: string;
7899
+ middlename?: string | null | undefined;
7196
7900
  } | {
7197
7901
  country: string;
7198
7902
  district: string;
@@ -7215,9 +7919,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7215
7919
  option: string;
7216
7920
  filename: string;
7217
7921
  originalFilename: string;
7218
- }[] | [string, string] | undefined>;
7922
+ }[] | [string, string] | null | undefined>;
7219
7923
  createdBySignature?: string | null | undefined;
7220
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7924
+ createdAtLocation?: string | null | undefined;
7221
7925
  annotation?: Record<string, string | number | boolean | {
7222
7926
  type: string;
7223
7927
  filename: string;
@@ -7233,6 +7937,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7233
7937
  residentialArea?: string | null | undefined;
7234
7938
  street?: string | null | undefined;
7235
7939
  zipCode?: string | null | undefined;
7940
+ } | {
7941
+ firstname: string;
7942
+ surname: string;
7943
+ middlename?: string | null | undefined;
7236
7944
  } | {
7237
7945
  country: string;
7238
7946
  district: string;
@@ -7255,8 +7963,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7255
7963
  option: string;
7256
7964
  filename: string;
7257
7965
  originalFilename: string;
7258
- }[] | [string, string] | undefined> | null | undefined;
7259
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7966
+ }[] | [string, string] | null | undefined> | undefined;
7967
+ originalActionId?: string | undefined;
7260
7968
  }, {
7261
7969
  type: "PRINT_CERTIFICATE";
7262
7970
  id: string;
@@ -7280,6 +7988,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7280
7988
  residentialArea?: string | null | undefined;
7281
7989
  street?: string | null | undefined;
7282
7990
  zipCode?: string | null | undefined;
7991
+ } | {
7992
+ firstname: string;
7993
+ surname: string;
7994
+ middlename?: string | null | undefined;
7283
7995
  } | {
7284
7996
  country: string;
7285
7997
  district: string;
@@ -7302,7 +8014,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7302
8014
  option: string;
7303
8015
  filename: string;
7304
8016
  originalFilename: string;
7305
- }[] | [string, string] | undefined>;
8017
+ }[] | [string, string] | null | undefined>;
7306
8018
  createdBySignature?: string | null | undefined;
7307
8019
  createdAtLocation?: string | null | undefined;
7308
8020
  annotation?: Record<string, string | number | boolean | {
@@ -7320,6 +8032,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7320
8032
  residentialArea?: string | null | undefined;
7321
8033
  street?: string | null | undefined;
7322
8034
  zipCode?: string | null | undefined;
8035
+ } | {
8036
+ firstname: string;
8037
+ surname: string;
8038
+ middlename?: string | null | undefined;
7323
8039
  } | {
7324
8040
  country: string;
7325
8041
  district: string;
@@ -7342,8 +8058,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7342
8058
  option: string;
7343
8059
  filename: string;
7344
8060
  originalFilename: string;
7345
- }[] | [string, string] | undefined> | null | undefined;
7346
- originalActionId?: string | null | undefined;
8061
+ }[] | [string, string] | null | undefined> | undefined;
8062
+ originalActionId?: string | undefined;
7347
8063
  }>, z.ZodObject<z.objectUtil.extendShape<{
7348
8064
  id: z.ZodString;
7349
8065
  transactionId: z.ZodString;
@@ -7351,7 +8067,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7351
8067
  createdBy: z.ZodString;
7352
8068
  createdByRole: z.ZodString;
7353
8069
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7354
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8070
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7355
8071
  declaration: 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<{
7356
8072
  filename: z.ZodString;
7357
8073
  originalFilename: z.ZodString;
@@ -7465,8 +8181,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7465
8181
  addressLine2?: string | null | undefined;
7466
8182
  addressLine3?: string | null | undefined;
7467
8183
  postcodeOrZip?: string | null | undefined;
7468
- }>]>>;
7469
- annotation: z.ZodNullable<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<{
8184
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8185
+ firstname: z.ZodString;
8186
+ surname: z.ZodString;
8187
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8188
+ }, "strip", z.ZodTypeAny, {
8189
+ firstname: string;
8190
+ surname: string;
8191
+ middlename?: string | null | undefined;
8192
+ }, {
8193
+ firstname: string;
8194
+ surname: string;
8195
+ middlename?: string | null | undefined;
8196
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8197
+ 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<{
7470
8198
  filename: z.ZodString;
7471
8199
  originalFilename: z.ZodString;
7472
8200
  type: z.ZodString;
@@ -7579,9 +8307,21 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7579
8307
  addressLine2?: string | null | undefined;
7580
8308
  addressLine3?: string | null | undefined;
7581
8309
  postcodeOrZip?: string | null | undefined;
7582
- }>]>>>>;
8310
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8311
+ firstname: z.ZodString;
8312
+ surname: z.ZodString;
8313
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8314
+ }, "strip", z.ZodTypeAny, {
8315
+ firstname: string;
8316
+ surname: string;
8317
+ middlename?: string | null | undefined;
8318
+ }, {
8319
+ firstname: string;
8320
+ surname: string;
8321
+ middlename?: string | null | undefined;
8322
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7583
8323
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7584
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8324
+ originalActionId: z.ZodOptional<z.ZodString>;
7585
8325
  }, {
7586
8326
  type: z.ZodLiteral<"READ">;
7587
8327
  }>, "strip", z.ZodTypeAny, {
@@ -7607,6 +8347,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7607
8347
  residentialArea?: string | null | undefined;
7608
8348
  street?: string | null | undefined;
7609
8349
  zipCode?: string | null | undefined;
8350
+ } | {
8351
+ firstname: string;
8352
+ surname: string;
8353
+ middlename?: string | null | undefined;
7610
8354
  } | {
7611
8355
  country: string;
7612
8356
  district: string;
@@ -7629,9 +8373,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7629
8373
  option: string;
7630
8374
  filename: string;
7631
8375
  originalFilename: string;
7632
- }[] | [string, string] | undefined>;
8376
+ }[] | [string, string] | null | undefined>;
7633
8377
  createdBySignature?: string | null | undefined;
7634
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8378
+ createdAtLocation?: string | null | undefined;
7635
8379
  annotation?: Record<string, string | number | boolean | {
7636
8380
  type: string;
7637
8381
  filename: string;
@@ -7647,6 +8391,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7647
8391
  residentialArea?: string | null | undefined;
7648
8392
  street?: string | null | undefined;
7649
8393
  zipCode?: string | null | undefined;
8394
+ } | {
8395
+ firstname: string;
8396
+ surname: string;
8397
+ middlename?: string | null | undefined;
7650
8398
  } | {
7651
8399
  country: string;
7652
8400
  district: string;
@@ -7669,8 +8417,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7669
8417
  option: string;
7670
8418
  filename: string;
7671
8419
  originalFilename: string;
7672
- }[] | [string, string] | undefined> | null | undefined;
7673
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8420
+ }[] | [string, string] | null | undefined> | undefined;
8421
+ originalActionId?: string | undefined;
7674
8422
  }, {
7675
8423
  type: "READ";
7676
8424
  id: string;
@@ -7694,6 +8442,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7694
8442
  residentialArea?: string | null | undefined;
7695
8443
  street?: string | null | undefined;
7696
8444
  zipCode?: string | null | undefined;
8445
+ } | {
8446
+ firstname: string;
8447
+ surname: string;
8448
+ middlename?: string | null | undefined;
7697
8449
  } | {
7698
8450
  country: string;
7699
8451
  district: string;
@@ -7716,7 +8468,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7716
8468
  option: string;
7717
8469
  filename: string;
7718
8470
  originalFilename: string;
7719
- }[] | [string, string] | undefined>;
8471
+ }[] | [string, string] | null | undefined>;
7720
8472
  createdBySignature?: string | null | undefined;
7721
8473
  createdAtLocation?: string | null | undefined;
7722
8474
  annotation?: Record<string, string | number | boolean | {
@@ -7734,6 +8486,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7734
8486
  residentialArea?: string | null | undefined;
7735
8487
  street?: string | null | undefined;
7736
8488
  zipCode?: string | null | undefined;
8489
+ } | {
8490
+ firstname: string;
8491
+ surname: string;
8492
+ middlename?: string | null | undefined;
7737
8493
  } | {
7738
8494
  country: string;
7739
8495
  district: string;
@@ -7756,8 +8512,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7756
8512
  option: string;
7757
8513
  filename: string;
7758
8514
  originalFilename: string;
7759
- }[] | [string, string] | undefined> | null | undefined;
7760
- originalActionId?: string | null | undefined;
8515
+ }[] | [string, string] | null | undefined> | undefined;
8516
+ originalActionId?: string | undefined;
7761
8517
  }>]>;
7762
8518
  export type ActionDocument = z.infer<typeof ActionDocument>;
7763
8519
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -7767,7 +8523,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7767
8523
  createdBy: z.ZodString;
7768
8524
  createdByRole: z.ZodString;
7769
8525
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7770
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8526
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7771
8527
  declaration: 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<{
7772
8528
  filename: z.ZodString;
7773
8529
  originalFilename: z.ZodString;
@@ -7881,8 +8637,20 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7881
8637
  addressLine2?: string | null | undefined;
7882
8638
  addressLine3?: string | null | undefined;
7883
8639
  postcodeOrZip?: string | null | undefined;
7884
- }>]>>;
7885
- annotation: z.ZodNullable<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<{
8640
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8641
+ firstname: z.ZodString;
8642
+ surname: z.ZodString;
8643
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8644
+ }, "strip", z.ZodTypeAny, {
8645
+ firstname: string;
8646
+ surname: string;
8647
+ middlename?: string | null | undefined;
8648
+ }, {
8649
+ firstname: string;
8650
+ surname: string;
8651
+ middlename?: string | null | undefined;
8652
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8653
+ 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<{
7886
8654
  filename: z.ZodString;
7887
8655
  originalFilename: z.ZodString;
7888
8656
  type: z.ZodString;
@@ -7995,9 +8763,21 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7995
8763
  addressLine2?: string | null | undefined;
7996
8764
  addressLine3?: string | null | undefined;
7997
8765
  postcodeOrZip?: string | null | undefined;
7998
- }>]>>>>;
8766
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8767
+ firstname: z.ZodString;
8768
+ surname: z.ZodString;
8769
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8770
+ }, "strip", z.ZodTypeAny, {
8771
+ firstname: string;
8772
+ surname: string;
8773
+ middlename?: string | null | undefined;
8774
+ }, {
8775
+ firstname: string;
8776
+ surname: string;
8777
+ middlename?: string | null | undefined;
8778
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7999
8779
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8000
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8780
+ originalActionId: z.ZodOptional<z.ZodString>;
8001
8781
  }, "declaration" | "annotation">, {
8002
8782
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
8003
8783
  status: z.ZodLiteral<"Rejected">;
@@ -8010,8 +8790,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8010
8790
  createdBy: string;
8011
8791
  createdByRole: string;
8012
8792
  createdBySignature?: string | null | undefined;
8013
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8014
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8793
+ createdAtLocation?: string | null | undefined;
8794
+ originalActionId?: string | undefined;
8015
8795
  }, {
8016
8796
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8017
8797
  id: string;
@@ -8022,7 +8802,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8022
8802
  createdByRole: string;
8023
8803
  createdBySignature?: string | null | undefined;
8024
8804
  createdAtLocation?: string | null | undefined;
8025
- originalActionId?: string | null | undefined;
8805
+ originalActionId?: string | undefined;
8026
8806
  }>;
8027
8807
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
8028
8808
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
@@ -8032,7 +8812,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8032
8812
  createdBy: z.ZodString;
8033
8813
  createdByRole: z.ZodString;
8034
8814
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8035
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8815
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8036
8816
  declaration: 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<{
8037
8817
  filename: z.ZodString;
8038
8818
  originalFilename: z.ZodString;
@@ -8146,8 +8926,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8146
8926
  addressLine2?: string | null | undefined;
8147
8927
  addressLine3?: string | null | undefined;
8148
8928
  postcodeOrZip?: string | null | undefined;
8149
- }>]>>;
8150
- annotation: z.ZodNullable<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<{
8929
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8930
+ firstname: z.ZodString;
8931
+ surname: z.ZodString;
8932
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8933
+ }, "strip", z.ZodTypeAny, {
8934
+ firstname: string;
8935
+ surname: string;
8936
+ middlename?: string | null | undefined;
8937
+ }, {
8938
+ firstname: string;
8939
+ surname: string;
8940
+ middlename?: string | null | undefined;
8941
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8942
+ 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<{
8151
8943
  filename: z.ZodString;
8152
8944
  originalFilename: z.ZodString;
8153
8945
  type: z.ZodString;
@@ -8260,9 +9052,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8260
9052
  addressLine2?: string | null | undefined;
8261
9053
  addressLine3?: string | null | undefined;
8262
9054
  postcodeOrZip?: string | null | undefined;
8263
- }>]>>>>;
9055
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9056
+ firstname: z.ZodString;
9057
+ surname: z.ZodString;
9058
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9059
+ }, "strip", z.ZodTypeAny, {
9060
+ firstname: string;
9061
+ surname: string;
9062
+ middlename?: string | null | undefined;
9063
+ }, {
9064
+ firstname: string;
9065
+ surname: string;
9066
+ middlename?: string | null | undefined;
9067
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8264
9068
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8265
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9069
+ originalActionId: z.ZodOptional<z.ZodString>;
8266
9070
  }, {
8267
9071
  type: z.ZodLiteral<"CREATE">;
8268
9072
  }>, "strip", z.ZodTypeAny, {
@@ -8288,6 +9092,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8288
9092
  residentialArea?: string | null | undefined;
8289
9093
  street?: string | null | undefined;
8290
9094
  zipCode?: string | null | undefined;
9095
+ } | {
9096
+ firstname: string;
9097
+ surname: string;
9098
+ middlename?: string | null | undefined;
8291
9099
  } | {
8292
9100
  country: string;
8293
9101
  district: string;
@@ -8310,9 +9118,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8310
9118
  option: string;
8311
9119
  filename: string;
8312
9120
  originalFilename: string;
8313
- }[] | [string, string] | undefined>;
9121
+ }[] | [string, string] | null | undefined>;
8314
9122
  createdBySignature?: string | null | undefined;
8315
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9123
+ createdAtLocation?: string | null | undefined;
8316
9124
  annotation?: Record<string, string | number | boolean | {
8317
9125
  type: string;
8318
9126
  filename: string;
@@ -8328,6 +9136,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8328
9136
  residentialArea?: string | null | undefined;
8329
9137
  street?: string | null | undefined;
8330
9138
  zipCode?: string | null | undefined;
9139
+ } | {
9140
+ firstname: string;
9141
+ surname: string;
9142
+ middlename?: string | null | undefined;
8331
9143
  } | {
8332
9144
  country: string;
8333
9145
  district: string;
@@ -8350,8 +9162,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8350
9162
  option: string;
8351
9163
  filename: string;
8352
9164
  originalFilename: string;
8353
- }[] | [string, string] | undefined> | null | undefined;
8354
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9165
+ }[] | [string, string] | null | undefined> | undefined;
9166
+ originalActionId?: string | undefined;
8355
9167
  }, {
8356
9168
  type: "CREATE";
8357
9169
  id: string;
@@ -8375,6 +9187,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8375
9187
  residentialArea?: string | null | undefined;
8376
9188
  street?: string | null | undefined;
8377
9189
  zipCode?: string | null | undefined;
9190
+ } | {
9191
+ firstname: string;
9192
+ surname: string;
9193
+ middlename?: string | null | undefined;
8378
9194
  } | {
8379
9195
  country: string;
8380
9196
  district: string;
@@ -8397,7 +9213,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8397
9213
  option: string;
8398
9214
  filename: string;
8399
9215
  originalFilename: string;
8400
- }[] | [string, string] | undefined>;
9216
+ }[] | [string, string] | null | undefined>;
8401
9217
  createdBySignature?: string | null | undefined;
8402
9218
  createdAtLocation?: string | null | undefined;
8403
9219
  annotation?: Record<string, string | number | boolean | {
@@ -8415,6 +9231,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8415
9231
  residentialArea?: string | null | undefined;
8416
9232
  street?: string | null | undefined;
8417
9233
  zipCode?: string | null | undefined;
9234
+ } | {
9235
+ firstname: string;
9236
+ surname: string;
9237
+ middlename?: string | null | undefined;
8418
9238
  } | {
8419
9239
  country: string;
8420
9240
  district: string;
@@ -8437,8 +9257,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8437
9257
  option: string;
8438
9258
  filename: string;
8439
9259
  originalFilename: string;
8440
- }[] | [string, string] | undefined> | null | undefined;
8441
- originalActionId?: string | null | undefined;
9260
+ }[] | [string, string] | null | undefined> | undefined;
9261
+ originalActionId?: string | undefined;
8442
9262
  }>, z.ZodObject<z.objectUtil.extendShape<{
8443
9263
  id: z.ZodString;
8444
9264
  transactionId: z.ZodString;
@@ -8446,7 +9266,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8446
9266
  createdBy: z.ZodString;
8447
9267
  createdByRole: z.ZodString;
8448
9268
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8449
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9269
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8450
9270
  declaration: 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<{
8451
9271
  filename: z.ZodString;
8452
9272
  originalFilename: z.ZodString;
@@ -8560,8 +9380,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8560
9380
  addressLine2?: string | null | undefined;
8561
9381
  addressLine3?: string | null | undefined;
8562
9382
  postcodeOrZip?: string | null | undefined;
8563
- }>]>>;
8564
- annotation: z.ZodNullable<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<{
9383
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9384
+ firstname: z.ZodString;
9385
+ surname: z.ZodString;
9386
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9387
+ }, "strip", z.ZodTypeAny, {
9388
+ firstname: string;
9389
+ surname: string;
9390
+ middlename?: string | null | undefined;
9391
+ }, {
9392
+ firstname: string;
9393
+ surname: string;
9394
+ middlename?: string | null | undefined;
9395
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9396
+ 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<{
8565
9397
  filename: z.ZodString;
8566
9398
  originalFilename: z.ZodString;
8567
9399
  type: z.ZodString;
@@ -8674,9 +9506,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8674
9506
  addressLine2?: string | null | undefined;
8675
9507
  addressLine3?: string | null | undefined;
8676
9508
  postcodeOrZip?: string | null | undefined;
8677
- }>]>>>>;
9509
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9510
+ firstname: z.ZodString;
9511
+ surname: z.ZodString;
9512
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9513
+ }, "strip", z.ZodTypeAny, {
9514
+ firstname: string;
9515
+ surname: string;
9516
+ middlename?: string | null | undefined;
9517
+ }, {
9518
+ firstname: string;
9519
+ surname: string;
9520
+ middlename?: string | null | undefined;
9521
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8678
9522
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8679
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9523
+ originalActionId: z.ZodOptional<z.ZodString>;
8680
9524
  }, {
8681
9525
  type: z.ZodLiteral<"VALIDATE">;
8682
9526
  }>, "strip", z.ZodTypeAny, {
@@ -8702,6 +9546,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8702
9546
  residentialArea?: string | null | undefined;
8703
9547
  street?: string | null | undefined;
8704
9548
  zipCode?: string | null | undefined;
9549
+ } | {
9550
+ firstname: string;
9551
+ surname: string;
9552
+ middlename?: string | null | undefined;
8705
9553
  } | {
8706
9554
  country: string;
8707
9555
  district: string;
@@ -8724,9 +9572,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8724
9572
  option: string;
8725
9573
  filename: string;
8726
9574
  originalFilename: string;
8727
- }[] | [string, string] | undefined>;
9575
+ }[] | [string, string] | null | undefined>;
8728
9576
  createdBySignature?: string | null | undefined;
8729
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9577
+ createdAtLocation?: string | null | undefined;
8730
9578
  annotation?: Record<string, string | number | boolean | {
8731
9579
  type: string;
8732
9580
  filename: string;
@@ -8742,6 +9590,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8742
9590
  residentialArea?: string | null | undefined;
8743
9591
  street?: string | null | undefined;
8744
9592
  zipCode?: string | null | undefined;
9593
+ } | {
9594
+ firstname: string;
9595
+ surname: string;
9596
+ middlename?: string | null | undefined;
8745
9597
  } | {
8746
9598
  country: string;
8747
9599
  district: string;
@@ -8764,8 +9616,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8764
9616
  option: string;
8765
9617
  filename: string;
8766
9618
  originalFilename: string;
8767
- }[] | [string, string] | undefined> | null | undefined;
8768
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9619
+ }[] | [string, string] | null | undefined> | undefined;
9620
+ originalActionId?: string | undefined;
8769
9621
  }, {
8770
9622
  type: "VALIDATE";
8771
9623
  id: string;
@@ -8789,6 +9641,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8789
9641
  residentialArea?: string | null | undefined;
8790
9642
  street?: string | null | undefined;
8791
9643
  zipCode?: string | null | undefined;
9644
+ } | {
9645
+ firstname: string;
9646
+ surname: string;
9647
+ middlename?: string | null | undefined;
8792
9648
  } | {
8793
9649
  country: string;
8794
9650
  district: string;
@@ -8811,7 +9667,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8811
9667
  option: string;
8812
9668
  filename: string;
8813
9669
  originalFilename: string;
8814
- }[] | [string, string] | undefined>;
9670
+ }[] | [string, string] | null | undefined>;
8815
9671
  createdBySignature?: string | null | undefined;
8816
9672
  createdAtLocation?: string | null | undefined;
8817
9673
  annotation?: Record<string, string | number | boolean | {
@@ -8829,6 +9685,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8829
9685
  residentialArea?: string | null | undefined;
8830
9686
  street?: string | null | undefined;
8831
9687
  zipCode?: string | null | undefined;
9688
+ } | {
9689
+ firstname: string;
9690
+ surname: string;
9691
+ middlename?: string | null | undefined;
8832
9692
  } | {
8833
9693
  country: string;
8834
9694
  district: string;
@@ -8851,8 +9711,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8851
9711
  option: string;
8852
9712
  filename: string;
8853
9713
  originalFilename: string;
8854
- }[] | [string, string] | undefined> | null | undefined;
8855
- originalActionId?: string | null | undefined;
9714
+ }[] | [string, string] | null | undefined> | undefined;
9715
+ originalActionId?: string | undefined;
8856
9716
  }>, z.ZodObject<z.objectUtil.extendShape<{
8857
9717
  id: z.ZodString;
8858
9718
  transactionId: z.ZodString;
@@ -8860,7 +9720,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8860
9720
  createdBy: z.ZodString;
8861
9721
  createdByRole: z.ZodString;
8862
9722
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8863
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9723
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8864
9724
  declaration: 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<{
8865
9725
  filename: z.ZodString;
8866
9726
  originalFilename: z.ZodString;
@@ -8974,8 +9834,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8974
9834
  addressLine2?: string | null | undefined;
8975
9835
  addressLine3?: string | null | undefined;
8976
9836
  postcodeOrZip?: string | null | undefined;
8977
- }>]>>;
8978
- annotation: z.ZodNullable<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<{
9837
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9838
+ firstname: z.ZodString;
9839
+ surname: z.ZodString;
9840
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9841
+ }, "strip", z.ZodTypeAny, {
9842
+ firstname: string;
9843
+ surname: string;
9844
+ middlename?: string | null | undefined;
9845
+ }, {
9846
+ firstname: string;
9847
+ surname: string;
9848
+ middlename?: string | null | undefined;
9849
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9850
+ 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<{
8979
9851
  filename: z.ZodString;
8980
9852
  originalFilename: z.ZodString;
8981
9853
  type: z.ZodString;
@@ -9088,9 +9960,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9088
9960
  addressLine2?: string | null | undefined;
9089
9961
  addressLine3?: string | null | undefined;
9090
9962
  postcodeOrZip?: string | null | undefined;
9091
- }>]>>>>;
9963
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9964
+ firstname: z.ZodString;
9965
+ surname: z.ZodString;
9966
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9967
+ }, "strip", z.ZodTypeAny, {
9968
+ firstname: string;
9969
+ surname: string;
9970
+ middlename?: string | null | undefined;
9971
+ }, {
9972
+ firstname: string;
9973
+ surname: string;
9974
+ middlename?: string | null | undefined;
9975
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9092
9976
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9093
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9977
+ originalActionId: z.ZodOptional<z.ZodString>;
9094
9978
  }, {
9095
9979
  type: z.ZodLiteral<"REJECT">;
9096
9980
  reason: z.ZodObject<{
@@ -9130,6 +10014,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9130
10014
  residentialArea?: string | null | undefined;
9131
10015
  street?: string | null | undefined;
9132
10016
  zipCode?: string | null | undefined;
10017
+ } | {
10018
+ firstname: string;
10019
+ surname: string;
10020
+ middlename?: string | null | undefined;
9133
10021
  } | {
9134
10022
  country: string;
9135
10023
  district: string;
@@ -9152,9 +10040,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9152
10040
  option: string;
9153
10041
  filename: string;
9154
10042
  originalFilename: string;
9155
- }[] | [string, string] | undefined>;
10043
+ }[] | [string, string] | null | undefined>;
9156
10044
  createdBySignature?: string | null | undefined;
9157
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10045
+ createdAtLocation?: string | null | undefined;
9158
10046
  annotation?: Record<string, string | number | boolean | {
9159
10047
  type: string;
9160
10048
  filename: string;
@@ -9170,6 +10058,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9170
10058
  residentialArea?: string | null | undefined;
9171
10059
  street?: string | null | undefined;
9172
10060
  zipCode?: string | null | undefined;
10061
+ } | {
10062
+ firstname: string;
10063
+ surname: string;
10064
+ middlename?: string | null | undefined;
9173
10065
  } | {
9174
10066
  country: string;
9175
10067
  district: string;
@@ -9192,8 +10084,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9192
10084
  option: string;
9193
10085
  filename: string;
9194
10086
  originalFilename: string;
9195
- }[] | [string, string] | undefined> | null | undefined;
9196
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10087
+ }[] | [string, string] | null | undefined> | undefined;
10088
+ originalActionId?: string | undefined;
9197
10089
  }, {
9198
10090
  type: "REJECT";
9199
10091
  id: string;
@@ -9221,6 +10113,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9221
10113
  residentialArea?: string | null | undefined;
9222
10114
  street?: string | null | undefined;
9223
10115
  zipCode?: string | null | undefined;
10116
+ } | {
10117
+ firstname: string;
10118
+ surname: string;
10119
+ middlename?: string | null | undefined;
9224
10120
  } | {
9225
10121
  country: string;
9226
10122
  district: string;
@@ -9243,7 +10139,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9243
10139
  option: string;
9244
10140
  filename: string;
9245
10141
  originalFilename: string;
9246
- }[] | [string, string] | undefined>;
10142
+ }[] | [string, string] | null | undefined>;
9247
10143
  createdBySignature?: string | null | undefined;
9248
10144
  createdAtLocation?: string | null | undefined;
9249
10145
  annotation?: Record<string, string | number | boolean | {
@@ -9261,6 +10157,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9261
10157
  residentialArea?: string | null | undefined;
9262
10158
  street?: string | null | undefined;
9263
10159
  zipCode?: string | null | undefined;
10160
+ } | {
10161
+ firstname: string;
10162
+ surname: string;
10163
+ middlename?: string | null | undefined;
9264
10164
  } | {
9265
10165
  country: string;
9266
10166
  district: string;
@@ -9283,8 +10183,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9283
10183
  option: string;
9284
10184
  filename: string;
9285
10185
  originalFilename: string;
9286
- }[] | [string, string] | undefined> | null | undefined;
9287
- originalActionId?: string | null | undefined;
10186
+ }[] | [string, string] | null | undefined> | undefined;
10187
+ originalActionId?: string | undefined;
9288
10188
  }>, z.ZodObject<z.objectUtil.extendShape<{
9289
10189
  id: z.ZodString;
9290
10190
  transactionId: z.ZodString;
@@ -9292,7 +10192,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9292
10192
  createdBy: z.ZodString;
9293
10193
  createdByRole: z.ZodString;
9294
10194
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9295
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10195
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9296
10196
  declaration: 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<{
9297
10197
  filename: z.ZodString;
9298
10198
  originalFilename: z.ZodString;
@@ -9406,8 +10306,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9406
10306
  addressLine2?: string | null | undefined;
9407
10307
  addressLine3?: string | null | undefined;
9408
10308
  postcodeOrZip?: string | null | undefined;
9409
- }>]>>;
9410
- annotation: z.ZodNullable<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<{
10309
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10310
+ firstname: z.ZodString;
10311
+ surname: z.ZodString;
10312
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10313
+ }, "strip", z.ZodTypeAny, {
10314
+ firstname: string;
10315
+ surname: string;
10316
+ middlename?: string | null | undefined;
10317
+ }, {
10318
+ firstname: string;
10319
+ surname: string;
10320
+ middlename?: string | null | undefined;
10321
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10322
+ 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<{
9411
10323
  filename: z.ZodString;
9412
10324
  originalFilename: z.ZodString;
9413
10325
  type: z.ZodString;
@@ -9520,9 +10432,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9520
10432
  addressLine2?: string | null | undefined;
9521
10433
  addressLine3?: string | null | undefined;
9522
10434
  postcodeOrZip?: string | null | undefined;
9523
- }>]>>>>;
10435
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10436
+ firstname: z.ZodString;
10437
+ surname: z.ZodString;
10438
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10439
+ }, "strip", z.ZodTypeAny, {
10440
+ firstname: string;
10441
+ surname: string;
10442
+ middlename?: string | null | undefined;
10443
+ }, {
10444
+ firstname: string;
10445
+ surname: string;
10446
+ middlename?: string | null | undefined;
10447
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9524
10448
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9525
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10449
+ originalActionId: z.ZodOptional<z.ZodString>;
9526
10450
  }, {
9527
10451
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
9528
10452
  }>, "strip", z.ZodTypeAny, {
@@ -9548,6 +10472,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9548
10472
  residentialArea?: string | null | undefined;
9549
10473
  street?: string | null | undefined;
9550
10474
  zipCode?: string | null | undefined;
10475
+ } | {
10476
+ firstname: string;
10477
+ surname: string;
10478
+ middlename?: string | null | undefined;
9551
10479
  } | {
9552
10480
  country: string;
9553
10481
  district: string;
@@ -9570,9 +10498,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9570
10498
  option: string;
9571
10499
  filename: string;
9572
10500
  originalFilename: string;
9573
- }[] | [string, string] | undefined>;
10501
+ }[] | [string, string] | null | undefined>;
9574
10502
  createdBySignature?: string | null | undefined;
9575
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10503
+ createdAtLocation?: string | null | undefined;
9576
10504
  annotation?: Record<string, string | number | boolean | {
9577
10505
  type: string;
9578
10506
  filename: string;
@@ -9588,6 +10516,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9588
10516
  residentialArea?: string | null | undefined;
9589
10517
  street?: string | null | undefined;
9590
10518
  zipCode?: string | null | undefined;
10519
+ } | {
10520
+ firstname: string;
10521
+ surname: string;
10522
+ middlename?: string | null | undefined;
9591
10523
  } | {
9592
10524
  country: string;
9593
10525
  district: string;
@@ -9610,8 +10542,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9610
10542
  option: string;
9611
10543
  filename: string;
9612
10544
  originalFilename: string;
9613
- }[] | [string, string] | undefined> | null | undefined;
9614
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10545
+ }[] | [string, string] | null | undefined> | undefined;
10546
+ originalActionId?: string | undefined;
9615
10547
  }, {
9616
10548
  type: "MARKED_AS_DUPLICATE";
9617
10549
  id: string;
@@ -9635,6 +10567,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9635
10567
  residentialArea?: string | null | undefined;
9636
10568
  street?: string | null | undefined;
9637
10569
  zipCode?: string | null | undefined;
10570
+ } | {
10571
+ firstname: string;
10572
+ surname: string;
10573
+ middlename?: string | null | undefined;
9638
10574
  } | {
9639
10575
  country: string;
9640
10576
  district: string;
@@ -9657,7 +10593,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9657
10593
  option: string;
9658
10594
  filename: string;
9659
10595
  originalFilename: string;
9660
- }[] | [string, string] | undefined>;
10596
+ }[] | [string, string] | null | undefined>;
9661
10597
  createdBySignature?: string | null | undefined;
9662
10598
  createdAtLocation?: string | null | undefined;
9663
10599
  annotation?: Record<string, string | number | boolean | {
@@ -9675,6 +10611,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9675
10611
  residentialArea?: string | null | undefined;
9676
10612
  street?: string | null | undefined;
9677
10613
  zipCode?: string | null | undefined;
10614
+ } | {
10615
+ firstname: string;
10616
+ surname: string;
10617
+ middlename?: string | null | undefined;
9678
10618
  } | {
9679
10619
  country: string;
9680
10620
  district: string;
@@ -9697,8 +10637,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9697
10637
  option: string;
9698
10638
  filename: string;
9699
10639
  originalFilename: string;
9700
- }[] | [string, string] | undefined> | null | undefined;
9701
- originalActionId?: string | null | undefined;
10640
+ }[] | [string, string] | null | undefined> | undefined;
10641
+ originalActionId?: string | undefined;
9702
10642
  }>, z.ZodObject<z.objectUtil.extendShape<{
9703
10643
  id: z.ZodString;
9704
10644
  transactionId: z.ZodString;
@@ -9706,7 +10646,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9706
10646
  createdBy: z.ZodString;
9707
10647
  createdByRole: z.ZodString;
9708
10648
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9709
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10649
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9710
10650
  declaration: 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<{
9711
10651
  filename: z.ZodString;
9712
10652
  originalFilename: z.ZodString;
@@ -9820,8 +10760,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9820
10760
  addressLine2?: string | null | undefined;
9821
10761
  addressLine3?: string | null | undefined;
9822
10762
  postcodeOrZip?: string | null | undefined;
9823
- }>]>>;
9824
- annotation: z.ZodNullable<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<{
10763
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10764
+ firstname: z.ZodString;
10765
+ surname: z.ZodString;
10766
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10767
+ }, "strip", z.ZodTypeAny, {
10768
+ firstname: string;
10769
+ surname: string;
10770
+ middlename?: string | null | undefined;
10771
+ }, {
10772
+ firstname: string;
10773
+ surname: string;
10774
+ middlename?: string | null | undefined;
10775
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10776
+ 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<{
9825
10777
  filename: z.ZodString;
9826
10778
  originalFilename: z.ZodString;
9827
10779
  type: z.ZodString;
@@ -9934,9 +10886,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9934
10886
  addressLine2?: string | null | undefined;
9935
10887
  addressLine3?: string | null | undefined;
9936
10888
  postcodeOrZip?: string | null | undefined;
9937
- }>]>>>>;
10889
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10890
+ firstname: z.ZodString;
10891
+ surname: z.ZodString;
10892
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10893
+ }, "strip", z.ZodTypeAny, {
10894
+ firstname: string;
10895
+ surname: string;
10896
+ middlename?: string | null | undefined;
10897
+ }, {
10898
+ firstname: string;
10899
+ surname: string;
10900
+ middlename?: string | null | undefined;
10901
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9938
10902
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9939
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10903
+ originalActionId: z.ZodOptional<z.ZodString>;
9940
10904
  }, {
9941
10905
  type: z.ZodLiteral<"ARCHIVE">;
9942
10906
  reason: z.ZodObject<{
@@ -9976,6 +10940,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9976
10940
  residentialArea?: string | null | undefined;
9977
10941
  street?: string | null | undefined;
9978
10942
  zipCode?: string | null | undefined;
10943
+ } | {
10944
+ firstname: string;
10945
+ surname: string;
10946
+ middlename?: string | null | undefined;
9979
10947
  } | {
9980
10948
  country: string;
9981
10949
  district: string;
@@ -9998,9 +10966,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9998
10966
  option: string;
9999
10967
  filename: string;
10000
10968
  originalFilename: string;
10001
- }[] | [string, string] | undefined>;
10969
+ }[] | [string, string] | null | undefined>;
10002
10970
  createdBySignature?: string | null | undefined;
10003
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10971
+ createdAtLocation?: string | null | undefined;
10004
10972
  annotation?: Record<string, string | number | boolean | {
10005
10973
  type: string;
10006
10974
  filename: string;
@@ -10016,6 +10984,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10016
10984
  residentialArea?: string | null | undefined;
10017
10985
  street?: string | null | undefined;
10018
10986
  zipCode?: string | null | undefined;
10987
+ } | {
10988
+ firstname: string;
10989
+ surname: string;
10990
+ middlename?: string | null | undefined;
10019
10991
  } | {
10020
10992
  country: string;
10021
10993
  district: string;
@@ -10038,8 +11010,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10038
11010
  option: string;
10039
11011
  filename: string;
10040
11012
  originalFilename: string;
10041
- }[] | [string, string] | undefined> | null | undefined;
10042
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11013
+ }[] | [string, string] | null | undefined> | undefined;
11014
+ originalActionId?: string | undefined;
10043
11015
  }, {
10044
11016
  type: "ARCHIVE";
10045
11017
  id: string;
@@ -10067,6 +11039,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10067
11039
  residentialArea?: string | null | undefined;
10068
11040
  street?: string | null | undefined;
10069
11041
  zipCode?: string | null | undefined;
11042
+ } | {
11043
+ firstname: string;
11044
+ surname: string;
11045
+ middlename?: string | null | undefined;
10070
11046
  } | {
10071
11047
  country: string;
10072
11048
  district: string;
@@ -10089,7 +11065,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10089
11065
  option: string;
10090
11066
  filename: string;
10091
11067
  originalFilename: string;
10092
- }[] | [string, string] | undefined>;
11068
+ }[] | [string, string] | null | undefined>;
10093
11069
  createdBySignature?: string | null | undefined;
10094
11070
  createdAtLocation?: string | null | undefined;
10095
11071
  annotation?: Record<string, string | number | boolean | {
@@ -10107,6 +11083,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10107
11083
  residentialArea?: string | null | undefined;
10108
11084
  street?: string | null | undefined;
10109
11085
  zipCode?: string | null | undefined;
11086
+ } | {
11087
+ firstname: string;
11088
+ surname: string;
11089
+ middlename?: string | null | undefined;
10110
11090
  } | {
10111
11091
  country: string;
10112
11092
  district: string;
@@ -10129,8 +11109,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10129
11109
  option: string;
10130
11110
  filename: string;
10131
11111
  originalFilename: string;
10132
- }[] | [string, string] | undefined> | null | undefined;
10133
- originalActionId?: string | null | undefined;
11112
+ }[] | [string, string] | null | undefined> | undefined;
11113
+ originalActionId?: string | undefined;
10134
11114
  }>, z.ZodObject<z.objectUtil.extendShape<{
10135
11115
  id: z.ZodString;
10136
11116
  transactionId: z.ZodString;
@@ -10138,7 +11118,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10138
11118
  createdBy: z.ZodString;
10139
11119
  createdByRole: z.ZodString;
10140
11120
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10141
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11121
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10142
11122
  declaration: 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<{
10143
11123
  filename: z.ZodString;
10144
11124
  originalFilename: z.ZodString;
@@ -10252,8 +11232,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10252
11232
  addressLine2?: string | null | undefined;
10253
11233
  addressLine3?: string | null | undefined;
10254
11234
  postcodeOrZip?: string | null | undefined;
10255
- }>]>>;
10256
- annotation: z.ZodNullable<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<{
11235
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11236
+ firstname: z.ZodString;
11237
+ surname: z.ZodString;
11238
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11239
+ }, "strip", z.ZodTypeAny, {
11240
+ firstname: string;
11241
+ surname: string;
11242
+ middlename?: string | null | undefined;
11243
+ }, {
11244
+ firstname: string;
11245
+ surname: string;
11246
+ middlename?: string | null | undefined;
11247
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
11248
+ 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<{
10257
11249
  filename: z.ZodString;
10258
11250
  originalFilename: z.ZodString;
10259
11251
  type: z.ZodString;
@@ -10366,9 +11358,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10366
11358
  addressLine2?: string | null | undefined;
10367
11359
  addressLine3?: string | null | undefined;
10368
11360
  postcodeOrZip?: string | null | undefined;
10369
- }>]>>>>;
11361
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11362
+ firstname: z.ZodString;
11363
+ surname: z.ZodString;
11364
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11365
+ }, "strip", z.ZodTypeAny, {
11366
+ firstname: string;
11367
+ surname: string;
11368
+ middlename?: string | null | undefined;
11369
+ }, {
11370
+ firstname: string;
11371
+ surname: string;
11372
+ middlename?: string | null | undefined;
11373
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10370
11374
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10371
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11375
+ originalActionId: z.ZodOptional<z.ZodString>;
10372
11376
  }, {
10373
11377
  type: z.ZodLiteral<"NOTIFY">;
10374
11378
  }>, "strip", z.ZodTypeAny, {
@@ -10394,6 +11398,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10394
11398
  residentialArea?: string | null | undefined;
10395
11399
  street?: string | null | undefined;
10396
11400
  zipCode?: string | null | undefined;
11401
+ } | {
11402
+ firstname: string;
11403
+ surname: string;
11404
+ middlename?: string | null | undefined;
10397
11405
  } | {
10398
11406
  country: string;
10399
11407
  district: string;
@@ -10416,9 +11424,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10416
11424
  option: string;
10417
11425
  filename: string;
10418
11426
  originalFilename: string;
10419
- }[] | [string, string] | undefined>;
11427
+ }[] | [string, string] | null | undefined>;
10420
11428
  createdBySignature?: string | null | undefined;
10421
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11429
+ createdAtLocation?: string | null | undefined;
10422
11430
  annotation?: Record<string, string | number | boolean | {
10423
11431
  type: string;
10424
11432
  filename: string;
@@ -10434,6 +11442,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10434
11442
  residentialArea?: string | null | undefined;
10435
11443
  street?: string | null | undefined;
10436
11444
  zipCode?: string | null | undefined;
11445
+ } | {
11446
+ firstname: string;
11447
+ surname: string;
11448
+ middlename?: string | null | undefined;
10437
11449
  } | {
10438
11450
  country: string;
10439
11451
  district: string;
@@ -10456,8 +11468,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10456
11468
  option: string;
10457
11469
  filename: string;
10458
11470
  originalFilename: string;
10459
- }[] | [string, string] | undefined> | null | undefined;
10460
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11471
+ }[] | [string, string] | null | undefined> | undefined;
11472
+ originalActionId?: string | undefined;
10461
11473
  }, {
10462
11474
  type: "NOTIFY";
10463
11475
  id: string;
@@ -10481,6 +11493,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10481
11493
  residentialArea?: string | null | undefined;
10482
11494
  street?: string | null | undefined;
10483
11495
  zipCode?: string | null | undefined;
11496
+ } | {
11497
+ firstname: string;
11498
+ surname: string;
11499
+ middlename?: string | null | undefined;
10484
11500
  } | {
10485
11501
  country: string;
10486
11502
  district: string;
@@ -10503,7 +11519,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10503
11519
  option: string;
10504
11520
  filename: string;
10505
11521
  originalFilename: string;
10506
- }[] | [string, string] | undefined>;
11522
+ }[] | [string, string] | null | undefined>;
10507
11523
  createdBySignature?: string | null | undefined;
10508
11524
  createdAtLocation?: string | null | undefined;
10509
11525
  annotation?: Record<string, string | number | boolean | {
@@ -10521,6 +11537,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10521
11537
  residentialArea?: string | null | undefined;
10522
11538
  street?: string | null | undefined;
10523
11539
  zipCode?: string | null | undefined;
11540
+ } | {
11541
+ firstname: string;
11542
+ surname: string;
11543
+ middlename?: string | null | undefined;
10524
11544
  } | {
10525
11545
  country: string;
10526
11546
  district: string;
@@ -10543,8 +11563,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10543
11563
  option: string;
10544
11564
  filename: string;
10545
11565
  originalFilename: string;
10546
- }[] | [string, string] | undefined> | null | undefined;
10547
- originalActionId?: string | null | undefined;
11566
+ }[] | [string, string] | null | undefined> | undefined;
11567
+ originalActionId?: string | undefined;
10548
11568
  }>, z.ZodObject<z.objectUtil.extendShape<{
10549
11569
  id: z.ZodString;
10550
11570
  transactionId: z.ZodString;
@@ -10552,7 +11572,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10552
11572
  createdBy: z.ZodString;
10553
11573
  createdByRole: z.ZodString;
10554
11574
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10555
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11575
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10556
11576
  declaration: 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<{
10557
11577
  filename: z.ZodString;
10558
11578
  originalFilename: z.ZodString;
@@ -10666,8 +11686,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10666
11686
  addressLine2?: string | null | undefined;
10667
11687
  addressLine3?: string | null | undefined;
10668
11688
  postcodeOrZip?: string | null | undefined;
10669
- }>]>>;
10670
- annotation: z.ZodNullable<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<{
11689
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11690
+ firstname: z.ZodString;
11691
+ surname: z.ZodString;
11692
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11693
+ }, "strip", z.ZodTypeAny, {
11694
+ firstname: string;
11695
+ surname: string;
11696
+ middlename?: string | null | undefined;
11697
+ }, {
11698
+ firstname: string;
11699
+ surname: string;
11700
+ middlename?: string | null | undefined;
11701
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
11702
+ 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<{
10671
11703
  filename: z.ZodString;
10672
11704
  originalFilename: z.ZodString;
10673
11705
  type: z.ZodString;
@@ -10780,9 +11812,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10780
11812
  addressLine2?: string | null | undefined;
10781
11813
  addressLine3?: string | null | undefined;
10782
11814
  postcodeOrZip?: string | null | undefined;
10783
- }>]>>>>;
11815
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11816
+ firstname: z.ZodString;
11817
+ surname: z.ZodString;
11818
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11819
+ }, "strip", z.ZodTypeAny, {
11820
+ firstname: string;
11821
+ surname: string;
11822
+ middlename?: string | null | undefined;
11823
+ }, {
11824
+ firstname: string;
11825
+ surname: string;
11826
+ middlename?: string | null | undefined;
11827
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10784
11828
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10785
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11829
+ originalActionId: z.ZodOptional<z.ZodString>;
10786
11830
  }, {
10787
11831
  type: z.ZodLiteral<"REGISTER">;
10788
11832
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -10809,6 +11853,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10809
11853
  residentialArea?: string | null | undefined;
10810
11854
  street?: string | null | undefined;
10811
11855
  zipCode?: string | null | undefined;
11856
+ } | {
11857
+ firstname: string;
11858
+ surname: string;
11859
+ middlename?: string | null | undefined;
10812
11860
  } | {
10813
11861
  country: string;
10814
11862
  district: string;
@@ -10831,9 +11879,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10831
11879
  option: string;
10832
11880
  filename: string;
10833
11881
  originalFilename: string;
10834
- }[] | [string, string] | undefined>;
11882
+ }[] | [string, string] | null | undefined>;
10835
11883
  createdBySignature?: string | null | undefined;
10836
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11884
+ createdAtLocation?: string | null | undefined;
10837
11885
  annotation?: Record<string, string | number | boolean | {
10838
11886
  type: string;
10839
11887
  filename: string;
@@ -10849,6 +11897,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10849
11897
  residentialArea?: string | null | undefined;
10850
11898
  street?: string | null | undefined;
10851
11899
  zipCode?: string | null | undefined;
11900
+ } | {
11901
+ firstname: string;
11902
+ surname: string;
11903
+ middlename?: string | null | undefined;
10852
11904
  } | {
10853
11905
  country: string;
10854
11906
  district: string;
@@ -10871,8 +11923,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10871
11923
  option: string;
10872
11924
  filename: string;
10873
11925
  originalFilename: string;
10874
- }[] | [string, string] | undefined> | null | undefined;
10875
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11926
+ }[] | [string, string] | null | undefined> | undefined;
11927
+ originalActionId?: string | undefined;
10876
11928
  registrationNumber?: string | undefined;
10877
11929
  }, {
10878
11930
  type: "REGISTER";
@@ -10897,6 +11949,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10897
11949
  residentialArea?: string | null | undefined;
10898
11950
  street?: string | null | undefined;
10899
11951
  zipCode?: string | null | undefined;
11952
+ } | {
11953
+ firstname: string;
11954
+ surname: string;
11955
+ middlename?: string | null | undefined;
10900
11956
  } | {
10901
11957
  country: string;
10902
11958
  district: string;
@@ -10919,7 +11975,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10919
11975
  option: string;
10920
11976
  filename: string;
10921
11977
  originalFilename: string;
10922
- }[] | [string, string] | undefined>;
11978
+ }[] | [string, string] | null | undefined>;
10923
11979
  createdBySignature?: string | null | undefined;
10924
11980
  createdAtLocation?: string | null | undefined;
10925
11981
  annotation?: Record<string, string | number | boolean | {
@@ -10937,6 +11993,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10937
11993
  residentialArea?: string | null | undefined;
10938
11994
  street?: string | null | undefined;
10939
11995
  zipCode?: string | null | undefined;
11996
+ } | {
11997
+ firstname: string;
11998
+ surname: string;
11999
+ middlename?: string | null | undefined;
10940
12000
  } | {
10941
12001
  country: string;
10942
12002
  district: string;
@@ -10959,8 +12019,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10959
12019
  option: string;
10960
12020
  filename: string;
10961
12021
  originalFilename: string;
10962
- }[] | [string, string] | undefined> | null | undefined;
10963
- originalActionId?: string | null | undefined;
12022
+ }[] | [string, string] | null | undefined> | undefined;
12023
+ originalActionId?: string | undefined;
10964
12024
  registrationNumber?: string | undefined;
10965
12025
  }>, z.ZodObject<z.objectUtil.extendShape<{
10966
12026
  id: z.ZodString;
@@ -10969,7 +12029,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10969
12029
  createdBy: z.ZodString;
10970
12030
  createdByRole: z.ZodString;
10971
12031
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10972
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12032
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10973
12033
  declaration: 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<{
10974
12034
  filename: z.ZodString;
10975
12035
  originalFilename: z.ZodString;
@@ -11083,8 +12143,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11083
12143
  addressLine2?: string | null | undefined;
11084
12144
  addressLine3?: string | null | undefined;
11085
12145
  postcodeOrZip?: string | null | undefined;
11086
- }>]>>;
11087
- annotation: z.ZodNullable<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<{
12146
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12147
+ firstname: z.ZodString;
12148
+ surname: z.ZodString;
12149
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12150
+ }, "strip", z.ZodTypeAny, {
12151
+ firstname: string;
12152
+ surname: string;
12153
+ middlename?: string | null | undefined;
12154
+ }, {
12155
+ firstname: string;
12156
+ surname: string;
12157
+ middlename?: string | null | undefined;
12158
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12159
+ 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<{
11088
12160
  filename: z.ZodString;
11089
12161
  originalFilename: z.ZodString;
11090
12162
  type: z.ZodString;
@@ -11197,9 +12269,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11197
12269
  addressLine2?: string | null | undefined;
11198
12270
  addressLine3?: string | null | undefined;
11199
12271
  postcodeOrZip?: string | null | undefined;
11200
- }>]>>>>;
12272
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12273
+ firstname: z.ZodString;
12274
+ surname: z.ZodString;
12275
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12276
+ }, "strip", z.ZodTypeAny, {
12277
+ firstname: string;
12278
+ surname: string;
12279
+ middlename?: string | null | undefined;
12280
+ }, {
12281
+ firstname: string;
12282
+ surname: string;
12283
+ middlename?: string | null | undefined;
12284
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11201
12285
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11202
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12286
+ originalActionId: z.ZodOptional<z.ZodString>;
11203
12287
  }, {
11204
12288
  type: z.ZodLiteral<"DECLARE">;
11205
12289
  }>, "strip", z.ZodTypeAny, {
@@ -11225,6 +12309,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11225
12309
  residentialArea?: string | null | undefined;
11226
12310
  street?: string | null | undefined;
11227
12311
  zipCode?: string | null | undefined;
12312
+ } | {
12313
+ firstname: string;
12314
+ surname: string;
12315
+ middlename?: string | null | undefined;
11228
12316
  } | {
11229
12317
  country: string;
11230
12318
  district: string;
@@ -11247,9 +12335,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11247
12335
  option: string;
11248
12336
  filename: string;
11249
12337
  originalFilename: string;
11250
- }[] | [string, string] | undefined>;
12338
+ }[] | [string, string] | null | undefined>;
11251
12339
  createdBySignature?: string | null | undefined;
11252
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12340
+ createdAtLocation?: string | null | undefined;
11253
12341
  annotation?: Record<string, string | number | boolean | {
11254
12342
  type: string;
11255
12343
  filename: string;
@@ -11265,6 +12353,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11265
12353
  residentialArea?: string | null | undefined;
11266
12354
  street?: string | null | undefined;
11267
12355
  zipCode?: string | null | undefined;
12356
+ } | {
12357
+ firstname: string;
12358
+ surname: string;
12359
+ middlename?: string | null | undefined;
11268
12360
  } | {
11269
12361
  country: string;
11270
12362
  district: string;
@@ -11287,8 +12379,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11287
12379
  option: string;
11288
12380
  filename: string;
11289
12381
  originalFilename: string;
11290
- }[] | [string, string] | undefined> | null | undefined;
11291
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12382
+ }[] | [string, string] | null | undefined> | undefined;
12383
+ originalActionId?: string | undefined;
11292
12384
  }, {
11293
12385
  type: "DECLARE";
11294
12386
  id: string;
@@ -11312,6 +12404,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11312
12404
  residentialArea?: string | null | undefined;
11313
12405
  street?: string | null | undefined;
11314
12406
  zipCode?: string | null | undefined;
12407
+ } | {
12408
+ firstname: string;
12409
+ surname: string;
12410
+ middlename?: string | null | undefined;
11315
12411
  } | {
11316
12412
  country: string;
11317
12413
  district: string;
@@ -11334,7 +12430,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11334
12430
  option: string;
11335
12431
  filename: string;
11336
12432
  originalFilename: string;
11337
- }[] | [string, string] | undefined>;
12433
+ }[] | [string, string] | null | undefined>;
11338
12434
  createdBySignature?: string | null | undefined;
11339
12435
  createdAtLocation?: string | null | undefined;
11340
12436
  annotation?: Record<string, string | number | boolean | {
@@ -11352,6 +12448,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11352
12448
  residentialArea?: string | null | undefined;
11353
12449
  street?: string | null | undefined;
11354
12450
  zipCode?: string | null | undefined;
12451
+ } | {
12452
+ firstname: string;
12453
+ surname: string;
12454
+ middlename?: string | null | undefined;
11355
12455
  } | {
11356
12456
  country: string;
11357
12457
  district: string;
@@ -11374,8 +12474,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11374
12474
  option: string;
11375
12475
  filename: string;
11376
12476
  originalFilename: string;
11377
- }[] | [string, string] | undefined> | null | undefined;
11378
- originalActionId?: string | null | undefined;
12477
+ }[] | [string, string] | null | undefined> | undefined;
12478
+ originalActionId?: string | undefined;
11379
12479
  }>, z.ZodObject<z.objectUtil.extendShape<{
11380
12480
  id: z.ZodString;
11381
12481
  transactionId: z.ZodString;
@@ -11383,7 +12483,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11383
12483
  createdBy: z.ZodString;
11384
12484
  createdByRole: z.ZodString;
11385
12485
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11386
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12486
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11387
12487
  declaration: 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<{
11388
12488
  filename: z.ZodString;
11389
12489
  originalFilename: z.ZodString;
@@ -11497,8 +12597,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11497
12597
  addressLine2?: string | null | undefined;
11498
12598
  addressLine3?: string | null | undefined;
11499
12599
  postcodeOrZip?: string | null | undefined;
11500
- }>]>>;
11501
- annotation: z.ZodNullable<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<{
12600
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12601
+ firstname: z.ZodString;
12602
+ surname: z.ZodString;
12603
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12604
+ }, "strip", z.ZodTypeAny, {
12605
+ firstname: string;
12606
+ surname: string;
12607
+ middlename?: string | null | undefined;
12608
+ }, {
12609
+ firstname: string;
12610
+ surname: string;
12611
+ middlename?: string | null | undefined;
12612
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12613
+ 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<{
11502
12614
  filename: z.ZodString;
11503
12615
  originalFilename: z.ZodString;
11504
12616
  type: z.ZodString;
@@ -11611,9 +12723,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11611
12723
  addressLine2?: string | null | undefined;
11612
12724
  addressLine3?: string | null | undefined;
11613
12725
  postcodeOrZip?: string | null | undefined;
11614
- }>]>>>>;
12726
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12727
+ firstname: z.ZodString;
12728
+ surname: z.ZodString;
12729
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12730
+ }, "strip", z.ZodTypeAny, {
12731
+ firstname: string;
12732
+ surname: string;
12733
+ middlename?: string | null | undefined;
12734
+ }, {
12735
+ firstname: string;
12736
+ surname: string;
12737
+ middlename?: string | null | undefined;
12738
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11615
12739
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11616
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12740
+ originalActionId: z.ZodOptional<z.ZodString>;
11617
12741
  }, {
11618
12742
  type: z.ZodLiteral<"ASSIGN">;
11619
12743
  assignedTo: z.ZodString;
@@ -11640,6 +12764,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11640
12764
  residentialArea?: string | null | undefined;
11641
12765
  street?: string | null | undefined;
11642
12766
  zipCode?: string | null | undefined;
12767
+ } | {
12768
+ firstname: string;
12769
+ surname: string;
12770
+ middlename?: string | null | undefined;
11643
12771
  } | {
11644
12772
  country: string;
11645
12773
  district: string;
@@ -11662,10 +12790,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11662
12790
  option: string;
11663
12791
  filename: string;
11664
12792
  originalFilename: string;
11665
- }[] | [string, string] | undefined>;
12793
+ }[] | [string, string] | null | undefined>;
11666
12794
  assignedTo: string;
11667
12795
  createdBySignature?: string | null | undefined;
11668
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12796
+ createdAtLocation?: string | null | undefined;
11669
12797
  annotation?: Record<string, string | number | boolean | {
11670
12798
  type: string;
11671
12799
  filename: string;
@@ -11681,6 +12809,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11681
12809
  residentialArea?: string | null | undefined;
11682
12810
  street?: string | null | undefined;
11683
12811
  zipCode?: string | null | undefined;
12812
+ } | {
12813
+ firstname: string;
12814
+ surname: string;
12815
+ middlename?: string | null | undefined;
11684
12816
  } | {
11685
12817
  country: string;
11686
12818
  district: string;
@@ -11703,8 +12835,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11703
12835
  option: string;
11704
12836
  filename: string;
11705
12837
  originalFilename: string;
11706
- }[] | [string, string] | undefined> | null | undefined;
11707
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12838
+ }[] | [string, string] | null | undefined> | undefined;
12839
+ originalActionId?: string | undefined;
11708
12840
  }, {
11709
12841
  type: "ASSIGN";
11710
12842
  id: string;
@@ -11728,6 +12860,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11728
12860
  residentialArea?: string | null | undefined;
11729
12861
  street?: string | null | undefined;
11730
12862
  zipCode?: string | null | undefined;
12863
+ } | {
12864
+ firstname: string;
12865
+ surname: string;
12866
+ middlename?: string | null | undefined;
11731
12867
  } | {
11732
12868
  country: string;
11733
12869
  district: string;
@@ -11750,7 +12886,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11750
12886
  option: string;
11751
12887
  filename: string;
11752
12888
  originalFilename: string;
11753
- }[] | [string, string] | undefined>;
12889
+ }[] | [string, string] | null | undefined>;
11754
12890
  assignedTo: string;
11755
12891
  createdBySignature?: string | null | undefined;
11756
12892
  createdAtLocation?: string | null | undefined;
@@ -11769,6 +12905,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11769
12905
  residentialArea?: string | null | undefined;
11770
12906
  street?: string | null | undefined;
11771
12907
  zipCode?: string | null | undefined;
12908
+ } | {
12909
+ firstname: string;
12910
+ surname: string;
12911
+ middlename?: string | null | undefined;
11772
12912
  } | {
11773
12913
  country: string;
11774
12914
  district: string;
@@ -11791,8 +12931,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11791
12931
  option: string;
11792
12932
  filename: string;
11793
12933
  originalFilename: string;
11794
- }[] | [string, string] | undefined> | null | undefined;
11795
- originalActionId?: string | null | undefined;
12934
+ }[] | [string, string] | null | undefined> | undefined;
12935
+ originalActionId?: string | undefined;
11796
12936
  }>, z.ZodObject<z.objectUtil.extendShape<{
11797
12937
  id: z.ZodString;
11798
12938
  transactionId: z.ZodString;
@@ -11800,7 +12940,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11800
12940
  createdBy: z.ZodString;
11801
12941
  createdByRole: z.ZodString;
11802
12942
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11803
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12943
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11804
12944
  declaration: 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<{
11805
12945
  filename: z.ZodString;
11806
12946
  originalFilename: z.ZodString;
@@ -11914,8 +13054,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11914
13054
  addressLine2?: string | null | undefined;
11915
13055
  addressLine3?: string | null | undefined;
11916
13056
  postcodeOrZip?: string | null | undefined;
11917
- }>]>>;
11918
- annotation: z.ZodNullable<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<{
13057
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13058
+ firstname: z.ZodString;
13059
+ surname: z.ZodString;
13060
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13061
+ }, "strip", z.ZodTypeAny, {
13062
+ firstname: string;
13063
+ surname: string;
13064
+ middlename?: string | null | undefined;
13065
+ }, {
13066
+ firstname: string;
13067
+ surname: string;
13068
+ middlename?: string | null | undefined;
13069
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13070
+ 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<{
11919
13071
  filename: z.ZodString;
11920
13072
  originalFilename: z.ZodString;
11921
13073
  type: z.ZodString;
@@ -12028,9 +13180,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12028
13180
  addressLine2?: string | null | undefined;
12029
13181
  addressLine3?: string | null | undefined;
12030
13182
  postcodeOrZip?: string | null | undefined;
12031
- }>]>>>>;
13183
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13184
+ firstname: z.ZodString;
13185
+ surname: z.ZodString;
13186
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13187
+ }, "strip", z.ZodTypeAny, {
13188
+ firstname: string;
13189
+ surname: string;
13190
+ middlename?: string | null | undefined;
13191
+ }, {
13192
+ firstname: string;
13193
+ surname: string;
13194
+ middlename?: string | null | undefined;
13195
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12032
13196
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12033
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13197
+ originalActionId: z.ZodOptional<z.ZodString>;
12034
13198
  }, {
12035
13199
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
12036
13200
  }>, "strip", z.ZodTypeAny, {
@@ -12056,6 +13220,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12056
13220
  residentialArea?: string | null | undefined;
12057
13221
  street?: string | null | undefined;
12058
13222
  zipCode?: string | null | undefined;
13223
+ } | {
13224
+ firstname: string;
13225
+ surname: string;
13226
+ middlename?: string | null | undefined;
12059
13227
  } | {
12060
13228
  country: string;
12061
13229
  district: string;
@@ -12078,9 +13246,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12078
13246
  option: string;
12079
13247
  filename: string;
12080
13248
  originalFilename: string;
12081
- }[] | [string, string] | undefined>;
13249
+ }[] | [string, string] | null | undefined>;
12082
13250
  createdBySignature?: string | null | undefined;
12083
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13251
+ createdAtLocation?: string | null | undefined;
12084
13252
  annotation?: Record<string, string | number | boolean | {
12085
13253
  type: string;
12086
13254
  filename: string;
@@ -12096,6 +13264,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12096
13264
  residentialArea?: string | null | undefined;
12097
13265
  street?: string | null | undefined;
12098
13266
  zipCode?: string | null | undefined;
13267
+ } | {
13268
+ firstname: string;
13269
+ surname: string;
13270
+ middlename?: string | null | undefined;
12099
13271
  } | {
12100
13272
  country: string;
12101
13273
  district: string;
@@ -12118,8 +13290,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12118
13290
  option: string;
12119
13291
  filename: string;
12120
13292
  originalFilename: string;
12121
- }[] | [string, string] | undefined> | null | undefined;
12122
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13293
+ }[] | [string, string] | null | undefined> | undefined;
13294
+ originalActionId?: string | undefined;
12123
13295
  }, {
12124
13296
  type: "REQUEST_CORRECTION";
12125
13297
  id: string;
@@ -12143,6 +13315,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12143
13315
  residentialArea?: string | null | undefined;
12144
13316
  street?: string | null | undefined;
12145
13317
  zipCode?: string | null | undefined;
13318
+ } | {
13319
+ firstname: string;
13320
+ surname: string;
13321
+ middlename?: string | null | undefined;
12146
13322
  } | {
12147
13323
  country: string;
12148
13324
  district: string;
@@ -12165,7 +13341,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12165
13341
  option: string;
12166
13342
  filename: string;
12167
13343
  originalFilename: string;
12168
- }[] | [string, string] | undefined>;
13344
+ }[] | [string, string] | null | undefined>;
12169
13345
  createdBySignature?: string | null | undefined;
12170
13346
  createdAtLocation?: string | null | undefined;
12171
13347
  annotation?: Record<string, string | number | boolean | {
@@ -12183,6 +13359,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12183
13359
  residentialArea?: string | null | undefined;
12184
13360
  street?: string | null | undefined;
12185
13361
  zipCode?: string | null | undefined;
13362
+ } | {
13363
+ firstname: string;
13364
+ surname: string;
13365
+ middlename?: string | null | undefined;
12186
13366
  } | {
12187
13367
  country: string;
12188
13368
  district: string;
@@ -12205,8 +13385,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12205
13385
  option: string;
12206
13386
  filename: string;
12207
13387
  originalFilename: string;
12208
- }[] | [string, string] | undefined> | null | undefined;
12209
- originalActionId?: string | null | undefined;
13388
+ }[] | [string, string] | null | undefined> | undefined;
13389
+ originalActionId?: string | undefined;
12210
13390
  }>, z.ZodObject<z.objectUtil.extendShape<{
12211
13391
  id: z.ZodString;
12212
13392
  transactionId: z.ZodString;
@@ -12214,7 +13394,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12214
13394
  createdBy: z.ZodString;
12215
13395
  createdByRole: z.ZodString;
12216
13396
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12217
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13397
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12218
13398
  declaration: 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<{
12219
13399
  filename: z.ZodString;
12220
13400
  originalFilename: z.ZodString;
@@ -12328,8 +13508,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12328
13508
  addressLine2?: string | null | undefined;
12329
13509
  addressLine3?: string | null | undefined;
12330
13510
  postcodeOrZip?: string | null | undefined;
12331
- }>]>>;
12332
- annotation: z.ZodNullable<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<{
13511
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13512
+ firstname: z.ZodString;
13513
+ surname: z.ZodString;
13514
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13515
+ }, "strip", z.ZodTypeAny, {
13516
+ firstname: string;
13517
+ surname: string;
13518
+ middlename?: string | null | undefined;
13519
+ }, {
13520
+ firstname: string;
13521
+ surname: string;
13522
+ middlename?: string | null | undefined;
13523
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13524
+ 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<{
12333
13525
  filename: z.ZodString;
12334
13526
  originalFilename: z.ZodString;
12335
13527
  type: z.ZodString;
@@ -12442,9 +13634,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12442
13634
  addressLine2?: string | null | undefined;
12443
13635
  addressLine3?: string | null | undefined;
12444
13636
  postcodeOrZip?: string | null | undefined;
12445
- }>]>>>>;
13637
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13638
+ firstname: z.ZodString;
13639
+ surname: z.ZodString;
13640
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13641
+ }, "strip", z.ZodTypeAny, {
13642
+ firstname: string;
13643
+ surname: string;
13644
+ middlename?: string | null | undefined;
13645
+ }, {
13646
+ firstname: string;
13647
+ surname: string;
13648
+ middlename?: string | null | undefined;
13649
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12446
13650
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12447
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13651
+ originalActionId: z.ZodOptional<z.ZodString>;
12448
13652
  }, {
12449
13653
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
12450
13654
  requestId: z.ZodString;
@@ -12471,6 +13675,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12471
13675
  residentialArea?: string | null | undefined;
12472
13676
  street?: string | null | undefined;
12473
13677
  zipCode?: string | null | undefined;
13678
+ } | {
13679
+ firstname: string;
13680
+ surname: string;
13681
+ middlename?: string | null | undefined;
12474
13682
  } | {
12475
13683
  country: string;
12476
13684
  district: string;
@@ -12493,10 +13701,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12493
13701
  option: string;
12494
13702
  filename: string;
12495
13703
  originalFilename: string;
12496
- }[] | [string, string] | undefined>;
13704
+ }[] | [string, string] | null | undefined>;
12497
13705
  requestId: string;
12498
13706
  createdBySignature?: string | null | undefined;
12499
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13707
+ createdAtLocation?: string | null | undefined;
12500
13708
  annotation?: Record<string, string | number | boolean | {
12501
13709
  type: string;
12502
13710
  filename: string;
@@ -12512,6 +13720,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12512
13720
  residentialArea?: string | null | undefined;
12513
13721
  street?: string | null | undefined;
12514
13722
  zipCode?: string | null | undefined;
13723
+ } | {
13724
+ firstname: string;
13725
+ surname: string;
13726
+ middlename?: string | null | undefined;
12515
13727
  } | {
12516
13728
  country: string;
12517
13729
  district: string;
@@ -12534,8 +13746,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12534
13746
  option: string;
12535
13747
  filename: string;
12536
13748
  originalFilename: string;
12537
- }[] | [string, string] | undefined> | null | undefined;
12538
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13749
+ }[] | [string, string] | null | undefined> | undefined;
13750
+ originalActionId?: string | undefined;
12539
13751
  }, {
12540
13752
  type: "APPROVE_CORRECTION";
12541
13753
  id: string;
@@ -12559,6 +13771,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12559
13771
  residentialArea?: string | null | undefined;
12560
13772
  street?: string | null | undefined;
12561
13773
  zipCode?: string | null | undefined;
13774
+ } | {
13775
+ firstname: string;
13776
+ surname: string;
13777
+ middlename?: string | null | undefined;
12562
13778
  } | {
12563
13779
  country: string;
12564
13780
  district: string;
@@ -12581,7 +13797,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12581
13797
  option: string;
12582
13798
  filename: string;
12583
13799
  originalFilename: string;
12584
- }[] | [string, string] | undefined>;
13800
+ }[] | [string, string] | null | undefined>;
12585
13801
  requestId: string;
12586
13802
  createdBySignature?: string | null | undefined;
12587
13803
  createdAtLocation?: string | null | undefined;
@@ -12600,6 +13816,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12600
13816
  residentialArea?: string | null | undefined;
12601
13817
  street?: string | null | undefined;
12602
13818
  zipCode?: string | null | undefined;
13819
+ } | {
13820
+ firstname: string;
13821
+ surname: string;
13822
+ middlename?: string | null | undefined;
12603
13823
  } | {
12604
13824
  country: string;
12605
13825
  district: string;
@@ -12622,8 +13842,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12622
13842
  option: string;
12623
13843
  filename: string;
12624
13844
  originalFilename: string;
12625
- }[] | [string, string] | undefined> | null | undefined;
12626
- originalActionId?: string | null | undefined;
13845
+ }[] | [string, string] | null | undefined> | undefined;
13846
+ originalActionId?: string | undefined;
12627
13847
  }>, z.ZodObject<z.objectUtil.extendShape<{
12628
13848
  id: z.ZodString;
12629
13849
  transactionId: z.ZodString;
@@ -12631,7 +13851,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12631
13851
  createdBy: z.ZodString;
12632
13852
  createdByRole: z.ZodString;
12633
13853
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12634
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13854
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12635
13855
  declaration: 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<{
12636
13856
  filename: z.ZodString;
12637
13857
  originalFilename: z.ZodString;
@@ -12745,8 +13965,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12745
13965
  addressLine2?: string | null | undefined;
12746
13966
  addressLine3?: string | null | undefined;
12747
13967
  postcodeOrZip?: string | null | undefined;
12748
- }>]>>;
12749
- annotation: z.ZodNullable<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<{
13968
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13969
+ firstname: z.ZodString;
13970
+ surname: z.ZodString;
13971
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13972
+ }, "strip", z.ZodTypeAny, {
13973
+ firstname: string;
13974
+ surname: string;
13975
+ middlename?: string | null | undefined;
13976
+ }, {
13977
+ firstname: string;
13978
+ surname: string;
13979
+ middlename?: string | null | undefined;
13980
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13981
+ 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<{
12750
13982
  filename: z.ZodString;
12751
13983
  originalFilename: z.ZodString;
12752
13984
  type: z.ZodString;
@@ -12859,9 +14091,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12859
14091
  addressLine2?: string | null | undefined;
12860
14092
  addressLine3?: string | null | undefined;
12861
14093
  postcodeOrZip?: string | null | undefined;
12862
- }>]>>>>;
14094
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14095
+ firstname: z.ZodString;
14096
+ surname: z.ZodString;
14097
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14098
+ }, "strip", z.ZodTypeAny, {
14099
+ firstname: string;
14100
+ surname: string;
14101
+ middlename?: string | null | undefined;
14102
+ }, {
14103
+ firstname: string;
14104
+ surname: string;
14105
+ middlename?: string | null | undefined;
14106
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12863
14107
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12864
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14108
+ originalActionId: z.ZodOptional<z.ZodString>;
12865
14109
  }, {
12866
14110
  type: z.ZodLiteral<"REJECT_CORRECTION">;
12867
14111
  requestId: z.ZodString;
@@ -12888,6 +14132,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12888
14132
  residentialArea?: string | null | undefined;
12889
14133
  street?: string | null | undefined;
12890
14134
  zipCode?: string | null | undefined;
14135
+ } | {
14136
+ firstname: string;
14137
+ surname: string;
14138
+ middlename?: string | null | undefined;
12891
14139
  } | {
12892
14140
  country: string;
12893
14141
  district: string;
@@ -12910,10 +14158,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12910
14158
  option: string;
12911
14159
  filename: string;
12912
14160
  originalFilename: string;
12913
- }[] | [string, string] | undefined>;
14161
+ }[] | [string, string] | null | undefined>;
12914
14162
  requestId: string;
12915
14163
  createdBySignature?: string | null | undefined;
12916
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14164
+ createdAtLocation?: string | null | undefined;
12917
14165
  annotation?: Record<string, string | number | boolean | {
12918
14166
  type: string;
12919
14167
  filename: string;
@@ -12929,6 +14177,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12929
14177
  residentialArea?: string | null | undefined;
12930
14178
  street?: string | null | undefined;
12931
14179
  zipCode?: string | null | undefined;
14180
+ } | {
14181
+ firstname: string;
14182
+ surname: string;
14183
+ middlename?: string | null | undefined;
12932
14184
  } | {
12933
14185
  country: string;
12934
14186
  district: string;
@@ -12951,8 +14203,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12951
14203
  option: string;
12952
14204
  filename: string;
12953
14205
  originalFilename: string;
12954
- }[] | [string, string] | undefined> | null | undefined;
12955
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14206
+ }[] | [string, string] | null | undefined> | undefined;
14207
+ originalActionId?: string | undefined;
12956
14208
  }, {
12957
14209
  type: "REJECT_CORRECTION";
12958
14210
  id: string;
@@ -12976,6 +14228,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12976
14228
  residentialArea?: string | null | undefined;
12977
14229
  street?: string | null | undefined;
12978
14230
  zipCode?: string | null | undefined;
14231
+ } | {
14232
+ firstname: string;
14233
+ surname: string;
14234
+ middlename?: string | null | undefined;
12979
14235
  } | {
12980
14236
  country: string;
12981
14237
  district: string;
@@ -12998,7 +14254,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12998
14254
  option: string;
12999
14255
  filename: string;
13000
14256
  originalFilename: string;
13001
- }[] | [string, string] | undefined>;
14257
+ }[] | [string, string] | null | undefined>;
13002
14258
  requestId: string;
13003
14259
  createdBySignature?: string | null | undefined;
13004
14260
  createdAtLocation?: string | null | undefined;
@@ -13017,6 +14273,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13017
14273
  residentialArea?: string | null | undefined;
13018
14274
  street?: string | null | undefined;
13019
14275
  zipCode?: string | null | undefined;
14276
+ } | {
14277
+ firstname: string;
14278
+ surname: string;
14279
+ middlename?: string | null | undefined;
13020
14280
  } | {
13021
14281
  country: string;
13022
14282
  district: string;
@@ -13039,8 +14299,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13039
14299
  option: string;
13040
14300
  filename: string;
13041
14301
  originalFilename: string;
13042
- }[] | [string, string] | undefined> | null | undefined;
13043
- originalActionId?: string | null | undefined;
14302
+ }[] | [string, string] | null | undefined> | undefined;
14303
+ originalActionId?: string | undefined;
13044
14304
  }>, z.ZodObject<z.objectUtil.extendShape<{
13045
14305
  id: z.ZodString;
13046
14306
  transactionId: z.ZodString;
@@ -13048,7 +14308,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13048
14308
  createdBy: z.ZodString;
13049
14309
  createdByRole: z.ZodString;
13050
14310
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13051
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14311
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13052
14312
  declaration: 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<{
13053
14313
  filename: z.ZodString;
13054
14314
  originalFilename: z.ZodString;
@@ -13162,8 +14422,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13162
14422
  addressLine2?: string | null | undefined;
13163
14423
  addressLine3?: string | null | undefined;
13164
14424
  postcodeOrZip?: string | null | undefined;
13165
- }>]>>;
13166
- annotation: z.ZodNullable<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<{
14425
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14426
+ firstname: z.ZodString;
14427
+ surname: z.ZodString;
14428
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14429
+ }, "strip", z.ZodTypeAny, {
14430
+ firstname: string;
14431
+ surname: string;
14432
+ middlename?: string | null | undefined;
14433
+ }, {
14434
+ firstname: string;
14435
+ surname: string;
14436
+ middlename?: string | null | undefined;
14437
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14438
+ 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<{
13167
14439
  filename: z.ZodString;
13168
14440
  originalFilename: z.ZodString;
13169
14441
  type: z.ZodString;
@@ -13276,9 +14548,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13276
14548
  addressLine2?: string | null | undefined;
13277
14549
  addressLine3?: string | null | undefined;
13278
14550
  postcodeOrZip?: string | null | undefined;
13279
- }>]>>>>;
14551
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14552
+ firstname: z.ZodString;
14553
+ surname: z.ZodString;
14554
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14555
+ }, "strip", z.ZodTypeAny, {
14556
+ firstname: string;
14557
+ surname: string;
14558
+ middlename?: string | null | undefined;
14559
+ }, {
14560
+ firstname: string;
14561
+ surname: string;
14562
+ middlename?: string | null | undefined;
14563
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13280
14564
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13281
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14565
+ originalActionId: z.ZodOptional<z.ZodString>;
13282
14566
  }, {
13283
14567
  type: z.ZodLiteral<"UNASSIGN">;
13284
14568
  assignedTo: z.ZodLiteral<null>;
@@ -13305,6 +14589,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13305
14589
  residentialArea?: string | null | undefined;
13306
14590
  street?: string | null | undefined;
13307
14591
  zipCode?: string | null | undefined;
14592
+ } | {
14593
+ firstname: string;
14594
+ surname: string;
14595
+ middlename?: string | null | undefined;
13308
14596
  } | {
13309
14597
  country: string;
13310
14598
  district: string;
@@ -13327,10 +14615,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13327
14615
  option: string;
13328
14616
  filename: string;
13329
14617
  originalFilename: string;
13330
- }[] | [string, string] | undefined>;
14618
+ }[] | [string, string] | null | undefined>;
13331
14619
  assignedTo: null;
13332
14620
  createdBySignature?: string | null | undefined;
13333
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14621
+ createdAtLocation?: string | null | undefined;
13334
14622
  annotation?: Record<string, string | number | boolean | {
13335
14623
  type: string;
13336
14624
  filename: string;
@@ -13346,6 +14634,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13346
14634
  residentialArea?: string | null | undefined;
13347
14635
  street?: string | null | undefined;
13348
14636
  zipCode?: string | null | undefined;
14637
+ } | {
14638
+ firstname: string;
14639
+ surname: string;
14640
+ middlename?: string | null | undefined;
13349
14641
  } | {
13350
14642
  country: string;
13351
14643
  district: string;
@@ -13368,8 +14660,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13368
14660
  option: string;
13369
14661
  filename: string;
13370
14662
  originalFilename: string;
13371
- }[] | [string, string] | undefined> | null | undefined;
13372
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14663
+ }[] | [string, string] | null | undefined> | undefined;
14664
+ originalActionId?: string | undefined;
13373
14665
  }, {
13374
14666
  type: "UNASSIGN";
13375
14667
  id: string;
@@ -13393,6 +14685,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13393
14685
  residentialArea?: string | null | undefined;
13394
14686
  street?: string | null | undefined;
13395
14687
  zipCode?: string | null | undefined;
14688
+ } | {
14689
+ firstname: string;
14690
+ surname: string;
14691
+ middlename?: string | null | undefined;
13396
14692
  } | {
13397
14693
  country: string;
13398
14694
  district: string;
@@ -13415,7 +14711,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13415
14711
  option: string;
13416
14712
  filename: string;
13417
14713
  originalFilename: string;
13418
- }[] | [string, string] | undefined>;
14714
+ }[] | [string, string] | null | undefined>;
13419
14715
  assignedTo: null;
13420
14716
  createdBySignature?: string | null | undefined;
13421
14717
  createdAtLocation?: string | null | undefined;
@@ -13434,6 +14730,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13434
14730
  residentialArea?: string | null | undefined;
13435
14731
  street?: string | null | undefined;
13436
14732
  zipCode?: string | null | undefined;
14733
+ } | {
14734
+ firstname: string;
14735
+ surname: string;
14736
+ middlename?: string | null | undefined;
13437
14737
  } | {
13438
14738
  country: string;
13439
14739
  district: string;
@@ -13456,8 +14756,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13456
14756
  option: string;
13457
14757
  filename: string;
13458
14758
  originalFilename: string;
13459
- }[] | [string, string] | undefined> | null | undefined;
13460
- originalActionId?: string | null | undefined;
14759
+ }[] | [string, string] | null | undefined> | undefined;
14760
+ originalActionId?: string | undefined;
13461
14761
  }>, z.ZodObject<z.objectUtil.extendShape<{
13462
14762
  id: z.ZodString;
13463
14763
  transactionId: z.ZodString;
@@ -13465,7 +14765,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13465
14765
  createdBy: z.ZodString;
13466
14766
  createdByRole: z.ZodString;
13467
14767
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13468
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14768
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13469
14769
  declaration: 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<{
13470
14770
  filename: z.ZodString;
13471
14771
  originalFilename: z.ZodString;
@@ -13579,8 +14879,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13579
14879
  addressLine2?: string | null | undefined;
13580
14880
  addressLine3?: string | null | undefined;
13581
14881
  postcodeOrZip?: string | null | undefined;
13582
- }>]>>;
13583
- annotation: z.ZodNullable<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<{
14882
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14883
+ firstname: z.ZodString;
14884
+ surname: z.ZodString;
14885
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14886
+ }, "strip", z.ZodTypeAny, {
14887
+ firstname: string;
14888
+ surname: string;
14889
+ middlename?: string | null | undefined;
14890
+ }, {
14891
+ firstname: string;
14892
+ surname: string;
14893
+ middlename?: string | null | undefined;
14894
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14895
+ 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<{
13584
14896
  filename: z.ZodString;
13585
14897
  originalFilename: z.ZodString;
13586
14898
  type: z.ZodString;
@@ -13693,9 +15005,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13693
15005
  addressLine2?: string | null | undefined;
13694
15006
  addressLine3?: string | null | undefined;
13695
15007
  postcodeOrZip?: string | null | undefined;
13696
- }>]>>>>;
15008
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15009
+ firstname: z.ZodString;
15010
+ surname: z.ZodString;
15011
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15012
+ }, "strip", z.ZodTypeAny, {
15013
+ firstname: string;
15014
+ surname: string;
15015
+ middlename?: string | null | undefined;
15016
+ }, {
15017
+ firstname: string;
15018
+ surname: string;
15019
+ middlename?: string | null | undefined;
15020
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13697
15021
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13698
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15022
+ originalActionId: z.ZodOptional<z.ZodString>;
13699
15023
  }, {
13700
15024
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
13701
15025
  }>, "strip", z.ZodTypeAny, {
@@ -13721,6 +15045,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13721
15045
  residentialArea?: string | null | undefined;
13722
15046
  street?: string | null | undefined;
13723
15047
  zipCode?: string | null | undefined;
15048
+ } | {
15049
+ firstname: string;
15050
+ surname: string;
15051
+ middlename?: string | null | undefined;
13724
15052
  } | {
13725
15053
  country: string;
13726
15054
  district: string;
@@ -13743,9 +15071,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13743
15071
  option: string;
13744
15072
  filename: string;
13745
15073
  originalFilename: string;
13746
- }[] | [string, string] | undefined>;
15074
+ }[] | [string, string] | null | undefined>;
13747
15075
  createdBySignature?: string | null | undefined;
13748
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
15076
+ createdAtLocation?: string | null | undefined;
13749
15077
  annotation?: Record<string, string | number | boolean | {
13750
15078
  type: string;
13751
15079
  filename: string;
@@ -13761,6 +15089,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13761
15089
  residentialArea?: string | null | undefined;
13762
15090
  street?: string | null | undefined;
13763
15091
  zipCode?: string | null | undefined;
15092
+ } | {
15093
+ firstname: string;
15094
+ surname: string;
15095
+ middlename?: string | null | undefined;
13764
15096
  } | {
13765
15097
  country: string;
13766
15098
  district: string;
@@ -13783,8 +15115,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13783
15115
  option: string;
13784
15116
  filename: string;
13785
15117
  originalFilename: string;
13786
- }[] | [string, string] | undefined> | null | undefined;
13787
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15118
+ }[] | [string, string] | null | undefined> | undefined;
15119
+ originalActionId?: string | undefined;
13788
15120
  }, {
13789
15121
  type: "PRINT_CERTIFICATE";
13790
15122
  id: string;
@@ -13808,6 +15140,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13808
15140
  residentialArea?: string | null | undefined;
13809
15141
  street?: string | null | undefined;
13810
15142
  zipCode?: string | null | undefined;
15143
+ } | {
15144
+ firstname: string;
15145
+ surname: string;
15146
+ middlename?: string | null | undefined;
13811
15147
  } | {
13812
15148
  country: string;
13813
15149
  district: string;
@@ -13830,7 +15166,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13830
15166
  option: string;
13831
15167
  filename: string;
13832
15168
  originalFilename: string;
13833
- }[] | [string, string] | undefined>;
15169
+ }[] | [string, string] | null | undefined>;
13834
15170
  createdBySignature?: string | null | undefined;
13835
15171
  createdAtLocation?: string | null | undefined;
13836
15172
  annotation?: Record<string, string | number | boolean | {
@@ -13848,6 +15184,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13848
15184
  residentialArea?: string | null | undefined;
13849
15185
  street?: string | null | undefined;
13850
15186
  zipCode?: string | null | undefined;
15187
+ } | {
15188
+ firstname: string;
15189
+ surname: string;
15190
+ middlename?: string | null | undefined;
13851
15191
  } | {
13852
15192
  country: string;
13853
15193
  district: string;
@@ -13870,8 +15210,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13870
15210
  option: string;
13871
15211
  filename: string;
13872
15212
  originalFilename: string;
13873
- }[] | [string, string] | undefined> | null | undefined;
13874
- originalActionId?: string | null | undefined;
15213
+ }[] | [string, string] | null | undefined> | undefined;
15214
+ originalActionId?: string | undefined;
13875
15215
  }>, z.ZodObject<z.objectUtil.extendShape<{
13876
15216
  id: z.ZodString;
13877
15217
  transactionId: z.ZodString;
@@ -13879,7 +15219,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13879
15219
  createdBy: z.ZodString;
13880
15220
  createdByRole: z.ZodString;
13881
15221
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13882
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
15222
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13883
15223
  declaration: 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<{
13884
15224
  filename: z.ZodString;
13885
15225
  originalFilename: z.ZodString;
@@ -13993,8 +15333,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13993
15333
  addressLine2?: string | null | undefined;
13994
15334
  addressLine3?: string | null | undefined;
13995
15335
  postcodeOrZip?: string | null | undefined;
13996
- }>]>>;
13997
- annotation: z.ZodNullable<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<{
15336
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15337
+ firstname: z.ZodString;
15338
+ surname: z.ZodString;
15339
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15340
+ }, "strip", z.ZodTypeAny, {
15341
+ firstname: string;
15342
+ surname: string;
15343
+ middlename?: string | null | undefined;
15344
+ }, {
15345
+ firstname: string;
15346
+ surname: string;
15347
+ middlename?: string | null | undefined;
15348
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
15349
+ 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<{
13998
15350
  filename: z.ZodString;
13999
15351
  originalFilename: z.ZodString;
14000
15352
  type: z.ZodString;
@@ -14107,9 +15459,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14107
15459
  addressLine2?: string | null | undefined;
14108
15460
  addressLine3?: string | null | undefined;
14109
15461
  postcodeOrZip?: string | null | undefined;
14110
- }>]>>>>;
15462
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15463
+ firstname: z.ZodString;
15464
+ surname: z.ZodString;
15465
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15466
+ }, "strip", z.ZodTypeAny, {
15467
+ firstname: string;
15468
+ surname: string;
15469
+ middlename?: string | null | undefined;
15470
+ }, {
15471
+ firstname: string;
15472
+ surname: string;
15473
+ middlename?: string | null | undefined;
15474
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14111
15475
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14112
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15476
+ originalActionId: z.ZodOptional<z.ZodString>;
14113
15477
  }, {
14114
15478
  type: z.ZodLiteral<"READ">;
14115
15479
  }>, "strip", z.ZodTypeAny, {
@@ -14135,6 +15499,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14135
15499
  residentialArea?: string | null | undefined;
14136
15500
  street?: string | null | undefined;
14137
15501
  zipCode?: string | null | undefined;
15502
+ } | {
15503
+ firstname: string;
15504
+ surname: string;
15505
+ middlename?: string | null | undefined;
14138
15506
  } | {
14139
15507
  country: string;
14140
15508
  district: string;
@@ -14157,9 +15525,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14157
15525
  option: string;
14158
15526
  filename: string;
14159
15527
  originalFilename: string;
14160
- }[] | [string, string] | undefined>;
15528
+ }[] | [string, string] | null | undefined>;
14161
15529
  createdBySignature?: string | null | undefined;
14162
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
15530
+ createdAtLocation?: string | null | undefined;
14163
15531
  annotation?: Record<string, string | number | boolean | {
14164
15532
  type: string;
14165
15533
  filename: string;
@@ -14175,6 +15543,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14175
15543
  residentialArea?: string | null | undefined;
14176
15544
  street?: string | null | undefined;
14177
15545
  zipCode?: string | null | undefined;
15546
+ } | {
15547
+ firstname: string;
15548
+ surname: string;
15549
+ middlename?: string | null | undefined;
14178
15550
  } | {
14179
15551
  country: string;
14180
15552
  district: string;
@@ -14197,8 +15569,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14197
15569
  option: string;
14198
15570
  filename: string;
14199
15571
  originalFilename: string;
14200
- }[] | [string, string] | undefined> | null | undefined;
14201
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15572
+ }[] | [string, string] | null | undefined> | undefined;
15573
+ originalActionId?: string | undefined;
14202
15574
  }, {
14203
15575
  type: "READ";
14204
15576
  id: string;
@@ -14222,6 +15594,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14222
15594
  residentialArea?: string | null | undefined;
14223
15595
  street?: string | null | undefined;
14224
15596
  zipCode?: string | null | undefined;
15597
+ } | {
15598
+ firstname: string;
15599
+ surname: string;
15600
+ middlename?: string | null | undefined;
14225
15601
  } | {
14226
15602
  country: string;
14227
15603
  district: string;
@@ -14244,7 +15620,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14244
15620
  option: string;
14245
15621
  filename: string;
14246
15622
  originalFilename: string;
14247
- }[] | [string, string] | undefined>;
15623
+ }[] | [string, string] | null | undefined>;
14248
15624
  createdBySignature?: string | null | undefined;
14249
15625
  createdAtLocation?: string | null | undefined;
14250
15626
  annotation?: Record<string, string | number | boolean | {
@@ -14262,6 +15638,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14262
15638
  residentialArea?: string | null | undefined;
14263
15639
  street?: string | null | undefined;
14264
15640
  zipCode?: string | null | undefined;
15641
+ } | {
15642
+ firstname: string;
15643
+ surname: string;
15644
+ middlename?: string | null | undefined;
14265
15645
  } | {
14266
15646
  country: string;
14267
15647
  district: string;
@@ -14284,8 +15664,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14284
15664
  option: string;
14285
15665
  filename: string;
14286
15666
  originalFilename: string;
14287
- }[] | [string, string] | undefined> | null | undefined;
14288
- originalActionId?: string | null | undefined;
15667
+ }[] | [string, string] | null | undefined> | undefined;
15668
+ originalActionId?: string | undefined;
14289
15669
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14290
15670
  id: z.ZodString;
14291
15671
  transactionId: z.ZodString;
@@ -14293,7 +15673,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14293
15673
  createdBy: z.ZodString;
14294
15674
  createdByRole: z.ZodString;
14295
15675
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14296
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
15676
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14297
15677
  declaration: 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<{
14298
15678
  filename: z.ZodString;
14299
15679
  originalFilename: z.ZodString;
@@ -14407,8 +15787,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14407
15787
  addressLine2?: string | null | undefined;
14408
15788
  addressLine3?: string | null | undefined;
14409
15789
  postcodeOrZip?: string | null | undefined;
14410
- }>]>>;
14411
- annotation: z.ZodNullable<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<{
15790
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15791
+ firstname: z.ZodString;
15792
+ surname: z.ZodString;
15793
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15794
+ }, "strip", z.ZodTypeAny, {
15795
+ firstname: string;
15796
+ surname: string;
15797
+ middlename?: string | null | undefined;
15798
+ }, {
15799
+ firstname: string;
15800
+ surname: string;
15801
+ middlename?: string | null | undefined;
15802
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
15803
+ 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<{
14412
15804
  filename: z.ZodString;
14413
15805
  originalFilename: z.ZodString;
14414
15806
  type: z.ZodString;
@@ -14521,9 +15913,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14521
15913
  addressLine2?: string | null | undefined;
14522
15914
  addressLine3?: string | null | undefined;
14523
15915
  postcodeOrZip?: string | null | undefined;
14524
- }>]>>>>;
15916
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15917
+ firstname: z.ZodString;
15918
+ surname: z.ZodString;
15919
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15920
+ }, "strip", z.ZodTypeAny, {
15921
+ firstname: string;
15922
+ surname: string;
15923
+ middlename?: string | null | undefined;
15924
+ }, {
15925
+ firstname: string;
15926
+ surname: string;
15927
+ middlename?: string | null | undefined;
15928
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14525
15929
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14526
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15930
+ originalActionId: z.ZodOptional<z.ZodString>;
14527
15931
  }, "declaration" | "annotation">, {
14528
15932
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
14529
15933
  status: z.ZodLiteral<"Rejected">;
@@ -14536,8 +15940,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14536
15940
  createdBy: string;
14537
15941
  createdByRole: string;
14538
15942
  createdBySignature?: string | null | undefined;
14539
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14540
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15943
+ createdAtLocation?: string | null | undefined;
15944
+ originalActionId?: string | undefined;
14541
15945
  }, {
14542
15946
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14543
15947
  id: string;
@@ -14548,7 +15952,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14548
15952
  createdByRole: string;
14549
15953
  createdBySignature?: string | null | undefined;
14550
15954
  createdAtLocation?: string | null | undefined;
14551
- originalActionId?: string | null | undefined;
15955
+ originalActionId?: string | undefined;
14552
15956
  }>]>;
14553
15957
  export type Action = ActionDocument | AsyncRejectActionDocument;
14554
15958
  export declare const ResolvedUser: z.ZodObject<{