@opencrvs/toolkit 1.8.0-rc.fd754eb → 1.8.0-rc.fd8a78f

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 (42) hide show
  1. package/dist/commons/api/router.d.ts +15318 -5028
  2. package/dist/commons/conditionals/conditionals.d.ts +8 -3
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +56387 -29043
  5. package/dist/commons/events/ActionDocument.d.ts +1900 -309
  6. package/dist/commons/events/ActionInput.d.ts +1455 -183
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +675 -12
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  13. package/dist/commons/events/Draft.d.ts +122 -21
  14. package/dist/commons/events/EventConfig.d.ts +27593 -14046
  15. package/dist/commons/events/EventDocument.d.ts +1228 -245
  16. package/dist/commons/events/EventIndex.d.ts +585 -353
  17. package/dist/commons/events/EventInput.d.ts +0 -13
  18. package/dist/commons/events/EventMetadata.d.ts +70 -76
  19. package/dist/commons/events/FieldConfig.d.ts +2500 -1111
  20. package/dist/commons/events/FieldType.d.ts +4 -1
  21. package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
  22. package/dist/commons/events/FieldValue.d.ts +43 -5
  23. package/dist/commons/events/FormConfig.d.ts +18485 -9821
  24. package/dist/commons/events/PageConfig.d.ts +3600 -1472
  25. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  26. package/dist/commons/events/User.d.ts +31 -7
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  28. package/dist/commons/events/WorkqueueConfig.d.ts +4205 -538
  29. package/dist/commons/events/defineConfig.d.ts +2639 -635
  30. package/dist/commons/events/event.d.ts +37 -10
  31. package/dist/commons/events/field.d.ts +26 -17
  32. package/dist/commons/events/index.d.ts +5 -0
  33. package/dist/commons/events/scopes.d.ts +20 -1
  34. package/dist/commons/events/serializer.d.ts +2 -0
  35. package/dist/commons/events/test.utils.d.ts +147 -41
  36. package/dist/commons/events/utils.d.ts +10110 -309
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +45 -8
  39. package/dist/events/index.js +2708 -1100
  40. package/dist/scopes/index.d.ts +94 -6
  41. package/dist/scopes/index.js +42 -21
  42. 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";
@@ -247,6 +283,8 @@ export declare const ActionBase: z.ZodObject<{
247
283
  createdAt: z.ZodString;
248
284
  createdBy: z.ZodString;
249
285
  createdByRole: z.ZodString;
286
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
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<{
251
289
  filename: z.ZodString;
252
290
  originalFilename: z.ZodString;
@@ -360,7 +398,19 @@ export declare const ActionBase: z.ZodObject<{
360
398
  addressLine2?: string | null | undefined;
361
399
  addressLine3?: string | null | undefined;
362
400
  postcodeOrZip?: string | null | undefined;
363
- }>]>>;
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]>]>>;
364
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<{
365
415
  filename: z.ZodString;
366
416
  originalFilename: z.ZodString;
@@ -474,8 +524,19 @@ export declare const ActionBase: z.ZodObject<{
474
524
  addressLine2?: string | null | undefined;
475
525
  addressLine3?: string | null | undefined;
476
526
  postcodeOrZip?: string | null | undefined;
477
- }>]>>>;
478
- createdAtLocation: z.ZodString;
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]>]>>>;
479
540
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
480
541
  originalActionId: z.ZodOptional<z.ZodString>;
481
542
  }, "strip", z.ZodTypeAny, {
@@ -500,6 +561,10 @@ export declare const ActionBase: z.ZodObject<{
500
561
  residentialArea?: string | null | undefined;
501
562
  street?: string | null | undefined;
502
563
  zipCode?: string | null | undefined;
564
+ } | {
565
+ firstname: string;
566
+ surname: string;
567
+ middlename?: string | null | undefined;
503
568
  } | {
504
569
  country: string;
505
570
  district: string;
@@ -522,8 +587,9 @@ export declare const ActionBase: z.ZodObject<{
522
587
  option: string;
523
588
  filename: string;
524
589
  originalFilename: string;
525
- }[] | [string, string] | undefined>;
526
- createdAtLocation: string;
590
+ }[] | [string, string] | null | undefined>;
591
+ createdBySignature?: string | null | undefined;
592
+ createdAtLocation?: string | null | undefined;
527
593
  annotation?: Record<string, string | number | boolean | {
528
594
  type: string;
529
595
  filename: string;
@@ -539,6 +605,10 @@ export declare const ActionBase: z.ZodObject<{
539
605
  residentialArea?: string | null | undefined;
540
606
  street?: string | null | undefined;
541
607
  zipCode?: string | null | undefined;
608
+ } | {
609
+ firstname: string;
610
+ surname: string;
611
+ middlename?: string | null | undefined;
542
612
  } | {
543
613
  country: string;
544
614
  district: string;
@@ -561,7 +631,7 @@ export declare const ActionBase: z.ZodObject<{
561
631
  option: string;
562
632
  filename: string;
563
633
  originalFilename: string;
564
- }[] | [string, string] | undefined> | undefined;
634
+ }[] | [string, string] | null | undefined> | undefined;
565
635
  originalActionId?: string | undefined;
566
636
  }, {
567
637
  id: string;
@@ -585,6 +655,10 @@ export declare const ActionBase: z.ZodObject<{
585
655
  residentialArea?: string | null | undefined;
586
656
  street?: string | null | undefined;
587
657
  zipCode?: string | null | undefined;
658
+ } | {
659
+ firstname: string;
660
+ surname: string;
661
+ middlename?: string | null | undefined;
588
662
  } | {
589
663
  country: string;
590
664
  district: string;
@@ -607,8 +681,9 @@ export declare const ActionBase: z.ZodObject<{
607
681
  option: string;
608
682
  filename: string;
609
683
  originalFilename: string;
610
- }[] | [string, string] | undefined>;
611
- createdAtLocation: string;
684
+ }[] | [string, string] | null | undefined>;
685
+ createdBySignature?: string | null | undefined;
686
+ createdAtLocation?: string | null | undefined;
612
687
  annotation?: Record<string, string | number | boolean | {
613
688
  type: string;
614
689
  filename: string;
@@ -624,6 +699,10 @@ export declare const ActionBase: z.ZodObject<{
624
699
  residentialArea?: string | null | undefined;
625
700
  street?: string | null | undefined;
626
701
  zipCode?: string | null | undefined;
702
+ } | {
703
+ firstname: string;
704
+ surname: string;
705
+ middlename?: string | null | undefined;
627
706
  } | {
628
707
  country: string;
629
708
  district: string;
@@ -646,7 +725,7 @@ export declare const ActionBase: z.ZodObject<{
646
725
  option: string;
647
726
  filename: string;
648
727
  originalFilename: string;
649
- }[] | [string, string] | undefined> | undefined;
728
+ }[] | [string, string] | null | undefined> | undefined;
650
729
  originalActionId?: string | undefined;
651
730
  }>;
652
731
  export type ActionBase = z.infer<typeof ActionBase>;
@@ -656,6 +735,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
656
735
  createdAt: z.ZodString;
657
736
  createdBy: z.ZodString;
658
737
  createdByRole: z.ZodString;
738
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
739
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
659
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<{
660
741
  filename: z.ZodString;
661
742
  originalFilename: z.ZodString;
@@ -769,7 +850,19 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
769
850
  addressLine2?: string | null | undefined;
770
851
  addressLine3?: string | null | undefined;
771
852
  postcodeOrZip?: string | null | undefined;
772
- }>]>>;
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]>]>>;
773
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<{
774
867
  filename: z.ZodString;
775
868
  originalFilename: z.ZodString;
@@ -883,8 +976,19 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
883
976
  addressLine2?: string | null | undefined;
884
977
  addressLine3?: string | null | undefined;
885
978
  postcodeOrZip?: string | null | undefined;
886
- }>]>>>;
887
- createdAtLocation: z.ZodString;
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]>]>>>;
888
992
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
889
993
  originalActionId: z.ZodOptional<z.ZodString>;
890
994
  }, {
@@ -913,6 +1017,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
913
1017
  residentialArea?: string | null | undefined;
914
1018
  street?: string | null | undefined;
915
1019
  zipCode?: string | null | undefined;
1020
+ } | {
1021
+ firstname: string;
1022
+ surname: string;
1023
+ middlename?: string | null | undefined;
916
1024
  } | {
917
1025
  country: string;
918
1026
  district: string;
@@ -935,8 +1043,9 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
935
1043
  option: string;
936
1044
  filename: string;
937
1045
  originalFilename: string;
938
- }[] | [string, string] | undefined>;
939
- createdAtLocation: string;
1046
+ }[] | [string, string] | null | undefined>;
1047
+ createdBySignature?: string | null | undefined;
1048
+ createdAtLocation?: string | null | undefined;
940
1049
  annotation?: Record<string, string | number | boolean | {
941
1050
  type: string;
942
1051
  filename: string;
@@ -952,6 +1061,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
952
1061
  residentialArea?: string | null | undefined;
953
1062
  street?: string | null | undefined;
954
1063
  zipCode?: string | null | undefined;
1064
+ } | {
1065
+ firstname: string;
1066
+ surname: string;
1067
+ middlename?: string | null | undefined;
955
1068
  } | {
956
1069
  country: string;
957
1070
  district: string;
@@ -974,7 +1087,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
974
1087
  option: string;
975
1088
  filename: string;
976
1089
  originalFilename: string;
977
- }[] | [string, string] | undefined> | undefined;
1090
+ }[] | [string, string] | null | undefined> | undefined;
978
1091
  originalActionId?: string | undefined;
979
1092
  registrationNumber?: string | undefined;
980
1093
  }, {
@@ -1000,6 +1113,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1000
1113
  residentialArea?: string | null | undefined;
1001
1114
  street?: string | null | undefined;
1002
1115
  zipCode?: string | null | undefined;
1116
+ } | {
1117
+ firstname: string;
1118
+ surname: string;
1119
+ middlename?: string | null | undefined;
1003
1120
  } | {
1004
1121
  country: string;
1005
1122
  district: string;
@@ -1022,8 +1139,9 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1022
1139
  option: string;
1023
1140
  filename: string;
1024
1141
  originalFilename: string;
1025
- }[] | [string, string] | undefined>;
1026
- createdAtLocation: string;
1142
+ }[] | [string, string] | null | undefined>;
1143
+ createdBySignature?: string | null | undefined;
1144
+ createdAtLocation?: string | null | undefined;
1027
1145
  annotation?: Record<string, string | number | boolean | {
1028
1146
  type: string;
1029
1147
  filename: string;
@@ -1039,6 +1157,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1039
1157
  residentialArea?: string | null | undefined;
1040
1158
  street?: string | null | undefined;
1041
1159
  zipCode?: string | null | undefined;
1160
+ } | {
1161
+ firstname: string;
1162
+ surname: string;
1163
+ middlename?: string | null | undefined;
1042
1164
  } | {
1043
1165
  country: string;
1044
1166
  district: string;
@@ -1061,17 +1183,29 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1061
1183
  option: string;
1062
1184
  filename: string;
1063
1185
  originalFilename: string;
1064
- }[] | [string, string] | undefined> | undefined;
1186
+ }[] | [string, string] | null | undefined> | undefined;
1065
1187
  originalActionId?: string | undefined;
1066
1188
  registrationNumber?: string | undefined;
1067
1189
  }>;
1068
1190
  export type RegisterAction = z.infer<typeof RegisterAction>;
1191
+ export declare const RejectionReason: z.ZodObject<{
1192
+ message: z.ZodString;
1193
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ message: string;
1196
+ isDuplicate?: boolean | undefined;
1197
+ }, {
1198
+ message: string;
1199
+ isDuplicate?: boolean | undefined;
1200
+ }>;
1069
1201
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1070
1202
  id: z.ZodString;
1071
1203
  transactionId: z.ZodString;
1072
1204
  createdAt: z.ZodString;
1073
1205
  createdBy: z.ZodString;
1074
1206
  createdByRole: z.ZodString;
1207
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1208
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
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<{
1076
1210
  filename: z.ZodString;
1077
1211
  originalFilename: z.ZodString;
@@ -1185,7 +1319,19 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1185
1319
  addressLine2?: string | null | undefined;
1186
1320
  addressLine3?: string | null | undefined;
1187
1321
  postcodeOrZip?: string | null | undefined;
1188
- }>]>>;
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]>]>>;
1189
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<{
1190
1336
  filename: z.ZodString;
1191
1337
  originalFilename: z.ZodString;
@@ -1299,8 +1445,19 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1299
1445
  addressLine2?: string | null | undefined;
1300
1446
  addressLine3?: string | null | undefined;
1301
1447
  postcodeOrZip?: string | null | undefined;
1302
- }>]>>>;
1303
- createdAtLocation: z.ZodString;
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]>]>>>;
1304
1461
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1305
1462
  originalActionId: z.ZodOptional<z.ZodString>;
1306
1463
  }, {
@@ -1328,6 +1485,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1328
1485
  residentialArea?: string | null | undefined;
1329
1486
  street?: string | null | undefined;
1330
1487
  zipCode?: string | null | undefined;
1488
+ } | {
1489
+ firstname: string;
1490
+ surname: string;
1491
+ middlename?: string | null | undefined;
1331
1492
  } | {
1332
1493
  country: string;
1333
1494
  district: string;
@@ -1350,8 +1511,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1350
1511
  option: string;
1351
1512
  filename: string;
1352
1513
  originalFilename: string;
1353
- }[] | [string, string] | undefined>;
1354
- createdAtLocation: string;
1514
+ }[] | [string, string] | null | undefined>;
1515
+ createdBySignature?: string | null | undefined;
1516
+ createdAtLocation?: string | null | undefined;
1355
1517
  annotation?: Record<string, string | number | boolean | {
1356
1518
  type: string;
1357
1519
  filename: string;
@@ -1367,6 +1529,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1367
1529
  residentialArea?: string | null | undefined;
1368
1530
  street?: string | null | undefined;
1369
1531
  zipCode?: string | null | undefined;
1532
+ } | {
1533
+ firstname: string;
1534
+ surname: string;
1535
+ middlename?: string | null | undefined;
1370
1536
  } | {
1371
1537
  country: string;
1372
1538
  district: string;
@@ -1389,7 +1555,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1389
1555
  option: string;
1390
1556
  filename: string;
1391
1557
  originalFilename: string;
1392
- }[] | [string, string] | undefined> | undefined;
1558
+ }[] | [string, string] | null | undefined> | undefined;
1393
1559
  originalActionId?: string | undefined;
1394
1560
  }, {
1395
1561
  type: "CREATE";
@@ -1414,6 +1580,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1414
1580
  residentialArea?: string | null | undefined;
1415
1581
  street?: string | null | undefined;
1416
1582
  zipCode?: string | null | undefined;
1583
+ } | {
1584
+ firstname: string;
1585
+ surname: string;
1586
+ middlename?: string | null | undefined;
1417
1587
  } | {
1418
1588
  country: string;
1419
1589
  district: string;
@@ -1436,8 +1606,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1436
1606
  option: string;
1437
1607
  filename: string;
1438
1608
  originalFilename: string;
1439
- }[] | [string, string] | undefined>;
1440
- createdAtLocation: string;
1609
+ }[] | [string, string] | null | undefined>;
1610
+ createdBySignature?: string | null | undefined;
1611
+ createdAtLocation?: string | null | undefined;
1441
1612
  annotation?: Record<string, string | number | boolean | {
1442
1613
  type: string;
1443
1614
  filename: string;
@@ -1453,6 +1624,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1453
1624
  residentialArea?: string | null | undefined;
1454
1625
  street?: string | null | undefined;
1455
1626
  zipCode?: string | null | undefined;
1627
+ } | {
1628
+ firstname: string;
1629
+ surname: string;
1630
+ middlename?: string | null | undefined;
1456
1631
  } | {
1457
1632
  country: string;
1458
1633
  district: string;
@@ -1475,7 +1650,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1475
1650
  option: string;
1476
1651
  filename: string;
1477
1652
  originalFilename: string;
1478
- }[] | [string, string] | undefined> | undefined;
1653
+ }[] | [string, string] | null | undefined> | undefined;
1479
1654
  originalActionId?: string | undefined;
1480
1655
  }>;
1481
1656
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
@@ -1484,6 +1659,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1484
1659
  createdAt: z.ZodString;
1485
1660
  createdBy: z.ZodString;
1486
1661
  createdByRole: z.ZodString;
1662
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1663
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1487
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<{
1488
1665
  filename: z.ZodString;
1489
1666
  originalFilename: z.ZodString;
@@ -1597,7 +1774,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1597
1774
  addressLine2?: string | null | undefined;
1598
1775
  addressLine3?: string | null | undefined;
1599
1776
  postcodeOrZip?: string | null | undefined;
1600
- }>]>>;
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]>]>>;
1601
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<{
1602
1791
  filename: z.ZodString;
1603
1792
  originalFilename: z.ZodString;
@@ -1711,8 +1900,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1711
1900
  addressLine2?: string | null | undefined;
1712
1901
  addressLine3?: string | null | undefined;
1713
1902
  postcodeOrZip?: string | null | undefined;
1714
- }>]>>>;
1715
- createdAtLocation: z.ZodString;
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]>]>>>;
1716
1916
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1717
1917
  originalActionId: z.ZodOptional<z.ZodString>;
1718
1918
  }, {
@@ -1740,6 +1940,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1740
1940
  residentialArea?: string | null | undefined;
1741
1941
  street?: string | null | undefined;
1742
1942
  zipCode?: string | null | undefined;
1943
+ } | {
1944
+ firstname: string;
1945
+ surname: string;
1946
+ middlename?: string | null | undefined;
1743
1947
  } | {
1744
1948
  country: string;
1745
1949
  district: string;
@@ -1762,8 +1966,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1762
1966
  option: string;
1763
1967
  filename: string;
1764
1968
  originalFilename: string;
1765
- }[] | [string, string] | undefined>;
1766
- createdAtLocation: string;
1969
+ }[] | [string, string] | null | undefined>;
1970
+ createdBySignature?: string | null | undefined;
1971
+ createdAtLocation?: string | null | undefined;
1767
1972
  annotation?: Record<string, string | number | boolean | {
1768
1973
  type: string;
1769
1974
  filename: string;
@@ -1779,6 +1984,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1779
1984
  residentialArea?: string | null | undefined;
1780
1985
  street?: string | null | undefined;
1781
1986
  zipCode?: string | null | undefined;
1987
+ } | {
1988
+ firstname: string;
1989
+ surname: string;
1990
+ middlename?: string | null | undefined;
1782
1991
  } | {
1783
1992
  country: string;
1784
1993
  district: string;
@@ -1801,7 +2010,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1801
2010
  option: string;
1802
2011
  filename: string;
1803
2012
  originalFilename: string;
1804
- }[] | [string, string] | undefined> | undefined;
2013
+ }[] | [string, string] | null | undefined> | undefined;
1805
2014
  originalActionId?: string | undefined;
1806
2015
  }, {
1807
2016
  type: "CREATE";
@@ -1826,6 +2035,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1826
2035
  residentialArea?: string | null | undefined;
1827
2036
  street?: string | null | undefined;
1828
2037
  zipCode?: string | null | undefined;
2038
+ } | {
2039
+ firstname: string;
2040
+ surname: string;
2041
+ middlename?: string | null | undefined;
1829
2042
  } | {
1830
2043
  country: string;
1831
2044
  district: string;
@@ -1848,8 +2061,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1848
2061
  option: string;
1849
2062
  filename: string;
1850
2063
  originalFilename: string;
1851
- }[] | [string, string] | undefined>;
1852
- createdAtLocation: string;
2064
+ }[] | [string, string] | null | undefined>;
2065
+ createdBySignature?: string | null | undefined;
2066
+ createdAtLocation?: string | null | undefined;
1853
2067
  annotation?: Record<string, string | number | boolean | {
1854
2068
  type: string;
1855
2069
  filename: string;
@@ -1865,6 +2079,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1865
2079
  residentialArea?: string | null | undefined;
1866
2080
  street?: string | null | undefined;
1867
2081
  zipCode?: string | null | undefined;
2082
+ } | {
2083
+ firstname: string;
2084
+ surname: string;
2085
+ middlename?: string | null | undefined;
1868
2086
  } | {
1869
2087
  country: string;
1870
2088
  district: string;
@@ -1887,7 +2105,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1887
2105
  option: string;
1888
2106
  filename: string;
1889
2107
  originalFilename: string;
1890
- }[] | [string, string] | undefined> | undefined;
2108
+ }[] | [string, string] | null | undefined> | undefined;
1891
2109
  originalActionId?: string | undefined;
1892
2110
  }>, z.ZodObject<z.objectUtil.extendShape<{
1893
2111
  id: z.ZodString;
@@ -1895,6 +2113,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1895
2113
  createdAt: z.ZodString;
1896
2114
  createdBy: z.ZodString;
1897
2115
  createdByRole: z.ZodString;
2116
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2117
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1898
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<{
1899
2119
  filename: z.ZodString;
1900
2120
  originalFilename: z.ZodString;
@@ -2008,7 +2228,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2008
2228
  addressLine2?: string | null | undefined;
2009
2229
  addressLine3?: string | null | undefined;
2010
2230
  postcodeOrZip?: string | null | undefined;
2011
- }>]>>;
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]>]>>;
2012
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<{
2013
2245
  filename: z.ZodString;
2014
2246
  originalFilename: z.ZodString;
@@ -2122,8 +2354,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2122
2354
  addressLine2?: string | null | undefined;
2123
2355
  addressLine3?: string | null | undefined;
2124
2356
  postcodeOrZip?: string | null | undefined;
2125
- }>]>>>;
2126
- createdAtLocation: z.ZodString;
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]>]>>>;
2127
2370
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2128
2371
  originalActionId: z.ZodOptional<z.ZodString>;
2129
2372
  }, {
@@ -2151,6 +2394,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2151
2394
  residentialArea?: string | null | undefined;
2152
2395
  street?: string | null | undefined;
2153
2396
  zipCode?: string | null | undefined;
2397
+ } | {
2398
+ firstname: string;
2399
+ surname: string;
2400
+ middlename?: string | null | undefined;
2154
2401
  } | {
2155
2402
  country: string;
2156
2403
  district: string;
@@ -2173,8 +2420,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2173
2420
  option: string;
2174
2421
  filename: string;
2175
2422
  originalFilename: string;
2176
- }[] | [string, string] | undefined>;
2177
- createdAtLocation: string;
2423
+ }[] | [string, string] | null | undefined>;
2424
+ createdBySignature?: string | null | undefined;
2425
+ createdAtLocation?: string | null | undefined;
2178
2426
  annotation?: Record<string, string | number | boolean | {
2179
2427
  type: string;
2180
2428
  filename: string;
@@ -2190,6 +2438,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2190
2438
  residentialArea?: string | null | undefined;
2191
2439
  street?: string | null | undefined;
2192
2440
  zipCode?: string | null | undefined;
2441
+ } | {
2442
+ firstname: string;
2443
+ surname: string;
2444
+ middlename?: string | null | undefined;
2193
2445
  } | {
2194
2446
  country: string;
2195
2447
  district: string;
@@ -2212,7 +2464,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2212
2464
  option: string;
2213
2465
  filename: string;
2214
2466
  originalFilename: string;
2215
- }[] | [string, string] | undefined> | undefined;
2467
+ }[] | [string, string] | null | undefined> | undefined;
2216
2468
  originalActionId?: string | undefined;
2217
2469
  }, {
2218
2470
  type: "VALIDATE";
@@ -2237,6 +2489,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2237
2489
  residentialArea?: string | null | undefined;
2238
2490
  street?: string | null | undefined;
2239
2491
  zipCode?: string | null | undefined;
2492
+ } | {
2493
+ firstname: string;
2494
+ surname: string;
2495
+ middlename?: string | null | undefined;
2240
2496
  } | {
2241
2497
  country: string;
2242
2498
  district: string;
@@ -2259,8 +2515,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2259
2515
  option: string;
2260
2516
  filename: string;
2261
2517
  originalFilename: string;
2262
- }[] | [string, string] | undefined>;
2263
- createdAtLocation: string;
2518
+ }[] | [string, string] | null | undefined>;
2519
+ createdBySignature?: string | null | undefined;
2520
+ createdAtLocation?: string | null | undefined;
2264
2521
  annotation?: Record<string, string | number | boolean | {
2265
2522
  type: string;
2266
2523
  filename: string;
@@ -2276,6 +2533,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2276
2533
  residentialArea?: string | null | undefined;
2277
2534
  street?: string | null | undefined;
2278
2535
  zipCode?: string | null | undefined;
2536
+ } | {
2537
+ firstname: string;
2538
+ surname: string;
2539
+ middlename?: string | null | undefined;
2279
2540
  } | {
2280
2541
  country: string;
2281
2542
  district: string;
@@ -2298,7 +2559,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2298
2559
  option: string;
2299
2560
  filename: string;
2300
2561
  originalFilename: string;
2301
- }[] | [string, string] | undefined> | undefined;
2562
+ }[] | [string, string] | null | undefined> | undefined;
2302
2563
  originalActionId?: string | undefined;
2303
2564
  }>, z.ZodObject<z.objectUtil.extendShape<{
2304
2565
  id: z.ZodString;
@@ -2306,6 +2567,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2306
2567
  createdAt: z.ZodString;
2307
2568
  createdBy: z.ZodString;
2308
2569
  createdByRole: z.ZodString;
2570
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2571
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2309
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<{
2310
2573
  filename: z.ZodString;
2311
2574
  originalFilename: z.ZodString;
@@ -2419,7 +2682,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2419
2682
  addressLine2?: string | null | undefined;
2420
2683
  addressLine3?: string | null | undefined;
2421
2684
  postcodeOrZip?: string | null | undefined;
2422
- }>]>>;
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]>]>>;
2423
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<{
2424
2699
  filename: z.ZodString;
2425
2700
  originalFilename: z.ZodString;
@@ -2533,16 +2808,41 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2533
2808
  addressLine2?: string | null | undefined;
2534
2809
  addressLine3?: string | null | undefined;
2535
2810
  postcodeOrZip?: string | null | undefined;
2536
- }>]>>>;
2537
- createdAtLocation: z.ZodString;
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]>]>>>;
2538
2824
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2539
2825
  originalActionId: z.ZodOptional<z.ZodString>;
2540
2826
  }, {
2541
2827
  type: z.ZodLiteral<"REJECT">;
2828
+ reason: z.ZodObject<{
2829
+ message: z.ZodString;
2830
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2831
+ }, "strip", z.ZodTypeAny, {
2832
+ message: string;
2833
+ isDuplicate?: boolean | undefined;
2834
+ }, {
2835
+ message: string;
2836
+ isDuplicate?: boolean | undefined;
2837
+ }>;
2542
2838
  }>, "strip", z.ZodTypeAny, {
2543
2839
  type: "REJECT";
2544
2840
  id: string;
2545
2841
  status: "Rejected" | "Requested" | "Accepted";
2842
+ reason: {
2843
+ message: string;
2844
+ isDuplicate?: boolean | undefined;
2845
+ };
2546
2846
  transactionId: string;
2547
2847
  createdAt: string;
2548
2848
  createdBy: string;
@@ -2562,6 +2862,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2562
2862
  residentialArea?: string | null | undefined;
2563
2863
  street?: string | null | undefined;
2564
2864
  zipCode?: string | null | undefined;
2865
+ } | {
2866
+ firstname: string;
2867
+ surname: string;
2868
+ middlename?: string | null | undefined;
2565
2869
  } | {
2566
2870
  country: string;
2567
2871
  district: string;
@@ -2584,8 +2888,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2584
2888
  option: string;
2585
2889
  filename: string;
2586
2890
  originalFilename: string;
2587
- }[] | [string, string] | undefined>;
2588
- createdAtLocation: string;
2891
+ }[] | [string, string] | null | undefined>;
2892
+ createdBySignature?: string | null | undefined;
2893
+ createdAtLocation?: string | null | undefined;
2589
2894
  annotation?: Record<string, string | number | boolean | {
2590
2895
  type: string;
2591
2896
  filename: string;
@@ -2601,6 +2906,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2601
2906
  residentialArea?: string | null | undefined;
2602
2907
  street?: string | null | undefined;
2603
2908
  zipCode?: string | null | undefined;
2909
+ } | {
2910
+ firstname: string;
2911
+ surname: string;
2912
+ middlename?: string | null | undefined;
2604
2913
  } | {
2605
2914
  country: string;
2606
2915
  district: string;
@@ -2623,12 +2932,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2623
2932
  option: string;
2624
2933
  filename: string;
2625
2934
  originalFilename: string;
2626
- }[] | [string, string] | undefined> | undefined;
2935
+ }[] | [string, string] | null | undefined> | undefined;
2627
2936
  originalActionId?: string | undefined;
2628
2937
  }, {
2629
2938
  type: "REJECT";
2630
2939
  id: string;
2631
2940
  status: "Rejected" | "Requested" | "Accepted";
2941
+ reason: {
2942
+ message: string;
2943
+ isDuplicate?: boolean | undefined;
2944
+ };
2632
2945
  transactionId: string;
2633
2946
  createdAt: string;
2634
2947
  createdBy: string;
@@ -2648,6 +2961,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2648
2961
  residentialArea?: string | null | undefined;
2649
2962
  street?: string | null | undefined;
2650
2963
  zipCode?: string | null | undefined;
2964
+ } | {
2965
+ firstname: string;
2966
+ surname: string;
2967
+ middlename?: string | null | undefined;
2651
2968
  } | {
2652
2969
  country: string;
2653
2970
  district: string;
@@ -2670,8 +2987,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2670
2987
  option: string;
2671
2988
  filename: string;
2672
2989
  originalFilename: string;
2673
- }[] | [string, string] | undefined>;
2674
- createdAtLocation: string;
2990
+ }[] | [string, string] | null | undefined>;
2991
+ createdBySignature?: string | null | undefined;
2992
+ createdAtLocation?: string | null | undefined;
2675
2993
  annotation?: Record<string, string | number | boolean | {
2676
2994
  type: string;
2677
2995
  filename: string;
@@ -2687,6 +3005,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2687
3005
  residentialArea?: string | null | undefined;
2688
3006
  street?: string | null | undefined;
2689
3007
  zipCode?: string | null | undefined;
3008
+ } | {
3009
+ firstname: string;
3010
+ surname: string;
3011
+ middlename?: string | null | undefined;
2690
3012
  } | {
2691
3013
  country: string;
2692
3014
  district: string;
@@ -2709,7 +3031,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2709
3031
  option: string;
2710
3032
  filename: string;
2711
3033
  originalFilename: string;
2712
- }[] | [string, string] | undefined> | undefined;
3034
+ }[] | [string, string] | null | undefined> | undefined;
2713
3035
  originalActionId?: string | undefined;
2714
3036
  }>, z.ZodObject<z.objectUtil.extendShape<{
2715
3037
  id: z.ZodString;
@@ -2717,6 +3039,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2717
3039
  createdAt: z.ZodString;
2718
3040
  createdBy: z.ZodString;
2719
3041
  createdByRole: z.ZodString;
3042
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3043
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2720
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<{
2721
3045
  filename: z.ZodString;
2722
3046
  originalFilename: z.ZodString;
@@ -2830,7 +3154,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2830
3154
  addressLine2?: string | null | undefined;
2831
3155
  addressLine3?: string | null | undefined;
2832
3156
  postcodeOrZip?: string | null | undefined;
2833
- }>]>>;
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]>]>>;
2834
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<{
2835
3171
  filename: z.ZodString;
2836
3172
  originalFilename: z.ZodString;
@@ -2944,8 +3280,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2944
3280
  addressLine2?: string | null | undefined;
2945
3281
  addressLine3?: string | null | undefined;
2946
3282
  postcodeOrZip?: string | null | undefined;
2947
- }>]>>>;
2948
- createdAtLocation: z.ZodString;
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]>]>>>;
2949
3296
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2950
3297
  originalActionId: z.ZodOptional<z.ZodString>;
2951
3298
  }, {
@@ -2973,6 +3320,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2973
3320
  residentialArea?: string | null | undefined;
2974
3321
  street?: string | null | undefined;
2975
3322
  zipCode?: string | null | undefined;
3323
+ } | {
3324
+ firstname: string;
3325
+ surname: string;
3326
+ middlename?: string | null | undefined;
2976
3327
  } | {
2977
3328
  country: string;
2978
3329
  district: string;
@@ -2995,8 +3346,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2995
3346
  option: string;
2996
3347
  filename: string;
2997
3348
  originalFilename: string;
2998
- }[] | [string, string] | undefined>;
2999
- createdAtLocation: string;
3349
+ }[] | [string, string] | null | undefined>;
3350
+ createdBySignature?: string | null | undefined;
3351
+ createdAtLocation?: string | null | undefined;
3000
3352
  annotation?: Record<string, string | number | boolean | {
3001
3353
  type: string;
3002
3354
  filename: string;
@@ -3012,6 +3364,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3012
3364
  residentialArea?: string | null | undefined;
3013
3365
  street?: string | null | undefined;
3014
3366
  zipCode?: string | null | undefined;
3367
+ } | {
3368
+ firstname: string;
3369
+ surname: string;
3370
+ middlename?: string | null | undefined;
3015
3371
  } | {
3016
3372
  country: string;
3017
3373
  district: string;
@@ -3034,7 +3390,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3034
3390
  option: string;
3035
3391
  filename: string;
3036
3392
  originalFilename: string;
3037
- }[] | [string, string] | undefined> | undefined;
3393
+ }[] | [string, string] | null | undefined> | undefined;
3038
3394
  originalActionId?: string | undefined;
3039
3395
  }, {
3040
3396
  type: "MARKED_AS_DUPLICATE";
@@ -3059,6 +3415,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3059
3415
  residentialArea?: string | null | undefined;
3060
3416
  street?: string | null | undefined;
3061
3417
  zipCode?: string | null | undefined;
3418
+ } | {
3419
+ firstname: string;
3420
+ surname: string;
3421
+ middlename?: string | null | undefined;
3062
3422
  } | {
3063
3423
  country: string;
3064
3424
  district: string;
@@ -3081,8 +3441,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3081
3441
  option: string;
3082
3442
  filename: string;
3083
3443
  originalFilename: string;
3084
- }[] | [string, string] | undefined>;
3085
- createdAtLocation: string;
3444
+ }[] | [string, string] | null | undefined>;
3445
+ createdBySignature?: string | null | undefined;
3446
+ createdAtLocation?: string | null | undefined;
3086
3447
  annotation?: Record<string, string | number | boolean | {
3087
3448
  type: string;
3088
3449
  filename: string;
@@ -3098,6 +3459,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3098
3459
  residentialArea?: string | null | undefined;
3099
3460
  street?: string | null | undefined;
3100
3461
  zipCode?: string | null | undefined;
3462
+ } | {
3463
+ firstname: string;
3464
+ surname: string;
3465
+ middlename?: string | null | undefined;
3101
3466
  } | {
3102
3467
  country: string;
3103
3468
  district: string;
@@ -3120,7 +3485,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3120
3485
  option: string;
3121
3486
  filename: string;
3122
3487
  originalFilename: string;
3123
- }[] | [string, string] | undefined> | undefined;
3488
+ }[] | [string, string] | null | undefined> | undefined;
3124
3489
  originalActionId?: string | undefined;
3125
3490
  }>, z.ZodObject<z.objectUtil.extendShape<{
3126
3491
  id: z.ZodString;
@@ -3128,6 +3493,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3128
3493
  createdAt: z.ZodString;
3129
3494
  createdBy: z.ZodString;
3130
3495
  createdByRole: z.ZodString;
3496
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3131
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<{
3132
3499
  filename: z.ZodString;
3133
3500
  originalFilename: z.ZodString;
@@ -3241,7 +3608,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3241
3608
  addressLine2?: string | null | undefined;
3242
3609
  addressLine3?: string | null | undefined;
3243
3610
  postcodeOrZip?: string | null | undefined;
3244
- }>]>>;
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]>]>>;
3245
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<{
3246
3625
  filename: z.ZodString;
3247
3626
  originalFilename: z.ZodString;
@@ -3355,16 +3734,41 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3355
3734
  addressLine2?: string | null | undefined;
3356
3735
  addressLine3?: string | null | undefined;
3357
3736
  postcodeOrZip?: string | null | undefined;
3358
- }>]>>>;
3359
- createdAtLocation: z.ZodString;
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]>]>>>;
3360
3750
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3361
3751
  originalActionId: z.ZodOptional<z.ZodString>;
3362
3752
  }, {
3363
3753
  type: z.ZodLiteral<"ARCHIVE">;
3754
+ reason: z.ZodObject<{
3755
+ message: z.ZodString;
3756
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3757
+ }, "strip", z.ZodTypeAny, {
3758
+ message: string;
3759
+ isDuplicate?: boolean | undefined;
3760
+ }, {
3761
+ message: string;
3762
+ isDuplicate?: boolean | undefined;
3763
+ }>;
3364
3764
  }>, "strip", z.ZodTypeAny, {
3365
3765
  type: "ARCHIVE";
3366
3766
  id: string;
3367
3767
  status: "Rejected" | "Requested" | "Accepted";
3768
+ reason: {
3769
+ message: string;
3770
+ isDuplicate?: boolean | undefined;
3771
+ };
3368
3772
  transactionId: string;
3369
3773
  createdAt: string;
3370
3774
  createdBy: string;
@@ -3384,6 +3788,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3384
3788
  residentialArea?: string | null | undefined;
3385
3789
  street?: string | null | undefined;
3386
3790
  zipCode?: string | null | undefined;
3791
+ } | {
3792
+ firstname: string;
3793
+ surname: string;
3794
+ middlename?: string | null | undefined;
3387
3795
  } | {
3388
3796
  country: string;
3389
3797
  district: string;
@@ -3406,8 +3814,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3406
3814
  option: string;
3407
3815
  filename: string;
3408
3816
  originalFilename: string;
3409
- }[] | [string, string] | undefined>;
3410
- createdAtLocation: string;
3817
+ }[] | [string, string] | null | undefined>;
3818
+ createdBySignature?: string | null | undefined;
3819
+ createdAtLocation?: string | null | undefined;
3411
3820
  annotation?: Record<string, string | number | boolean | {
3412
3821
  type: string;
3413
3822
  filename: string;
@@ -3423,6 +3832,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3423
3832
  residentialArea?: string | null | undefined;
3424
3833
  street?: string | null | undefined;
3425
3834
  zipCode?: string | null | undefined;
3835
+ } | {
3836
+ firstname: string;
3837
+ surname: string;
3838
+ middlename?: string | null | undefined;
3426
3839
  } | {
3427
3840
  country: string;
3428
3841
  district: string;
@@ -3445,12 +3858,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3445
3858
  option: string;
3446
3859
  filename: string;
3447
3860
  originalFilename: string;
3448
- }[] | [string, string] | undefined> | undefined;
3861
+ }[] | [string, string] | null | undefined> | undefined;
3449
3862
  originalActionId?: string | undefined;
3450
3863
  }, {
3451
3864
  type: "ARCHIVE";
3452
3865
  id: string;
3453
3866
  status: "Rejected" | "Requested" | "Accepted";
3867
+ reason: {
3868
+ message: string;
3869
+ isDuplicate?: boolean | undefined;
3870
+ };
3454
3871
  transactionId: string;
3455
3872
  createdAt: string;
3456
3873
  createdBy: string;
@@ -3470,6 +3887,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3470
3887
  residentialArea?: string | null | undefined;
3471
3888
  street?: string | null | undefined;
3472
3889
  zipCode?: string | null | undefined;
3890
+ } | {
3891
+ firstname: string;
3892
+ surname: string;
3893
+ middlename?: string | null | undefined;
3473
3894
  } | {
3474
3895
  country: string;
3475
3896
  district: string;
@@ -3492,8 +3913,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3492
3913
  option: string;
3493
3914
  filename: string;
3494
3915
  originalFilename: string;
3495
- }[] | [string, string] | undefined>;
3496
- createdAtLocation: string;
3916
+ }[] | [string, string] | null | undefined>;
3917
+ createdBySignature?: string | null | undefined;
3918
+ createdAtLocation?: string | null | undefined;
3497
3919
  annotation?: Record<string, string | number | boolean | {
3498
3920
  type: string;
3499
3921
  filename: string;
@@ -3509,6 +3931,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3509
3931
  residentialArea?: string | null | undefined;
3510
3932
  street?: string | null | undefined;
3511
3933
  zipCode?: string | null | undefined;
3934
+ } | {
3935
+ firstname: string;
3936
+ surname: string;
3937
+ middlename?: string | null | undefined;
3512
3938
  } | {
3513
3939
  country: string;
3514
3940
  district: string;
@@ -3531,7 +3957,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3531
3957
  option: string;
3532
3958
  filename: string;
3533
3959
  originalFilename: string;
3534
- }[] | [string, string] | undefined> | undefined;
3960
+ }[] | [string, string] | null | undefined> | undefined;
3535
3961
  originalActionId?: string | undefined;
3536
3962
  }>, z.ZodObject<z.objectUtil.extendShape<{
3537
3963
  id: z.ZodString;
@@ -3539,6 +3965,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3539
3965
  createdAt: z.ZodString;
3540
3966
  createdBy: z.ZodString;
3541
3967
  createdByRole: z.ZodString;
3968
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3969
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3542
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<{
3543
3971
  filename: z.ZodString;
3544
3972
  originalFilename: z.ZodString;
@@ -3652,7 +4080,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3652
4080
  addressLine2?: string | null | undefined;
3653
4081
  addressLine3?: string | null | undefined;
3654
4082
  postcodeOrZip?: string | null | undefined;
3655
- }>]>>;
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]>]>>;
3656
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<{
3657
4097
  filename: z.ZodString;
3658
4098
  originalFilename: z.ZodString;
@@ -3766,8 +4206,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3766
4206
  addressLine2?: string | null | undefined;
3767
4207
  addressLine3?: string | null | undefined;
3768
4208
  postcodeOrZip?: string | null | undefined;
3769
- }>]>>>;
3770
- createdAtLocation: z.ZodString;
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]>]>>>;
3771
4222
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3772
4223
  originalActionId: z.ZodOptional<z.ZodString>;
3773
4224
  }, {
@@ -3795,6 +4246,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3795
4246
  residentialArea?: string | null | undefined;
3796
4247
  street?: string | null | undefined;
3797
4248
  zipCode?: string | null | undefined;
4249
+ } | {
4250
+ firstname: string;
4251
+ surname: string;
4252
+ middlename?: string | null | undefined;
3798
4253
  } | {
3799
4254
  country: string;
3800
4255
  district: string;
@@ -3817,8 +4272,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3817
4272
  option: string;
3818
4273
  filename: string;
3819
4274
  originalFilename: string;
3820
- }[] | [string, string] | undefined>;
3821
- createdAtLocation: string;
4275
+ }[] | [string, string] | null | undefined>;
4276
+ createdBySignature?: string | null | undefined;
4277
+ createdAtLocation?: string | null | undefined;
3822
4278
  annotation?: Record<string, string | number | boolean | {
3823
4279
  type: string;
3824
4280
  filename: string;
@@ -3834,6 +4290,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3834
4290
  residentialArea?: string | null | undefined;
3835
4291
  street?: string | null | undefined;
3836
4292
  zipCode?: string | null | undefined;
4293
+ } | {
4294
+ firstname: string;
4295
+ surname: string;
4296
+ middlename?: string | null | undefined;
3837
4297
  } | {
3838
4298
  country: string;
3839
4299
  district: string;
@@ -3856,7 +4316,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3856
4316
  option: string;
3857
4317
  filename: string;
3858
4318
  originalFilename: string;
3859
- }[] | [string, string] | undefined> | undefined;
4319
+ }[] | [string, string] | null | undefined> | undefined;
3860
4320
  originalActionId?: string | undefined;
3861
4321
  }, {
3862
4322
  type: "NOTIFY";
@@ -3881,6 +4341,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3881
4341
  residentialArea?: string | null | undefined;
3882
4342
  street?: string | null | undefined;
3883
4343
  zipCode?: string | null | undefined;
4344
+ } | {
4345
+ firstname: string;
4346
+ surname: string;
4347
+ middlename?: string | null | undefined;
3884
4348
  } | {
3885
4349
  country: string;
3886
4350
  district: string;
@@ -3903,8 +4367,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3903
4367
  option: string;
3904
4368
  filename: string;
3905
4369
  originalFilename: string;
3906
- }[] | [string, string] | undefined>;
3907
- createdAtLocation: string;
4370
+ }[] | [string, string] | null | undefined>;
4371
+ createdBySignature?: string | null | undefined;
4372
+ createdAtLocation?: string | null | undefined;
3908
4373
  annotation?: Record<string, string | number | boolean | {
3909
4374
  type: string;
3910
4375
  filename: string;
@@ -3920,6 +4385,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3920
4385
  residentialArea?: string | null | undefined;
3921
4386
  street?: string | null | undefined;
3922
4387
  zipCode?: string | null | undefined;
4388
+ } | {
4389
+ firstname: string;
4390
+ surname: string;
4391
+ middlename?: string | null | undefined;
3923
4392
  } | {
3924
4393
  country: string;
3925
4394
  district: string;
@@ -3942,7 +4411,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3942
4411
  option: string;
3943
4412
  filename: string;
3944
4413
  originalFilename: string;
3945
- }[] | [string, string] | undefined> | undefined;
4414
+ }[] | [string, string] | null | undefined> | undefined;
3946
4415
  originalActionId?: string | undefined;
3947
4416
  }>, z.ZodObject<z.objectUtil.extendShape<{
3948
4417
  id: z.ZodString;
@@ -3950,6 +4419,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3950
4419
  createdAt: z.ZodString;
3951
4420
  createdBy: z.ZodString;
3952
4421
  createdByRole: z.ZodString;
4422
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4423
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3953
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<{
3954
4425
  filename: z.ZodString;
3955
4426
  originalFilename: z.ZodString;
@@ -4063,7 +4534,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4063
4534
  addressLine2?: string | null | undefined;
4064
4535
  addressLine3?: string | null | undefined;
4065
4536
  postcodeOrZip?: string | null | undefined;
4066
- }>]>>;
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]>]>>;
4067
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<{
4068
4551
  filename: z.ZodString;
4069
4552
  originalFilename: z.ZodString;
@@ -4177,8 +4660,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4177
4660
  addressLine2?: string | null | undefined;
4178
4661
  addressLine3?: string | null | undefined;
4179
4662
  postcodeOrZip?: string | null | undefined;
4180
- }>]>>>;
4181
- createdAtLocation: z.ZodString;
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]>]>>>;
4182
4676
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4183
4677
  originalActionId: z.ZodOptional<z.ZodString>;
4184
4678
  }, {
@@ -4207,6 +4701,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4207
4701
  residentialArea?: string | null | undefined;
4208
4702
  street?: string | null | undefined;
4209
4703
  zipCode?: string | null | undefined;
4704
+ } | {
4705
+ firstname: string;
4706
+ surname: string;
4707
+ middlename?: string | null | undefined;
4210
4708
  } | {
4211
4709
  country: string;
4212
4710
  district: string;
@@ -4229,8 +4727,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4229
4727
  option: string;
4230
4728
  filename: string;
4231
4729
  originalFilename: string;
4232
- }[] | [string, string] | undefined>;
4233
- createdAtLocation: string;
4730
+ }[] | [string, string] | null | undefined>;
4731
+ createdBySignature?: string | null | undefined;
4732
+ createdAtLocation?: string | null | undefined;
4234
4733
  annotation?: Record<string, string | number | boolean | {
4235
4734
  type: string;
4236
4735
  filename: string;
@@ -4246,6 +4745,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4246
4745
  residentialArea?: string | null | undefined;
4247
4746
  street?: string | null | undefined;
4248
4747
  zipCode?: string | null | undefined;
4748
+ } | {
4749
+ firstname: string;
4750
+ surname: string;
4751
+ middlename?: string | null | undefined;
4249
4752
  } | {
4250
4753
  country: string;
4251
4754
  district: string;
@@ -4268,7 +4771,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4268
4771
  option: string;
4269
4772
  filename: string;
4270
4773
  originalFilename: string;
4271
- }[] | [string, string] | undefined> | undefined;
4774
+ }[] | [string, string] | null | undefined> | undefined;
4272
4775
  originalActionId?: string | undefined;
4273
4776
  registrationNumber?: string | undefined;
4274
4777
  }, {
@@ -4294,6 +4797,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4294
4797
  residentialArea?: string | null | undefined;
4295
4798
  street?: string | null | undefined;
4296
4799
  zipCode?: string | null | undefined;
4800
+ } | {
4801
+ firstname: string;
4802
+ surname: string;
4803
+ middlename?: string | null | undefined;
4297
4804
  } | {
4298
4805
  country: string;
4299
4806
  district: string;
@@ -4316,8 +4823,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4316
4823
  option: string;
4317
4824
  filename: string;
4318
4825
  originalFilename: string;
4319
- }[] | [string, string] | undefined>;
4320
- createdAtLocation: string;
4826
+ }[] | [string, string] | null | undefined>;
4827
+ createdBySignature?: string | null | undefined;
4828
+ createdAtLocation?: string | null | undefined;
4321
4829
  annotation?: Record<string, string | number | boolean | {
4322
4830
  type: string;
4323
4831
  filename: string;
@@ -4333,6 +4841,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4333
4841
  residentialArea?: string | null | undefined;
4334
4842
  street?: string | null | undefined;
4335
4843
  zipCode?: string | null | undefined;
4844
+ } | {
4845
+ firstname: string;
4846
+ surname: string;
4847
+ middlename?: string | null | undefined;
4336
4848
  } | {
4337
4849
  country: string;
4338
4850
  district: string;
@@ -4355,7 +4867,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4355
4867
  option: string;
4356
4868
  filename: string;
4357
4869
  originalFilename: string;
4358
- }[] | [string, string] | undefined> | undefined;
4870
+ }[] | [string, string] | null | undefined> | undefined;
4359
4871
  originalActionId?: string | undefined;
4360
4872
  registrationNumber?: string | undefined;
4361
4873
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4364,6 +4876,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4364
4876
  createdAt: z.ZodString;
4365
4877
  createdBy: z.ZodString;
4366
4878
  createdByRole: z.ZodString;
4879
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4880
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4367
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<{
4368
4882
  filename: z.ZodString;
4369
4883
  originalFilename: z.ZodString;
@@ -4477,7 +4991,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4477
4991
  addressLine2?: string | null | undefined;
4478
4992
  addressLine3?: string | null | undefined;
4479
4993
  postcodeOrZip?: string | null | undefined;
4480
- }>]>>;
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]>]>>;
4481
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<{
4482
5008
  filename: z.ZodString;
4483
5009
  originalFilename: z.ZodString;
@@ -4591,8 +5117,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4591
5117
  addressLine2?: string | null | undefined;
4592
5118
  addressLine3?: string | null | undefined;
4593
5119
  postcodeOrZip?: string | null | undefined;
4594
- }>]>>>;
4595
- createdAtLocation: z.ZodString;
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]>]>>>;
4596
5133
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4597
5134
  originalActionId: z.ZodOptional<z.ZodString>;
4598
5135
  }, {
@@ -4620,6 +5157,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4620
5157
  residentialArea?: string | null | undefined;
4621
5158
  street?: string | null | undefined;
4622
5159
  zipCode?: string | null | undefined;
5160
+ } | {
5161
+ firstname: string;
5162
+ surname: string;
5163
+ middlename?: string | null | undefined;
4623
5164
  } | {
4624
5165
  country: string;
4625
5166
  district: string;
@@ -4642,8 +5183,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4642
5183
  option: string;
4643
5184
  filename: string;
4644
5185
  originalFilename: string;
4645
- }[] | [string, string] | undefined>;
4646
- createdAtLocation: string;
5186
+ }[] | [string, string] | null | undefined>;
5187
+ createdBySignature?: string | null | undefined;
5188
+ createdAtLocation?: string | null | undefined;
4647
5189
  annotation?: Record<string, string | number | boolean | {
4648
5190
  type: string;
4649
5191
  filename: string;
@@ -4659,6 +5201,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4659
5201
  residentialArea?: string | null | undefined;
4660
5202
  street?: string | null | undefined;
4661
5203
  zipCode?: string | null | undefined;
5204
+ } | {
5205
+ firstname: string;
5206
+ surname: string;
5207
+ middlename?: string | null | undefined;
4662
5208
  } | {
4663
5209
  country: string;
4664
5210
  district: string;
@@ -4681,7 +5227,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4681
5227
  option: string;
4682
5228
  filename: string;
4683
5229
  originalFilename: string;
4684
- }[] | [string, string] | undefined> | undefined;
5230
+ }[] | [string, string] | null | undefined> | undefined;
4685
5231
  originalActionId?: string | undefined;
4686
5232
  }, {
4687
5233
  type: "DECLARE";
@@ -4706,6 +5252,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4706
5252
  residentialArea?: string | null | undefined;
4707
5253
  street?: string | null | undefined;
4708
5254
  zipCode?: string | null | undefined;
5255
+ } | {
5256
+ firstname: string;
5257
+ surname: string;
5258
+ middlename?: string | null | undefined;
4709
5259
  } | {
4710
5260
  country: string;
4711
5261
  district: string;
@@ -4728,8 +5278,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4728
5278
  option: string;
4729
5279
  filename: string;
4730
5280
  originalFilename: string;
4731
- }[] | [string, string] | undefined>;
4732
- createdAtLocation: string;
5281
+ }[] | [string, string] | null | undefined>;
5282
+ createdBySignature?: string | null | undefined;
5283
+ createdAtLocation?: string | null | undefined;
4733
5284
  annotation?: Record<string, string | number | boolean | {
4734
5285
  type: string;
4735
5286
  filename: string;
@@ -4745,6 +5296,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4745
5296
  residentialArea?: string | null | undefined;
4746
5297
  street?: string | null | undefined;
4747
5298
  zipCode?: string | null | undefined;
5299
+ } | {
5300
+ firstname: string;
5301
+ surname: string;
5302
+ middlename?: string | null | undefined;
4748
5303
  } | {
4749
5304
  country: string;
4750
5305
  district: string;
@@ -4767,7 +5322,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4767
5322
  option: string;
4768
5323
  filename: string;
4769
5324
  originalFilename: string;
4770
- }[] | [string, string] | undefined> | undefined;
5325
+ }[] | [string, string] | null | undefined> | undefined;
4771
5326
  originalActionId?: string | undefined;
4772
5327
  }>, z.ZodObject<z.objectUtil.extendShape<{
4773
5328
  id: z.ZodString;
@@ -4775,6 +5330,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4775
5330
  createdAt: z.ZodString;
4776
5331
  createdBy: z.ZodString;
4777
5332
  createdByRole: z.ZodString;
5333
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5334
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4778
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<{
4779
5336
  filename: z.ZodString;
4780
5337
  originalFilename: z.ZodString;
@@ -4888,7 +5445,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4888
5445
  addressLine2?: string | null | undefined;
4889
5446
  addressLine3?: string | null | undefined;
4890
5447
  postcodeOrZip?: string | null | undefined;
4891
- }>]>>;
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]>]>>;
4892
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<{
4893
5462
  filename: z.ZodString;
4894
5463
  originalFilename: z.ZodString;
@@ -5002,8 +5571,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5002
5571
  addressLine2?: string | null | undefined;
5003
5572
  addressLine3?: string | null | undefined;
5004
5573
  postcodeOrZip?: string | null | undefined;
5005
- }>]>>>;
5006
- createdAtLocation: z.ZodString;
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]>]>>>;
5007
5587
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5008
5588
  originalActionId: z.ZodOptional<z.ZodString>;
5009
5589
  }, {
@@ -5032,6 +5612,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5032
5612
  residentialArea?: string | null | undefined;
5033
5613
  street?: string | null | undefined;
5034
5614
  zipCode?: string | null | undefined;
5615
+ } | {
5616
+ firstname: string;
5617
+ surname: string;
5618
+ middlename?: string | null | undefined;
5035
5619
  } | {
5036
5620
  country: string;
5037
5621
  district: string;
@@ -5054,9 +5638,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5054
5638
  option: string;
5055
5639
  filename: string;
5056
5640
  originalFilename: string;
5057
- }[] | [string, string] | undefined>;
5058
- createdAtLocation: string;
5641
+ }[] | [string, string] | null | undefined>;
5059
5642
  assignedTo: string;
5643
+ createdBySignature?: string | null | undefined;
5644
+ createdAtLocation?: string | null | undefined;
5060
5645
  annotation?: Record<string, string | number | boolean | {
5061
5646
  type: string;
5062
5647
  filename: string;
@@ -5072,6 +5657,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5072
5657
  residentialArea?: string | null | undefined;
5073
5658
  street?: string | null | undefined;
5074
5659
  zipCode?: string | null | undefined;
5660
+ } | {
5661
+ firstname: string;
5662
+ surname: string;
5663
+ middlename?: string | null | undefined;
5075
5664
  } | {
5076
5665
  country: string;
5077
5666
  district: string;
@@ -5094,7 +5683,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5094
5683
  option: string;
5095
5684
  filename: string;
5096
5685
  originalFilename: string;
5097
- }[] | [string, string] | undefined> | undefined;
5686
+ }[] | [string, string] | null | undefined> | undefined;
5098
5687
  originalActionId?: string | undefined;
5099
5688
  }, {
5100
5689
  type: "ASSIGN";
@@ -5119,6 +5708,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5119
5708
  residentialArea?: string | null | undefined;
5120
5709
  street?: string | null | undefined;
5121
5710
  zipCode?: string | null | undefined;
5711
+ } | {
5712
+ firstname: string;
5713
+ surname: string;
5714
+ middlename?: string | null | undefined;
5122
5715
  } | {
5123
5716
  country: string;
5124
5717
  district: string;
@@ -5141,9 +5734,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5141
5734
  option: string;
5142
5735
  filename: string;
5143
5736
  originalFilename: string;
5144
- }[] | [string, string] | undefined>;
5145
- createdAtLocation: string;
5737
+ }[] | [string, string] | null | undefined>;
5146
5738
  assignedTo: string;
5739
+ createdBySignature?: string | null | undefined;
5740
+ createdAtLocation?: string | null | undefined;
5147
5741
  annotation?: Record<string, string | number | boolean | {
5148
5742
  type: string;
5149
5743
  filename: string;
@@ -5159,6 +5753,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5159
5753
  residentialArea?: string | null | undefined;
5160
5754
  street?: string | null | undefined;
5161
5755
  zipCode?: string | null | undefined;
5756
+ } | {
5757
+ firstname: string;
5758
+ surname: string;
5759
+ middlename?: string | null | undefined;
5162
5760
  } | {
5163
5761
  country: string;
5164
5762
  district: string;
@@ -5181,7 +5779,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5181
5779
  option: string;
5182
5780
  filename: string;
5183
5781
  originalFilename: string;
5184
- }[] | [string, string] | undefined> | undefined;
5782
+ }[] | [string, string] | null | undefined> | undefined;
5185
5783
  originalActionId?: string | undefined;
5186
5784
  }>, z.ZodObject<z.objectUtil.extendShape<{
5187
5785
  id: z.ZodString;
@@ -5189,6 +5787,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5189
5787
  createdAt: z.ZodString;
5190
5788
  createdBy: z.ZodString;
5191
5789
  createdByRole: z.ZodString;
5790
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5192
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<{
5193
5793
  filename: z.ZodString;
5194
5794
  originalFilename: z.ZodString;
@@ -5302,7 +5902,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5302
5902
  addressLine2?: string | null | undefined;
5303
5903
  addressLine3?: string | null | undefined;
5304
5904
  postcodeOrZip?: string | null | undefined;
5305
- }>]>>;
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]>]>>;
5306
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<{
5307
5919
  filename: z.ZodString;
5308
5920
  originalFilename: z.ZodString;
@@ -5416,8 +6028,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5416
6028
  addressLine2?: string | null | undefined;
5417
6029
  addressLine3?: string | null | undefined;
5418
6030
  postcodeOrZip?: string | null | undefined;
5419
- }>]>>>;
5420
- createdAtLocation: z.ZodString;
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]>]>>>;
5421
6044
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5422
6045
  originalActionId: z.ZodOptional<z.ZodString>;
5423
6046
  }, {
@@ -5445,6 +6068,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5445
6068
  residentialArea?: string | null | undefined;
5446
6069
  street?: string | null | undefined;
5447
6070
  zipCode?: string | null | undefined;
6071
+ } | {
6072
+ firstname: string;
6073
+ surname: string;
6074
+ middlename?: string | null | undefined;
5448
6075
  } | {
5449
6076
  country: string;
5450
6077
  district: string;
@@ -5467,8 +6094,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5467
6094
  option: string;
5468
6095
  filename: string;
5469
6096
  originalFilename: string;
5470
- }[] | [string, string] | undefined>;
5471
- createdAtLocation: string;
6097
+ }[] | [string, string] | null | undefined>;
6098
+ createdBySignature?: string | null | undefined;
6099
+ createdAtLocation?: string | null | undefined;
5472
6100
  annotation?: Record<string, string | number | boolean | {
5473
6101
  type: string;
5474
6102
  filename: string;
@@ -5484,6 +6112,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5484
6112
  residentialArea?: string | null | undefined;
5485
6113
  street?: string | null | undefined;
5486
6114
  zipCode?: string | null | undefined;
6115
+ } | {
6116
+ firstname: string;
6117
+ surname: string;
6118
+ middlename?: string | null | undefined;
5487
6119
  } | {
5488
6120
  country: string;
5489
6121
  district: string;
@@ -5506,7 +6138,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5506
6138
  option: string;
5507
6139
  filename: string;
5508
6140
  originalFilename: string;
5509
- }[] | [string, string] | undefined> | undefined;
6141
+ }[] | [string, string] | null | undefined> | undefined;
5510
6142
  originalActionId?: string | undefined;
5511
6143
  }, {
5512
6144
  type: "REQUEST_CORRECTION";
@@ -5531,6 +6163,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5531
6163
  residentialArea?: string | null | undefined;
5532
6164
  street?: string | null | undefined;
5533
6165
  zipCode?: string | null | undefined;
6166
+ } | {
6167
+ firstname: string;
6168
+ surname: string;
6169
+ middlename?: string | null | undefined;
5534
6170
  } | {
5535
6171
  country: string;
5536
6172
  district: string;
@@ -5553,8 +6189,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5553
6189
  option: string;
5554
6190
  filename: string;
5555
6191
  originalFilename: string;
5556
- }[] | [string, string] | undefined>;
5557
- createdAtLocation: string;
6192
+ }[] | [string, string] | null | undefined>;
6193
+ createdBySignature?: string | null | undefined;
6194
+ createdAtLocation?: string | null | undefined;
5558
6195
  annotation?: Record<string, string | number | boolean | {
5559
6196
  type: string;
5560
6197
  filename: string;
@@ -5570,6 +6207,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5570
6207
  residentialArea?: string | null | undefined;
5571
6208
  street?: string | null | undefined;
5572
6209
  zipCode?: string | null | undefined;
6210
+ } | {
6211
+ firstname: string;
6212
+ surname: string;
6213
+ middlename?: string | null | undefined;
5573
6214
  } | {
5574
6215
  country: string;
5575
6216
  district: string;
@@ -5592,7 +6233,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5592
6233
  option: string;
5593
6234
  filename: string;
5594
6235
  originalFilename: string;
5595
- }[] | [string, string] | undefined> | undefined;
6236
+ }[] | [string, string] | null | undefined> | undefined;
5596
6237
  originalActionId?: string | undefined;
5597
6238
  }>, z.ZodObject<z.objectUtil.extendShape<{
5598
6239
  id: z.ZodString;
@@ -5600,6 +6241,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5600
6241
  createdAt: z.ZodString;
5601
6242
  createdBy: z.ZodString;
5602
6243
  createdByRole: z.ZodString;
6244
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6245
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5603
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<{
5604
6247
  filename: z.ZodString;
5605
6248
  originalFilename: z.ZodString;
@@ -5713,7 +6356,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5713
6356
  addressLine2?: string | null | undefined;
5714
6357
  addressLine3?: string | null | undefined;
5715
6358
  postcodeOrZip?: string | null | undefined;
5716
- }>]>>;
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]>]>>;
5717
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<{
5718
6373
  filename: z.ZodString;
5719
6374
  originalFilename: z.ZodString;
@@ -5827,8 +6482,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5827
6482
  addressLine2?: string | null | undefined;
5828
6483
  addressLine3?: string | null | undefined;
5829
6484
  postcodeOrZip?: string | null | undefined;
5830
- }>]>>>;
5831
- createdAtLocation: z.ZodString;
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]>]>>>;
5832
6498
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5833
6499
  originalActionId: z.ZodOptional<z.ZodString>;
5834
6500
  }, {
@@ -5857,6 +6523,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5857
6523
  residentialArea?: string | null | undefined;
5858
6524
  street?: string | null | undefined;
5859
6525
  zipCode?: string | null | undefined;
6526
+ } | {
6527
+ firstname: string;
6528
+ surname: string;
6529
+ middlename?: string | null | undefined;
5860
6530
  } | {
5861
6531
  country: string;
5862
6532
  district: string;
@@ -5879,9 +6549,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5879
6549
  option: string;
5880
6550
  filename: string;
5881
6551
  originalFilename: string;
5882
- }[] | [string, string] | undefined>;
5883
- createdAtLocation: string;
6552
+ }[] | [string, string] | null | undefined>;
5884
6553
  requestId: string;
6554
+ createdBySignature?: string | null | undefined;
6555
+ createdAtLocation?: string | null | undefined;
5885
6556
  annotation?: Record<string, string | number | boolean | {
5886
6557
  type: string;
5887
6558
  filename: string;
@@ -5897,6 +6568,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5897
6568
  residentialArea?: string | null | undefined;
5898
6569
  street?: string | null | undefined;
5899
6570
  zipCode?: string | null | undefined;
6571
+ } | {
6572
+ firstname: string;
6573
+ surname: string;
6574
+ middlename?: string | null | undefined;
5900
6575
  } | {
5901
6576
  country: string;
5902
6577
  district: string;
@@ -5919,7 +6594,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5919
6594
  option: string;
5920
6595
  filename: string;
5921
6596
  originalFilename: string;
5922
- }[] | [string, string] | undefined> | undefined;
6597
+ }[] | [string, string] | null | undefined> | undefined;
5923
6598
  originalActionId?: string | undefined;
5924
6599
  }, {
5925
6600
  type: "APPROVE_CORRECTION";
@@ -5944,6 +6619,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5944
6619
  residentialArea?: string | null | undefined;
5945
6620
  street?: string | null | undefined;
5946
6621
  zipCode?: string | null | undefined;
6622
+ } | {
6623
+ firstname: string;
6624
+ surname: string;
6625
+ middlename?: string | null | undefined;
5947
6626
  } | {
5948
6627
  country: string;
5949
6628
  district: string;
@@ -5966,9 +6645,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5966
6645
  option: string;
5967
6646
  filename: string;
5968
6647
  originalFilename: string;
5969
- }[] | [string, string] | undefined>;
5970
- createdAtLocation: string;
6648
+ }[] | [string, string] | null | undefined>;
5971
6649
  requestId: string;
6650
+ createdBySignature?: string | null | undefined;
6651
+ createdAtLocation?: string | null | undefined;
5972
6652
  annotation?: Record<string, string | number | boolean | {
5973
6653
  type: string;
5974
6654
  filename: string;
@@ -5984,6 +6664,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5984
6664
  residentialArea?: string | null | undefined;
5985
6665
  street?: string | null | undefined;
5986
6666
  zipCode?: string | null | undefined;
6667
+ } | {
6668
+ firstname: string;
6669
+ surname: string;
6670
+ middlename?: string | null | undefined;
5987
6671
  } | {
5988
6672
  country: string;
5989
6673
  district: string;
@@ -6006,7 +6690,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6006
6690
  option: string;
6007
6691
  filename: string;
6008
6692
  originalFilename: string;
6009
- }[] | [string, string] | undefined> | undefined;
6693
+ }[] | [string, string] | null | undefined> | undefined;
6010
6694
  originalActionId?: string | undefined;
6011
6695
  }>, z.ZodObject<z.objectUtil.extendShape<{
6012
6696
  id: z.ZodString;
@@ -6014,6 +6698,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6014
6698
  createdAt: z.ZodString;
6015
6699
  createdBy: z.ZodString;
6016
6700
  createdByRole: z.ZodString;
6701
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6702
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6017
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<{
6018
6704
  filename: z.ZodString;
6019
6705
  originalFilename: z.ZodString;
@@ -6127,7 +6813,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6127
6813
  addressLine2?: string | null | undefined;
6128
6814
  addressLine3?: string | null | undefined;
6129
6815
  postcodeOrZip?: string | null | undefined;
6130
- }>]>>;
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]>]>>;
6131
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<{
6132
6830
  filename: z.ZodString;
6133
6831
  originalFilename: z.ZodString;
@@ -6241,8 +6939,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6241
6939
  addressLine2?: string | null | undefined;
6242
6940
  addressLine3?: string | null | undefined;
6243
6941
  postcodeOrZip?: string | null | undefined;
6244
- }>]>>>;
6245
- createdAtLocation: z.ZodString;
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]>]>>>;
6246
6955
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6247
6956
  originalActionId: z.ZodOptional<z.ZodString>;
6248
6957
  }, {
@@ -6271,6 +6980,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6271
6980
  residentialArea?: string | null | undefined;
6272
6981
  street?: string | null | undefined;
6273
6982
  zipCode?: string | null | undefined;
6983
+ } | {
6984
+ firstname: string;
6985
+ surname: string;
6986
+ middlename?: string | null | undefined;
6274
6987
  } | {
6275
6988
  country: string;
6276
6989
  district: string;
@@ -6293,9 +7006,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6293
7006
  option: string;
6294
7007
  filename: string;
6295
7008
  originalFilename: string;
6296
- }[] | [string, string] | undefined>;
6297
- createdAtLocation: string;
7009
+ }[] | [string, string] | null | undefined>;
6298
7010
  requestId: string;
7011
+ createdBySignature?: string | null | undefined;
7012
+ createdAtLocation?: string | null | undefined;
6299
7013
  annotation?: Record<string, string | number | boolean | {
6300
7014
  type: string;
6301
7015
  filename: string;
@@ -6311,6 +7025,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6311
7025
  residentialArea?: string | null | undefined;
6312
7026
  street?: string | null | undefined;
6313
7027
  zipCode?: string | null | undefined;
7028
+ } | {
7029
+ firstname: string;
7030
+ surname: string;
7031
+ middlename?: string | null | undefined;
6314
7032
  } | {
6315
7033
  country: string;
6316
7034
  district: string;
@@ -6333,7 +7051,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6333
7051
  option: string;
6334
7052
  filename: string;
6335
7053
  originalFilename: string;
6336
- }[] | [string, string] | undefined> | undefined;
7054
+ }[] | [string, string] | null | undefined> | undefined;
6337
7055
  originalActionId?: string | undefined;
6338
7056
  }, {
6339
7057
  type: "REJECT_CORRECTION";
@@ -6358,6 +7076,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6358
7076
  residentialArea?: string | null | undefined;
6359
7077
  street?: string | null | undefined;
6360
7078
  zipCode?: string | null | undefined;
7079
+ } | {
7080
+ firstname: string;
7081
+ surname: string;
7082
+ middlename?: string | null | undefined;
6361
7083
  } | {
6362
7084
  country: string;
6363
7085
  district: string;
@@ -6380,9 +7102,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6380
7102
  option: string;
6381
7103
  filename: string;
6382
7104
  originalFilename: string;
6383
- }[] | [string, string] | undefined>;
6384
- createdAtLocation: string;
7105
+ }[] | [string, string] | null | undefined>;
6385
7106
  requestId: string;
7107
+ createdBySignature?: string | null | undefined;
7108
+ createdAtLocation?: string | null | undefined;
6386
7109
  annotation?: Record<string, string | number | boolean | {
6387
7110
  type: string;
6388
7111
  filename: string;
@@ -6398,6 +7121,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6398
7121
  residentialArea?: string | null | undefined;
6399
7122
  street?: string | null | undefined;
6400
7123
  zipCode?: string | null | undefined;
7124
+ } | {
7125
+ firstname: string;
7126
+ surname: string;
7127
+ middlename?: string | null | undefined;
6401
7128
  } | {
6402
7129
  country: string;
6403
7130
  district: string;
@@ -6420,7 +7147,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6420
7147
  option: string;
6421
7148
  filename: string;
6422
7149
  originalFilename: string;
6423
- }[] | [string, string] | undefined> | undefined;
7150
+ }[] | [string, string] | null | undefined> | undefined;
6424
7151
  originalActionId?: string | undefined;
6425
7152
  }>, z.ZodObject<z.objectUtil.extendShape<{
6426
7153
  id: z.ZodString;
@@ -6428,6 +7155,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6428
7155
  createdAt: z.ZodString;
6429
7156
  createdBy: z.ZodString;
6430
7157
  createdByRole: z.ZodString;
7158
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7159
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6431
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<{
6432
7161
  filename: z.ZodString;
6433
7162
  originalFilename: z.ZodString;
@@ -6541,7 +7270,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6541
7270
  addressLine2?: string | null | undefined;
6542
7271
  addressLine3?: string | null | undefined;
6543
7272
  postcodeOrZip?: string | null | undefined;
6544
- }>]>>;
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]>]>>;
6545
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<{
6546
7287
  filename: z.ZodString;
6547
7288
  originalFilename: z.ZodString;
@@ -6655,8 +7396,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6655
7396
  addressLine2?: string | null | undefined;
6656
7397
  addressLine3?: string | null | undefined;
6657
7398
  postcodeOrZip?: string | null | undefined;
6658
- }>]>>>;
6659
- createdAtLocation: z.ZodString;
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]>]>>>;
6660
7412
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6661
7413
  originalActionId: z.ZodOptional<z.ZodString>;
6662
7414
  }, {
@@ -6685,6 +7437,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6685
7437
  residentialArea?: string | null | undefined;
6686
7438
  street?: string | null | undefined;
6687
7439
  zipCode?: string | null | undefined;
7440
+ } | {
7441
+ firstname: string;
7442
+ surname: string;
7443
+ middlename?: string | null | undefined;
6688
7444
  } | {
6689
7445
  country: string;
6690
7446
  district: string;
@@ -6707,9 +7463,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6707
7463
  option: string;
6708
7464
  filename: string;
6709
7465
  originalFilename: string;
6710
- }[] | [string, string] | undefined>;
6711
- createdAtLocation: string;
7466
+ }[] | [string, string] | null | undefined>;
6712
7467
  assignedTo: null;
7468
+ createdBySignature?: string | null | undefined;
7469
+ createdAtLocation?: string | null | undefined;
6713
7470
  annotation?: Record<string, string | number | boolean | {
6714
7471
  type: string;
6715
7472
  filename: string;
@@ -6725,6 +7482,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6725
7482
  residentialArea?: string | null | undefined;
6726
7483
  street?: string | null | undefined;
6727
7484
  zipCode?: string | null | undefined;
7485
+ } | {
7486
+ firstname: string;
7487
+ surname: string;
7488
+ middlename?: string | null | undefined;
6728
7489
  } | {
6729
7490
  country: string;
6730
7491
  district: string;
@@ -6747,7 +7508,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6747
7508
  option: string;
6748
7509
  filename: string;
6749
7510
  originalFilename: string;
6750
- }[] | [string, string] | undefined> | undefined;
7511
+ }[] | [string, string] | null | undefined> | undefined;
6751
7512
  originalActionId?: string | undefined;
6752
7513
  }, {
6753
7514
  type: "UNASSIGN";
@@ -6772,6 +7533,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6772
7533
  residentialArea?: string | null | undefined;
6773
7534
  street?: string | null | undefined;
6774
7535
  zipCode?: string | null | undefined;
7536
+ } | {
7537
+ firstname: string;
7538
+ surname: string;
7539
+ middlename?: string | null | undefined;
6775
7540
  } | {
6776
7541
  country: string;
6777
7542
  district: string;
@@ -6794,9 +7559,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6794
7559
  option: string;
6795
7560
  filename: string;
6796
7561
  originalFilename: string;
6797
- }[] | [string, string] | undefined>;
6798
- createdAtLocation: string;
7562
+ }[] | [string, string] | null | undefined>;
6799
7563
  assignedTo: null;
7564
+ createdBySignature?: string | null | undefined;
7565
+ createdAtLocation?: string | null | undefined;
6800
7566
  annotation?: Record<string, string | number | boolean | {
6801
7567
  type: string;
6802
7568
  filename: string;
@@ -6812,6 +7578,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6812
7578
  residentialArea?: string | null | undefined;
6813
7579
  street?: string | null | undefined;
6814
7580
  zipCode?: string | null | undefined;
7581
+ } | {
7582
+ firstname: string;
7583
+ surname: string;
7584
+ middlename?: string | null | undefined;
6815
7585
  } | {
6816
7586
  country: string;
6817
7587
  district: string;
@@ -6834,7 +7604,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6834
7604
  option: string;
6835
7605
  filename: string;
6836
7606
  originalFilename: string;
6837
- }[] | [string, string] | undefined> | undefined;
7607
+ }[] | [string, string] | null | undefined> | undefined;
6838
7608
  originalActionId?: string | undefined;
6839
7609
  }>, z.ZodObject<z.objectUtil.extendShape<{
6840
7610
  id: z.ZodString;
@@ -6842,6 +7612,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6842
7612
  createdAt: z.ZodString;
6843
7613
  createdBy: z.ZodString;
6844
7614
  createdByRole: z.ZodString;
7615
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7616
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6845
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<{
6846
7618
  filename: z.ZodString;
6847
7619
  originalFilename: z.ZodString;
@@ -6955,7 +7727,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6955
7727
  addressLine2?: string | null | undefined;
6956
7728
  addressLine3?: string | null | undefined;
6957
7729
  postcodeOrZip?: string | null | undefined;
6958
- }>]>>;
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]>]>>;
6959
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<{
6960
7744
  filename: z.ZodString;
6961
7745
  originalFilename: z.ZodString;
@@ -7069,8 +7853,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7069
7853
  addressLine2?: string | null | undefined;
7070
7854
  addressLine3?: string | null | undefined;
7071
7855
  postcodeOrZip?: string | null | undefined;
7072
- }>]>>>;
7073
- createdAtLocation: z.ZodString;
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]>]>>>;
7074
7869
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7075
7870
  originalActionId: z.ZodOptional<z.ZodString>;
7076
7871
  }, {
@@ -7098,6 +7893,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7098
7893
  residentialArea?: string | null | undefined;
7099
7894
  street?: string | null | undefined;
7100
7895
  zipCode?: string | null | undefined;
7896
+ } | {
7897
+ firstname: string;
7898
+ surname: string;
7899
+ middlename?: string | null | undefined;
7101
7900
  } | {
7102
7901
  country: string;
7103
7902
  district: string;
@@ -7120,8 +7919,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7120
7919
  option: string;
7121
7920
  filename: string;
7122
7921
  originalFilename: string;
7123
- }[] | [string, string] | undefined>;
7124
- createdAtLocation: string;
7922
+ }[] | [string, string] | null | undefined>;
7923
+ createdBySignature?: string | null | undefined;
7924
+ createdAtLocation?: string | null | undefined;
7125
7925
  annotation?: Record<string, string | number | boolean | {
7126
7926
  type: string;
7127
7927
  filename: string;
@@ -7137,6 +7937,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7137
7937
  residentialArea?: string | null | undefined;
7138
7938
  street?: string | null | undefined;
7139
7939
  zipCode?: string | null | undefined;
7940
+ } | {
7941
+ firstname: string;
7942
+ surname: string;
7943
+ middlename?: string | null | undefined;
7140
7944
  } | {
7141
7945
  country: string;
7142
7946
  district: string;
@@ -7159,7 +7963,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7159
7963
  option: string;
7160
7964
  filename: string;
7161
7965
  originalFilename: string;
7162
- }[] | [string, string] | undefined> | undefined;
7966
+ }[] | [string, string] | null | undefined> | undefined;
7163
7967
  originalActionId?: string | undefined;
7164
7968
  }, {
7165
7969
  type: "PRINT_CERTIFICATE";
@@ -7184,6 +7988,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7184
7988
  residentialArea?: string | null | undefined;
7185
7989
  street?: string | null | undefined;
7186
7990
  zipCode?: string | null | undefined;
7991
+ } | {
7992
+ firstname: string;
7993
+ surname: string;
7994
+ middlename?: string | null | undefined;
7187
7995
  } | {
7188
7996
  country: string;
7189
7997
  district: string;
@@ -7206,8 +8014,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7206
8014
  option: string;
7207
8015
  filename: string;
7208
8016
  originalFilename: string;
7209
- }[] | [string, string] | undefined>;
7210
- createdAtLocation: string;
8017
+ }[] | [string, string] | null | undefined>;
8018
+ createdBySignature?: string | null | undefined;
8019
+ createdAtLocation?: string | null | undefined;
7211
8020
  annotation?: Record<string, string | number | boolean | {
7212
8021
  type: string;
7213
8022
  filename: string;
@@ -7223,6 +8032,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7223
8032
  residentialArea?: string | null | undefined;
7224
8033
  street?: string | null | undefined;
7225
8034
  zipCode?: string | null | undefined;
8035
+ } | {
8036
+ firstname: string;
8037
+ surname: string;
8038
+ middlename?: string | null | undefined;
7226
8039
  } | {
7227
8040
  country: string;
7228
8041
  district: string;
@@ -7245,7 +8058,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7245
8058
  option: string;
7246
8059
  filename: string;
7247
8060
  originalFilename: string;
7248
- }[] | [string, string] | undefined> | undefined;
8061
+ }[] | [string, string] | null | undefined> | undefined;
7249
8062
  originalActionId?: string | undefined;
7250
8063
  }>, z.ZodObject<z.objectUtil.extendShape<{
7251
8064
  id: z.ZodString;
@@ -7253,6 +8066,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7253
8066
  createdAt: z.ZodString;
7254
8067
  createdBy: z.ZodString;
7255
8068
  createdByRole: z.ZodString;
8069
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8070
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7256
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<{
7257
8072
  filename: z.ZodString;
7258
8073
  originalFilename: z.ZodString;
@@ -7366,7 +8181,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7366
8181
  addressLine2?: string | null | undefined;
7367
8182
  addressLine3?: string | null | undefined;
7368
8183
  postcodeOrZip?: string | null | undefined;
7369
- }>]>>;
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]>]>>;
7370
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<{
7371
8198
  filename: z.ZodString;
7372
8199
  originalFilename: z.ZodString;
@@ -7480,8 +8307,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7480
8307
  addressLine2?: string | null | undefined;
7481
8308
  addressLine3?: string | null | undefined;
7482
8309
  postcodeOrZip?: string | null | undefined;
7483
- }>]>>>;
7484
- createdAtLocation: z.ZodString;
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]>]>>>;
7485
8323
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7486
8324
  originalActionId: z.ZodOptional<z.ZodString>;
7487
8325
  }, {
@@ -7509,6 +8347,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7509
8347
  residentialArea?: string | null | undefined;
7510
8348
  street?: string | null | undefined;
7511
8349
  zipCode?: string | null | undefined;
8350
+ } | {
8351
+ firstname: string;
8352
+ surname: string;
8353
+ middlename?: string | null | undefined;
7512
8354
  } | {
7513
8355
  country: string;
7514
8356
  district: string;
@@ -7531,8 +8373,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7531
8373
  option: string;
7532
8374
  filename: string;
7533
8375
  originalFilename: string;
7534
- }[] | [string, string] | undefined>;
7535
- createdAtLocation: string;
8376
+ }[] | [string, string] | null | undefined>;
8377
+ createdBySignature?: string | null | undefined;
8378
+ createdAtLocation?: string | null | undefined;
7536
8379
  annotation?: Record<string, string | number | boolean | {
7537
8380
  type: string;
7538
8381
  filename: string;
@@ -7548,6 +8391,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7548
8391
  residentialArea?: string | null | undefined;
7549
8392
  street?: string | null | undefined;
7550
8393
  zipCode?: string | null | undefined;
8394
+ } | {
8395
+ firstname: string;
8396
+ surname: string;
8397
+ middlename?: string | null | undefined;
7551
8398
  } | {
7552
8399
  country: string;
7553
8400
  district: string;
@@ -7570,7 +8417,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7570
8417
  option: string;
7571
8418
  filename: string;
7572
8419
  originalFilename: string;
7573
- }[] | [string, string] | undefined> | undefined;
8420
+ }[] | [string, string] | null | undefined> | undefined;
7574
8421
  originalActionId?: string | undefined;
7575
8422
  }, {
7576
8423
  type: "READ";
@@ -7595,6 +8442,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7595
8442
  residentialArea?: string | null | undefined;
7596
8443
  street?: string | null | undefined;
7597
8444
  zipCode?: string | null | undefined;
8445
+ } | {
8446
+ firstname: string;
8447
+ surname: string;
8448
+ middlename?: string | null | undefined;
7598
8449
  } | {
7599
8450
  country: string;
7600
8451
  district: string;
@@ -7617,8 +8468,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7617
8468
  option: string;
7618
8469
  filename: string;
7619
8470
  originalFilename: string;
7620
- }[] | [string, string] | undefined>;
7621
- createdAtLocation: string;
8471
+ }[] | [string, string] | null | undefined>;
8472
+ createdBySignature?: string | null | undefined;
8473
+ createdAtLocation?: string | null | undefined;
7622
8474
  annotation?: Record<string, string | number | boolean | {
7623
8475
  type: string;
7624
8476
  filename: string;
@@ -7634,6 +8486,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7634
8486
  residentialArea?: string | null | undefined;
7635
8487
  street?: string | null | undefined;
7636
8488
  zipCode?: string | null | undefined;
8489
+ } | {
8490
+ firstname: string;
8491
+ surname: string;
8492
+ middlename?: string | null | undefined;
7637
8493
  } | {
7638
8494
  country: string;
7639
8495
  district: string;
@@ -7656,7 +8512,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7656
8512
  option: string;
7657
8513
  filename: string;
7658
8514
  originalFilename: string;
7659
- }[] | [string, string] | undefined> | undefined;
8515
+ }[] | [string, string] | null | undefined> | undefined;
7660
8516
  originalActionId?: string | undefined;
7661
8517
  }>]>;
7662
8518
  export type ActionDocument = z.infer<typeof ActionDocument>;
@@ -7666,6 +8522,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7666
8522
  createdAt: z.ZodString;
7667
8523
  createdBy: z.ZodString;
7668
8524
  createdByRole: z.ZodString;
8525
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8526
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7669
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<{
7670
8528
  filename: z.ZodString;
7671
8529
  originalFilename: z.ZodString;
@@ -7779,7 +8637,19 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7779
8637
  addressLine2?: string | null | undefined;
7780
8638
  addressLine3?: string | null | undefined;
7781
8639
  postcodeOrZip?: string | null | undefined;
7782
- }>]>>;
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]>]>>;
7783
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<{
7784
8654
  filename: z.ZodString;
7785
8655
  originalFilename: z.ZodString;
@@ -7893,8 +8763,19 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7893
8763
  addressLine2?: string | null | undefined;
7894
8764
  addressLine3?: string | null | undefined;
7895
8765
  postcodeOrZip?: string | null | undefined;
7896
- }>]>>>;
7897
- createdAtLocation: z.ZodString;
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]>]>>>;
7898
8779
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7899
8780
  originalActionId: z.ZodOptional<z.ZodString>;
7900
8781
  }, "declaration" | "annotation">, {
@@ -7908,7 +8789,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7908
8789
  createdAt: string;
7909
8790
  createdBy: string;
7910
8791
  createdByRole: string;
7911
- createdAtLocation: string;
8792
+ createdBySignature?: string | null | undefined;
8793
+ createdAtLocation?: string | null | undefined;
7912
8794
  originalActionId?: string | undefined;
7913
8795
  }, {
7914
8796
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -7918,7 +8800,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7918
8800
  createdAt: string;
7919
8801
  createdBy: string;
7920
8802
  createdByRole: string;
7921
- createdAtLocation: string;
8803
+ createdBySignature?: string | null | undefined;
8804
+ createdAtLocation?: string | null | undefined;
7922
8805
  originalActionId?: string | undefined;
7923
8806
  }>;
7924
8807
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
@@ -7928,6 +8811,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7928
8811
  createdAt: z.ZodString;
7929
8812
  createdBy: z.ZodString;
7930
8813
  createdByRole: z.ZodString;
8814
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8815
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7931
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<{
7932
8817
  filename: z.ZodString;
7933
8818
  originalFilename: z.ZodString;
@@ -8041,7 +8926,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8041
8926
  addressLine2?: string | null | undefined;
8042
8927
  addressLine3?: string | null | undefined;
8043
8928
  postcodeOrZip?: string | null | undefined;
8044
- }>]>>;
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]>]>>;
8045
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<{
8046
8943
  filename: z.ZodString;
8047
8944
  originalFilename: z.ZodString;
@@ -8155,8 +9052,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8155
9052
  addressLine2?: string | null | undefined;
8156
9053
  addressLine3?: string | null | undefined;
8157
9054
  postcodeOrZip?: string | null | undefined;
8158
- }>]>>>;
8159
- createdAtLocation: z.ZodString;
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]>]>>>;
8160
9068
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8161
9069
  originalActionId: z.ZodOptional<z.ZodString>;
8162
9070
  }, {
@@ -8184,6 +9092,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8184
9092
  residentialArea?: string | null | undefined;
8185
9093
  street?: string | null | undefined;
8186
9094
  zipCode?: string | null | undefined;
9095
+ } | {
9096
+ firstname: string;
9097
+ surname: string;
9098
+ middlename?: string | null | undefined;
8187
9099
  } | {
8188
9100
  country: string;
8189
9101
  district: string;
@@ -8206,8 +9118,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8206
9118
  option: string;
8207
9119
  filename: string;
8208
9120
  originalFilename: string;
8209
- }[] | [string, string] | undefined>;
8210
- createdAtLocation: string;
9121
+ }[] | [string, string] | null | undefined>;
9122
+ createdBySignature?: string | null | undefined;
9123
+ createdAtLocation?: string | null | undefined;
8211
9124
  annotation?: Record<string, string | number | boolean | {
8212
9125
  type: string;
8213
9126
  filename: string;
@@ -8223,6 +9136,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8223
9136
  residentialArea?: string | null | undefined;
8224
9137
  street?: string | null | undefined;
8225
9138
  zipCode?: string | null | undefined;
9139
+ } | {
9140
+ firstname: string;
9141
+ surname: string;
9142
+ middlename?: string | null | undefined;
8226
9143
  } | {
8227
9144
  country: string;
8228
9145
  district: string;
@@ -8245,7 +9162,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8245
9162
  option: string;
8246
9163
  filename: string;
8247
9164
  originalFilename: string;
8248
- }[] | [string, string] | undefined> | undefined;
9165
+ }[] | [string, string] | null | undefined> | undefined;
8249
9166
  originalActionId?: string | undefined;
8250
9167
  }, {
8251
9168
  type: "CREATE";
@@ -8270,6 +9187,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8270
9187
  residentialArea?: string | null | undefined;
8271
9188
  street?: string | null | undefined;
8272
9189
  zipCode?: string | null | undefined;
9190
+ } | {
9191
+ firstname: string;
9192
+ surname: string;
9193
+ middlename?: string | null | undefined;
8273
9194
  } | {
8274
9195
  country: string;
8275
9196
  district: string;
@@ -8292,8 +9213,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8292
9213
  option: string;
8293
9214
  filename: string;
8294
9215
  originalFilename: string;
8295
- }[] | [string, string] | undefined>;
8296
- createdAtLocation: string;
9216
+ }[] | [string, string] | null | undefined>;
9217
+ createdBySignature?: string | null | undefined;
9218
+ createdAtLocation?: string | null | undefined;
8297
9219
  annotation?: Record<string, string | number | boolean | {
8298
9220
  type: string;
8299
9221
  filename: string;
@@ -8309,6 +9231,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8309
9231
  residentialArea?: string | null | undefined;
8310
9232
  street?: string | null | undefined;
8311
9233
  zipCode?: string | null | undefined;
9234
+ } | {
9235
+ firstname: string;
9236
+ surname: string;
9237
+ middlename?: string | null | undefined;
8312
9238
  } | {
8313
9239
  country: string;
8314
9240
  district: string;
@@ -8331,7 +9257,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8331
9257
  option: string;
8332
9258
  filename: string;
8333
9259
  originalFilename: string;
8334
- }[] | [string, string] | undefined> | undefined;
9260
+ }[] | [string, string] | null | undefined> | undefined;
8335
9261
  originalActionId?: string | undefined;
8336
9262
  }>, z.ZodObject<z.objectUtil.extendShape<{
8337
9263
  id: z.ZodString;
@@ -8339,6 +9265,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8339
9265
  createdAt: z.ZodString;
8340
9266
  createdBy: z.ZodString;
8341
9267
  createdByRole: z.ZodString;
9268
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9269
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8342
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<{
8343
9271
  filename: z.ZodString;
8344
9272
  originalFilename: z.ZodString;
@@ -8452,7 +9380,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8452
9380
  addressLine2?: string | null | undefined;
8453
9381
  addressLine3?: string | null | undefined;
8454
9382
  postcodeOrZip?: string | null | undefined;
8455
- }>]>>;
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]>]>>;
8456
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<{
8457
9397
  filename: z.ZodString;
8458
9398
  originalFilename: z.ZodString;
@@ -8566,8 +9506,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8566
9506
  addressLine2?: string | null | undefined;
8567
9507
  addressLine3?: string | null | undefined;
8568
9508
  postcodeOrZip?: string | null | undefined;
8569
- }>]>>>;
8570
- createdAtLocation: z.ZodString;
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]>]>>>;
8571
9522
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8572
9523
  originalActionId: z.ZodOptional<z.ZodString>;
8573
9524
  }, {
@@ -8595,6 +9546,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8595
9546
  residentialArea?: string | null | undefined;
8596
9547
  street?: string | null | undefined;
8597
9548
  zipCode?: string | null | undefined;
9549
+ } | {
9550
+ firstname: string;
9551
+ surname: string;
9552
+ middlename?: string | null | undefined;
8598
9553
  } | {
8599
9554
  country: string;
8600
9555
  district: string;
@@ -8617,8 +9572,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8617
9572
  option: string;
8618
9573
  filename: string;
8619
9574
  originalFilename: string;
8620
- }[] | [string, string] | undefined>;
8621
- createdAtLocation: string;
9575
+ }[] | [string, string] | null | undefined>;
9576
+ createdBySignature?: string | null | undefined;
9577
+ createdAtLocation?: string | null | undefined;
8622
9578
  annotation?: Record<string, string | number | boolean | {
8623
9579
  type: string;
8624
9580
  filename: string;
@@ -8634,6 +9590,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8634
9590
  residentialArea?: string | null | undefined;
8635
9591
  street?: string | null | undefined;
8636
9592
  zipCode?: string | null | undefined;
9593
+ } | {
9594
+ firstname: string;
9595
+ surname: string;
9596
+ middlename?: string | null | undefined;
8637
9597
  } | {
8638
9598
  country: string;
8639
9599
  district: string;
@@ -8656,7 +9616,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8656
9616
  option: string;
8657
9617
  filename: string;
8658
9618
  originalFilename: string;
8659
- }[] | [string, string] | undefined> | undefined;
9619
+ }[] | [string, string] | null | undefined> | undefined;
8660
9620
  originalActionId?: string | undefined;
8661
9621
  }, {
8662
9622
  type: "VALIDATE";
@@ -8681,6 +9641,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8681
9641
  residentialArea?: string | null | undefined;
8682
9642
  street?: string | null | undefined;
8683
9643
  zipCode?: string | null | undefined;
9644
+ } | {
9645
+ firstname: string;
9646
+ surname: string;
9647
+ middlename?: string | null | undefined;
8684
9648
  } | {
8685
9649
  country: string;
8686
9650
  district: string;
@@ -8703,8 +9667,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8703
9667
  option: string;
8704
9668
  filename: string;
8705
9669
  originalFilename: string;
8706
- }[] | [string, string] | undefined>;
8707
- createdAtLocation: string;
9670
+ }[] | [string, string] | null | undefined>;
9671
+ createdBySignature?: string | null | undefined;
9672
+ createdAtLocation?: string | null | undefined;
8708
9673
  annotation?: Record<string, string | number | boolean | {
8709
9674
  type: string;
8710
9675
  filename: string;
@@ -8720,6 +9685,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8720
9685
  residentialArea?: string | null | undefined;
8721
9686
  street?: string | null | undefined;
8722
9687
  zipCode?: string | null | undefined;
9688
+ } | {
9689
+ firstname: string;
9690
+ surname: string;
9691
+ middlename?: string | null | undefined;
8723
9692
  } | {
8724
9693
  country: string;
8725
9694
  district: string;
@@ -8742,7 +9711,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8742
9711
  option: string;
8743
9712
  filename: string;
8744
9713
  originalFilename: string;
8745
- }[] | [string, string] | undefined> | undefined;
9714
+ }[] | [string, string] | null | undefined> | undefined;
8746
9715
  originalActionId?: string | undefined;
8747
9716
  }>, z.ZodObject<z.objectUtil.extendShape<{
8748
9717
  id: z.ZodString;
@@ -8750,6 +9719,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8750
9719
  createdAt: z.ZodString;
8751
9720
  createdBy: z.ZodString;
8752
9721
  createdByRole: z.ZodString;
9722
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9723
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8753
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<{
8754
9725
  filename: z.ZodString;
8755
9726
  originalFilename: z.ZodString;
@@ -8863,7 +9834,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8863
9834
  addressLine2?: string | null | undefined;
8864
9835
  addressLine3?: string | null | undefined;
8865
9836
  postcodeOrZip?: string | null | undefined;
8866
- }>]>>;
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]>]>>;
8867
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<{
8868
9851
  filename: z.ZodString;
8869
9852
  originalFilename: z.ZodString;
@@ -8977,16 +9960,41 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8977
9960
  addressLine2?: string | null | undefined;
8978
9961
  addressLine3?: string | null | undefined;
8979
9962
  postcodeOrZip?: string | null | undefined;
8980
- }>]>>>;
8981
- createdAtLocation: z.ZodString;
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]>]>>>;
8982
9976
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8983
9977
  originalActionId: z.ZodOptional<z.ZodString>;
8984
9978
  }, {
8985
9979
  type: z.ZodLiteral<"REJECT">;
9980
+ reason: z.ZodObject<{
9981
+ message: z.ZodString;
9982
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9983
+ }, "strip", z.ZodTypeAny, {
9984
+ message: string;
9985
+ isDuplicate?: boolean | undefined;
9986
+ }, {
9987
+ message: string;
9988
+ isDuplicate?: boolean | undefined;
9989
+ }>;
8986
9990
  }>, "strip", z.ZodTypeAny, {
8987
9991
  type: "REJECT";
8988
9992
  id: string;
8989
9993
  status: "Rejected" | "Requested" | "Accepted";
9994
+ reason: {
9995
+ message: string;
9996
+ isDuplicate?: boolean | undefined;
9997
+ };
8990
9998
  transactionId: string;
8991
9999
  createdAt: string;
8992
10000
  createdBy: string;
@@ -9006,6 +10014,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9006
10014
  residentialArea?: string | null | undefined;
9007
10015
  street?: string | null | undefined;
9008
10016
  zipCode?: string | null | undefined;
10017
+ } | {
10018
+ firstname: string;
10019
+ surname: string;
10020
+ middlename?: string | null | undefined;
9009
10021
  } | {
9010
10022
  country: string;
9011
10023
  district: string;
@@ -9028,8 +10040,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9028
10040
  option: string;
9029
10041
  filename: string;
9030
10042
  originalFilename: string;
9031
- }[] | [string, string] | undefined>;
9032
- createdAtLocation: string;
10043
+ }[] | [string, string] | null | undefined>;
10044
+ createdBySignature?: string | null | undefined;
10045
+ createdAtLocation?: string | null | undefined;
9033
10046
  annotation?: Record<string, string | number | boolean | {
9034
10047
  type: string;
9035
10048
  filename: string;
@@ -9045,6 +10058,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9045
10058
  residentialArea?: string | null | undefined;
9046
10059
  street?: string | null | undefined;
9047
10060
  zipCode?: string | null | undefined;
10061
+ } | {
10062
+ firstname: string;
10063
+ surname: string;
10064
+ middlename?: string | null | undefined;
9048
10065
  } | {
9049
10066
  country: string;
9050
10067
  district: string;
@@ -9067,12 +10084,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9067
10084
  option: string;
9068
10085
  filename: string;
9069
10086
  originalFilename: string;
9070
- }[] | [string, string] | undefined> | undefined;
10087
+ }[] | [string, string] | null | undefined> | undefined;
9071
10088
  originalActionId?: string | undefined;
9072
10089
  }, {
9073
10090
  type: "REJECT";
9074
10091
  id: string;
9075
10092
  status: "Rejected" | "Requested" | "Accepted";
10093
+ reason: {
10094
+ message: string;
10095
+ isDuplicate?: boolean | undefined;
10096
+ };
9076
10097
  transactionId: string;
9077
10098
  createdAt: string;
9078
10099
  createdBy: string;
@@ -9092,6 +10113,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9092
10113
  residentialArea?: string | null | undefined;
9093
10114
  street?: string | null | undefined;
9094
10115
  zipCode?: string | null | undefined;
10116
+ } | {
10117
+ firstname: string;
10118
+ surname: string;
10119
+ middlename?: string | null | undefined;
9095
10120
  } | {
9096
10121
  country: string;
9097
10122
  district: string;
@@ -9114,8 +10139,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9114
10139
  option: string;
9115
10140
  filename: string;
9116
10141
  originalFilename: string;
9117
- }[] | [string, string] | undefined>;
9118
- createdAtLocation: string;
10142
+ }[] | [string, string] | null | undefined>;
10143
+ createdBySignature?: string | null | undefined;
10144
+ createdAtLocation?: string | null | undefined;
9119
10145
  annotation?: Record<string, string | number | boolean | {
9120
10146
  type: string;
9121
10147
  filename: string;
@@ -9131,6 +10157,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9131
10157
  residentialArea?: string | null | undefined;
9132
10158
  street?: string | null | undefined;
9133
10159
  zipCode?: string | null | undefined;
10160
+ } | {
10161
+ firstname: string;
10162
+ surname: string;
10163
+ middlename?: string | null | undefined;
9134
10164
  } | {
9135
10165
  country: string;
9136
10166
  district: string;
@@ -9153,7 +10183,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9153
10183
  option: string;
9154
10184
  filename: string;
9155
10185
  originalFilename: string;
9156
- }[] | [string, string] | undefined> | undefined;
10186
+ }[] | [string, string] | null | undefined> | undefined;
9157
10187
  originalActionId?: string | undefined;
9158
10188
  }>, z.ZodObject<z.objectUtil.extendShape<{
9159
10189
  id: z.ZodString;
@@ -9161,6 +10191,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9161
10191
  createdAt: z.ZodString;
9162
10192
  createdBy: z.ZodString;
9163
10193
  createdByRole: z.ZodString;
10194
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10195
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9164
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<{
9165
10197
  filename: z.ZodString;
9166
10198
  originalFilename: z.ZodString;
@@ -9274,7 +10306,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9274
10306
  addressLine2?: string | null | undefined;
9275
10307
  addressLine3?: string | null | undefined;
9276
10308
  postcodeOrZip?: string | null | undefined;
9277
- }>]>>;
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]>]>>;
9278
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<{
9279
10323
  filename: z.ZodString;
9280
10324
  originalFilename: z.ZodString;
@@ -9388,8 +10432,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9388
10432
  addressLine2?: string | null | undefined;
9389
10433
  addressLine3?: string | null | undefined;
9390
10434
  postcodeOrZip?: string | null | undefined;
9391
- }>]>>>;
9392
- createdAtLocation: z.ZodString;
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]>]>>>;
9393
10448
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9394
10449
  originalActionId: z.ZodOptional<z.ZodString>;
9395
10450
  }, {
@@ -9417,6 +10472,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9417
10472
  residentialArea?: string | null | undefined;
9418
10473
  street?: string | null | undefined;
9419
10474
  zipCode?: string | null | undefined;
10475
+ } | {
10476
+ firstname: string;
10477
+ surname: string;
10478
+ middlename?: string | null | undefined;
9420
10479
  } | {
9421
10480
  country: string;
9422
10481
  district: string;
@@ -9439,8 +10498,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9439
10498
  option: string;
9440
10499
  filename: string;
9441
10500
  originalFilename: string;
9442
- }[] | [string, string] | undefined>;
9443
- createdAtLocation: string;
10501
+ }[] | [string, string] | null | undefined>;
10502
+ createdBySignature?: string | null | undefined;
10503
+ createdAtLocation?: string | null | undefined;
9444
10504
  annotation?: Record<string, string | number | boolean | {
9445
10505
  type: string;
9446
10506
  filename: string;
@@ -9456,6 +10516,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9456
10516
  residentialArea?: string | null | undefined;
9457
10517
  street?: string | null | undefined;
9458
10518
  zipCode?: string | null | undefined;
10519
+ } | {
10520
+ firstname: string;
10521
+ surname: string;
10522
+ middlename?: string | null | undefined;
9459
10523
  } | {
9460
10524
  country: string;
9461
10525
  district: string;
@@ -9478,7 +10542,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9478
10542
  option: string;
9479
10543
  filename: string;
9480
10544
  originalFilename: string;
9481
- }[] | [string, string] | undefined> | undefined;
10545
+ }[] | [string, string] | null | undefined> | undefined;
9482
10546
  originalActionId?: string | undefined;
9483
10547
  }, {
9484
10548
  type: "MARKED_AS_DUPLICATE";
@@ -9503,6 +10567,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9503
10567
  residentialArea?: string | null | undefined;
9504
10568
  street?: string | null | undefined;
9505
10569
  zipCode?: string | null | undefined;
10570
+ } | {
10571
+ firstname: string;
10572
+ surname: string;
10573
+ middlename?: string | null | undefined;
9506
10574
  } | {
9507
10575
  country: string;
9508
10576
  district: string;
@@ -9525,8 +10593,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9525
10593
  option: string;
9526
10594
  filename: string;
9527
10595
  originalFilename: string;
9528
- }[] | [string, string] | undefined>;
9529
- createdAtLocation: string;
10596
+ }[] | [string, string] | null | undefined>;
10597
+ createdBySignature?: string | null | undefined;
10598
+ createdAtLocation?: string | null | undefined;
9530
10599
  annotation?: Record<string, string | number | boolean | {
9531
10600
  type: string;
9532
10601
  filename: string;
@@ -9542,6 +10611,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9542
10611
  residentialArea?: string | null | undefined;
9543
10612
  street?: string | null | undefined;
9544
10613
  zipCode?: string | null | undefined;
10614
+ } | {
10615
+ firstname: string;
10616
+ surname: string;
10617
+ middlename?: string | null | undefined;
9545
10618
  } | {
9546
10619
  country: string;
9547
10620
  district: string;
@@ -9564,7 +10637,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9564
10637
  option: string;
9565
10638
  filename: string;
9566
10639
  originalFilename: string;
9567
- }[] | [string, string] | undefined> | undefined;
10640
+ }[] | [string, string] | null | undefined> | undefined;
9568
10641
  originalActionId?: string | undefined;
9569
10642
  }>, z.ZodObject<z.objectUtil.extendShape<{
9570
10643
  id: z.ZodString;
@@ -9572,6 +10645,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9572
10645
  createdAt: z.ZodString;
9573
10646
  createdBy: z.ZodString;
9574
10647
  createdByRole: z.ZodString;
10648
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10649
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9575
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<{
9576
10651
  filename: z.ZodString;
9577
10652
  originalFilename: z.ZodString;
@@ -9685,7 +10760,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9685
10760
  addressLine2?: string | null | undefined;
9686
10761
  addressLine3?: string | null | undefined;
9687
10762
  postcodeOrZip?: string | null | undefined;
9688
- }>]>>;
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]>]>>;
9689
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<{
9690
10777
  filename: z.ZodString;
9691
10778
  originalFilename: z.ZodString;
@@ -9799,16 +10886,41 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9799
10886
  addressLine2?: string | null | undefined;
9800
10887
  addressLine3?: string | null | undefined;
9801
10888
  postcodeOrZip?: string | null | undefined;
9802
- }>]>>>;
9803
- createdAtLocation: z.ZodString;
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]>]>>>;
9804
10902
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9805
10903
  originalActionId: z.ZodOptional<z.ZodString>;
9806
10904
  }, {
9807
10905
  type: z.ZodLiteral<"ARCHIVE">;
10906
+ reason: z.ZodObject<{
10907
+ message: z.ZodString;
10908
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
10909
+ }, "strip", z.ZodTypeAny, {
10910
+ message: string;
10911
+ isDuplicate?: boolean | undefined;
10912
+ }, {
10913
+ message: string;
10914
+ isDuplicate?: boolean | undefined;
10915
+ }>;
9808
10916
  }>, "strip", z.ZodTypeAny, {
9809
10917
  type: "ARCHIVE";
9810
10918
  id: string;
9811
10919
  status: "Rejected" | "Requested" | "Accepted";
10920
+ reason: {
10921
+ message: string;
10922
+ isDuplicate?: boolean | undefined;
10923
+ };
9812
10924
  transactionId: string;
9813
10925
  createdAt: string;
9814
10926
  createdBy: string;
@@ -9828,6 +10940,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9828
10940
  residentialArea?: string | null | undefined;
9829
10941
  street?: string | null | undefined;
9830
10942
  zipCode?: string | null | undefined;
10943
+ } | {
10944
+ firstname: string;
10945
+ surname: string;
10946
+ middlename?: string | null | undefined;
9831
10947
  } | {
9832
10948
  country: string;
9833
10949
  district: string;
@@ -9850,8 +10966,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9850
10966
  option: string;
9851
10967
  filename: string;
9852
10968
  originalFilename: string;
9853
- }[] | [string, string] | undefined>;
9854
- createdAtLocation: string;
10969
+ }[] | [string, string] | null | undefined>;
10970
+ createdBySignature?: string | null | undefined;
10971
+ createdAtLocation?: string | null | undefined;
9855
10972
  annotation?: Record<string, string | number | boolean | {
9856
10973
  type: string;
9857
10974
  filename: string;
@@ -9867,6 +10984,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9867
10984
  residentialArea?: string | null | undefined;
9868
10985
  street?: string | null | undefined;
9869
10986
  zipCode?: string | null | undefined;
10987
+ } | {
10988
+ firstname: string;
10989
+ surname: string;
10990
+ middlename?: string | null | undefined;
9870
10991
  } | {
9871
10992
  country: string;
9872
10993
  district: string;
@@ -9889,12 +11010,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9889
11010
  option: string;
9890
11011
  filename: string;
9891
11012
  originalFilename: string;
9892
- }[] | [string, string] | undefined> | undefined;
11013
+ }[] | [string, string] | null | undefined> | undefined;
9893
11014
  originalActionId?: string | undefined;
9894
11015
  }, {
9895
11016
  type: "ARCHIVE";
9896
11017
  id: string;
9897
11018
  status: "Rejected" | "Requested" | "Accepted";
11019
+ reason: {
11020
+ message: string;
11021
+ isDuplicate?: boolean | undefined;
11022
+ };
9898
11023
  transactionId: string;
9899
11024
  createdAt: string;
9900
11025
  createdBy: string;
@@ -9914,6 +11039,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9914
11039
  residentialArea?: string | null | undefined;
9915
11040
  street?: string | null | undefined;
9916
11041
  zipCode?: string | null | undefined;
11042
+ } | {
11043
+ firstname: string;
11044
+ surname: string;
11045
+ middlename?: string | null | undefined;
9917
11046
  } | {
9918
11047
  country: string;
9919
11048
  district: string;
@@ -9936,8 +11065,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9936
11065
  option: string;
9937
11066
  filename: string;
9938
11067
  originalFilename: string;
9939
- }[] | [string, string] | undefined>;
9940
- createdAtLocation: string;
11068
+ }[] | [string, string] | null | undefined>;
11069
+ createdBySignature?: string | null | undefined;
11070
+ createdAtLocation?: string | null | undefined;
9941
11071
  annotation?: Record<string, string | number | boolean | {
9942
11072
  type: string;
9943
11073
  filename: string;
@@ -9953,6 +11083,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9953
11083
  residentialArea?: string | null | undefined;
9954
11084
  street?: string | null | undefined;
9955
11085
  zipCode?: string | null | undefined;
11086
+ } | {
11087
+ firstname: string;
11088
+ surname: string;
11089
+ middlename?: string | null | undefined;
9956
11090
  } | {
9957
11091
  country: string;
9958
11092
  district: string;
@@ -9975,7 +11109,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9975
11109
  option: string;
9976
11110
  filename: string;
9977
11111
  originalFilename: string;
9978
- }[] | [string, string] | undefined> | undefined;
11112
+ }[] | [string, string] | null | undefined> | undefined;
9979
11113
  originalActionId?: string | undefined;
9980
11114
  }>, z.ZodObject<z.objectUtil.extendShape<{
9981
11115
  id: z.ZodString;
@@ -9983,6 +11117,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9983
11117
  createdAt: z.ZodString;
9984
11118
  createdBy: z.ZodString;
9985
11119
  createdByRole: z.ZodString;
11120
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11121
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9986
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<{
9987
11123
  filename: z.ZodString;
9988
11124
  originalFilename: z.ZodString;
@@ -10096,7 +11232,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10096
11232
  addressLine2?: string | null | undefined;
10097
11233
  addressLine3?: string | null | undefined;
10098
11234
  postcodeOrZip?: string | null | undefined;
10099
- }>]>>;
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]>]>>;
10100
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<{
10101
11249
  filename: z.ZodString;
10102
11250
  originalFilename: z.ZodString;
@@ -10210,8 +11358,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10210
11358
  addressLine2?: string | null | undefined;
10211
11359
  addressLine3?: string | null | undefined;
10212
11360
  postcodeOrZip?: string | null | undefined;
10213
- }>]>>>;
10214
- createdAtLocation: z.ZodString;
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]>]>>>;
10215
11374
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10216
11375
  originalActionId: z.ZodOptional<z.ZodString>;
10217
11376
  }, {
@@ -10239,6 +11398,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10239
11398
  residentialArea?: string | null | undefined;
10240
11399
  street?: string | null | undefined;
10241
11400
  zipCode?: string | null | undefined;
11401
+ } | {
11402
+ firstname: string;
11403
+ surname: string;
11404
+ middlename?: string | null | undefined;
10242
11405
  } | {
10243
11406
  country: string;
10244
11407
  district: string;
@@ -10261,8 +11424,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10261
11424
  option: string;
10262
11425
  filename: string;
10263
11426
  originalFilename: string;
10264
- }[] | [string, string] | undefined>;
10265
- createdAtLocation: string;
11427
+ }[] | [string, string] | null | undefined>;
11428
+ createdBySignature?: string | null | undefined;
11429
+ createdAtLocation?: string | null | undefined;
10266
11430
  annotation?: Record<string, string | number | boolean | {
10267
11431
  type: string;
10268
11432
  filename: string;
@@ -10278,6 +11442,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10278
11442
  residentialArea?: string | null | undefined;
10279
11443
  street?: string | null | undefined;
10280
11444
  zipCode?: string | null | undefined;
11445
+ } | {
11446
+ firstname: string;
11447
+ surname: string;
11448
+ middlename?: string | null | undefined;
10281
11449
  } | {
10282
11450
  country: string;
10283
11451
  district: string;
@@ -10300,7 +11468,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10300
11468
  option: string;
10301
11469
  filename: string;
10302
11470
  originalFilename: string;
10303
- }[] | [string, string] | undefined> | undefined;
11471
+ }[] | [string, string] | null | undefined> | undefined;
10304
11472
  originalActionId?: string | undefined;
10305
11473
  }, {
10306
11474
  type: "NOTIFY";
@@ -10325,6 +11493,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10325
11493
  residentialArea?: string | null | undefined;
10326
11494
  street?: string | null | undefined;
10327
11495
  zipCode?: string | null | undefined;
11496
+ } | {
11497
+ firstname: string;
11498
+ surname: string;
11499
+ middlename?: string | null | undefined;
10328
11500
  } | {
10329
11501
  country: string;
10330
11502
  district: string;
@@ -10347,8 +11519,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10347
11519
  option: string;
10348
11520
  filename: string;
10349
11521
  originalFilename: string;
10350
- }[] | [string, string] | undefined>;
10351
- createdAtLocation: string;
11522
+ }[] | [string, string] | null | undefined>;
11523
+ createdBySignature?: string | null | undefined;
11524
+ createdAtLocation?: string | null | undefined;
10352
11525
  annotation?: Record<string, string | number | boolean | {
10353
11526
  type: string;
10354
11527
  filename: string;
@@ -10364,6 +11537,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10364
11537
  residentialArea?: string | null | undefined;
10365
11538
  street?: string | null | undefined;
10366
11539
  zipCode?: string | null | undefined;
11540
+ } | {
11541
+ firstname: string;
11542
+ surname: string;
11543
+ middlename?: string | null | undefined;
10367
11544
  } | {
10368
11545
  country: string;
10369
11546
  district: string;
@@ -10386,7 +11563,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10386
11563
  option: string;
10387
11564
  filename: string;
10388
11565
  originalFilename: string;
10389
- }[] | [string, string] | undefined> | undefined;
11566
+ }[] | [string, string] | null | undefined> | undefined;
10390
11567
  originalActionId?: string | undefined;
10391
11568
  }>, z.ZodObject<z.objectUtil.extendShape<{
10392
11569
  id: z.ZodString;
@@ -10394,6 +11571,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10394
11571
  createdAt: z.ZodString;
10395
11572
  createdBy: z.ZodString;
10396
11573
  createdByRole: z.ZodString;
11574
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11575
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10397
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<{
10398
11577
  filename: z.ZodString;
10399
11578
  originalFilename: z.ZodString;
@@ -10507,7 +11686,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10507
11686
  addressLine2?: string | null | undefined;
10508
11687
  addressLine3?: string | null | undefined;
10509
11688
  postcodeOrZip?: string | null | undefined;
10510
- }>]>>;
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]>]>>;
10511
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<{
10512
11703
  filename: z.ZodString;
10513
11704
  originalFilename: z.ZodString;
@@ -10621,8 +11812,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10621
11812
  addressLine2?: string | null | undefined;
10622
11813
  addressLine3?: string | null | undefined;
10623
11814
  postcodeOrZip?: string | null | undefined;
10624
- }>]>>>;
10625
- createdAtLocation: z.ZodString;
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]>]>>>;
10626
11828
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10627
11829
  originalActionId: z.ZodOptional<z.ZodString>;
10628
11830
  }, {
@@ -10651,6 +11853,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10651
11853
  residentialArea?: string | null | undefined;
10652
11854
  street?: string | null | undefined;
10653
11855
  zipCode?: string | null | undefined;
11856
+ } | {
11857
+ firstname: string;
11858
+ surname: string;
11859
+ middlename?: string | null | undefined;
10654
11860
  } | {
10655
11861
  country: string;
10656
11862
  district: string;
@@ -10673,8 +11879,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10673
11879
  option: string;
10674
11880
  filename: string;
10675
11881
  originalFilename: string;
10676
- }[] | [string, string] | undefined>;
10677
- createdAtLocation: string;
11882
+ }[] | [string, string] | null | undefined>;
11883
+ createdBySignature?: string | null | undefined;
11884
+ createdAtLocation?: string | null | undefined;
10678
11885
  annotation?: Record<string, string | number | boolean | {
10679
11886
  type: string;
10680
11887
  filename: string;
@@ -10690,6 +11897,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10690
11897
  residentialArea?: string | null | undefined;
10691
11898
  street?: string | null | undefined;
10692
11899
  zipCode?: string | null | undefined;
11900
+ } | {
11901
+ firstname: string;
11902
+ surname: string;
11903
+ middlename?: string | null | undefined;
10693
11904
  } | {
10694
11905
  country: string;
10695
11906
  district: string;
@@ -10712,7 +11923,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10712
11923
  option: string;
10713
11924
  filename: string;
10714
11925
  originalFilename: string;
10715
- }[] | [string, string] | undefined> | undefined;
11926
+ }[] | [string, string] | null | undefined> | undefined;
10716
11927
  originalActionId?: string | undefined;
10717
11928
  registrationNumber?: string | undefined;
10718
11929
  }, {
@@ -10738,6 +11949,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10738
11949
  residentialArea?: string | null | undefined;
10739
11950
  street?: string | null | undefined;
10740
11951
  zipCode?: string | null | undefined;
11952
+ } | {
11953
+ firstname: string;
11954
+ surname: string;
11955
+ middlename?: string | null | undefined;
10741
11956
  } | {
10742
11957
  country: string;
10743
11958
  district: string;
@@ -10760,8 +11975,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10760
11975
  option: string;
10761
11976
  filename: string;
10762
11977
  originalFilename: string;
10763
- }[] | [string, string] | undefined>;
10764
- createdAtLocation: string;
11978
+ }[] | [string, string] | null | undefined>;
11979
+ createdBySignature?: string | null | undefined;
11980
+ createdAtLocation?: string | null | undefined;
10765
11981
  annotation?: Record<string, string | number | boolean | {
10766
11982
  type: string;
10767
11983
  filename: string;
@@ -10777,6 +11993,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10777
11993
  residentialArea?: string | null | undefined;
10778
11994
  street?: string | null | undefined;
10779
11995
  zipCode?: string | null | undefined;
11996
+ } | {
11997
+ firstname: string;
11998
+ surname: string;
11999
+ middlename?: string | null | undefined;
10780
12000
  } | {
10781
12001
  country: string;
10782
12002
  district: string;
@@ -10799,7 +12019,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10799
12019
  option: string;
10800
12020
  filename: string;
10801
12021
  originalFilename: string;
10802
- }[] | [string, string] | undefined> | undefined;
12022
+ }[] | [string, string] | null | undefined> | undefined;
10803
12023
  originalActionId?: string | undefined;
10804
12024
  registrationNumber?: string | undefined;
10805
12025
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -10808,6 +12028,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10808
12028
  createdAt: z.ZodString;
10809
12029
  createdBy: z.ZodString;
10810
12030
  createdByRole: z.ZodString;
12031
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12032
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10811
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<{
10812
12034
  filename: z.ZodString;
10813
12035
  originalFilename: z.ZodString;
@@ -10921,7 +12143,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10921
12143
  addressLine2?: string | null | undefined;
10922
12144
  addressLine3?: string | null | undefined;
10923
12145
  postcodeOrZip?: string | null | undefined;
10924
- }>]>>;
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]>]>>;
10925
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<{
10926
12160
  filename: z.ZodString;
10927
12161
  originalFilename: z.ZodString;
@@ -11035,8 +12269,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11035
12269
  addressLine2?: string | null | undefined;
11036
12270
  addressLine3?: string | null | undefined;
11037
12271
  postcodeOrZip?: string | null | undefined;
11038
- }>]>>>;
11039
- createdAtLocation: z.ZodString;
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]>]>>>;
11040
12285
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11041
12286
  originalActionId: z.ZodOptional<z.ZodString>;
11042
12287
  }, {
@@ -11064,6 +12309,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11064
12309
  residentialArea?: string | null | undefined;
11065
12310
  street?: string | null | undefined;
11066
12311
  zipCode?: string | null | undefined;
12312
+ } | {
12313
+ firstname: string;
12314
+ surname: string;
12315
+ middlename?: string | null | undefined;
11067
12316
  } | {
11068
12317
  country: string;
11069
12318
  district: string;
@@ -11086,8 +12335,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11086
12335
  option: string;
11087
12336
  filename: string;
11088
12337
  originalFilename: string;
11089
- }[] | [string, string] | undefined>;
11090
- createdAtLocation: string;
12338
+ }[] | [string, string] | null | undefined>;
12339
+ createdBySignature?: string | null | undefined;
12340
+ createdAtLocation?: string | null | undefined;
11091
12341
  annotation?: Record<string, string | number | boolean | {
11092
12342
  type: string;
11093
12343
  filename: string;
@@ -11103,6 +12353,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11103
12353
  residentialArea?: string | null | undefined;
11104
12354
  street?: string | null | undefined;
11105
12355
  zipCode?: string | null | undefined;
12356
+ } | {
12357
+ firstname: string;
12358
+ surname: string;
12359
+ middlename?: string | null | undefined;
11106
12360
  } | {
11107
12361
  country: string;
11108
12362
  district: string;
@@ -11125,7 +12379,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11125
12379
  option: string;
11126
12380
  filename: string;
11127
12381
  originalFilename: string;
11128
- }[] | [string, string] | undefined> | undefined;
12382
+ }[] | [string, string] | null | undefined> | undefined;
11129
12383
  originalActionId?: string | undefined;
11130
12384
  }, {
11131
12385
  type: "DECLARE";
@@ -11150,6 +12404,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11150
12404
  residentialArea?: string | null | undefined;
11151
12405
  street?: string | null | undefined;
11152
12406
  zipCode?: string | null | undefined;
12407
+ } | {
12408
+ firstname: string;
12409
+ surname: string;
12410
+ middlename?: string | null | undefined;
11153
12411
  } | {
11154
12412
  country: string;
11155
12413
  district: string;
@@ -11172,8 +12430,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11172
12430
  option: string;
11173
12431
  filename: string;
11174
12432
  originalFilename: string;
11175
- }[] | [string, string] | undefined>;
11176
- createdAtLocation: string;
12433
+ }[] | [string, string] | null | undefined>;
12434
+ createdBySignature?: string | null | undefined;
12435
+ createdAtLocation?: string | null | undefined;
11177
12436
  annotation?: Record<string, string | number | boolean | {
11178
12437
  type: string;
11179
12438
  filename: string;
@@ -11189,6 +12448,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11189
12448
  residentialArea?: string | null | undefined;
11190
12449
  street?: string | null | undefined;
11191
12450
  zipCode?: string | null | undefined;
12451
+ } | {
12452
+ firstname: string;
12453
+ surname: string;
12454
+ middlename?: string | null | undefined;
11192
12455
  } | {
11193
12456
  country: string;
11194
12457
  district: string;
@@ -11211,7 +12474,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11211
12474
  option: string;
11212
12475
  filename: string;
11213
12476
  originalFilename: string;
11214
- }[] | [string, string] | undefined> | undefined;
12477
+ }[] | [string, string] | null | undefined> | undefined;
11215
12478
  originalActionId?: string | undefined;
11216
12479
  }>, z.ZodObject<z.objectUtil.extendShape<{
11217
12480
  id: z.ZodString;
@@ -11219,6 +12482,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11219
12482
  createdAt: z.ZodString;
11220
12483
  createdBy: z.ZodString;
11221
12484
  createdByRole: z.ZodString;
12485
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12486
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11222
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<{
11223
12488
  filename: z.ZodString;
11224
12489
  originalFilename: z.ZodString;
@@ -11332,7 +12597,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11332
12597
  addressLine2?: string | null | undefined;
11333
12598
  addressLine3?: string | null | undefined;
11334
12599
  postcodeOrZip?: string | null | undefined;
11335
- }>]>>;
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]>]>>;
11336
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<{
11337
12614
  filename: z.ZodString;
11338
12615
  originalFilename: z.ZodString;
@@ -11446,8 +12723,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11446
12723
  addressLine2?: string | null | undefined;
11447
12724
  addressLine3?: string | null | undefined;
11448
12725
  postcodeOrZip?: string | null | undefined;
11449
- }>]>>>;
11450
- createdAtLocation: z.ZodString;
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]>]>>>;
11451
12739
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11452
12740
  originalActionId: z.ZodOptional<z.ZodString>;
11453
12741
  }, {
@@ -11476,6 +12764,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11476
12764
  residentialArea?: string | null | undefined;
11477
12765
  street?: string | null | undefined;
11478
12766
  zipCode?: string | null | undefined;
12767
+ } | {
12768
+ firstname: string;
12769
+ surname: string;
12770
+ middlename?: string | null | undefined;
11479
12771
  } | {
11480
12772
  country: string;
11481
12773
  district: string;
@@ -11498,9 +12790,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11498
12790
  option: string;
11499
12791
  filename: string;
11500
12792
  originalFilename: string;
11501
- }[] | [string, string] | undefined>;
11502
- createdAtLocation: string;
12793
+ }[] | [string, string] | null | undefined>;
11503
12794
  assignedTo: string;
12795
+ createdBySignature?: string | null | undefined;
12796
+ createdAtLocation?: string | null | undefined;
11504
12797
  annotation?: Record<string, string | number | boolean | {
11505
12798
  type: string;
11506
12799
  filename: string;
@@ -11516,6 +12809,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11516
12809
  residentialArea?: string | null | undefined;
11517
12810
  street?: string | null | undefined;
11518
12811
  zipCode?: string | null | undefined;
12812
+ } | {
12813
+ firstname: string;
12814
+ surname: string;
12815
+ middlename?: string | null | undefined;
11519
12816
  } | {
11520
12817
  country: string;
11521
12818
  district: string;
@@ -11538,7 +12835,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11538
12835
  option: string;
11539
12836
  filename: string;
11540
12837
  originalFilename: string;
11541
- }[] | [string, string] | undefined> | undefined;
12838
+ }[] | [string, string] | null | undefined> | undefined;
11542
12839
  originalActionId?: string | undefined;
11543
12840
  }, {
11544
12841
  type: "ASSIGN";
@@ -11563,6 +12860,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11563
12860
  residentialArea?: string | null | undefined;
11564
12861
  street?: string | null | undefined;
11565
12862
  zipCode?: string | null | undefined;
12863
+ } | {
12864
+ firstname: string;
12865
+ surname: string;
12866
+ middlename?: string | null | undefined;
11566
12867
  } | {
11567
12868
  country: string;
11568
12869
  district: string;
@@ -11585,9 +12886,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11585
12886
  option: string;
11586
12887
  filename: string;
11587
12888
  originalFilename: string;
11588
- }[] | [string, string] | undefined>;
11589
- createdAtLocation: string;
12889
+ }[] | [string, string] | null | undefined>;
11590
12890
  assignedTo: string;
12891
+ createdBySignature?: string | null | undefined;
12892
+ createdAtLocation?: string | null | undefined;
11591
12893
  annotation?: Record<string, string | number | boolean | {
11592
12894
  type: string;
11593
12895
  filename: string;
@@ -11603,6 +12905,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11603
12905
  residentialArea?: string | null | undefined;
11604
12906
  street?: string | null | undefined;
11605
12907
  zipCode?: string | null | undefined;
12908
+ } | {
12909
+ firstname: string;
12910
+ surname: string;
12911
+ middlename?: string | null | undefined;
11606
12912
  } | {
11607
12913
  country: string;
11608
12914
  district: string;
@@ -11625,7 +12931,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11625
12931
  option: string;
11626
12932
  filename: string;
11627
12933
  originalFilename: string;
11628
- }[] | [string, string] | undefined> | undefined;
12934
+ }[] | [string, string] | null | undefined> | undefined;
11629
12935
  originalActionId?: string | undefined;
11630
12936
  }>, z.ZodObject<z.objectUtil.extendShape<{
11631
12937
  id: z.ZodString;
@@ -11633,6 +12939,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11633
12939
  createdAt: z.ZodString;
11634
12940
  createdBy: z.ZodString;
11635
12941
  createdByRole: z.ZodString;
12942
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12943
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11636
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<{
11637
12945
  filename: z.ZodString;
11638
12946
  originalFilename: z.ZodString;
@@ -11746,7 +13054,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11746
13054
  addressLine2?: string | null | undefined;
11747
13055
  addressLine3?: string | null | undefined;
11748
13056
  postcodeOrZip?: string | null | undefined;
11749
- }>]>>;
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]>]>>;
11750
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<{
11751
13071
  filename: z.ZodString;
11752
13072
  originalFilename: z.ZodString;
@@ -11860,8 +13180,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11860
13180
  addressLine2?: string | null | undefined;
11861
13181
  addressLine3?: string | null | undefined;
11862
13182
  postcodeOrZip?: string | null | undefined;
11863
- }>]>>>;
11864
- createdAtLocation: z.ZodString;
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]>]>>>;
11865
13196
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11866
13197
  originalActionId: z.ZodOptional<z.ZodString>;
11867
13198
  }, {
@@ -11889,6 +13220,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11889
13220
  residentialArea?: string | null | undefined;
11890
13221
  street?: string | null | undefined;
11891
13222
  zipCode?: string | null | undefined;
13223
+ } | {
13224
+ firstname: string;
13225
+ surname: string;
13226
+ middlename?: string | null | undefined;
11892
13227
  } | {
11893
13228
  country: string;
11894
13229
  district: string;
@@ -11911,8 +13246,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11911
13246
  option: string;
11912
13247
  filename: string;
11913
13248
  originalFilename: string;
11914
- }[] | [string, string] | undefined>;
11915
- createdAtLocation: string;
13249
+ }[] | [string, string] | null | undefined>;
13250
+ createdBySignature?: string | null | undefined;
13251
+ createdAtLocation?: string | null | undefined;
11916
13252
  annotation?: Record<string, string | number | boolean | {
11917
13253
  type: string;
11918
13254
  filename: string;
@@ -11928,6 +13264,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11928
13264
  residentialArea?: string | null | undefined;
11929
13265
  street?: string | null | undefined;
11930
13266
  zipCode?: string | null | undefined;
13267
+ } | {
13268
+ firstname: string;
13269
+ surname: string;
13270
+ middlename?: string | null | undefined;
11931
13271
  } | {
11932
13272
  country: string;
11933
13273
  district: string;
@@ -11950,7 +13290,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11950
13290
  option: string;
11951
13291
  filename: string;
11952
13292
  originalFilename: string;
11953
- }[] | [string, string] | undefined> | undefined;
13293
+ }[] | [string, string] | null | undefined> | undefined;
11954
13294
  originalActionId?: string | undefined;
11955
13295
  }, {
11956
13296
  type: "REQUEST_CORRECTION";
@@ -11975,6 +13315,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11975
13315
  residentialArea?: string | null | undefined;
11976
13316
  street?: string | null | undefined;
11977
13317
  zipCode?: string | null | undefined;
13318
+ } | {
13319
+ firstname: string;
13320
+ surname: string;
13321
+ middlename?: string | null | undefined;
11978
13322
  } | {
11979
13323
  country: string;
11980
13324
  district: string;
@@ -11997,8 +13341,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11997
13341
  option: string;
11998
13342
  filename: string;
11999
13343
  originalFilename: string;
12000
- }[] | [string, string] | undefined>;
12001
- createdAtLocation: string;
13344
+ }[] | [string, string] | null | undefined>;
13345
+ createdBySignature?: string | null | undefined;
13346
+ createdAtLocation?: string | null | undefined;
12002
13347
  annotation?: Record<string, string | number | boolean | {
12003
13348
  type: string;
12004
13349
  filename: string;
@@ -12014,6 +13359,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12014
13359
  residentialArea?: string | null | undefined;
12015
13360
  street?: string | null | undefined;
12016
13361
  zipCode?: string | null | undefined;
13362
+ } | {
13363
+ firstname: string;
13364
+ surname: string;
13365
+ middlename?: string | null | undefined;
12017
13366
  } | {
12018
13367
  country: string;
12019
13368
  district: string;
@@ -12036,7 +13385,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12036
13385
  option: string;
12037
13386
  filename: string;
12038
13387
  originalFilename: string;
12039
- }[] | [string, string] | undefined> | undefined;
13388
+ }[] | [string, string] | null | undefined> | undefined;
12040
13389
  originalActionId?: string | undefined;
12041
13390
  }>, z.ZodObject<z.objectUtil.extendShape<{
12042
13391
  id: z.ZodString;
@@ -12044,6 +13393,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12044
13393
  createdAt: z.ZodString;
12045
13394
  createdBy: z.ZodString;
12046
13395
  createdByRole: z.ZodString;
13396
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13397
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12047
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<{
12048
13399
  filename: z.ZodString;
12049
13400
  originalFilename: z.ZodString;
@@ -12157,7 +13508,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12157
13508
  addressLine2?: string | null | undefined;
12158
13509
  addressLine3?: string | null | undefined;
12159
13510
  postcodeOrZip?: string | null | undefined;
12160
- }>]>>;
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]>]>>;
12161
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<{
12162
13525
  filename: z.ZodString;
12163
13526
  originalFilename: z.ZodString;
@@ -12271,8 +13634,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12271
13634
  addressLine2?: string | null | undefined;
12272
13635
  addressLine3?: string | null | undefined;
12273
13636
  postcodeOrZip?: string | null | undefined;
12274
- }>]>>>;
12275
- createdAtLocation: z.ZodString;
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]>]>>>;
12276
13650
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12277
13651
  originalActionId: z.ZodOptional<z.ZodString>;
12278
13652
  }, {
@@ -12301,6 +13675,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12301
13675
  residentialArea?: string | null | undefined;
12302
13676
  street?: string | null | undefined;
12303
13677
  zipCode?: string | null | undefined;
13678
+ } | {
13679
+ firstname: string;
13680
+ surname: string;
13681
+ middlename?: string | null | undefined;
12304
13682
  } | {
12305
13683
  country: string;
12306
13684
  district: string;
@@ -12323,9 +13701,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12323
13701
  option: string;
12324
13702
  filename: string;
12325
13703
  originalFilename: string;
12326
- }[] | [string, string] | undefined>;
12327
- createdAtLocation: string;
13704
+ }[] | [string, string] | null | undefined>;
12328
13705
  requestId: string;
13706
+ createdBySignature?: string | null | undefined;
13707
+ createdAtLocation?: string | null | undefined;
12329
13708
  annotation?: Record<string, string | number | boolean | {
12330
13709
  type: string;
12331
13710
  filename: string;
@@ -12341,6 +13720,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12341
13720
  residentialArea?: string | null | undefined;
12342
13721
  street?: string | null | undefined;
12343
13722
  zipCode?: string | null | undefined;
13723
+ } | {
13724
+ firstname: string;
13725
+ surname: string;
13726
+ middlename?: string | null | undefined;
12344
13727
  } | {
12345
13728
  country: string;
12346
13729
  district: string;
@@ -12363,7 +13746,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12363
13746
  option: string;
12364
13747
  filename: string;
12365
13748
  originalFilename: string;
12366
- }[] | [string, string] | undefined> | undefined;
13749
+ }[] | [string, string] | null | undefined> | undefined;
12367
13750
  originalActionId?: string | undefined;
12368
13751
  }, {
12369
13752
  type: "APPROVE_CORRECTION";
@@ -12388,6 +13771,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12388
13771
  residentialArea?: string | null | undefined;
12389
13772
  street?: string | null | undefined;
12390
13773
  zipCode?: string | null | undefined;
13774
+ } | {
13775
+ firstname: string;
13776
+ surname: string;
13777
+ middlename?: string | null | undefined;
12391
13778
  } | {
12392
13779
  country: string;
12393
13780
  district: string;
@@ -12410,9 +13797,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12410
13797
  option: string;
12411
13798
  filename: string;
12412
13799
  originalFilename: string;
12413
- }[] | [string, string] | undefined>;
12414
- createdAtLocation: string;
13800
+ }[] | [string, string] | null | undefined>;
12415
13801
  requestId: string;
13802
+ createdBySignature?: string | null | undefined;
13803
+ createdAtLocation?: string | null | undefined;
12416
13804
  annotation?: Record<string, string | number | boolean | {
12417
13805
  type: string;
12418
13806
  filename: string;
@@ -12428,6 +13816,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12428
13816
  residentialArea?: string | null | undefined;
12429
13817
  street?: string | null | undefined;
12430
13818
  zipCode?: string | null | undefined;
13819
+ } | {
13820
+ firstname: string;
13821
+ surname: string;
13822
+ middlename?: string | null | undefined;
12431
13823
  } | {
12432
13824
  country: string;
12433
13825
  district: string;
@@ -12450,7 +13842,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12450
13842
  option: string;
12451
13843
  filename: string;
12452
13844
  originalFilename: string;
12453
- }[] | [string, string] | undefined> | undefined;
13845
+ }[] | [string, string] | null | undefined> | undefined;
12454
13846
  originalActionId?: string | undefined;
12455
13847
  }>, z.ZodObject<z.objectUtil.extendShape<{
12456
13848
  id: z.ZodString;
@@ -12458,6 +13850,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12458
13850
  createdAt: z.ZodString;
12459
13851
  createdBy: z.ZodString;
12460
13852
  createdByRole: z.ZodString;
13853
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13854
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12461
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<{
12462
13856
  filename: z.ZodString;
12463
13857
  originalFilename: z.ZodString;
@@ -12571,7 +13965,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12571
13965
  addressLine2?: string | null | undefined;
12572
13966
  addressLine3?: string | null | undefined;
12573
13967
  postcodeOrZip?: string | null | undefined;
12574
- }>]>>;
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]>]>>;
12575
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<{
12576
13982
  filename: z.ZodString;
12577
13983
  originalFilename: z.ZodString;
@@ -12685,8 +14091,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12685
14091
  addressLine2?: string | null | undefined;
12686
14092
  addressLine3?: string | null | undefined;
12687
14093
  postcodeOrZip?: string | null | undefined;
12688
- }>]>>>;
12689
- createdAtLocation: z.ZodString;
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]>]>>>;
12690
14107
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12691
14108
  originalActionId: z.ZodOptional<z.ZodString>;
12692
14109
  }, {
@@ -12715,6 +14132,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12715
14132
  residentialArea?: string | null | undefined;
12716
14133
  street?: string | null | undefined;
12717
14134
  zipCode?: string | null | undefined;
14135
+ } | {
14136
+ firstname: string;
14137
+ surname: string;
14138
+ middlename?: string | null | undefined;
12718
14139
  } | {
12719
14140
  country: string;
12720
14141
  district: string;
@@ -12737,9 +14158,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12737
14158
  option: string;
12738
14159
  filename: string;
12739
14160
  originalFilename: string;
12740
- }[] | [string, string] | undefined>;
12741
- createdAtLocation: string;
14161
+ }[] | [string, string] | null | undefined>;
12742
14162
  requestId: string;
14163
+ createdBySignature?: string | null | undefined;
14164
+ createdAtLocation?: string | null | undefined;
12743
14165
  annotation?: Record<string, string | number | boolean | {
12744
14166
  type: string;
12745
14167
  filename: string;
@@ -12755,6 +14177,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12755
14177
  residentialArea?: string | null | undefined;
12756
14178
  street?: string | null | undefined;
12757
14179
  zipCode?: string | null | undefined;
14180
+ } | {
14181
+ firstname: string;
14182
+ surname: string;
14183
+ middlename?: string | null | undefined;
12758
14184
  } | {
12759
14185
  country: string;
12760
14186
  district: string;
@@ -12777,7 +14203,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12777
14203
  option: string;
12778
14204
  filename: string;
12779
14205
  originalFilename: string;
12780
- }[] | [string, string] | undefined> | undefined;
14206
+ }[] | [string, string] | null | undefined> | undefined;
12781
14207
  originalActionId?: string | undefined;
12782
14208
  }, {
12783
14209
  type: "REJECT_CORRECTION";
@@ -12802,6 +14228,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12802
14228
  residentialArea?: string | null | undefined;
12803
14229
  street?: string | null | undefined;
12804
14230
  zipCode?: string | null | undefined;
14231
+ } | {
14232
+ firstname: string;
14233
+ surname: string;
14234
+ middlename?: string | null | undefined;
12805
14235
  } | {
12806
14236
  country: string;
12807
14237
  district: string;
@@ -12824,9 +14254,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12824
14254
  option: string;
12825
14255
  filename: string;
12826
14256
  originalFilename: string;
12827
- }[] | [string, string] | undefined>;
12828
- createdAtLocation: string;
14257
+ }[] | [string, string] | null | undefined>;
12829
14258
  requestId: string;
14259
+ createdBySignature?: string | null | undefined;
14260
+ createdAtLocation?: string | null | undefined;
12830
14261
  annotation?: Record<string, string | number | boolean | {
12831
14262
  type: string;
12832
14263
  filename: string;
@@ -12842,6 +14273,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12842
14273
  residentialArea?: string | null | undefined;
12843
14274
  street?: string | null | undefined;
12844
14275
  zipCode?: string | null | undefined;
14276
+ } | {
14277
+ firstname: string;
14278
+ surname: string;
14279
+ middlename?: string | null | undefined;
12845
14280
  } | {
12846
14281
  country: string;
12847
14282
  district: string;
@@ -12864,7 +14299,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12864
14299
  option: string;
12865
14300
  filename: string;
12866
14301
  originalFilename: string;
12867
- }[] | [string, string] | undefined> | undefined;
14302
+ }[] | [string, string] | null | undefined> | undefined;
12868
14303
  originalActionId?: string | undefined;
12869
14304
  }>, z.ZodObject<z.objectUtil.extendShape<{
12870
14305
  id: z.ZodString;
@@ -12872,6 +14307,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12872
14307
  createdAt: z.ZodString;
12873
14308
  createdBy: z.ZodString;
12874
14309
  createdByRole: z.ZodString;
14310
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14311
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12875
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<{
12876
14313
  filename: z.ZodString;
12877
14314
  originalFilename: z.ZodString;
@@ -12985,7 +14422,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12985
14422
  addressLine2?: string | null | undefined;
12986
14423
  addressLine3?: string | null | undefined;
12987
14424
  postcodeOrZip?: string | null | undefined;
12988
- }>]>>;
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]>]>>;
12989
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<{
12990
14439
  filename: z.ZodString;
12991
14440
  originalFilename: z.ZodString;
@@ -13099,8 +14548,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13099
14548
  addressLine2?: string | null | undefined;
13100
14549
  addressLine3?: string | null | undefined;
13101
14550
  postcodeOrZip?: string | null | undefined;
13102
- }>]>>>;
13103
- createdAtLocation: z.ZodString;
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]>]>>>;
13104
14564
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13105
14565
  originalActionId: z.ZodOptional<z.ZodString>;
13106
14566
  }, {
@@ -13129,6 +14589,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13129
14589
  residentialArea?: string | null | undefined;
13130
14590
  street?: string | null | undefined;
13131
14591
  zipCode?: string | null | undefined;
14592
+ } | {
14593
+ firstname: string;
14594
+ surname: string;
14595
+ middlename?: string | null | undefined;
13132
14596
  } | {
13133
14597
  country: string;
13134
14598
  district: string;
@@ -13151,9 +14615,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13151
14615
  option: string;
13152
14616
  filename: string;
13153
14617
  originalFilename: string;
13154
- }[] | [string, string] | undefined>;
13155
- createdAtLocation: string;
14618
+ }[] | [string, string] | null | undefined>;
13156
14619
  assignedTo: null;
14620
+ createdBySignature?: string | null | undefined;
14621
+ createdAtLocation?: string | null | undefined;
13157
14622
  annotation?: Record<string, string | number | boolean | {
13158
14623
  type: string;
13159
14624
  filename: string;
@@ -13169,6 +14634,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13169
14634
  residentialArea?: string | null | undefined;
13170
14635
  street?: string | null | undefined;
13171
14636
  zipCode?: string | null | undefined;
14637
+ } | {
14638
+ firstname: string;
14639
+ surname: string;
14640
+ middlename?: string | null | undefined;
13172
14641
  } | {
13173
14642
  country: string;
13174
14643
  district: string;
@@ -13191,7 +14660,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13191
14660
  option: string;
13192
14661
  filename: string;
13193
14662
  originalFilename: string;
13194
- }[] | [string, string] | undefined> | undefined;
14663
+ }[] | [string, string] | null | undefined> | undefined;
13195
14664
  originalActionId?: string | undefined;
13196
14665
  }, {
13197
14666
  type: "UNASSIGN";
@@ -13216,6 +14685,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13216
14685
  residentialArea?: string | null | undefined;
13217
14686
  street?: string | null | undefined;
13218
14687
  zipCode?: string | null | undefined;
14688
+ } | {
14689
+ firstname: string;
14690
+ surname: string;
14691
+ middlename?: string | null | undefined;
13219
14692
  } | {
13220
14693
  country: string;
13221
14694
  district: string;
@@ -13238,9 +14711,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13238
14711
  option: string;
13239
14712
  filename: string;
13240
14713
  originalFilename: string;
13241
- }[] | [string, string] | undefined>;
13242
- createdAtLocation: string;
14714
+ }[] | [string, string] | null | undefined>;
13243
14715
  assignedTo: null;
14716
+ createdBySignature?: string | null | undefined;
14717
+ createdAtLocation?: string | null | undefined;
13244
14718
  annotation?: Record<string, string | number | boolean | {
13245
14719
  type: string;
13246
14720
  filename: string;
@@ -13256,6 +14730,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13256
14730
  residentialArea?: string | null | undefined;
13257
14731
  street?: string | null | undefined;
13258
14732
  zipCode?: string | null | undefined;
14733
+ } | {
14734
+ firstname: string;
14735
+ surname: string;
14736
+ middlename?: string | null | undefined;
13259
14737
  } | {
13260
14738
  country: string;
13261
14739
  district: string;
@@ -13278,7 +14756,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13278
14756
  option: string;
13279
14757
  filename: string;
13280
14758
  originalFilename: string;
13281
- }[] | [string, string] | undefined> | undefined;
14759
+ }[] | [string, string] | null | undefined> | undefined;
13282
14760
  originalActionId?: string | undefined;
13283
14761
  }>, z.ZodObject<z.objectUtil.extendShape<{
13284
14762
  id: z.ZodString;
@@ -13286,6 +14764,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13286
14764
  createdAt: z.ZodString;
13287
14765
  createdBy: z.ZodString;
13288
14766
  createdByRole: z.ZodString;
14767
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14768
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13289
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<{
13290
14770
  filename: z.ZodString;
13291
14771
  originalFilename: z.ZodString;
@@ -13399,7 +14879,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13399
14879
  addressLine2?: string | null | undefined;
13400
14880
  addressLine3?: string | null | undefined;
13401
14881
  postcodeOrZip?: string | null | undefined;
13402
- }>]>>;
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]>]>>;
13403
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<{
13404
14896
  filename: z.ZodString;
13405
14897
  originalFilename: z.ZodString;
@@ -13513,8 +15005,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13513
15005
  addressLine2?: string | null | undefined;
13514
15006
  addressLine3?: string | null | undefined;
13515
15007
  postcodeOrZip?: string | null | undefined;
13516
- }>]>>>;
13517
- createdAtLocation: z.ZodString;
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]>]>>>;
13518
15021
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13519
15022
  originalActionId: z.ZodOptional<z.ZodString>;
13520
15023
  }, {
@@ -13542,6 +15045,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13542
15045
  residentialArea?: string | null | undefined;
13543
15046
  street?: string | null | undefined;
13544
15047
  zipCode?: string | null | undefined;
15048
+ } | {
15049
+ firstname: string;
15050
+ surname: string;
15051
+ middlename?: string | null | undefined;
13545
15052
  } | {
13546
15053
  country: string;
13547
15054
  district: string;
@@ -13564,8 +15071,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13564
15071
  option: string;
13565
15072
  filename: string;
13566
15073
  originalFilename: string;
13567
- }[] | [string, string] | undefined>;
13568
- createdAtLocation: string;
15074
+ }[] | [string, string] | null | undefined>;
15075
+ createdBySignature?: string | null | undefined;
15076
+ createdAtLocation?: string | null | undefined;
13569
15077
  annotation?: Record<string, string | number | boolean | {
13570
15078
  type: string;
13571
15079
  filename: string;
@@ -13581,6 +15089,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13581
15089
  residentialArea?: string | null | undefined;
13582
15090
  street?: string | null | undefined;
13583
15091
  zipCode?: string | null | undefined;
15092
+ } | {
15093
+ firstname: string;
15094
+ surname: string;
15095
+ middlename?: string | null | undefined;
13584
15096
  } | {
13585
15097
  country: string;
13586
15098
  district: string;
@@ -13603,7 +15115,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13603
15115
  option: string;
13604
15116
  filename: string;
13605
15117
  originalFilename: string;
13606
- }[] | [string, string] | undefined> | undefined;
15118
+ }[] | [string, string] | null | undefined> | undefined;
13607
15119
  originalActionId?: string | undefined;
13608
15120
  }, {
13609
15121
  type: "PRINT_CERTIFICATE";
@@ -13628,6 +15140,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13628
15140
  residentialArea?: string | null | undefined;
13629
15141
  street?: string | null | undefined;
13630
15142
  zipCode?: string | null | undefined;
15143
+ } | {
15144
+ firstname: string;
15145
+ surname: string;
15146
+ middlename?: string | null | undefined;
13631
15147
  } | {
13632
15148
  country: string;
13633
15149
  district: string;
@@ -13650,8 +15166,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13650
15166
  option: string;
13651
15167
  filename: string;
13652
15168
  originalFilename: string;
13653
- }[] | [string, string] | undefined>;
13654
- createdAtLocation: string;
15169
+ }[] | [string, string] | null | undefined>;
15170
+ createdBySignature?: string | null | undefined;
15171
+ createdAtLocation?: string | null | undefined;
13655
15172
  annotation?: Record<string, string | number | boolean | {
13656
15173
  type: string;
13657
15174
  filename: string;
@@ -13667,6 +15184,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13667
15184
  residentialArea?: string | null | undefined;
13668
15185
  street?: string | null | undefined;
13669
15186
  zipCode?: string | null | undefined;
15187
+ } | {
15188
+ firstname: string;
15189
+ surname: string;
15190
+ middlename?: string | null | undefined;
13670
15191
  } | {
13671
15192
  country: string;
13672
15193
  district: string;
@@ -13689,7 +15210,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13689
15210
  option: string;
13690
15211
  filename: string;
13691
15212
  originalFilename: string;
13692
- }[] | [string, string] | undefined> | undefined;
15213
+ }[] | [string, string] | null | undefined> | undefined;
13693
15214
  originalActionId?: string | undefined;
13694
15215
  }>, z.ZodObject<z.objectUtil.extendShape<{
13695
15216
  id: z.ZodString;
@@ -13697,6 +15218,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13697
15218
  createdAt: z.ZodString;
13698
15219
  createdBy: z.ZodString;
13699
15220
  createdByRole: z.ZodString;
15221
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15222
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13700
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<{
13701
15224
  filename: z.ZodString;
13702
15225
  originalFilename: z.ZodString;
@@ -13810,7 +15333,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13810
15333
  addressLine2?: string | null | undefined;
13811
15334
  addressLine3?: string | null | undefined;
13812
15335
  postcodeOrZip?: string | null | undefined;
13813
- }>]>>;
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]>]>>;
13814
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<{
13815
15350
  filename: z.ZodString;
13816
15351
  originalFilename: z.ZodString;
@@ -13924,8 +15459,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13924
15459
  addressLine2?: string | null | undefined;
13925
15460
  addressLine3?: string | null | undefined;
13926
15461
  postcodeOrZip?: string | null | undefined;
13927
- }>]>>>;
13928
- createdAtLocation: z.ZodString;
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]>]>>>;
13929
15475
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13930
15476
  originalActionId: z.ZodOptional<z.ZodString>;
13931
15477
  }, {
@@ -13953,6 +15499,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13953
15499
  residentialArea?: string | null | undefined;
13954
15500
  street?: string | null | undefined;
13955
15501
  zipCode?: string | null | undefined;
15502
+ } | {
15503
+ firstname: string;
15504
+ surname: string;
15505
+ middlename?: string | null | undefined;
13956
15506
  } | {
13957
15507
  country: string;
13958
15508
  district: string;
@@ -13975,8 +15525,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13975
15525
  option: string;
13976
15526
  filename: string;
13977
15527
  originalFilename: string;
13978
- }[] | [string, string] | undefined>;
13979
- createdAtLocation: string;
15528
+ }[] | [string, string] | null | undefined>;
15529
+ createdBySignature?: string | null | undefined;
15530
+ createdAtLocation?: string | null | undefined;
13980
15531
  annotation?: Record<string, string | number | boolean | {
13981
15532
  type: string;
13982
15533
  filename: string;
@@ -13992,6 +15543,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13992
15543
  residentialArea?: string | null | undefined;
13993
15544
  street?: string | null | undefined;
13994
15545
  zipCode?: string | null | undefined;
15546
+ } | {
15547
+ firstname: string;
15548
+ surname: string;
15549
+ middlename?: string | null | undefined;
13995
15550
  } | {
13996
15551
  country: string;
13997
15552
  district: string;
@@ -14014,7 +15569,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14014
15569
  option: string;
14015
15570
  filename: string;
14016
15571
  originalFilename: string;
14017
- }[] | [string, string] | undefined> | undefined;
15572
+ }[] | [string, string] | null | undefined> | undefined;
14018
15573
  originalActionId?: string | undefined;
14019
15574
  }, {
14020
15575
  type: "READ";
@@ -14039,6 +15594,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14039
15594
  residentialArea?: string | null | undefined;
14040
15595
  street?: string | null | undefined;
14041
15596
  zipCode?: string | null | undefined;
15597
+ } | {
15598
+ firstname: string;
15599
+ surname: string;
15600
+ middlename?: string | null | undefined;
14042
15601
  } | {
14043
15602
  country: string;
14044
15603
  district: string;
@@ -14061,8 +15620,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14061
15620
  option: string;
14062
15621
  filename: string;
14063
15622
  originalFilename: string;
14064
- }[] | [string, string] | undefined>;
14065
- createdAtLocation: string;
15623
+ }[] | [string, string] | null | undefined>;
15624
+ createdBySignature?: string | null | undefined;
15625
+ createdAtLocation?: string | null | undefined;
14066
15626
  annotation?: Record<string, string | number | boolean | {
14067
15627
  type: string;
14068
15628
  filename: string;
@@ -14078,6 +15638,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14078
15638
  residentialArea?: string | null | undefined;
14079
15639
  street?: string | null | undefined;
14080
15640
  zipCode?: string | null | undefined;
15641
+ } | {
15642
+ firstname: string;
15643
+ surname: string;
15644
+ middlename?: string | null | undefined;
14081
15645
  } | {
14082
15646
  country: string;
14083
15647
  district: string;
@@ -14100,7 +15664,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14100
15664
  option: string;
14101
15665
  filename: string;
14102
15666
  originalFilename: string;
14103
- }[] | [string, string] | undefined> | undefined;
15667
+ }[] | [string, string] | null | undefined> | undefined;
14104
15668
  originalActionId?: string | undefined;
14105
15669
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14106
15670
  id: z.ZodString;
@@ -14108,6 +15672,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14108
15672
  createdAt: z.ZodString;
14109
15673
  createdBy: z.ZodString;
14110
15674
  createdByRole: z.ZodString;
15675
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15676
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14111
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<{
14112
15678
  filename: z.ZodString;
14113
15679
  originalFilename: z.ZodString;
@@ -14221,7 +15787,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14221
15787
  addressLine2?: string | null | undefined;
14222
15788
  addressLine3?: string | null | undefined;
14223
15789
  postcodeOrZip?: string | null | undefined;
14224
- }>]>>;
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]>]>>;
14225
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<{
14226
15804
  filename: z.ZodString;
14227
15805
  originalFilename: z.ZodString;
@@ -14335,8 +15913,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14335
15913
  addressLine2?: string | null | undefined;
14336
15914
  addressLine3?: string | null | undefined;
14337
15915
  postcodeOrZip?: string | null | undefined;
14338
- }>]>>>;
14339
- createdAtLocation: z.ZodString;
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]>]>>>;
14340
15929
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14341
15930
  originalActionId: z.ZodOptional<z.ZodString>;
14342
15931
  }, "declaration" | "annotation">, {
@@ -14350,7 +15939,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14350
15939
  createdAt: string;
14351
15940
  createdBy: string;
14352
15941
  createdByRole: string;
14353
- createdAtLocation: string;
15942
+ createdBySignature?: string | null | undefined;
15943
+ createdAtLocation?: string | null | undefined;
14354
15944
  originalActionId?: string | undefined;
14355
15945
  }, {
14356
15946
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -14360,7 +15950,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14360
15950
  createdAt: string;
14361
15951
  createdBy: string;
14362
15952
  createdByRole: string;
14363
- createdAtLocation: string;
15953
+ createdBySignature?: string | null | undefined;
15954
+ createdAtLocation?: string | null | undefined;
14364
15955
  originalActionId?: string | undefined;
14365
15956
  }>]>;
14366
15957
  export type Action = ActionDocument | AsyncRejectActionDocument;