@opencrvs/toolkit 1.8.0-rc.fa564ca → 1.8.0-rc.fa82472

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 (35) hide show
  1. package/dist/commons/api/router.d.ts +6661 -391
  2. package/dist/commons/conditionals/conditionals.d.ts +4 -0
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +18678 -6326
  5. package/dist/commons/events/ActionDocument.d.ts +1713 -204
  6. package/dist/commons/events/ActionInput.d.ts +1380 -180
  7. package/dist/commons/events/ActionType.d.ts +2 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +75 -3
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +1 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +254 -168
  12. package/dist/commons/events/Draft.d.ts +117 -16
  13. package/dist/commons/events/EventConfig.d.ts +8242 -2365
  14. package/dist/commons/events/EventDocument.d.ts +1096 -152
  15. package/dist/commons/events/EventIndex.d.ts +793 -118
  16. package/dist/commons/events/EventMetadata.d.ts +38 -35
  17. package/dist/commons/events/FieldConfig.d.ts +1572 -746
  18. package/dist/commons/events/FieldType.d.ts +4 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +89 -50
  20. package/dist/commons/events/FieldValue.d.ts +41 -5
  21. package/dist/commons/events/FormConfig.d.ts +7640 -2444
  22. package/dist/commons/events/PageConfig.d.ts +2816 -1540
  23. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  25. package/dist/commons/events/WorkqueueConfig.d.ts +3266 -1503
  26. package/dist/commons/events/defineConfig.d.ts +959 -13
  27. package/dist/commons/events/field.d.ts +4 -0
  28. package/dist/commons/events/scopes.d.ts +6 -0
  29. package/dist/commons/events/test.utils.d.ts +137 -38
  30. package/dist/commons/events/utils.d.ts +9661 -10
  31. package/dist/conditionals/index.js +18 -1
  32. package/dist/events/index.js +1488 -928
  33. package/dist/scopes/index.d.ts +4 -1
  34. package/dist/scopes/index.js +67 -17
  35. 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,6 +280,7 @@ 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
+ createdByUserType: z.ZodEnum<["user", "system"]>;
247
284
  createdAt: z.ZodString;
248
285
  createdBy: z.ZodString;
249
286
  createdByRole: z.ZodString;
@@ -362,7 +399,19 @@ export declare const ActionBase: z.ZodObject<{
362
399
  addressLine2?: string | null | undefined;
363
400
  addressLine3?: string | null | undefined;
364
401
  postcodeOrZip?: string | null | undefined;
365
- }>]>>;
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]>]>>;
366
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<{
367
416
  filename: z.ZodString;
368
417
  originalFilename: z.ZodString;
@@ -476,13 +525,26 @@ export declare const ActionBase: z.ZodObject<{
476
525
  addressLine2?: string | null | undefined;
477
526
  addressLine3?: string | null | undefined;
478
527
  postcodeOrZip?: string | null | undefined;
479
- }>]>>>;
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]>]>>>;
480
541
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
481
542
  originalActionId: z.ZodOptional<z.ZodString>;
482
543
  }, "strip", z.ZodTypeAny, {
483
544
  id: string;
484
545
  status: "Rejected" | "Requested" | "Accepted";
485
546
  transactionId: string;
547
+ createdByUserType: "system" | "user";
486
548
  createdAt: string;
487
549
  createdBy: string;
488
550
  createdByRole: string;
@@ -501,6 +563,10 @@ export declare const ActionBase: z.ZodObject<{
501
563
  residentialArea?: string | null | undefined;
502
564
  street?: string | null | undefined;
503
565
  zipCode?: string | null | undefined;
566
+ } | {
567
+ firstname: string;
568
+ surname: string;
569
+ middlename?: string | null | undefined;
504
570
  } | {
505
571
  country: string;
506
572
  district: string;
@@ -523,7 +589,7 @@ export declare const ActionBase: z.ZodObject<{
523
589
  option: string;
524
590
  filename: string;
525
591
  originalFilename: string;
526
- }[] | [string, string] | undefined>;
592
+ }[] | [string, string] | null | undefined>;
527
593
  createdBySignature?: string | null | undefined;
528
594
  createdAtLocation?: string | null | undefined;
529
595
  annotation?: Record<string, string | number | boolean | {
@@ -541,6 +607,10 @@ export declare const ActionBase: z.ZodObject<{
541
607
  residentialArea?: string | null | undefined;
542
608
  street?: string | null | undefined;
543
609
  zipCode?: string | null | undefined;
610
+ } | {
611
+ firstname: string;
612
+ surname: string;
613
+ middlename?: string | null | undefined;
544
614
  } | {
545
615
  country: string;
546
616
  district: string;
@@ -563,12 +633,13 @@ export declare const ActionBase: z.ZodObject<{
563
633
  option: string;
564
634
  filename: string;
565
635
  originalFilename: string;
566
- }[] | [string, string] | undefined> | undefined;
636
+ }[] | [string, string] | null | undefined> | undefined;
567
637
  originalActionId?: string | undefined;
568
638
  }, {
569
639
  id: string;
570
640
  status: "Rejected" | "Requested" | "Accepted";
571
641
  transactionId: string;
642
+ createdByUserType: "system" | "user";
572
643
  createdAt: string;
573
644
  createdBy: string;
574
645
  createdByRole: string;
@@ -587,6 +658,10 @@ export declare const ActionBase: z.ZodObject<{
587
658
  residentialArea?: string | null | undefined;
588
659
  street?: string | null | undefined;
589
660
  zipCode?: string | null | undefined;
661
+ } | {
662
+ firstname: string;
663
+ surname: string;
664
+ middlename?: string | null | undefined;
590
665
  } | {
591
666
  country: string;
592
667
  district: string;
@@ -609,7 +684,7 @@ export declare const ActionBase: z.ZodObject<{
609
684
  option: string;
610
685
  filename: string;
611
686
  originalFilename: string;
612
- }[] | [string, string] | undefined>;
687
+ }[] | [string, string] | null | undefined>;
613
688
  createdBySignature?: string | null | undefined;
614
689
  createdAtLocation?: string | null | undefined;
615
690
  annotation?: Record<string, string | number | boolean | {
@@ -627,6 +702,10 @@ export declare const ActionBase: z.ZodObject<{
627
702
  residentialArea?: string | null | undefined;
628
703
  street?: string | null | undefined;
629
704
  zipCode?: string | null | undefined;
705
+ } | {
706
+ firstname: string;
707
+ surname: string;
708
+ middlename?: string | null | undefined;
630
709
  } | {
631
710
  country: string;
632
711
  district: string;
@@ -649,13 +728,14 @@ export declare const ActionBase: z.ZodObject<{
649
728
  option: string;
650
729
  filename: string;
651
730
  originalFilename: string;
652
- }[] | [string, string] | undefined> | undefined;
731
+ }[] | [string, string] | null | undefined> | undefined;
653
732
  originalActionId?: string | undefined;
654
733
  }>;
655
734
  export type ActionBase = z.infer<typeof ActionBase>;
656
735
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
657
736
  id: z.ZodString;
658
737
  transactionId: z.ZodString;
738
+ createdByUserType: z.ZodEnum<["user", "system"]>;
659
739
  createdAt: z.ZodString;
660
740
  createdBy: z.ZodString;
661
741
  createdByRole: z.ZodString;
@@ -774,7 +854,19 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
774
854
  addressLine2?: string | null | undefined;
775
855
  addressLine3?: string | null | undefined;
776
856
  postcodeOrZip?: string | null | undefined;
777
- }>]>>;
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]>]>>;
778
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<{
779
871
  filename: z.ZodString;
780
872
  originalFilename: z.ZodString;
@@ -888,7 +980,19 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
888
980
  addressLine2?: string | null | undefined;
889
981
  addressLine3?: string | null | undefined;
890
982
  postcodeOrZip?: string | null | undefined;
891
- }>]>>>;
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]>]>>>;
892
996
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
893
997
  originalActionId: z.ZodOptional<z.ZodString>;
894
998
  }, {
@@ -899,6 +1003,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
899
1003
  id: string;
900
1004
  status: "Rejected" | "Requested" | "Accepted";
901
1005
  transactionId: string;
1006
+ createdByUserType: "system" | "user";
902
1007
  createdAt: string;
903
1008
  createdBy: string;
904
1009
  createdByRole: string;
@@ -917,6 +1022,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
917
1022
  residentialArea?: string | null | undefined;
918
1023
  street?: string | null | undefined;
919
1024
  zipCode?: string | null | undefined;
1025
+ } | {
1026
+ firstname: string;
1027
+ surname: string;
1028
+ middlename?: string | null | undefined;
920
1029
  } | {
921
1030
  country: string;
922
1031
  district: string;
@@ -939,7 +1048,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
939
1048
  option: string;
940
1049
  filename: string;
941
1050
  originalFilename: string;
942
- }[] | [string, string] | undefined>;
1051
+ }[] | [string, string] | null | undefined>;
943
1052
  createdBySignature?: string | null | undefined;
944
1053
  createdAtLocation?: string | null | undefined;
945
1054
  annotation?: Record<string, string | number | boolean | {
@@ -957,6 +1066,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
957
1066
  residentialArea?: string | null | undefined;
958
1067
  street?: string | null | undefined;
959
1068
  zipCode?: string | null | undefined;
1069
+ } | {
1070
+ firstname: string;
1071
+ surname: string;
1072
+ middlename?: string | null | undefined;
960
1073
  } | {
961
1074
  country: string;
962
1075
  district: string;
@@ -979,7 +1092,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
979
1092
  option: string;
980
1093
  filename: string;
981
1094
  originalFilename: string;
982
- }[] | [string, string] | undefined> | undefined;
1095
+ }[] | [string, string] | null | undefined> | undefined;
983
1096
  originalActionId?: string | undefined;
984
1097
  registrationNumber?: string | undefined;
985
1098
  }, {
@@ -987,6 +1100,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
987
1100
  id: string;
988
1101
  status: "Rejected" | "Requested" | "Accepted";
989
1102
  transactionId: string;
1103
+ createdByUserType: "system" | "user";
990
1104
  createdAt: string;
991
1105
  createdBy: string;
992
1106
  createdByRole: string;
@@ -1005,6 +1119,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1005
1119
  residentialArea?: string | null | undefined;
1006
1120
  street?: string | null | undefined;
1007
1121
  zipCode?: string | null | undefined;
1122
+ } | {
1123
+ firstname: string;
1124
+ surname: string;
1125
+ middlename?: string | null | undefined;
1008
1126
  } | {
1009
1127
  country: string;
1010
1128
  district: string;
@@ -1027,7 +1145,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1027
1145
  option: string;
1028
1146
  filename: string;
1029
1147
  originalFilename: string;
1030
- }[] | [string, string] | undefined>;
1148
+ }[] | [string, string] | null | undefined>;
1031
1149
  createdBySignature?: string | null | undefined;
1032
1150
  createdAtLocation?: string | null | undefined;
1033
1151
  annotation?: Record<string, string | number | boolean | {
@@ -1045,6 +1163,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1045
1163
  residentialArea?: string | null | undefined;
1046
1164
  street?: string | null | undefined;
1047
1165
  zipCode?: string | null | undefined;
1166
+ } | {
1167
+ firstname: string;
1168
+ surname: string;
1169
+ middlename?: string | null | undefined;
1048
1170
  } | {
1049
1171
  country: string;
1050
1172
  district: string;
@@ -1067,7 +1189,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1067
1189
  option: string;
1068
1190
  filename: string;
1069
1191
  originalFilename: string;
1070
- }[] | [string, string] | undefined> | undefined;
1192
+ }[] | [string, string] | null | undefined> | undefined;
1071
1193
  originalActionId?: string | undefined;
1072
1194
  registrationNumber?: string | undefined;
1073
1195
  }>;
@@ -1085,6 +1207,7 @@ export declare const RejectionReason: z.ZodObject<{
1085
1207
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1086
1208
  id: z.ZodString;
1087
1209
  transactionId: z.ZodString;
1210
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1088
1211
  createdAt: z.ZodString;
1089
1212
  createdBy: z.ZodString;
1090
1213
  createdByRole: z.ZodString;
@@ -1203,7 +1326,19 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1203
1326
  addressLine2?: string | null | undefined;
1204
1327
  addressLine3?: string | null | undefined;
1205
1328
  postcodeOrZip?: string | null | undefined;
1206
- }>]>>;
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]>]>>;
1207
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<{
1208
1343
  filename: z.ZodString;
1209
1344
  originalFilename: z.ZodString;
@@ -1317,7 +1452,19 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1317
1452
  addressLine2?: string | null | undefined;
1318
1453
  addressLine3?: string | null | undefined;
1319
1454
  postcodeOrZip?: string | null | undefined;
1320
- }>]>>>;
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]>]>>>;
1321
1468
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1322
1469
  originalActionId: z.ZodOptional<z.ZodString>;
1323
1470
  }, {
@@ -1327,6 +1474,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1327
1474
  id: string;
1328
1475
  status: "Rejected" | "Requested" | "Accepted";
1329
1476
  transactionId: string;
1477
+ createdByUserType: "system" | "user";
1330
1478
  createdAt: string;
1331
1479
  createdBy: string;
1332
1480
  createdByRole: string;
@@ -1345,6 +1493,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1345
1493
  residentialArea?: string | null | undefined;
1346
1494
  street?: string | null | undefined;
1347
1495
  zipCode?: string | null | undefined;
1496
+ } | {
1497
+ firstname: string;
1498
+ surname: string;
1499
+ middlename?: string | null | undefined;
1348
1500
  } | {
1349
1501
  country: string;
1350
1502
  district: string;
@@ -1367,7 +1519,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1367
1519
  option: string;
1368
1520
  filename: string;
1369
1521
  originalFilename: string;
1370
- }[] | [string, string] | undefined>;
1522
+ }[] | [string, string] | null | undefined>;
1371
1523
  createdBySignature?: string | null | undefined;
1372
1524
  createdAtLocation?: string | null | undefined;
1373
1525
  annotation?: Record<string, string | number | boolean | {
@@ -1385,6 +1537,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1385
1537
  residentialArea?: string | null | undefined;
1386
1538
  street?: string | null | undefined;
1387
1539
  zipCode?: string | null | undefined;
1540
+ } | {
1541
+ firstname: string;
1542
+ surname: string;
1543
+ middlename?: string | null | undefined;
1388
1544
  } | {
1389
1545
  country: string;
1390
1546
  district: string;
@@ -1407,13 +1563,14 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1407
1563
  option: string;
1408
1564
  filename: string;
1409
1565
  originalFilename: string;
1410
- }[] | [string, string] | undefined> | undefined;
1566
+ }[] | [string, string] | null | undefined> | undefined;
1411
1567
  originalActionId?: string | undefined;
1412
1568
  }, {
1413
1569
  type: "CREATE";
1414
1570
  id: string;
1415
1571
  status: "Rejected" | "Requested" | "Accepted";
1416
1572
  transactionId: string;
1573
+ createdByUserType: "system" | "user";
1417
1574
  createdAt: string;
1418
1575
  createdBy: string;
1419
1576
  createdByRole: string;
@@ -1432,6 +1589,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1432
1589
  residentialArea?: string | null | undefined;
1433
1590
  street?: string | null | undefined;
1434
1591
  zipCode?: string | null | undefined;
1592
+ } | {
1593
+ firstname: string;
1594
+ surname: string;
1595
+ middlename?: string | null | undefined;
1435
1596
  } | {
1436
1597
  country: string;
1437
1598
  district: string;
@@ -1454,7 +1615,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1454
1615
  option: string;
1455
1616
  filename: string;
1456
1617
  originalFilename: string;
1457
- }[] | [string, string] | undefined>;
1618
+ }[] | [string, string] | null | undefined>;
1458
1619
  createdBySignature?: string | null | undefined;
1459
1620
  createdAtLocation?: string | null | undefined;
1460
1621
  annotation?: Record<string, string | number | boolean | {
@@ -1472,6 +1633,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1472
1633
  residentialArea?: string | null | undefined;
1473
1634
  street?: string | null | undefined;
1474
1635
  zipCode?: string | null | undefined;
1636
+ } | {
1637
+ firstname: string;
1638
+ surname: string;
1639
+ middlename?: string | null | undefined;
1475
1640
  } | {
1476
1641
  country: string;
1477
1642
  district: string;
@@ -1494,12 +1659,13 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1494
1659
  option: string;
1495
1660
  filename: string;
1496
1661
  originalFilename: string;
1497
- }[] | [string, string] | undefined> | undefined;
1662
+ }[] | [string, string] | null | undefined> | undefined;
1498
1663
  originalActionId?: string | undefined;
1499
1664
  }>;
1500
1665
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1501
1666
  id: z.ZodString;
1502
1667
  transactionId: z.ZodString;
1668
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1503
1669
  createdAt: z.ZodString;
1504
1670
  createdBy: z.ZodString;
1505
1671
  createdByRole: z.ZodString;
@@ -1618,7 +1784,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1618
1784
  addressLine2?: string | null | undefined;
1619
1785
  addressLine3?: string | null | undefined;
1620
1786
  postcodeOrZip?: string | null | undefined;
1621
- }>]>>;
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]>]>>;
1622
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<{
1623
1801
  filename: z.ZodString;
1624
1802
  originalFilename: z.ZodString;
@@ -1732,7 +1910,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1732
1910
  addressLine2?: string | null | undefined;
1733
1911
  addressLine3?: string | null | undefined;
1734
1912
  postcodeOrZip?: string | null | undefined;
1735
- }>]>>>;
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]>]>>>;
1736
1926
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1737
1927
  originalActionId: z.ZodOptional<z.ZodString>;
1738
1928
  }, {
@@ -1742,6 +1932,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1742
1932
  id: string;
1743
1933
  status: "Rejected" | "Requested" | "Accepted";
1744
1934
  transactionId: string;
1935
+ createdByUserType: "system" | "user";
1745
1936
  createdAt: string;
1746
1937
  createdBy: string;
1747
1938
  createdByRole: string;
@@ -1760,6 +1951,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1760
1951
  residentialArea?: string | null | undefined;
1761
1952
  street?: string | null | undefined;
1762
1953
  zipCode?: string | null | undefined;
1954
+ } | {
1955
+ firstname: string;
1956
+ surname: string;
1957
+ middlename?: string | null | undefined;
1763
1958
  } | {
1764
1959
  country: string;
1765
1960
  district: string;
@@ -1782,7 +1977,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1782
1977
  option: string;
1783
1978
  filename: string;
1784
1979
  originalFilename: string;
1785
- }[] | [string, string] | undefined>;
1980
+ }[] | [string, string] | null | undefined>;
1786
1981
  createdBySignature?: string | null | undefined;
1787
1982
  createdAtLocation?: string | null | undefined;
1788
1983
  annotation?: Record<string, string | number | boolean | {
@@ -1800,6 +1995,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1800
1995
  residentialArea?: string | null | undefined;
1801
1996
  street?: string | null | undefined;
1802
1997
  zipCode?: string | null | undefined;
1998
+ } | {
1999
+ firstname: string;
2000
+ surname: string;
2001
+ middlename?: string | null | undefined;
1803
2002
  } | {
1804
2003
  country: string;
1805
2004
  district: string;
@@ -1822,13 +2021,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1822
2021
  option: string;
1823
2022
  filename: string;
1824
2023
  originalFilename: string;
1825
- }[] | [string, string] | undefined> | undefined;
2024
+ }[] | [string, string] | null | undefined> | undefined;
1826
2025
  originalActionId?: string | undefined;
1827
2026
  }, {
1828
2027
  type: "CREATE";
1829
2028
  id: string;
1830
2029
  status: "Rejected" | "Requested" | "Accepted";
1831
2030
  transactionId: string;
2031
+ createdByUserType: "system" | "user";
1832
2032
  createdAt: string;
1833
2033
  createdBy: string;
1834
2034
  createdByRole: string;
@@ -1847,6 +2047,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1847
2047
  residentialArea?: string | null | undefined;
1848
2048
  street?: string | null | undefined;
1849
2049
  zipCode?: string | null | undefined;
2050
+ } | {
2051
+ firstname: string;
2052
+ surname: string;
2053
+ middlename?: string | null | undefined;
1850
2054
  } | {
1851
2055
  country: string;
1852
2056
  district: string;
@@ -1869,7 +2073,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1869
2073
  option: string;
1870
2074
  filename: string;
1871
2075
  originalFilename: string;
1872
- }[] | [string, string] | undefined>;
2076
+ }[] | [string, string] | null | undefined>;
1873
2077
  createdBySignature?: string | null | undefined;
1874
2078
  createdAtLocation?: string | null | undefined;
1875
2079
  annotation?: Record<string, string | number | boolean | {
@@ -1887,6 +2091,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1887
2091
  residentialArea?: string | null | undefined;
1888
2092
  street?: string | null | undefined;
1889
2093
  zipCode?: string | null | undefined;
2094
+ } | {
2095
+ firstname: string;
2096
+ surname: string;
2097
+ middlename?: string | null | undefined;
1890
2098
  } | {
1891
2099
  country: string;
1892
2100
  district: string;
@@ -1909,11 +2117,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1909
2117
  option: string;
1910
2118
  filename: string;
1911
2119
  originalFilename: string;
1912
- }[] | [string, string] | undefined> | undefined;
2120
+ }[] | [string, string] | null | undefined> | undefined;
1913
2121
  originalActionId?: string | undefined;
1914
2122
  }>, z.ZodObject<z.objectUtil.extendShape<{
1915
2123
  id: z.ZodString;
1916
2124
  transactionId: z.ZodString;
2125
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1917
2126
  createdAt: z.ZodString;
1918
2127
  createdBy: z.ZodString;
1919
2128
  createdByRole: z.ZodString;
@@ -2032,7 +2241,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2032
2241
  addressLine2?: string | null | undefined;
2033
2242
  addressLine3?: string | null | undefined;
2034
2243
  postcodeOrZip?: string | null | undefined;
2035
- }>]>>;
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]>]>>;
2036
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<{
2037
2258
  filename: z.ZodString;
2038
2259
  originalFilename: z.ZodString;
@@ -2146,7 +2367,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2146
2367
  addressLine2?: string | null | undefined;
2147
2368
  addressLine3?: string | null | undefined;
2148
2369
  postcodeOrZip?: string | null | undefined;
2149
- }>]>>>;
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]>]>>>;
2150
2383
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2151
2384
  originalActionId: z.ZodOptional<z.ZodString>;
2152
2385
  }, {
@@ -2156,6 +2389,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2156
2389
  id: string;
2157
2390
  status: "Rejected" | "Requested" | "Accepted";
2158
2391
  transactionId: string;
2392
+ createdByUserType: "system" | "user";
2159
2393
  createdAt: string;
2160
2394
  createdBy: string;
2161
2395
  createdByRole: string;
@@ -2174,6 +2408,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2174
2408
  residentialArea?: string | null | undefined;
2175
2409
  street?: string | null | undefined;
2176
2410
  zipCode?: string | null | undefined;
2411
+ } | {
2412
+ firstname: string;
2413
+ surname: string;
2414
+ middlename?: string | null | undefined;
2177
2415
  } | {
2178
2416
  country: string;
2179
2417
  district: string;
@@ -2196,7 +2434,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2196
2434
  option: string;
2197
2435
  filename: string;
2198
2436
  originalFilename: string;
2199
- }[] | [string, string] | undefined>;
2437
+ }[] | [string, string] | null | undefined>;
2200
2438
  createdBySignature?: string | null | undefined;
2201
2439
  createdAtLocation?: string | null | undefined;
2202
2440
  annotation?: Record<string, string | number | boolean | {
@@ -2214,6 +2452,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2214
2452
  residentialArea?: string | null | undefined;
2215
2453
  street?: string | null | undefined;
2216
2454
  zipCode?: string | null | undefined;
2455
+ } | {
2456
+ firstname: string;
2457
+ surname: string;
2458
+ middlename?: string | null | undefined;
2217
2459
  } | {
2218
2460
  country: string;
2219
2461
  district: string;
@@ -2236,13 +2478,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2236
2478
  option: string;
2237
2479
  filename: string;
2238
2480
  originalFilename: string;
2239
- }[] | [string, string] | undefined> | undefined;
2481
+ }[] | [string, string] | null | undefined> | undefined;
2240
2482
  originalActionId?: string | undefined;
2241
2483
  }, {
2242
2484
  type: "VALIDATE";
2243
2485
  id: string;
2244
2486
  status: "Rejected" | "Requested" | "Accepted";
2245
2487
  transactionId: string;
2488
+ createdByUserType: "system" | "user";
2246
2489
  createdAt: string;
2247
2490
  createdBy: string;
2248
2491
  createdByRole: string;
@@ -2261,6 +2504,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2261
2504
  residentialArea?: string | null | undefined;
2262
2505
  street?: string | null | undefined;
2263
2506
  zipCode?: string | null | undefined;
2507
+ } | {
2508
+ firstname: string;
2509
+ surname: string;
2510
+ middlename?: string | null | undefined;
2264
2511
  } | {
2265
2512
  country: string;
2266
2513
  district: string;
@@ -2283,7 +2530,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2283
2530
  option: string;
2284
2531
  filename: string;
2285
2532
  originalFilename: string;
2286
- }[] | [string, string] | undefined>;
2533
+ }[] | [string, string] | null | undefined>;
2287
2534
  createdBySignature?: string | null | undefined;
2288
2535
  createdAtLocation?: string | null | undefined;
2289
2536
  annotation?: Record<string, string | number | boolean | {
@@ -2301,6 +2548,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2301
2548
  residentialArea?: string | null | undefined;
2302
2549
  street?: string | null | undefined;
2303
2550
  zipCode?: string | null | undefined;
2551
+ } | {
2552
+ firstname: string;
2553
+ surname: string;
2554
+ middlename?: string | null | undefined;
2304
2555
  } | {
2305
2556
  country: string;
2306
2557
  district: string;
@@ -2323,11 +2574,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2323
2574
  option: string;
2324
2575
  filename: string;
2325
2576
  originalFilename: string;
2326
- }[] | [string, string] | undefined> | undefined;
2577
+ }[] | [string, string] | null | undefined> | undefined;
2327
2578
  originalActionId?: string | undefined;
2328
2579
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
2580
  id: z.ZodString;
2330
2581
  transactionId: z.ZodString;
2582
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2331
2583
  createdAt: z.ZodString;
2332
2584
  createdBy: z.ZodString;
2333
2585
  createdByRole: z.ZodString;
@@ -2446,7 +2698,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2446
2698
  addressLine2?: string | null | undefined;
2447
2699
  addressLine3?: string | null | undefined;
2448
2700
  postcodeOrZip?: string | null | undefined;
2449
- }>]>>;
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]>]>>;
2450
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<{
2451
2715
  filename: z.ZodString;
2452
2716
  originalFilename: z.ZodString;
@@ -2560,7 +2824,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2560
2824
  addressLine2?: string | null | undefined;
2561
2825
  addressLine3?: string | null | undefined;
2562
2826
  postcodeOrZip?: string | null | undefined;
2563
- }>]>>>;
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]>]>>>;
2564
2840
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2565
2841
  originalActionId: z.ZodOptional<z.ZodString>;
2566
2842
  }, {
@@ -2584,6 +2860,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2584
2860
  isDuplicate?: boolean | undefined;
2585
2861
  };
2586
2862
  transactionId: string;
2863
+ createdByUserType: "system" | "user";
2587
2864
  createdAt: string;
2588
2865
  createdBy: string;
2589
2866
  createdByRole: string;
@@ -2602,6 +2879,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2602
2879
  residentialArea?: string | null | undefined;
2603
2880
  street?: string | null | undefined;
2604
2881
  zipCode?: string | null | undefined;
2882
+ } | {
2883
+ firstname: string;
2884
+ surname: string;
2885
+ middlename?: string | null | undefined;
2605
2886
  } | {
2606
2887
  country: string;
2607
2888
  district: string;
@@ -2624,7 +2905,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2624
2905
  option: string;
2625
2906
  filename: string;
2626
2907
  originalFilename: string;
2627
- }[] | [string, string] | undefined>;
2908
+ }[] | [string, string] | null | undefined>;
2628
2909
  createdBySignature?: string | null | undefined;
2629
2910
  createdAtLocation?: string | null | undefined;
2630
2911
  annotation?: Record<string, string | number | boolean | {
@@ -2642,6 +2923,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2642
2923
  residentialArea?: string | null | undefined;
2643
2924
  street?: string | null | undefined;
2644
2925
  zipCode?: string | null | undefined;
2926
+ } | {
2927
+ firstname: string;
2928
+ surname: string;
2929
+ middlename?: string | null | undefined;
2645
2930
  } | {
2646
2931
  country: string;
2647
2932
  district: string;
@@ -2664,7 +2949,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2664
2949
  option: string;
2665
2950
  filename: string;
2666
2951
  originalFilename: string;
2667
- }[] | [string, string] | undefined> | undefined;
2952
+ }[] | [string, string] | null | undefined> | undefined;
2668
2953
  originalActionId?: string | undefined;
2669
2954
  }, {
2670
2955
  type: "REJECT";
@@ -2675,6 +2960,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2675
2960
  isDuplicate?: boolean | undefined;
2676
2961
  };
2677
2962
  transactionId: string;
2963
+ createdByUserType: "system" | "user";
2678
2964
  createdAt: string;
2679
2965
  createdBy: string;
2680
2966
  createdByRole: string;
@@ -2693,6 +2979,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2693
2979
  residentialArea?: string | null | undefined;
2694
2980
  street?: string | null | undefined;
2695
2981
  zipCode?: string | null | undefined;
2982
+ } | {
2983
+ firstname: string;
2984
+ surname: string;
2985
+ middlename?: string | null | undefined;
2696
2986
  } | {
2697
2987
  country: string;
2698
2988
  district: string;
@@ -2715,7 +3005,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2715
3005
  option: string;
2716
3006
  filename: string;
2717
3007
  originalFilename: string;
2718
- }[] | [string, string] | undefined>;
3008
+ }[] | [string, string] | null | undefined>;
2719
3009
  createdBySignature?: string | null | undefined;
2720
3010
  createdAtLocation?: string | null | undefined;
2721
3011
  annotation?: Record<string, string | number | boolean | {
@@ -2733,6 +3023,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2733
3023
  residentialArea?: string | null | undefined;
2734
3024
  street?: string | null | undefined;
2735
3025
  zipCode?: string | null | undefined;
3026
+ } | {
3027
+ firstname: string;
3028
+ surname: string;
3029
+ middlename?: string | null | undefined;
2736
3030
  } | {
2737
3031
  country: string;
2738
3032
  district: string;
@@ -2755,11 +3049,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2755
3049
  option: string;
2756
3050
  filename: string;
2757
3051
  originalFilename: string;
2758
- }[] | [string, string] | undefined> | undefined;
3052
+ }[] | [string, string] | null | undefined> | undefined;
2759
3053
  originalActionId?: string | undefined;
2760
3054
  }>, z.ZodObject<z.objectUtil.extendShape<{
2761
3055
  id: z.ZodString;
2762
3056
  transactionId: z.ZodString;
3057
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2763
3058
  createdAt: z.ZodString;
2764
3059
  createdBy: z.ZodString;
2765
3060
  createdByRole: z.ZodString;
@@ -2878,7 +3173,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2878
3173
  addressLine2?: string | null | undefined;
2879
3174
  addressLine3?: string | null | undefined;
2880
3175
  postcodeOrZip?: string | null | undefined;
2881
- }>]>>;
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]>]>>;
2882
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<{
2883
3190
  filename: z.ZodString;
2884
3191
  originalFilename: z.ZodString;
@@ -2992,7 +3299,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2992
3299
  addressLine2?: string | null | undefined;
2993
3300
  addressLine3?: string | null | undefined;
2994
3301
  postcodeOrZip?: string | null | undefined;
2995
- }>]>>>;
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]>]>>>;
2996
3315
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2997
3316
  originalActionId: z.ZodOptional<z.ZodString>;
2998
3317
  }, {
@@ -3002,6 +3321,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3002
3321
  id: string;
3003
3322
  status: "Rejected" | "Requested" | "Accepted";
3004
3323
  transactionId: string;
3324
+ createdByUserType: "system" | "user";
3005
3325
  createdAt: string;
3006
3326
  createdBy: string;
3007
3327
  createdByRole: string;
@@ -3020,6 +3340,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3020
3340
  residentialArea?: string | null | undefined;
3021
3341
  street?: string | null | undefined;
3022
3342
  zipCode?: string | null | undefined;
3343
+ } | {
3344
+ firstname: string;
3345
+ surname: string;
3346
+ middlename?: string | null | undefined;
3023
3347
  } | {
3024
3348
  country: string;
3025
3349
  district: string;
@@ -3042,7 +3366,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3042
3366
  option: string;
3043
3367
  filename: string;
3044
3368
  originalFilename: string;
3045
- }[] | [string, string] | undefined>;
3369
+ }[] | [string, string] | null | undefined>;
3046
3370
  createdBySignature?: string | null | undefined;
3047
3371
  createdAtLocation?: string | null | undefined;
3048
3372
  annotation?: Record<string, string | number | boolean | {
@@ -3060,6 +3384,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3060
3384
  residentialArea?: string | null | undefined;
3061
3385
  street?: string | null | undefined;
3062
3386
  zipCode?: string | null | undefined;
3387
+ } | {
3388
+ firstname: string;
3389
+ surname: string;
3390
+ middlename?: string | null | undefined;
3063
3391
  } | {
3064
3392
  country: string;
3065
3393
  district: string;
@@ -3082,13 +3410,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3082
3410
  option: string;
3083
3411
  filename: string;
3084
3412
  originalFilename: string;
3085
- }[] | [string, string] | undefined> | undefined;
3413
+ }[] | [string, string] | null | undefined> | undefined;
3086
3414
  originalActionId?: string | undefined;
3087
3415
  }, {
3088
3416
  type: "MARKED_AS_DUPLICATE";
3089
3417
  id: string;
3090
3418
  status: "Rejected" | "Requested" | "Accepted";
3091
3419
  transactionId: string;
3420
+ createdByUserType: "system" | "user";
3092
3421
  createdAt: string;
3093
3422
  createdBy: string;
3094
3423
  createdByRole: string;
@@ -3107,6 +3436,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3107
3436
  residentialArea?: string | null | undefined;
3108
3437
  street?: string | null | undefined;
3109
3438
  zipCode?: string | null | undefined;
3439
+ } | {
3440
+ firstname: string;
3441
+ surname: string;
3442
+ middlename?: string | null | undefined;
3110
3443
  } | {
3111
3444
  country: string;
3112
3445
  district: string;
@@ -3129,7 +3462,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3129
3462
  option: string;
3130
3463
  filename: string;
3131
3464
  originalFilename: string;
3132
- }[] | [string, string] | undefined>;
3465
+ }[] | [string, string] | null | undefined>;
3133
3466
  createdBySignature?: string | null | undefined;
3134
3467
  createdAtLocation?: string | null | undefined;
3135
3468
  annotation?: Record<string, string | number | boolean | {
@@ -3147,6 +3480,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3147
3480
  residentialArea?: string | null | undefined;
3148
3481
  street?: string | null | undefined;
3149
3482
  zipCode?: string | null | undefined;
3483
+ } | {
3484
+ firstname: string;
3485
+ surname: string;
3486
+ middlename?: string | null | undefined;
3150
3487
  } | {
3151
3488
  country: string;
3152
3489
  district: string;
@@ -3169,11 +3506,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3169
3506
  option: string;
3170
3507
  filename: string;
3171
3508
  originalFilename: string;
3172
- }[] | [string, string] | undefined> | undefined;
3509
+ }[] | [string, string] | null | undefined> | undefined;
3173
3510
  originalActionId?: string | undefined;
3174
3511
  }>, z.ZodObject<z.objectUtil.extendShape<{
3175
3512
  id: z.ZodString;
3176
3513
  transactionId: z.ZodString;
3514
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3177
3515
  createdAt: z.ZodString;
3178
3516
  createdBy: z.ZodString;
3179
3517
  createdByRole: z.ZodString;
@@ -3292,7 +3630,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3292
3630
  addressLine2?: string | null | undefined;
3293
3631
  addressLine3?: string | null | undefined;
3294
3632
  postcodeOrZip?: string | null | undefined;
3295
- }>]>>;
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]>]>>;
3296
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<{
3297
3647
  filename: z.ZodString;
3298
3648
  originalFilename: z.ZodString;
@@ -3406,7 +3756,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3406
3756
  addressLine2?: string | null | undefined;
3407
3757
  addressLine3?: string | null | undefined;
3408
3758
  postcodeOrZip?: string | null | undefined;
3409
- }>]>>>;
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]>]>>>;
3410
3772
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3411
3773
  originalActionId: z.ZodOptional<z.ZodString>;
3412
3774
  }, {
@@ -3430,6 +3792,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3430
3792
  isDuplicate?: boolean | undefined;
3431
3793
  };
3432
3794
  transactionId: string;
3795
+ createdByUserType: "system" | "user";
3433
3796
  createdAt: string;
3434
3797
  createdBy: string;
3435
3798
  createdByRole: string;
@@ -3448,6 +3811,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3448
3811
  residentialArea?: string | null | undefined;
3449
3812
  street?: string | null | undefined;
3450
3813
  zipCode?: string | null | undefined;
3814
+ } | {
3815
+ firstname: string;
3816
+ surname: string;
3817
+ middlename?: string | null | undefined;
3451
3818
  } | {
3452
3819
  country: string;
3453
3820
  district: string;
@@ -3470,7 +3837,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3470
3837
  option: string;
3471
3838
  filename: string;
3472
3839
  originalFilename: string;
3473
- }[] | [string, string] | undefined>;
3840
+ }[] | [string, string] | null | undefined>;
3474
3841
  createdBySignature?: string | null | undefined;
3475
3842
  createdAtLocation?: string | null | undefined;
3476
3843
  annotation?: Record<string, string | number | boolean | {
@@ -3488,6 +3855,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3488
3855
  residentialArea?: string | null | undefined;
3489
3856
  street?: string | null | undefined;
3490
3857
  zipCode?: string | null | undefined;
3858
+ } | {
3859
+ firstname: string;
3860
+ surname: string;
3861
+ middlename?: string | null | undefined;
3491
3862
  } | {
3492
3863
  country: string;
3493
3864
  district: string;
@@ -3510,7 +3881,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3510
3881
  option: string;
3511
3882
  filename: string;
3512
3883
  originalFilename: string;
3513
- }[] | [string, string] | undefined> | undefined;
3884
+ }[] | [string, string] | null | undefined> | undefined;
3514
3885
  originalActionId?: string | undefined;
3515
3886
  }, {
3516
3887
  type: "ARCHIVE";
@@ -3521,6 +3892,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3521
3892
  isDuplicate?: boolean | undefined;
3522
3893
  };
3523
3894
  transactionId: string;
3895
+ createdByUserType: "system" | "user";
3524
3896
  createdAt: string;
3525
3897
  createdBy: string;
3526
3898
  createdByRole: string;
@@ -3539,6 +3911,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3539
3911
  residentialArea?: string | null | undefined;
3540
3912
  street?: string | null | undefined;
3541
3913
  zipCode?: string | null | undefined;
3914
+ } | {
3915
+ firstname: string;
3916
+ surname: string;
3917
+ middlename?: string | null | undefined;
3542
3918
  } | {
3543
3919
  country: string;
3544
3920
  district: string;
@@ -3561,7 +3937,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3561
3937
  option: string;
3562
3938
  filename: string;
3563
3939
  originalFilename: string;
3564
- }[] | [string, string] | undefined>;
3940
+ }[] | [string, string] | null | undefined>;
3565
3941
  createdBySignature?: string | null | undefined;
3566
3942
  createdAtLocation?: string | null | undefined;
3567
3943
  annotation?: Record<string, string | number | boolean | {
@@ -3579,6 +3955,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3579
3955
  residentialArea?: string | null | undefined;
3580
3956
  street?: string | null | undefined;
3581
3957
  zipCode?: string | null | undefined;
3958
+ } | {
3959
+ firstname: string;
3960
+ surname: string;
3961
+ middlename?: string | null | undefined;
3582
3962
  } | {
3583
3963
  country: string;
3584
3964
  district: string;
@@ -3601,11 +3981,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3601
3981
  option: string;
3602
3982
  filename: string;
3603
3983
  originalFilename: string;
3604
- }[] | [string, string] | undefined> | undefined;
3984
+ }[] | [string, string] | null | undefined> | undefined;
3605
3985
  originalActionId?: string | undefined;
3606
3986
  }>, z.ZodObject<z.objectUtil.extendShape<{
3607
3987
  id: z.ZodString;
3608
3988
  transactionId: z.ZodString;
3989
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3609
3990
  createdAt: z.ZodString;
3610
3991
  createdBy: z.ZodString;
3611
3992
  createdByRole: z.ZodString;
@@ -3724,7 +4105,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3724
4105
  addressLine2?: string | null | undefined;
3725
4106
  addressLine3?: string | null | undefined;
3726
4107
  postcodeOrZip?: string | null | undefined;
3727
- }>]>>;
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]>]>>;
3728
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<{
3729
4122
  filename: z.ZodString;
3730
4123
  originalFilename: z.ZodString;
@@ -3838,7 +4231,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3838
4231
  addressLine2?: string | null | undefined;
3839
4232
  addressLine3?: string | null | undefined;
3840
4233
  postcodeOrZip?: string | null | undefined;
3841
- }>]>>>;
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]>]>>>;
3842
4247
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3843
4248
  originalActionId: z.ZodOptional<z.ZodString>;
3844
4249
  }, {
@@ -3848,6 +4253,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3848
4253
  id: string;
3849
4254
  status: "Rejected" | "Requested" | "Accepted";
3850
4255
  transactionId: string;
4256
+ createdByUserType: "system" | "user";
3851
4257
  createdAt: string;
3852
4258
  createdBy: string;
3853
4259
  createdByRole: string;
@@ -3866,6 +4272,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3866
4272
  residentialArea?: string | null | undefined;
3867
4273
  street?: string | null | undefined;
3868
4274
  zipCode?: string | null | undefined;
4275
+ } | {
4276
+ firstname: string;
4277
+ surname: string;
4278
+ middlename?: string | null | undefined;
3869
4279
  } | {
3870
4280
  country: string;
3871
4281
  district: string;
@@ -3888,7 +4298,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3888
4298
  option: string;
3889
4299
  filename: string;
3890
4300
  originalFilename: string;
3891
- }[] | [string, string] | undefined>;
4301
+ }[] | [string, string] | null | undefined>;
3892
4302
  createdBySignature?: string | null | undefined;
3893
4303
  createdAtLocation?: string | null | undefined;
3894
4304
  annotation?: Record<string, string | number | boolean | {
@@ -3906,6 +4316,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3906
4316
  residentialArea?: string | null | undefined;
3907
4317
  street?: string | null | undefined;
3908
4318
  zipCode?: string | null | undefined;
4319
+ } | {
4320
+ firstname: string;
4321
+ surname: string;
4322
+ middlename?: string | null | undefined;
3909
4323
  } | {
3910
4324
  country: string;
3911
4325
  district: string;
@@ -3928,13 +4342,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3928
4342
  option: string;
3929
4343
  filename: string;
3930
4344
  originalFilename: string;
3931
- }[] | [string, string] | undefined> | undefined;
4345
+ }[] | [string, string] | null | undefined> | undefined;
3932
4346
  originalActionId?: string | undefined;
3933
4347
  }, {
3934
4348
  type: "NOTIFY";
3935
4349
  id: string;
3936
4350
  status: "Rejected" | "Requested" | "Accepted";
3937
4351
  transactionId: string;
4352
+ createdByUserType: "system" | "user";
3938
4353
  createdAt: string;
3939
4354
  createdBy: string;
3940
4355
  createdByRole: string;
@@ -3953,6 +4368,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3953
4368
  residentialArea?: string | null | undefined;
3954
4369
  street?: string | null | undefined;
3955
4370
  zipCode?: string | null | undefined;
4371
+ } | {
4372
+ firstname: string;
4373
+ surname: string;
4374
+ middlename?: string | null | undefined;
3956
4375
  } | {
3957
4376
  country: string;
3958
4377
  district: string;
@@ -3975,7 +4394,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3975
4394
  option: string;
3976
4395
  filename: string;
3977
4396
  originalFilename: string;
3978
- }[] | [string, string] | undefined>;
4397
+ }[] | [string, string] | null | undefined>;
3979
4398
  createdBySignature?: string | null | undefined;
3980
4399
  createdAtLocation?: string | null | undefined;
3981
4400
  annotation?: Record<string, string | number | boolean | {
@@ -3993,6 +4412,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3993
4412
  residentialArea?: string | null | undefined;
3994
4413
  street?: string | null | undefined;
3995
4414
  zipCode?: string | null | undefined;
4415
+ } | {
4416
+ firstname: string;
4417
+ surname: string;
4418
+ middlename?: string | null | undefined;
3996
4419
  } | {
3997
4420
  country: string;
3998
4421
  district: string;
@@ -4015,11 +4438,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4015
4438
  option: string;
4016
4439
  filename: string;
4017
4440
  originalFilename: string;
4018
- }[] | [string, string] | undefined> | undefined;
4441
+ }[] | [string, string] | null | undefined> | undefined;
4019
4442
  originalActionId?: string | undefined;
4020
4443
  }>, z.ZodObject<z.objectUtil.extendShape<{
4021
4444
  id: z.ZodString;
4022
4445
  transactionId: z.ZodString;
4446
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4023
4447
  createdAt: z.ZodString;
4024
4448
  createdBy: z.ZodString;
4025
4449
  createdByRole: z.ZodString;
@@ -4138,7 +4562,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4138
4562
  addressLine2?: string | null | undefined;
4139
4563
  addressLine3?: string | null | undefined;
4140
4564
  postcodeOrZip?: string | null | undefined;
4141
- }>]>>;
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]>]>>;
4142
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<{
4143
4579
  filename: z.ZodString;
4144
4580
  originalFilename: z.ZodString;
@@ -4252,7 +4688,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4252
4688
  addressLine2?: string | null | undefined;
4253
4689
  addressLine3?: string | null | undefined;
4254
4690
  postcodeOrZip?: string | null | undefined;
4255
- }>]>>>;
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]>]>>>;
4256
4704
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4257
4705
  originalActionId: z.ZodOptional<z.ZodString>;
4258
4706
  }, {
@@ -4263,6 +4711,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4263
4711
  id: string;
4264
4712
  status: "Rejected" | "Requested" | "Accepted";
4265
4713
  transactionId: string;
4714
+ createdByUserType: "system" | "user";
4266
4715
  createdAt: string;
4267
4716
  createdBy: string;
4268
4717
  createdByRole: string;
@@ -4281,6 +4730,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4281
4730
  residentialArea?: string | null | undefined;
4282
4731
  street?: string | null | undefined;
4283
4732
  zipCode?: string | null | undefined;
4733
+ } | {
4734
+ firstname: string;
4735
+ surname: string;
4736
+ middlename?: string | null | undefined;
4284
4737
  } | {
4285
4738
  country: string;
4286
4739
  district: string;
@@ -4303,7 +4756,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4303
4756
  option: string;
4304
4757
  filename: string;
4305
4758
  originalFilename: string;
4306
- }[] | [string, string] | undefined>;
4759
+ }[] | [string, string] | null | undefined>;
4307
4760
  createdBySignature?: string | null | undefined;
4308
4761
  createdAtLocation?: string | null | undefined;
4309
4762
  annotation?: Record<string, string | number | boolean | {
@@ -4321,6 +4774,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4321
4774
  residentialArea?: string | null | undefined;
4322
4775
  street?: string | null | undefined;
4323
4776
  zipCode?: string | null | undefined;
4777
+ } | {
4778
+ firstname: string;
4779
+ surname: string;
4780
+ middlename?: string | null | undefined;
4324
4781
  } | {
4325
4782
  country: string;
4326
4783
  district: string;
@@ -4343,7 +4800,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4343
4800
  option: string;
4344
4801
  filename: string;
4345
4802
  originalFilename: string;
4346
- }[] | [string, string] | undefined> | undefined;
4803
+ }[] | [string, string] | null | undefined> | undefined;
4347
4804
  originalActionId?: string | undefined;
4348
4805
  registrationNumber?: string | undefined;
4349
4806
  }, {
@@ -4351,6 +4808,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4351
4808
  id: string;
4352
4809
  status: "Rejected" | "Requested" | "Accepted";
4353
4810
  transactionId: string;
4811
+ createdByUserType: "system" | "user";
4354
4812
  createdAt: string;
4355
4813
  createdBy: string;
4356
4814
  createdByRole: string;
@@ -4369,6 +4827,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4369
4827
  residentialArea?: string | null | undefined;
4370
4828
  street?: string | null | undefined;
4371
4829
  zipCode?: string | null | undefined;
4830
+ } | {
4831
+ firstname: string;
4832
+ surname: string;
4833
+ middlename?: string | null | undefined;
4372
4834
  } | {
4373
4835
  country: string;
4374
4836
  district: string;
@@ -4391,7 +4853,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4391
4853
  option: string;
4392
4854
  filename: string;
4393
4855
  originalFilename: string;
4394
- }[] | [string, string] | undefined>;
4856
+ }[] | [string, string] | null | undefined>;
4395
4857
  createdBySignature?: string | null | undefined;
4396
4858
  createdAtLocation?: string | null | undefined;
4397
4859
  annotation?: Record<string, string | number | boolean | {
@@ -4409,6 +4871,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4409
4871
  residentialArea?: string | null | undefined;
4410
4872
  street?: string | null | undefined;
4411
4873
  zipCode?: string | null | undefined;
4874
+ } | {
4875
+ firstname: string;
4876
+ surname: string;
4877
+ middlename?: string | null | undefined;
4412
4878
  } | {
4413
4879
  country: string;
4414
4880
  district: string;
@@ -4431,12 +4897,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4431
4897
  option: string;
4432
4898
  filename: string;
4433
4899
  originalFilename: string;
4434
- }[] | [string, string] | undefined> | undefined;
4900
+ }[] | [string, string] | null | undefined> | undefined;
4435
4901
  originalActionId?: string | undefined;
4436
4902
  registrationNumber?: string | undefined;
4437
4903
  }>, z.ZodObject<z.objectUtil.extendShape<{
4438
4904
  id: z.ZodString;
4439
4905
  transactionId: z.ZodString;
4906
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4440
4907
  createdAt: z.ZodString;
4441
4908
  createdBy: z.ZodString;
4442
4909
  createdByRole: z.ZodString;
@@ -4555,7 +5022,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4555
5022
  addressLine2?: string | null | undefined;
4556
5023
  addressLine3?: string | null | undefined;
4557
5024
  postcodeOrZip?: string | null | undefined;
4558
- }>]>>;
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]>]>>;
4559
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<{
4560
5039
  filename: z.ZodString;
4561
5040
  originalFilename: z.ZodString;
@@ -4669,7 +5148,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4669
5148
  addressLine2?: string | null | undefined;
4670
5149
  addressLine3?: string | null | undefined;
4671
5150
  postcodeOrZip?: string | null | undefined;
4672
- }>]>>>;
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]>]>>>;
4673
5164
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4674
5165
  originalActionId: z.ZodOptional<z.ZodString>;
4675
5166
  }, {
@@ -4679,6 +5170,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4679
5170
  id: string;
4680
5171
  status: "Rejected" | "Requested" | "Accepted";
4681
5172
  transactionId: string;
5173
+ createdByUserType: "system" | "user";
4682
5174
  createdAt: string;
4683
5175
  createdBy: string;
4684
5176
  createdByRole: string;
@@ -4697,6 +5189,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4697
5189
  residentialArea?: string | null | undefined;
4698
5190
  street?: string | null | undefined;
4699
5191
  zipCode?: string | null | undefined;
5192
+ } | {
5193
+ firstname: string;
5194
+ surname: string;
5195
+ middlename?: string | null | undefined;
4700
5196
  } | {
4701
5197
  country: string;
4702
5198
  district: string;
@@ -4719,7 +5215,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4719
5215
  option: string;
4720
5216
  filename: string;
4721
5217
  originalFilename: string;
4722
- }[] | [string, string] | undefined>;
5218
+ }[] | [string, string] | null | undefined>;
4723
5219
  createdBySignature?: string | null | undefined;
4724
5220
  createdAtLocation?: string | null | undefined;
4725
5221
  annotation?: Record<string, string | number | boolean | {
@@ -4737,6 +5233,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4737
5233
  residentialArea?: string | null | undefined;
4738
5234
  street?: string | null | undefined;
4739
5235
  zipCode?: string | null | undefined;
5236
+ } | {
5237
+ firstname: string;
5238
+ surname: string;
5239
+ middlename?: string | null | undefined;
4740
5240
  } | {
4741
5241
  country: string;
4742
5242
  district: string;
@@ -4759,13 +5259,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4759
5259
  option: string;
4760
5260
  filename: string;
4761
5261
  originalFilename: string;
4762
- }[] | [string, string] | undefined> | undefined;
5262
+ }[] | [string, string] | null | undefined> | undefined;
4763
5263
  originalActionId?: string | undefined;
4764
5264
  }, {
4765
5265
  type: "DECLARE";
4766
5266
  id: string;
4767
5267
  status: "Rejected" | "Requested" | "Accepted";
4768
5268
  transactionId: string;
5269
+ createdByUserType: "system" | "user";
4769
5270
  createdAt: string;
4770
5271
  createdBy: string;
4771
5272
  createdByRole: string;
@@ -4784,6 +5285,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4784
5285
  residentialArea?: string | null | undefined;
4785
5286
  street?: string | null | undefined;
4786
5287
  zipCode?: string | null | undefined;
5288
+ } | {
5289
+ firstname: string;
5290
+ surname: string;
5291
+ middlename?: string | null | undefined;
4787
5292
  } | {
4788
5293
  country: string;
4789
5294
  district: string;
@@ -4806,7 +5311,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4806
5311
  option: string;
4807
5312
  filename: string;
4808
5313
  originalFilename: string;
4809
- }[] | [string, string] | undefined>;
5314
+ }[] | [string, string] | null | undefined>;
4810
5315
  createdBySignature?: string | null | undefined;
4811
5316
  createdAtLocation?: string | null | undefined;
4812
5317
  annotation?: Record<string, string | number | boolean | {
@@ -4824,6 +5329,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4824
5329
  residentialArea?: string | null | undefined;
4825
5330
  street?: string | null | undefined;
4826
5331
  zipCode?: string | null | undefined;
5332
+ } | {
5333
+ firstname: string;
5334
+ surname: string;
5335
+ middlename?: string | null | undefined;
4827
5336
  } | {
4828
5337
  country: string;
4829
5338
  district: string;
@@ -4846,11 +5355,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4846
5355
  option: string;
4847
5356
  filename: string;
4848
5357
  originalFilename: string;
4849
- }[] | [string, string] | undefined> | undefined;
5358
+ }[] | [string, string] | null | undefined> | undefined;
4850
5359
  originalActionId?: string | undefined;
4851
5360
  }>, z.ZodObject<z.objectUtil.extendShape<{
4852
5361
  id: z.ZodString;
4853
5362
  transactionId: z.ZodString;
5363
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4854
5364
  createdAt: z.ZodString;
4855
5365
  createdBy: z.ZodString;
4856
5366
  createdByRole: z.ZodString;
@@ -4969,7 +5479,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4969
5479
  addressLine2?: string | null | undefined;
4970
5480
  addressLine3?: string | null | undefined;
4971
5481
  postcodeOrZip?: string | null | undefined;
4972
- }>]>>;
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]>]>>;
4973
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<{
4974
5496
  filename: z.ZodString;
4975
5497
  originalFilename: z.ZodString;
@@ -5083,7 +5605,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5083
5605
  addressLine2?: string | null | undefined;
5084
5606
  addressLine3?: string | null | undefined;
5085
5607
  postcodeOrZip?: string | null | undefined;
5086
- }>]>>>;
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]>]>>>;
5087
5621
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5088
5622
  originalActionId: z.ZodOptional<z.ZodString>;
5089
5623
  }, {
@@ -5094,6 +5628,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5094
5628
  id: string;
5095
5629
  status: "Rejected" | "Requested" | "Accepted";
5096
5630
  transactionId: string;
5631
+ createdByUserType: "system" | "user";
5097
5632
  createdAt: string;
5098
5633
  createdBy: string;
5099
5634
  createdByRole: string;
@@ -5112,6 +5647,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5112
5647
  residentialArea?: string | null | undefined;
5113
5648
  street?: string | null | undefined;
5114
5649
  zipCode?: string | null | undefined;
5650
+ } | {
5651
+ firstname: string;
5652
+ surname: string;
5653
+ middlename?: string | null | undefined;
5115
5654
  } | {
5116
5655
  country: string;
5117
5656
  district: string;
@@ -5134,7 +5673,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5134
5673
  option: string;
5135
5674
  filename: string;
5136
5675
  originalFilename: string;
5137
- }[] | [string, string] | undefined>;
5676
+ }[] | [string, string] | null | undefined>;
5138
5677
  assignedTo: string;
5139
5678
  createdBySignature?: string | null | undefined;
5140
5679
  createdAtLocation?: string | null | undefined;
@@ -5153,6 +5692,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5153
5692
  residentialArea?: string | null | undefined;
5154
5693
  street?: string | null | undefined;
5155
5694
  zipCode?: string | null | undefined;
5695
+ } | {
5696
+ firstname: string;
5697
+ surname: string;
5698
+ middlename?: string | null | undefined;
5156
5699
  } | {
5157
5700
  country: string;
5158
5701
  district: string;
@@ -5175,13 +5718,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5175
5718
  option: string;
5176
5719
  filename: string;
5177
5720
  originalFilename: string;
5178
- }[] | [string, string] | undefined> | undefined;
5721
+ }[] | [string, string] | null | undefined> | undefined;
5179
5722
  originalActionId?: string | undefined;
5180
5723
  }, {
5181
5724
  type: "ASSIGN";
5182
5725
  id: string;
5183
5726
  status: "Rejected" | "Requested" | "Accepted";
5184
5727
  transactionId: string;
5728
+ createdByUserType: "system" | "user";
5185
5729
  createdAt: string;
5186
5730
  createdBy: string;
5187
5731
  createdByRole: string;
@@ -5200,6 +5744,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5200
5744
  residentialArea?: string | null | undefined;
5201
5745
  street?: string | null | undefined;
5202
5746
  zipCode?: string | null | undefined;
5747
+ } | {
5748
+ firstname: string;
5749
+ surname: string;
5750
+ middlename?: string | null | undefined;
5203
5751
  } | {
5204
5752
  country: string;
5205
5753
  district: string;
@@ -5222,7 +5770,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5222
5770
  option: string;
5223
5771
  filename: string;
5224
5772
  originalFilename: string;
5225
- }[] | [string, string] | undefined>;
5773
+ }[] | [string, string] | null | undefined>;
5226
5774
  assignedTo: string;
5227
5775
  createdBySignature?: string | null | undefined;
5228
5776
  createdAtLocation?: string | null | undefined;
@@ -5241,6 +5789,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5241
5789
  residentialArea?: string | null | undefined;
5242
5790
  street?: string | null | undefined;
5243
5791
  zipCode?: string | null | undefined;
5792
+ } | {
5793
+ firstname: string;
5794
+ surname: string;
5795
+ middlename?: string | null | undefined;
5244
5796
  } | {
5245
5797
  country: string;
5246
5798
  district: string;
@@ -5263,11 +5815,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5263
5815
  option: string;
5264
5816
  filename: string;
5265
5817
  originalFilename: string;
5266
- }[] | [string, string] | undefined> | undefined;
5818
+ }[] | [string, string] | null | undefined> | undefined;
5267
5819
  originalActionId?: string | undefined;
5268
5820
  }>, z.ZodObject<z.objectUtil.extendShape<{
5269
5821
  id: z.ZodString;
5270
5822
  transactionId: z.ZodString;
5823
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5271
5824
  createdAt: z.ZodString;
5272
5825
  createdBy: z.ZodString;
5273
5826
  createdByRole: z.ZodString;
@@ -5386,7 +5939,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5386
5939
  addressLine2?: string | null | undefined;
5387
5940
  addressLine3?: string | null | undefined;
5388
5941
  postcodeOrZip?: string | null | undefined;
5389
- }>]>>;
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]>]>>;
5390
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<{
5391
5956
  filename: z.ZodString;
5392
5957
  originalFilename: z.ZodString;
@@ -5500,7 +6065,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5500
6065
  addressLine2?: string | null | undefined;
5501
6066
  addressLine3?: string | null | undefined;
5502
6067
  postcodeOrZip?: string | null | undefined;
5503
- }>]>>>;
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]>]>>>;
5504
6081
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5505
6082
  originalActionId: z.ZodOptional<z.ZodString>;
5506
6083
  }, {
@@ -5510,6 +6087,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5510
6087
  id: string;
5511
6088
  status: "Rejected" | "Requested" | "Accepted";
5512
6089
  transactionId: string;
6090
+ createdByUserType: "system" | "user";
5513
6091
  createdAt: string;
5514
6092
  createdBy: string;
5515
6093
  createdByRole: string;
@@ -5528,6 +6106,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5528
6106
  residentialArea?: string | null | undefined;
5529
6107
  street?: string | null | undefined;
5530
6108
  zipCode?: string | null | undefined;
6109
+ } | {
6110
+ firstname: string;
6111
+ surname: string;
6112
+ middlename?: string | null | undefined;
5531
6113
  } | {
5532
6114
  country: string;
5533
6115
  district: string;
@@ -5550,7 +6132,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5550
6132
  option: string;
5551
6133
  filename: string;
5552
6134
  originalFilename: string;
5553
- }[] | [string, string] | undefined>;
6135
+ }[] | [string, string] | null | undefined>;
5554
6136
  createdBySignature?: string | null | undefined;
5555
6137
  createdAtLocation?: string | null | undefined;
5556
6138
  annotation?: Record<string, string | number | boolean | {
@@ -5568,6 +6150,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5568
6150
  residentialArea?: string | null | undefined;
5569
6151
  street?: string | null | undefined;
5570
6152
  zipCode?: string | null | undefined;
6153
+ } | {
6154
+ firstname: string;
6155
+ surname: string;
6156
+ middlename?: string | null | undefined;
5571
6157
  } | {
5572
6158
  country: string;
5573
6159
  district: string;
@@ -5590,13 +6176,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5590
6176
  option: string;
5591
6177
  filename: string;
5592
6178
  originalFilename: string;
5593
- }[] | [string, string] | undefined> | undefined;
6179
+ }[] | [string, string] | null | undefined> | undefined;
5594
6180
  originalActionId?: string | undefined;
5595
6181
  }, {
5596
6182
  type: "REQUEST_CORRECTION";
5597
6183
  id: string;
5598
6184
  status: "Rejected" | "Requested" | "Accepted";
5599
6185
  transactionId: string;
6186
+ createdByUserType: "system" | "user";
5600
6187
  createdAt: string;
5601
6188
  createdBy: string;
5602
6189
  createdByRole: string;
@@ -5615,6 +6202,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5615
6202
  residentialArea?: string | null | undefined;
5616
6203
  street?: string | null | undefined;
5617
6204
  zipCode?: string | null | undefined;
6205
+ } | {
6206
+ firstname: string;
6207
+ surname: string;
6208
+ middlename?: string | null | undefined;
5618
6209
  } | {
5619
6210
  country: string;
5620
6211
  district: string;
@@ -5637,7 +6228,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5637
6228
  option: string;
5638
6229
  filename: string;
5639
6230
  originalFilename: string;
5640
- }[] | [string, string] | undefined>;
6231
+ }[] | [string, string] | null | undefined>;
5641
6232
  createdBySignature?: string | null | undefined;
5642
6233
  createdAtLocation?: string | null | undefined;
5643
6234
  annotation?: Record<string, string | number | boolean | {
@@ -5655,6 +6246,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5655
6246
  residentialArea?: string | null | undefined;
5656
6247
  street?: string | null | undefined;
5657
6248
  zipCode?: string | null | undefined;
6249
+ } | {
6250
+ firstname: string;
6251
+ surname: string;
6252
+ middlename?: string | null | undefined;
5658
6253
  } | {
5659
6254
  country: string;
5660
6255
  district: string;
@@ -5677,11 +6272,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5677
6272
  option: string;
5678
6273
  filename: string;
5679
6274
  originalFilename: string;
5680
- }[] | [string, string] | undefined> | undefined;
6275
+ }[] | [string, string] | null | undefined> | undefined;
5681
6276
  originalActionId?: string | undefined;
5682
6277
  }>, z.ZodObject<z.objectUtil.extendShape<{
5683
6278
  id: z.ZodString;
5684
6279
  transactionId: z.ZodString;
6280
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5685
6281
  createdAt: z.ZodString;
5686
6282
  createdBy: z.ZodString;
5687
6283
  createdByRole: z.ZodString;
@@ -5800,7 +6396,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5800
6396
  addressLine2?: string | null | undefined;
5801
6397
  addressLine3?: string | null | undefined;
5802
6398
  postcodeOrZip?: string | null | undefined;
5803
- }>]>>;
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]>]>>;
5804
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<{
5805
6413
  filename: z.ZodString;
5806
6414
  originalFilename: z.ZodString;
@@ -5914,7 +6522,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5914
6522
  addressLine2?: string | null | undefined;
5915
6523
  addressLine3?: string | null | undefined;
5916
6524
  postcodeOrZip?: string | null | undefined;
5917
- }>]>>>;
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]>]>>>;
5918
6538
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5919
6539
  originalActionId: z.ZodOptional<z.ZodString>;
5920
6540
  }, {
@@ -5925,6 +6545,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5925
6545
  id: string;
5926
6546
  status: "Rejected" | "Requested" | "Accepted";
5927
6547
  transactionId: string;
6548
+ createdByUserType: "system" | "user";
5928
6549
  createdAt: string;
5929
6550
  createdBy: string;
5930
6551
  createdByRole: string;
@@ -5943,6 +6564,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5943
6564
  residentialArea?: string | null | undefined;
5944
6565
  street?: string | null | undefined;
5945
6566
  zipCode?: string | null | undefined;
6567
+ } | {
6568
+ firstname: string;
6569
+ surname: string;
6570
+ middlename?: string | null | undefined;
5946
6571
  } | {
5947
6572
  country: string;
5948
6573
  district: string;
@@ -5965,7 +6590,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5965
6590
  option: string;
5966
6591
  filename: string;
5967
6592
  originalFilename: string;
5968
- }[] | [string, string] | undefined>;
6593
+ }[] | [string, string] | null | undefined>;
5969
6594
  requestId: string;
5970
6595
  createdBySignature?: string | null | undefined;
5971
6596
  createdAtLocation?: string | null | undefined;
@@ -5984,6 +6609,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5984
6609
  residentialArea?: string | null | undefined;
5985
6610
  street?: string | null | undefined;
5986
6611
  zipCode?: string | null | undefined;
6612
+ } | {
6613
+ firstname: string;
6614
+ surname: string;
6615
+ middlename?: string | null | undefined;
5987
6616
  } | {
5988
6617
  country: string;
5989
6618
  district: string;
@@ -6006,13 +6635,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6006
6635
  option: string;
6007
6636
  filename: string;
6008
6637
  originalFilename: string;
6009
- }[] | [string, string] | undefined> | undefined;
6638
+ }[] | [string, string] | null | undefined> | undefined;
6010
6639
  originalActionId?: string | undefined;
6011
6640
  }, {
6012
6641
  type: "APPROVE_CORRECTION";
6013
6642
  id: string;
6014
6643
  status: "Rejected" | "Requested" | "Accepted";
6015
6644
  transactionId: string;
6645
+ createdByUserType: "system" | "user";
6016
6646
  createdAt: string;
6017
6647
  createdBy: string;
6018
6648
  createdByRole: string;
@@ -6031,6 +6661,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6031
6661
  residentialArea?: string | null | undefined;
6032
6662
  street?: string | null | undefined;
6033
6663
  zipCode?: string | null | undefined;
6664
+ } | {
6665
+ firstname: string;
6666
+ surname: string;
6667
+ middlename?: string | null | undefined;
6034
6668
  } | {
6035
6669
  country: string;
6036
6670
  district: string;
@@ -6053,7 +6687,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6053
6687
  option: string;
6054
6688
  filename: string;
6055
6689
  originalFilename: string;
6056
- }[] | [string, string] | undefined>;
6690
+ }[] | [string, string] | null | undefined>;
6057
6691
  requestId: string;
6058
6692
  createdBySignature?: string | null | undefined;
6059
6693
  createdAtLocation?: string | null | undefined;
@@ -6072,6 +6706,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6072
6706
  residentialArea?: string | null | undefined;
6073
6707
  street?: string | null | undefined;
6074
6708
  zipCode?: string | null | undefined;
6709
+ } | {
6710
+ firstname: string;
6711
+ surname: string;
6712
+ middlename?: string | null | undefined;
6075
6713
  } | {
6076
6714
  country: string;
6077
6715
  district: string;
@@ -6094,11 +6732,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6094
6732
  option: string;
6095
6733
  filename: string;
6096
6734
  originalFilename: string;
6097
- }[] | [string, string] | undefined> | undefined;
6735
+ }[] | [string, string] | null | undefined> | undefined;
6098
6736
  originalActionId?: string | undefined;
6099
6737
  }>, z.ZodObject<z.objectUtil.extendShape<{
6100
6738
  id: z.ZodString;
6101
6739
  transactionId: z.ZodString;
6740
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6102
6741
  createdAt: z.ZodString;
6103
6742
  createdBy: z.ZodString;
6104
6743
  createdByRole: z.ZodString;
@@ -6217,7 +6856,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6217
6856
  addressLine2?: string | null | undefined;
6218
6857
  addressLine3?: string | null | undefined;
6219
6858
  postcodeOrZip?: string | null | undefined;
6220
- }>]>>;
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]>]>>;
6221
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<{
6222
6873
  filename: z.ZodString;
6223
6874
  originalFilename: z.ZodString;
@@ -6331,7 +6982,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6331
6982
  addressLine2?: string | null | undefined;
6332
6983
  addressLine3?: string | null | undefined;
6333
6984
  postcodeOrZip?: string | null | undefined;
6334
- }>]>>>;
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]>]>>>;
6335
6998
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6336
6999
  originalActionId: z.ZodOptional<z.ZodString>;
6337
7000
  }, {
@@ -6342,6 +7005,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6342
7005
  id: string;
6343
7006
  status: "Rejected" | "Requested" | "Accepted";
6344
7007
  transactionId: string;
7008
+ createdByUserType: "system" | "user";
6345
7009
  createdAt: string;
6346
7010
  createdBy: string;
6347
7011
  createdByRole: string;
@@ -6360,6 +7024,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6360
7024
  residentialArea?: string | null | undefined;
6361
7025
  street?: string | null | undefined;
6362
7026
  zipCode?: string | null | undefined;
7027
+ } | {
7028
+ firstname: string;
7029
+ surname: string;
7030
+ middlename?: string | null | undefined;
6363
7031
  } | {
6364
7032
  country: string;
6365
7033
  district: string;
@@ -6382,7 +7050,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6382
7050
  option: string;
6383
7051
  filename: string;
6384
7052
  originalFilename: string;
6385
- }[] | [string, string] | undefined>;
7053
+ }[] | [string, string] | null | undefined>;
6386
7054
  requestId: string;
6387
7055
  createdBySignature?: string | null | undefined;
6388
7056
  createdAtLocation?: string | null | undefined;
@@ -6401,6 +7069,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6401
7069
  residentialArea?: string | null | undefined;
6402
7070
  street?: string | null | undefined;
6403
7071
  zipCode?: string | null | undefined;
7072
+ } | {
7073
+ firstname: string;
7074
+ surname: string;
7075
+ middlename?: string | null | undefined;
6404
7076
  } | {
6405
7077
  country: string;
6406
7078
  district: string;
@@ -6423,13 +7095,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6423
7095
  option: string;
6424
7096
  filename: string;
6425
7097
  originalFilename: string;
6426
- }[] | [string, string] | undefined> | undefined;
7098
+ }[] | [string, string] | null | undefined> | undefined;
6427
7099
  originalActionId?: string | undefined;
6428
7100
  }, {
6429
7101
  type: "REJECT_CORRECTION";
6430
7102
  id: string;
6431
7103
  status: "Rejected" | "Requested" | "Accepted";
6432
7104
  transactionId: string;
7105
+ createdByUserType: "system" | "user";
6433
7106
  createdAt: string;
6434
7107
  createdBy: string;
6435
7108
  createdByRole: string;
@@ -6448,6 +7121,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6448
7121
  residentialArea?: string | null | undefined;
6449
7122
  street?: string | null | undefined;
6450
7123
  zipCode?: string | null | undefined;
7124
+ } | {
7125
+ firstname: string;
7126
+ surname: string;
7127
+ middlename?: string | null | undefined;
6451
7128
  } | {
6452
7129
  country: string;
6453
7130
  district: string;
@@ -6470,7 +7147,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6470
7147
  option: string;
6471
7148
  filename: string;
6472
7149
  originalFilename: string;
6473
- }[] | [string, string] | undefined>;
7150
+ }[] | [string, string] | null | undefined>;
6474
7151
  requestId: string;
6475
7152
  createdBySignature?: string | null | undefined;
6476
7153
  createdAtLocation?: string | null | undefined;
@@ -6489,6 +7166,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6489
7166
  residentialArea?: string | null | undefined;
6490
7167
  street?: string | null | undefined;
6491
7168
  zipCode?: string | null | undefined;
7169
+ } | {
7170
+ firstname: string;
7171
+ surname: string;
7172
+ middlename?: string | null | undefined;
6492
7173
  } | {
6493
7174
  country: string;
6494
7175
  district: string;
@@ -6511,11 +7192,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6511
7192
  option: string;
6512
7193
  filename: string;
6513
7194
  originalFilename: string;
6514
- }[] | [string, string] | undefined> | undefined;
7195
+ }[] | [string, string] | null | undefined> | undefined;
6515
7196
  originalActionId?: string | undefined;
6516
7197
  }>, z.ZodObject<z.objectUtil.extendShape<{
6517
7198
  id: z.ZodString;
6518
7199
  transactionId: z.ZodString;
7200
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6519
7201
  createdAt: z.ZodString;
6520
7202
  createdBy: z.ZodString;
6521
7203
  createdByRole: z.ZodString;
@@ -6634,7 +7316,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6634
7316
  addressLine2?: string | null | undefined;
6635
7317
  addressLine3?: string | null | undefined;
6636
7318
  postcodeOrZip?: string | null | undefined;
6637
- }>]>>;
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]>]>>;
6638
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<{
6639
7333
  filename: z.ZodString;
6640
7334
  originalFilename: z.ZodString;
@@ -6748,7 +7442,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6748
7442
  addressLine2?: string | null | undefined;
6749
7443
  addressLine3?: string | null | undefined;
6750
7444
  postcodeOrZip?: string | null | undefined;
6751
- }>]>>>;
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]>]>>>;
6752
7458
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6753
7459
  originalActionId: z.ZodOptional<z.ZodString>;
6754
7460
  }, {
@@ -6759,6 +7465,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6759
7465
  id: string;
6760
7466
  status: "Rejected" | "Requested" | "Accepted";
6761
7467
  transactionId: string;
7468
+ createdByUserType: "system" | "user";
6762
7469
  createdAt: string;
6763
7470
  createdBy: string;
6764
7471
  createdByRole: string;
@@ -6777,6 +7484,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6777
7484
  residentialArea?: string | null | undefined;
6778
7485
  street?: string | null | undefined;
6779
7486
  zipCode?: string | null | undefined;
7487
+ } | {
7488
+ firstname: string;
7489
+ surname: string;
7490
+ middlename?: string | null | undefined;
6780
7491
  } | {
6781
7492
  country: string;
6782
7493
  district: string;
@@ -6799,7 +7510,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6799
7510
  option: string;
6800
7511
  filename: string;
6801
7512
  originalFilename: string;
6802
- }[] | [string, string] | undefined>;
7513
+ }[] | [string, string] | null | undefined>;
6803
7514
  assignedTo: null;
6804
7515
  createdBySignature?: string | null | undefined;
6805
7516
  createdAtLocation?: string | null | undefined;
@@ -6818,6 +7529,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6818
7529
  residentialArea?: string | null | undefined;
6819
7530
  street?: string | null | undefined;
6820
7531
  zipCode?: string | null | undefined;
7532
+ } | {
7533
+ firstname: string;
7534
+ surname: string;
7535
+ middlename?: string | null | undefined;
6821
7536
  } | {
6822
7537
  country: string;
6823
7538
  district: string;
@@ -6840,13 +7555,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6840
7555
  option: string;
6841
7556
  filename: string;
6842
7557
  originalFilename: string;
6843
- }[] | [string, string] | undefined> | undefined;
7558
+ }[] | [string, string] | null | undefined> | undefined;
6844
7559
  originalActionId?: string | undefined;
6845
7560
  }, {
6846
7561
  type: "UNASSIGN";
6847
7562
  id: string;
6848
7563
  status: "Rejected" | "Requested" | "Accepted";
6849
7564
  transactionId: string;
7565
+ createdByUserType: "system" | "user";
6850
7566
  createdAt: string;
6851
7567
  createdBy: string;
6852
7568
  createdByRole: string;
@@ -6865,6 +7581,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6865
7581
  residentialArea?: string | null | undefined;
6866
7582
  street?: string | null | undefined;
6867
7583
  zipCode?: string | null | undefined;
7584
+ } | {
7585
+ firstname: string;
7586
+ surname: string;
7587
+ middlename?: string | null | undefined;
6868
7588
  } | {
6869
7589
  country: string;
6870
7590
  district: string;
@@ -6887,7 +7607,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6887
7607
  option: string;
6888
7608
  filename: string;
6889
7609
  originalFilename: string;
6890
- }[] | [string, string] | undefined>;
7610
+ }[] | [string, string] | null | undefined>;
6891
7611
  assignedTo: null;
6892
7612
  createdBySignature?: string | null | undefined;
6893
7613
  createdAtLocation?: string | null | undefined;
@@ -6906,6 +7626,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6906
7626
  residentialArea?: string | null | undefined;
6907
7627
  street?: string | null | undefined;
6908
7628
  zipCode?: string | null | undefined;
7629
+ } | {
7630
+ firstname: string;
7631
+ surname: string;
7632
+ middlename?: string | null | undefined;
6909
7633
  } | {
6910
7634
  country: string;
6911
7635
  district: string;
@@ -6928,11 +7652,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6928
7652
  option: string;
6929
7653
  filename: string;
6930
7654
  originalFilename: string;
6931
- }[] | [string, string] | undefined> | undefined;
7655
+ }[] | [string, string] | null | undefined> | undefined;
6932
7656
  originalActionId?: string | undefined;
6933
7657
  }>, z.ZodObject<z.objectUtil.extendShape<{
6934
7658
  id: z.ZodString;
6935
7659
  transactionId: z.ZodString;
7660
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6936
7661
  createdAt: z.ZodString;
6937
7662
  createdBy: z.ZodString;
6938
7663
  createdByRole: z.ZodString;
@@ -7051,7 +7776,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7051
7776
  addressLine2?: string | null | undefined;
7052
7777
  addressLine3?: string | null | undefined;
7053
7778
  postcodeOrZip?: string | null | undefined;
7054
- }>]>>;
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]>]>>;
7055
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<{
7056
7793
  filename: z.ZodString;
7057
7794
  originalFilename: z.ZodString;
@@ -7165,7 +7902,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7165
7902
  addressLine2?: string | null | undefined;
7166
7903
  addressLine3?: string | null | undefined;
7167
7904
  postcodeOrZip?: string | null | undefined;
7168
- }>]>>>;
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]>]>>>;
7169
7918
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7170
7919
  originalActionId: z.ZodOptional<z.ZodString>;
7171
7920
  }, {
@@ -7175,6 +7924,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7175
7924
  id: string;
7176
7925
  status: "Rejected" | "Requested" | "Accepted";
7177
7926
  transactionId: string;
7927
+ createdByUserType: "system" | "user";
7178
7928
  createdAt: string;
7179
7929
  createdBy: string;
7180
7930
  createdByRole: string;
@@ -7193,6 +7943,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7193
7943
  residentialArea?: string | null | undefined;
7194
7944
  street?: string | null | undefined;
7195
7945
  zipCode?: string | null | undefined;
7946
+ } | {
7947
+ firstname: string;
7948
+ surname: string;
7949
+ middlename?: string | null | undefined;
7196
7950
  } | {
7197
7951
  country: string;
7198
7952
  district: string;
@@ -7215,7 +7969,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7215
7969
  option: string;
7216
7970
  filename: string;
7217
7971
  originalFilename: string;
7218
- }[] | [string, string] | undefined>;
7972
+ }[] | [string, string] | null | undefined>;
7219
7973
  createdBySignature?: string | null | undefined;
7220
7974
  createdAtLocation?: string | null | undefined;
7221
7975
  annotation?: Record<string, string | number | boolean | {
@@ -7233,6 +7987,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7233
7987
  residentialArea?: string | null | undefined;
7234
7988
  street?: string | null | undefined;
7235
7989
  zipCode?: string | null | undefined;
7990
+ } | {
7991
+ firstname: string;
7992
+ surname: string;
7993
+ middlename?: string | null | undefined;
7236
7994
  } | {
7237
7995
  country: string;
7238
7996
  district: string;
@@ -7255,13 +8013,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7255
8013
  option: string;
7256
8014
  filename: string;
7257
8015
  originalFilename: string;
7258
- }[] | [string, string] | undefined> | undefined;
8016
+ }[] | [string, string] | null | undefined> | undefined;
7259
8017
  originalActionId?: string | undefined;
7260
8018
  }, {
7261
8019
  type: "PRINT_CERTIFICATE";
7262
8020
  id: string;
7263
8021
  status: "Rejected" | "Requested" | "Accepted";
7264
8022
  transactionId: string;
8023
+ createdByUserType: "system" | "user";
7265
8024
  createdAt: string;
7266
8025
  createdBy: string;
7267
8026
  createdByRole: string;
@@ -7280,6 +8039,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7280
8039
  residentialArea?: string | null | undefined;
7281
8040
  street?: string | null | undefined;
7282
8041
  zipCode?: string | null | undefined;
8042
+ } | {
8043
+ firstname: string;
8044
+ surname: string;
8045
+ middlename?: string | null | undefined;
7283
8046
  } | {
7284
8047
  country: string;
7285
8048
  district: string;
@@ -7302,7 +8065,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7302
8065
  option: string;
7303
8066
  filename: string;
7304
8067
  originalFilename: string;
7305
- }[] | [string, string] | undefined>;
8068
+ }[] | [string, string] | null | undefined>;
7306
8069
  createdBySignature?: string | null | undefined;
7307
8070
  createdAtLocation?: string | null | undefined;
7308
8071
  annotation?: Record<string, string | number | boolean | {
@@ -7320,6 +8083,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7320
8083
  residentialArea?: string | null | undefined;
7321
8084
  street?: string | null | undefined;
7322
8085
  zipCode?: string | null | undefined;
8086
+ } | {
8087
+ firstname: string;
8088
+ surname: string;
8089
+ middlename?: string | null | undefined;
7323
8090
  } | {
7324
8091
  country: string;
7325
8092
  district: string;
@@ -7342,11 +8109,12 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7342
8109
  option: string;
7343
8110
  filename: string;
7344
8111
  originalFilename: string;
7345
- }[] | [string, string] | undefined> | undefined;
8112
+ }[] | [string, string] | null | undefined> | undefined;
7346
8113
  originalActionId?: string | undefined;
7347
8114
  }>, z.ZodObject<z.objectUtil.extendShape<{
7348
8115
  id: z.ZodString;
7349
8116
  transactionId: z.ZodString;
8117
+ createdByUserType: z.ZodEnum<["user", "system"]>;
7350
8118
  createdAt: z.ZodString;
7351
8119
  createdBy: z.ZodString;
7352
8120
  createdByRole: z.ZodString;
@@ -7465,7 +8233,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7465
8233
  addressLine2?: string | null | undefined;
7466
8234
  addressLine3?: string | null | undefined;
7467
8235
  postcodeOrZip?: string | null | undefined;
7468
- }>]>>;
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]>]>>;
7469
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<{
7470
8250
  filename: z.ZodString;
7471
8251
  originalFilename: z.ZodString;
@@ -7579,7 +8359,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7579
8359
  addressLine2?: string | null | undefined;
7580
8360
  addressLine3?: string | null | undefined;
7581
8361
  postcodeOrZip?: string | null | undefined;
7582
- }>]>>>;
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]>]>>>;
7583
8375
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7584
8376
  originalActionId: z.ZodOptional<z.ZodString>;
7585
8377
  }, {
@@ -7589,6 +8381,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7589
8381
  id: string;
7590
8382
  status: "Rejected" | "Requested" | "Accepted";
7591
8383
  transactionId: string;
8384
+ createdByUserType: "system" | "user";
7592
8385
  createdAt: string;
7593
8386
  createdBy: string;
7594
8387
  createdByRole: string;
@@ -7607,6 +8400,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7607
8400
  residentialArea?: string | null | undefined;
7608
8401
  street?: string | null | undefined;
7609
8402
  zipCode?: string | null | undefined;
8403
+ } | {
8404
+ firstname: string;
8405
+ surname: string;
8406
+ middlename?: string | null | undefined;
7610
8407
  } | {
7611
8408
  country: string;
7612
8409
  district: string;
@@ -7629,7 +8426,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7629
8426
  option: string;
7630
8427
  filename: string;
7631
8428
  originalFilename: string;
7632
- }[] | [string, string] | undefined>;
8429
+ }[] | [string, string] | null | undefined>;
7633
8430
  createdBySignature?: string | null | undefined;
7634
8431
  createdAtLocation?: string | null | undefined;
7635
8432
  annotation?: Record<string, string | number | boolean | {
@@ -7647,6 +8444,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7647
8444
  residentialArea?: string | null | undefined;
7648
8445
  street?: string | null | undefined;
7649
8446
  zipCode?: string | null | undefined;
8447
+ } | {
8448
+ firstname: string;
8449
+ surname: string;
8450
+ middlename?: string | null | undefined;
7650
8451
  } | {
7651
8452
  country: string;
7652
8453
  district: string;
@@ -7669,13 +8470,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7669
8470
  option: string;
7670
8471
  filename: string;
7671
8472
  originalFilename: string;
7672
- }[] | [string, string] | undefined> | undefined;
8473
+ }[] | [string, string] | null | undefined> | undefined;
7673
8474
  originalActionId?: string | undefined;
7674
8475
  }, {
7675
8476
  type: "READ";
7676
8477
  id: string;
7677
8478
  status: "Rejected" | "Requested" | "Accepted";
7678
8479
  transactionId: string;
8480
+ createdByUserType: "system" | "user";
7679
8481
  createdAt: string;
7680
8482
  createdBy: string;
7681
8483
  createdByRole: string;
@@ -7694,6 +8496,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7694
8496
  residentialArea?: string | null | undefined;
7695
8497
  street?: string | null | undefined;
7696
8498
  zipCode?: string | null | undefined;
8499
+ } | {
8500
+ firstname: string;
8501
+ surname: string;
8502
+ middlename?: string | null | undefined;
7697
8503
  } | {
7698
8504
  country: string;
7699
8505
  district: string;
@@ -7716,7 +8522,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7716
8522
  option: string;
7717
8523
  filename: string;
7718
8524
  originalFilename: string;
7719
- }[] | [string, string] | undefined>;
8525
+ }[] | [string, string] | null | undefined>;
7720
8526
  createdBySignature?: string | null | undefined;
7721
8527
  createdAtLocation?: string | null | undefined;
7722
8528
  annotation?: Record<string, string | number | boolean | {
@@ -7734,6 +8540,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7734
8540
  residentialArea?: string | null | undefined;
7735
8541
  street?: string | null | undefined;
7736
8542
  zipCode?: string | null | undefined;
8543
+ } | {
8544
+ firstname: string;
8545
+ surname: string;
8546
+ middlename?: string | null | undefined;
7737
8547
  } | {
7738
8548
  country: string;
7739
8549
  district: string;
@@ -7756,13 +8566,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7756
8566
  option: string;
7757
8567
  filename: string;
7758
8568
  originalFilename: string;
7759
- }[] | [string, string] | undefined> | undefined;
8569
+ }[] | [string, string] | null | undefined> | undefined;
7760
8570
  originalActionId?: string | undefined;
7761
8571
  }>]>;
7762
8572
  export type ActionDocument = z.infer<typeof ActionDocument>;
7763
8573
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
7764
8574
  id: z.ZodString;
7765
8575
  transactionId: z.ZodString;
8576
+ createdByUserType: z.ZodEnum<["user", "system"]>;
7766
8577
  createdAt: z.ZodString;
7767
8578
  createdBy: z.ZodString;
7768
8579
  createdByRole: z.ZodString;
@@ -7881,7 +8692,19 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7881
8692
  addressLine2?: string | null | undefined;
7882
8693
  addressLine3?: string | null | undefined;
7883
8694
  postcodeOrZip?: string | null | undefined;
7884
- }>]>>;
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]>]>>;
7885
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<{
7886
8709
  filename: z.ZodString;
7887
8710
  originalFilename: z.ZodString;
@@ -7995,7 +8818,19 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7995
8818
  addressLine2?: string | null | undefined;
7996
8819
  addressLine3?: string | null | undefined;
7997
8820
  postcodeOrZip?: string | null | undefined;
7998
- }>]>>>;
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]>]>>>;
7999
8834
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8000
8835
  originalActionId: z.ZodOptional<z.ZodString>;
8001
8836
  }, "declaration" | "annotation">, {
@@ -8006,6 +8841,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8006
8841
  id: string;
8007
8842
  status: "Rejected";
8008
8843
  transactionId: string;
8844
+ createdByUserType: "system" | "user";
8009
8845
  createdAt: string;
8010
8846
  createdBy: string;
8011
8847
  createdByRole: string;
@@ -8017,6 +8853,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8017
8853
  id: string;
8018
8854
  status: "Rejected";
8019
8855
  transactionId: string;
8856
+ createdByUserType: "system" | "user";
8020
8857
  createdAt: string;
8021
8858
  createdBy: string;
8022
8859
  createdByRole: string;
@@ -8028,6 +8865,7 @@ export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument
8028
8865
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8029
8866
  id: z.ZodString;
8030
8867
  transactionId: z.ZodString;
8868
+ createdByUserType: z.ZodEnum<["user", "system"]>;
8031
8869
  createdAt: z.ZodString;
8032
8870
  createdBy: z.ZodString;
8033
8871
  createdByRole: z.ZodString;
@@ -8146,7 +8984,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8146
8984
  addressLine2?: string | null | undefined;
8147
8985
  addressLine3?: string | null | undefined;
8148
8986
  postcodeOrZip?: string | null | undefined;
8149
- }>]>>;
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]>]>>;
8150
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<{
8151
9001
  filename: z.ZodString;
8152
9002
  originalFilename: z.ZodString;
@@ -8260,7 +9110,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8260
9110
  addressLine2?: string | null | undefined;
8261
9111
  addressLine3?: string | null | undefined;
8262
9112
  postcodeOrZip?: string | null | undefined;
8263
- }>]>>>;
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]>]>>>;
8264
9126
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8265
9127
  originalActionId: z.ZodOptional<z.ZodString>;
8266
9128
  }, {
@@ -8270,6 +9132,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8270
9132
  id: string;
8271
9133
  status: "Rejected" | "Requested" | "Accepted";
8272
9134
  transactionId: string;
9135
+ createdByUserType: "system" | "user";
8273
9136
  createdAt: string;
8274
9137
  createdBy: string;
8275
9138
  createdByRole: string;
@@ -8288,6 +9151,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8288
9151
  residentialArea?: string | null | undefined;
8289
9152
  street?: string | null | undefined;
8290
9153
  zipCode?: string | null | undefined;
9154
+ } | {
9155
+ firstname: string;
9156
+ surname: string;
9157
+ middlename?: string | null | undefined;
8291
9158
  } | {
8292
9159
  country: string;
8293
9160
  district: string;
@@ -8310,7 +9177,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8310
9177
  option: string;
8311
9178
  filename: string;
8312
9179
  originalFilename: string;
8313
- }[] | [string, string] | undefined>;
9180
+ }[] | [string, string] | null | undefined>;
8314
9181
  createdBySignature?: string | null | undefined;
8315
9182
  createdAtLocation?: string | null | undefined;
8316
9183
  annotation?: Record<string, string | number | boolean | {
@@ -8328,6 +9195,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8328
9195
  residentialArea?: string | null | undefined;
8329
9196
  street?: string | null | undefined;
8330
9197
  zipCode?: string | null | undefined;
9198
+ } | {
9199
+ firstname: string;
9200
+ surname: string;
9201
+ middlename?: string | null | undefined;
8331
9202
  } | {
8332
9203
  country: string;
8333
9204
  district: string;
@@ -8350,13 +9221,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8350
9221
  option: string;
8351
9222
  filename: string;
8352
9223
  originalFilename: string;
8353
- }[] | [string, string] | undefined> | undefined;
9224
+ }[] | [string, string] | null | undefined> | undefined;
8354
9225
  originalActionId?: string | undefined;
8355
9226
  }, {
8356
9227
  type: "CREATE";
8357
9228
  id: string;
8358
9229
  status: "Rejected" | "Requested" | "Accepted";
8359
9230
  transactionId: string;
9231
+ createdByUserType: "system" | "user";
8360
9232
  createdAt: string;
8361
9233
  createdBy: string;
8362
9234
  createdByRole: string;
@@ -8375,6 +9247,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8375
9247
  residentialArea?: string | null | undefined;
8376
9248
  street?: string | null | undefined;
8377
9249
  zipCode?: string | null | undefined;
9250
+ } | {
9251
+ firstname: string;
9252
+ surname: string;
9253
+ middlename?: string | null | undefined;
8378
9254
  } | {
8379
9255
  country: string;
8380
9256
  district: string;
@@ -8397,7 +9273,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8397
9273
  option: string;
8398
9274
  filename: string;
8399
9275
  originalFilename: string;
8400
- }[] | [string, string] | undefined>;
9276
+ }[] | [string, string] | null | undefined>;
8401
9277
  createdBySignature?: string | null | undefined;
8402
9278
  createdAtLocation?: string | null | undefined;
8403
9279
  annotation?: Record<string, string | number | boolean | {
@@ -8415,6 +9291,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8415
9291
  residentialArea?: string | null | undefined;
8416
9292
  street?: string | null | undefined;
8417
9293
  zipCode?: string | null | undefined;
9294
+ } | {
9295
+ firstname: string;
9296
+ surname: string;
9297
+ middlename?: string | null | undefined;
8418
9298
  } | {
8419
9299
  country: string;
8420
9300
  district: string;
@@ -8437,11 +9317,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8437
9317
  option: string;
8438
9318
  filename: string;
8439
9319
  originalFilename: string;
8440
- }[] | [string, string] | undefined> | undefined;
9320
+ }[] | [string, string] | null | undefined> | undefined;
8441
9321
  originalActionId?: string | undefined;
8442
9322
  }>, z.ZodObject<z.objectUtil.extendShape<{
8443
9323
  id: z.ZodString;
8444
9324
  transactionId: z.ZodString;
9325
+ createdByUserType: z.ZodEnum<["user", "system"]>;
8445
9326
  createdAt: z.ZodString;
8446
9327
  createdBy: z.ZodString;
8447
9328
  createdByRole: z.ZodString;
@@ -8560,7 +9441,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8560
9441
  addressLine2?: string | null | undefined;
8561
9442
  addressLine3?: string | null | undefined;
8562
9443
  postcodeOrZip?: string | null | undefined;
8563
- }>]>>;
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]>]>>;
8564
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<{
8565
9458
  filename: z.ZodString;
8566
9459
  originalFilename: z.ZodString;
@@ -8674,7 +9567,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8674
9567
  addressLine2?: string | null | undefined;
8675
9568
  addressLine3?: string | null | undefined;
8676
9569
  postcodeOrZip?: string | null | undefined;
8677
- }>]>>>;
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]>]>>>;
8678
9583
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8679
9584
  originalActionId: z.ZodOptional<z.ZodString>;
8680
9585
  }, {
@@ -8684,6 +9589,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8684
9589
  id: string;
8685
9590
  status: "Rejected" | "Requested" | "Accepted";
8686
9591
  transactionId: string;
9592
+ createdByUserType: "system" | "user";
8687
9593
  createdAt: string;
8688
9594
  createdBy: string;
8689
9595
  createdByRole: string;
@@ -8702,6 +9608,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8702
9608
  residentialArea?: string | null | undefined;
8703
9609
  street?: string | null | undefined;
8704
9610
  zipCode?: string | null | undefined;
9611
+ } | {
9612
+ firstname: string;
9613
+ surname: string;
9614
+ middlename?: string | null | undefined;
8705
9615
  } | {
8706
9616
  country: string;
8707
9617
  district: string;
@@ -8724,7 +9634,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8724
9634
  option: string;
8725
9635
  filename: string;
8726
9636
  originalFilename: string;
8727
- }[] | [string, string] | undefined>;
9637
+ }[] | [string, string] | null | undefined>;
8728
9638
  createdBySignature?: string | null | undefined;
8729
9639
  createdAtLocation?: string | null | undefined;
8730
9640
  annotation?: Record<string, string | number | boolean | {
@@ -8742,6 +9652,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8742
9652
  residentialArea?: string | null | undefined;
8743
9653
  street?: string | null | undefined;
8744
9654
  zipCode?: string | null | undefined;
9655
+ } | {
9656
+ firstname: string;
9657
+ surname: string;
9658
+ middlename?: string | null | undefined;
8745
9659
  } | {
8746
9660
  country: string;
8747
9661
  district: string;
@@ -8764,13 +9678,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8764
9678
  option: string;
8765
9679
  filename: string;
8766
9680
  originalFilename: string;
8767
- }[] | [string, string] | undefined> | undefined;
9681
+ }[] | [string, string] | null | undefined> | undefined;
8768
9682
  originalActionId?: string | undefined;
8769
9683
  }, {
8770
9684
  type: "VALIDATE";
8771
9685
  id: string;
8772
9686
  status: "Rejected" | "Requested" | "Accepted";
8773
9687
  transactionId: string;
9688
+ createdByUserType: "system" | "user";
8774
9689
  createdAt: string;
8775
9690
  createdBy: string;
8776
9691
  createdByRole: string;
@@ -8789,6 +9704,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8789
9704
  residentialArea?: string | null | undefined;
8790
9705
  street?: string | null | undefined;
8791
9706
  zipCode?: string | null | undefined;
9707
+ } | {
9708
+ firstname: string;
9709
+ surname: string;
9710
+ middlename?: string | null | undefined;
8792
9711
  } | {
8793
9712
  country: string;
8794
9713
  district: string;
@@ -8811,7 +9730,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8811
9730
  option: string;
8812
9731
  filename: string;
8813
9732
  originalFilename: string;
8814
- }[] | [string, string] | undefined>;
9733
+ }[] | [string, string] | null | undefined>;
8815
9734
  createdBySignature?: string | null | undefined;
8816
9735
  createdAtLocation?: string | null | undefined;
8817
9736
  annotation?: Record<string, string | number | boolean | {
@@ -8829,6 +9748,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8829
9748
  residentialArea?: string | null | undefined;
8830
9749
  street?: string | null | undefined;
8831
9750
  zipCode?: string | null | undefined;
9751
+ } | {
9752
+ firstname: string;
9753
+ surname: string;
9754
+ middlename?: string | null | undefined;
8832
9755
  } | {
8833
9756
  country: string;
8834
9757
  district: string;
@@ -8851,11 +9774,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8851
9774
  option: string;
8852
9775
  filename: string;
8853
9776
  originalFilename: string;
8854
- }[] | [string, string] | undefined> | undefined;
9777
+ }[] | [string, string] | null | undefined> | undefined;
8855
9778
  originalActionId?: string | undefined;
8856
9779
  }>, z.ZodObject<z.objectUtil.extendShape<{
8857
9780
  id: z.ZodString;
8858
9781
  transactionId: z.ZodString;
9782
+ createdByUserType: z.ZodEnum<["user", "system"]>;
8859
9783
  createdAt: z.ZodString;
8860
9784
  createdBy: z.ZodString;
8861
9785
  createdByRole: z.ZodString;
@@ -8974,7 +9898,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8974
9898
  addressLine2?: string | null | undefined;
8975
9899
  addressLine3?: string | null | undefined;
8976
9900
  postcodeOrZip?: string | null | undefined;
8977
- }>]>>;
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]>]>>;
8978
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<{
8979
9915
  filename: z.ZodString;
8980
9916
  originalFilename: z.ZodString;
@@ -9088,7 +10024,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9088
10024
  addressLine2?: string | null | undefined;
9089
10025
  addressLine3?: string | null | undefined;
9090
10026
  postcodeOrZip?: string | null | undefined;
9091
- }>]>>>;
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]>]>>>;
9092
10040
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9093
10041
  originalActionId: z.ZodOptional<z.ZodString>;
9094
10042
  }, {
@@ -9112,6 +10060,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9112
10060
  isDuplicate?: boolean | undefined;
9113
10061
  };
9114
10062
  transactionId: string;
10063
+ createdByUserType: "system" | "user";
9115
10064
  createdAt: string;
9116
10065
  createdBy: string;
9117
10066
  createdByRole: string;
@@ -9130,6 +10079,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9130
10079
  residentialArea?: string | null | undefined;
9131
10080
  street?: string | null | undefined;
9132
10081
  zipCode?: string | null | undefined;
10082
+ } | {
10083
+ firstname: string;
10084
+ surname: string;
10085
+ middlename?: string | null | undefined;
9133
10086
  } | {
9134
10087
  country: string;
9135
10088
  district: string;
@@ -9152,7 +10105,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9152
10105
  option: string;
9153
10106
  filename: string;
9154
10107
  originalFilename: string;
9155
- }[] | [string, string] | undefined>;
10108
+ }[] | [string, string] | null | undefined>;
9156
10109
  createdBySignature?: string | null | undefined;
9157
10110
  createdAtLocation?: string | null | undefined;
9158
10111
  annotation?: Record<string, string | number | boolean | {
@@ -9170,6 +10123,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9170
10123
  residentialArea?: string | null | undefined;
9171
10124
  street?: string | null | undefined;
9172
10125
  zipCode?: string | null | undefined;
10126
+ } | {
10127
+ firstname: string;
10128
+ surname: string;
10129
+ middlename?: string | null | undefined;
9173
10130
  } | {
9174
10131
  country: string;
9175
10132
  district: string;
@@ -9192,7 +10149,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9192
10149
  option: string;
9193
10150
  filename: string;
9194
10151
  originalFilename: string;
9195
- }[] | [string, string] | undefined> | undefined;
10152
+ }[] | [string, string] | null | undefined> | undefined;
9196
10153
  originalActionId?: string | undefined;
9197
10154
  }, {
9198
10155
  type: "REJECT";
@@ -9203,6 +10160,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9203
10160
  isDuplicate?: boolean | undefined;
9204
10161
  };
9205
10162
  transactionId: string;
10163
+ createdByUserType: "system" | "user";
9206
10164
  createdAt: string;
9207
10165
  createdBy: string;
9208
10166
  createdByRole: string;
@@ -9221,6 +10179,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9221
10179
  residentialArea?: string | null | undefined;
9222
10180
  street?: string | null | undefined;
9223
10181
  zipCode?: string | null | undefined;
10182
+ } | {
10183
+ firstname: string;
10184
+ surname: string;
10185
+ middlename?: string | null | undefined;
9224
10186
  } | {
9225
10187
  country: string;
9226
10188
  district: string;
@@ -9243,7 +10205,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9243
10205
  option: string;
9244
10206
  filename: string;
9245
10207
  originalFilename: string;
9246
- }[] | [string, string] | undefined>;
10208
+ }[] | [string, string] | null | undefined>;
9247
10209
  createdBySignature?: string | null | undefined;
9248
10210
  createdAtLocation?: string | null | undefined;
9249
10211
  annotation?: Record<string, string | number | boolean | {
@@ -9261,6 +10223,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9261
10223
  residentialArea?: string | null | undefined;
9262
10224
  street?: string | null | undefined;
9263
10225
  zipCode?: string | null | undefined;
10226
+ } | {
10227
+ firstname: string;
10228
+ surname: string;
10229
+ middlename?: string | null | undefined;
9264
10230
  } | {
9265
10231
  country: string;
9266
10232
  district: string;
@@ -9283,11 +10249,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9283
10249
  option: string;
9284
10250
  filename: string;
9285
10251
  originalFilename: string;
9286
- }[] | [string, string] | undefined> | undefined;
10252
+ }[] | [string, string] | null | undefined> | undefined;
9287
10253
  originalActionId?: string | undefined;
9288
10254
  }>, z.ZodObject<z.objectUtil.extendShape<{
9289
10255
  id: z.ZodString;
9290
10256
  transactionId: z.ZodString;
10257
+ createdByUserType: z.ZodEnum<["user", "system"]>;
9291
10258
  createdAt: z.ZodString;
9292
10259
  createdBy: z.ZodString;
9293
10260
  createdByRole: z.ZodString;
@@ -9406,7 +10373,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9406
10373
  addressLine2?: string | null | undefined;
9407
10374
  addressLine3?: string | null | undefined;
9408
10375
  postcodeOrZip?: string | null | undefined;
9409
- }>]>>;
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]>]>>;
9410
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<{
9411
10390
  filename: z.ZodString;
9412
10391
  originalFilename: z.ZodString;
@@ -9520,7 +10499,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9520
10499
  addressLine2?: string | null | undefined;
9521
10500
  addressLine3?: string | null | undefined;
9522
10501
  postcodeOrZip?: string | null | undefined;
9523
- }>]>>>;
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]>]>>>;
9524
10515
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9525
10516
  originalActionId: z.ZodOptional<z.ZodString>;
9526
10517
  }, {
@@ -9530,6 +10521,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9530
10521
  id: string;
9531
10522
  status: "Rejected" | "Requested" | "Accepted";
9532
10523
  transactionId: string;
10524
+ createdByUserType: "system" | "user";
9533
10525
  createdAt: string;
9534
10526
  createdBy: string;
9535
10527
  createdByRole: string;
@@ -9548,6 +10540,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9548
10540
  residentialArea?: string | null | undefined;
9549
10541
  street?: string | null | undefined;
9550
10542
  zipCode?: string | null | undefined;
10543
+ } | {
10544
+ firstname: string;
10545
+ surname: string;
10546
+ middlename?: string | null | undefined;
9551
10547
  } | {
9552
10548
  country: string;
9553
10549
  district: string;
@@ -9570,7 +10566,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9570
10566
  option: string;
9571
10567
  filename: string;
9572
10568
  originalFilename: string;
9573
- }[] | [string, string] | undefined>;
10569
+ }[] | [string, string] | null | undefined>;
9574
10570
  createdBySignature?: string | null | undefined;
9575
10571
  createdAtLocation?: string | null | undefined;
9576
10572
  annotation?: Record<string, string | number | boolean | {
@@ -9588,6 +10584,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9588
10584
  residentialArea?: string | null | undefined;
9589
10585
  street?: string | null | undefined;
9590
10586
  zipCode?: string | null | undefined;
10587
+ } | {
10588
+ firstname: string;
10589
+ surname: string;
10590
+ middlename?: string | null | undefined;
9591
10591
  } | {
9592
10592
  country: string;
9593
10593
  district: string;
@@ -9610,13 +10610,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9610
10610
  option: string;
9611
10611
  filename: string;
9612
10612
  originalFilename: string;
9613
- }[] | [string, string] | undefined> | undefined;
10613
+ }[] | [string, string] | null | undefined> | undefined;
9614
10614
  originalActionId?: string | undefined;
9615
10615
  }, {
9616
10616
  type: "MARKED_AS_DUPLICATE";
9617
10617
  id: string;
9618
10618
  status: "Rejected" | "Requested" | "Accepted";
9619
10619
  transactionId: string;
10620
+ createdByUserType: "system" | "user";
9620
10621
  createdAt: string;
9621
10622
  createdBy: string;
9622
10623
  createdByRole: string;
@@ -9635,6 +10636,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9635
10636
  residentialArea?: string | null | undefined;
9636
10637
  street?: string | null | undefined;
9637
10638
  zipCode?: string | null | undefined;
10639
+ } | {
10640
+ firstname: string;
10641
+ surname: string;
10642
+ middlename?: string | null | undefined;
9638
10643
  } | {
9639
10644
  country: string;
9640
10645
  district: string;
@@ -9657,7 +10662,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9657
10662
  option: string;
9658
10663
  filename: string;
9659
10664
  originalFilename: string;
9660
- }[] | [string, string] | undefined>;
10665
+ }[] | [string, string] | null | undefined>;
9661
10666
  createdBySignature?: string | null | undefined;
9662
10667
  createdAtLocation?: string | null | undefined;
9663
10668
  annotation?: Record<string, string | number | boolean | {
@@ -9675,6 +10680,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9675
10680
  residentialArea?: string | null | undefined;
9676
10681
  street?: string | null | undefined;
9677
10682
  zipCode?: string | null | undefined;
10683
+ } | {
10684
+ firstname: string;
10685
+ surname: string;
10686
+ middlename?: string | null | undefined;
9678
10687
  } | {
9679
10688
  country: string;
9680
10689
  district: string;
@@ -9697,11 +10706,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9697
10706
  option: string;
9698
10707
  filename: string;
9699
10708
  originalFilename: string;
9700
- }[] | [string, string] | undefined> | undefined;
10709
+ }[] | [string, string] | null | undefined> | undefined;
9701
10710
  originalActionId?: string | undefined;
9702
10711
  }>, z.ZodObject<z.objectUtil.extendShape<{
9703
10712
  id: z.ZodString;
9704
10713
  transactionId: z.ZodString;
10714
+ createdByUserType: z.ZodEnum<["user", "system"]>;
9705
10715
  createdAt: z.ZodString;
9706
10716
  createdBy: z.ZodString;
9707
10717
  createdByRole: z.ZodString;
@@ -9820,7 +10830,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9820
10830
  addressLine2?: string | null | undefined;
9821
10831
  addressLine3?: string | null | undefined;
9822
10832
  postcodeOrZip?: string | null | undefined;
9823
- }>]>>;
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]>]>>;
9824
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<{
9825
10847
  filename: z.ZodString;
9826
10848
  originalFilename: z.ZodString;
@@ -9934,7 +10956,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9934
10956
  addressLine2?: string | null | undefined;
9935
10957
  addressLine3?: string | null | undefined;
9936
10958
  postcodeOrZip?: string | null | undefined;
9937
- }>]>>>;
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]>]>>>;
9938
10972
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9939
10973
  originalActionId: z.ZodOptional<z.ZodString>;
9940
10974
  }, {
@@ -9958,6 +10992,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9958
10992
  isDuplicate?: boolean | undefined;
9959
10993
  };
9960
10994
  transactionId: string;
10995
+ createdByUserType: "system" | "user";
9961
10996
  createdAt: string;
9962
10997
  createdBy: string;
9963
10998
  createdByRole: string;
@@ -9976,6 +11011,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9976
11011
  residentialArea?: string | null | undefined;
9977
11012
  street?: string | null | undefined;
9978
11013
  zipCode?: string | null | undefined;
11014
+ } | {
11015
+ firstname: string;
11016
+ surname: string;
11017
+ middlename?: string | null | undefined;
9979
11018
  } | {
9980
11019
  country: string;
9981
11020
  district: string;
@@ -9998,7 +11037,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9998
11037
  option: string;
9999
11038
  filename: string;
10000
11039
  originalFilename: string;
10001
- }[] | [string, string] | undefined>;
11040
+ }[] | [string, string] | null | undefined>;
10002
11041
  createdBySignature?: string | null | undefined;
10003
11042
  createdAtLocation?: string | null | undefined;
10004
11043
  annotation?: Record<string, string | number | boolean | {
@@ -10016,6 +11055,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10016
11055
  residentialArea?: string | null | undefined;
10017
11056
  street?: string | null | undefined;
10018
11057
  zipCode?: string | null | undefined;
11058
+ } | {
11059
+ firstname: string;
11060
+ surname: string;
11061
+ middlename?: string | null | undefined;
10019
11062
  } | {
10020
11063
  country: string;
10021
11064
  district: string;
@@ -10038,7 +11081,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10038
11081
  option: string;
10039
11082
  filename: string;
10040
11083
  originalFilename: string;
10041
- }[] | [string, string] | undefined> | undefined;
11084
+ }[] | [string, string] | null | undefined> | undefined;
10042
11085
  originalActionId?: string | undefined;
10043
11086
  }, {
10044
11087
  type: "ARCHIVE";
@@ -10049,6 +11092,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10049
11092
  isDuplicate?: boolean | undefined;
10050
11093
  };
10051
11094
  transactionId: string;
11095
+ createdByUserType: "system" | "user";
10052
11096
  createdAt: string;
10053
11097
  createdBy: string;
10054
11098
  createdByRole: string;
@@ -10067,6 +11111,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10067
11111
  residentialArea?: string | null | undefined;
10068
11112
  street?: string | null | undefined;
10069
11113
  zipCode?: string | null | undefined;
11114
+ } | {
11115
+ firstname: string;
11116
+ surname: string;
11117
+ middlename?: string | null | undefined;
10070
11118
  } | {
10071
11119
  country: string;
10072
11120
  district: string;
@@ -10089,7 +11137,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10089
11137
  option: string;
10090
11138
  filename: string;
10091
11139
  originalFilename: string;
10092
- }[] | [string, string] | undefined>;
11140
+ }[] | [string, string] | null | undefined>;
10093
11141
  createdBySignature?: string | null | undefined;
10094
11142
  createdAtLocation?: string | null | undefined;
10095
11143
  annotation?: Record<string, string | number | boolean | {
@@ -10107,6 +11155,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10107
11155
  residentialArea?: string | null | undefined;
10108
11156
  street?: string | null | undefined;
10109
11157
  zipCode?: string | null | undefined;
11158
+ } | {
11159
+ firstname: string;
11160
+ surname: string;
11161
+ middlename?: string | null | undefined;
10110
11162
  } | {
10111
11163
  country: string;
10112
11164
  district: string;
@@ -10129,11 +11181,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10129
11181
  option: string;
10130
11182
  filename: string;
10131
11183
  originalFilename: string;
10132
- }[] | [string, string] | undefined> | undefined;
11184
+ }[] | [string, string] | null | undefined> | undefined;
10133
11185
  originalActionId?: string | undefined;
10134
11186
  }>, z.ZodObject<z.objectUtil.extendShape<{
10135
11187
  id: z.ZodString;
10136
11188
  transactionId: z.ZodString;
11189
+ createdByUserType: z.ZodEnum<["user", "system"]>;
10137
11190
  createdAt: z.ZodString;
10138
11191
  createdBy: z.ZodString;
10139
11192
  createdByRole: z.ZodString;
@@ -10252,7 +11305,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10252
11305
  addressLine2?: string | null | undefined;
10253
11306
  addressLine3?: string | null | undefined;
10254
11307
  postcodeOrZip?: string | null | undefined;
10255
- }>]>>;
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]>]>>;
10256
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<{
10257
11322
  filename: z.ZodString;
10258
11323
  originalFilename: z.ZodString;
@@ -10366,7 +11431,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10366
11431
  addressLine2?: string | null | undefined;
10367
11432
  addressLine3?: string | null | undefined;
10368
11433
  postcodeOrZip?: string | null | undefined;
10369
- }>]>>>;
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]>]>>>;
10370
11447
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10371
11448
  originalActionId: z.ZodOptional<z.ZodString>;
10372
11449
  }, {
@@ -10376,6 +11453,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10376
11453
  id: string;
10377
11454
  status: "Rejected" | "Requested" | "Accepted";
10378
11455
  transactionId: string;
11456
+ createdByUserType: "system" | "user";
10379
11457
  createdAt: string;
10380
11458
  createdBy: string;
10381
11459
  createdByRole: string;
@@ -10394,6 +11472,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10394
11472
  residentialArea?: string | null | undefined;
10395
11473
  street?: string | null | undefined;
10396
11474
  zipCode?: string | null | undefined;
11475
+ } | {
11476
+ firstname: string;
11477
+ surname: string;
11478
+ middlename?: string | null | undefined;
10397
11479
  } | {
10398
11480
  country: string;
10399
11481
  district: string;
@@ -10416,7 +11498,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10416
11498
  option: string;
10417
11499
  filename: string;
10418
11500
  originalFilename: string;
10419
- }[] | [string, string] | undefined>;
11501
+ }[] | [string, string] | null | undefined>;
10420
11502
  createdBySignature?: string | null | undefined;
10421
11503
  createdAtLocation?: string | null | undefined;
10422
11504
  annotation?: Record<string, string | number | boolean | {
@@ -10434,6 +11516,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10434
11516
  residentialArea?: string | null | undefined;
10435
11517
  street?: string | null | undefined;
10436
11518
  zipCode?: string | null | undefined;
11519
+ } | {
11520
+ firstname: string;
11521
+ surname: string;
11522
+ middlename?: string | null | undefined;
10437
11523
  } | {
10438
11524
  country: string;
10439
11525
  district: string;
@@ -10456,13 +11542,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10456
11542
  option: string;
10457
11543
  filename: string;
10458
11544
  originalFilename: string;
10459
- }[] | [string, string] | undefined> | undefined;
11545
+ }[] | [string, string] | null | undefined> | undefined;
10460
11546
  originalActionId?: string | undefined;
10461
11547
  }, {
10462
11548
  type: "NOTIFY";
10463
11549
  id: string;
10464
11550
  status: "Rejected" | "Requested" | "Accepted";
10465
11551
  transactionId: string;
11552
+ createdByUserType: "system" | "user";
10466
11553
  createdAt: string;
10467
11554
  createdBy: string;
10468
11555
  createdByRole: string;
@@ -10481,6 +11568,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10481
11568
  residentialArea?: string | null | undefined;
10482
11569
  street?: string | null | undefined;
10483
11570
  zipCode?: string | null | undefined;
11571
+ } | {
11572
+ firstname: string;
11573
+ surname: string;
11574
+ middlename?: string | null | undefined;
10484
11575
  } | {
10485
11576
  country: string;
10486
11577
  district: string;
@@ -10503,7 +11594,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10503
11594
  option: string;
10504
11595
  filename: string;
10505
11596
  originalFilename: string;
10506
- }[] | [string, string] | undefined>;
11597
+ }[] | [string, string] | null | undefined>;
10507
11598
  createdBySignature?: string | null | undefined;
10508
11599
  createdAtLocation?: string | null | undefined;
10509
11600
  annotation?: Record<string, string | number | boolean | {
@@ -10521,6 +11612,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10521
11612
  residentialArea?: string | null | undefined;
10522
11613
  street?: string | null | undefined;
10523
11614
  zipCode?: string | null | undefined;
11615
+ } | {
11616
+ firstname: string;
11617
+ surname: string;
11618
+ middlename?: string | null | undefined;
10524
11619
  } | {
10525
11620
  country: string;
10526
11621
  district: string;
@@ -10543,11 +11638,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10543
11638
  option: string;
10544
11639
  filename: string;
10545
11640
  originalFilename: string;
10546
- }[] | [string, string] | undefined> | undefined;
11641
+ }[] | [string, string] | null | undefined> | undefined;
10547
11642
  originalActionId?: string | undefined;
10548
11643
  }>, z.ZodObject<z.objectUtil.extendShape<{
10549
11644
  id: z.ZodString;
10550
11645
  transactionId: z.ZodString;
11646
+ createdByUserType: z.ZodEnum<["user", "system"]>;
10551
11647
  createdAt: z.ZodString;
10552
11648
  createdBy: z.ZodString;
10553
11649
  createdByRole: z.ZodString;
@@ -10666,7 +11762,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10666
11762
  addressLine2?: string | null | undefined;
10667
11763
  addressLine3?: string | null | undefined;
10668
11764
  postcodeOrZip?: string | null | undefined;
10669
- }>]>>;
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]>]>>;
10670
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<{
10671
11779
  filename: z.ZodString;
10672
11780
  originalFilename: z.ZodString;
@@ -10780,7 +11888,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10780
11888
  addressLine2?: string | null | undefined;
10781
11889
  addressLine3?: string | null | undefined;
10782
11890
  postcodeOrZip?: string | null | undefined;
10783
- }>]>>>;
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]>]>>>;
10784
11904
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10785
11905
  originalActionId: z.ZodOptional<z.ZodString>;
10786
11906
  }, {
@@ -10791,6 +11911,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10791
11911
  id: string;
10792
11912
  status: "Rejected" | "Requested" | "Accepted";
10793
11913
  transactionId: string;
11914
+ createdByUserType: "system" | "user";
10794
11915
  createdAt: string;
10795
11916
  createdBy: string;
10796
11917
  createdByRole: string;
@@ -10809,6 +11930,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10809
11930
  residentialArea?: string | null | undefined;
10810
11931
  street?: string | null | undefined;
10811
11932
  zipCode?: string | null | undefined;
11933
+ } | {
11934
+ firstname: string;
11935
+ surname: string;
11936
+ middlename?: string | null | undefined;
10812
11937
  } | {
10813
11938
  country: string;
10814
11939
  district: string;
@@ -10831,7 +11956,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10831
11956
  option: string;
10832
11957
  filename: string;
10833
11958
  originalFilename: string;
10834
- }[] | [string, string] | undefined>;
11959
+ }[] | [string, string] | null | undefined>;
10835
11960
  createdBySignature?: string | null | undefined;
10836
11961
  createdAtLocation?: string | null | undefined;
10837
11962
  annotation?: Record<string, string | number | boolean | {
@@ -10849,6 +11974,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10849
11974
  residentialArea?: string | null | undefined;
10850
11975
  street?: string | null | undefined;
10851
11976
  zipCode?: string | null | undefined;
11977
+ } | {
11978
+ firstname: string;
11979
+ surname: string;
11980
+ middlename?: string | null | undefined;
10852
11981
  } | {
10853
11982
  country: string;
10854
11983
  district: string;
@@ -10871,7 +12000,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10871
12000
  option: string;
10872
12001
  filename: string;
10873
12002
  originalFilename: string;
10874
- }[] | [string, string] | undefined> | undefined;
12003
+ }[] | [string, string] | null | undefined> | undefined;
10875
12004
  originalActionId?: string | undefined;
10876
12005
  registrationNumber?: string | undefined;
10877
12006
  }, {
@@ -10879,6 +12008,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10879
12008
  id: string;
10880
12009
  status: "Rejected" | "Requested" | "Accepted";
10881
12010
  transactionId: string;
12011
+ createdByUserType: "system" | "user";
10882
12012
  createdAt: string;
10883
12013
  createdBy: string;
10884
12014
  createdByRole: string;
@@ -10897,6 +12027,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10897
12027
  residentialArea?: string | null | undefined;
10898
12028
  street?: string | null | undefined;
10899
12029
  zipCode?: string | null | undefined;
12030
+ } | {
12031
+ firstname: string;
12032
+ surname: string;
12033
+ middlename?: string | null | undefined;
10900
12034
  } | {
10901
12035
  country: string;
10902
12036
  district: string;
@@ -10919,7 +12053,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10919
12053
  option: string;
10920
12054
  filename: string;
10921
12055
  originalFilename: string;
10922
- }[] | [string, string] | undefined>;
12056
+ }[] | [string, string] | null | undefined>;
10923
12057
  createdBySignature?: string | null | undefined;
10924
12058
  createdAtLocation?: string | null | undefined;
10925
12059
  annotation?: Record<string, string | number | boolean | {
@@ -10937,6 +12071,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10937
12071
  residentialArea?: string | null | undefined;
10938
12072
  street?: string | null | undefined;
10939
12073
  zipCode?: string | null | undefined;
12074
+ } | {
12075
+ firstname: string;
12076
+ surname: string;
12077
+ middlename?: string | null | undefined;
10940
12078
  } | {
10941
12079
  country: string;
10942
12080
  district: string;
@@ -10959,12 +12097,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10959
12097
  option: string;
10960
12098
  filename: string;
10961
12099
  originalFilename: string;
10962
- }[] | [string, string] | undefined> | undefined;
12100
+ }[] | [string, string] | null | undefined> | undefined;
10963
12101
  originalActionId?: string | undefined;
10964
12102
  registrationNumber?: string | undefined;
10965
12103
  }>, z.ZodObject<z.objectUtil.extendShape<{
10966
12104
  id: z.ZodString;
10967
12105
  transactionId: z.ZodString;
12106
+ createdByUserType: z.ZodEnum<["user", "system"]>;
10968
12107
  createdAt: z.ZodString;
10969
12108
  createdBy: z.ZodString;
10970
12109
  createdByRole: z.ZodString;
@@ -11083,7 +12222,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11083
12222
  addressLine2?: string | null | undefined;
11084
12223
  addressLine3?: string | null | undefined;
11085
12224
  postcodeOrZip?: string | null | undefined;
11086
- }>]>>;
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]>]>>;
11087
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<{
11088
12239
  filename: z.ZodString;
11089
12240
  originalFilename: z.ZodString;
@@ -11197,7 +12348,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11197
12348
  addressLine2?: string | null | undefined;
11198
12349
  addressLine3?: string | null | undefined;
11199
12350
  postcodeOrZip?: string | null | undefined;
11200
- }>]>>>;
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]>]>>>;
11201
12364
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11202
12365
  originalActionId: z.ZodOptional<z.ZodString>;
11203
12366
  }, {
@@ -11207,6 +12370,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11207
12370
  id: string;
11208
12371
  status: "Rejected" | "Requested" | "Accepted";
11209
12372
  transactionId: string;
12373
+ createdByUserType: "system" | "user";
11210
12374
  createdAt: string;
11211
12375
  createdBy: string;
11212
12376
  createdByRole: string;
@@ -11225,6 +12389,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11225
12389
  residentialArea?: string | null | undefined;
11226
12390
  street?: string | null | undefined;
11227
12391
  zipCode?: string | null | undefined;
12392
+ } | {
12393
+ firstname: string;
12394
+ surname: string;
12395
+ middlename?: string | null | undefined;
11228
12396
  } | {
11229
12397
  country: string;
11230
12398
  district: string;
@@ -11247,7 +12415,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11247
12415
  option: string;
11248
12416
  filename: string;
11249
12417
  originalFilename: string;
11250
- }[] | [string, string] | undefined>;
12418
+ }[] | [string, string] | null | undefined>;
11251
12419
  createdBySignature?: string | null | undefined;
11252
12420
  createdAtLocation?: string | null | undefined;
11253
12421
  annotation?: Record<string, string | number | boolean | {
@@ -11265,6 +12433,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11265
12433
  residentialArea?: string | null | undefined;
11266
12434
  street?: string | null | undefined;
11267
12435
  zipCode?: string | null | undefined;
12436
+ } | {
12437
+ firstname: string;
12438
+ surname: string;
12439
+ middlename?: string | null | undefined;
11268
12440
  } | {
11269
12441
  country: string;
11270
12442
  district: string;
@@ -11287,13 +12459,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11287
12459
  option: string;
11288
12460
  filename: string;
11289
12461
  originalFilename: string;
11290
- }[] | [string, string] | undefined> | undefined;
12462
+ }[] | [string, string] | null | undefined> | undefined;
11291
12463
  originalActionId?: string | undefined;
11292
12464
  }, {
11293
12465
  type: "DECLARE";
11294
12466
  id: string;
11295
12467
  status: "Rejected" | "Requested" | "Accepted";
11296
12468
  transactionId: string;
12469
+ createdByUserType: "system" | "user";
11297
12470
  createdAt: string;
11298
12471
  createdBy: string;
11299
12472
  createdByRole: string;
@@ -11312,6 +12485,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11312
12485
  residentialArea?: string | null | undefined;
11313
12486
  street?: string | null | undefined;
11314
12487
  zipCode?: string | null | undefined;
12488
+ } | {
12489
+ firstname: string;
12490
+ surname: string;
12491
+ middlename?: string | null | undefined;
11315
12492
  } | {
11316
12493
  country: string;
11317
12494
  district: string;
@@ -11334,7 +12511,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11334
12511
  option: string;
11335
12512
  filename: string;
11336
12513
  originalFilename: string;
11337
- }[] | [string, string] | undefined>;
12514
+ }[] | [string, string] | null | undefined>;
11338
12515
  createdBySignature?: string | null | undefined;
11339
12516
  createdAtLocation?: string | null | undefined;
11340
12517
  annotation?: Record<string, string | number | boolean | {
@@ -11352,6 +12529,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11352
12529
  residentialArea?: string | null | undefined;
11353
12530
  street?: string | null | undefined;
11354
12531
  zipCode?: string | null | undefined;
12532
+ } | {
12533
+ firstname: string;
12534
+ surname: string;
12535
+ middlename?: string | null | undefined;
11355
12536
  } | {
11356
12537
  country: string;
11357
12538
  district: string;
@@ -11374,11 +12555,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11374
12555
  option: string;
11375
12556
  filename: string;
11376
12557
  originalFilename: string;
11377
- }[] | [string, string] | undefined> | undefined;
12558
+ }[] | [string, string] | null | undefined> | undefined;
11378
12559
  originalActionId?: string | undefined;
11379
12560
  }>, z.ZodObject<z.objectUtil.extendShape<{
11380
12561
  id: z.ZodString;
11381
12562
  transactionId: z.ZodString;
12563
+ createdByUserType: z.ZodEnum<["user", "system"]>;
11382
12564
  createdAt: z.ZodString;
11383
12565
  createdBy: z.ZodString;
11384
12566
  createdByRole: z.ZodString;
@@ -11497,7 +12679,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11497
12679
  addressLine2?: string | null | undefined;
11498
12680
  addressLine3?: string | null | undefined;
11499
12681
  postcodeOrZip?: string | null | undefined;
11500
- }>]>>;
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]>]>>;
11501
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<{
11502
12696
  filename: z.ZodString;
11503
12697
  originalFilename: z.ZodString;
@@ -11611,7 +12805,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11611
12805
  addressLine2?: string | null | undefined;
11612
12806
  addressLine3?: string | null | undefined;
11613
12807
  postcodeOrZip?: string | null | undefined;
11614
- }>]>>>;
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]>]>>>;
11615
12821
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11616
12822
  originalActionId: z.ZodOptional<z.ZodString>;
11617
12823
  }, {
@@ -11622,6 +12828,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11622
12828
  id: string;
11623
12829
  status: "Rejected" | "Requested" | "Accepted";
11624
12830
  transactionId: string;
12831
+ createdByUserType: "system" | "user";
11625
12832
  createdAt: string;
11626
12833
  createdBy: string;
11627
12834
  createdByRole: string;
@@ -11640,6 +12847,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11640
12847
  residentialArea?: string | null | undefined;
11641
12848
  street?: string | null | undefined;
11642
12849
  zipCode?: string | null | undefined;
12850
+ } | {
12851
+ firstname: string;
12852
+ surname: string;
12853
+ middlename?: string | null | undefined;
11643
12854
  } | {
11644
12855
  country: string;
11645
12856
  district: string;
@@ -11662,7 +12873,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11662
12873
  option: string;
11663
12874
  filename: string;
11664
12875
  originalFilename: string;
11665
- }[] | [string, string] | undefined>;
12876
+ }[] | [string, string] | null | undefined>;
11666
12877
  assignedTo: string;
11667
12878
  createdBySignature?: string | null | undefined;
11668
12879
  createdAtLocation?: string | null | undefined;
@@ -11681,6 +12892,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11681
12892
  residentialArea?: string | null | undefined;
11682
12893
  street?: string | null | undefined;
11683
12894
  zipCode?: string | null | undefined;
12895
+ } | {
12896
+ firstname: string;
12897
+ surname: string;
12898
+ middlename?: string | null | undefined;
11684
12899
  } | {
11685
12900
  country: string;
11686
12901
  district: string;
@@ -11703,13 +12918,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11703
12918
  option: string;
11704
12919
  filename: string;
11705
12920
  originalFilename: string;
11706
- }[] | [string, string] | undefined> | undefined;
12921
+ }[] | [string, string] | null | undefined> | undefined;
11707
12922
  originalActionId?: string | undefined;
11708
12923
  }, {
11709
12924
  type: "ASSIGN";
11710
12925
  id: string;
11711
12926
  status: "Rejected" | "Requested" | "Accepted";
11712
12927
  transactionId: string;
12928
+ createdByUserType: "system" | "user";
11713
12929
  createdAt: string;
11714
12930
  createdBy: string;
11715
12931
  createdByRole: string;
@@ -11728,6 +12944,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11728
12944
  residentialArea?: string | null | undefined;
11729
12945
  street?: string | null | undefined;
11730
12946
  zipCode?: string | null | undefined;
12947
+ } | {
12948
+ firstname: string;
12949
+ surname: string;
12950
+ middlename?: string | null | undefined;
11731
12951
  } | {
11732
12952
  country: string;
11733
12953
  district: string;
@@ -11750,7 +12970,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11750
12970
  option: string;
11751
12971
  filename: string;
11752
12972
  originalFilename: string;
11753
- }[] | [string, string] | undefined>;
12973
+ }[] | [string, string] | null | undefined>;
11754
12974
  assignedTo: string;
11755
12975
  createdBySignature?: string | null | undefined;
11756
12976
  createdAtLocation?: string | null | undefined;
@@ -11769,6 +12989,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11769
12989
  residentialArea?: string | null | undefined;
11770
12990
  street?: string | null | undefined;
11771
12991
  zipCode?: string | null | undefined;
12992
+ } | {
12993
+ firstname: string;
12994
+ surname: string;
12995
+ middlename?: string | null | undefined;
11772
12996
  } | {
11773
12997
  country: string;
11774
12998
  district: string;
@@ -11791,11 +13015,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11791
13015
  option: string;
11792
13016
  filename: string;
11793
13017
  originalFilename: string;
11794
- }[] | [string, string] | undefined> | undefined;
13018
+ }[] | [string, string] | null | undefined> | undefined;
11795
13019
  originalActionId?: string | undefined;
11796
13020
  }>, z.ZodObject<z.objectUtil.extendShape<{
11797
13021
  id: z.ZodString;
11798
13022
  transactionId: z.ZodString;
13023
+ createdByUserType: z.ZodEnum<["user", "system"]>;
11799
13024
  createdAt: z.ZodString;
11800
13025
  createdBy: z.ZodString;
11801
13026
  createdByRole: z.ZodString;
@@ -11914,7 +13139,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11914
13139
  addressLine2?: string | null | undefined;
11915
13140
  addressLine3?: string | null | undefined;
11916
13141
  postcodeOrZip?: string | null | undefined;
11917
- }>]>>;
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]>]>>;
11918
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<{
11919
13156
  filename: z.ZodString;
11920
13157
  originalFilename: z.ZodString;
@@ -12028,7 +13265,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12028
13265
  addressLine2?: string | null | undefined;
12029
13266
  addressLine3?: string | null | undefined;
12030
13267
  postcodeOrZip?: string | null | undefined;
12031
- }>]>>>;
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]>]>>>;
12032
13281
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12033
13282
  originalActionId: z.ZodOptional<z.ZodString>;
12034
13283
  }, {
@@ -12038,6 +13287,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12038
13287
  id: string;
12039
13288
  status: "Rejected" | "Requested" | "Accepted";
12040
13289
  transactionId: string;
13290
+ createdByUserType: "system" | "user";
12041
13291
  createdAt: string;
12042
13292
  createdBy: string;
12043
13293
  createdByRole: string;
@@ -12056,6 +13306,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12056
13306
  residentialArea?: string | null | undefined;
12057
13307
  street?: string | null | undefined;
12058
13308
  zipCode?: string | null | undefined;
13309
+ } | {
13310
+ firstname: string;
13311
+ surname: string;
13312
+ middlename?: string | null | undefined;
12059
13313
  } | {
12060
13314
  country: string;
12061
13315
  district: string;
@@ -12078,7 +13332,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12078
13332
  option: string;
12079
13333
  filename: string;
12080
13334
  originalFilename: string;
12081
- }[] | [string, string] | undefined>;
13335
+ }[] | [string, string] | null | undefined>;
12082
13336
  createdBySignature?: string | null | undefined;
12083
13337
  createdAtLocation?: string | null | undefined;
12084
13338
  annotation?: Record<string, string | number | boolean | {
@@ -12096,6 +13350,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12096
13350
  residentialArea?: string | null | undefined;
12097
13351
  street?: string | null | undefined;
12098
13352
  zipCode?: string | null | undefined;
13353
+ } | {
13354
+ firstname: string;
13355
+ surname: string;
13356
+ middlename?: string | null | undefined;
12099
13357
  } | {
12100
13358
  country: string;
12101
13359
  district: string;
@@ -12118,13 +13376,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12118
13376
  option: string;
12119
13377
  filename: string;
12120
13378
  originalFilename: string;
12121
- }[] | [string, string] | undefined> | undefined;
13379
+ }[] | [string, string] | null | undefined> | undefined;
12122
13380
  originalActionId?: string | undefined;
12123
13381
  }, {
12124
13382
  type: "REQUEST_CORRECTION";
12125
13383
  id: string;
12126
13384
  status: "Rejected" | "Requested" | "Accepted";
12127
13385
  transactionId: string;
13386
+ createdByUserType: "system" | "user";
12128
13387
  createdAt: string;
12129
13388
  createdBy: string;
12130
13389
  createdByRole: string;
@@ -12143,6 +13402,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12143
13402
  residentialArea?: string | null | undefined;
12144
13403
  street?: string | null | undefined;
12145
13404
  zipCode?: string | null | undefined;
13405
+ } | {
13406
+ firstname: string;
13407
+ surname: string;
13408
+ middlename?: string | null | undefined;
12146
13409
  } | {
12147
13410
  country: string;
12148
13411
  district: string;
@@ -12165,7 +13428,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12165
13428
  option: string;
12166
13429
  filename: string;
12167
13430
  originalFilename: string;
12168
- }[] | [string, string] | undefined>;
13431
+ }[] | [string, string] | null | undefined>;
12169
13432
  createdBySignature?: string | null | undefined;
12170
13433
  createdAtLocation?: string | null | undefined;
12171
13434
  annotation?: Record<string, string | number | boolean | {
@@ -12183,6 +13446,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12183
13446
  residentialArea?: string | null | undefined;
12184
13447
  street?: string | null | undefined;
12185
13448
  zipCode?: string | null | undefined;
13449
+ } | {
13450
+ firstname: string;
13451
+ surname: string;
13452
+ middlename?: string | null | undefined;
12186
13453
  } | {
12187
13454
  country: string;
12188
13455
  district: string;
@@ -12205,11 +13472,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12205
13472
  option: string;
12206
13473
  filename: string;
12207
13474
  originalFilename: string;
12208
- }[] | [string, string] | undefined> | undefined;
13475
+ }[] | [string, string] | null | undefined> | undefined;
12209
13476
  originalActionId?: string | undefined;
12210
13477
  }>, z.ZodObject<z.objectUtil.extendShape<{
12211
13478
  id: z.ZodString;
12212
13479
  transactionId: z.ZodString;
13480
+ createdByUserType: z.ZodEnum<["user", "system"]>;
12213
13481
  createdAt: z.ZodString;
12214
13482
  createdBy: z.ZodString;
12215
13483
  createdByRole: z.ZodString;
@@ -12328,7 +13596,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12328
13596
  addressLine2?: string | null | undefined;
12329
13597
  addressLine3?: string | null | undefined;
12330
13598
  postcodeOrZip?: string | null | undefined;
12331
- }>]>>;
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]>]>>;
12332
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<{
12333
13613
  filename: z.ZodString;
12334
13614
  originalFilename: z.ZodString;
@@ -12442,7 +13722,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12442
13722
  addressLine2?: string | null | undefined;
12443
13723
  addressLine3?: string | null | undefined;
12444
13724
  postcodeOrZip?: string | null | undefined;
12445
- }>]>>>;
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]>]>>>;
12446
13738
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12447
13739
  originalActionId: z.ZodOptional<z.ZodString>;
12448
13740
  }, {
@@ -12453,6 +13745,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12453
13745
  id: string;
12454
13746
  status: "Rejected" | "Requested" | "Accepted";
12455
13747
  transactionId: string;
13748
+ createdByUserType: "system" | "user";
12456
13749
  createdAt: string;
12457
13750
  createdBy: string;
12458
13751
  createdByRole: string;
@@ -12471,6 +13764,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12471
13764
  residentialArea?: string | null | undefined;
12472
13765
  street?: string | null | undefined;
12473
13766
  zipCode?: string | null | undefined;
13767
+ } | {
13768
+ firstname: string;
13769
+ surname: string;
13770
+ middlename?: string | null | undefined;
12474
13771
  } | {
12475
13772
  country: string;
12476
13773
  district: string;
@@ -12493,7 +13790,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12493
13790
  option: string;
12494
13791
  filename: string;
12495
13792
  originalFilename: string;
12496
- }[] | [string, string] | undefined>;
13793
+ }[] | [string, string] | null | undefined>;
12497
13794
  requestId: string;
12498
13795
  createdBySignature?: string | null | undefined;
12499
13796
  createdAtLocation?: string | null | undefined;
@@ -12512,6 +13809,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12512
13809
  residentialArea?: string | null | undefined;
12513
13810
  street?: string | null | undefined;
12514
13811
  zipCode?: string | null | undefined;
13812
+ } | {
13813
+ firstname: string;
13814
+ surname: string;
13815
+ middlename?: string | null | undefined;
12515
13816
  } | {
12516
13817
  country: string;
12517
13818
  district: string;
@@ -12534,13 +13835,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12534
13835
  option: string;
12535
13836
  filename: string;
12536
13837
  originalFilename: string;
12537
- }[] | [string, string] | undefined> | undefined;
13838
+ }[] | [string, string] | null | undefined> | undefined;
12538
13839
  originalActionId?: string | undefined;
12539
13840
  }, {
12540
13841
  type: "APPROVE_CORRECTION";
12541
13842
  id: string;
12542
13843
  status: "Rejected" | "Requested" | "Accepted";
12543
13844
  transactionId: string;
13845
+ createdByUserType: "system" | "user";
12544
13846
  createdAt: string;
12545
13847
  createdBy: string;
12546
13848
  createdByRole: string;
@@ -12559,6 +13861,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12559
13861
  residentialArea?: string | null | undefined;
12560
13862
  street?: string | null | undefined;
12561
13863
  zipCode?: string | null | undefined;
13864
+ } | {
13865
+ firstname: string;
13866
+ surname: string;
13867
+ middlename?: string | null | undefined;
12562
13868
  } | {
12563
13869
  country: string;
12564
13870
  district: string;
@@ -12581,7 +13887,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12581
13887
  option: string;
12582
13888
  filename: string;
12583
13889
  originalFilename: string;
12584
- }[] | [string, string] | undefined>;
13890
+ }[] | [string, string] | null | undefined>;
12585
13891
  requestId: string;
12586
13892
  createdBySignature?: string | null | undefined;
12587
13893
  createdAtLocation?: string | null | undefined;
@@ -12600,6 +13906,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12600
13906
  residentialArea?: string | null | undefined;
12601
13907
  street?: string | null | undefined;
12602
13908
  zipCode?: string | null | undefined;
13909
+ } | {
13910
+ firstname: string;
13911
+ surname: string;
13912
+ middlename?: string | null | undefined;
12603
13913
  } | {
12604
13914
  country: string;
12605
13915
  district: string;
@@ -12622,11 +13932,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12622
13932
  option: string;
12623
13933
  filename: string;
12624
13934
  originalFilename: string;
12625
- }[] | [string, string] | undefined> | undefined;
13935
+ }[] | [string, string] | null | undefined> | undefined;
12626
13936
  originalActionId?: string | undefined;
12627
13937
  }>, z.ZodObject<z.objectUtil.extendShape<{
12628
13938
  id: z.ZodString;
12629
13939
  transactionId: z.ZodString;
13940
+ createdByUserType: z.ZodEnum<["user", "system"]>;
12630
13941
  createdAt: z.ZodString;
12631
13942
  createdBy: z.ZodString;
12632
13943
  createdByRole: z.ZodString;
@@ -12745,7 +14056,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12745
14056
  addressLine2?: string | null | undefined;
12746
14057
  addressLine3?: string | null | undefined;
12747
14058
  postcodeOrZip?: string | null | undefined;
12748
- }>]>>;
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]>]>>;
12749
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<{
12750
14073
  filename: z.ZodString;
12751
14074
  originalFilename: z.ZodString;
@@ -12859,7 +14182,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12859
14182
  addressLine2?: string | null | undefined;
12860
14183
  addressLine3?: string | null | undefined;
12861
14184
  postcodeOrZip?: string | null | undefined;
12862
- }>]>>>;
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]>]>>>;
12863
14198
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12864
14199
  originalActionId: z.ZodOptional<z.ZodString>;
12865
14200
  }, {
@@ -12870,6 +14205,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12870
14205
  id: string;
12871
14206
  status: "Rejected" | "Requested" | "Accepted";
12872
14207
  transactionId: string;
14208
+ createdByUserType: "system" | "user";
12873
14209
  createdAt: string;
12874
14210
  createdBy: string;
12875
14211
  createdByRole: string;
@@ -12888,6 +14224,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12888
14224
  residentialArea?: string | null | undefined;
12889
14225
  street?: string | null | undefined;
12890
14226
  zipCode?: string | null | undefined;
14227
+ } | {
14228
+ firstname: string;
14229
+ surname: string;
14230
+ middlename?: string | null | undefined;
12891
14231
  } | {
12892
14232
  country: string;
12893
14233
  district: string;
@@ -12910,7 +14250,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12910
14250
  option: string;
12911
14251
  filename: string;
12912
14252
  originalFilename: string;
12913
- }[] | [string, string] | undefined>;
14253
+ }[] | [string, string] | null | undefined>;
12914
14254
  requestId: string;
12915
14255
  createdBySignature?: string | null | undefined;
12916
14256
  createdAtLocation?: string | null | undefined;
@@ -12929,6 +14269,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12929
14269
  residentialArea?: string | null | undefined;
12930
14270
  street?: string | null | undefined;
12931
14271
  zipCode?: string | null | undefined;
14272
+ } | {
14273
+ firstname: string;
14274
+ surname: string;
14275
+ middlename?: string | null | undefined;
12932
14276
  } | {
12933
14277
  country: string;
12934
14278
  district: string;
@@ -12951,13 +14295,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12951
14295
  option: string;
12952
14296
  filename: string;
12953
14297
  originalFilename: string;
12954
- }[] | [string, string] | undefined> | undefined;
14298
+ }[] | [string, string] | null | undefined> | undefined;
12955
14299
  originalActionId?: string | undefined;
12956
14300
  }, {
12957
14301
  type: "REJECT_CORRECTION";
12958
14302
  id: string;
12959
14303
  status: "Rejected" | "Requested" | "Accepted";
12960
14304
  transactionId: string;
14305
+ createdByUserType: "system" | "user";
12961
14306
  createdAt: string;
12962
14307
  createdBy: string;
12963
14308
  createdByRole: string;
@@ -12976,6 +14321,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12976
14321
  residentialArea?: string | null | undefined;
12977
14322
  street?: string | null | undefined;
12978
14323
  zipCode?: string | null | undefined;
14324
+ } | {
14325
+ firstname: string;
14326
+ surname: string;
14327
+ middlename?: string | null | undefined;
12979
14328
  } | {
12980
14329
  country: string;
12981
14330
  district: string;
@@ -12998,7 +14347,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12998
14347
  option: string;
12999
14348
  filename: string;
13000
14349
  originalFilename: string;
13001
- }[] | [string, string] | undefined>;
14350
+ }[] | [string, string] | null | undefined>;
13002
14351
  requestId: string;
13003
14352
  createdBySignature?: string | null | undefined;
13004
14353
  createdAtLocation?: string | null | undefined;
@@ -13017,6 +14366,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13017
14366
  residentialArea?: string | null | undefined;
13018
14367
  street?: string | null | undefined;
13019
14368
  zipCode?: string | null | undefined;
14369
+ } | {
14370
+ firstname: string;
14371
+ surname: string;
14372
+ middlename?: string | null | undefined;
13020
14373
  } | {
13021
14374
  country: string;
13022
14375
  district: string;
@@ -13039,11 +14392,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13039
14392
  option: string;
13040
14393
  filename: string;
13041
14394
  originalFilename: string;
13042
- }[] | [string, string] | undefined> | undefined;
14395
+ }[] | [string, string] | null | undefined> | undefined;
13043
14396
  originalActionId?: string | undefined;
13044
14397
  }>, z.ZodObject<z.objectUtil.extendShape<{
13045
14398
  id: z.ZodString;
13046
14399
  transactionId: z.ZodString;
14400
+ createdByUserType: z.ZodEnum<["user", "system"]>;
13047
14401
  createdAt: z.ZodString;
13048
14402
  createdBy: z.ZodString;
13049
14403
  createdByRole: z.ZodString;
@@ -13162,7 +14516,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13162
14516
  addressLine2?: string | null | undefined;
13163
14517
  addressLine3?: string | null | undefined;
13164
14518
  postcodeOrZip?: string | null | undefined;
13165
- }>]>>;
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]>]>>;
13166
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<{
13167
14533
  filename: z.ZodString;
13168
14534
  originalFilename: z.ZodString;
@@ -13276,7 +14642,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13276
14642
  addressLine2?: string | null | undefined;
13277
14643
  addressLine3?: string | null | undefined;
13278
14644
  postcodeOrZip?: string | null | undefined;
13279
- }>]>>>;
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]>]>>>;
13280
14658
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13281
14659
  originalActionId: z.ZodOptional<z.ZodString>;
13282
14660
  }, {
@@ -13287,6 +14665,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13287
14665
  id: string;
13288
14666
  status: "Rejected" | "Requested" | "Accepted";
13289
14667
  transactionId: string;
14668
+ createdByUserType: "system" | "user";
13290
14669
  createdAt: string;
13291
14670
  createdBy: string;
13292
14671
  createdByRole: string;
@@ -13305,6 +14684,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13305
14684
  residentialArea?: string | null | undefined;
13306
14685
  street?: string | null | undefined;
13307
14686
  zipCode?: string | null | undefined;
14687
+ } | {
14688
+ firstname: string;
14689
+ surname: string;
14690
+ middlename?: string | null | undefined;
13308
14691
  } | {
13309
14692
  country: string;
13310
14693
  district: string;
@@ -13327,7 +14710,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13327
14710
  option: string;
13328
14711
  filename: string;
13329
14712
  originalFilename: string;
13330
- }[] | [string, string] | undefined>;
14713
+ }[] | [string, string] | null | undefined>;
13331
14714
  assignedTo: null;
13332
14715
  createdBySignature?: string | null | undefined;
13333
14716
  createdAtLocation?: string | null | undefined;
@@ -13346,6 +14729,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13346
14729
  residentialArea?: string | null | undefined;
13347
14730
  street?: string | null | undefined;
13348
14731
  zipCode?: string | null | undefined;
14732
+ } | {
14733
+ firstname: string;
14734
+ surname: string;
14735
+ middlename?: string | null | undefined;
13349
14736
  } | {
13350
14737
  country: string;
13351
14738
  district: string;
@@ -13368,13 +14755,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13368
14755
  option: string;
13369
14756
  filename: string;
13370
14757
  originalFilename: string;
13371
- }[] | [string, string] | undefined> | undefined;
14758
+ }[] | [string, string] | null | undefined> | undefined;
13372
14759
  originalActionId?: string | undefined;
13373
14760
  }, {
13374
14761
  type: "UNASSIGN";
13375
14762
  id: string;
13376
14763
  status: "Rejected" | "Requested" | "Accepted";
13377
14764
  transactionId: string;
14765
+ createdByUserType: "system" | "user";
13378
14766
  createdAt: string;
13379
14767
  createdBy: string;
13380
14768
  createdByRole: string;
@@ -13393,6 +14781,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13393
14781
  residentialArea?: string | null | undefined;
13394
14782
  street?: string | null | undefined;
13395
14783
  zipCode?: string | null | undefined;
14784
+ } | {
14785
+ firstname: string;
14786
+ surname: string;
14787
+ middlename?: string | null | undefined;
13396
14788
  } | {
13397
14789
  country: string;
13398
14790
  district: string;
@@ -13415,7 +14807,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13415
14807
  option: string;
13416
14808
  filename: string;
13417
14809
  originalFilename: string;
13418
- }[] | [string, string] | undefined>;
14810
+ }[] | [string, string] | null | undefined>;
13419
14811
  assignedTo: null;
13420
14812
  createdBySignature?: string | null | undefined;
13421
14813
  createdAtLocation?: string | null | undefined;
@@ -13434,6 +14826,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13434
14826
  residentialArea?: string | null | undefined;
13435
14827
  street?: string | null | undefined;
13436
14828
  zipCode?: string | null | undefined;
14829
+ } | {
14830
+ firstname: string;
14831
+ surname: string;
14832
+ middlename?: string | null | undefined;
13437
14833
  } | {
13438
14834
  country: string;
13439
14835
  district: string;
@@ -13456,11 +14852,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13456
14852
  option: string;
13457
14853
  filename: string;
13458
14854
  originalFilename: string;
13459
- }[] | [string, string] | undefined> | undefined;
14855
+ }[] | [string, string] | null | undefined> | undefined;
13460
14856
  originalActionId?: string | undefined;
13461
14857
  }>, z.ZodObject<z.objectUtil.extendShape<{
13462
14858
  id: z.ZodString;
13463
14859
  transactionId: z.ZodString;
14860
+ createdByUserType: z.ZodEnum<["user", "system"]>;
13464
14861
  createdAt: z.ZodString;
13465
14862
  createdBy: z.ZodString;
13466
14863
  createdByRole: z.ZodString;
@@ -13579,7 +14976,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13579
14976
  addressLine2?: string | null | undefined;
13580
14977
  addressLine3?: string | null | undefined;
13581
14978
  postcodeOrZip?: string | null | undefined;
13582
- }>]>>;
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]>]>>;
13583
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<{
13584
14993
  filename: z.ZodString;
13585
14994
  originalFilename: z.ZodString;
@@ -13693,7 +15102,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13693
15102
  addressLine2?: string | null | undefined;
13694
15103
  addressLine3?: string | null | undefined;
13695
15104
  postcodeOrZip?: string | null | undefined;
13696
- }>]>>>;
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]>]>>>;
13697
15118
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13698
15119
  originalActionId: z.ZodOptional<z.ZodString>;
13699
15120
  }, {
@@ -13703,6 +15124,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13703
15124
  id: string;
13704
15125
  status: "Rejected" | "Requested" | "Accepted";
13705
15126
  transactionId: string;
15127
+ createdByUserType: "system" | "user";
13706
15128
  createdAt: string;
13707
15129
  createdBy: string;
13708
15130
  createdByRole: string;
@@ -13721,6 +15143,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13721
15143
  residentialArea?: string | null | undefined;
13722
15144
  street?: string | null | undefined;
13723
15145
  zipCode?: string | null | undefined;
15146
+ } | {
15147
+ firstname: string;
15148
+ surname: string;
15149
+ middlename?: string | null | undefined;
13724
15150
  } | {
13725
15151
  country: string;
13726
15152
  district: string;
@@ -13743,7 +15169,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13743
15169
  option: string;
13744
15170
  filename: string;
13745
15171
  originalFilename: string;
13746
- }[] | [string, string] | undefined>;
15172
+ }[] | [string, string] | null | undefined>;
13747
15173
  createdBySignature?: string | null | undefined;
13748
15174
  createdAtLocation?: string | null | undefined;
13749
15175
  annotation?: Record<string, string | number | boolean | {
@@ -13761,6 +15187,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13761
15187
  residentialArea?: string | null | undefined;
13762
15188
  street?: string | null | undefined;
13763
15189
  zipCode?: string | null | undefined;
15190
+ } | {
15191
+ firstname: string;
15192
+ surname: string;
15193
+ middlename?: string | null | undefined;
13764
15194
  } | {
13765
15195
  country: string;
13766
15196
  district: string;
@@ -13783,13 +15213,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13783
15213
  option: string;
13784
15214
  filename: string;
13785
15215
  originalFilename: string;
13786
- }[] | [string, string] | undefined> | undefined;
15216
+ }[] | [string, string] | null | undefined> | undefined;
13787
15217
  originalActionId?: string | undefined;
13788
15218
  }, {
13789
15219
  type: "PRINT_CERTIFICATE";
13790
15220
  id: string;
13791
15221
  status: "Rejected" | "Requested" | "Accepted";
13792
15222
  transactionId: string;
15223
+ createdByUserType: "system" | "user";
13793
15224
  createdAt: string;
13794
15225
  createdBy: string;
13795
15226
  createdByRole: string;
@@ -13808,6 +15239,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13808
15239
  residentialArea?: string | null | undefined;
13809
15240
  street?: string | null | undefined;
13810
15241
  zipCode?: string | null | undefined;
15242
+ } | {
15243
+ firstname: string;
15244
+ surname: string;
15245
+ middlename?: string | null | undefined;
13811
15246
  } | {
13812
15247
  country: string;
13813
15248
  district: string;
@@ -13830,7 +15265,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13830
15265
  option: string;
13831
15266
  filename: string;
13832
15267
  originalFilename: string;
13833
- }[] | [string, string] | undefined>;
15268
+ }[] | [string, string] | null | undefined>;
13834
15269
  createdBySignature?: string | null | undefined;
13835
15270
  createdAtLocation?: string | null | undefined;
13836
15271
  annotation?: Record<string, string | number | boolean | {
@@ -13848,6 +15283,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13848
15283
  residentialArea?: string | null | undefined;
13849
15284
  street?: string | null | undefined;
13850
15285
  zipCode?: string | null | undefined;
15286
+ } | {
15287
+ firstname: string;
15288
+ surname: string;
15289
+ middlename?: string | null | undefined;
13851
15290
  } | {
13852
15291
  country: string;
13853
15292
  district: string;
@@ -13870,11 +15309,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13870
15309
  option: string;
13871
15310
  filename: string;
13872
15311
  originalFilename: string;
13873
- }[] | [string, string] | undefined> | undefined;
15312
+ }[] | [string, string] | null | undefined> | undefined;
13874
15313
  originalActionId?: string | undefined;
13875
15314
  }>, z.ZodObject<z.objectUtil.extendShape<{
13876
15315
  id: z.ZodString;
13877
15316
  transactionId: z.ZodString;
15317
+ createdByUserType: z.ZodEnum<["user", "system"]>;
13878
15318
  createdAt: z.ZodString;
13879
15319
  createdBy: z.ZodString;
13880
15320
  createdByRole: z.ZodString;
@@ -13993,7 +15433,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13993
15433
  addressLine2?: string | null | undefined;
13994
15434
  addressLine3?: string | null | undefined;
13995
15435
  postcodeOrZip?: string | null | undefined;
13996
- }>]>>;
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]>]>>;
13997
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<{
13998
15450
  filename: z.ZodString;
13999
15451
  originalFilename: z.ZodString;
@@ -14107,7 +15559,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14107
15559
  addressLine2?: string | null | undefined;
14108
15560
  addressLine3?: string | null | undefined;
14109
15561
  postcodeOrZip?: string | null | undefined;
14110
- }>]>>>;
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]>]>>>;
14111
15575
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14112
15576
  originalActionId: z.ZodOptional<z.ZodString>;
14113
15577
  }, {
@@ -14117,6 +15581,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14117
15581
  id: string;
14118
15582
  status: "Rejected" | "Requested" | "Accepted";
14119
15583
  transactionId: string;
15584
+ createdByUserType: "system" | "user";
14120
15585
  createdAt: string;
14121
15586
  createdBy: string;
14122
15587
  createdByRole: string;
@@ -14135,6 +15600,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14135
15600
  residentialArea?: string | null | undefined;
14136
15601
  street?: string | null | undefined;
14137
15602
  zipCode?: string | null | undefined;
15603
+ } | {
15604
+ firstname: string;
15605
+ surname: string;
15606
+ middlename?: string | null | undefined;
14138
15607
  } | {
14139
15608
  country: string;
14140
15609
  district: string;
@@ -14157,7 +15626,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14157
15626
  option: string;
14158
15627
  filename: string;
14159
15628
  originalFilename: string;
14160
- }[] | [string, string] | undefined>;
15629
+ }[] | [string, string] | null | undefined>;
14161
15630
  createdBySignature?: string | null | undefined;
14162
15631
  createdAtLocation?: string | null | undefined;
14163
15632
  annotation?: Record<string, string | number | boolean | {
@@ -14175,6 +15644,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14175
15644
  residentialArea?: string | null | undefined;
14176
15645
  street?: string | null | undefined;
14177
15646
  zipCode?: string | null | undefined;
15647
+ } | {
15648
+ firstname: string;
15649
+ surname: string;
15650
+ middlename?: string | null | undefined;
14178
15651
  } | {
14179
15652
  country: string;
14180
15653
  district: string;
@@ -14197,13 +15670,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14197
15670
  option: string;
14198
15671
  filename: string;
14199
15672
  originalFilename: string;
14200
- }[] | [string, string] | undefined> | undefined;
15673
+ }[] | [string, string] | null | undefined> | undefined;
14201
15674
  originalActionId?: string | undefined;
14202
15675
  }, {
14203
15676
  type: "READ";
14204
15677
  id: string;
14205
15678
  status: "Rejected" | "Requested" | "Accepted";
14206
15679
  transactionId: string;
15680
+ createdByUserType: "system" | "user";
14207
15681
  createdAt: string;
14208
15682
  createdBy: string;
14209
15683
  createdByRole: string;
@@ -14222,6 +15696,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14222
15696
  residentialArea?: string | null | undefined;
14223
15697
  street?: string | null | undefined;
14224
15698
  zipCode?: string | null | undefined;
15699
+ } | {
15700
+ firstname: string;
15701
+ surname: string;
15702
+ middlename?: string | null | undefined;
14225
15703
  } | {
14226
15704
  country: string;
14227
15705
  district: string;
@@ -14244,7 +15722,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14244
15722
  option: string;
14245
15723
  filename: string;
14246
15724
  originalFilename: string;
14247
- }[] | [string, string] | undefined>;
15725
+ }[] | [string, string] | null | undefined>;
14248
15726
  createdBySignature?: string | null | undefined;
14249
15727
  createdAtLocation?: string | null | undefined;
14250
15728
  annotation?: Record<string, string | number | boolean | {
@@ -14262,6 +15740,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14262
15740
  residentialArea?: string | null | undefined;
14263
15741
  street?: string | null | undefined;
14264
15742
  zipCode?: string | null | undefined;
15743
+ } | {
15744
+ firstname: string;
15745
+ surname: string;
15746
+ middlename?: string | null | undefined;
14265
15747
  } | {
14266
15748
  country: string;
14267
15749
  district: string;
@@ -14284,11 +15766,12 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14284
15766
  option: string;
14285
15767
  filename: string;
14286
15768
  originalFilename: string;
14287
- }[] | [string, string] | undefined> | undefined;
15769
+ }[] | [string, string] | null | undefined> | undefined;
14288
15770
  originalActionId?: string | undefined;
14289
15771
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14290
15772
  id: z.ZodString;
14291
15773
  transactionId: z.ZodString;
15774
+ createdByUserType: z.ZodEnum<["user", "system"]>;
14292
15775
  createdAt: z.ZodString;
14293
15776
  createdBy: z.ZodString;
14294
15777
  createdByRole: z.ZodString;
@@ -14407,7 +15890,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14407
15890
  addressLine2?: string | null | undefined;
14408
15891
  addressLine3?: string | null | undefined;
14409
15892
  postcodeOrZip?: string | null | undefined;
14410
- }>]>>;
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]>]>>;
14411
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<{
14412
15907
  filename: z.ZodString;
14413
15908
  originalFilename: z.ZodString;
@@ -14521,7 +16016,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14521
16016
  addressLine2?: string | null | undefined;
14522
16017
  addressLine3?: string | null | undefined;
14523
16018
  postcodeOrZip?: string | null | undefined;
14524
- }>]>>>;
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]>]>>>;
14525
16032
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14526
16033
  originalActionId: z.ZodOptional<z.ZodString>;
14527
16034
  }, "declaration" | "annotation">, {
@@ -14532,6 +16039,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14532
16039
  id: string;
14533
16040
  status: "Rejected";
14534
16041
  transactionId: string;
16042
+ createdByUserType: "system" | "user";
14535
16043
  createdAt: string;
14536
16044
  createdBy: string;
14537
16045
  createdByRole: string;
@@ -14543,6 +16051,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14543
16051
  id: string;
14544
16052
  status: "Rejected";
14545
16053
  transactionId: string;
16054
+ createdByUserType: "system" | "user";
14546
16055
  createdAt: string;
14547
16056
  createdBy: string;
14548
16057
  createdByRole: string;