@opencrvs/toolkit 1.8.0-rc.f9fb039 → 1.8.0-rc.fa49ae3

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 +15058 -4901
  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 +32976 -12647
  5. package/dist/commons/events/ActionDocument.d.ts +2005 -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 +509 -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 +3008 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  13. package/dist/commons/events/Draft.d.ts +127 -21
  14. package/dist/commons/events/EventConfig.d.ts +27068 -16943
  15. package/dist/commons/events/EventDocument.d.ts +1308 -251
  16. package/dist/commons/events/EventIndex.d.ts +502 -486
  17. package/dist/commons/events/EventInput.d.ts +0 -13
  18. package/dist/commons/events/EventMetadata.d.ts +104 -77
  19. package/dist/commons/events/FieldConfig.d.ts +2074 -1202
  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 +10259 -4769
  24. package/dist/commons/events/PageConfig.d.ts +3480 -2134
  25. package/dist/commons/events/SummaryConfig.d.ts +17 -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 +4110 -659
  29. package/dist/commons/events/defineConfig.d.ts +2435 -680
  30. package/dist/commons/events/event.d.ts +5 -5
  31. package/dist/commons/events/field.d.ts +10 -10
  32. package/dist/commons/events/index.d.ts +4 -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 +10013 -326
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +45 -8
  39. package/dist/events/index.js +2836 -1172
  40. package/dist/scopes/index.d.ts +158 -1
  41. package/dist/scopes/index.js +152 -1
  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";
@@ -244,9 +280,12 @@ export type ActionStatus = keyof typeof ActionStatus;
244
280
  export declare const ActionBase: z.ZodObject<{
245
281
  id: z.ZodString;
246
282
  transactionId: z.ZodString;
283
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
247
284
  createdAt: z.ZodString;
248
285
  createdBy: z.ZodString;
249
286
  createdByRole: z.ZodString;
287
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
289
  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
290
  filename: z.ZodString;
252
291
  originalFilename: z.ZodString;
@@ -360,7 +399,19 @@ export declare const ActionBase: z.ZodObject<{
360
399
  addressLine2?: string | null | undefined;
361
400
  addressLine3?: string | null | undefined;
362
401
  postcodeOrZip?: string | null | undefined;
363
- }>]>>;
402
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
403
+ firstname: z.ZodString;
404
+ surname: z.ZodString;
405
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ firstname: string;
408
+ surname: string;
409
+ middlename?: string | null | undefined;
410
+ }, {
411
+ firstname: string;
412
+ surname: string;
413
+ middlename?: string | null | undefined;
414
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
364
415
  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
416
  filename: z.ZodString;
366
417
  originalFilename: z.ZodString;
@@ -474,8 +525,19 @@ export declare const ActionBase: z.ZodObject<{
474
525
  addressLine2?: string | null | undefined;
475
526
  addressLine3?: string | null | undefined;
476
527
  postcodeOrZip?: string | null | undefined;
477
- }>]>>>;
478
- createdAtLocation: z.ZodString;
528
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
529
+ firstname: z.ZodString;
530
+ surname: z.ZodString;
531
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ firstname: string;
534
+ surname: string;
535
+ middlename?: string | null | undefined;
536
+ }, {
537
+ firstname: string;
538
+ surname: string;
539
+ middlename?: string | null | undefined;
540
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
479
541
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
480
542
  originalActionId: z.ZodOptional<z.ZodString>;
481
543
  }, "strip", z.ZodTypeAny, {
@@ -500,6 +562,10 @@ export declare const ActionBase: z.ZodObject<{
500
562
  residentialArea?: string | null | undefined;
501
563
  street?: string | null | undefined;
502
564
  zipCode?: string | null | undefined;
565
+ } | {
566
+ firstname: string;
567
+ surname: string;
568
+ middlename?: string | null | undefined;
503
569
  } | {
504
570
  country: string;
505
571
  district: string;
@@ -522,8 +588,10 @@ export declare const ActionBase: z.ZodObject<{
522
588
  option: string;
523
589
  filename: string;
524
590
  originalFilename: string;
525
- }[] | [string, string] | undefined>;
526
- createdAtLocation: string;
591
+ }[] | [string, string] | null | undefined>;
592
+ creator?: "system" | "user" | undefined;
593
+ createdBySignature?: string | null | undefined;
594
+ createdAtLocation?: string | null | undefined;
527
595
  annotation?: Record<string, string | number | boolean | {
528
596
  type: string;
529
597
  filename: string;
@@ -539,6 +607,10 @@ export declare const ActionBase: z.ZodObject<{
539
607
  residentialArea?: string | null | undefined;
540
608
  street?: string | null | undefined;
541
609
  zipCode?: string | null | undefined;
610
+ } | {
611
+ firstname: string;
612
+ surname: string;
613
+ middlename?: string | null | undefined;
542
614
  } | {
543
615
  country: string;
544
616
  district: string;
@@ -561,7 +633,7 @@ export declare const ActionBase: z.ZodObject<{
561
633
  option: string;
562
634
  filename: string;
563
635
  originalFilename: string;
564
- }[] | [string, string] | undefined> | undefined;
636
+ }[] | [string, string] | null | undefined> | undefined;
565
637
  originalActionId?: string | undefined;
566
638
  }, {
567
639
  id: string;
@@ -585,6 +657,10 @@ export declare const ActionBase: z.ZodObject<{
585
657
  residentialArea?: string | null | undefined;
586
658
  street?: string | null | undefined;
587
659
  zipCode?: string | null | undefined;
660
+ } | {
661
+ firstname: string;
662
+ surname: string;
663
+ middlename?: string | null | undefined;
588
664
  } | {
589
665
  country: string;
590
666
  district: string;
@@ -607,8 +683,10 @@ export declare const ActionBase: z.ZodObject<{
607
683
  option: string;
608
684
  filename: string;
609
685
  originalFilename: string;
610
- }[] | [string, string] | undefined>;
611
- createdAtLocation: string;
686
+ }[] | [string, string] | null | undefined>;
687
+ creator?: "system" | "user" | undefined;
688
+ createdBySignature?: string | null | undefined;
689
+ createdAtLocation?: string | null | undefined;
612
690
  annotation?: Record<string, string | number | boolean | {
613
691
  type: string;
614
692
  filename: string;
@@ -624,6 +702,10 @@ export declare const ActionBase: z.ZodObject<{
624
702
  residentialArea?: string | null | undefined;
625
703
  street?: string | null | undefined;
626
704
  zipCode?: string | null | undefined;
705
+ } | {
706
+ firstname: string;
707
+ surname: string;
708
+ middlename?: string | null | undefined;
627
709
  } | {
628
710
  country: string;
629
711
  district: string;
@@ -646,16 +728,19 @@ export declare const ActionBase: z.ZodObject<{
646
728
  option: string;
647
729
  filename: string;
648
730
  originalFilename: string;
649
- }[] | [string, string] | undefined> | undefined;
731
+ }[] | [string, string] | null | undefined> | undefined;
650
732
  originalActionId?: string | undefined;
651
733
  }>;
652
734
  export type ActionBase = z.infer<typeof ActionBase>;
653
735
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
654
736
  id: z.ZodString;
655
737
  transactionId: z.ZodString;
738
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
656
739
  createdAt: z.ZodString;
657
740
  createdBy: z.ZodString;
658
741
  createdByRole: z.ZodString;
742
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
659
744
  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
745
  filename: z.ZodString;
661
746
  originalFilename: z.ZodString;
@@ -769,7 +854,19 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
769
854
  addressLine2?: string | null | undefined;
770
855
  addressLine3?: string | null | undefined;
771
856
  postcodeOrZip?: string | null | undefined;
772
- }>]>>;
857
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
858
+ firstname: z.ZodString;
859
+ surname: z.ZodString;
860
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ firstname: string;
863
+ surname: string;
864
+ middlename?: string | null | undefined;
865
+ }, {
866
+ firstname: string;
867
+ surname: string;
868
+ middlename?: string | null | undefined;
869
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
773
870
  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
871
  filename: z.ZodString;
775
872
  originalFilename: z.ZodString;
@@ -883,8 +980,19 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
883
980
  addressLine2?: string | null | undefined;
884
981
  addressLine3?: string | null | undefined;
885
982
  postcodeOrZip?: string | null | undefined;
886
- }>]>>>;
887
- createdAtLocation: z.ZodString;
983
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
984
+ firstname: z.ZodString;
985
+ surname: z.ZodString;
986
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
987
+ }, "strip", z.ZodTypeAny, {
988
+ firstname: string;
989
+ surname: string;
990
+ middlename?: string | null | undefined;
991
+ }, {
992
+ firstname: string;
993
+ surname: string;
994
+ middlename?: string | null | undefined;
995
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
888
996
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
889
997
  originalActionId: z.ZodOptional<z.ZodString>;
890
998
  }, {
@@ -913,6 +1021,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
913
1021
  residentialArea?: string | null | undefined;
914
1022
  street?: string | null | undefined;
915
1023
  zipCode?: string | null | undefined;
1024
+ } | {
1025
+ firstname: string;
1026
+ surname: string;
1027
+ middlename?: string | null | undefined;
916
1028
  } | {
917
1029
  country: string;
918
1030
  district: string;
@@ -935,8 +1047,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
935
1047
  option: string;
936
1048
  filename: string;
937
1049
  originalFilename: string;
938
- }[] | [string, string] | undefined>;
939
- createdAtLocation: string;
1050
+ }[] | [string, string] | null | undefined>;
1051
+ creator?: "system" | "user" | undefined;
1052
+ createdBySignature?: string | null | undefined;
1053
+ createdAtLocation?: string | null | undefined;
940
1054
  annotation?: Record<string, string | number | boolean | {
941
1055
  type: string;
942
1056
  filename: string;
@@ -952,6 +1066,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
952
1066
  residentialArea?: string | null | undefined;
953
1067
  street?: string | null | undefined;
954
1068
  zipCode?: string | null | undefined;
1069
+ } | {
1070
+ firstname: string;
1071
+ surname: string;
1072
+ middlename?: string | null | undefined;
955
1073
  } | {
956
1074
  country: string;
957
1075
  district: string;
@@ -974,7 +1092,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
974
1092
  option: string;
975
1093
  filename: string;
976
1094
  originalFilename: string;
977
- }[] | [string, string] | undefined> | undefined;
1095
+ }[] | [string, string] | null | undefined> | undefined;
978
1096
  originalActionId?: string | undefined;
979
1097
  registrationNumber?: string | undefined;
980
1098
  }, {
@@ -1000,6 +1118,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1000
1118
  residentialArea?: string | null | undefined;
1001
1119
  street?: string | null | undefined;
1002
1120
  zipCode?: string | null | undefined;
1121
+ } | {
1122
+ firstname: string;
1123
+ surname: string;
1124
+ middlename?: string | null | undefined;
1003
1125
  } | {
1004
1126
  country: string;
1005
1127
  district: string;
@@ -1022,8 +1144,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1022
1144
  option: string;
1023
1145
  filename: string;
1024
1146
  originalFilename: string;
1025
- }[] | [string, string] | undefined>;
1026
- createdAtLocation: string;
1147
+ }[] | [string, string] | null | undefined>;
1148
+ creator?: "system" | "user" | undefined;
1149
+ createdBySignature?: string | null | undefined;
1150
+ createdAtLocation?: string | null | undefined;
1027
1151
  annotation?: Record<string, string | number | boolean | {
1028
1152
  type: string;
1029
1153
  filename: string;
@@ -1039,6 +1163,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1039
1163
  residentialArea?: string | null | undefined;
1040
1164
  street?: string | null | undefined;
1041
1165
  zipCode?: string | null | undefined;
1166
+ } | {
1167
+ firstname: string;
1168
+ surname: string;
1169
+ middlename?: string | null | undefined;
1042
1170
  } | {
1043
1171
  country: string;
1044
1172
  district: string;
@@ -1061,17 +1189,30 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1061
1189
  option: string;
1062
1190
  filename: string;
1063
1191
  originalFilename: string;
1064
- }[] | [string, string] | undefined> | undefined;
1192
+ }[] | [string, string] | null | undefined> | undefined;
1065
1193
  originalActionId?: string | undefined;
1066
1194
  registrationNumber?: string | undefined;
1067
1195
  }>;
1068
1196
  export type RegisterAction = z.infer<typeof RegisterAction>;
1197
+ export declare const RejectionReason: z.ZodObject<{
1198
+ message: z.ZodString;
1199
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1200
+ }, "strip", z.ZodTypeAny, {
1201
+ message: string;
1202
+ isDuplicate?: boolean | undefined;
1203
+ }, {
1204
+ message: string;
1205
+ isDuplicate?: boolean | undefined;
1206
+ }>;
1069
1207
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1070
1208
  id: z.ZodString;
1071
1209
  transactionId: z.ZodString;
1210
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1072
1211
  createdAt: z.ZodString;
1073
1212
  createdBy: z.ZodString;
1074
1213
  createdByRole: z.ZodString;
1214
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
1216
  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
1217
  filename: z.ZodString;
1077
1218
  originalFilename: z.ZodString;
@@ -1185,7 +1326,19 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1185
1326
  addressLine2?: string | null | undefined;
1186
1327
  addressLine3?: string | null | undefined;
1187
1328
  postcodeOrZip?: string | null | undefined;
1188
- }>]>>;
1329
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1330
+ firstname: z.ZodString;
1331
+ surname: z.ZodString;
1332
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ firstname: string;
1335
+ surname: string;
1336
+ middlename?: string | null | undefined;
1337
+ }, {
1338
+ firstname: string;
1339
+ surname: string;
1340
+ middlename?: string | null | undefined;
1341
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1189
1342
  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
1343
  filename: z.ZodString;
1191
1344
  originalFilename: z.ZodString;
@@ -1299,8 +1452,19 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1299
1452
  addressLine2?: string | null | undefined;
1300
1453
  addressLine3?: string | null | undefined;
1301
1454
  postcodeOrZip?: string | null | undefined;
1302
- }>]>>>;
1303
- createdAtLocation: z.ZodString;
1455
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1456
+ firstname: z.ZodString;
1457
+ surname: z.ZodString;
1458
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ firstname: string;
1461
+ surname: string;
1462
+ middlename?: string | null | undefined;
1463
+ }, {
1464
+ firstname: string;
1465
+ surname: string;
1466
+ middlename?: string | null | undefined;
1467
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1304
1468
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1305
1469
  originalActionId: z.ZodOptional<z.ZodString>;
1306
1470
  }, {
@@ -1328,6 +1492,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1328
1492
  residentialArea?: string | null | undefined;
1329
1493
  street?: string | null | undefined;
1330
1494
  zipCode?: string | null | undefined;
1495
+ } | {
1496
+ firstname: string;
1497
+ surname: string;
1498
+ middlename?: string | null | undefined;
1331
1499
  } | {
1332
1500
  country: string;
1333
1501
  district: string;
@@ -1350,8 +1518,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1350
1518
  option: string;
1351
1519
  filename: string;
1352
1520
  originalFilename: string;
1353
- }[] | [string, string] | undefined>;
1354
- createdAtLocation: string;
1521
+ }[] | [string, string] | null | undefined>;
1522
+ creator?: "system" | "user" | undefined;
1523
+ createdBySignature?: string | null | undefined;
1524
+ createdAtLocation?: string | null | undefined;
1355
1525
  annotation?: Record<string, string | number | boolean | {
1356
1526
  type: string;
1357
1527
  filename: string;
@@ -1367,6 +1537,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1367
1537
  residentialArea?: string | null | undefined;
1368
1538
  street?: string | null | undefined;
1369
1539
  zipCode?: string | null | undefined;
1540
+ } | {
1541
+ firstname: string;
1542
+ surname: string;
1543
+ middlename?: string | null | undefined;
1370
1544
  } | {
1371
1545
  country: string;
1372
1546
  district: string;
@@ -1389,7 +1563,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1389
1563
  option: string;
1390
1564
  filename: string;
1391
1565
  originalFilename: string;
1392
- }[] | [string, string] | undefined> | undefined;
1566
+ }[] | [string, string] | null | undefined> | undefined;
1393
1567
  originalActionId?: string | undefined;
1394
1568
  }, {
1395
1569
  type: "CREATE";
@@ -1414,6 +1588,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1414
1588
  residentialArea?: string | null | undefined;
1415
1589
  street?: string | null | undefined;
1416
1590
  zipCode?: string | null | undefined;
1591
+ } | {
1592
+ firstname: string;
1593
+ surname: string;
1594
+ middlename?: string | null | undefined;
1417
1595
  } | {
1418
1596
  country: string;
1419
1597
  district: string;
@@ -1436,8 +1614,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1436
1614
  option: string;
1437
1615
  filename: string;
1438
1616
  originalFilename: string;
1439
- }[] | [string, string] | undefined>;
1440
- createdAtLocation: string;
1617
+ }[] | [string, string] | null | undefined>;
1618
+ creator?: "system" | "user" | undefined;
1619
+ createdBySignature?: string | null | undefined;
1620
+ createdAtLocation?: string | null | undefined;
1441
1621
  annotation?: Record<string, string | number | boolean | {
1442
1622
  type: string;
1443
1623
  filename: string;
@@ -1453,6 +1633,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1453
1633
  residentialArea?: string | null | undefined;
1454
1634
  street?: string | null | undefined;
1455
1635
  zipCode?: string | null | undefined;
1636
+ } | {
1637
+ firstname: string;
1638
+ surname: string;
1639
+ middlename?: string | null | undefined;
1456
1640
  } | {
1457
1641
  country: string;
1458
1642
  district: string;
@@ -1475,15 +1659,18 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1475
1659
  option: string;
1476
1660
  filename: string;
1477
1661
  originalFilename: string;
1478
- }[] | [string, string] | undefined> | undefined;
1662
+ }[] | [string, string] | null | undefined> | undefined;
1479
1663
  originalActionId?: string | undefined;
1480
1664
  }>;
1481
1665
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1482
1666
  id: z.ZodString;
1483
1667
  transactionId: z.ZodString;
1668
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1484
1669
  createdAt: z.ZodString;
1485
1670
  createdBy: z.ZodString;
1486
1671
  createdByRole: z.ZodString;
1672
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1487
1674
  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
1675
  filename: z.ZodString;
1489
1676
  originalFilename: z.ZodString;
@@ -1597,7 +1784,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1597
1784
  addressLine2?: string | null | undefined;
1598
1785
  addressLine3?: string | null | undefined;
1599
1786
  postcodeOrZip?: string | null | undefined;
1600
- }>]>>;
1787
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1788
+ firstname: z.ZodString;
1789
+ surname: z.ZodString;
1790
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1791
+ }, "strip", z.ZodTypeAny, {
1792
+ firstname: string;
1793
+ surname: string;
1794
+ middlename?: string | null | undefined;
1795
+ }, {
1796
+ firstname: string;
1797
+ surname: string;
1798
+ middlename?: string | null | undefined;
1799
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1601
1800
  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
1801
  filename: z.ZodString;
1603
1802
  originalFilename: z.ZodString;
@@ -1711,8 +1910,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1711
1910
  addressLine2?: string | null | undefined;
1712
1911
  addressLine3?: string | null | undefined;
1713
1912
  postcodeOrZip?: string | null | undefined;
1714
- }>]>>>;
1715
- createdAtLocation: z.ZodString;
1913
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1914
+ firstname: z.ZodString;
1915
+ surname: z.ZodString;
1916
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1917
+ }, "strip", z.ZodTypeAny, {
1918
+ firstname: string;
1919
+ surname: string;
1920
+ middlename?: string | null | undefined;
1921
+ }, {
1922
+ firstname: string;
1923
+ surname: string;
1924
+ middlename?: string | null | undefined;
1925
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1716
1926
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1717
1927
  originalActionId: z.ZodOptional<z.ZodString>;
1718
1928
  }, {
@@ -1740,6 +1950,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1740
1950
  residentialArea?: string | null | undefined;
1741
1951
  street?: string | null | undefined;
1742
1952
  zipCode?: string | null | undefined;
1953
+ } | {
1954
+ firstname: string;
1955
+ surname: string;
1956
+ middlename?: string | null | undefined;
1743
1957
  } | {
1744
1958
  country: string;
1745
1959
  district: string;
@@ -1762,8 +1976,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1762
1976
  option: string;
1763
1977
  filename: string;
1764
1978
  originalFilename: string;
1765
- }[] | [string, string] | undefined>;
1766
- createdAtLocation: string;
1979
+ }[] | [string, string] | null | undefined>;
1980
+ creator?: "system" | "user" | undefined;
1981
+ createdBySignature?: string | null | undefined;
1982
+ createdAtLocation?: string | null | undefined;
1767
1983
  annotation?: Record<string, string | number | boolean | {
1768
1984
  type: string;
1769
1985
  filename: string;
@@ -1779,6 +1995,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1779
1995
  residentialArea?: string | null | undefined;
1780
1996
  street?: string | null | undefined;
1781
1997
  zipCode?: string | null | undefined;
1998
+ } | {
1999
+ firstname: string;
2000
+ surname: string;
2001
+ middlename?: string | null | undefined;
1782
2002
  } | {
1783
2003
  country: string;
1784
2004
  district: string;
@@ -1801,7 +2021,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1801
2021
  option: string;
1802
2022
  filename: string;
1803
2023
  originalFilename: string;
1804
- }[] | [string, string] | undefined> | undefined;
2024
+ }[] | [string, string] | null | undefined> | undefined;
1805
2025
  originalActionId?: string | undefined;
1806
2026
  }, {
1807
2027
  type: "CREATE";
@@ -1826,6 +2046,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1826
2046
  residentialArea?: string | null | undefined;
1827
2047
  street?: string | null | undefined;
1828
2048
  zipCode?: string | null | undefined;
2049
+ } | {
2050
+ firstname: string;
2051
+ surname: string;
2052
+ middlename?: string | null | undefined;
1829
2053
  } | {
1830
2054
  country: string;
1831
2055
  district: string;
@@ -1848,8 +2072,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1848
2072
  option: string;
1849
2073
  filename: string;
1850
2074
  originalFilename: string;
1851
- }[] | [string, string] | undefined>;
1852
- createdAtLocation: string;
2075
+ }[] | [string, string] | null | undefined>;
2076
+ creator?: "system" | "user" | undefined;
2077
+ createdBySignature?: string | null | undefined;
2078
+ createdAtLocation?: string | null | undefined;
1853
2079
  annotation?: Record<string, string | number | boolean | {
1854
2080
  type: string;
1855
2081
  filename: string;
@@ -1865,6 +2091,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1865
2091
  residentialArea?: string | null | undefined;
1866
2092
  street?: string | null | undefined;
1867
2093
  zipCode?: string | null | undefined;
2094
+ } | {
2095
+ firstname: string;
2096
+ surname: string;
2097
+ middlename?: string | null | undefined;
1868
2098
  } | {
1869
2099
  country: string;
1870
2100
  district: string;
@@ -1887,14 +2117,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1887
2117
  option: string;
1888
2118
  filename: string;
1889
2119
  originalFilename: string;
1890
- }[] | [string, string] | undefined> | undefined;
2120
+ }[] | [string, string] | null | undefined> | undefined;
1891
2121
  originalActionId?: string | undefined;
1892
2122
  }>, z.ZodObject<z.objectUtil.extendShape<{
1893
2123
  id: z.ZodString;
1894
2124
  transactionId: z.ZodString;
2125
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1895
2126
  createdAt: z.ZodString;
1896
2127
  createdBy: z.ZodString;
1897
2128
  createdByRole: z.ZodString;
2129
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1898
2131
  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
2132
  filename: z.ZodString;
1900
2133
  originalFilename: z.ZodString;
@@ -2008,7 +2241,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2008
2241
  addressLine2?: string | null | undefined;
2009
2242
  addressLine3?: string | null | undefined;
2010
2243
  postcodeOrZip?: string | null | undefined;
2011
- }>]>>;
2244
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2245
+ firstname: z.ZodString;
2246
+ surname: z.ZodString;
2247
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2248
+ }, "strip", z.ZodTypeAny, {
2249
+ firstname: string;
2250
+ surname: string;
2251
+ middlename?: string | null | undefined;
2252
+ }, {
2253
+ firstname: string;
2254
+ surname: string;
2255
+ middlename?: string | null | undefined;
2256
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2012
2257
  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
2258
  filename: z.ZodString;
2014
2259
  originalFilename: z.ZodString;
@@ -2122,8 +2367,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2122
2367
  addressLine2?: string | null | undefined;
2123
2368
  addressLine3?: string | null | undefined;
2124
2369
  postcodeOrZip?: string | null | undefined;
2125
- }>]>>>;
2126
- createdAtLocation: z.ZodString;
2370
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2371
+ firstname: z.ZodString;
2372
+ surname: z.ZodString;
2373
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2374
+ }, "strip", z.ZodTypeAny, {
2375
+ firstname: string;
2376
+ surname: string;
2377
+ middlename?: string | null | undefined;
2378
+ }, {
2379
+ firstname: string;
2380
+ surname: string;
2381
+ middlename?: string | null | undefined;
2382
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2127
2383
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2128
2384
  originalActionId: z.ZodOptional<z.ZodString>;
2129
2385
  }, {
@@ -2151,6 +2407,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2151
2407
  residentialArea?: string | null | undefined;
2152
2408
  street?: string | null | undefined;
2153
2409
  zipCode?: string | null | undefined;
2410
+ } | {
2411
+ firstname: string;
2412
+ surname: string;
2413
+ middlename?: string | null | undefined;
2154
2414
  } | {
2155
2415
  country: string;
2156
2416
  district: string;
@@ -2173,8 +2433,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2173
2433
  option: string;
2174
2434
  filename: string;
2175
2435
  originalFilename: string;
2176
- }[] | [string, string] | undefined>;
2177
- createdAtLocation: string;
2436
+ }[] | [string, string] | null | undefined>;
2437
+ creator?: "system" | "user" | undefined;
2438
+ createdBySignature?: string | null | undefined;
2439
+ createdAtLocation?: string | null | undefined;
2178
2440
  annotation?: Record<string, string | number | boolean | {
2179
2441
  type: string;
2180
2442
  filename: string;
@@ -2190,6 +2452,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2190
2452
  residentialArea?: string | null | undefined;
2191
2453
  street?: string | null | undefined;
2192
2454
  zipCode?: string | null | undefined;
2455
+ } | {
2456
+ firstname: string;
2457
+ surname: string;
2458
+ middlename?: string | null | undefined;
2193
2459
  } | {
2194
2460
  country: string;
2195
2461
  district: string;
@@ -2212,7 +2478,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2212
2478
  option: string;
2213
2479
  filename: string;
2214
2480
  originalFilename: string;
2215
- }[] | [string, string] | undefined> | undefined;
2481
+ }[] | [string, string] | null | undefined> | undefined;
2216
2482
  originalActionId?: string | undefined;
2217
2483
  }, {
2218
2484
  type: "VALIDATE";
@@ -2237,6 +2503,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2237
2503
  residentialArea?: string | null | undefined;
2238
2504
  street?: string | null | undefined;
2239
2505
  zipCode?: string | null | undefined;
2506
+ } | {
2507
+ firstname: string;
2508
+ surname: string;
2509
+ middlename?: string | null | undefined;
2240
2510
  } | {
2241
2511
  country: string;
2242
2512
  district: string;
@@ -2259,8 +2529,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2259
2529
  option: string;
2260
2530
  filename: string;
2261
2531
  originalFilename: string;
2262
- }[] | [string, string] | undefined>;
2263
- createdAtLocation: string;
2532
+ }[] | [string, string] | null | undefined>;
2533
+ creator?: "system" | "user" | undefined;
2534
+ createdBySignature?: string | null | undefined;
2535
+ createdAtLocation?: string | null | undefined;
2264
2536
  annotation?: Record<string, string | number | boolean | {
2265
2537
  type: string;
2266
2538
  filename: string;
@@ -2276,6 +2548,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2276
2548
  residentialArea?: string | null | undefined;
2277
2549
  street?: string | null | undefined;
2278
2550
  zipCode?: string | null | undefined;
2551
+ } | {
2552
+ firstname: string;
2553
+ surname: string;
2554
+ middlename?: string | null | undefined;
2279
2555
  } | {
2280
2556
  country: string;
2281
2557
  district: string;
@@ -2298,14 +2574,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2298
2574
  option: string;
2299
2575
  filename: string;
2300
2576
  originalFilename: string;
2301
- }[] | [string, string] | undefined> | undefined;
2577
+ }[] | [string, string] | null | undefined> | undefined;
2302
2578
  originalActionId?: string | undefined;
2303
2579
  }>, z.ZodObject<z.objectUtil.extendShape<{
2304
2580
  id: z.ZodString;
2305
2581
  transactionId: z.ZodString;
2582
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2306
2583
  createdAt: z.ZodString;
2307
2584
  createdBy: z.ZodString;
2308
2585
  createdByRole: z.ZodString;
2586
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2587
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2309
2588
  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
2589
  filename: z.ZodString;
2311
2590
  originalFilename: z.ZodString;
@@ -2419,7 +2698,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2419
2698
  addressLine2?: string | null | undefined;
2420
2699
  addressLine3?: string | null | undefined;
2421
2700
  postcodeOrZip?: string | null | undefined;
2422
- }>]>>;
2701
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2702
+ firstname: z.ZodString;
2703
+ surname: z.ZodString;
2704
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2705
+ }, "strip", z.ZodTypeAny, {
2706
+ firstname: string;
2707
+ surname: string;
2708
+ middlename?: string | null | undefined;
2709
+ }, {
2710
+ firstname: string;
2711
+ surname: string;
2712
+ middlename?: string | null | undefined;
2713
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2423
2714
  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
2715
  filename: z.ZodString;
2425
2716
  originalFilename: z.ZodString;
@@ -2533,16 +2824,41 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2533
2824
  addressLine2?: string | null | undefined;
2534
2825
  addressLine3?: string | null | undefined;
2535
2826
  postcodeOrZip?: string | null | undefined;
2536
- }>]>>>;
2537
- createdAtLocation: z.ZodString;
2827
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2828
+ firstname: z.ZodString;
2829
+ surname: z.ZodString;
2830
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2831
+ }, "strip", z.ZodTypeAny, {
2832
+ firstname: string;
2833
+ surname: string;
2834
+ middlename?: string | null | undefined;
2835
+ }, {
2836
+ firstname: string;
2837
+ surname: string;
2838
+ middlename?: string | null | undefined;
2839
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2538
2840
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2539
2841
  originalActionId: z.ZodOptional<z.ZodString>;
2540
2842
  }, {
2541
2843
  type: z.ZodLiteral<"REJECT">;
2844
+ reason: z.ZodObject<{
2845
+ message: z.ZodString;
2846
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2847
+ }, "strip", z.ZodTypeAny, {
2848
+ message: string;
2849
+ isDuplicate?: boolean | undefined;
2850
+ }, {
2851
+ message: string;
2852
+ isDuplicate?: boolean | undefined;
2853
+ }>;
2542
2854
  }>, "strip", z.ZodTypeAny, {
2543
2855
  type: "REJECT";
2544
2856
  id: string;
2545
2857
  status: "Rejected" | "Requested" | "Accepted";
2858
+ reason: {
2859
+ message: string;
2860
+ isDuplicate?: boolean | undefined;
2861
+ };
2546
2862
  transactionId: string;
2547
2863
  createdAt: string;
2548
2864
  createdBy: string;
@@ -2562,6 +2878,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2562
2878
  residentialArea?: string | null | undefined;
2563
2879
  street?: string | null | undefined;
2564
2880
  zipCode?: string | null | undefined;
2881
+ } | {
2882
+ firstname: string;
2883
+ surname: string;
2884
+ middlename?: string | null | undefined;
2565
2885
  } | {
2566
2886
  country: string;
2567
2887
  district: string;
@@ -2584,8 +2904,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2584
2904
  option: string;
2585
2905
  filename: string;
2586
2906
  originalFilename: string;
2587
- }[] | [string, string] | undefined>;
2588
- createdAtLocation: string;
2907
+ }[] | [string, string] | null | undefined>;
2908
+ creator?: "system" | "user" | undefined;
2909
+ createdBySignature?: string | null | undefined;
2910
+ createdAtLocation?: string | null | undefined;
2589
2911
  annotation?: Record<string, string | number | boolean | {
2590
2912
  type: string;
2591
2913
  filename: string;
@@ -2601,6 +2923,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2601
2923
  residentialArea?: string | null | undefined;
2602
2924
  street?: string | null | undefined;
2603
2925
  zipCode?: string | null | undefined;
2926
+ } | {
2927
+ firstname: string;
2928
+ surname: string;
2929
+ middlename?: string | null | undefined;
2604
2930
  } | {
2605
2931
  country: string;
2606
2932
  district: string;
@@ -2623,12 +2949,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2623
2949
  option: string;
2624
2950
  filename: string;
2625
2951
  originalFilename: string;
2626
- }[] | [string, string] | undefined> | undefined;
2952
+ }[] | [string, string] | null | undefined> | undefined;
2627
2953
  originalActionId?: string | undefined;
2628
2954
  }, {
2629
2955
  type: "REJECT";
2630
2956
  id: string;
2631
2957
  status: "Rejected" | "Requested" | "Accepted";
2958
+ reason: {
2959
+ message: string;
2960
+ isDuplicate?: boolean | undefined;
2961
+ };
2632
2962
  transactionId: string;
2633
2963
  createdAt: string;
2634
2964
  createdBy: string;
@@ -2648,6 +2978,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2648
2978
  residentialArea?: string | null | undefined;
2649
2979
  street?: string | null | undefined;
2650
2980
  zipCode?: string | null | undefined;
2981
+ } | {
2982
+ firstname: string;
2983
+ surname: string;
2984
+ middlename?: string | null | undefined;
2651
2985
  } | {
2652
2986
  country: string;
2653
2987
  district: string;
@@ -2670,8 +3004,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2670
3004
  option: string;
2671
3005
  filename: string;
2672
3006
  originalFilename: string;
2673
- }[] | [string, string] | undefined>;
2674
- createdAtLocation: string;
3007
+ }[] | [string, string] | null | undefined>;
3008
+ creator?: "system" | "user" | undefined;
3009
+ createdBySignature?: string | null | undefined;
3010
+ createdAtLocation?: string | null | undefined;
2675
3011
  annotation?: Record<string, string | number | boolean | {
2676
3012
  type: string;
2677
3013
  filename: string;
@@ -2687,6 +3023,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2687
3023
  residentialArea?: string | null | undefined;
2688
3024
  street?: string | null | undefined;
2689
3025
  zipCode?: string | null | undefined;
3026
+ } | {
3027
+ firstname: string;
3028
+ surname: string;
3029
+ middlename?: string | null | undefined;
2690
3030
  } | {
2691
3031
  country: string;
2692
3032
  district: string;
@@ -2709,14 +3049,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2709
3049
  option: string;
2710
3050
  filename: string;
2711
3051
  originalFilename: string;
2712
- }[] | [string, string] | undefined> | undefined;
3052
+ }[] | [string, string] | null | undefined> | undefined;
2713
3053
  originalActionId?: string | undefined;
2714
3054
  }>, z.ZodObject<z.objectUtil.extendShape<{
2715
3055
  id: z.ZodString;
2716
3056
  transactionId: z.ZodString;
3057
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2717
3058
  createdAt: z.ZodString;
2718
3059
  createdBy: z.ZodString;
2719
3060
  createdByRole: z.ZodString;
3061
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3062
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2720
3063
  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
3064
  filename: z.ZodString;
2722
3065
  originalFilename: z.ZodString;
@@ -2830,7 +3173,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2830
3173
  addressLine2?: string | null | undefined;
2831
3174
  addressLine3?: string | null | undefined;
2832
3175
  postcodeOrZip?: string | null | undefined;
2833
- }>]>>;
3176
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3177
+ firstname: z.ZodString;
3178
+ surname: z.ZodString;
3179
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3180
+ }, "strip", z.ZodTypeAny, {
3181
+ firstname: string;
3182
+ surname: string;
3183
+ middlename?: string | null | undefined;
3184
+ }, {
3185
+ firstname: string;
3186
+ surname: string;
3187
+ middlename?: string | null | undefined;
3188
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2834
3189
  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
3190
  filename: z.ZodString;
2836
3191
  originalFilename: z.ZodString;
@@ -2944,8 +3299,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2944
3299
  addressLine2?: string | null | undefined;
2945
3300
  addressLine3?: string | null | undefined;
2946
3301
  postcodeOrZip?: string | null | undefined;
2947
- }>]>>>;
2948
- createdAtLocation: z.ZodString;
3302
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3303
+ firstname: z.ZodString;
3304
+ surname: z.ZodString;
3305
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3306
+ }, "strip", z.ZodTypeAny, {
3307
+ firstname: string;
3308
+ surname: string;
3309
+ middlename?: string | null | undefined;
3310
+ }, {
3311
+ firstname: string;
3312
+ surname: string;
3313
+ middlename?: string | null | undefined;
3314
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2949
3315
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2950
3316
  originalActionId: z.ZodOptional<z.ZodString>;
2951
3317
  }, {
@@ -2973,6 +3339,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2973
3339
  residentialArea?: string | null | undefined;
2974
3340
  street?: string | null | undefined;
2975
3341
  zipCode?: string | null | undefined;
3342
+ } | {
3343
+ firstname: string;
3344
+ surname: string;
3345
+ middlename?: string | null | undefined;
2976
3346
  } | {
2977
3347
  country: string;
2978
3348
  district: string;
@@ -2995,8 +3365,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2995
3365
  option: string;
2996
3366
  filename: string;
2997
3367
  originalFilename: string;
2998
- }[] | [string, string] | undefined>;
2999
- createdAtLocation: string;
3368
+ }[] | [string, string] | null | undefined>;
3369
+ creator?: "system" | "user" | undefined;
3370
+ createdBySignature?: string | null | undefined;
3371
+ createdAtLocation?: string | null | undefined;
3000
3372
  annotation?: Record<string, string | number | boolean | {
3001
3373
  type: string;
3002
3374
  filename: string;
@@ -3012,6 +3384,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3012
3384
  residentialArea?: string | null | undefined;
3013
3385
  street?: string | null | undefined;
3014
3386
  zipCode?: string | null | undefined;
3387
+ } | {
3388
+ firstname: string;
3389
+ surname: string;
3390
+ middlename?: string | null | undefined;
3015
3391
  } | {
3016
3392
  country: string;
3017
3393
  district: string;
@@ -3034,7 +3410,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3034
3410
  option: string;
3035
3411
  filename: string;
3036
3412
  originalFilename: string;
3037
- }[] | [string, string] | undefined> | undefined;
3413
+ }[] | [string, string] | null | undefined> | undefined;
3038
3414
  originalActionId?: string | undefined;
3039
3415
  }, {
3040
3416
  type: "MARKED_AS_DUPLICATE";
@@ -3059,6 +3435,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3059
3435
  residentialArea?: string | null | undefined;
3060
3436
  street?: string | null | undefined;
3061
3437
  zipCode?: string | null | undefined;
3438
+ } | {
3439
+ firstname: string;
3440
+ surname: string;
3441
+ middlename?: string | null | undefined;
3062
3442
  } | {
3063
3443
  country: string;
3064
3444
  district: string;
@@ -3081,8 +3461,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3081
3461
  option: string;
3082
3462
  filename: string;
3083
3463
  originalFilename: string;
3084
- }[] | [string, string] | undefined>;
3085
- createdAtLocation: string;
3464
+ }[] | [string, string] | null | undefined>;
3465
+ creator?: "system" | "user" | undefined;
3466
+ createdBySignature?: string | null | undefined;
3467
+ createdAtLocation?: string | null | undefined;
3086
3468
  annotation?: Record<string, string | number | boolean | {
3087
3469
  type: string;
3088
3470
  filename: string;
@@ -3098,6 +3480,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3098
3480
  residentialArea?: string | null | undefined;
3099
3481
  street?: string | null | undefined;
3100
3482
  zipCode?: string | null | undefined;
3483
+ } | {
3484
+ firstname: string;
3485
+ surname: string;
3486
+ middlename?: string | null | undefined;
3101
3487
  } | {
3102
3488
  country: string;
3103
3489
  district: string;
@@ -3120,14 +3506,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3120
3506
  option: string;
3121
3507
  filename: string;
3122
3508
  originalFilename: string;
3123
- }[] | [string, string] | undefined> | undefined;
3509
+ }[] | [string, string] | null | undefined> | undefined;
3124
3510
  originalActionId?: string | undefined;
3125
3511
  }>, z.ZodObject<z.objectUtil.extendShape<{
3126
3512
  id: z.ZodString;
3127
3513
  transactionId: z.ZodString;
3514
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
3128
3515
  createdAt: z.ZodString;
3129
3516
  createdBy: z.ZodString;
3130
3517
  createdByRole: z.ZodString;
3518
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3519
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3131
3520
  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
3521
  filename: z.ZodString;
3133
3522
  originalFilename: z.ZodString;
@@ -3241,7 +3630,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3241
3630
  addressLine2?: string | null | undefined;
3242
3631
  addressLine3?: string | null | undefined;
3243
3632
  postcodeOrZip?: string | null | undefined;
3244
- }>]>>;
3633
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3634
+ firstname: z.ZodString;
3635
+ surname: z.ZodString;
3636
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3637
+ }, "strip", z.ZodTypeAny, {
3638
+ firstname: string;
3639
+ surname: string;
3640
+ middlename?: string | null | undefined;
3641
+ }, {
3642
+ firstname: string;
3643
+ surname: string;
3644
+ middlename?: string | null | undefined;
3645
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3245
3646
  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
3647
  filename: z.ZodString;
3247
3648
  originalFilename: z.ZodString;
@@ -3355,16 +3756,41 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3355
3756
  addressLine2?: string | null | undefined;
3356
3757
  addressLine3?: string | null | undefined;
3357
3758
  postcodeOrZip?: string | null | undefined;
3358
- }>]>>>;
3359
- createdAtLocation: z.ZodString;
3759
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3760
+ firstname: z.ZodString;
3761
+ surname: z.ZodString;
3762
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3763
+ }, "strip", z.ZodTypeAny, {
3764
+ firstname: string;
3765
+ surname: string;
3766
+ middlename?: string | null | undefined;
3767
+ }, {
3768
+ firstname: string;
3769
+ surname: string;
3770
+ middlename?: string | null | undefined;
3771
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3360
3772
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3361
3773
  originalActionId: z.ZodOptional<z.ZodString>;
3362
3774
  }, {
3363
3775
  type: z.ZodLiteral<"ARCHIVE">;
3776
+ reason: z.ZodObject<{
3777
+ message: z.ZodString;
3778
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3779
+ }, "strip", z.ZodTypeAny, {
3780
+ message: string;
3781
+ isDuplicate?: boolean | undefined;
3782
+ }, {
3783
+ message: string;
3784
+ isDuplicate?: boolean | undefined;
3785
+ }>;
3364
3786
  }>, "strip", z.ZodTypeAny, {
3365
3787
  type: "ARCHIVE";
3366
3788
  id: string;
3367
3789
  status: "Rejected" | "Requested" | "Accepted";
3790
+ reason: {
3791
+ message: string;
3792
+ isDuplicate?: boolean | undefined;
3793
+ };
3368
3794
  transactionId: string;
3369
3795
  createdAt: string;
3370
3796
  createdBy: string;
@@ -3384,6 +3810,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3384
3810
  residentialArea?: string | null | undefined;
3385
3811
  street?: string | null | undefined;
3386
3812
  zipCode?: string | null | undefined;
3813
+ } | {
3814
+ firstname: string;
3815
+ surname: string;
3816
+ middlename?: string | null | undefined;
3387
3817
  } | {
3388
3818
  country: string;
3389
3819
  district: string;
@@ -3406,8 +3836,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3406
3836
  option: string;
3407
3837
  filename: string;
3408
3838
  originalFilename: string;
3409
- }[] | [string, string] | undefined>;
3410
- createdAtLocation: string;
3839
+ }[] | [string, string] | null | undefined>;
3840
+ creator?: "system" | "user" | undefined;
3841
+ createdBySignature?: string | null | undefined;
3842
+ createdAtLocation?: string | null | undefined;
3411
3843
  annotation?: Record<string, string | number | boolean | {
3412
3844
  type: string;
3413
3845
  filename: string;
@@ -3423,6 +3855,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3423
3855
  residentialArea?: string | null | undefined;
3424
3856
  street?: string | null | undefined;
3425
3857
  zipCode?: string | null | undefined;
3858
+ } | {
3859
+ firstname: string;
3860
+ surname: string;
3861
+ middlename?: string | null | undefined;
3426
3862
  } | {
3427
3863
  country: string;
3428
3864
  district: string;
@@ -3445,12 +3881,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3445
3881
  option: string;
3446
3882
  filename: string;
3447
3883
  originalFilename: string;
3448
- }[] | [string, string] | undefined> | undefined;
3884
+ }[] | [string, string] | null | undefined> | undefined;
3449
3885
  originalActionId?: string | undefined;
3450
3886
  }, {
3451
3887
  type: "ARCHIVE";
3452
3888
  id: string;
3453
3889
  status: "Rejected" | "Requested" | "Accepted";
3890
+ reason: {
3891
+ message: string;
3892
+ isDuplicate?: boolean | undefined;
3893
+ };
3454
3894
  transactionId: string;
3455
3895
  createdAt: string;
3456
3896
  createdBy: string;
@@ -3470,6 +3910,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3470
3910
  residentialArea?: string | null | undefined;
3471
3911
  street?: string | null | undefined;
3472
3912
  zipCode?: string | null | undefined;
3913
+ } | {
3914
+ firstname: string;
3915
+ surname: string;
3916
+ middlename?: string | null | undefined;
3473
3917
  } | {
3474
3918
  country: string;
3475
3919
  district: string;
@@ -3492,8 +3936,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3492
3936
  option: string;
3493
3937
  filename: string;
3494
3938
  originalFilename: string;
3495
- }[] | [string, string] | undefined>;
3496
- createdAtLocation: string;
3939
+ }[] | [string, string] | null | undefined>;
3940
+ creator?: "system" | "user" | undefined;
3941
+ createdBySignature?: string | null | undefined;
3942
+ createdAtLocation?: string | null | undefined;
3497
3943
  annotation?: Record<string, string | number | boolean | {
3498
3944
  type: string;
3499
3945
  filename: string;
@@ -3509,6 +3955,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3509
3955
  residentialArea?: string | null | undefined;
3510
3956
  street?: string | null | undefined;
3511
3957
  zipCode?: string | null | undefined;
3958
+ } | {
3959
+ firstname: string;
3960
+ surname: string;
3961
+ middlename?: string | null | undefined;
3512
3962
  } | {
3513
3963
  country: string;
3514
3964
  district: string;
@@ -3531,14 +3981,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3531
3981
  option: string;
3532
3982
  filename: string;
3533
3983
  originalFilename: string;
3534
- }[] | [string, string] | undefined> | undefined;
3984
+ }[] | [string, string] | null | undefined> | undefined;
3535
3985
  originalActionId?: string | undefined;
3536
3986
  }>, z.ZodObject<z.objectUtil.extendShape<{
3537
3987
  id: z.ZodString;
3538
3988
  transactionId: z.ZodString;
3989
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
3539
3990
  createdAt: z.ZodString;
3540
3991
  createdBy: z.ZodString;
3541
3992
  createdByRole: z.ZodString;
3993
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3994
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3542
3995
  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
3996
  filename: z.ZodString;
3544
3997
  originalFilename: z.ZodString;
@@ -3652,7 +4105,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3652
4105
  addressLine2?: string | null | undefined;
3653
4106
  addressLine3?: string | null | undefined;
3654
4107
  postcodeOrZip?: string | null | undefined;
3655
- }>]>>;
4108
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4109
+ firstname: z.ZodString;
4110
+ surname: z.ZodString;
4111
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4112
+ }, "strip", z.ZodTypeAny, {
4113
+ firstname: string;
4114
+ surname: string;
4115
+ middlename?: string | null | undefined;
4116
+ }, {
4117
+ firstname: string;
4118
+ surname: string;
4119
+ middlename?: string | null | undefined;
4120
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3656
4121
  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
4122
  filename: z.ZodString;
3658
4123
  originalFilename: z.ZodString;
@@ -3766,8 +4231,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3766
4231
  addressLine2?: string | null | undefined;
3767
4232
  addressLine3?: string | null | undefined;
3768
4233
  postcodeOrZip?: string | null | undefined;
3769
- }>]>>>;
3770
- createdAtLocation: z.ZodString;
4234
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4235
+ firstname: z.ZodString;
4236
+ surname: z.ZodString;
4237
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4238
+ }, "strip", z.ZodTypeAny, {
4239
+ firstname: string;
4240
+ surname: string;
4241
+ middlename?: string | null | undefined;
4242
+ }, {
4243
+ firstname: string;
4244
+ surname: string;
4245
+ middlename?: string | null | undefined;
4246
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3771
4247
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3772
4248
  originalActionId: z.ZodOptional<z.ZodString>;
3773
4249
  }, {
@@ -3795,6 +4271,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3795
4271
  residentialArea?: string | null | undefined;
3796
4272
  street?: string | null | undefined;
3797
4273
  zipCode?: string | null | undefined;
4274
+ } | {
4275
+ firstname: string;
4276
+ surname: string;
4277
+ middlename?: string | null | undefined;
3798
4278
  } | {
3799
4279
  country: string;
3800
4280
  district: string;
@@ -3817,8 +4297,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3817
4297
  option: string;
3818
4298
  filename: string;
3819
4299
  originalFilename: string;
3820
- }[] | [string, string] | undefined>;
3821
- createdAtLocation: string;
4300
+ }[] | [string, string] | null | undefined>;
4301
+ creator?: "system" | "user" | undefined;
4302
+ createdBySignature?: string | null | undefined;
4303
+ createdAtLocation?: string | null | undefined;
3822
4304
  annotation?: Record<string, string | number | boolean | {
3823
4305
  type: string;
3824
4306
  filename: string;
@@ -3834,6 +4316,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3834
4316
  residentialArea?: string | null | undefined;
3835
4317
  street?: string | null | undefined;
3836
4318
  zipCode?: string | null | undefined;
4319
+ } | {
4320
+ firstname: string;
4321
+ surname: string;
4322
+ middlename?: string | null | undefined;
3837
4323
  } | {
3838
4324
  country: string;
3839
4325
  district: string;
@@ -3856,7 +4342,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3856
4342
  option: string;
3857
4343
  filename: string;
3858
4344
  originalFilename: string;
3859
- }[] | [string, string] | undefined> | undefined;
4345
+ }[] | [string, string] | null | undefined> | undefined;
3860
4346
  originalActionId?: string | undefined;
3861
4347
  }, {
3862
4348
  type: "NOTIFY";
@@ -3881,6 +4367,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3881
4367
  residentialArea?: string | null | undefined;
3882
4368
  street?: string | null | undefined;
3883
4369
  zipCode?: string | null | undefined;
4370
+ } | {
4371
+ firstname: string;
4372
+ surname: string;
4373
+ middlename?: string | null | undefined;
3884
4374
  } | {
3885
4375
  country: string;
3886
4376
  district: string;
@@ -3903,8 +4393,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3903
4393
  option: string;
3904
4394
  filename: string;
3905
4395
  originalFilename: string;
3906
- }[] | [string, string] | undefined>;
3907
- createdAtLocation: string;
4396
+ }[] | [string, string] | null | undefined>;
4397
+ creator?: "system" | "user" | undefined;
4398
+ createdBySignature?: string | null | undefined;
4399
+ createdAtLocation?: string | null | undefined;
3908
4400
  annotation?: Record<string, string | number | boolean | {
3909
4401
  type: string;
3910
4402
  filename: string;
@@ -3920,6 +4412,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3920
4412
  residentialArea?: string | null | undefined;
3921
4413
  street?: string | null | undefined;
3922
4414
  zipCode?: string | null | undefined;
4415
+ } | {
4416
+ firstname: string;
4417
+ surname: string;
4418
+ middlename?: string | null | undefined;
3923
4419
  } | {
3924
4420
  country: string;
3925
4421
  district: string;
@@ -3942,14 +4438,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3942
4438
  option: string;
3943
4439
  filename: string;
3944
4440
  originalFilename: string;
3945
- }[] | [string, string] | undefined> | undefined;
4441
+ }[] | [string, string] | null | undefined> | undefined;
3946
4442
  originalActionId?: string | undefined;
3947
4443
  }>, z.ZodObject<z.objectUtil.extendShape<{
3948
4444
  id: z.ZodString;
3949
4445
  transactionId: z.ZodString;
4446
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
3950
4447
  createdAt: z.ZodString;
3951
4448
  createdBy: z.ZodString;
3952
4449
  createdByRole: z.ZodString;
4450
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4451
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3953
4452
  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
4453
  filename: z.ZodString;
3955
4454
  originalFilename: z.ZodString;
@@ -4063,7 +4562,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4063
4562
  addressLine2?: string | null | undefined;
4064
4563
  addressLine3?: string | null | undefined;
4065
4564
  postcodeOrZip?: string | null | undefined;
4066
- }>]>>;
4565
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4566
+ firstname: z.ZodString;
4567
+ surname: z.ZodString;
4568
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4569
+ }, "strip", z.ZodTypeAny, {
4570
+ firstname: string;
4571
+ surname: string;
4572
+ middlename?: string | null | undefined;
4573
+ }, {
4574
+ firstname: string;
4575
+ surname: string;
4576
+ middlename?: string | null | undefined;
4577
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4067
4578
  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
4579
  filename: z.ZodString;
4069
4580
  originalFilename: z.ZodString;
@@ -4177,8 +4688,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4177
4688
  addressLine2?: string | null | undefined;
4178
4689
  addressLine3?: string | null | undefined;
4179
4690
  postcodeOrZip?: string | null | undefined;
4180
- }>]>>>;
4181
- createdAtLocation: z.ZodString;
4691
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4692
+ firstname: z.ZodString;
4693
+ surname: z.ZodString;
4694
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4695
+ }, "strip", z.ZodTypeAny, {
4696
+ firstname: string;
4697
+ surname: string;
4698
+ middlename?: string | null | undefined;
4699
+ }, {
4700
+ firstname: string;
4701
+ surname: string;
4702
+ middlename?: string | null | undefined;
4703
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4182
4704
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4183
4705
  originalActionId: z.ZodOptional<z.ZodString>;
4184
4706
  }, {
@@ -4207,6 +4729,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4207
4729
  residentialArea?: string | null | undefined;
4208
4730
  street?: string | null | undefined;
4209
4731
  zipCode?: string | null | undefined;
4732
+ } | {
4733
+ firstname: string;
4734
+ surname: string;
4735
+ middlename?: string | null | undefined;
4210
4736
  } | {
4211
4737
  country: string;
4212
4738
  district: string;
@@ -4229,8 +4755,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4229
4755
  option: string;
4230
4756
  filename: string;
4231
4757
  originalFilename: string;
4232
- }[] | [string, string] | undefined>;
4233
- createdAtLocation: string;
4758
+ }[] | [string, string] | null | undefined>;
4759
+ creator?: "system" | "user" | undefined;
4760
+ createdBySignature?: string | null | undefined;
4761
+ createdAtLocation?: string | null | undefined;
4234
4762
  annotation?: Record<string, string | number | boolean | {
4235
4763
  type: string;
4236
4764
  filename: string;
@@ -4246,6 +4774,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4246
4774
  residentialArea?: string | null | undefined;
4247
4775
  street?: string | null | undefined;
4248
4776
  zipCode?: string | null | undefined;
4777
+ } | {
4778
+ firstname: string;
4779
+ surname: string;
4780
+ middlename?: string | null | undefined;
4249
4781
  } | {
4250
4782
  country: string;
4251
4783
  district: string;
@@ -4268,7 +4800,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4268
4800
  option: string;
4269
4801
  filename: string;
4270
4802
  originalFilename: string;
4271
- }[] | [string, string] | undefined> | undefined;
4803
+ }[] | [string, string] | null | undefined> | undefined;
4272
4804
  originalActionId?: string | undefined;
4273
4805
  registrationNumber?: string | undefined;
4274
4806
  }, {
@@ -4294,6 +4826,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4294
4826
  residentialArea?: string | null | undefined;
4295
4827
  street?: string | null | undefined;
4296
4828
  zipCode?: string | null | undefined;
4829
+ } | {
4830
+ firstname: string;
4831
+ surname: string;
4832
+ middlename?: string | null | undefined;
4297
4833
  } | {
4298
4834
  country: string;
4299
4835
  district: string;
@@ -4316,8 +4852,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4316
4852
  option: string;
4317
4853
  filename: string;
4318
4854
  originalFilename: string;
4319
- }[] | [string, string] | undefined>;
4320
- createdAtLocation: string;
4855
+ }[] | [string, string] | null | undefined>;
4856
+ creator?: "system" | "user" | undefined;
4857
+ createdBySignature?: string | null | undefined;
4858
+ createdAtLocation?: string | null | undefined;
4321
4859
  annotation?: Record<string, string | number | boolean | {
4322
4860
  type: string;
4323
4861
  filename: string;
@@ -4333,6 +4871,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4333
4871
  residentialArea?: string | null | undefined;
4334
4872
  street?: string | null | undefined;
4335
4873
  zipCode?: string | null | undefined;
4874
+ } | {
4875
+ firstname: string;
4876
+ surname: string;
4877
+ middlename?: string | null | undefined;
4336
4878
  } | {
4337
4879
  country: string;
4338
4880
  district: string;
@@ -4355,15 +4897,18 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4355
4897
  option: string;
4356
4898
  filename: string;
4357
4899
  originalFilename: string;
4358
- }[] | [string, string] | undefined> | undefined;
4900
+ }[] | [string, string] | null | undefined> | undefined;
4359
4901
  originalActionId?: string | undefined;
4360
4902
  registrationNumber?: string | undefined;
4361
4903
  }>, z.ZodObject<z.objectUtil.extendShape<{
4362
4904
  id: z.ZodString;
4363
4905
  transactionId: z.ZodString;
4906
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
4364
4907
  createdAt: z.ZodString;
4365
4908
  createdBy: z.ZodString;
4366
4909
  createdByRole: z.ZodString;
4910
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4911
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4367
4912
  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
4913
  filename: z.ZodString;
4369
4914
  originalFilename: z.ZodString;
@@ -4477,7 +5022,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4477
5022
  addressLine2?: string | null | undefined;
4478
5023
  addressLine3?: string | null | undefined;
4479
5024
  postcodeOrZip?: string | null | undefined;
4480
- }>]>>;
5025
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5026
+ firstname: z.ZodString;
5027
+ surname: z.ZodString;
5028
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5029
+ }, "strip", z.ZodTypeAny, {
5030
+ firstname: string;
5031
+ surname: string;
5032
+ middlename?: string | null | undefined;
5033
+ }, {
5034
+ firstname: string;
5035
+ surname: string;
5036
+ middlename?: string | null | undefined;
5037
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4481
5038
  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
5039
  filename: z.ZodString;
4483
5040
  originalFilename: z.ZodString;
@@ -4591,8 +5148,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4591
5148
  addressLine2?: string | null | undefined;
4592
5149
  addressLine3?: string | null | undefined;
4593
5150
  postcodeOrZip?: string | null | undefined;
4594
- }>]>>>;
4595
- createdAtLocation: z.ZodString;
5151
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5152
+ firstname: z.ZodString;
5153
+ surname: z.ZodString;
5154
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5155
+ }, "strip", z.ZodTypeAny, {
5156
+ firstname: string;
5157
+ surname: string;
5158
+ middlename?: string | null | undefined;
5159
+ }, {
5160
+ firstname: string;
5161
+ surname: string;
5162
+ middlename?: string | null | undefined;
5163
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4596
5164
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4597
5165
  originalActionId: z.ZodOptional<z.ZodString>;
4598
5166
  }, {
@@ -4620,6 +5188,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4620
5188
  residentialArea?: string | null | undefined;
4621
5189
  street?: string | null | undefined;
4622
5190
  zipCode?: string | null | undefined;
5191
+ } | {
5192
+ firstname: string;
5193
+ surname: string;
5194
+ middlename?: string | null | undefined;
4623
5195
  } | {
4624
5196
  country: string;
4625
5197
  district: string;
@@ -4642,8 +5214,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4642
5214
  option: string;
4643
5215
  filename: string;
4644
5216
  originalFilename: string;
4645
- }[] | [string, string] | undefined>;
4646
- createdAtLocation: string;
5217
+ }[] | [string, string] | null | undefined>;
5218
+ creator?: "system" | "user" | undefined;
5219
+ createdBySignature?: string | null | undefined;
5220
+ createdAtLocation?: string | null | undefined;
4647
5221
  annotation?: Record<string, string | number | boolean | {
4648
5222
  type: string;
4649
5223
  filename: string;
@@ -4659,6 +5233,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4659
5233
  residentialArea?: string | null | undefined;
4660
5234
  street?: string | null | undefined;
4661
5235
  zipCode?: string | null | undefined;
5236
+ } | {
5237
+ firstname: string;
5238
+ surname: string;
5239
+ middlename?: string | null | undefined;
4662
5240
  } | {
4663
5241
  country: string;
4664
5242
  district: string;
@@ -4681,7 +5259,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4681
5259
  option: string;
4682
5260
  filename: string;
4683
5261
  originalFilename: string;
4684
- }[] | [string, string] | undefined> | undefined;
5262
+ }[] | [string, string] | null | undefined> | undefined;
4685
5263
  originalActionId?: string | undefined;
4686
5264
  }, {
4687
5265
  type: "DECLARE";
@@ -4706,6 +5284,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4706
5284
  residentialArea?: string | null | undefined;
4707
5285
  street?: string | null | undefined;
4708
5286
  zipCode?: string | null | undefined;
5287
+ } | {
5288
+ firstname: string;
5289
+ surname: string;
5290
+ middlename?: string | null | undefined;
4709
5291
  } | {
4710
5292
  country: string;
4711
5293
  district: string;
@@ -4728,8 +5310,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4728
5310
  option: string;
4729
5311
  filename: string;
4730
5312
  originalFilename: string;
4731
- }[] | [string, string] | undefined>;
4732
- createdAtLocation: string;
5313
+ }[] | [string, string] | null | undefined>;
5314
+ creator?: "system" | "user" | undefined;
5315
+ createdBySignature?: string | null | undefined;
5316
+ createdAtLocation?: string | null | undefined;
4733
5317
  annotation?: Record<string, string | number | boolean | {
4734
5318
  type: string;
4735
5319
  filename: string;
@@ -4745,6 +5329,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4745
5329
  residentialArea?: string | null | undefined;
4746
5330
  street?: string | null | undefined;
4747
5331
  zipCode?: string | null | undefined;
5332
+ } | {
5333
+ firstname: string;
5334
+ surname: string;
5335
+ middlename?: string | null | undefined;
4748
5336
  } | {
4749
5337
  country: string;
4750
5338
  district: string;
@@ -4767,14 +5355,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4767
5355
  option: string;
4768
5356
  filename: string;
4769
5357
  originalFilename: string;
4770
- }[] | [string, string] | undefined> | undefined;
5358
+ }[] | [string, string] | null | undefined> | undefined;
4771
5359
  originalActionId?: string | undefined;
4772
5360
  }>, z.ZodObject<z.objectUtil.extendShape<{
4773
5361
  id: z.ZodString;
4774
5362
  transactionId: z.ZodString;
5363
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
4775
5364
  createdAt: z.ZodString;
4776
5365
  createdBy: z.ZodString;
4777
5366
  createdByRole: z.ZodString;
5367
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5368
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4778
5369
  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
5370
  filename: z.ZodString;
4780
5371
  originalFilename: z.ZodString;
@@ -4888,7 +5479,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4888
5479
  addressLine2?: string | null | undefined;
4889
5480
  addressLine3?: string | null | undefined;
4890
5481
  postcodeOrZip?: string | null | undefined;
4891
- }>]>>;
5482
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5483
+ firstname: z.ZodString;
5484
+ surname: z.ZodString;
5485
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5486
+ }, "strip", z.ZodTypeAny, {
5487
+ firstname: string;
5488
+ surname: string;
5489
+ middlename?: string | null | undefined;
5490
+ }, {
5491
+ firstname: string;
5492
+ surname: string;
5493
+ middlename?: string | null | undefined;
5494
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4892
5495
  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
5496
  filename: z.ZodString;
4894
5497
  originalFilename: z.ZodString;
@@ -5002,8 +5605,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5002
5605
  addressLine2?: string | null | undefined;
5003
5606
  addressLine3?: string | null | undefined;
5004
5607
  postcodeOrZip?: string | null | undefined;
5005
- }>]>>>;
5006
- createdAtLocation: z.ZodString;
5608
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5609
+ firstname: z.ZodString;
5610
+ surname: z.ZodString;
5611
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5612
+ }, "strip", z.ZodTypeAny, {
5613
+ firstname: string;
5614
+ surname: string;
5615
+ middlename?: string | null | undefined;
5616
+ }, {
5617
+ firstname: string;
5618
+ surname: string;
5619
+ middlename?: string | null | undefined;
5620
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5007
5621
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5008
5622
  originalActionId: z.ZodOptional<z.ZodString>;
5009
5623
  }, {
@@ -5032,6 +5646,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5032
5646
  residentialArea?: string | null | undefined;
5033
5647
  street?: string | null | undefined;
5034
5648
  zipCode?: string | null | undefined;
5649
+ } | {
5650
+ firstname: string;
5651
+ surname: string;
5652
+ middlename?: string | null | undefined;
5035
5653
  } | {
5036
5654
  country: string;
5037
5655
  district: string;
@@ -5054,9 +5672,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5054
5672
  option: string;
5055
5673
  filename: string;
5056
5674
  originalFilename: string;
5057
- }[] | [string, string] | undefined>;
5058
- createdAtLocation: string;
5675
+ }[] | [string, string] | null | undefined>;
5059
5676
  assignedTo: string;
5677
+ creator?: "system" | "user" | undefined;
5678
+ createdBySignature?: string | null | undefined;
5679
+ createdAtLocation?: string | null | undefined;
5060
5680
  annotation?: Record<string, string | number | boolean | {
5061
5681
  type: string;
5062
5682
  filename: string;
@@ -5072,6 +5692,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5072
5692
  residentialArea?: string | null | undefined;
5073
5693
  street?: string | null | undefined;
5074
5694
  zipCode?: string | null | undefined;
5695
+ } | {
5696
+ firstname: string;
5697
+ surname: string;
5698
+ middlename?: string | null | undefined;
5075
5699
  } | {
5076
5700
  country: string;
5077
5701
  district: string;
@@ -5094,7 +5718,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5094
5718
  option: string;
5095
5719
  filename: string;
5096
5720
  originalFilename: string;
5097
- }[] | [string, string] | undefined> | undefined;
5721
+ }[] | [string, string] | null | undefined> | undefined;
5098
5722
  originalActionId?: string | undefined;
5099
5723
  }, {
5100
5724
  type: "ASSIGN";
@@ -5119,6 +5743,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5119
5743
  residentialArea?: string | null | undefined;
5120
5744
  street?: string | null | undefined;
5121
5745
  zipCode?: string | null | undefined;
5746
+ } | {
5747
+ firstname: string;
5748
+ surname: string;
5749
+ middlename?: string | null | undefined;
5122
5750
  } | {
5123
5751
  country: string;
5124
5752
  district: string;
@@ -5141,9 +5769,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5141
5769
  option: string;
5142
5770
  filename: string;
5143
5771
  originalFilename: string;
5144
- }[] | [string, string] | undefined>;
5145
- createdAtLocation: string;
5772
+ }[] | [string, string] | null | undefined>;
5146
5773
  assignedTo: string;
5774
+ creator?: "system" | "user" | undefined;
5775
+ createdBySignature?: string | null | undefined;
5776
+ createdAtLocation?: string | null | undefined;
5147
5777
  annotation?: Record<string, string | number | boolean | {
5148
5778
  type: string;
5149
5779
  filename: string;
@@ -5159,6 +5789,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5159
5789
  residentialArea?: string | null | undefined;
5160
5790
  street?: string | null | undefined;
5161
5791
  zipCode?: string | null | undefined;
5792
+ } | {
5793
+ firstname: string;
5794
+ surname: string;
5795
+ middlename?: string | null | undefined;
5162
5796
  } | {
5163
5797
  country: string;
5164
5798
  district: string;
@@ -5181,14 +5815,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5181
5815
  option: string;
5182
5816
  filename: string;
5183
5817
  originalFilename: string;
5184
- }[] | [string, string] | undefined> | undefined;
5818
+ }[] | [string, string] | null | undefined> | undefined;
5185
5819
  originalActionId?: string | undefined;
5186
5820
  }>, z.ZodObject<z.objectUtil.extendShape<{
5187
5821
  id: z.ZodString;
5188
5822
  transactionId: z.ZodString;
5823
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
5189
5824
  createdAt: z.ZodString;
5190
5825
  createdBy: z.ZodString;
5191
5826
  createdByRole: z.ZodString;
5827
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5828
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5192
5829
  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
5830
  filename: z.ZodString;
5194
5831
  originalFilename: z.ZodString;
@@ -5302,7 +5939,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5302
5939
  addressLine2?: string | null | undefined;
5303
5940
  addressLine3?: string | null | undefined;
5304
5941
  postcodeOrZip?: string | null | undefined;
5305
- }>]>>;
5942
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5943
+ firstname: z.ZodString;
5944
+ surname: z.ZodString;
5945
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5946
+ }, "strip", z.ZodTypeAny, {
5947
+ firstname: string;
5948
+ surname: string;
5949
+ middlename?: string | null | undefined;
5950
+ }, {
5951
+ firstname: string;
5952
+ surname: string;
5953
+ middlename?: string | null | undefined;
5954
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5306
5955
  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
5956
  filename: z.ZodString;
5308
5957
  originalFilename: z.ZodString;
@@ -5416,8 +6065,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5416
6065
  addressLine2?: string | null | undefined;
5417
6066
  addressLine3?: string | null | undefined;
5418
6067
  postcodeOrZip?: string | null | undefined;
5419
- }>]>>>;
5420
- createdAtLocation: z.ZodString;
6068
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6069
+ firstname: z.ZodString;
6070
+ surname: z.ZodString;
6071
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6072
+ }, "strip", z.ZodTypeAny, {
6073
+ firstname: string;
6074
+ surname: string;
6075
+ middlename?: string | null | undefined;
6076
+ }, {
6077
+ firstname: string;
6078
+ surname: string;
6079
+ middlename?: string | null | undefined;
6080
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5421
6081
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5422
6082
  originalActionId: z.ZodOptional<z.ZodString>;
5423
6083
  }, {
@@ -5445,6 +6105,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5445
6105
  residentialArea?: string | null | undefined;
5446
6106
  street?: string | null | undefined;
5447
6107
  zipCode?: string | null | undefined;
6108
+ } | {
6109
+ firstname: string;
6110
+ surname: string;
6111
+ middlename?: string | null | undefined;
5448
6112
  } | {
5449
6113
  country: string;
5450
6114
  district: string;
@@ -5467,8 +6131,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5467
6131
  option: string;
5468
6132
  filename: string;
5469
6133
  originalFilename: string;
5470
- }[] | [string, string] | undefined>;
5471
- createdAtLocation: string;
6134
+ }[] | [string, string] | null | undefined>;
6135
+ creator?: "system" | "user" | undefined;
6136
+ createdBySignature?: string | null | undefined;
6137
+ createdAtLocation?: string | null | undefined;
5472
6138
  annotation?: Record<string, string | number | boolean | {
5473
6139
  type: string;
5474
6140
  filename: string;
@@ -5484,6 +6150,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5484
6150
  residentialArea?: string | null | undefined;
5485
6151
  street?: string | null | undefined;
5486
6152
  zipCode?: string | null | undefined;
6153
+ } | {
6154
+ firstname: string;
6155
+ surname: string;
6156
+ middlename?: string | null | undefined;
5487
6157
  } | {
5488
6158
  country: string;
5489
6159
  district: string;
@@ -5506,7 +6176,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5506
6176
  option: string;
5507
6177
  filename: string;
5508
6178
  originalFilename: string;
5509
- }[] | [string, string] | undefined> | undefined;
6179
+ }[] | [string, string] | null | undefined> | undefined;
5510
6180
  originalActionId?: string | undefined;
5511
6181
  }, {
5512
6182
  type: "REQUEST_CORRECTION";
@@ -5531,6 +6201,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5531
6201
  residentialArea?: string | null | undefined;
5532
6202
  street?: string | null | undefined;
5533
6203
  zipCode?: string | null | undefined;
6204
+ } | {
6205
+ firstname: string;
6206
+ surname: string;
6207
+ middlename?: string | null | undefined;
5534
6208
  } | {
5535
6209
  country: string;
5536
6210
  district: string;
@@ -5553,8 +6227,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5553
6227
  option: string;
5554
6228
  filename: string;
5555
6229
  originalFilename: string;
5556
- }[] | [string, string] | undefined>;
5557
- createdAtLocation: string;
6230
+ }[] | [string, string] | null | undefined>;
6231
+ creator?: "system" | "user" | undefined;
6232
+ createdBySignature?: string | null | undefined;
6233
+ createdAtLocation?: string | null | undefined;
5558
6234
  annotation?: Record<string, string | number | boolean | {
5559
6235
  type: string;
5560
6236
  filename: string;
@@ -5570,6 +6246,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5570
6246
  residentialArea?: string | null | undefined;
5571
6247
  street?: string | null | undefined;
5572
6248
  zipCode?: string | null | undefined;
6249
+ } | {
6250
+ firstname: string;
6251
+ surname: string;
6252
+ middlename?: string | null | undefined;
5573
6253
  } | {
5574
6254
  country: string;
5575
6255
  district: string;
@@ -5592,14 +6272,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5592
6272
  option: string;
5593
6273
  filename: string;
5594
6274
  originalFilename: string;
5595
- }[] | [string, string] | undefined> | undefined;
6275
+ }[] | [string, string] | null | undefined> | undefined;
5596
6276
  originalActionId?: string | undefined;
5597
6277
  }>, z.ZodObject<z.objectUtil.extendShape<{
5598
6278
  id: z.ZodString;
5599
6279
  transactionId: z.ZodString;
6280
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
5600
6281
  createdAt: z.ZodString;
5601
6282
  createdBy: z.ZodString;
5602
6283
  createdByRole: z.ZodString;
6284
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6285
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5603
6286
  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
6287
  filename: z.ZodString;
5605
6288
  originalFilename: z.ZodString;
@@ -5713,7 +6396,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5713
6396
  addressLine2?: string | null | undefined;
5714
6397
  addressLine3?: string | null | undefined;
5715
6398
  postcodeOrZip?: string | null | undefined;
5716
- }>]>>;
6399
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6400
+ firstname: z.ZodString;
6401
+ surname: z.ZodString;
6402
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6403
+ }, "strip", z.ZodTypeAny, {
6404
+ firstname: string;
6405
+ surname: string;
6406
+ middlename?: string | null | undefined;
6407
+ }, {
6408
+ firstname: string;
6409
+ surname: string;
6410
+ middlename?: string | null | undefined;
6411
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5717
6412
  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
6413
  filename: z.ZodString;
5719
6414
  originalFilename: z.ZodString;
@@ -5827,8 +6522,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5827
6522
  addressLine2?: string | null | undefined;
5828
6523
  addressLine3?: string | null | undefined;
5829
6524
  postcodeOrZip?: string | null | undefined;
5830
- }>]>>>;
5831
- createdAtLocation: z.ZodString;
6525
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6526
+ firstname: z.ZodString;
6527
+ surname: z.ZodString;
6528
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6529
+ }, "strip", z.ZodTypeAny, {
6530
+ firstname: string;
6531
+ surname: string;
6532
+ middlename?: string | null | undefined;
6533
+ }, {
6534
+ firstname: string;
6535
+ surname: string;
6536
+ middlename?: string | null | undefined;
6537
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5832
6538
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5833
6539
  originalActionId: z.ZodOptional<z.ZodString>;
5834
6540
  }, {
@@ -5857,6 +6563,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5857
6563
  residentialArea?: string | null | undefined;
5858
6564
  street?: string | null | undefined;
5859
6565
  zipCode?: string | null | undefined;
6566
+ } | {
6567
+ firstname: string;
6568
+ surname: string;
6569
+ middlename?: string | null | undefined;
5860
6570
  } | {
5861
6571
  country: string;
5862
6572
  district: string;
@@ -5879,9 +6589,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5879
6589
  option: string;
5880
6590
  filename: string;
5881
6591
  originalFilename: string;
5882
- }[] | [string, string] | undefined>;
5883
- createdAtLocation: string;
6592
+ }[] | [string, string] | null | undefined>;
5884
6593
  requestId: string;
6594
+ creator?: "system" | "user" | undefined;
6595
+ createdBySignature?: string | null | undefined;
6596
+ createdAtLocation?: string | null | undefined;
5885
6597
  annotation?: Record<string, string | number | boolean | {
5886
6598
  type: string;
5887
6599
  filename: string;
@@ -5897,6 +6609,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5897
6609
  residentialArea?: string | null | undefined;
5898
6610
  street?: string | null | undefined;
5899
6611
  zipCode?: string | null | undefined;
6612
+ } | {
6613
+ firstname: string;
6614
+ surname: string;
6615
+ middlename?: string | null | undefined;
5900
6616
  } | {
5901
6617
  country: string;
5902
6618
  district: string;
@@ -5919,7 +6635,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5919
6635
  option: string;
5920
6636
  filename: string;
5921
6637
  originalFilename: string;
5922
- }[] | [string, string] | undefined> | undefined;
6638
+ }[] | [string, string] | null | undefined> | undefined;
5923
6639
  originalActionId?: string | undefined;
5924
6640
  }, {
5925
6641
  type: "APPROVE_CORRECTION";
@@ -5944,6 +6660,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5944
6660
  residentialArea?: string | null | undefined;
5945
6661
  street?: string | null | undefined;
5946
6662
  zipCode?: string | null | undefined;
6663
+ } | {
6664
+ firstname: string;
6665
+ surname: string;
6666
+ middlename?: string | null | undefined;
5947
6667
  } | {
5948
6668
  country: string;
5949
6669
  district: string;
@@ -5966,9 +6686,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5966
6686
  option: string;
5967
6687
  filename: string;
5968
6688
  originalFilename: string;
5969
- }[] | [string, string] | undefined>;
5970
- createdAtLocation: string;
6689
+ }[] | [string, string] | null | undefined>;
5971
6690
  requestId: string;
6691
+ creator?: "system" | "user" | undefined;
6692
+ createdBySignature?: string | null | undefined;
6693
+ createdAtLocation?: string | null | undefined;
5972
6694
  annotation?: Record<string, string | number | boolean | {
5973
6695
  type: string;
5974
6696
  filename: string;
@@ -5984,6 +6706,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5984
6706
  residentialArea?: string | null | undefined;
5985
6707
  street?: string | null | undefined;
5986
6708
  zipCode?: string | null | undefined;
6709
+ } | {
6710
+ firstname: string;
6711
+ surname: string;
6712
+ middlename?: string | null | undefined;
5987
6713
  } | {
5988
6714
  country: string;
5989
6715
  district: string;
@@ -6006,14 +6732,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6006
6732
  option: string;
6007
6733
  filename: string;
6008
6734
  originalFilename: string;
6009
- }[] | [string, string] | undefined> | undefined;
6735
+ }[] | [string, string] | null | undefined> | undefined;
6010
6736
  originalActionId?: string | undefined;
6011
6737
  }>, z.ZodObject<z.objectUtil.extendShape<{
6012
6738
  id: z.ZodString;
6013
6739
  transactionId: z.ZodString;
6740
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
6014
6741
  createdAt: z.ZodString;
6015
6742
  createdBy: z.ZodString;
6016
6743
  createdByRole: z.ZodString;
6744
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6745
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6017
6746
  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
6747
  filename: z.ZodString;
6019
6748
  originalFilename: z.ZodString;
@@ -6127,7 +6856,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6127
6856
  addressLine2?: string | null | undefined;
6128
6857
  addressLine3?: string | null | undefined;
6129
6858
  postcodeOrZip?: string | null | undefined;
6130
- }>]>>;
6859
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6860
+ firstname: z.ZodString;
6861
+ surname: z.ZodString;
6862
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6863
+ }, "strip", z.ZodTypeAny, {
6864
+ firstname: string;
6865
+ surname: string;
6866
+ middlename?: string | null | undefined;
6867
+ }, {
6868
+ firstname: string;
6869
+ surname: string;
6870
+ middlename?: string | null | undefined;
6871
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6131
6872
  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
6873
  filename: z.ZodString;
6133
6874
  originalFilename: z.ZodString;
@@ -6241,8 +6982,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6241
6982
  addressLine2?: string | null | undefined;
6242
6983
  addressLine3?: string | null | undefined;
6243
6984
  postcodeOrZip?: string | null | undefined;
6244
- }>]>>>;
6245
- createdAtLocation: z.ZodString;
6985
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6986
+ firstname: z.ZodString;
6987
+ surname: z.ZodString;
6988
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6989
+ }, "strip", z.ZodTypeAny, {
6990
+ firstname: string;
6991
+ surname: string;
6992
+ middlename?: string | null | undefined;
6993
+ }, {
6994
+ firstname: string;
6995
+ surname: string;
6996
+ middlename?: string | null | undefined;
6997
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6246
6998
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6247
6999
  originalActionId: z.ZodOptional<z.ZodString>;
6248
7000
  }, {
@@ -6271,6 +7023,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6271
7023
  residentialArea?: string | null | undefined;
6272
7024
  street?: string | null | undefined;
6273
7025
  zipCode?: string | null | undefined;
7026
+ } | {
7027
+ firstname: string;
7028
+ surname: string;
7029
+ middlename?: string | null | undefined;
6274
7030
  } | {
6275
7031
  country: string;
6276
7032
  district: string;
@@ -6293,9 +7049,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6293
7049
  option: string;
6294
7050
  filename: string;
6295
7051
  originalFilename: string;
6296
- }[] | [string, string] | undefined>;
6297
- createdAtLocation: string;
7052
+ }[] | [string, string] | null | undefined>;
6298
7053
  requestId: string;
7054
+ creator?: "system" | "user" | undefined;
7055
+ createdBySignature?: string | null | undefined;
7056
+ createdAtLocation?: string | null | undefined;
6299
7057
  annotation?: Record<string, string | number | boolean | {
6300
7058
  type: string;
6301
7059
  filename: string;
@@ -6311,6 +7069,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6311
7069
  residentialArea?: string | null | undefined;
6312
7070
  street?: string | null | undefined;
6313
7071
  zipCode?: string | null | undefined;
7072
+ } | {
7073
+ firstname: string;
7074
+ surname: string;
7075
+ middlename?: string | null | undefined;
6314
7076
  } | {
6315
7077
  country: string;
6316
7078
  district: string;
@@ -6333,7 +7095,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6333
7095
  option: string;
6334
7096
  filename: string;
6335
7097
  originalFilename: string;
6336
- }[] | [string, string] | undefined> | undefined;
7098
+ }[] | [string, string] | null | undefined> | undefined;
6337
7099
  originalActionId?: string | undefined;
6338
7100
  }, {
6339
7101
  type: "REJECT_CORRECTION";
@@ -6358,6 +7120,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6358
7120
  residentialArea?: string | null | undefined;
6359
7121
  street?: string | null | undefined;
6360
7122
  zipCode?: string | null | undefined;
7123
+ } | {
7124
+ firstname: string;
7125
+ surname: string;
7126
+ middlename?: string | null | undefined;
6361
7127
  } | {
6362
7128
  country: string;
6363
7129
  district: string;
@@ -6380,9 +7146,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6380
7146
  option: string;
6381
7147
  filename: string;
6382
7148
  originalFilename: string;
6383
- }[] | [string, string] | undefined>;
6384
- createdAtLocation: string;
7149
+ }[] | [string, string] | null | undefined>;
6385
7150
  requestId: string;
7151
+ creator?: "system" | "user" | undefined;
7152
+ createdBySignature?: string | null | undefined;
7153
+ createdAtLocation?: string | null | undefined;
6386
7154
  annotation?: Record<string, string | number | boolean | {
6387
7155
  type: string;
6388
7156
  filename: string;
@@ -6398,6 +7166,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6398
7166
  residentialArea?: string | null | undefined;
6399
7167
  street?: string | null | undefined;
6400
7168
  zipCode?: string | null | undefined;
7169
+ } | {
7170
+ firstname: string;
7171
+ surname: string;
7172
+ middlename?: string | null | undefined;
6401
7173
  } | {
6402
7174
  country: string;
6403
7175
  district: string;
@@ -6420,14 +7192,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6420
7192
  option: string;
6421
7193
  filename: string;
6422
7194
  originalFilename: string;
6423
- }[] | [string, string] | undefined> | undefined;
7195
+ }[] | [string, string] | null | undefined> | undefined;
6424
7196
  originalActionId?: string | undefined;
6425
7197
  }>, z.ZodObject<z.objectUtil.extendShape<{
6426
7198
  id: z.ZodString;
6427
7199
  transactionId: z.ZodString;
7200
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
6428
7201
  createdAt: z.ZodString;
6429
7202
  createdBy: z.ZodString;
6430
7203
  createdByRole: z.ZodString;
7204
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7205
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6431
7206
  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
7207
  filename: z.ZodString;
6433
7208
  originalFilename: z.ZodString;
@@ -6541,7 +7316,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6541
7316
  addressLine2?: string | null | undefined;
6542
7317
  addressLine3?: string | null | undefined;
6543
7318
  postcodeOrZip?: string | null | undefined;
6544
- }>]>>;
7319
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7320
+ firstname: z.ZodString;
7321
+ surname: z.ZodString;
7322
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7323
+ }, "strip", z.ZodTypeAny, {
7324
+ firstname: string;
7325
+ surname: string;
7326
+ middlename?: string | null | undefined;
7327
+ }, {
7328
+ firstname: string;
7329
+ surname: string;
7330
+ middlename?: string | null | undefined;
7331
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6545
7332
  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
7333
  filename: z.ZodString;
6547
7334
  originalFilename: z.ZodString;
@@ -6655,8 +7442,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6655
7442
  addressLine2?: string | null | undefined;
6656
7443
  addressLine3?: string | null | undefined;
6657
7444
  postcodeOrZip?: string | null | undefined;
6658
- }>]>>>;
6659
- createdAtLocation: z.ZodString;
7445
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7446
+ firstname: z.ZodString;
7447
+ surname: z.ZodString;
7448
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7449
+ }, "strip", z.ZodTypeAny, {
7450
+ firstname: string;
7451
+ surname: string;
7452
+ middlename?: string | null | undefined;
7453
+ }, {
7454
+ firstname: string;
7455
+ surname: string;
7456
+ middlename?: string | null | undefined;
7457
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6660
7458
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6661
7459
  originalActionId: z.ZodOptional<z.ZodString>;
6662
7460
  }, {
@@ -6685,6 +7483,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6685
7483
  residentialArea?: string | null | undefined;
6686
7484
  street?: string | null | undefined;
6687
7485
  zipCode?: string | null | undefined;
7486
+ } | {
7487
+ firstname: string;
7488
+ surname: string;
7489
+ middlename?: string | null | undefined;
6688
7490
  } | {
6689
7491
  country: string;
6690
7492
  district: string;
@@ -6707,9 +7509,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6707
7509
  option: string;
6708
7510
  filename: string;
6709
7511
  originalFilename: string;
6710
- }[] | [string, string] | undefined>;
6711
- createdAtLocation: string;
7512
+ }[] | [string, string] | null | undefined>;
6712
7513
  assignedTo: null;
7514
+ creator?: "system" | "user" | undefined;
7515
+ createdBySignature?: string | null | undefined;
7516
+ createdAtLocation?: string | null | undefined;
6713
7517
  annotation?: Record<string, string | number | boolean | {
6714
7518
  type: string;
6715
7519
  filename: string;
@@ -6725,6 +7529,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6725
7529
  residentialArea?: string | null | undefined;
6726
7530
  street?: string | null | undefined;
6727
7531
  zipCode?: string | null | undefined;
7532
+ } | {
7533
+ firstname: string;
7534
+ surname: string;
7535
+ middlename?: string | null | undefined;
6728
7536
  } | {
6729
7537
  country: string;
6730
7538
  district: string;
@@ -6747,7 +7555,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6747
7555
  option: string;
6748
7556
  filename: string;
6749
7557
  originalFilename: string;
6750
- }[] | [string, string] | undefined> | undefined;
7558
+ }[] | [string, string] | null | undefined> | undefined;
6751
7559
  originalActionId?: string | undefined;
6752
7560
  }, {
6753
7561
  type: "UNASSIGN";
@@ -6772,6 +7580,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6772
7580
  residentialArea?: string | null | undefined;
6773
7581
  street?: string | null | undefined;
6774
7582
  zipCode?: string | null | undefined;
7583
+ } | {
7584
+ firstname: string;
7585
+ surname: string;
7586
+ middlename?: string | null | undefined;
6775
7587
  } | {
6776
7588
  country: string;
6777
7589
  district: string;
@@ -6794,9 +7606,11 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6794
7606
  option: string;
6795
7607
  filename: string;
6796
7608
  originalFilename: string;
6797
- }[] | [string, string] | undefined>;
6798
- createdAtLocation: string;
7609
+ }[] | [string, string] | null | undefined>;
6799
7610
  assignedTo: null;
7611
+ creator?: "system" | "user" | undefined;
7612
+ createdBySignature?: string | null | undefined;
7613
+ createdAtLocation?: string | null | undefined;
6800
7614
  annotation?: Record<string, string | number | boolean | {
6801
7615
  type: string;
6802
7616
  filename: string;
@@ -6812,6 +7626,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6812
7626
  residentialArea?: string | null | undefined;
6813
7627
  street?: string | null | undefined;
6814
7628
  zipCode?: string | null | undefined;
7629
+ } | {
7630
+ firstname: string;
7631
+ surname: string;
7632
+ middlename?: string | null | undefined;
6815
7633
  } | {
6816
7634
  country: string;
6817
7635
  district: string;
@@ -6834,14 +7652,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6834
7652
  option: string;
6835
7653
  filename: string;
6836
7654
  originalFilename: string;
6837
- }[] | [string, string] | undefined> | undefined;
7655
+ }[] | [string, string] | null | undefined> | undefined;
6838
7656
  originalActionId?: string | undefined;
6839
7657
  }>, z.ZodObject<z.objectUtil.extendShape<{
6840
7658
  id: z.ZodString;
6841
7659
  transactionId: z.ZodString;
7660
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
6842
7661
  createdAt: z.ZodString;
6843
7662
  createdBy: z.ZodString;
6844
7663
  createdByRole: z.ZodString;
7664
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7665
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6845
7666
  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
7667
  filename: z.ZodString;
6847
7668
  originalFilename: z.ZodString;
@@ -6955,7 +7776,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6955
7776
  addressLine2?: string | null | undefined;
6956
7777
  addressLine3?: string | null | undefined;
6957
7778
  postcodeOrZip?: string | null | undefined;
6958
- }>]>>;
7779
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7780
+ firstname: z.ZodString;
7781
+ surname: z.ZodString;
7782
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7783
+ }, "strip", z.ZodTypeAny, {
7784
+ firstname: string;
7785
+ surname: string;
7786
+ middlename?: string | null | undefined;
7787
+ }, {
7788
+ firstname: string;
7789
+ surname: string;
7790
+ middlename?: string | null | undefined;
7791
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6959
7792
  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
7793
  filename: z.ZodString;
6961
7794
  originalFilename: z.ZodString;
@@ -7069,8 +7902,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7069
7902
  addressLine2?: string | null | undefined;
7070
7903
  addressLine3?: string | null | undefined;
7071
7904
  postcodeOrZip?: string | null | undefined;
7072
- }>]>>>;
7073
- createdAtLocation: z.ZodString;
7905
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7906
+ firstname: z.ZodString;
7907
+ surname: z.ZodString;
7908
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7909
+ }, "strip", z.ZodTypeAny, {
7910
+ firstname: string;
7911
+ surname: string;
7912
+ middlename?: string | null | undefined;
7913
+ }, {
7914
+ firstname: string;
7915
+ surname: string;
7916
+ middlename?: string | null | undefined;
7917
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7074
7918
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7075
7919
  originalActionId: z.ZodOptional<z.ZodString>;
7076
7920
  }, {
@@ -7098,6 +7942,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7098
7942
  residentialArea?: string | null | undefined;
7099
7943
  street?: string | null | undefined;
7100
7944
  zipCode?: string | null | undefined;
7945
+ } | {
7946
+ firstname: string;
7947
+ surname: string;
7948
+ middlename?: string | null | undefined;
7101
7949
  } | {
7102
7950
  country: string;
7103
7951
  district: string;
@@ -7120,8 +7968,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7120
7968
  option: string;
7121
7969
  filename: string;
7122
7970
  originalFilename: string;
7123
- }[] | [string, string] | undefined>;
7124
- createdAtLocation: string;
7971
+ }[] | [string, string] | null | undefined>;
7972
+ creator?: "system" | "user" | undefined;
7973
+ createdBySignature?: string | null | undefined;
7974
+ createdAtLocation?: string | null | undefined;
7125
7975
  annotation?: Record<string, string | number | boolean | {
7126
7976
  type: string;
7127
7977
  filename: string;
@@ -7137,6 +7987,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7137
7987
  residentialArea?: string | null | undefined;
7138
7988
  street?: string | null | undefined;
7139
7989
  zipCode?: string | null | undefined;
7990
+ } | {
7991
+ firstname: string;
7992
+ surname: string;
7993
+ middlename?: string | null | undefined;
7140
7994
  } | {
7141
7995
  country: string;
7142
7996
  district: string;
@@ -7159,7 +8013,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7159
8013
  option: string;
7160
8014
  filename: string;
7161
8015
  originalFilename: string;
7162
- }[] | [string, string] | undefined> | undefined;
8016
+ }[] | [string, string] | null | undefined> | undefined;
7163
8017
  originalActionId?: string | undefined;
7164
8018
  }, {
7165
8019
  type: "PRINT_CERTIFICATE";
@@ -7184,6 +8038,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7184
8038
  residentialArea?: string | null | undefined;
7185
8039
  street?: string | null | undefined;
7186
8040
  zipCode?: string | null | undefined;
8041
+ } | {
8042
+ firstname: string;
8043
+ surname: string;
8044
+ middlename?: string | null | undefined;
7187
8045
  } | {
7188
8046
  country: string;
7189
8047
  district: string;
@@ -7206,8 +8064,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7206
8064
  option: string;
7207
8065
  filename: string;
7208
8066
  originalFilename: string;
7209
- }[] | [string, string] | undefined>;
7210
- createdAtLocation: string;
8067
+ }[] | [string, string] | null | undefined>;
8068
+ creator?: "system" | "user" | undefined;
8069
+ createdBySignature?: string | null | undefined;
8070
+ createdAtLocation?: string | null | undefined;
7211
8071
  annotation?: Record<string, string | number | boolean | {
7212
8072
  type: string;
7213
8073
  filename: string;
@@ -7223,6 +8083,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7223
8083
  residentialArea?: string | null | undefined;
7224
8084
  street?: string | null | undefined;
7225
8085
  zipCode?: string | null | undefined;
8086
+ } | {
8087
+ firstname: string;
8088
+ surname: string;
8089
+ middlename?: string | null | undefined;
7226
8090
  } | {
7227
8091
  country: string;
7228
8092
  district: string;
@@ -7245,14 +8109,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7245
8109
  option: string;
7246
8110
  filename: string;
7247
8111
  originalFilename: string;
7248
- }[] | [string, string] | undefined> | undefined;
8112
+ }[] | [string, string] | null | undefined> | undefined;
7249
8113
  originalActionId?: string | undefined;
7250
8114
  }>, z.ZodObject<z.objectUtil.extendShape<{
7251
8115
  id: z.ZodString;
7252
8116
  transactionId: z.ZodString;
8117
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
7253
8118
  createdAt: z.ZodString;
7254
8119
  createdBy: z.ZodString;
7255
8120
  createdByRole: z.ZodString;
8121
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8122
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7256
8123
  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
8124
  filename: z.ZodString;
7258
8125
  originalFilename: z.ZodString;
@@ -7366,7 +8233,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7366
8233
  addressLine2?: string | null | undefined;
7367
8234
  addressLine3?: string | null | undefined;
7368
8235
  postcodeOrZip?: string | null | undefined;
7369
- }>]>>;
8236
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8237
+ firstname: z.ZodString;
8238
+ surname: z.ZodString;
8239
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8240
+ }, "strip", z.ZodTypeAny, {
8241
+ firstname: string;
8242
+ surname: string;
8243
+ middlename?: string | null | undefined;
8244
+ }, {
8245
+ firstname: string;
8246
+ surname: string;
8247
+ middlename?: string | null | undefined;
8248
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7370
8249
  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
8250
  filename: z.ZodString;
7372
8251
  originalFilename: z.ZodString;
@@ -7480,8 +8359,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7480
8359
  addressLine2?: string | null | undefined;
7481
8360
  addressLine3?: string | null | undefined;
7482
8361
  postcodeOrZip?: string | null | undefined;
7483
- }>]>>>;
7484
- createdAtLocation: z.ZodString;
8362
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8363
+ firstname: z.ZodString;
8364
+ surname: z.ZodString;
8365
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8366
+ }, "strip", z.ZodTypeAny, {
8367
+ firstname: string;
8368
+ surname: string;
8369
+ middlename?: string | null | undefined;
8370
+ }, {
8371
+ firstname: string;
8372
+ surname: string;
8373
+ middlename?: string | null | undefined;
8374
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7485
8375
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7486
8376
  originalActionId: z.ZodOptional<z.ZodString>;
7487
8377
  }, {
@@ -7509,6 +8399,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7509
8399
  residentialArea?: string | null | undefined;
7510
8400
  street?: string | null | undefined;
7511
8401
  zipCode?: string | null | undefined;
8402
+ } | {
8403
+ firstname: string;
8404
+ surname: string;
8405
+ middlename?: string | null | undefined;
7512
8406
  } | {
7513
8407
  country: string;
7514
8408
  district: string;
@@ -7531,8 +8425,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7531
8425
  option: string;
7532
8426
  filename: string;
7533
8427
  originalFilename: string;
7534
- }[] | [string, string] | undefined>;
7535
- createdAtLocation: string;
8428
+ }[] | [string, string] | null | undefined>;
8429
+ creator?: "system" | "user" | undefined;
8430
+ createdBySignature?: string | null | undefined;
8431
+ createdAtLocation?: string | null | undefined;
7536
8432
  annotation?: Record<string, string | number | boolean | {
7537
8433
  type: string;
7538
8434
  filename: string;
@@ -7548,6 +8444,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7548
8444
  residentialArea?: string | null | undefined;
7549
8445
  street?: string | null | undefined;
7550
8446
  zipCode?: string | null | undefined;
8447
+ } | {
8448
+ firstname: string;
8449
+ surname: string;
8450
+ middlename?: string | null | undefined;
7551
8451
  } | {
7552
8452
  country: string;
7553
8453
  district: string;
@@ -7570,7 +8470,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7570
8470
  option: string;
7571
8471
  filename: string;
7572
8472
  originalFilename: string;
7573
- }[] | [string, string] | undefined> | undefined;
8473
+ }[] | [string, string] | null | undefined> | undefined;
7574
8474
  originalActionId?: string | undefined;
7575
8475
  }, {
7576
8476
  type: "READ";
@@ -7595,6 +8495,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7595
8495
  residentialArea?: string | null | undefined;
7596
8496
  street?: string | null | undefined;
7597
8497
  zipCode?: string | null | undefined;
8498
+ } | {
8499
+ firstname: string;
8500
+ surname: string;
8501
+ middlename?: string | null | undefined;
7598
8502
  } | {
7599
8503
  country: string;
7600
8504
  district: string;
@@ -7617,8 +8521,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7617
8521
  option: string;
7618
8522
  filename: string;
7619
8523
  originalFilename: string;
7620
- }[] | [string, string] | undefined>;
7621
- createdAtLocation: string;
8524
+ }[] | [string, string] | null | undefined>;
8525
+ creator?: "system" | "user" | undefined;
8526
+ createdBySignature?: string | null | undefined;
8527
+ createdAtLocation?: string | null | undefined;
7622
8528
  annotation?: Record<string, string | number | boolean | {
7623
8529
  type: string;
7624
8530
  filename: string;
@@ -7634,6 +8540,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7634
8540
  residentialArea?: string | null | undefined;
7635
8541
  street?: string | null | undefined;
7636
8542
  zipCode?: string | null | undefined;
8543
+ } | {
8544
+ firstname: string;
8545
+ surname: string;
8546
+ middlename?: string | null | undefined;
7637
8547
  } | {
7638
8548
  country: string;
7639
8549
  district: string;
@@ -7656,16 +8566,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7656
8566
  option: string;
7657
8567
  filename: string;
7658
8568
  originalFilename: string;
7659
- }[] | [string, string] | undefined> | undefined;
8569
+ }[] | [string, string] | null | undefined> | undefined;
7660
8570
  originalActionId?: string | undefined;
7661
8571
  }>]>;
7662
8572
  export type ActionDocument = z.infer<typeof ActionDocument>;
7663
8573
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
7664
8574
  id: z.ZodString;
7665
8575
  transactionId: z.ZodString;
8576
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
7666
8577
  createdAt: z.ZodString;
7667
8578
  createdBy: z.ZodString;
7668
8579
  createdByRole: z.ZodString;
8580
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8581
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7669
8582
  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
8583
  filename: z.ZodString;
7671
8584
  originalFilename: z.ZodString;
@@ -7779,7 +8692,19 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7779
8692
  addressLine2?: string | null | undefined;
7780
8693
  addressLine3?: string | null | undefined;
7781
8694
  postcodeOrZip?: string | null | undefined;
7782
- }>]>>;
8695
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8696
+ firstname: z.ZodString;
8697
+ surname: z.ZodString;
8698
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8699
+ }, "strip", z.ZodTypeAny, {
8700
+ firstname: string;
8701
+ surname: string;
8702
+ middlename?: string | null | undefined;
8703
+ }, {
8704
+ firstname: string;
8705
+ surname: string;
8706
+ middlename?: string | null | undefined;
8707
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7783
8708
  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
8709
  filename: z.ZodString;
7785
8710
  originalFilename: z.ZodString;
@@ -7893,8 +8818,19 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7893
8818
  addressLine2?: string | null | undefined;
7894
8819
  addressLine3?: string | null | undefined;
7895
8820
  postcodeOrZip?: string | null | undefined;
7896
- }>]>>>;
7897
- createdAtLocation: z.ZodString;
8821
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8822
+ firstname: z.ZodString;
8823
+ surname: z.ZodString;
8824
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8825
+ }, "strip", z.ZodTypeAny, {
8826
+ firstname: string;
8827
+ surname: string;
8828
+ middlename?: string | null | undefined;
8829
+ }, {
8830
+ firstname: string;
8831
+ surname: string;
8832
+ middlename?: string | null | undefined;
8833
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7898
8834
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7899
8835
  originalActionId: z.ZodOptional<z.ZodString>;
7900
8836
  }, "declaration" | "annotation">, {
@@ -7908,7 +8844,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7908
8844
  createdAt: string;
7909
8845
  createdBy: string;
7910
8846
  createdByRole: string;
7911
- createdAtLocation: string;
8847
+ creator?: "system" | "user" | undefined;
8848
+ createdBySignature?: string | null | undefined;
8849
+ createdAtLocation?: string | null | undefined;
7912
8850
  originalActionId?: string | undefined;
7913
8851
  }, {
7914
8852
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -7918,16 +8856,21 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7918
8856
  createdAt: string;
7919
8857
  createdBy: string;
7920
8858
  createdByRole: string;
7921
- createdAtLocation: string;
8859
+ creator?: "system" | "user" | undefined;
8860
+ createdBySignature?: string | null | undefined;
8861
+ createdAtLocation?: string | null | undefined;
7922
8862
  originalActionId?: string | undefined;
7923
8863
  }>;
7924
8864
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
7925
8865
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7926
8866
  id: z.ZodString;
7927
8867
  transactionId: z.ZodString;
8868
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
7928
8869
  createdAt: z.ZodString;
7929
8870
  createdBy: z.ZodString;
7930
8871
  createdByRole: z.ZodString;
8872
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8873
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7931
8874
  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
8875
  filename: z.ZodString;
7933
8876
  originalFilename: z.ZodString;
@@ -8041,7 +8984,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8041
8984
  addressLine2?: string | null | undefined;
8042
8985
  addressLine3?: string | null | undefined;
8043
8986
  postcodeOrZip?: string | null | undefined;
8044
- }>]>>;
8987
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8988
+ firstname: z.ZodString;
8989
+ surname: z.ZodString;
8990
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8991
+ }, "strip", z.ZodTypeAny, {
8992
+ firstname: string;
8993
+ surname: string;
8994
+ middlename?: string | null | undefined;
8995
+ }, {
8996
+ firstname: string;
8997
+ surname: string;
8998
+ middlename?: string | null | undefined;
8999
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8045
9000
  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
9001
  filename: z.ZodString;
8047
9002
  originalFilename: z.ZodString;
@@ -8155,8 +9110,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8155
9110
  addressLine2?: string | null | undefined;
8156
9111
  addressLine3?: string | null | undefined;
8157
9112
  postcodeOrZip?: string | null | undefined;
8158
- }>]>>>;
8159
- createdAtLocation: z.ZodString;
9113
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9114
+ firstname: z.ZodString;
9115
+ surname: z.ZodString;
9116
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9117
+ }, "strip", z.ZodTypeAny, {
9118
+ firstname: string;
9119
+ surname: string;
9120
+ middlename?: string | null | undefined;
9121
+ }, {
9122
+ firstname: string;
9123
+ surname: string;
9124
+ middlename?: string | null | undefined;
9125
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8160
9126
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8161
9127
  originalActionId: z.ZodOptional<z.ZodString>;
8162
9128
  }, {
@@ -8184,6 +9150,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8184
9150
  residentialArea?: string | null | undefined;
8185
9151
  street?: string | null | undefined;
8186
9152
  zipCode?: string | null | undefined;
9153
+ } | {
9154
+ firstname: string;
9155
+ surname: string;
9156
+ middlename?: string | null | undefined;
8187
9157
  } | {
8188
9158
  country: string;
8189
9159
  district: string;
@@ -8206,8 +9176,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8206
9176
  option: string;
8207
9177
  filename: string;
8208
9178
  originalFilename: string;
8209
- }[] | [string, string] | undefined>;
8210
- createdAtLocation: string;
9179
+ }[] | [string, string] | null | undefined>;
9180
+ creator?: "system" | "user" | undefined;
9181
+ createdBySignature?: string | null | undefined;
9182
+ createdAtLocation?: string | null | undefined;
8211
9183
  annotation?: Record<string, string | number | boolean | {
8212
9184
  type: string;
8213
9185
  filename: string;
@@ -8223,6 +9195,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8223
9195
  residentialArea?: string | null | undefined;
8224
9196
  street?: string | null | undefined;
8225
9197
  zipCode?: string | null | undefined;
9198
+ } | {
9199
+ firstname: string;
9200
+ surname: string;
9201
+ middlename?: string | null | undefined;
8226
9202
  } | {
8227
9203
  country: string;
8228
9204
  district: string;
@@ -8245,7 +9221,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8245
9221
  option: string;
8246
9222
  filename: string;
8247
9223
  originalFilename: string;
8248
- }[] | [string, string] | undefined> | undefined;
9224
+ }[] | [string, string] | null | undefined> | undefined;
8249
9225
  originalActionId?: string | undefined;
8250
9226
  }, {
8251
9227
  type: "CREATE";
@@ -8270,6 +9246,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8270
9246
  residentialArea?: string | null | undefined;
8271
9247
  street?: string | null | undefined;
8272
9248
  zipCode?: string | null | undefined;
9249
+ } | {
9250
+ firstname: string;
9251
+ surname: string;
9252
+ middlename?: string | null | undefined;
8273
9253
  } | {
8274
9254
  country: string;
8275
9255
  district: string;
@@ -8292,8 +9272,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8292
9272
  option: string;
8293
9273
  filename: string;
8294
9274
  originalFilename: string;
8295
- }[] | [string, string] | undefined>;
8296
- createdAtLocation: string;
9275
+ }[] | [string, string] | null | undefined>;
9276
+ creator?: "system" | "user" | undefined;
9277
+ createdBySignature?: string | null | undefined;
9278
+ createdAtLocation?: string | null | undefined;
8297
9279
  annotation?: Record<string, string | number | boolean | {
8298
9280
  type: string;
8299
9281
  filename: string;
@@ -8309,6 +9291,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8309
9291
  residentialArea?: string | null | undefined;
8310
9292
  street?: string | null | undefined;
8311
9293
  zipCode?: string | null | undefined;
9294
+ } | {
9295
+ firstname: string;
9296
+ surname: string;
9297
+ middlename?: string | null | undefined;
8312
9298
  } | {
8313
9299
  country: string;
8314
9300
  district: string;
@@ -8331,14 +9317,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8331
9317
  option: string;
8332
9318
  filename: string;
8333
9319
  originalFilename: string;
8334
- }[] | [string, string] | undefined> | undefined;
9320
+ }[] | [string, string] | null | undefined> | undefined;
8335
9321
  originalActionId?: string | undefined;
8336
9322
  }>, z.ZodObject<z.objectUtil.extendShape<{
8337
9323
  id: z.ZodString;
8338
9324
  transactionId: z.ZodString;
9325
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
8339
9326
  createdAt: z.ZodString;
8340
9327
  createdBy: z.ZodString;
8341
9328
  createdByRole: z.ZodString;
9329
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9330
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8342
9331
  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
9332
  filename: z.ZodString;
8344
9333
  originalFilename: z.ZodString;
@@ -8452,7 +9441,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8452
9441
  addressLine2?: string | null | undefined;
8453
9442
  addressLine3?: string | null | undefined;
8454
9443
  postcodeOrZip?: string | null | undefined;
8455
- }>]>>;
9444
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9445
+ firstname: z.ZodString;
9446
+ surname: z.ZodString;
9447
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9448
+ }, "strip", z.ZodTypeAny, {
9449
+ firstname: string;
9450
+ surname: string;
9451
+ middlename?: string | null | undefined;
9452
+ }, {
9453
+ firstname: string;
9454
+ surname: string;
9455
+ middlename?: string | null | undefined;
9456
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8456
9457
  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
9458
  filename: z.ZodString;
8458
9459
  originalFilename: z.ZodString;
@@ -8566,8 +9567,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8566
9567
  addressLine2?: string | null | undefined;
8567
9568
  addressLine3?: string | null | undefined;
8568
9569
  postcodeOrZip?: string | null | undefined;
8569
- }>]>>>;
8570
- createdAtLocation: z.ZodString;
9570
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9571
+ firstname: z.ZodString;
9572
+ surname: z.ZodString;
9573
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9574
+ }, "strip", z.ZodTypeAny, {
9575
+ firstname: string;
9576
+ surname: string;
9577
+ middlename?: string | null | undefined;
9578
+ }, {
9579
+ firstname: string;
9580
+ surname: string;
9581
+ middlename?: string | null | undefined;
9582
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8571
9583
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8572
9584
  originalActionId: z.ZodOptional<z.ZodString>;
8573
9585
  }, {
@@ -8595,6 +9607,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8595
9607
  residentialArea?: string | null | undefined;
8596
9608
  street?: string | null | undefined;
8597
9609
  zipCode?: string | null | undefined;
9610
+ } | {
9611
+ firstname: string;
9612
+ surname: string;
9613
+ middlename?: string | null | undefined;
8598
9614
  } | {
8599
9615
  country: string;
8600
9616
  district: string;
@@ -8617,8 +9633,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8617
9633
  option: string;
8618
9634
  filename: string;
8619
9635
  originalFilename: string;
8620
- }[] | [string, string] | undefined>;
8621
- createdAtLocation: string;
9636
+ }[] | [string, string] | null | undefined>;
9637
+ creator?: "system" | "user" | undefined;
9638
+ createdBySignature?: string | null | undefined;
9639
+ createdAtLocation?: string | null | undefined;
8622
9640
  annotation?: Record<string, string | number | boolean | {
8623
9641
  type: string;
8624
9642
  filename: string;
@@ -8634,6 +9652,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8634
9652
  residentialArea?: string | null | undefined;
8635
9653
  street?: string | null | undefined;
8636
9654
  zipCode?: string | null | undefined;
9655
+ } | {
9656
+ firstname: string;
9657
+ surname: string;
9658
+ middlename?: string | null | undefined;
8637
9659
  } | {
8638
9660
  country: string;
8639
9661
  district: string;
@@ -8656,7 +9678,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8656
9678
  option: string;
8657
9679
  filename: string;
8658
9680
  originalFilename: string;
8659
- }[] | [string, string] | undefined> | undefined;
9681
+ }[] | [string, string] | null | undefined> | undefined;
8660
9682
  originalActionId?: string | undefined;
8661
9683
  }, {
8662
9684
  type: "VALIDATE";
@@ -8681,6 +9703,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8681
9703
  residentialArea?: string | null | undefined;
8682
9704
  street?: string | null | undefined;
8683
9705
  zipCode?: string | null | undefined;
9706
+ } | {
9707
+ firstname: string;
9708
+ surname: string;
9709
+ middlename?: string | null | undefined;
8684
9710
  } | {
8685
9711
  country: string;
8686
9712
  district: string;
@@ -8703,8 +9729,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8703
9729
  option: string;
8704
9730
  filename: string;
8705
9731
  originalFilename: string;
8706
- }[] | [string, string] | undefined>;
8707
- createdAtLocation: string;
9732
+ }[] | [string, string] | null | undefined>;
9733
+ creator?: "system" | "user" | undefined;
9734
+ createdBySignature?: string | null | undefined;
9735
+ createdAtLocation?: string | null | undefined;
8708
9736
  annotation?: Record<string, string | number | boolean | {
8709
9737
  type: string;
8710
9738
  filename: string;
@@ -8720,6 +9748,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8720
9748
  residentialArea?: string | null | undefined;
8721
9749
  street?: string | null | undefined;
8722
9750
  zipCode?: string | null | undefined;
9751
+ } | {
9752
+ firstname: string;
9753
+ surname: string;
9754
+ middlename?: string | null | undefined;
8723
9755
  } | {
8724
9756
  country: string;
8725
9757
  district: string;
@@ -8742,14 +9774,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8742
9774
  option: string;
8743
9775
  filename: string;
8744
9776
  originalFilename: string;
8745
- }[] | [string, string] | undefined> | undefined;
9777
+ }[] | [string, string] | null | undefined> | undefined;
8746
9778
  originalActionId?: string | undefined;
8747
9779
  }>, z.ZodObject<z.objectUtil.extendShape<{
8748
9780
  id: z.ZodString;
8749
9781
  transactionId: z.ZodString;
9782
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
8750
9783
  createdAt: z.ZodString;
8751
9784
  createdBy: z.ZodString;
8752
9785
  createdByRole: z.ZodString;
9786
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9787
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8753
9788
  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
9789
  filename: z.ZodString;
8755
9790
  originalFilename: z.ZodString;
@@ -8863,7 +9898,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8863
9898
  addressLine2?: string | null | undefined;
8864
9899
  addressLine3?: string | null | undefined;
8865
9900
  postcodeOrZip?: string | null | undefined;
8866
- }>]>>;
9901
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9902
+ firstname: z.ZodString;
9903
+ surname: z.ZodString;
9904
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9905
+ }, "strip", z.ZodTypeAny, {
9906
+ firstname: string;
9907
+ surname: string;
9908
+ middlename?: string | null | undefined;
9909
+ }, {
9910
+ firstname: string;
9911
+ surname: string;
9912
+ middlename?: string | null | undefined;
9913
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8867
9914
  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
9915
  filename: z.ZodString;
8869
9916
  originalFilename: z.ZodString;
@@ -8977,16 +10024,41 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8977
10024
  addressLine2?: string | null | undefined;
8978
10025
  addressLine3?: string | null | undefined;
8979
10026
  postcodeOrZip?: string | null | undefined;
8980
- }>]>>>;
8981
- createdAtLocation: z.ZodString;
10027
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10028
+ firstname: z.ZodString;
10029
+ surname: z.ZodString;
10030
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10031
+ }, "strip", z.ZodTypeAny, {
10032
+ firstname: string;
10033
+ surname: string;
10034
+ middlename?: string | null | undefined;
10035
+ }, {
10036
+ firstname: string;
10037
+ surname: string;
10038
+ middlename?: string | null | undefined;
10039
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8982
10040
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8983
10041
  originalActionId: z.ZodOptional<z.ZodString>;
8984
10042
  }, {
8985
10043
  type: z.ZodLiteral<"REJECT">;
10044
+ reason: z.ZodObject<{
10045
+ message: z.ZodString;
10046
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
10047
+ }, "strip", z.ZodTypeAny, {
10048
+ message: string;
10049
+ isDuplicate?: boolean | undefined;
10050
+ }, {
10051
+ message: string;
10052
+ isDuplicate?: boolean | undefined;
10053
+ }>;
8986
10054
  }>, "strip", z.ZodTypeAny, {
8987
10055
  type: "REJECT";
8988
10056
  id: string;
8989
10057
  status: "Rejected" | "Requested" | "Accepted";
10058
+ reason: {
10059
+ message: string;
10060
+ isDuplicate?: boolean | undefined;
10061
+ };
8990
10062
  transactionId: string;
8991
10063
  createdAt: string;
8992
10064
  createdBy: string;
@@ -9006,6 +10078,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9006
10078
  residentialArea?: string | null | undefined;
9007
10079
  street?: string | null | undefined;
9008
10080
  zipCode?: string | null | undefined;
10081
+ } | {
10082
+ firstname: string;
10083
+ surname: string;
10084
+ middlename?: string | null | undefined;
9009
10085
  } | {
9010
10086
  country: string;
9011
10087
  district: string;
@@ -9028,8 +10104,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9028
10104
  option: string;
9029
10105
  filename: string;
9030
10106
  originalFilename: string;
9031
- }[] | [string, string] | undefined>;
9032
- createdAtLocation: string;
10107
+ }[] | [string, string] | null | undefined>;
10108
+ creator?: "system" | "user" | undefined;
10109
+ createdBySignature?: string | null | undefined;
10110
+ createdAtLocation?: string | null | undefined;
9033
10111
  annotation?: Record<string, string | number | boolean | {
9034
10112
  type: string;
9035
10113
  filename: string;
@@ -9045,6 +10123,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9045
10123
  residentialArea?: string | null | undefined;
9046
10124
  street?: string | null | undefined;
9047
10125
  zipCode?: string | null | undefined;
10126
+ } | {
10127
+ firstname: string;
10128
+ surname: string;
10129
+ middlename?: string | null | undefined;
9048
10130
  } | {
9049
10131
  country: string;
9050
10132
  district: string;
@@ -9067,12 +10149,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9067
10149
  option: string;
9068
10150
  filename: string;
9069
10151
  originalFilename: string;
9070
- }[] | [string, string] | undefined> | undefined;
10152
+ }[] | [string, string] | null | undefined> | undefined;
9071
10153
  originalActionId?: string | undefined;
9072
10154
  }, {
9073
10155
  type: "REJECT";
9074
10156
  id: string;
9075
10157
  status: "Rejected" | "Requested" | "Accepted";
10158
+ reason: {
10159
+ message: string;
10160
+ isDuplicate?: boolean | undefined;
10161
+ };
9076
10162
  transactionId: string;
9077
10163
  createdAt: string;
9078
10164
  createdBy: string;
@@ -9092,6 +10178,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9092
10178
  residentialArea?: string | null | undefined;
9093
10179
  street?: string | null | undefined;
9094
10180
  zipCode?: string | null | undefined;
10181
+ } | {
10182
+ firstname: string;
10183
+ surname: string;
10184
+ middlename?: string | null | undefined;
9095
10185
  } | {
9096
10186
  country: string;
9097
10187
  district: string;
@@ -9114,8 +10204,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9114
10204
  option: string;
9115
10205
  filename: string;
9116
10206
  originalFilename: string;
9117
- }[] | [string, string] | undefined>;
9118
- createdAtLocation: string;
10207
+ }[] | [string, string] | null | undefined>;
10208
+ creator?: "system" | "user" | undefined;
10209
+ createdBySignature?: string | null | undefined;
10210
+ createdAtLocation?: string | null | undefined;
9119
10211
  annotation?: Record<string, string | number | boolean | {
9120
10212
  type: string;
9121
10213
  filename: string;
@@ -9131,6 +10223,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9131
10223
  residentialArea?: string | null | undefined;
9132
10224
  street?: string | null | undefined;
9133
10225
  zipCode?: string | null | undefined;
10226
+ } | {
10227
+ firstname: string;
10228
+ surname: string;
10229
+ middlename?: string | null | undefined;
9134
10230
  } | {
9135
10231
  country: string;
9136
10232
  district: string;
@@ -9153,14 +10249,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9153
10249
  option: string;
9154
10250
  filename: string;
9155
10251
  originalFilename: string;
9156
- }[] | [string, string] | undefined> | undefined;
10252
+ }[] | [string, string] | null | undefined> | undefined;
9157
10253
  originalActionId?: string | undefined;
9158
10254
  }>, z.ZodObject<z.objectUtil.extendShape<{
9159
10255
  id: z.ZodString;
9160
10256
  transactionId: z.ZodString;
10257
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
9161
10258
  createdAt: z.ZodString;
9162
10259
  createdBy: z.ZodString;
9163
10260
  createdByRole: z.ZodString;
10261
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10262
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9164
10263
  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
10264
  filename: z.ZodString;
9166
10265
  originalFilename: z.ZodString;
@@ -9274,7 +10373,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9274
10373
  addressLine2?: string | null | undefined;
9275
10374
  addressLine3?: string | null | undefined;
9276
10375
  postcodeOrZip?: string | null | undefined;
9277
- }>]>>;
10376
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10377
+ firstname: z.ZodString;
10378
+ surname: z.ZodString;
10379
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10380
+ }, "strip", z.ZodTypeAny, {
10381
+ firstname: string;
10382
+ surname: string;
10383
+ middlename?: string | null | undefined;
10384
+ }, {
10385
+ firstname: string;
10386
+ surname: string;
10387
+ middlename?: string | null | undefined;
10388
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9278
10389
  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
10390
  filename: z.ZodString;
9280
10391
  originalFilename: z.ZodString;
@@ -9388,8 +10499,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9388
10499
  addressLine2?: string | null | undefined;
9389
10500
  addressLine3?: string | null | undefined;
9390
10501
  postcodeOrZip?: string | null | undefined;
9391
- }>]>>>;
9392
- createdAtLocation: z.ZodString;
10502
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10503
+ firstname: z.ZodString;
10504
+ surname: z.ZodString;
10505
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10506
+ }, "strip", z.ZodTypeAny, {
10507
+ firstname: string;
10508
+ surname: string;
10509
+ middlename?: string | null | undefined;
10510
+ }, {
10511
+ firstname: string;
10512
+ surname: string;
10513
+ middlename?: string | null | undefined;
10514
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9393
10515
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9394
10516
  originalActionId: z.ZodOptional<z.ZodString>;
9395
10517
  }, {
@@ -9417,6 +10539,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9417
10539
  residentialArea?: string | null | undefined;
9418
10540
  street?: string | null | undefined;
9419
10541
  zipCode?: string | null | undefined;
10542
+ } | {
10543
+ firstname: string;
10544
+ surname: string;
10545
+ middlename?: string | null | undefined;
9420
10546
  } | {
9421
10547
  country: string;
9422
10548
  district: string;
@@ -9439,8 +10565,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9439
10565
  option: string;
9440
10566
  filename: string;
9441
10567
  originalFilename: string;
9442
- }[] | [string, string] | undefined>;
9443
- createdAtLocation: string;
10568
+ }[] | [string, string] | null | undefined>;
10569
+ creator?: "system" | "user" | undefined;
10570
+ createdBySignature?: string | null | undefined;
10571
+ createdAtLocation?: string | null | undefined;
9444
10572
  annotation?: Record<string, string | number | boolean | {
9445
10573
  type: string;
9446
10574
  filename: string;
@@ -9456,6 +10584,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9456
10584
  residentialArea?: string | null | undefined;
9457
10585
  street?: string | null | undefined;
9458
10586
  zipCode?: string | null | undefined;
10587
+ } | {
10588
+ firstname: string;
10589
+ surname: string;
10590
+ middlename?: string | null | undefined;
9459
10591
  } | {
9460
10592
  country: string;
9461
10593
  district: string;
@@ -9478,7 +10610,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9478
10610
  option: string;
9479
10611
  filename: string;
9480
10612
  originalFilename: string;
9481
- }[] | [string, string] | undefined> | undefined;
10613
+ }[] | [string, string] | null | undefined> | undefined;
9482
10614
  originalActionId?: string | undefined;
9483
10615
  }, {
9484
10616
  type: "MARKED_AS_DUPLICATE";
@@ -9503,6 +10635,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9503
10635
  residentialArea?: string | null | undefined;
9504
10636
  street?: string | null | undefined;
9505
10637
  zipCode?: string | null | undefined;
10638
+ } | {
10639
+ firstname: string;
10640
+ surname: string;
10641
+ middlename?: string | null | undefined;
9506
10642
  } | {
9507
10643
  country: string;
9508
10644
  district: string;
@@ -9525,8 +10661,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9525
10661
  option: string;
9526
10662
  filename: string;
9527
10663
  originalFilename: string;
9528
- }[] | [string, string] | undefined>;
9529
- createdAtLocation: string;
10664
+ }[] | [string, string] | null | undefined>;
10665
+ creator?: "system" | "user" | undefined;
10666
+ createdBySignature?: string | null | undefined;
10667
+ createdAtLocation?: string | null | undefined;
9530
10668
  annotation?: Record<string, string | number | boolean | {
9531
10669
  type: string;
9532
10670
  filename: string;
@@ -9542,6 +10680,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9542
10680
  residentialArea?: string | null | undefined;
9543
10681
  street?: string | null | undefined;
9544
10682
  zipCode?: string | null | undefined;
10683
+ } | {
10684
+ firstname: string;
10685
+ surname: string;
10686
+ middlename?: string | null | undefined;
9545
10687
  } | {
9546
10688
  country: string;
9547
10689
  district: string;
@@ -9564,14 +10706,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9564
10706
  option: string;
9565
10707
  filename: string;
9566
10708
  originalFilename: string;
9567
- }[] | [string, string] | undefined> | undefined;
10709
+ }[] | [string, string] | null | undefined> | undefined;
9568
10710
  originalActionId?: string | undefined;
9569
10711
  }>, z.ZodObject<z.objectUtil.extendShape<{
9570
10712
  id: z.ZodString;
9571
10713
  transactionId: z.ZodString;
10714
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
9572
10715
  createdAt: z.ZodString;
9573
10716
  createdBy: z.ZodString;
9574
10717
  createdByRole: z.ZodString;
10718
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10719
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9575
10720
  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
10721
  filename: z.ZodString;
9577
10722
  originalFilename: z.ZodString;
@@ -9685,7 +10830,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9685
10830
  addressLine2?: string | null | undefined;
9686
10831
  addressLine3?: string | null | undefined;
9687
10832
  postcodeOrZip?: string | null | undefined;
9688
- }>]>>;
10833
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10834
+ firstname: z.ZodString;
10835
+ surname: z.ZodString;
10836
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10837
+ }, "strip", z.ZodTypeAny, {
10838
+ firstname: string;
10839
+ surname: string;
10840
+ middlename?: string | null | undefined;
10841
+ }, {
10842
+ firstname: string;
10843
+ surname: string;
10844
+ middlename?: string | null | undefined;
10845
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9689
10846
  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
10847
  filename: z.ZodString;
9691
10848
  originalFilename: z.ZodString;
@@ -9799,16 +10956,41 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9799
10956
  addressLine2?: string | null | undefined;
9800
10957
  addressLine3?: string | null | undefined;
9801
10958
  postcodeOrZip?: string | null | undefined;
9802
- }>]>>>;
9803
- createdAtLocation: z.ZodString;
10959
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10960
+ firstname: z.ZodString;
10961
+ surname: z.ZodString;
10962
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10963
+ }, "strip", z.ZodTypeAny, {
10964
+ firstname: string;
10965
+ surname: string;
10966
+ middlename?: string | null | undefined;
10967
+ }, {
10968
+ firstname: string;
10969
+ surname: string;
10970
+ middlename?: string | null | undefined;
10971
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9804
10972
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9805
10973
  originalActionId: z.ZodOptional<z.ZodString>;
9806
10974
  }, {
9807
10975
  type: z.ZodLiteral<"ARCHIVE">;
10976
+ reason: z.ZodObject<{
10977
+ message: z.ZodString;
10978
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
10979
+ }, "strip", z.ZodTypeAny, {
10980
+ message: string;
10981
+ isDuplicate?: boolean | undefined;
10982
+ }, {
10983
+ message: string;
10984
+ isDuplicate?: boolean | undefined;
10985
+ }>;
9808
10986
  }>, "strip", z.ZodTypeAny, {
9809
10987
  type: "ARCHIVE";
9810
10988
  id: string;
9811
10989
  status: "Rejected" | "Requested" | "Accepted";
10990
+ reason: {
10991
+ message: string;
10992
+ isDuplicate?: boolean | undefined;
10993
+ };
9812
10994
  transactionId: string;
9813
10995
  createdAt: string;
9814
10996
  createdBy: string;
@@ -9828,6 +11010,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9828
11010
  residentialArea?: string | null | undefined;
9829
11011
  street?: string | null | undefined;
9830
11012
  zipCode?: string | null | undefined;
11013
+ } | {
11014
+ firstname: string;
11015
+ surname: string;
11016
+ middlename?: string | null | undefined;
9831
11017
  } | {
9832
11018
  country: string;
9833
11019
  district: string;
@@ -9850,8 +11036,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9850
11036
  option: string;
9851
11037
  filename: string;
9852
11038
  originalFilename: string;
9853
- }[] | [string, string] | undefined>;
9854
- createdAtLocation: string;
11039
+ }[] | [string, string] | null | undefined>;
11040
+ creator?: "system" | "user" | undefined;
11041
+ createdBySignature?: string | null | undefined;
11042
+ createdAtLocation?: string | null | undefined;
9855
11043
  annotation?: Record<string, string | number | boolean | {
9856
11044
  type: string;
9857
11045
  filename: string;
@@ -9867,6 +11055,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9867
11055
  residentialArea?: string | null | undefined;
9868
11056
  street?: string | null | undefined;
9869
11057
  zipCode?: string | null | undefined;
11058
+ } | {
11059
+ firstname: string;
11060
+ surname: string;
11061
+ middlename?: string | null | undefined;
9870
11062
  } | {
9871
11063
  country: string;
9872
11064
  district: string;
@@ -9889,12 +11081,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9889
11081
  option: string;
9890
11082
  filename: string;
9891
11083
  originalFilename: string;
9892
- }[] | [string, string] | undefined> | undefined;
11084
+ }[] | [string, string] | null | undefined> | undefined;
9893
11085
  originalActionId?: string | undefined;
9894
11086
  }, {
9895
11087
  type: "ARCHIVE";
9896
11088
  id: string;
9897
11089
  status: "Rejected" | "Requested" | "Accepted";
11090
+ reason: {
11091
+ message: string;
11092
+ isDuplicate?: boolean | undefined;
11093
+ };
9898
11094
  transactionId: string;
9899
11095
  createdAt: string;
9900
11096
  createdBy: string;
@@ -9914,6 +11110,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9914
11110
  residentialArea?: string | null | undefined;
9915
11111
  street?: string | null | undefined;
9916
11112
  zipCode?: string | null | undefined;
11113
+ } | {
11114
+ firstname: string;
11115
+ surname: string;
11116
+ middlename?: string | null | undefined;
9917
11117
  } | {
9918
11118
  country: string;
9919
11119
  district: string;
@@ -9936,8 +11136,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9936
11136
  option: string;
9937
11137
  filename: string;
9938
11138
  originalFilename: string;
9939
- }[] | [string, string] | undefined>;
9940
- createdAtLocation: string;
11139
+ }[] | [string, string] | null | undefined>;
11140
+ creator?: "system" | "user" | undefined;
11141
+ createdBySignature?: string | null | undefined;
11142
+ createdAtLocation?: string | null | undefined;
9941
11143
  annotation?: Record<string, string | number | boolean | {
9942
11144
  type: string;
9943
11145
  filename: string;
@@ -9953,6 +11155,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9953
11155
  residentialArea?: string | null | undefined;
9954
11156
  street?: string | null | undefined;
9955
11157
  zipCode?: string | null | undefined;
11158
+ } | {
11159
+ firstname: string;
11160
+ surname: string;
11161
+ middlename?: string | null | undefined;
9956
11162
  } | {
9957
11163
  country: string;
9958
11164
  district: string;
@@ -9975,14 +11181,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9975
11181
  option: string;
9976
11182
  filename: string;
9977
11183
  originalFilename: string;
9978
- }[] | [string, string] | undefined> | undefined;
11184
+ }[] | [string, string] | null | undefined> | undefined;
9979
11185
  originalActionId?: string | undefined;
9980
11186
  }>, z.ZodObject<z.objectUtil.extendShape<{
9981
11187
  id: z.ZodString;
9982
11188
  transactionId: z.ZodString;
11189
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
9983
11190
  createdAt: z.ZodString;
9984
11191
  createdBy: z.ZodString;
9985
11192
  createdByRole: z.ZodString;
11193
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11194
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9986
11195
  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
11196
  filename: z.ZodString;
9988
11197
  originalFilename: z.ZodString;
@@ -10096,7 +11305,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10096
11305
  addressLine2?: string | null | undefined;
10097
11306
  addressLine3?: string | null | undefined;
10098
11307
  postcodeOrZip?: string | null | undefined;
10099
- }>]>>;
11308
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11309
+ firstname: z.ZodString;
11310
+ surname: z.ZodString;
11311
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11312
+ }, "strip", z.ZodTypeAny, {
11313
+ firstname: string;
11314
+ surname: string;
11315
+ middlename?: string | null | undefined;
11316
+ }, {
11317
+ firstname: string;
11318
+ surname: string;
11319
+ middlename?: string | null | undefined;
11320
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10100
11321
  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
11322
  filename: z.ZodString;
10102
11323
  originalFilename: z.ZodString;
@@ -10210,8 +11431,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10210
11431
  addressLine2?: string | null | undefined;
10211
11432
  addressLine3?: string | null | undefined;
10212
11433
  postcodeOrZip?: string | null | undefined;
10213
- }>]>>>;
10214
- createdAtLocation: z.ZodString;
11434
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11435
+ firstname: z.ZodString;
11436
+ surname: z.ZodString;
11437
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11438
+ }, "strip", z.ZodTypeAny, {
11439
+ firstname: string;
11440
+ surname: string;
11441
+ middlename?: string | null | undefined;
11442
+ }, {
11443
+ firstname: string;
11444
+ surname: string;
11445
+ middlename?: string | null | undefined;
11446
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10215
11447
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10216
11448
  originalActionId: z.ZodOptional<z.ZodString>;
10217
11449
  }, {
@@ -10239,6 +11471,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10239
11471
  residentialArea?: string | null | undefined;
10240
11472
  street?: string | null | undefined;
10241
11473
  zipCode?: string | null | undefined;
11474
+ } | {
11475
+ firstname: string;
11476
+ surname: string;
11477
+ middlename?: string | null | undefined;
10242
11478
  } | {
10243
11479
  country: string;
10244
11480
  district: string;
@@ -10261,8 +11497,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10261
11497
  option: string;
10262
11498
  filename: string;
10263
11499
  originalFilename: string;
10264
- }[] | [string, string] | undefined>;
10265
- createdAtLocation: string;
11500
+ }[] | [string, string] | null | undefined>;
11501
+ creator?: "system" | "user" | undefined;
11502
+ createdBySignature?: string | null | undefined;
11503
+ createdAtLocation?: string | null | undefined;
10266
11504
  annotation?: Record<string, string | number | boolean | {
10267
11505
  type: string;
10268
11506
  filename: string;
@@ -10278,6 +11516,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10278
11516
  residentialArea?: string | null | undefined;
10279
11517
  street?: string | null | undefined;
10280
11518
  zipCode?: string | null | undefined;
11519
+ } | {
11520
+ firstname: string;
11521
+ surname: string;
11522
+ middlename?: string | null | undefined;
10281
11523
  } | {
10282
11524
  country: string;
10283
11525
  district: string;
@@ -10300,7 +11542,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10300
11542
  option: string;
10301
11543
  filename: string;
10302
11544
  originalFilename: string;
10303
- }[] | [string, string] | undefined> | undefined;
11545
+ }[] | [string, string] | null | undefined> | undefined;
10304
11546
  originalActionId?: string | undefined;
10305
11547
  }, {
10306
11548
  type: "NOTIFY";
@@ -10325,6 +11567,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10325
11567
  residentialArea?: string | null | undefined;
10326
11568
  street?: string | null | undefined;
10327
11569
  zipCode?: string | null | undefined;
11570
+ } | {
11571
+ firstname: string;
11572
+ surname: string;
11573
+ middlename?: string | null | undefined;
10328
11574
  } | {
10329
11575
  country: string;
10330
11576
  district: string;
@@ -10347,8 +11593,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10347
11593
  option: string;
10348
11594
  filename: string;
10349
11595
  originalFilename: string;
10350
- }[] | [string, string] | undefined>;
10351
- createdAtLocation: string;
11596
+ }[] | [string, string] | null | undefined>;
11597
+ creator?: "system" | "user" | undefined;
11598
+ createdBySignature?: string | null | undefined;
11599
+ createdAtLocation?: string | null | undefined;
10352
11600
  annotation?: Record<string, string | number | boolean | {
10353
11601
  type: string;
10354
11602
  filename: string;
@@ -10364,6 +11612,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10364
11612
  residentialArea?: string | null | undefined;
10365
11613
  street?: string | null | undefined;
10366
11614
  zipCode?: string | null | undefined;
11615
+ } | {
11616
+ firstname: string;
11617
+ surname: string;
11618
+ middlename?: string | null | undefined;
10367
11619
  } | {
10368
11620
  country: string;
10369
11621
  district: string;
@@ -10386,14 +11638,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10386
11638
  option: string;
10387
11639
  filename: string;
10388
11640
  originalFilename: string;
10389
- }[] | [string, string] | undefined> | undefined;
11641
+ }[] | [string, string] | null | undefined> | undefined;
10390
11642
  originalActionId?: string | undefined;
10391
11643
  }>, z.ZodObject<z.objectUtil.extendShape<{
10392
11644
  id: z.ZodString;
10393
11645
  transactionId: z.ZodString;
11646
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
10394
11647
  createdAt: z.ZodString;
10395
11648
  createdBy: z.ZodString;
10396
11649
  createdByRole: z.ZodString;
11650
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11651
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10397
11652
  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
11653
  filename: z.ZodString;
10399
11654
  originalFilename: z.ZodString;
@@ -10507,7 +11762,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10507
11762
  addressLine2?: string | null | undefined;
10508
11763
  addressLine3?: string | null | undefined;
10509
11764
  postcodeOrZip?: string | null | undefined;
10510
- }>]>>;
11765
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11766
+ firstname: z.ZodString;
11767
+ surname: z.ZodString;
11768
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11769
+ }, "strip", z.ZodTypeAny, {
11770
+ firstname: string;
11771
+ surname: string;
11772
+ middlename?: string | null | undefined;
11773
+ }, {
11774
+ firstname: string;
11775
+ surname: string;
11776
+ middlename?: string | null | undefined;
11777
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10511
11778
  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
11779
  filename: z.ZodString;
10513
11780
  originalFilename: z.ZodString;
@@ -10621,8 +11888,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10621
11888
  addressLine2?: string | null | undefined;
10622
11889
  addressLine3?: string | null | undefined;
10623
11890
  postcodeOrZip?: string | null | undefined;
10624
- }>]>>>;
10625
- createdAtLocation: z.ZodString;
11891
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11892
+ firstname: z.ZodString;
11893
+ surname: z.ZodString;
11894
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11895
+ }, "strip", z.ZodTypeAny, {
11896
+ firstname: string;
11897
+ surname: string;
11898
+ middlename?: string | null | undefined;
11899
+ }, {
11900
+ firstname: string;
11901
+ surname: string;
11902
+ middlename?: string | null | undefined;
11903
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10626
11904
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10627
11905
  originalActionId: z.ZodOptional<z.ZodString>;
10628
11906
  }, {
@@ -10651,6 +11929,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10651
11929
  residentialArea?: string | null | undefined;
10652
11930
  street?: string | null | undefined;
10653
11931
  zipCode?: string | null | undefined;
11932
+ } | {
11933
+ firstname: string;
11934
+ surname: string;
11935
+ middlename?: string | null | undefined;
10654
11936
  } | {
10655
11937
  country: string;
10656
11938
  district: string;
@@ -10673,8 +11955,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10673
11955
  option: string;
10674
11956
  filename: string;
10675
11957
  originalFilename: string;
10676
- }[] | [string, string] | undefined>;
10677
- createdAtLocation: string;
11958
+ }[] | [string, string] | null | undefined>;
11959
+ creator?: "system" | "user" | undefined;
11960
+ createdBySignature?: string | null | undefined;
11961
+ createdAtLocation?: string | null | undefined;
10678
11962
  annotation?: Record<string, string | number | boolean | {
10679
11963
  type: string;
10680
11964
  filename: string;
@@ -10690,6 +11974,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10690
11974
  residentialArea?: string | null | undefined;
10691
11975
  street?: string | null | undefined;
10692
11976
  zipCode?: string | null | undefined;
11977
+ } | {
11978
+ firstname: string;
11979
+ surname: string;
11980
+ middlename?: string | null | undefined;
10693
11981
  } | {
10694
11982
  country: string;
10695
11983
  district: string;
@@ -10712,7 +12000,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10712
12000
  option: string;
10713
12001
  filename: string;
10714
12002
  originalFilename: string;
10715
- }[] | [string, string] | undefined> | undefined;
12003
+ }[] | [string, string] | null | undefined> | undefined;
10716
12004
  originalActionId?: string | undefined;
10717
12005
  registrationNumber?: string | undefined;
10718
12006
  }, {
@@ -10738,6 +12026,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10738
12026
  residentialArea?: string | null | undefined;
10739
12027
  street?: string | null | undefined;
10740
12028
  zipCode?: string | null | undefined;
12029
+ } | {
12030
+ firstname: string;
12031
+ surname: string;
12032
+ middlename?: string | null | undefined;
10741
12033
  } | {
10742
12034
  country: string;
10743
12035
  district: string;
@@ -10760,8 +12052,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10760
12052
  option: string;
10761
12053
  filename: string;
10762
12054
  originalFilename: string;
10763
- }[] | [string, string] | undefined>;
10764
- createdAtLocation: string;
12055
+ }[] | [string, string] | null | undefined>;
12056
+ creator?: "system" | "user" | undefined;
12057
+ createdBySignature?: string | null | undefined;
12058
+ createdAtLocation?: string | null | undefined;
10765
12059
  annotation?: Record<string, string | number | boolean | {
10766
12060
  type: string;
10767
12061
  filename: string;
@@ -10777,6 +12071,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10777
12071
  residentialArea?: string | null | undefined;
10778
12072
  street?: string | null | undefined;
10779
12073
  zipCode?: string | null | undefined;
12074
+ } | {
12075
+ firstname: string;
12076
+ surname: string;
12077
+ middlename?: string | null | undefined;
10780
12078
  } | {
10781
12079
  country: string;
10782
12080
  district: string;
@@ -10799,15 +12097,18 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10799
12097
  option: string;
10800
12098
  filename: string;
10801
12099
  originalFilename: string;
10802
- }[] | [string, string] | undefined> | undefined;
12100
+ }[] | [string, string] | null | undefined> | undefined;
10803
12101
  originalActionId?: string | undefined;
10804
12102
  registrationNumber?: string | undefined;
10805
12103
  }>, z.ZodObject<z.objectUtil.extendShape<{
10806
12104
  id: z.ZodString;
10807
12105
  transactionId: z.ZodString;
12106
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
10808
12107
  createdAt: z.ZodString;
10809
12108
  createdBy: z.ZodString;
10810
12109
  createdByRole: z.ZodString;
12110
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12111
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10811
12112
  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
12113
  filename: z.ZodString;
10813
12114
  originalFilename: z.ZodString;
@@ -10921,7 +12222,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10921
12222
  addressLine2?: string | null | undefined;
10922
12223
  addressLine3?: string | null | undefined;
10923
12224
  postcodeOrZip?: string | null | undefined;
10924
- }>]>>;
12225
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12226
+ firstname: z.ZodString;
12227
+ surname: z.ZodString;
12228
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12229
+ }, "strip", z.ZodTypeAny, {
12230
+ firstname: string;
12231
+ surname: string;
12232
+ middlename?: string | null | undefined;
12233
+ }, {
12234
+ firstname: string;
12235
+ surname: string;
12236
+ middlename?: string | null | undefined;
12237
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10925
12238
  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
12239
  filename: z.ZodString;
10927
12240
  originalFilename: z.ZodString;
@@ -11035,8 +12348,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11035
12348
  addressLine2?: string | null | undefined;
11036
12349
  addressLine3?: string | null | undefined;
11037
12350
  postcodeOrZip?: string | null | undefined;
11038
- }>]>>>;
11039
- createdAtLocation: z.ZodString;
12351
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12352
+ firstname: z.ZodString;
12353
+ surname: z.ZodString;
12354
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12355
+ }, "strip", z.ZodTypeAny, {
12356
+ firstname: string;
12357
+ surname: string;
12358
+ middlename?: string | null | undefined;
12359
+ }, {
12360
+ firstname: string;
12361
+ surname: string;
12362
+ middlename?: string | null | undefined;
12363
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11040
12364
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11041
12365
  originalActionId: z.ZodOptional<z.ZodString>;
11042
12366
  }, {
@@ -11064,6 +12388,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11064
12388
  residentialArea?: string | null | undefined;
11065
12389
  street?: string | null | undefined;
11066
12390
  zipCode?: string | null | undefined;
12391
+ } | {
12392
+ firstname: string;
12393
+ surname: string;
12394
+ middlename?: string | null | undefined;
11067
12395
  } | {
11068
12396
  country: string;
11069
12397
  district: string;
@@ -11086,8 +12414,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11086
12414
  option: string;
11087
12415
  filename: string;
11088
12416
  originalFilename: string;
11089
- }[] | [string, string] | undefined>;
11090
- createdAtLocation: string;
12417
+ }[] | [string, string] | null | undefined>;
12418
+ creator?: "system" | "user" | undefined;
12419
+ createdBySignature?: string | null | undefined;
12420
+ createdAtLocation?: string | null | undefined;
11091
12421
  annotation?: Record<string, string | number | boolean | {
11092
12422
  type: string;
11093
12423
  filename: string;
@@ -11103,6 +12433,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11103
12433
  residentialArea?: string | null | undefined;
11104
12434
  street?: string | null | undefined;
11105
12435
  zipCode?: string | null | undefined;
12436
+ } | {
12437
+ firstname: string;
12438
+ surname: string;
12439
+ middlename?: string | null | undefined;
11106
12440
  } | {
11107
12441
  country: string;
11108
12442
  district: string;
@@ -11125,7 +12459,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11125
12459
  option: string;
11126
12460
  filename: string;
11127
12461
  originalFilename: string;
11128
- }[] | [string, string] | undefined> | undefined;
12462
+ }[] | [string, string] | null | undefined> | undefined;
11129
12463
  originalActionId?: string | undefined;
11130
12464
  }, {
11131
12465
  type: "DECLARE";
@@ -11150,6 +12484,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11150
12484
  residentialArea?: string | null | undefined;
11151
12485
  street?: string | null | undefined;
11152
12486
  zipCode?: string | null | undefined;
12487
+ } | {
12488
+ firstname: string;
12489
+ surname: string;
12490
+ middlename?: string | null | undefined;
11153
12491
  } | {
11154
12492
  country: string;
11155
12493
  district: string;
@@ -11172,8 +12510,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11172
12510
  option: string;
11173
12511
  filename: string;
11174
12512
  originalFilename: string;
11175
- }[] | [string, string] | undefined>;
11176
- createdAtLocation: string;
12513
+ }[] | [string, string] | null | undefined>;
12514
+ creator?: "system" | "user" | undefined;
12515
+ createdBySignature?: string | null | undefined;
12516
+ createdAtLocation?: string | null | undefined;
11177
12517
  annotation?: Record<string, string | number | boolean | {
11178
12518
  type: string;
11179
12519
  filename: string;
@@ -11189,6 +12529,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11189
12529
  residentialArea?: string | null | undefined;
11190
12530
  street?: string | null | undefined;
11191
12531
  zipCode?: string | null | undefined;
12532
+ } | {
12533
+ firstname: string;
12534
+ surname: string;
12535
+ middlename?: string | null | undefined;
11192
12536
  } | {
11193
12537
  country: string;
11194
12538
  district: string;
@@ -11211,14 +12555,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11211
12555
  option: string;
11212
12556
  filename: string;
11213
12557
  originalFilename: string;
11214
- }[] | [string, string] | undefined> | undefined;
12558
+ }[] | [string, string] | null | undefined> | undefined;
11215
12559
  originalActionId?: string | undefined;
11216
12560
  }>, z.ZodObject<z.objectUtil.extendShape<{
11217
12561
  id: z.ZodString;
11218
12562
  transactionId: z.ZodString;
12563
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
11219
12564
  createdAt: z.ZodString;
11220
12565
  createdBy: z.ZodString;
11221
12566
  createdByRole: z.ZodString;
12567
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12568
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11222
12569
  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
12570
  filename: z.ZodString;
11224
12571
  originalFilename: z.ZodString;
@@ -11332,7 +12679,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11332
12679
  addressLine2?: string | null | undefined;
11333
12680
  addressLine3?: string | null | undefined;
11334
12681
  postcodeOrZip?: string | null | undefined;
11335
- }>]>>;
12682
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12683
+ firstname: z.ZodString;
12684
+ surname: z.ZodString;
12685
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12686
+ }, "strip", z.ZodTypeAny, {
12687
+ firstname: string;
12688
+ surname: string;
12689
+ middlename?: string | null | undefined;
12690
+ }, {
12691
+ firstname: string;
12692
+ surname: string;
12693
+ middlename?: string | null | undefined;
12694
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
11336
12695
  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
12696
  filename: z.ZodString;
11338
12697
  originalFilename: z.ZodString;
@@ -11446,8 +12805,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11446
12805
  addressLine2?: string | null | undefined;
11447
12806
  addressLine3?: string | null | undefined;
11448
12807
  postcodeOrZip?: string | null | undefined;
11449
- }>]>>>;
11450
- createdAtLocation: z.ZodString;
12808
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12809
+ firstname: z.ZodString;
12810
+ surname: z.ZodString;
12811
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12812
+ }, "strip", z.ZodTypeAny, {
12813
+ firstname: string;
12814
+ surname: string;
12815
+ middlename?: string | null | undefined;
12816
+ }, {
12817
+ firstname: string;
12818
+ surname: string;
12819
+ middlename?: string | null | undefined;
12820
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11451
12821
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11452
12822
  originalActionId: z.ZodOptional<z.ZodString>;
11453
12823
  }, {
@@ -11476,6 +12846,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11476
12846
  residentialArea?: string | null | undefined;
11477
12847
  street?: string | null | undefined;
11478
12848
  zipCode?: string | null | undefined;
12849
+ } | {
12850
+ firstname: string;
12851
+ surname: string;
12852
+ middlename?: string | null | undefined;
11479
12853
  } | {
11480
12854
  country: string;
11481
12855
  district: string;
@@ -11498,9 +12872,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11498
12872
  option: string;
11499
12873
  filename: string;
11500
12874
  originalFilename: string;
11501
- }[] | [string, string] | undefined>;
11502
- createdAtLocation: string;
12875
+ }[] | [string, string] | null | undefined>;
11503
12876
  assignedTo: string;
12877
+ creator?: "system" | "user" | undefined;
12878
+ createdBySignature?: string | null | undefined;
12879
+ createdAtLocation?: string | null | undefined;
11504
12880
  annotation?: Record<string, string | number | boolean | {
11505
12881
  type: string;
11506
12882
  filename: string;
@@ -11516,6 +12892,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11516
12892
  residentialArea?: string | null | undefined;
11517
12893
  street?: string | null | undefined;
11518
12894
  zipCode?: string | null | undefined;
12895
+ } | {
12896
+ firstname: string;
12897
+ surname: string;
12898
+ middlename?: string | null | undefined;
11519
12899
  } | {
11520
12900
  country: string;
11521
12901
  district: string;
@@ -11538,7 +12918,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11538
12918
  option: string;
11539
12919
  filename: string;
11540
12920
  originalFilename: string;
11541
- }[] | [string, string] | undefined> | undefined;
12921
+ }[] | [string, string] | null | undefined> | undefined;
11542
12922
  originalActionId?: string | undefined;
11543
12923
  }, {
11544
12924
  type: "ASSIGN";
@@ -11563,6 +12943,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11563
12943
  residentialArea?: string | null | undefined;
11564
12944
  street?: string | null | undefined;
11565
12945
  zipCode?: string | null | undefined;
12946
+ } | {
12947
+ firstname: string;
12948
+ surname: string;
12949
+ middlename?: string | null | undefined;
11566
12950
  } | {
11567
12951
  country: string;
11568
12952
  district: string;
@@ -11585,9 +12969,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11585
12969
  option: string;
11586
12970
  filename: string;
11587
12971
  originalFilename: string;
11588
- }[] | [string, string] | undefined>;
11589
- createdAtLocation: string;
12972
+ }[] | [string, string] | null | undefined>;
11590
12973
  assignedTo: string;
12974
+ creator?: "system" | "user" | undefined;
12975
+ createdBySignature?: string | null | undefined;
12976
+ createdAtLocation?: string | null | undefined;
11591
12977
  annotation?: Record<string, string | number | boolean | {
11592
12978
  type: string;
11593
12979
  filename: string;
@@ -11603,6 +12989,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11603
12989
  residentialArea?: string | null | undefined;
11604
12990
  street?: string | null | undefined;
11605
12991
  zipCode?: string | null | undefined;
12992
+ } | {
12993
+ firstname: string;
12994
+ surname: string;
12995
+ middlename?: string | null | undefined;
11606
12996
  } | {
11607
12997
  country: string;
11608
12998
  district: string;
@@ -11625,14 +13015,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11625
13015
  option: string;
11626
13016
  filename: string;
11627
13017
  originalFilename: string;
11628
- }[] | [string, string] | undefined> | undefined;
13018
+ }[] | [string, string] | null | undefined> | undefined;
11629
13019
  originalActionId?: string | undefined;
11630
13020
  }>, z.ZodObject<z.objectUtil.extendShape<{
11631
13021
  id: z.ZodString;
11632
13022
  transactionId: z.ZodString;
13023
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
11633
13024
  createdAt: z.ZodString;
11634
13025
  createdBy: z.ZodString;
11635
13026
  createdByRole: z.ZodString;
13027
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13028
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11636
13029
  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
13030
  filename: z.ZodString;
11638
13031
  originalFilename: z.ZodString;
@@ -11746,7 +13139,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11746
13139
  addressLine2?: string | null | undefined;
11747
13140
  addressLine3?: string | null | undefined;
11748
13141
  postcodeOrZip?: string | null | undefined;
11749
- }>]>>;
13142
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13143
+ firstname: z.ZodString;
13144
+ surname: z.ZodString;
13145
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13146
+ }, "strip", z.ZodTypeAny, {
13147
+ firstname: string;
13148
+ surname: string;
13149
+ middlename?: string | null | undefined;
13150
+ }, {
13151
+ firstname: string;
13152
+ surname: string;
13153
+ middlename?: string | null | undefined;
13154
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
11750
13155
  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
13156
  filename: z.ZodString;
11752
13157
  originalFilename: z.ZodString;
@@ -11860,8 +13265,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11860
13265
  addressLine2?: string | null | undefined;
11861
13266
  addressLine3?: string | null | undefined;
11862
13267
  postcodeOrZip?: string | null | undefined;
11863
- }>]>>>;
11864
- createdAtLocation: z.ZodString;
13268
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13269
+ firstname: z.ZodString;
13270
+ surname: z.ZodString;
13271
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13272
+ }, "strip", z.ZodTypeAny, {
13273
+ firstname: string;
13274
+ surname: string;
13275
+ middlename?: string | null | undefined;
13276
+ }, {
13277
+ firstname: string;
13278
+ surname: string;
13279
+ middlename?: string | null | undefined;
13280
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11865
13281
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11866
13282
  originalActionId: z.ZodOptional<z.ZodString>;
11867
13283
  }, {
@@ -11889,6 +13305,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11889
13305
  residentialArea?: string | null | undefined;
11890
13306
  street?: string | null | undefined;
11891
13307
  zipCode?: string | null | undefined;
13308
+ } | {
13309
+ firstname: string;
13310
+ surname: string;
13311
+ middlename?: string | null | undefined;
11892
13312
  } | {
11893
13313
  country: string;
11894
13314
  district: string;
@@ -11911,8 +13331,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11911
13331
  option: string;
11912
13332
  filename: string;
11913
13333
  originalFilename: string;
11914
- }[] | [string, string] | undefined>;
11915
- createdAtLocation: string;
13334
+ }[] | [string, string] | null | undefined>;
13335
+ creator?: "system" | "user" | undefined;
13336
+ createdBySignature?: string | null | undefined;
13337
+ createdAtLocation?: string | null | undefined;
11916
13338
  annotation?: Record<string, string | number | boolean | {
11917
13339
  type: string;
11918
13340
  filename: string;
@@ -11928,6 +13350,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11928
13350
  residentialArea?: string | null | undefined;
11929
13351
  street?: string | null | undefined;
11930
13352
  zipCode?: string | null | undefined;
13353
+ } | {
13354
+ firstname: string;
13355
+ surname: string;
13356
+ middlename?: string | null | undefined;
11931
13357
  } | {
11932
13358
  country: string;
11933
13359
  district: string;
@@ -11950,7 +13376,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11950
13376
  option: string;
11951
13377
  filename: string;
11952
13378
  originalFilename: string;
11953
- }[] | [string, string] | undefined> | undefined;
13379
+ }[] | [string, string] | null | undefined> | undefined;
11954
13380
  originalActionId?: string | undefined;
11955
13381
  }, {
11956
13382
  type: "REQUEST_CORRECTION";
@@ -11975,6 +13401,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11975
13401
  residentialArea?: string | null | undefined;
11976
13402
  street?: string | null | undefined;
11977
13403
  zipCode?: string | null | undefined;
13404
+ } | {
13405
+ firstname: string;
13406
+ surname: string;
13407
+ middlename?: string | null | undefined;
11978
13408
  } | {
11979
13409
  country: string;
11980
13410
  district: string;
@@ -11997,8 +13427,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11997
13427
  option: string;
11998
13428
  filename: string;
11999
13429
  originalFilename: string;
12000
- }[] | [string, string] | undefined>;
12001
- createdAtLocation: string;
13430
+ }[] | [string, string] | null | undefined>;
13431
+ creator?: "system" | "user" | undefined;
13432
+ createdBySignature?: string | null | undefined;
13433
+ createdAtLocation?: string | null | undefined;
12002
13434
  annotation?: Record<string, string | number | boolean | {
12003
13435
  type: string;
12004
13436
  filename: string;
@@ -12014,6 +13446,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12014
13446
  residentialArea?: string | null | undefined;
12015
13447
  street?: string | null | undefined;
12016
13448
  zipCode?: string | null | undefined;
13449
+ } | {
13450
+ firstname: string;
13451
+ surname: string;
13452
+ middlename?: string | null | undefined;
12017
13453
  } | {
12018
13454
  country: string;
12019
13455
  district: string;
@@ -12036,14 +13472,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12036
13472
  option: string;
12037
13473
  filename: string;
12038
13474
  originalFilename: string;
12039
- }[] | [string, string] | undefined> | undefined;
13475
+ }[] | [string, string] | null | undefined> | undefined;
12040
13476
  originalActionId?: string | undefined;
12041
13477
  }>, z.ZodObject<z.objectUtil.extendShape<{
12042
13478
  id: z.ZodString;
12043
13479
  transactionId: z.ZodString;
13480
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
12044
13481
  createdAt: z.ZodString;
12045
13482
  createdBy: z.ZodString;
12046
13483
  createdByRole: z.ZodString;
13484
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13485
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12047
13486
  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
13487
  filename: z.ZodString;
12049
13488
  originalFilename: z.ZodString;
@@ -12157,7 +13596,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12157
13596
  addressLine2?: string | null | undefined;
12158
13597
  addressLine3?: string | null | undefined;
12159
13598
  postcodeOrZip?: string | null | undefined;
12160
- }>]>>;
13599
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13600
+ firstname: z.ZodString;
13601
+ surname: z.ZodString;
13602
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13603
+ }, "strip", z.ZodTypeAny, {
13604
+ firstname: string;
13605
+ surname: string;
13606
+ middlename?: string | null | undefined;
13607
+ }, {
13608
+ firstname: string;
13609
+ surname: string;
13610
+ middlename?: string | null | undefined;
13611
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12161
13612
  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
13613
  filename: z.ZodString;
12163
13614
  originalFilename: z.ZodString;
@@ -12271,8 +13722,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12271
13722
  addressLine2?: string | null | undefined;
12272
13723
  addressLine3?: string | null | undefined;
12273
13724
  postcodeOrZip?: string | null | undefined;
12274
- }>]>>>;
12275
- createdAtLocation: z.ZodString;
13725
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13726
+ firstname: z.ZodString;
13727
+ surname: z.ZodString;
13728
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13729
+ }, "strip", z.ZodTypeAny, {
13730
+ firstname: string;
13731
+ surname: string;
13732
+ middlename?: string | null | undefined;
13733
+ }, {
13734
+ firstname: string;
13735
+ surname: string;
13736
+ middlename?: string | null | undefined;
13737
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12276
13738
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12277
13739
  originalActionId: z.ZodOptional<z.ZodString>;
12278
13740
  }, {
@@ -12301,6 +13763,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12301
13763
  residentialArea?: string | null | undefined;
12302
13764
  street?: string | null | undefined;
12303
13765
  zipCode?: string | null | undefined;
13766
+ } | {
13767
+ firstname: string;
13768
+ surname: string;
13769
+ middlename?: string | null | undefined;
12304
13770
  } | {
12305
13771
  country: string;
12306
13772
  district: string;
@@ -12323,9 +13789,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12323
13789
  option: string;
12324
13790
  filename: string;
12325
13791
  originalFilename: string;
12326
- }[] | [string, string] | undefined>;
12327
- createdAtLocation: string;
13792
+ }[] | [string, string] | null | undefined>;
12328
13793
  requestId: string;
13794
+ creator?: "system" | "user" | undefined;
13795
+ createdBySignature?: string | null | undefined;
13796
+ createdAtLocation?: string | null | undefined;
12329
13797
  annotation?: Record<string, string | number | boolean | {
12330
13798
  type: string;
12331
13799
  filename: string;
@@ -12341,6 +13809,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12341
13809
  residentialArea?: string | null | undefined;
12342
13810
  street?: string | null | undefined;
12343
13811
  zipCode?: string | null | undefined;
13812
+ } | {
13813
+ firstname: string;
13814
+ surname: string;
13815
+ middlename?: string | null | undefined;
12344
13816
  } | {
12345
13817
  country: string;
12346
13818
  district: string;
@@ -12363,7 +13835,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12363
13835
  option: string;
12364
13836
  filename: string;
12365
13837
  originalFilename: string;
12366
- }[] | [string, string] | undefined> | undefined;
13838
+ }[] | [string, string] | null | undefined> | undefined;
12367
13839
  originalActionId?: string | undefined;
12368
13840
  }, {
12369
13841
  type: "APPROVE_CORRECTION";
@@ -12388,6 +13860,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12388
13860
  residentialArea?: string | null | undefined;
12389
13861
  street?: string | null | undefined;
12390
13862
  zipCode?: string | null | undefined;
13863
+ } | {
13864
+ firstname: string;
13865
+ surname: string;
13866
+ middlename?: string | null | undefined;
12391
13867
  } | {
12392
13868
  country: string;
12393
13869
  district: string;
@@ -12410,9 +13886,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12410
13886
  option: string;
12411
13887
  filename: string;
12412
13888
  originalFilename: string;
12413
- }[] | [string, string] | undefined>;
12414
- createdAtLocation: string;
13889
+ }[] | [string, string] | null | undefined>;
12415
13890
  requestId: string;
13891
+ creator?: "system" | "user" | undefined;
13892
+ createdBySignature?: string | null | undefined;
13893
+ createdAtLocation?: string | null | undefined;
12416
13894
  annotation?: Record<string, string | number | boolean | {
12417
13895
  type: string;
12418
13896
  filename: string;
@@ -12428,6 +13906,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12428
13906
  residentialArea?: string | null | undefined;
12429
13907
  street?: string | null | undefined;
12430
13908
  zipCode?: string | null | undefined;
13909
+ } | {
13910
+ firstname: string;
13911
+ surname: string;
13912
+ middlename?: string | null | undefined;
12431
13913
  } | {
12432
13914
  country: string;
12433
13915
  district: string;
@@ -12450,14 +13932,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12450
13932
  option: string;
12451
13933
  filename: string;
12452
13934
  originalFilename: string;
12453
- }[] | [string, string] | undefined> | undefined;
13935
+ }[] | [string, string] | null | undefined> | undefined;
12454
13936
  originalActionId?: string | undefined;
12455
13937
  }>, z.ZodObject<z.objectUtil.extendShape<{
12456
13938
  id: z.ZodString;
12457
13939
  transactionId: z.ZodString;
13940
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
12458
13941
  createdAt: z.ZodString;
12459
13942
  createdBy: z.ZodString;
12460
13943
  createdByRole: z.ZodString;
13944
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13945
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12461
13946
  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
13947
  filename: z.ZodString;
12463
13948
  originalFilename: z.ZodString;
@@ -12571,7 +14056,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12571
14056
  addressLine2?: string | null | undefined;
12572
14057
  addressLine3?: string | null | undefined;
12573
14058
  postcodeOrZip?: string | null | undefined;
12574
- }>]>>;
14059
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14060
+ firstname: z.ZodString;
14061
+ surname: z.ZodString;
14062
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14063
+ }, "strip", z.ZodTypeAny, {
14064
+ firstname: string;
14065
+ surname: string;
14066
+ middlename?: string | null | undefined;
14067
+ }, {
14068
+ firstname: string;
14069
+ surname: string;
14070
+ middlename?: string | null | undefined;
14071
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12575
14072
  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
14073
  filename: z.ZodString;
12577
14074
  originalFilename: z.ZodString;
@@ -12685,8 +14182,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12685
14182
  addressLine2?: string | null | undefined;
12686
14183
  addressLine3?: string | null | undefined;
12687
14184
  postcodeOrZip?: string | null | undefined;
12688
- }>]>>>;
12689
- createdAtLocation: z.ZodString;
14185
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14186
+ firstname: z.ZodString;
14187
+ surname: z.ZodString;
14188
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14189
+ }, "strip", z.ZodTypeAny, {
14190
+ firstname: string;
14191
+ surname: string;
14192
+ middlename?: string | null | undefined;
14193
+ }, {
14194
+ firstname: string;
14195
+ surname: string;
14196
+ middlename?: string | null | undefined;
14197
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12690
14198
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12691
14199
  originalActionId: z.ZodOptional<z.ZodString>;
12692
14200
  }, {
@@ -12715,6 +14223,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12715
14223
  residentialArea?: string | null | undefined;
12716
14224
  street?: string | null | undefined;
12717
14225
  zipCode?: string | null | undefined;
14226
+ } | {
14227
+ firstname: string;
14228
+ surname: string;
14229
+ middlename?: string | null | undefined;
12718
14230
  } | {
12719
14231
  country: string;
12720
14232
  district: string;
@@ -12737,9 +14249,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12737
14249
  option: string;
12738
14250
  filename: string;
12739
14251
  originalFilename: string;
12740
- }[] | [string, string] | undefined>;
12741
- createdAtLocation: string;
14252
+ }[] | [string, string] | null | undefined>;
12742
14253
  requestId: string;
14254
+ creator?: "system" | "user" | undefined;
14255
+ createdBySignature?: string | null | undefined;
14256
+ createdAtLocation?: string | null | undefined;
12743
14257
  annotation?: Record<string, string | number | boolean | {
12744
14258
  type: string;
12745
14259
  filename: string;
@@ -12755,6 +14269,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12755
14269
  residentialArea?: string | null | undefined;
12756
14270
  street?: string | null | undefined;
12757
14271
  zipCode?: string | null | undefined;
14272
+ } | {
14273
+ firstname: string;
14274
+ surname: string;
14275
+ middlename?: string | null | undefined;
12758
14276
  } | {
12759
14277
  country: string;
12760
14278
  district: string;
@@ -12777,7 +14295,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12777
14295
  option: string;
12778
14296
  filename: string;
12779
14297
  originalFilename: string;
12780
- }[] | [string, string] | undefined> | undefined;
14298
+ }[] | [string, string] | null | undefined> | undefined;
12781
14299
  originalActionId?: string | undefined;
12782
14300
  }, {
12783
14301
  type: "REJECT_CORRECTION";
@@ -12802,6 +14320,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12802
14320
  residentialArea?: string | null | undefined;
12803
14321
  street?: string | null | undefined;
12804
14322
  zipCode?: string | null | undefined;
14323
+ } | {
14324
+ firstname: string;
14325
+ surname: string;
14326
+ middlename?: string | null | undefined;
12805
14327
  } | {
12806
14328
  country: string;
12807
14329
  district: string;
@@ -12824,9 +14346,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12824
14346
  option: string;
12825
14347
  filename: string;
12826
14348
  originalFilename: string;
12827
- }[] | [string, string] | undefined>;
12828
- createdAtLocation: string;
14349
+ }[] | [string, string] | null | undefined>;
12829
14350
  requestId: string;
14351
+ creator?: "system" | "user" | undefined;
14352
+ createdBySignature?: string | null | undefined;
14353
+ createdAtLocation?: string | null | undefined;
12830
14354
  annotation?: Record<string, string | number | boolean | {
12831
14355
  type: string;
12832
14356
  filename: string;
@@ -12842,6 +14366,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12842
14366
  residentialArea?: string | null | undefined;
12843
14367
  street?: string | null | undefined;
12844
14368
  zipCode?: string | null | undefined;
14369
+ } | {
14370
+ firstname: string;
14371
+ surname: string;
14372
+ middlename?: string | null | undefined;
12845
14373
  } | {
12846
14374
  country: string;
12847
14375
  district: string;
@@ -12864,14 +14392,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12864
14392
  option: string;
12865
14393
  filename: string;
12866
14394
  originalFilename: string;
12867
- }[] | [string, string] | undefined> | undefined;
14395
+ }[] | [string, string] | null | undefined> | undefined;
12868
14396
  originalActionId?: string | undefined;
12869
14397
  }>, z.ZodObject<z.objectUtil.extendShape<{
12870
14398
  id: z.ZodString;
12871
14399
  transactionId: z.ZodString;
14400
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
12872
14401
  createdAt: z.ZodString;
12873
14402
  createdBy: z.ZodString;
12874
14403
  createdByRole: z.ZodString;
14404
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14405
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12875
14406
  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
14407
  filename: z.ZodString;
12877
14408
  originalFilename: z.ZodString;
@@ -12985,7 +14516,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12985
14516
  addressLine2?: string | null | undefined;
12986
14517
  addressLine3?: string | null | undefined;
12987
14518
  postcodeOrZip?: string | null | undefined;
12988
- }>]>>;
14519
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14520
+ firstname: z.ZodString;
14521
+ surname: z.ZodString;
14522
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14523
+ }, "strip", z.ZodTypeAny, {
14524
+ firstname: string;
14525
+ surname: string;
14526
+ middlename?: string | null | undefined;
14527
+ }, {
14528
+ firstname: string;
14529
+ surname: string;
14530
+ middlename?: string | null | undefined;
14531
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12989
14532
  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
14533
  filename: z.ZodString;
12991
14534
  originalFilename: z.ZodString;
@@ -13099,8 +14642,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13099
14642
  addressLine2?: string | null | undefined;
13100
14643
  addressLine3?: string | null | undefined;
13101
14644
  postcodeOrZip?: string | null | undefined;
13102
- }>]>>>;
13103
- createdAtLocation: z.ZodString;
14645
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14646
+ firstname: z.ZodString;
14647
+ surname: z.ZodString;
14648
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14649
+ }, "strip", z.ZodTypeAny, {
14650
+ firstname: string;
14651
+ surname: string;
14652
+ middlename?: string | null | undefined;
14653
+ }, {
14654
+ firstname: string;
14655
+ surname: string;
14656
+ middlename?: string | null | undefined;
14657
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13104
14658
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13105
14659
  originalActionId: z.ZodOptional<z.ZodString>;
13106
14660
  }, {
@@ -13129,6 +14683,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13129
14683
  residentialArea?: string | null | undefined;
13130
14684
  street?: string | null | undefined;
13131
14685
  zipCode?: string | null | undefined;
14686
+ } | {
14687
+ firstname: string;
14688
+ surname: string;
14689
+ middlename?: string | null | undefined;
13132
14690
  } | {
13133
14691
  country: string;
13134
14692
  district: string;
@@ -13151,9 +14709,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13151
14709
  option: string;
13152
14710
  filename: string;
13153
14711
  originalFilename: string;
13154
- }[] | [string, string] | undefined>;
13155
- createdAtLocation: string;
14712
+ }[] | [string, string] | null | undefined>;
13156
14713
  assignedTo: null;
14714
+ creator?: "system" | "user" | undefined;
14715
+ createdBySignature?: string | null | undefined;
14716
+ createdAtLocation?: string | null | undefined;
13157
14717
  annotation?: Record<string, string | number | boolean | {
13158
14718
  type: string;
13159
14719
  filename: string;
@@ -13169,6 +14729,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13169
14729
  residentialArea?: string | null | undefined;
13170
14730
  street?: string | null | undefined;
13171
14731
  zipCode?: string | null | undefined;
14732
+ } | {
14733
+ firstname: string;
14734
+ surname: string;
14735
+ middlename?: string | null | undefined;
13172
14736
  } | {
13173
14737
  country: string;
13174
14738
  district: string;
@@ -13191,7 +14755,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13191
14755
  option: string;
13192
14756
  filename: string;
13193
14757
  originalFilename: string;
13194
- }[] | [string, string] | undefined> | undefined;
14758
+ }[] | [string, string] | null | undefined> | undefined;
13195
14759
  originalActionId?: string | undefined;
13196
14760
  }, {
13197
14761
  type: "UNASSIGN";
@@ -13216,6 +14780,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13216
14780
  residentialArea?: string | null | undefined;
13217
14781
  street?: string | null | undefined;
13218
14782
  zipCode?: string | null | undefined;
14783
+ } | {
14784
+ firstname: string;
14785
+ surname: string;
14786
+ middlename?: string | null | undefined;
13219
14787
  } | {
13220
14788
  country: string;
13221
14789
  district: string;
@@ -13238,9 +14806,11 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13238
14806
  option: string;
13239
14807
  filename: string;
13240
14808
  originalFilename: string;
13241
- }[] | [string, string] | undefined>;
13242
- createdAtLocation: string;
14809
+ }[] | [string, string] | null | undefined>;
13243
14810
  assignedTo: null;
14811
+ creator?: "system" | "user" | undefined;
14812
+ createdBySignature?: string | null | undefined;
14813
+ createdAtLocation?: string | null | undefined;
13244
14814
  annotation?: Record<string, string | number | boolean | {
13245
14815
  type: string;
13246
14816
  filename: string;
@@ -13256,6 +14826,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13256
14826
  residentialArea?: string | null | undefined;
13257
14827
  street?: string | null | undefined;
13258
14828
  zipCode?: string | null | undefined;
14829
+ } | {
14830
+ firstname: string;
14831
+ surname: string;
14832
+ middlename?: string | null | undefined;
13259
14833
  } | {
13260
14834
  country: string;
13261
14835
  district: string;
@@ -13278,14 +14852,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13278
14852
  option: string;
13279
14853
  filename: string;
13280
14854
  originalFilename: string;
13281
- }[] | [string, string] | undefined> | undefined;
14855
+ }[] | [string, string] | null | undefined> | undefined;
13282
14856
  originalActionId?: string | undefined;
13283
14857
  }>, z.ZodObject<z.objectUtil.extendShape<{
13284
14858
  id: z.ZodString;
13285
14859
  transactionId: z.ZodString;
14860
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
13286
14861
  createdAt: z.ZodString;
13287
14862
  createdBy: z.ZodString;
13288
14863
  createdByRole: z.ZodString;
14864
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14865
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13289
14866
  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
14867
  filename: z.ZodString;
13291
14868
  originalFilename: z.ZodString;
@@ -13399,7 +14976,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13399
14976
  addressLine2?: string | null | undefined;
13400
14977
  addressLine3?: string | null | undefined;
13401
14978
  postcodeOrZip?: string | null | undefined;
13402
- }>]>>;
14979
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
14980
+ firstname: z.ZodString;
14981
+ surname: z.ZodString;
14982
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14983
+ }, "strip", z.ZodTypeAny, {
14984
+ firstname: string;
14985
+ surname: string;
14986
+ middlename?: string | null | undefined;
14987
+ }, {
14988
+ firstname: string;
14989
+ surname: string;
14990
+ middlename?: string | null | undefined;
14991
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13403
14992
  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
14993
  filename: z.ZodString;
13405
14994
  originalFilename: z.ZodString;
@@ -13513,8 +15102,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13513
15102
  addressLine2?: string | null | undefined;
13514
15103
  addressLine3?: string | null | undefined;
13515
15104
  postcodeOrZip?: string | null | undefined;
13516
- }>]>>>;
13517
- createdAtLocation: z.ZodString;
15105
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15106
+ firstname: z.ZodString;
15107
+ surname: z.ZodString;
15108
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15109
+ }, "strip", z.ZodTypeAny, {
15110
+ firstname: string;
15111
+ surname: string;
15112
+ middlename?: string | null | undefined;
15113
+ }, {
15114
+ firstname: string;
15115
+ surname: string;
15116
+ middlename?: string | null | undefined;
15117
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13518
15118
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13519
15119
  originalActionId: z.ZodOptional<z.ZodString>;
13520
15120
  }, {
@@ -13542,6 +15142,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13542
15142
  residentialArea?: string | null | undefined;
13543
15143
  street?: string | null | undefined;
13544
15144
  zipCode?: string | null | undefined;
15145
+ } | {
15146
+ firstname: string;
15147
+ surname: string;
15148
+ middlename?: string | null | undefined;
13545
15149
  } | {
13546
15150
  country: string;
13547
15151
  district: string;
@@ -13564,8 +15168,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13564
15168
  option: string;
13565
15169
  filename: string;
13566
15170
  originalFilename: string;
13567
- }[] | [string, string] | undefined>;
13568
- createdAtLocation: string;
15171
+ }[] | [string, string] | null | undefined>;
15172
+ creator?: "system" | "user" | undefined;
15173
+ createdBySignature?: string | null | undefined;
15174
+ createdAtLocation?: string | null | undefined;
13569
15175
  annotation?: Record<string, string | number | boolean | {
13570
15176
  type: string;
13571
15177
  filename: string;
@@ -13581,6 +15187,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13581
15187
  residentialArea?: string | null | undefined;
13582
15188
  street?: string | null | undefined;
13583
15189
  zipCode?: string | null | undefined;
15190
+ } | {
15191
+ firstname: string;
15192
+ surname: string;
15193
+ middlename?: string | null | undefined;
13584
15194
  } | {
13585
15195
  country: string;
13586
15196
  district: string;
@@ -13603,7 +15213,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13603
15213
  option: string;
13604
15214
  filename: string;
13605
15215
  originalFilename: string;
13606
- }[] | [string, string] | undefined> | undefined;
15216
+ }[] | [string, string] | null | undefined> | undefined;
13607
15217
  originalActionId?: string | undefined;
13608
15218
  }, {
13609
15219
  type: "PRINT_CERTIFICATE";
@@ -13628,6 +15238,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13628
15238
  residentialArea?: string | null | undefined;
13629
15239
  street?: string | null | undefined;
13630
15240
  zipCode?: string | null | undefined;
15241
+ } | {
15242
+ firstname: string;
15243
+ surname: string;
15244
+ middlename?: string | null | undefined;
13631
15245
  } | {
13632
15246
  country: string;
13633
15247
  district: string;
@@ -13650,8 +15264,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13650
15264
  option: string;
13651
15265
  filename: string;
13652
15266
  originalFilename: string;
13653
- }[] | [string, string] | undefined>;
13654
- createdAtLocation: string;
15267
+ }[] | [string, string] | null | undefined>;
15268
+ creator?: "system" | "user" | undefined;
15269
+ createdBySignature?: string | null | undefined;
15270
+ createdAtLocation?: string | null | undefined;
13655
15271
  annotation?: Record<string, string | number | boolean | {
13656
15272
  type: string;
13657
15273
  filename: string;
@@ -13667,6 +15283,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13667
15283
  residentialArea?: string | null | undefined;
13668
15284
  street?: string | null | undefined;
13669
15285
  zipCode?: string | null | undefined;
15286
+ } | {
15287
+ firstname: string;
15288
+ surname: string;
15289
+ middlename?: string | null | undefined;
13670
15290
  } | {
13671
15291
  country: string;
13672
15292
  district: string;
@@ -13689,14 +15309,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13689
15309
  option: string;
13690
15310
  filename: string;
13691
15311
  originalFilename: string;
13692
- }[] | [string, string] | undefined> | undefined;
15312
+ }[] | [string, string] | null | undefined> | undefined;
13693
15313
  originalActionId?: string | undefined;
13694
15314
  }>, z.ZodObject<z.objectUtil.extendShape<{
13695
15315
  id: z.ZodString;
13696
15316
  transactionId: z.ZodString;
15317
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
13697
15318
  createdAt: z.ZodString;
13698
15319
  createdBy: z.ZodString;
13699
15320
  createdByRole: z.ZodString;
15321
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15322
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13700
15323
  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
15324
  filename: z.ZodString;
13702
15325
  originalFilename: z.ZodString;
@@ -13810,7 +15433,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13810
15433
  addressLine2?: string | null | undefined;
13811
15434
  addressLine3?: string | null | undefined;
13812
15435
  postcodeOrZip?: string | null | undefined;
13813
- }>]>>;
15436
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15437
+ firstname: z.ZodString;
15438
+ surname: z.ZodString;
15439
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15440
+ }, "strip", z.ZodTypeAny, {
15441
+ firstname: string;
15442
+ surname: string;
15443
+ middlename?: string | null | undefined;
15444
+ }, {
15445
+ firstname: string;
15446
+ surname: string;
15447
+ middlename?: string | null | undefined;
15448
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13814
15449
  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
15450
  filename: z.ZodString;
13816
15451
  originalFilename: z.ZodString;
@@ -13924,8 +15559,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13924
15559
  addressLine2?: string | null | undefined;
13925
15560
  addressLine3?: string | null | undefined;
13926
15561
  postcodeOrZip?: string | null | undefined;
13927
- }>]>>>;
13928
- createdAtLocation: z.ZodString;
15562
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15563
+ firstname: z.ZodString;
15564
+ surname: z.ZodString;
15565
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15566
+ }, "strip", z.ZodTypeAny, {
15567
+ firstname: string;
15568
+ surname: string;
15569
+ middlename?: string | null | undefined;
15570
+ }, {
15571
+ firstname: string;
15572
+ surname: string;
15573
+ middlename?: string | null | undefined;
15574
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13929
15575
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13930
15576
  originalActionId: z.ZodOptional<z.ZodString>;
13931
15577
  }, {
@@ -13953,6 +15599,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13953
15599
  residentialArea?: string | null | undefined;
13954
15600
  street?: string | null | undefined;
13955
15601
  zipCode?: string | null | undefined;
15602
+ } | {
15603
+ firstname: string;
15604
+ surname: string;
15605
+ middlename?: string | null | undefined;
13956
15606
  } | {
13957
15607
  country: string;
13958
15608
  district: string;
@@ -13975,8 +15625,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13975
15625
  option: string;
13976
15626
  filename: string;
13977
15627
  originalFilename: string;
13978
- }[] | [string, string] | undefined>;
13979
- createdAtLocation: string;
15628
+ }[] | [string, string] | null | undefined>;
15629
+ creator?: "system" | "user" | undefined;
15630
+ createdBySignature?: string | null | undefined;
15631
+ createdAtLocation?: string | null | undefined;
13980
15632
  annotation?: Record<string, string | number | boolean | {
13981
15633
  type: string;
13982
15634
  filename: string;
@@ -13992,6 +15644,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13992
15644
  residentialArea?: string | null | undefined;
13993
15645
  street?: string | null | undefined;
13994
15646
  zipCode?: string | null | undefined;
15647
+ } | {
15648
+ firstname: string;
15649
+ surname: string;
15650
+ middlename?: string | null | undefined;
13995
15651
  } | {
13996
15652
  country: string;
13997
15653
  district: string;
@@ -14014,7 +15670,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14014
15670
  option: string;
14015
15671
  filename: string;
14016
15672
  originalFilename: string;
14017
- }[] | [string, string] | undefined> | undefined;
15673
+ }[] | [string, string] | null | undefined> | undefined;
14018
15674
  originalActionId?: string | undefined;
14019
15675
  }, {
14020
15676
  type: "READ";
@@ -14039,6 +15695,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14039
15695
  residentialArea?: string | null | undefined;
14040
15696
  street?: string | null | undefined;
14041
15697
  zipCode?: string | null | undefined;
15698
+ } | {
15699
+ firstname: string;
15700
+ surname: string;
15701
+ middlename?: string | null | undefined;
14042
15702
  } | {
14043
15703
  country: string;
14044
15704
  district: string;
@@ -14061,8 +15721,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14061
15721
  option: string;
14062
15722
  filename: string;
14063
15723
  originalFilename: string;
14064
- }[] | [string, string] | undefined>;
14065
- createdAtLocation: string;
15724
+ }[] | [string, string] | null | undefined>;
15725
+ creator?: "system" | "user" | undefined;
15726
+ createdBySignature?: string | null | undefined;
15727
+ createdAtLocation?: string | null | undefined;
14066
15728
  annotation?: Record<string, string | number | boolean | {
14067
15729
  type: string;
14068
15730
  filename: string;
@@ -14078,6 +15740,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14078
15740
  residentialArea?: string | null | undefined;
14079
15741
  street?: string | null | undefined;
14080
15742
  zipCode?: string | null | undefined;
15743
+ } | {
15744
+ firstname: string;
15745
+ surname: string;
15746
+ middlename?: string | null | undefined;
14081
15747
  } | {
14082
15748
  country: string;
14083
15749
  district: string;
@@ -14100,14 +15766,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14100
15766
  option: string;
14101
15767
  filename: string;
14102
15768
  originalFilename: string;
14103
- }[] | [string, string] | undefined> | undefined;
15769
+ }[] | [string, string] | null | undefined> | undefined;
14104
15770
  originalActionId?: string | undefined;
14105
15771
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14106
15772
  id: z.ZodString;
14107
15773
  transactionId: z.ZodString;
15774
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
14108
15775
  createdAt: z.ZodString;
14109
15776
  createdBy: z.ZodString;
14110
15777
  createdByRole: z.ZodString;
15778
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15779
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14111
15780
  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
15781
  filename: z.ZodString;
14113
15782
  originalFilename: z.ZodString;
@@ -14221,7 +15890,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14221
15890
  addressLine2?: string | null | undefined;
14222
15891
  addressLine3?: string | null | undefined;
14223
15892
  postcodeOrZip?: string | null | undefined;
14224
- }>]>>;
15893
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15894
+ firstname: z.ZodString;
15895
+ surname: z.ZodString;
15896
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15897
+ }, "strip", z.ZodTypeAny, {
15898
+ firstname: string;
15899
+ surname: string;
15900
+ middlename?: string | null | undefined;
15901
+ }, {
15902
+ firstname: string;
15903
+ surname: string;
15904
+ middlename?: string | null | undefined;
15905
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14225
15906
  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
15907
  filename: z.ZodString;
14227
15908
  originalFilename: z.ZodString;
@@ -14335,8 +16016,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14335
16016
  addressLine2?: string | null | undefined;
14336
16017
  addressLine3?: string | null | undefined;
14337
16018
  postcodeOrZip?: string | null | undefined;
14338
- }>]>>>;
14339
- createdAtLocation: z.ZodString;
16019
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
16020
+ firstname: z.ZodString;
16021
+ surname: z.ZodString;
16022
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16023
+ }, "strip", z.ZodTypeAny, {
16024
+ firstname: string;
16025
+ surname: string;
16026
+ middlename?: string | null | undefined;
16027
+ }, {
16028
+ firstname: string;
16029
+ surname: string;
16030
+ middlename?: string | null | undefined;
16031
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14340
16032
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14341
16033
  originalActionId: z.ZodOptional<z.ZodString>;
14342
16034
  }, "declaration" | "annotation">, {
@@ -14350,7 +16042,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14350
16042
  createdAt: string;
14351
16043
  createdBy: string;
14352
16044
  createdByRole: string;
14353
- createdAtLocation: string;
16045
+ creator?: "system" | "user" | undefined;
16046
+ createdBySignature?: string | null | undefined;
16047
+ createdAtLocation?: string | null | undefined;
14354
16048
  originalActionId?: string | undefined;
14355
16049
  }, {
14356
16050
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -14360,7 +16054,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14360
16054
  createdAt: string;
14361
16055
  createdBy: string;
14362
16056
  createdByRole: string;
14363
- createdAtLocation: string;
16057
+ creator?: "system" | "user" | undefined;
16058
+ createdBySignature?: string | null | undefined;
16059
+ createdAtLocation?: string | null | undefined;
14364
16060
  originalActionId?: string | undefined;
14365
16061
  }>]>;
14366
16062
  export type Action = ActionDocument | AsyncRejectActionDocument;