@opencrvs/toolkit 1.8.0-rc.fb96ec1 → 1.8.0-rc.fbababd

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 (30) hide show
  1. package/dist/commons/api/router.d.ts +5865 -12088
  2. package/dist/commons/events/ActionConfig.d.ts +18584 -30632
  3. package/dist/commons/events/ActionDocument.d.ts +387 -486
  4. package/dist/commons/events/ActionInput.d.ts +126 -126
  5. package/dist/commons/events/ActionType.d.ts +0 -2
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +0 -204
  7. package/dist/commons/events/CountryConfigQueryInput.d.ts +412 -1160
  8. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  9. package/dist/commons/events/Draft.d.ts +23 -28
  10. package/dist/commons/events/EventConfig.d.ts +17504 -26141
  11. package/dist/commons/events/EventDocument.d.ts +275 -350
  12. package/dist/commons/events/EventIndex.d.ts +214 -629
  13. package/dist/commons/events/EventMetadata.d.ts +31 -73
  14. package/dist/commons/events/FieldConfig.d.ts +37 -19
  15. package/dist/commons/events/FormConfig.d.ts +66 -0
  16. package/dist/commons/events/PageConfig.d.ts +18 -0
  17. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  18. package/dist/commons/events/WorkqueueConfig.d.ts +740 -3237
  19. package/dist/commons/events/defineConfig.d.ts +1589 -3224
  20. package/dist/commons/events/field.d.ts +0 -5
  21. package/dist/commons/events/index.d.ts +0 -1
  22. package/dist/commons/events/scopes.d.ts +3 -2
  23. package/dist/commons/events/test.utils.d.ts +5 -28
  24. package/dist/commons/events/transactions.d.ts +1 -1
  25. package/dist/commons/events/utils.d.ts +1600 -3232
  26. package/dist/conditionals/index.js +17 -20
  27. package/dist/events/index.js +1312 -1681
  28. package/dist/scopes/index.d.ts +1 -4
  29. package/dist/scopes/index.js +17 -67
  30. package/package.json +3 -3
@@ -278,14 +278,13 @@ export declare const ActionStatus: {
278
278
  };
279
279
  export type ActionStatus = keyof typeof ActionStatus;
280
280
  export declare const ActionBase: z.ZodObject<{
281
- id: z.ZodBranded<z.ZodString, "UUID">;
281
+ id: z.ZodString;
282
282
  transactionId: z.ZodString;
283
- createdByUserType: z.ZodEnum<["user", "system"]>;
284
283
  createdAt: z.ZodString;
285
284
  createdBy: z.ZodString;
286
285
  createdByRole: z.ZodString;
287
286
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
287
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
288
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
290
289
  filename: z.ZodString;
291
290
  originalFilename: z.ZodString;
@@ -412,7 +411,7 @@ export declare const ActionBase: z.ZodObject<{
412
411
  surname: string;
413
412
  middlename?: string | null | undefined;
414
413
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
415
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
414
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
416
415
  filename: z.ZodString;
417
416
  originalFilename: z.ZodString;
418
417
  type: z.ZodString;
@@ -537,14 +536,13 @@ export declare const ActionBase: z.ZodObject<{
537
536
  firstname: string;
538
537
  surname: string;
539
538
  middlename?: string | null | undefined;
540
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
539
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
541
540
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
542
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
541
+ originalActionId: z.ZodOptional<z.ZodString>;
543
542
  }, "strip", z.ZodTypeAny, {
544
- id: string & z.BRAND<"UUID">;
543
+ id: string;
545
544
  status: "Rejected" | "Requested" | "Accepted";
546
545
  transactionId: string;
547
- createdByUserType: "system" | "user";
548
546
  createdAt: string;
549
547
  createdBy: string;
550
548
  createdByRole: string;
@@ -591,7 +589,7 @@ export declare const ActionBase: z.ZodObject<{
591
589
  originalFilename: string;
592
590
  }[] | [string, string] | null | undefined>;
593
591
  createdBySignature?: string | null | undefined;
594
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
592
+ createdAtLocation?: string | null | undefined;
595
593
  annotation?: Record<string, string | number | boolean | {
596
594
  type: string;
597
595
  filename: string;
@@ -633,13 +631,12 @@ export declare const ActionBase: z.ZodObject<{
633
631
  option: string;
634
632
  filename: string;
635
633
  originalFilename: string;
636
- }[] | [string, string] | null | undefined> | null | undefined;
637
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
634
+ }[] | [string, string] | null | undefined> | undefined;
635
+ originalActionId?: string | undefined;
638
636
  }, {
639
637
  id: string;
640
638
  status: "Rejected" | "Requested" | "Accepted";
641
639
  transactionId: string;
642
- createdByUserType: "system" | "user";
643
640
  createdAt: string;
644
641
  createdBy: string;
645
642
  createdByRole: string;
@@ -728,19 +725,18 @@ export declare const ActionBase: z.ZodObject<{
728
725
  option: string;
729
726
  filename: string;
730
727
  originalFilename: string;
731
- }[] | [string, string] | null | undefined> | null | undefined;
732
- originalActionId?: string | null | undefined;
728
+ }[] | [string, string] | null | undefined> | undefined;
729
+ originalActionId?: string | undefined;
733
730
  }>;
734
731
  export type ActionBase = z.infer<typeof ActionBase>;
735
732
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
736
- id: z.ZodBranded<z.ZodString, "UUID">;
733
+ id: z.ZodString;
737
734
  transactionId: z.ZodString;
738
- createdByUserType: z.ZodEnum<["user", "system"]>;
739
735
  createdAt: z.ZodString;
740
736
  createdBy: z.ZodString;
741
737
  createdByRole: z.ZodString;
742
738
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
739
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
740
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
745
741
  filename: z.ZodString;
746
742
  originalFilename: z.ZodString;
@@ -867,7 +863,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
867
863
  surname: string;
868
864
  middlename?: string | null | undefined;
869
865
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
870
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
866
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
871
867
  filename: z.ZodString;
872
868
  originalFilename: z.ZodString;
873
869
  type: z.ZodString;
@@ -992,18 +988,17 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
992
988
  firstname: string;
993
989
  surname: string;
994
990
  middlename?: string | null | undefined;
995
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
991
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
996
992
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
997
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
993
+ originalActionId: z.ZodOptional<z.ZodString>;
998
994
  }, {
999
995
  type: z.ZodLiteral<"REGISTER">;
1000
996
  registrationNumber: z.ZodOptional<z.ZodString>;
1001
997
  }>, "strip", z.ZodTypeAny, {
1002
998
  type: "REGISTER";
1003
- id: string & z.BRAND<"UUID">;
999
+ id: string;
1004
1000
  status: "Rejected" | "Requested" | "Accepted";
1005
1001
  transactionId: string;
1006
- createdByUserType: "system" | "user";
1007
1002
  createdAt: string;
1008
1003
  createdBy: string;
1009
1004
  createdByRole: string;
@@ -1050,7 +1045,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1050
1045
  originalFilename: string;
1051
1046
  }[] | [string, string] | null | undefined>;
1052
1047
  createdBySignature?: string | null | undefined;
1053
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1048
+ createdAtLocation?: string | null | undefined;
1054
1049
  annotation?: Record<string, string | number | boolean | {
1055
1050
  type: string;
1056
1051
  filename: string;
@@ -1092,15 +1087,14 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1092
1087
  option: string;
1093
1088
  filename: string;
1094
1089
  originalFilename: string;
1095
- }[] | [string, string] | null | undefined> | null | undefined;
1096
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1090
+ }[] | [string, string] | null | undefined> | undefined;
1091
+ originalActionId?: string | undefined;
1097
1092
  registrationNumber?: string | undefined;
1098
1093
  }, {
1099
1094
  type: "REGISTER";
1100
1095
  id: string;
1101
1096
  status: "Rejected" | "Requested" | "Accepted";
1102
1097
  transactionId: string;
1103
- createdByUserType: "system" | "user";
1104
1098
  createdAt: string;
1105
1099
  createdBy: string;
1106
1100
  createdByRole: string;
@@ -1189,8 +1183,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1189
1183
  option: string;
1190
1184
  filename: string;
1191
1185
  originalFilename: string;
1192
- }[] | [string, string] | null | undefined> | null | undefined;
1193
- originalActionId?: string | null | undefined;
1186
+ }[] | [string, string] | null | undefined> | undefined;
1187
+ originalActionId?: string | undefined;
1194
1188
  registrationNumber?: string | undefined;
1195
1189
  }>;
1196
1190
  export type RegisterAction = z.infer<typeof RegisterAction>;
@@ -1205,14 +1199,13 @@ export declare const RejectionReason: z.ZodObject<{
1205
1199
  isDuplicate?: boolean | undefined;
1206
1200
  }>;
1207
1201
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1208
- id: z.ZodBranded<z.ZodString, "UUID">;
1202
+ id: z.ZodString;
1209
1203
  transactionId: z.ZodString;
1210
- createdByUserType: z.ZodEnum<["user", "system"]>;
1211
1204
  createdAt: z.ZodString;
1212
1205
  createdBy: z.ZodString;
1213
1206
  createdByRole: z.ZodString;
1214
1207
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1208
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1216
1209
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1217
1210
  filename: z.ZodString;
1218
1211
  originalFilename: z.ZodString;
@@ -1339,7 +1332,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1339
1332
  surname: string;
1340
1333
  middlename?: string | null | undefined;
1341
1334
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1342
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1335
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1343
1336
  filename: z.ZodString;
1344
1337
  originalFilename: z.ZodString;
1345
1338
  type: z.ZodString;
@@ -1464,17 +1457,16 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1464
1457
  firstname: string;
1465
1458
  surname: string;
1466
1459
  middlename?: string | null | undefined;
1467
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1460
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1468
1461
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1469
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1462
+ originalActionId: z.ZodOptional<z.ZodString>;
1470
1463
  }, {
1471
1464
  type: z.ZodLiteral<"CREATE">;
1472
1465
  }>, "strip", z.ZodTypeAny, {
1473
1466
  type: "CREATE";
1474
- id: string & z.BRAND<"UUID">;
1467
+ id: string;
1475
1468
  status: "Rejected" | "Requested" | "Accepted";
1476
1469
  transactionId: string;
1477
- createdByUserType: "system" | "user";
1478
1470
  createdAt: string;
1479
1471
  createdBy: string;
1480
1472
  createdByRole: string;
@@ -1521,7 +1513,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1521
1513
  originalFilename: string;
1522
1514
  }[] | [string, string] | null | undefined>;
1523
1515
  createdBySignature?: string | null | undefined;
1524
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1516
+ createdAtLocation?: string | null | undefined;
1525
1517
  annotation?: Record<string, string | number | boolean | {
1526
1518
  type: string;
1527
1519
  filename: string;
@@ -1563,14 +1555,13 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1563
1555
  option: string;
1564
1556
  filename: string;
1565
1557
  originalFilename: string;
1566
- }[] | [string, string] | null | undefined> | null | undefined;
1567
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1558
+ }[] | [string, string] | null | undefined> | undefined;
1559
+ originalActionId?: string | undefined;
1568
1560
  }, {
1569
1561
  type: "CREATE";
1570
1562
  id: string;
1571
1563
  status: "Rejected" | "Requested" | "Accepted";
1572
1564
  transactionId: string;
1573
- createdByUserType: "system" | "user";
1574
1565
  createdAt: string;
1575
1566
  createdBy: string;
1576
1567
  createdByRole: string;
@@ -1659,18 +1650,17 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1659
1650
  option: string;
1660
1651
  filename: string;
1661
1652
  originalFilename: string;
1662
- }[] | [string, string] | null | undefined> | null | undefined;
1663
- originalActionId?: string | null | undefined;
1653
+ }[] | [string, string] | null | undefined> | undefined;
1654
+ originalActionId?: string | undefined;
1664
1655
  }>;
1665
1656
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1666
- id: z.ZodBranded<z.ZodString, "UUID">;
1657
+ id: z.ZodString;
1667
1658
  transactionId: z.ZodString;
1668
- createdByUserType: z.ZodEnum<["user", "system"]>;
1669
1659
  createdAt: z.ZodString;
1670
1660
  createdBy: z.ZodString;
1671
1661
  createdByRole: z.ZodString;
1672
1662
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1663
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1674
1664
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1675
1665
  filename: z.ZodString;
1676
1666
  originalFilename: z.ZodString;
@@ -1797,7 +1787,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1797
1787
  surname: string;
1798
1788
  middlename?: string | null | undefined;
1799
1789
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1800
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1790
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1801
1791
  filename: z.ZodString;
1802
1792
  originalFilename: z.ZodString;
1803
1793
  type: z.ZodString;
@@ -1922,17 +1912,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1922
1912
  firstname: string;
1923
1913
  surname: string;
1924
1914
  middlename?: string | null | undefined;
1925
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1915
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1926
1916
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1927
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1917
+ originalActionId: z.ZodOptional<z.ZodString>;
1928
1918
  }, {
1929
1919
  type: z.ZodLiteral<"CREATE">;
1930
1920
  }>, "strip", z.ZodTypeAny, {
1931
1921
  type: "CREATE";
1932
- id: string & z.BRAND<"UUID">;
1922
+ id: string;
1933
1923
  status: "Rejected" | "Requested" | "Accepted";
1934
1924
  transactionId: string;
1935
- createdByUserType: "system" | "user";
1936
1925
  createdAt: string;
1937
1926
  createdBy: string;
1938
1927
  createdByRole: string;
@@ -1979,7 +1968,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1979
1968
  originalFilename: string;
1980
1969
  }[] | [string, string] | null | undefined>;
1981
1970
  createdBySignature?: string | null | undefined;
1982
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1971
+ createdAtLocation?: string | null | undefined;
1983
1972
  annotation?: Record<string, string | number | boolean | {
1984
1973
  type: string;
1985
1974
  filename: string;
@@ -2021,14 +2010,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2021
2010
  option: string;
2022
2011
  filename: string;
2023
2012
  originalFilename: string;
2024
- }[] | [string, string] | null | undefined> | null | undefined;
2025
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2013
+ }[] | [string, string] | null | undefined> | undefined;
2014
+ originalActionId?: string | undefined;
2026
2015
  }, {
2027
2016
  type: "CREATE";
2028
2017
  id: string;
2029
2018
  status: "Rejected" | "Requested" | "Accepted";
2030
2019
  transactionId: string;
2031
- createdByUserType: "system" | "user";
2032
2020
  createdAt: string;
2033
2021
  createdBy: string;
2034
2022
  createdByRole: string;
@@ -2117,17 +2105,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2117
2105
  option: string;
2118
2106
  filename: string;
2119
2107
  originalFilename: string;
2120
- }[] | [string, string] | null | undefined> | null | undefined;
2121
- originalActionId?: string | null | undefined;
2108
+ }[] | [string, string] | null | undefined> | undefined;
2109
+ originalActionId?: string | undefined;
2122
2110
  }>, z.ZodObject<z.objectUtil.extendShape<{
2123
- id: z.ZodBranded<z.ZodString, "UUID">;
2111
+ id: z.ZodString;
2124
2112
  transactionId: z.ZodString;
2125
- createdByUserType: z.ZodEnum<["user", "system"]>;
2126
2113
  createdAt: z.ZodString;
2127
2114
  createdBy: z.ZodString;
2128
2115
  createdByRole: z.ZodString;
2129
2116
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2117
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2131
2118
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2132
2119
  filename: z.ZodString;
2133
2120
  originalFilename: z.ZodString;
@@ -2254,7 +2241,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2254
2241
  surname: string;
2255
2242
  middlename?: string | null | undefined;
2256
2243
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2257
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2244
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2258
2245
  filename: z.ZodString;
2259
2246
  originalFilename: z.ZodString;
2260
2247
  type: z.ZodString;
@@ -2379,17 +2366,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2379
2366
  firstname: string;
2380
2367
  surname: string;
2381
2368
  middlename?: string | null | undefined;
2382
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2369
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2383
2370
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2384
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2371
+ originalActionId: z.ZodOptional<z.ZodString>;
2385
2372
  }, {
2386
2373
  type: z.ZodLiteral<"VALIDATE">;
2387
2374
  }>, "strip", z.ZodTypeAny, {
2388
2375
  type: "VALIDATE";
2389
- id: string & z.BRAND<"UUID">;
2376
+ id: string;
2390
2377
  status: "Rejected" | "Requested" | "Accepted";
2391
2378
  transactionId: string;
2392
- createdByUserType: "system" | "user";
2393
2379
  createdAt: string;
2394
2380
  createdBy: string;
2395
2381
  createdByRole: string;
@@ -2436,7 +2422,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2436
2422
  originalFilename: string;
2437
2423
  }[] | [string, string] | null | undefined>;
2438
2424
  createdBySignature?: string | null | undefined;
2439
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2425
+ createdAtLocation?: string | null | undefined;
2440
2426
  annotation?: Record<string, string | number | boolean | {
2441
2427
  type: string;
2442
2428
  filename: string;
@@ -2478,14 +2464,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2478
2464
  option: string;
2479
2465
  filename: string;
2480
2466
  originalFilename: string;
2481
- }[] | [string, string] | null | undefined> | null | undefined;
2482
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2467
+ }[] | [string, string] | null | undefined> | undefined;
2468
+ originalActionId?: string | undefined;
2483
2469
  }, {
2484
2470
  type: "VALIDATE";
2485
2471
  id: string;
2486
2472
  status: "Rejected" | "Requested" | "Accepted";
2487
2473
  transactionId: string;
2488
- createdByUserType: "system" | "user";
2489
2474
  createdAt: string;
2490
2475
  createdBy: string;
2491
2476
  createdByRole: string;
@@ -2574,17 +2559,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2574
2559
  option: string;
2575
2560
  filename: string;
2576
2561
  originalFilename: string;
2577
- }[] | [string, string] | null | undefined> | null | undefined;
2578
- originalActionId?: string | null | undefined;
2562
+ }[] | [string, string] | null | undefined> | undefined;
2563
+ originalActionId?: string | undefined;
2579
2564
  }>, z.ZodObject<z.objectUtil.extendShape<{
2580
- id: z.ZodBranded<z.ZodString, "UUID">;
2565
+ id: z.ZodString;
2581
2566
  transactionId: z.ZodString;
2582
- createdByUserType: z.ZodEnum<["user", "system"]>;
2583
2567
  createdAt: z.ZodString;
2584
2568
  createdBy: z.ZodString;
2585
2569
  createdByRole: z.ZodString;
2586
2570
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2587
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2571
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2588
2572
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2589
2573
  filename: z.ZodString;
2590
2574
  originalFilename: z.ZodString;
@@ -2711,7 +2695,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2711
2695
  surname: string;
2712
2696
  middlename?: string | null | undefined;
2713
2697
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2714
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2698
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2715
2699
  filename: z.ZodString;
2716
2700
  originalFilename: z.ZodString;
2717
2701
  type: z.ZodString;
@@ -2836,9 +2820,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2836
2820
  firstname: string;
2837
2821
  surname: string;
2838
2822
  middlename?: string | null | undefined;
2839
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2823
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2840
2824
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2841
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2825
+ originalActionId: z.ZodOptional<z.ZodString>;
2842
2826
  }, {
2843
2827
  type: z.ZodLiteral<"REJECT">;
2844
2828
  reason: z.ZodObject<{
@@ -2853,14 +2837,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2853
2837
  }>;
2854
2838
  }>, "strip", z.ZodTypeAny, {
2855
2839
  type: "REJECT";
2856
- id: string & z.BRAND<"UUID">;
2840
+ id: string;
2857
2841
  status: "Rejected" | "Requested" | "Accepted";
2858
2842
  reason: {
2859
2843
  message: string;
2860
2844
  isDuplicate?: boolean | undefined;
2861
2845
  };
2862
2846
  transactionId: string;
2863
- createdByUserType: "system" | "user";
2864
2847
  createdAt: string;
2865
2848
  createdBy: string;
2866
2849
  createdByRole: string;
@@ -2907,7 +2890,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2907
2890
  originalFilename: string;
2908
2891
  }[] | [string, string] | null | undefined>;
2909
2892
  createdBySignature?: string | null | undefined;
2910
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2893
+ createdAtLocation?: string | null | undefined;
2911
2894
  annotation?: Record<string, string | number | boolean | {
2912
2895
  type: string;
2913
2896
  filename: string;
@@ -2949,8 +2932,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2949
2932
  option: string;
2950
2933
  filename: string;
2951
2934
  originalFilename: string;
2952
- }[] | [string, string] | null | undefined> | null | undefined;
2953
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2935
+ }[] | [string, string] | null | undefined> | undefined;
2936
+ originalActionId?: string | undefined;
2954
2937
  }, {
2955
2938
  type: "REJECT";
2956
2939
  id: string;
@@ -2960,7 +2943,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2960
2943
  isDuplicate?: boolean | undefined;
2961
2944
  };
2962
2945
  transactionId: string;
2963
- createdByUserType: "system" | "user";
2964
2946
  createdAt: string;
2965
2947
  createdBy: string;
2966
2948
  createdByRole: string;
@@ -3049,17 +3031,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3049
3031
  option: string;
3050
3032
  filename: string;
3051
3033
  originalFilename: string;
3052
- }[] | [string, string] | null | undefined> | null | undefined;
3053
- originalActionId?: string | null | undefined;
3034
+ }[] | [string, string] | null | undefined> | undefined;
3035
+ originalActionId?: string | undefined;
3054
3036
  }>, z.ZodObject<z.objectUtil.extendShape<{
3055
- id: z.ZodBranded<z.ZodString, "UUID">;
3037
+ id: z.ZodString;
3056
3038
  transactionId: z.ZodString;
3057
- createdByUserType: z.ZodEnum<["user", "system"]>;
3058
3039
  createdAt: z.ZodString;
3059
3040
  createdBy: z.ZodString;
3060
3041
  createdByRole: z.ZodString;
3061
3042
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3062
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3043
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3063
3044
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3064
3045
  filename: z.ZodString;
3065
3046
  originalFilename: z.ZodString;
@@ -3186,7 +3167,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3186
3167
  surname: string;
3187
3168
  middlename?: string | null | undefined;
3188
3169
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3189
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3170
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3190
3171
  filename: z.ZodString;
3191
3172
  originalFilename: z.ZodString;
3192
3173
  type: z.ZodString;
@@ -3311,17 +3292,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3311
3292
  firstname: string;
3312
3293
  surname: string;
3313
3294
  middlename?: string | null | undefined;
3314
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3295
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3315
3296
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3316
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3297
+ originalActionId: z.ZodOptional<z.ZodString>;
3317
3298
  }, {
3318
3299
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
3319
3300
  }>, "strip", z.ZodTypeAny, {
3320
3301
  type: "MARKED_AS_DUPLICATE";
3321
- id: string & z.BRAND<"UUID">;
3302
+ id: string;
3322
3303
  status: "Rejected" | "Requested" | "Accepted";
3323
3304
  transactionId: string;
3324
- createdByUserType: "system" | "user";
3325
3305
  createdAt: string;
3326
3306
  createdBy: string;
3327
3307
  createdByRole: string;
@@ -3368,7 +3348,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3368
3348
  originalFilename: string;
3369
3349
  }[] | [string, string] | null | undefined>;
3370
3350
  createdBySignature?: string | null | undefined;
3371
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3351
+ createdAtLocation?: string | null | undefined;
3372
3352
  annotation?: Record<string, string | number | boolean | {
3373
3353
  type: string;
3374
3354
  filename: string;
@@ -3410,14 +3390,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3410
3390
  option: string;
3411
3391
  filename: string;
3412
3392
  originalFilename: string;
3413
- }[] | [string, string] | null | undefined> | null | undefined;
3414
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3393
+ }[] | [string, string] | null | undefined> | undefined;
3394
+ originalActionId?: string | undefined;
3415
3395
  }, {
3416
3396
  type: "MARKED_AS_DUPLICATE";
3417
3397
  id: string;
3418
3398
  status: "Rejected" | "Requested" | "Accepted";
3419
3399
  transactionId: string;
3420
- createdByUserType: "system" | "user";
3421
3400
  createdAt: string;
3422
3401
  createdBy: string;
3423
3402
  createdByRole: string;
@@ -3506,17 +3485,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3506
3485
  option: string;
3507
3486
  filename: string;
3508
3487
  originalFilename: string;
3509
- }[] | [string, string] | null | undefined> | null | undefined;
3510
- originalActionId?: string | null | undefined;
3488
+ }[] | [string, string] | null | undefined> | undefined;
3489
+ originalActionId?: string | undefined;
3511
3490
  }>, z.ZodObject<z.objectUtil.extendShape<{
3512
- id: z.ZodBranded<z.ZodString, "UUID">;
3491
+ id: z.ZodString;
3513
3492
  transactionId: z.ZodString;
3514
- createdByUserType: z.ZodEnum<["user", "system"]>;
3515
3493
  createdAt: z.ZodString;
3516
3494
  createdBy: z.ZodString;
3517
3495
  createdByRole: z.ZodString;
3518
3496
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3519
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3497
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3520
3498
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3521
3499
  filename: z.ZodString;
3522
3500
  originalFilename: z.ZodString;
@@ -3643,7 +3621,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3643
3621
  surname: string;
3644
3622
  middlename?: string | null | undefined;
3645
3623
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3646
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3624
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3647
3625
  filename: z.ZodString;
3648
3626
  originalFilename: z.ZodString;
3649
3627
  type: z.ZodString;
@@ -3768,9 +3746,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3768
3746
  firstname: string;
3769
3747
  surname: string;
3770
3748
  middlename?: string | null | undefined;
3771
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3749
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3772
3750
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3773
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3751
+ originalActionId: z.ZodOptional<z.ZodString>;
3774
3752
  }, {
3775
3753
  type: z.ZodLiteral<"ARCHIVE">;
3776
3754
  reason: z.ZodObject<{
@@ -3785,14 +3763,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3785
3763
  }>;
3786
3764
  }>, "strip", z.ZodTypeAny, {
3787
3765
  type: "ARCHIVE";
3788
- id: string & z.BRAND<"UUID">;
3766
+ id: string;
3789
3767
  status: "Rejected" | "Requested" | "Accepted";
3790
3768
  reason: {
3791
3769
  message: string;
3792
3770
  isDuplicate?: boolean | undefined;
3793
3771
  };
3794
3772
  transactionId: string;
3795
- createdByUserType: "system" | "user";
3796
3773
  createdAt: string;
3797
3774
  createdBy: string;
3798
3775
  createdByRole: string;
@@ -3839,7 +3816,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3839
3816
  originalFilename: string;
3840
3817
  }[] | [string, string] | null | undefined>;
3841
3818
  createdBySignature?: string | null | undefined;
3842
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3819
+ createdAtLocation?: string | null | undefined;
3843
3820
  annotation?: Record<string, string | number | boolean | {
3844
3821
  type: string;
3845
3822
  filename: string;
@@ -3881,8 +3858,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3881
3858
  option: string;
3882
3859
  filename: string;
3883
3860
  originalFilename: string;
3884
- }[] | [string, string] | null | undefined> | null | undefined;
3885
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3861
+ }[] | [string, string] | null | undefined> | undefined;
3862
+ originalActionId?: string | undefined;
3886
3863
  }, {
3887
3864
  type: "ARCHIVE";
3888
3865
  id: string;
@@ -3892,7 +3869,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3892
3869
  isDuplicate?: boolean | undefined;
3893
3870
  };
3894
3871
  transactionId: string;
3895
- createdByUserType: "system" | "user";
3896
3872
  createdAt: string;
3897
3873
  createdBy: string;
3898
3874
  createdByRole: string;
@@ -3981,17 +3957,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3981
3957
  option: string;
3982
3958
  filename: string;
3983
3959
  originalFilename: string;
3984
- }[] | [string, string] | null | undefined> | null | undefined;
3985
- originalActionId?: string | null | undefined;
3960
+ }[] | [string, string] | null | undefined> | undefined;
3961
+ originalActionId?: string | undefined;
3986
3962
  }>, z.ZodObject<z.objectUtil.extendShape<{
3987
- id: z.ZodBranded<z.ZodString, "UUID">;
3963
+ id: z.ZodString;
3988
3964
  transactionId: z.ZodString;
3989
- createdByUserType: z.ZodEnum<["user", "system"]>;
3990
3965
  createdAt: z.ZodString;
3991
3966
  createdBy: z.ZodString;
3992
3967
  createdByRole: z.ZodString;
3993
3968
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3994
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3969
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3995
3970
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3996
3971
  filename: z.ZodString;
3997
3972
  originalFilename: z.ZodString;
@@ -4118,7 +4093,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4118
4093
  surname: string;
4119
4094
  middlename?: string | null | undefined;
4120
4095
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4121
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4096
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4122
4097
  filename: z.ZodString;
4123
4098
  originalFilename: z.ZodString;
4124
4099
  type: z.ZodString;
@@ -4243,17 +4218,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4243
4218
  firstname: string;
4244
4219
  surname: string;
4245
4220
  middlename?: string | null | undefined;
4246
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4221
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4247
4222
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4248
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4223
+ originalActionId: z.ZodOptional<z.ZodString>;
4249
4224
  }, {
4250
4225
  type: z.ZodLiteral<"NOTIFY">;
4251
4226
  }>, "strip", z.ZodTypeAny, {
4252
4227
  type: "NOTIFY";
4253
- id: string & z.BRAND<"UUID">;
4228
+ id: string;
4254
4229
  status: "Rejected" | "Requested" | "Accepted";
4255
4230
  transactionId: string;
4256
- createdByUserType: "system" | "user";
4257
4231
  createdAt: string;
4258
4232
  createdBy: string;
4259
4233
  createdByRole: string;
@@ -4300,7 +4274,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4300
4274
  originalFilename: string;
4301
4275
  }[] | [string, string] | null | undefined>;
4302
4276
  createdBySignature?: string | null | undefined;
4303
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4277
+ createdAtLocation?: string | null | undefined;
4304
4278
  annotation?: Record<string, string | number | boolean | {
4305
4279
  type: string;
4306
4280
  filename: string;
@@ -4342,14 +4316,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4342
4316
  option: string;
4343
4317
  filename: string;
4344
4318
  originalFilename: string;
4345
- }[] | [string, string] | null | undefined> | null | undefined;
4346
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4319
+ }[] | [string, string] | null | undefined> | undefined;
4320
+ originalActionId?: string | undefined;
4347
4321
  }, {
4348
4322
  type: "NOTIFY";
4349
4323
  id: string;
4350
4324
  status: "Rejected" | "Requested" | "Accepted";
4351
4325
  transactionId: string;
4352
- createdByUserType: "system" | "user";
4353
4326
  createdAt: string;
4354
4327
  createdBy: string;
4355
4328
  createdByRole: string;
@@ -4438,17 +4411,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4438
4411
  option: string;
4439
4412
  filename: string;
4440
4413
  originalFilename: string;
4441
- }[] | [string, string] | null | undefined> | null | undefined;
4442
- originalActionId?: string | null | undefined;
4414
+ }[] | [string, string] | null | undefined> | undefined;
4415
+ originalActionId?: string | undefined;
4443
4416
  }>, z.ZodObject<z.objectUtil.extendShape<{
4444
- id: z.ZodBranded<z.ZodString, "UUID">;
4417
+ id: z.ZodString;
4445
4418
  transactionId: z.ZodString;
4446
- createdByUserType: z.ZodEnum<["user", "system"]>;
4447
4419
  createdAt: z.ZodString;
4448
4420
  createdBy: z.ZodString;
4449
4421
  createdByRole: z.ZodString;
4450
4422
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4451
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4423
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4452
4424
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4453
4425
  filename: z.ZodString;
4454
4426
  originalFilename: z.ZodString;
@@ -4575,7 +4547,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4575
4547
  surname: string;
4576
4548
  middlename?: string | null | undefined;
4577
4549
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4578
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4550
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4579
4551
  filename: z.ZodString;
4580
4552
  originalFilename: z.ZodString;
4581
4553
  type: z.ZodString;
@@ -4700,18 +4672,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4700
4672
  firstname: string;
4701
4673
  surname: string;
4702
4674
  middlename?: string | null | undefined;
4703
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4675
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4704
4676
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4705
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4677
+ originalActionId: z.ZodOptional<z.ZodString>;
4706
4678
  }, {
4707
4679
  type: z.ZodLiteral<"REGISTER">;
4708
4680
  registrationNumber: z.ZodOptional<z.ZodString>;
4709
4681
  }>, "strip", z.ZodTypeAny, {
4710
4682
  type: "REGISTER";
4711
- id: string & z.BRAND<"UUID">;
4683
+ id: string;
4712
4684
  status: "Rejected" | "Requested" | "Accepted";
4713
4685
  transactionId: string;
4714
- createdByUserType: "system" | "user";
4715
4686
  createdAt: string;
4716
4687
  createdBy: string;
4717
4688
  createdByRole: string;
@@ -4758,7 +4729,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4758
4729
  originalFilename: string;
4759
4730
  }[] | [string, string] | null | undefined>;
4760
4731
  createdBySignature?: string | null | undefined;
4761
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4732
+ createdAtLocation?: string | null | undefined;
4762
4733
  annotation?: Record<string, string | number | boolean | {
4763
4734
  type: string;
4764
4735
  filename: string;
@@ -4800,15 +4771,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4800
4771
  option: string;
4801
4772
  filename: string;
4802
4773
  originalFilename: string;
4803
- }[] | [string, string] | null | undefined> | null | undefined;
4804
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4774
+ }[] | [string, string] | null | undefined> | undefined;
4775
+ originalActionId?: string | undefined;
4805
4776
  registrationNumber?: string | undefined;
4806
4777
  }, {
4807
4778
  type: "REGISTER";
4808
4779
  id: string;
4809
4780
  status: "Rejected" | "Requested" | "Accepted";
4810
4781
  transactionId: string;
4811
- createdByUserType: "system" | "user";
4812
4782
  createdAt: string;
4813
4783
  createdBy: string;
4814
4784
  createdByRole: string;
@@ -4897,18 +4867,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4897
4867
  option: string;
4898
4868
  filename: string;
4899
4869
  originalFilename: string;
4900
- }[] | [string, string] | null | undefined> | null | undefined;
4901
- originalActionId?: string | null | undefined;
4870
+ }[] | [string, string] | null | undefined> | undefined;
4871
+ originalActionId?: string | undefined;
4902
4872
  registrationNumber?: string | undefined;
4903
4873
  }>, z.ZodObject<z.objectUtil.extendShape<{
4904
- id: z.ZodBranded<z.ZodString, "UUID">;
4874
+ id: z.ZodString;
4905
4875
  transactionId: z.ZodString;
4906
- createdByUserType: z.ZodEnum<["user", "system"]>;
4907
4876
  createdAt: z.ZodString;
4908
4877
  createdBy: z.ZodString;
4909
4878
  createdByRole: z.ZodString;
4910
4879
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4911
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4880
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4912
4881
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4913
4882
  filename: z.ZodString;
4914
4883
  originalFilename: z.ZodString;
@@ -5035,7 +5004,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5035
5004
  surname: string;
5036
5005
  middlename?: string | null | undefined;
5037
5006
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5038
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5007
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5039
5008
  filename: z.ZodString;
5040
5009
  originalFilename: z.ZodString;
5041
5010
  type: z.ZodString;
@@ -5160,17 +5129,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5160
5129
  firstname: string;
5161
5130
  surname: string;
5162
5131
  middlename?: string | null | undefined;
5163
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5132
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5164
5133
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5165
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5134
+ originalActionId: z.ZodOptional<z.ZodString>;
5166
5135
  }, {
5167
5136
  type: z.ZodLiteral<"DECLARE">;
5168
5137
  }>, "strip", z.ZodTypeAny, {
5169
5138
  type: "DECLARE";
5170
- id: string & z.BRAND<"UUID">;
5139
+ id: string;
5171
5140
  status: "Rejected" | "Requested" | "Accepted";
5172
5141
  transactionId: string;
5173
- createdByUserType: "system" | "user";
5174
5142
  createdAt: string;
5175
5143
  createdBy: string;
5176
5144
  createdByRole: string;
@@ -5217,7 +5185,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5217
5185
  originalFilename: string;
5218
5186
  }[] | [string, string] | null | undefined>;
5219
5187
  createdBySignature?: string | null | undefined;
5220
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5188
+ createdAtLocation?: string | null | undefined;
5221
5189
  annotation?: Record<string, string | number | boolean | {
5222
5190
  type: string;
5223
5191
  filename: string;
@@ -5259,14 +5227,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5259
5227
  option: string;
5260
5228
  filename: string;
5261
5229
  originalFilename: string;
5262
- }[] | [string, string] | null | undefined> | null | undefined;
5263
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5230
+ }[] | [string, string] | null | undefined> | undefined;
5231
+ originalActionId?: string | undefined;
5264
5232
  }, {
5265
5233
  type: "DECLARE";
5266
5234
  id: string;
5267
5235
  status: "Rejected" | "Requested" | "Accepted";
5268
5236
  transactionId: string;
5269
- createdByUserType: "system" | "user";
5270
5237
  createdAt: string;
5271
5238
  createdBy: string;
5272
5239
  createdByRole: string;
@@ -5355,17 +5322,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5355
5322
  option: string;
5356
5323
  filename: string;
5357
5324
  originalFilename: string;
5358
- }[] | [string, string] | null | undefined> | null | undefined;
5359
- originalActionId?: string | null | undefined;
5325
+ }[] | [string, string] | null | undefined> | undefined;
5326
+ originalActionId?: string | undefined;
5360
5327
  }>, z.ZodObject<z.objectUtil.extendShape<{
5361
- id: z.ZodBranded<z.ZodString, "UUID">;
5328
+ id: z.ZodString;
5362
5329
  transactionId: z.ZodString;
5363
- createdByUserType: z.ZodEnum<["user", "system"]>;
5364
5330
  createdAt: z.ZodString;
5365
5331
  createdBy: z.ZodString;
5366
5332
  createdByRole: z.ZodString;
5367
5333
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5368
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5334
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5369
5335
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5370
5336
  filename: z.ZodString;
5371
5337
  originalFilename: z.ZodString;
@@ -5492,7 +5458,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5492
5458
  surname: string;
5493
5459
  middlename?: string | null | undefined;
5494
5460
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5495
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5461
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5496
5462
  filename: z.ZodString;
5497
5463
  originalFilename: z.ZodString;
5498
5464
  type: z.ZodString;
@@ -5617,18 +5583,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5617
5583
  firstname: string;
5618
5584
  surname: string;
5619
5585
  middlename?: string | null | undefined;
5620
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5586
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5621
5587
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5622
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5588
+ originalActionId: z.ZodOptional<z.ZodString>;
5623
5589
  }, {
5624
5590
  type: z.ZodLiteral<"ASSIGN">;
5625
5591
  assignedTo: z.ZodString;
5626
5592
  }>, "strip", z.ZodTypeAny, {
5627
5593
  type: "ASSIGN";
5628
- id: string & z.BRAND<"UUID">;
5594
+ id: string;
5629
5595
  status: "Rejected" | "Requested" | "Accepted";
5630
5596
  transactionId: string;
5631
- createdByUserType: "system" | "user";
5632
5597
  createdAt: string;
5633
5598
  createdBy: string;
5634
5599
  createdByRole: string;
@@ -5676,7 +5641,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5676
5641
  }[] | [string, string] | null | undefined>;
5677
5642
  assignedTo: string;
5678
5643
  createdBySignature?: string | null | undefined;
5679
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5644
+ createdAtLocation?: string | null | undefined;
5680
5645
  annotation?: Record<string, string | number | boolean | {
5681
5646
  type: string;
5682
5647
  filename: string;
@@ -5718,14 +5683,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5718
5683
  option: string;
5719
5684
  filename: string;
5720
5685
  originalFilename: string;
5721
- }[] | [string, string] | null | undefined> | null | undefined;
5722
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5686
+ }[] | [string, string] | null | undefined> | undefined;
5687
+ originalActionId?: string | undefined;
5723
5688
  }, {
5724
5689
  type: "ASSIGN";
5725
5690
  id: string;
5726
5691
  status: "Rejected" | "Requested" | "Accepted";
5727
5692
  transactionId: string;
5728
- createdByUserType: "system" | "user";
5729
5693
  createdAt: string;
5730
5694
  createdBy: string;
5731
5695
  createdByRole: string;
@@ -5815,17 +5779,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5815
5779
  option: string;
5816
5780
  filename: string;
5817
5781
  originalFilename: string;
5818
- }[] | [string, string] | null | undefined> | null | undefined;
5819
- originalActionId?: string | null | undefined;
5782
+ }[] | [string, string] | null | undefined> | undefined;
5783
+ originalActionId?: string | undefined;
5820
5784
  }>, z.ZodObject<z.objectUtil.extendShape<{
5821
- id: z.ZodBranded<z.ZodString, "UUID">;
5785
+ id: z.ZodString;
5822
5786
  transactionId: z.ZodString;
5823
- createdByUserType: z.ZodEnum<["user", "system"]>;
5824
5787
  createdAt: z.ZodString;
5825
5788
  createdBy: z.ZodString;
5826
5789
  createdByRole: z.ZodString;
5827
5790
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5828
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5791
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5829
5792
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5830
5793
  filename: z.ZodString;
5831
5794
  originalFilename: z.ZodString;
@@ -5952,7 +5915,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5952
5915
  surname: string;
5953
5916
  middlename?: string | null | undefined;
5954
5917
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5955
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5918
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5956
5919
  filename: z.ZodString;
5957
5920
  originalFilename: z.ZodString;
5958
5921
  type: z.ZodString;
@@ -6077,17 +6040,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6077
6040
  firstname: string;
6078
6041
  surname: string;
6079
6042
  middlename?: string | null | undefined;
6080
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6043
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6081
6044
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6082
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6045
+ originalActionId: z.ZodOptional<z.ZodString>;
6083
6046
  }, {
6084
6047
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
6085
6048
  }>, "strip", z.ZodTypeAny, {
6086
6049
  type: "REQUEST_CORRECTION";
6087
- id: string & z.BRAND<"UUID">;
6050
+ id: string;
6088
6051
  status: "Rejected" | "Requested" | "Accepted";
6089
6052
  transactionId: string;
6090
- createdByUserType: "system" | "user";
6091
6053
  createdAt: string;
6092
6054
  createdBy: string;
6093
6055
  createdByRole: string;
@@ -6134,7 +6096,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6134
6096
  originalFilename: string;
6135
6097
  }[] | [string, string] | null | undefined>;
6136
6098
  createdBySignature?: string | null | undefined;
6137
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6099
+ createdAtLocation?: string | null | undefined;
6138
6100
  annotation?: Record<string, string | number | boolean | {
6139
6101
  type: string;
6140
6102
  filename: string;
@@ -6176,14 +6138,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6176
6138
  option: string;
6177
6139
  filename: string;
6178
6140
  originalFilename: string;
6179
- }[] | [string, string] | null | undefined> | null | undefined;
6180
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6141
+ }[] | [string, string] | null | undefined> | undefined;
6142
+ originalActionId?: string | undefined;
6181
6143
  }, {
6182
6144
  type: "REQUEST_CORRECTION";
6183
6145
  id: string;
6184
6146
  status: "Rejected" | "Requested" | "Accepted";
6185
6147
  transactionId: string;
6186
- createdByUserType: "system" | "user";
6187
6148
  createdAt: string;
6188
6149
  createdBy: string;
6189
6150
  createdByRole: string;
@@ -6272,17 +6233,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6272
6233
  option: string;
6273
6234
  filename: string;
6274
6235
  originalFilename: string;
6275
- }[] | [string, string] | null | undefined> | null | undefined;
6276
- originalActionId?: string | null | undefined;
6236
+ }[] | [string, string] | null | undefined> | undefined;
6237
+ originalActionId?: string | undefined;
6277
6238
  }>, z.ZodObject<z.objectUtil.extendShape<{
6278
- id: z.ZodBranded<z.ZodString, "UUID">;
6239
+ id: z.ZodString;
6279
6240
  transactionId: z.ZodString;
6280
- createdByUserType: z.ZodEnum<["user", "system"]>;
6281
6241
  createdAt: z.ZodString;
6282
6242
  createdBy: z.ZodString;
6283
6243
  createdByRole: z.ZodString;
6284
6244
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6285
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6245
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6286
6246
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6287
6247
  filename: z.ZodString;
6288
6248
  originalFilename: z.ZodString;
@@ -6409,7 +6369,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6409
6369
  surname: string;
6410
6370
  middlename?: string | null | undefined;
6411
6371
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6412
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6372
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6413
6373
  filename: z.ZodString;
6414
6374
  originalFilename: z.ZodString;
6415
6375
  type: z.ZodString;
@@ -6534,18 +6494,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6534
6494
  firstname: string;
6535
6495
  surname: string;
6536
6496
  middlename?: string | null | undefined;
6537
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6497
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6538
6498
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6539
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6499
+ originalActionId: z.ZodOptional<z.ZodString>;
6540
6500
  }, {
6541
6501
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
6542
6502
  requestId: z.ZodString;
6543
6503
  }>, "strip", z.ZodTypeAny, {
6544
6504
  type: "APPROVE_CORRECTION";
6545
- id: string & z.BRAND<"UUID">;
6505
+ id: string;
6546
6506
  status: "Rejected" | "Requested" | "Accepted";
6547
6507
  transactionId: string;
6548
- createdByUserType: "system" | "user";
6549
6508
  createdAt: string;
6550
6509
  createdBy: string;
6551
6510
  createdByRole: string;
@@ -6593,7 +6552,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6593
6552
  }[] | [string, string] | null | undefined>;
6594
6553
  requestId: string;
6595
6554
  createdBySignature?: string | null | undefined;
6596
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6555
+ createdAtLocation?: string | null | undefined;
6597
6556
  annotation?: Record<string, string | number | boolean | {
6598
6557
  type: string;
6599
6558
  filename: string;
@@ -6635,14 +6594,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6635
6594
  option: string;
6636
6595
  filename: string;
6637
6596
  originalFilename: string;
6638
- }[] | [string, string] | null | undefined> | null | undefined;
6639
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6597
+ }[] | [string, string] | null | undefined> | undefined;
6598
+ originalActionId?: string | undefined;
6640
6599
  }, {
6641
6600
  type: "APPROVE_CORRECTION";
6642
6601
  id: string;
6643
6602
  status: "Rejected" | "Requested" | "Accepted";
6644
6603
  transactionId: string;
6645
- createdByUserType: "system" | "user";
6646
6604
  createdAt: string;
6647
6605
  createdBy: string;
6648
6606
  createdByRole: string;
@@ -6732,17 +6690,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6732
6690
  option: string;
6733
6691
  filename: string;
6734
6692
  originalFilename: string;
6735
- }[] | [string, string] | null | undefined> | null | undefined;
6736
- originalActionId?: string | null | undefined;
6693
+ }[] | [string, string] | null | undefined> | undefined;
6694
+ originalActionId?: string | undefined;
6737
6695
  }>, z.ZodObject<z.objectUtil.extendShape<{
6738
- id: z.ZodBranded<z.ZodString, "UUID">;
6696
+ id: z.ZodString;
6739
6697
  transactionId: z.ZodString;
6740
- createdByUserType: z.ZodEnum<["user", "system"]>;
6741
6698
  createdAt: z.ZodString;
6742
6699
  createdBy: z.ZodString;
6743
6700
  createdByRole: z.ZodString;
6744
6701
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6745
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6702
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6746
6703
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6747
6704
  filename: z.ZodString;
6748
6705
  originalFilename: z.ZodString;
@@ -6869,7 +6826,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6869
6826
  surname: string;
6870
6827
  middlename?: string | null | undefined;
6871
6828
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6872
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6829
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6873
6830
  filename: z.ZodString;
6874
6831
  originalFilename: z.ZodString;
6875
6832
  type: z.ZodString;
@@ -6994,18 +6951,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6994
6951
  firstname: string;
6995
6952
  surname: string;
6996
6953
  middlename?: string | null | undefined;
6997
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6954
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6998
6955
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6999
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6956
+ originalActionId: z.ZodOptional<z.ZodString>;
7000
6957
  }, {
7001
6958
  type: z.ZodLiteral<"REJECT_CORRECTION">;
7002
6959
  requestId: z.ZodString;
7003
6960
  }>, "strip", z.ZodTypeAny, {
7004
6961
  type: "REJECT_CORRECTION";
7005
- id: string & z.BRAND<"UUID">;
6962
+ id: string;
7006
6963
  status: "Rejected" | "Requested" | "Accepted";
7007
6964
  transactionId: string;
7008
- createdByUserType: "system" | "user";
7009
6965
  createdAt: string;
7010
6966
  createdBy: string;
7011
6967
  createdByRole: string;
@@ -7053,7 +7009,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7053
7009
  }[] | [string, string] | null | undefined>;
7054
7010
  requestId: string;
7055
7011
  createdBySignature?: string | null | undefined;
7056
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7012
+ createdAtLocation?: string | null | undefined;
7057
7013
  annotation?: Record<string, string | number | boolean | {
7058
7014
  type: string;
7059
7015
  filename: string;
@@ -7095,14 +7051,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7095
7051
  option: string;
7096
7052
  filename: string;
7097
7053
  originalFilename: string;
7098
- }[] | [string, string] | null | undefined> | null | undefined;
7099
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7054
+ }[] | [string, string] | null | undefined> | undefined;
7055
+ originalActionId?: string | undefined;
7100
7056
  }, {
7101
7057
  type: "REJECT_CORRECTION";
7102
7058
  id: string;
7103
7059
  status: "Rejected" | "Requested" | "Accepted";
7104
7060
  transactionId: string;
7105
- createdByUserType: "system" | "user";
7106
7061
  createdAt: string;
7107
7062
  createdBy: string;
7108
7063
  createdByRole: string;
@@ -7192,17 +7147,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7192
7147
  option: string;
7193
7148
  filename: string;
7194
7149
  originalFilename: string;
7195
- }[] | [string, string] | null | undefined> | null | undefined;
7196
- originalActionId?: string | null | undefined;
7150
+ }[] | [string, string] | null | undefined> | undefined;
7151
+ originalActionId?: string | undefined;
7197
7152
  }>, z.ZodObject<z.objectUtil.extendShape<{
7198
- id: z.ZodBranded<z.ZodString, "UUID">;
7153
+ id: z.ZodString;
7199
7154
  transactionId: z.ZodString;
7200
- createdByUserType: z.ZodEnum<["user", "system"]>;
7201
7155
  createdAt: z.ZodString;
7202
7156
  createdBy: z.ZodString;
7203
7157
  createdByRole: z.ZodString;
7204
7158
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7205
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7159
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7206
7160
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7207
7161
  filename: z.ZodString;
7208
7162
  originalFilename: z.ZodString;
@@ -7329,7 +7283,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7329
7283
  surname: string;
7330
7284
  middlename?: string | null | undefined;
7331
7285
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7332
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7286
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7333
7287
  filename: z.ZodString;
7334
7288
  originalFilename: z.ZodString;
7335
7289
  type: z.ZodString;
@@ -7454,17 +7408,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7454
7408
  firstname: string;
7455
7409
  surname: string;
7456
7410
  middlename?: string | null | undefined;
7457
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7411
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7458
7412
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7459
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7413
+ originalActionId: z.ZodOptional<z.ZodString>;
7460
7414
  }, {
7461
7415
  type: z.ZodLiteral<"UNASSIGN">;
7416
+ assignedTo: z.ZodLiteral<null>;
7462
7417
  }>, "strip", z.ZodTypeAny, {
7463
7418
  type: "UNASSIGN";
7464
- id: string & z.BRAND<"UUID">;
7419
+ id: string;
7465
7420
  status: "Rejected" | "Requested" | "Accepted";
7466
7421
  transactionId: string;
7467
- createdByUserType: "system" | "user";
7468
7422
  createdAt: string;
7469
7423
  createdBy: string;
7470
7424
  createdByRole: string;
@@ -7510,8 +7464,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7510
7464
  filename: string;
7511
7465
  originalFilename: string;
7512
7466
  }[] | [string, string] | null | undefined>;
7467
+ assignedTo: null;
7513
7468
  createdBySignature?: string | null | undefined;
7514
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7469
+ createdAtLocation?: string | null | undefined;
7515
7470
  annotation?: Record<string, string | number | boolean | {
7516
7471
  type: string;
7517
7472
  filename: string;
@@ -7553,14 +7508,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7553
7508
  option: string;
7554
7509
  filename: string;
7555
7510
  originalFilename: string;
7556
- }[] | [string, string] | null | undefined> | null | undefined;
7557
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7511
+ }[] | [string, string] | null | undefined> | undefined;
7512
+ originalActionId?: string | undefined;
7558
7513
  }, {
7559
7514
  type: "UNASSIGN";
7560
7515
  id: string;
7561
7516
  status: "Rejected" | "Requested" | "Accepted";
7562
7517
  transactionId: string;
7563
- createdByUserType: "system" | "user";
7564
7518
  createdAt: string;
7565
7519
  createdBy: string;
7566
7520
  createdByRole: string;
@@ -7606,6 +7560,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7606
7560
  filename: string;
7607
7561
  originalFilename: string;
7608
7562
  }[] | [string, string] | null | undefined>;
7563
+ assignedTo: null;
7609
7564
  createdBySignature?: string | null | undefined;
7610
7565
  createdAtLocation?: string | null | undefined;
7611
7566
  annotation?: Record<string, string | number | boolean | {
@@ -7649,17 +7604,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7649
7604
  option: string;
7650
7605
  filename: string;
7651
7606
  originalFilename: string;
7652
- }[] | [string, string] | null | undefined> | null | undefined;
7653
- originalActionId?: string | null | undefined;
7607
+ }[] | [string, string] | null | undefined> | undefined;
7608
+ originalActionId?: string | undefined;
7654
7609
  }>, z.ZodObject<z.objectUtil.extendShape<{
7655
- id: z.ZodBranded<z.ZodString, "UUID">;
7610
+ id: z.ZodString;
7656
7611
  transactionId: z.ZodString;
7657
- createdByUserType: z.ZodEnum<["user", "system"]>;
7658
7612
  createdAt: z.ZodString;
7659
7613
  createdBy: z.ZodString;
7660
7614
  createdByRole: z.ZodString;
7661
7615
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7662
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7616
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7663
7617
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7664
7618
  filename: z.ZodString;
7665
7619
  originalFilename: z.ZodString;
@@ -7786,7 +7740,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7786
7740
  surname: string;
7787
7741
  middlename?: string | null | undefined;
7788
7742
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7789
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7743
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7790
7744
  filename: z.ZodString;
7791
7745
  originalFilename: z.ZodString;
7792
7746
  type: z.ZodString;
@@ -7911,17 +7865,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7911
7865
  firstname: string;
7912
7866
  surname: string;
7913
7867
  middlename?: string | null | undefined;
7914
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7868
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7915
7869
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7916
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7870
+ originalActionId: z.ZodOptional<z.ZodString>;
7917
7871
  }, {
7918
7872
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
7919
7873
  }>, "strip", z.ZodTypeAny, {
7920
7874
  type: "PRINT_CERTIFICATE";
7921
- id: string & z.BRAND<"UUID">;
7875
+ id: string;
7922
7876
  status: "Rejected" | "Requested" | "Accepted";
7923
7877
  transactionId: string;
7924
- createdByUserType: "system" | "user";
7925
7878
  createdAt: string;
7926
7879
  createdBy: string;
7927
7880
  createdByRole: string;
@@ -7968,7 +7921,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7968
7921
  originalFilename: string;
7969
7922
  }[] | [string, string] | null | undefined>;
7970
7923
  createdBySignature?: string | null | undefined;
7971
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7924
+ createdAtLocation?: string | null | undefined;
7972
7925
  annotation?: Record<string, string | number | boolean | {
7973
7926
  type: string;
7974
7927
  filename: string;
@@ -8010,14 +7963,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8010
7963
  option: string;
8011
7964
  filename: string;
8012
7965
  originalFilename: string;
8013
- }[] | [string, string] | null | undefined> | null | undefined;
8014
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7966
+ }[] | [string, string] | null | undefined> | undefined;
7967
+ originalActionId?: string | undefined;
8015
7968
  }, {
8016
7969
  type: "PRINT_CERTIFICATE";
8017
7970
  id: string;
8018
7971
  status: "Rejected" | "Requested" | "Accepted";
8019
7972
  transactionId: string;
8020
- createdByUserType: "system" | "user";
8021
7973
  createdAt: string;
8022
7974
  createdBy: string;
8023
7975
  createdByRole: string;
@@ -8106,17 +8058,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8106
8058
  option: string;
8107
8059
  filename: string;
8108
8060
  originalFilename: string;
8109
- }[] | [string, string] | null | undefined> | null | undefined;
8110
- originalActionId?: string | null | undefined;
8061
+ }[] | [string, string] | null | undefined> | undefined;
8062
+ originalActionId?: string | undefined;
8111
8063
  }>, z.ZodObject<z.objectUtil.extendShape<{
8112
- id: z.ZodBranded<z.ZodString, "UUID">;
8064
+ id: z.ZodString;
8113
8065
  transactionId: z.ZodString;
8114
- createdByUserType: z.ZodEnum<["user", "system"]>;
8115
8066
  createdAt: z.ZodString;
8116
8067
  createdBy: z.ZodString;
8117
8068
  createdByRole: z.ZodString;
8118
8069
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8119
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8070
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8120
8071
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8121
8072
  filename: z.ZodString;
8122
8073
  originalFilename: z.ZodString;
@@ -8243,7 +8194,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8243
8194
  surname: string;
8244
8195
  middlename?: string | null | undefined;
8245
8196
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8246
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8197
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8247
8198
  filename: z.ZodString;
8248
8199
  originalFilename: z.ZodString;
8249
8200
  type: z.ZodString;
@@ -8368,17 +8319,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8368
8319
  firstname: string;
8369
8320
  surname: string;
8370
8321
  middlename?: string | null | undefined;
8371
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
8322
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8372
8323
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8373
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8324
+ originalActionId: z.ZodOptional<z.ZodString>;
8374
8325
  }, {
8375
8326
  type: z.ZodLiteral<"READ">;
8376
8327
  }>, "strip", z.ZodTypeAny, {
8377
8328
  type: "READ";
8378
- id: string & z.BRAND<"UUID">;
8329
+ id: string;
8379
8330
  status: "Rejected" | "Requested" | "Accepted";
8380
8331
  transactionId: string;
8381
- createdByUserType: "system" | "user";
8382
8332
  createdAt: string;
8383
8333
  createdBy: string;
8384
8334
  createdByRole: string;
@@ -8425,7 +8375,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8425
8375
  originalFilename: string;
8426
8376
  }[] | [string, string] | null | undefined>;
8427
8377
  createdBySignature?: string | null | undefined;
8428
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8378
+ createdAtLocation?: string | null | undefined;
8429
8379
  annotation?: Record<string, string | number | boolean | {
8430
8380
  type: string;
8431
8381
  filename: string;
@@ -8467,14 +8417,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8467
8417
  option: string;
8468
8418
  filename: string;
8469
8419
  originalFilename: string;
8470
- }[] | [string, string] | null | undefined> | null | undefined;
8471
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8420
+ }[] | [string, string] | null | undefined> | undefined;
8421
+ originalActionId?: string | undefined;
8472
8422
  }, {
8473
8423
  type: "READ";
8474
8424
  id: string;
8475
8425
  status: "Rejected" | "Requested" | "Accepted";
8476
8426
  transactionId: string;
8477
- createdByUserType: "system" | "user";
8478
8427
  createdAt: string;
8479
8428
  createdBy: string;
8480
8429
  createdByRole: string;
@@ -8563,19 +8512,18 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8563
8512
  option: string;
8564
8513
  filename: string;
8565
8514
  originalFilename: string;
8566
- }[] | [string, string] | null | undefined> | null | undefined;
8567
- originalActionId?: string | null | undefined;
8515
+ }[] | [string, string] | null | undefined> | undefined;
8516
+ originalActionId?: string | undefined;
8568
8517
  }>]>;
8569
8518
  export type ActionDocument = z.infer<typeof ActionDocument>;
8570
8519
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
8571
- id: z.ZodBranded<z.ZodString, "UUID">;
8520
+ id: z.ZodString;
8572
8521
  transactionId: z.ZodString;
8573
- createdByUserType: z.ZodEnum<["user", "system"]>;
8574
8522
  createdAt: z.ZodString;
8575
8523
  createdBy: z.ZodString;
8576
8524
  createdByRole: z.ZodString;
8577
8525
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8578
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8526
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8579
8527
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8580
8528
  filename: z.ZodString;
8581
8529
  originalFilename: z.ZodString;
@@ -8702,7 +8650,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8702
8650
  surname: string;
8703
8651
  middlename?: string | null | undefined;
8704
8652
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8705
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8653
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8706
8654
  filename: z.ZodString;
8707
8655
  originalFilename: z.ZodString;
8708
8656
  type: z.ZodString;
@@ -8827,47 +8775,44 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8827
8775
  firstname: string;
8828
8776
  surname: string;
8829
8777
  middlename?: string | null | undefined;
8830
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
8778
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8831
8779
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8832
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8780
+ originalActionId: z.ZodOptional<z.ZodString>;
8833
8781
  }, "declaration" | "annotation">, {
8834
8782
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
8835
8783
  status: z.ZodLiteral<"Rejected">;
8836
8784
  }>, "strip", z.ZodTypeAny, {
8837
8785
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8838
- id: string & z.BRAND<"UUID">;
8786
+ id: string;
8839
8787
  status: "Rejected";
8840
8788
  transactionId: string;
8841
- createdByUserType: "system" | "user";
8842
8789
  createdAt: string;
8843
8790
  createdBy: string;
8844
8791
  createdByRole: string;
8845
8792
  createdBySignature?: string | null | undefined;
8846
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8847
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8793
+ createdAtLocation?: string | null | undefined;
8794
+ originalActionId?: string | undefined;
8848
8795
  }, {
8849
8796
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8850
8797
  id: string;
8851
8798
  status: "Rejected";
8852
8799
  transactionId: string;
8853
- createdByUserType: "system" | "user";
8854
8800
  createdAt: string;
8855
8801
  createdBy: string;
8856
8802
  createdByRole: string;
8857
8803
  createdBySignature?: string | null | undefined;
8858
8804
  createdAtLocation?: string | null | undefined;
8859
- originalActionId?: string | null | undefined;
8805
+ originalActionId?: string | undefined;
8860
8806
  }>;
8861
8807
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
8862
8808
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8863
- id: z.ZodBranded<z.ZodString, "UUID">;
8809
+ id: z.ZodString;
8864
8810
  transactionId: z.ZodString;
8865
- createdByUserType: z.ZodEnum<["user", "system"]>;
8866
8811
  createdAt: z.ZodString;
8867
8812
  createdBy: z.ZodString;
8868
8813
  createdByRole: z.ZodString;
8869
8814
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8870
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8815
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8871
8816
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8872
8817
  filename: z.ZodString;
8873
8818
  originalFilename: z.ZodString;
@@ -8994,7 +8939,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8994
8939
  surname: string;
8995
8940
  middlename?: string | null | undefined;
8996
8941
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8997
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8942
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8998
8943
  filename: z.ZodString;
8999
8944
  originalFilename: z.ZodString;
9000
8945
  type: z.ZodString;
@@ -9119,17 +9064,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9119
9064
  firstname: string;
9120
9065
  surname: string;
9121
9066
  middlename?: string | null | undefined;
9122
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
9067
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9123
9068
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9124
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9069
+ originalActionId: z.ZodOptional<z.ZodString>;
9125
9070
  }, {
9126
9071
  type: z.ZodLiteral<"CREATE">;
9127
9072
  }>, "strip", z.ZodTypeAny, {
9128
9073
  type: "CREATE";
9129
- id: string & z.BRAND<"UUID">;
9074
+ id: string;
9130
9075
  status: "Rejected" | "Requested" | "Accepted";
9131
9076
  transactionId: string;
9132
- createdByUserType: "system" | "user";
9133
9077
  createdAt: string;
9134
9078
  createdBy: string;
9135
9079
  createdByRole: string;
@@ -9176,7 +9120,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9176
9120
  originalFilename: string;
9177
9121
  }[] | [string, string] | null | undefined>;
9178
9122
  createdBySignature?: string | null | undefined;
9179
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9123
+ createdAtLocation?: string | null | undefined;
9180
9124
  annotation?: Record<string, string | number | boolean | {
9181
9125
  type: string;
9182
9126
  filename: string;
@@ -9218,14 +9162,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9218
9162
  option: string;
9219
9163
  filename: string;
9220
9164
  originalFilename: string;
9221
- }[] | [string, string] | null | undefined> | null | undefined;
9222
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9165
+ }[] | [string, string] | null | undefined> | undefined;
9166
+ originalActionId?: string | undefined;
9223
9167
  }, {
9224
9168
  type: "CREATE";
9225
9169
  id: string;
9226
9170
  status: "Rejected" | "Requested" | "Accepted";
9227
9171
  transactionId: string;
9228
- createdByUserType: "system" | "user";
9229
9172
  createdAt: string;
9230
9173
  createdBy: string;
9231
9174
  createdByRole: string;
@@ -9314,17 +9257,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9314
9257
  option: string;
9315
9258
  filename: string;
9316
9259
  originalFilename: string;
9317
- }[] | [string, string] | null | undefined> | null | undefined;
9318
- originalActionId?: string | null | undefined;
9260
+ }[] | [string, string] | null | undefined> | undefined;
9261
+ originalActionId?: string | undefined;
9319
9262
  }>, z.ZodObject<z.objectUtil.extendShape<{
9320
- id: z.ZodBranded<z.ZodString, "UUID">;
9263
+ id: z.ZodString;
9321
9264
  transactionId: z.ZodString;
9322
- createdByUserType: z.ZodEnum<["user", "system"]>;
9323
9265
  createdAt: z.ZodString;
9324
9266
  createdBy: z.ZodString;
9325
9267
  createdByRole: z.ZodString;
9326
9268
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9327
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9269
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9328
9270
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9329
9271
  filename: z.ZodString;
9330
9272
  originalFilename: z.ZodString;
@@ -9451,7 +9393,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9451
9393
  surname: string;
9452
9394
  middlename?: string | null | undefined;
9453
9395
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9454
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9396
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9455
9397
  filename: z.ZodString;
9456
9398
  originalFilename: z.ZodString;
9457
9399
  type: z.ZodString;
@@ -9576,17 +9518,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9576
9518
  firstname: string;
9577
9519
  surname: string;
9578
9520
  middlename?: string | null | undefined;
9579
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
9521
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9580
9522
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9581
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9523
+ originalActionId: z.ZodOptional<z.ZodString>;
9582
9524
  }, {
9583
9525
  type: z.ZodLiteral<"VALIDATE">;
9584
9526
  }>, "strip", z.ZodTypeAny, {
9585
9527
  type: "VALIDATE";
9586
- id: string & z.BRAND<"UUID">;
9528
+ id: string;
9587
9529
  status: "Rejected" | "Requested" | "Accepted";
9588
9530
  transactionId: string;
9589
- createdByUserType: "system" | "user";
9590
9531
  createdAt: string;
9591
9532
  createdBy: string;
9592
9533
  createdByRole: string;
@@ -9633,7 +9574,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9633
9574
  originalFilename: string;
9634
9575
  }[] | [string, string] | null | undefined>;
9635
9576
  createdBySignature?: string | null | undefined;
9636
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9577
+ createdAtLocation?: string | null | undefined;
9637
9578
  annotation?: Record<string, string | number | boolean | {
9638
9579
  type: string;
9639
9580
  filename: string;
@@ -9675,14 +9616,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9675
9616
  option: string;
9676
9617
  filename: string;
9677
9618
  originalFilename: string;
9678
- }[] | [string, string] | null | undefined> | null | undefined;
9679
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9619
+ }[] | [string, string] | null | undefined> | undefined;
9620
+ originalActionId?: string | undefined;
9680
9621
  }, {
9681
9622
  type: "VALIDATE";
9682
9623
  id: string;
9683
9624
  status: "Rejected" | "Requested" | "Accepted";
9684
9625
  transactionId: string;
9685
- createdByUserType: "system" | "user";
9686
9626
  createdAt: string;
9687
9627
  createdBy: string;
9688
9628
  createdByRole: string;
@@ -9771,17 +9711,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9771
9711
  option: string;
9772
9712
  filename: string;
9773
9713
  originalFilename: string;
9774
- }[] | [string, string] | null | undefined> | null | undefined;
9775
- originalActionId?: string | null | undefined;
9714
+ }[] | [string, string] | null | undefined> | undefined;
9715
+ originalActionId?: string | undefined;
9776
9716
  }>, z.ZodObject<z.objectUtil.extendShape<{
9777
- id: z.ZodBranded<z.ZodString, "UUID">;
9717
+ id: z.ZodString;
9778
9718
  transactionId: z.ZodString;
9779
- createdByUserType: z.ZodEnum<["user", "system"]>;
9780
9719
  createdAt: z.ZodString;
9781
9720
  createdBy: z.ZodString;
9782
9721
  createdByRole: z.ZodString;
9783
9722
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9784
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9723
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9785
9724
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9786
9725
  filename: z.ZodString;
9787
9726
  originalFilename: z.ZodString;
@@ -9908,7 +9847,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9908
9847
  surname: string;
9909
9848
  middlename?: string | null | undefined;
9910
9849
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9911
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9850
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9912
9851
  filename: z.ZodString;
9913
9852
  originalFilename: z.ZodString;
9914
9853
  type: z.ZodString;
@@ -10033,9 +9972,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10033
9972
  firstname: string;
10034
9973
  surname: string;
10035
9974
  middlename?: string | null | undefined;
10036
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
9975
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10037
9976
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10038
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9977
+ originalActionId: z.ZodOptional<z.ZodString>;
10039
9978
  }, {
10040
9979
  type: z.ZodLiteral<"REJECT">;
10041
9980
  reason: z.ZodObject<{
@@ -10050,14 +9989,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10050
9989
  }>;
10051
9990
  }>, "strip", z.ZodTypeAny, {
10052
9991
  type: "REJECT";
10053
- id: string & z.BRAND<"UUID">;
9992
+ id: string;
10054
9993
  status: "Rejected" | "Requested" | "Accepted";
10055
9994
  reason: {
10056
9995
  message: string;
10057
9996
  isDuplicate?: boolean | undefined;
10058
9997
  };
10059
9998
  transactionId: string;
10060
- createdByUserType: "system" | "user";
10061
9999
  createdAt: string;
10062
10000
  createdBy: string;
10063
10001
  createdByRole: string;
@@ -10104,7 +10042,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10104
10042
  originalFilename: string;
10105
10043
  }[] | [string, string] | null | undefined>;
10106
10044
  createdBySignature?: string | null | undefined;
10107
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10045
+ createdAtLocation?: string | null | undefined;
10108
10046
  annotation?: Record<string, string | number | boolean | {
10109
10047
  type: string;
10110
10048
  filename: string;
@@ -10146,8 +10084,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10146
10084
  option: string;
10147
10085
  filename: string;
10148
10086
  originalFilename: string;
10149
- }[] | [string, string] | null | undefined> | null | undefined;
10150
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10087
+ }[] | [string, string] | null | undefined> | undefined;
10088
+ originalActionId?: string | undefined;
10151
10089
  }, {
10152
10090
  type: "REJECT";
10153
10091
  id: string;
@@ -10157,7 +10095,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10157
10095
  isDuplicate?: boolean | undefined;
10158
10096
  };
10159
10097
  transactionId: string;
10160
- createdByUserType: "system" | "user";
10161
10098
  createdAt: string;
10162
10099
  createdBy: string;
10163
10100
  createdByRole: string;
@@ -10246,17 +10183,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10246
10183
  option: string;
10247
10184
  filename: string;
10248
10185
  originalFilename: string;
10249
- }[] | [string, string] | null | undefined> | null | undefined;
10250
- originalActionId?: string | null | undefined;
10186
+ }[] | [string, string] | null | undefined> | undefined;
10187
+ originalActionId?: string | undefined;
10251
10188
  }>, z.ZodObject<z.objectUtil.extendShape<{
10252
- id: z.ZodBranded<z.ZodString, "UUID">;
10189
+ id: z.ZodString;
10253
10190
  transactionId: z.ZodString;
10254
- createdByUserType: z.ZodEnum<["user", "system"]>;
10255
10191
  createdAt: z.ZodString;
10256
10192
  createdBy: z.ZodString;
10257
10193
  createdByRole: z.ZodString;
10258
10194
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10259
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10195
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10260
10196
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10261
10197
  filename: z.ZodString;
10262
10198
  originalFilename: z.ZodString;
@@ -10383,7 +10319,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10383
10319
  surname: string;
10384
10320
  middlename?: string | null | undefined;
10385
10321
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10386
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10322
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10387
10323
  filename: z.ZodString;
10388
10324
  originalFilename: z.ZodString;
10389
10325
  type: z.ZodString;
@@ -10508,17 +10444,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10508
10444
  firstname: string;
10509
10445
  surname: string;
10510
10446
  middlename?: string | null | undefined;
10511
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
10447
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10512
10448
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10513
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10449
+ originalActionId: z.ZodOptional<z.ZodString>;
10514
10450
  }, {
10515
10451
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
10516
10452
  }>, "strip", z.ZodTypeAny, {
10517
10453
  type: "MARKED_AS_DUPLICATE";
10518
- id: string & z.BRAND<"UUID">;
10454
+ id: string;
10519
10455
  status: "Rejected" | "Requested" | "Accepted";
10520
10456
  transactionId: string;
10521
- createdByUserType: "system" | "user";
10522
10457
  createdAt: string;
10523
10458
  createdBy: string;
10524
10459
  createdByRole: string;
@@ -10565,7 +10500,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10565
10500
  originalFilename: string;
10566
10501
  }[] | [string, string] | null | undefined>;
10567
10502
  createdBySignature?: string | null | undefined;
10568
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10503
+ createdAtLocation?: string | null | undefined;
10569
10504
  annotation?: Record<string, string | number | boolean | {
10570
10505
  type: string;
10571
10506
  filename: string;
@@ -10607,14 +10542,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10607
10542
  option: string;
10608
10543
  filename: string;
10609
10544
  originalFilename: string;
10610
- }[] | [string, string] | null | undefined> | null | undefined;
10611
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10545
+ }[] | [string, string] | null | undefined> | undefined;
10546
+ originalActionId?: string | undefined;
10612
10547
  }, {
10613
10548
  type: "MARKED_AS_DUPLICATE";
10614
10549
  id: string;
10615
10550
  status: "Rejected" | "Requested" | "Accepted";
10616
10551
  transactionId: string;
10617
- createdByUserType: "system" | "user";
10618
10552
  createdAt: string;
10619
10553
  createdBy: string;
10620
10554
  createdByRole: string;
@@ -10703,17 +10637,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10703
10637
  option: string;
10704
10638
  filename: string;
10705
10639
  originalFilename: string;
10706
- }[] | [string, string] | null | undefined> | null | undefined;
10707
- originalActionId?: string | null | undefined;
10640
+ }[] | [string, string] | null | undefined> | undefined;
10641
+ originalActionId?: string | undefined;
10708
10642
  }>, z.ZodObject<z.objectUtil.extendShape<{
10709
- id: z.ZodBranded<z.ZodString, "UUID">;
10643
+ id: z.ZodString;
10710
10644
  transactionId: z.ZodString;
10711
- createdByUserType: z.ZodEnum<["user", "system"]>;
10712
10645
  createdAt: z.ZodString;
10713
10646
  createdBy: z.ZodString;
10714
10647
  createdByRole: z.ZodString;
10715
10648
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10716
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10649
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10717
10650
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10718
10651
  filename: z.ZodString;
10719
10652
  originalFilename: z.ZodString;
@@ -10840,7 +10773,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10840
10773
  surname: string;
10841
10774
  middlename?: string | null | undefined;
10842
10775
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10843
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10776
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10844
10777
  filename: z.ZodString;
10845
10778
  originalFilename: z.ZodString;
10846
10779
  type: z.ZodString;
@@ -10965,9 +10898,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10965
10898
  firstname: string;
10966
10899
  surname: string;
10967
10900
  middlename?: string | null | undefined;
10968
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
10901
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10969
10902
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10970
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10903
+ originalActionId: z.ZodOptional<z.ZodString>;
10971
10904
  }, {
10972
10905
  type: z.ZodLiteral<"ARCHIVE">;
10973
10906
  reason: z.ZodObject<{
@@ -10982,14 +10915,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10982
10915
  }>;
10983
10916
  }>, "strip", z.ZodTypeAny, {
10984
10917
  type: "ARCHIVE";
10985
- id: string & z.BRAND<"UUID">;
10918
+ id: string;
10986
10919
  status: "Rejected" | "Requested" | "Accepted";
10987
10920
  reason: {
10988
10921
  message: string;
10989
10922
  isDuplicate?: boolean | undefined;
10990
10923
  };
10991
10924
  transactionId: string;
10992
- createdByUserType: "system" | "user";
10993
10925
  createdAt: string;
10994
10926
  createdBy: string;
10995
10927
  createdByRole: string;
@@ -11036,7 +10968,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11036
10968
  originalFilename: string;
11037
10969
  }[] | [string, string] | null | undefined>;
11038
10970
  createdBySignature?: string | null | undefined;
11039
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10971
+ createdAtLocation?: string | null | undefined;
11040
10972
  annotation?: Record<string, string | number | boolean | {
11041
10973
  type: string;
11042
10974
  filename: string;
@@ -11078,8 +11010,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11078
11010
  option: string;
11079
11011
  filename: string;
11080
11012
  originalFilename: string;
11081
- }[] | [string, string] | null | undefined> | null | undefined;
11082
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11013
+ }[] | [string, string] | null | undefined> | undefined;
11014
+ originalActionId?: string | undefined;
11083
11015
  }, {
11084
11016
  type: "ARCHIVE";
11085
11017
  id: string;
@@ -11089,7 +11021,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11089
11021
  isDuplicate?: boolean | undefined;
11090
11022
  };
11091
11023
  transactionId: string;
11092
- createdByUserType: "system" | "user";
11093
11024
  createdAt: string;
11094
11025
  createdBy: string;
11095
11026
  createdByRole: string;
@@ -11178,17 +11109,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11178
11109
  option: string;
11179
11110
  filename: string;
11180
11111
  originalFilename: string;
11181
- }[] | [string, string] | null | undefined> | null | undefined;
11182
- originalActionId?: string | null | undefined;
11112
+ }[] | [string, string] | null | undefined> | undefined;
11113
+ originalActionId?: string | undefined;
11183
11114
  }>, z.ZodObject<z.objectUtil.extendShape<{
11184
- id: z.ZodBranded<z.ZodString, "UUID">;
11115
+ id: z.ZodString;
11185
11116
  transactionId: z.ZodString;
11186
- createdByUserType: z.ZodEnum<["user", "system"]>;
11187
11117
  createdAt: z.ZodString;
11188
11118
  createdBy: z.ZodString;
11189
11119
  createdByRole: z.ZodString;
11190
11120
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11191
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11121
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11192
11122
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11193
11123
  filename: z.ZodString;
11194
11124
  originalFilename: z.ZodString;
@@ -11315,7 +11245,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11315
11245
  surname: string;
11316
11246
  middlename?: string | null | undefined;
11317
11247
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
11318
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11248
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11319
11249
  filename: z.ZodString;
11320
11250
  originalFilename: z.ZodString;
11321
11251
  type: z.ZodString;
@@ -11440,17 +11370,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11440
11370
  firstname: string;
11441
11371
  surname: string;
11442
11372
  middlename?: string | null | undefined;
11443
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
11373
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11444
11374
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11445
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11375
+ originalActionId: z.ZodOptional<z.ZodString>;
11446
11376
  }, {
11447
11377
  type: z.ZodLiteral<"NOTIFY">;
11448
11378
  }>, "strip", z.ZodTypeAny, {
11449
11379
  type: "NOTIFY";
11450
- id: string & z.BRAND<"UUID">;
11380
+ id: string;
11451
11381
  status: "Rejected" | "Requested" | "Accepted";
11452
11382
  transactionId: string;
11453
- createdByUserType: "system" | "user";
11454
11383
  createdAt: string;
11455
11384
  createdBy: string;
11456
11385
  createdByRole: string;
@@ -11497,7 +11426,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11497
11426
  originalFilename: string;
11498
11427
  }[] | [string, string] | null | undefined>;
11499
11428
  createdBySignature?: string | null | undefined;
11500
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11429
+ createdAtLocation?: string | null | undefined;
11501
11430
  annotation?: Record<string, string | number | boolean | {
11502
11431
  type: string;
11503
11432
  filename: string;
@@ -11539,14 +11468,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11539
11468
  option: string;
11540
11469
  filename: string;
11541
11470
  originalFilename: string;
11542
- }[] | [string, string] | null | undefined> | null | undefined;
11543
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11471
+ }[] | [string, string] | null | undefined> | undefined;
11472
+ originalActionId?: string | undefined;
11544
11473
  }, {
11545
11474
  type: "NOTIFY";
11546
11475
  id: string;
11547
11476
  status: "Rejected" | "Requested" | "Accepted";
11548
11477
  transactionId: string;
11549
- createdByUserType: "system" | "user";
11550
11478
  createdAt: string;
11551
11479
  createdBy: string;
11552
11480
  createdByRole: string;
@@ -11635,17 +11563,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11635
11563
  option: string;
11636
11564
  filename: string;
11637
11565
  originalFilename: string;
11638
- }[] | [string, string] | null | undefined> | null | undefined;
11639
- originalActionId?: string | null | undefined;
11566
+ }[] | [string, string] | null | undefined> | undefined;
11567
+ originalActionId?: string | undefined;
11640
11568
  }>, z.ZodObject<z.objectUtil.extendShape<{
11641
- id: z.ZodBranded<z.ZodString, "UUID">;
11569
+ id: z.ZodString;
11642
11570
  transactionId: z.ZodString;
11643
- createdByUserType: z.ZodEnum<["user", "system"]>;
11644
11571
  createdAt: z.ZodString;
11645
11572
  createdBy: z.ZodString;
11646
11573
  createdByRole: z.ZodString;
11647
11574
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11648
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11575
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11649
11576
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11650
11577
  filename: z.ZodString;
11651
11578
  originalFilename: z.ZodString;
@@ -11772,7 +11699,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11772
11699
  surname: string;
11773
11700
  middlename?: string | null | undefined;
11774
11701
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
11775
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11702
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11776
11703
  filename: z.ZodString;
11777
11704
  originalFilename: z.ZodString;
11778
11705
  type: z.ZodString;
@@ -11897,18 +11824,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11897
11824
  firstname: string;
11898
11825
  surname: string;
11899
11826
  middlename?: string | null | undefined;
11900
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
11827
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11901
11828
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11902
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11829
+ originalActionId: z.ZodOptional<z.ZodString>;
11903
11830
  }, {
11904
11831
  type: z.ZodLiteral<"REGISTER">;
11905
11832
  registrationNumber: z.ZodOptional<z.ZodString>;
11906
11833
  }>, "strip", z.ZodTypeAny, {
11907
11834
  type: "REGISTER";
11908
- id: string & z.BRAND<"UUID">;
11835
+ id: string;
11909
11836
  status: "Rejected" | "Requested" | "Accepted";
11910
11837
  transactionId: string;
11911
- createdByUserType: "system" | "user";
11912
11838
  createdAt: string;
11913
11839
  createdBy: string;
11914
11840
  createdByRole: string;
@@ -11955,7 +11881,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11955
11881
  originalFilename: string;
11956
11882
  }[] | [string, string] | null | undefined>;
11957
11883
  createdBySignature?: string | null | undefined;
11958
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11884
+ createdAtLocation?: string | null | undefined;
11959
11885
  annotation?: Record<string, string | number | boolean | {
11960
11886
  type: string;
11961
11887
  filename: string;
@@ -11997,15 +11923,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11997
11923
  option: string;
11998
11924
  filename: string;
11999
11925
  originalFilename: string;
12000
- }[] | [string, string] | null | undefined> | null | undefined;
12001
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11926
+ }[] | [string, string] | null | undefined> | undefined;
11927
+ originalActionId?: string | undefined;
12002
11928
  registrationNumber?: string | undefined;
12003
11929
  }, {
12004
11930
  type: "REGISTER";
12005
11931
  id: string;
12006
11932
  status: "Rejected" | "Requested" | "Accepted";
12007
11933
  transactionId: string;
12008
- createdByUserType: "system" | "user";
12009
11934
  createdAt: string;
12010
11935
  createdBy: string;
12011
11936
  createdByRole: string;
@@ -12094,18 +12019,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12094
12019
  option: string;
12095
12020
  filename: string;
12096
12021
  originalFilename: string;
12097
- }[] | [string, string] | null | undefined> | null | undefined;
12098
- originalActionId?: string | null | undefined;
12022
+ }[] | [string, string] | null | undefined> | undefined;
12023
+ originalActionId?: string | undefined;
12099
12024
  registrationNumber?: string | undefined;
12100
12025
  }>, z.ZodObject<z.objectUtil.extendShape<{
12101
- id: z.ZodBranded<z.ZodString, "UUID">;
12026
+ id: z.ZodString;
12102
12027
  transactionId: z.ZodString;
12103
- createdByUserType: z.ZodEnum<["user", "system"]>;
12104
12028
  createdAt: z.ZodString;
12105
12029
  createdBy: z.ZodString;
12106
12030
  createdByRole: z.ZodString;
12107
12031
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12108
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12032
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12109
12033
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12110
12034
  filename: z.ZodString;
12111
12035
  originalFilename: z.ZodString;
@@ -12232,7 +12156,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12232
12156
  surname: string;
12233
12157
  middlename?: string | null | undefined;
12234
12158
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12235
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12159
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12236
12160
  filename: z.ZodString;
12237
12161
  originalFilename: z.ZodString;
12238
12162
  type: z.ZodString;
@@ -12357,17 +12281,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12357
12281
  firstname: string;
12358
12282
  surname: string;
12359
12283
  middlename?: string | null | undefined;
12360
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
12284
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12361
12285
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12362
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12286
+ originalActionId: z.ZodOptional<z.ZodString>;
12363
12287
  }, {
12364
12288
  type: z.ZodLiteral<"DECLARE">;
12365
12289
  }>, "strip", z.ZodTypeAny, {
12366
12290
  type: "DECLARE";
12367
- id: string & z.BRAND<"UUID">;
12291
+ id: string;
12368
12292
  status: "Rejected" | "Requested" | "Accepted";
12369
12293
  transactionId: string;
12370
- createdByUserType: "system" | "user";
12371
12294
  createdAt: string;
12372
12295
  createdBy: string;
12373
12296
  createdByRole: string;
@@ -12414,7 +12337,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12414
12337
  originalFilename: string;
12415
12338
  }[] | [string, string] | null | undefined>;
12416
12339
  createdBySignature?: string | null | undefined;
12417
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12340
+ createdAtLocation?: string | null | undefined;
12418
12341
  annotation?: Record<string, string | number | boolean | {
12419
12342
  type: string;
12420
12343
  filename: string;
@@ -12456,14 +12379,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12456
12379
  option: string;
12457
12380
  filename: string;
12458
12381
  originalFilename: string;
12459
- }[] | [string, string] | null | undefined> | null | undefined;
12460
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12382
+ }[] | [string, string] | null | undefined> | undefined;
12383
+ originalActionId?: string | undefined;
12461
12384
  }, {
12462
12385
  type: "DECLARE";
12463
12386
  id: string;
12464
12387
  status: "Rejected" | "Requested" | "Accepted";
12465
12388
  transactionId: string;
12466
- createdByUserType: "system" | "user";
12467
12389
  createdAt: string;
12468
12390
  createdBy: string;
12469
12391
  createdByRole: string;
@@ -12552,17 +12474,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12552
12474
  option: string;
12553
12475
  filename: string;
12554
12476
  originalFilename: string;
12555
- }[] | [string, string] | null | undefined> | null | undefined;
12556
- originalActionId?: string | null | undefined;
12477
+ }[] | [string, string] | null | undefined> | undefined;
12478
+ originalActionId?: string | undefined;
12557
12479
  }>, z.ZodObject<z.objectUtil.extendShape<{
12558
- id: z.ZodBranded<z.ZodString, "UUID">;
12480
+ id: z.ZodString;
12559
12481
  transactionId: z.ZodString;
12560
- createdByUserType: z.ZodEnum<["user", "system"]>;
12561
12482
  createdAt: z.ZodString;
12562
12483
  createdBy: z.ZodString;
12563
12484
  createdByRole: z.ZodString;
12564
12485
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12565
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12486
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12566
12487
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12567
12488
  filename: z.ZodString;
12568
12489
  originalFilename: z.ZodString;
@@ -12689,7 +12610,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12689
12610
  surname: string;
12690
12611
  middlename?: string | null | undefined;
12691
12612
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12692
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12613
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12693
12614
  filename: z.ZodString;
12694
12615
  originalFilename: z.ZodString;
12695
12616
  type: z.ZodString;
@@ -12814,18 +12735,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12814
12735
  firstname: string;
12815
12736
  surname: string;
12816
12737
  middlename?: string | null | undefined;
12817
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
12738
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12818
12739
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12819
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12740
+ originalActionId: z.ZodOptional<z.ZodString>;
12820
12741
  }, {
12821
12742
  type: z.ZodLiteral<"ASSIGN">;
12822
12743
  assignedTo: z.ZodString;
12823
12744
  }>, "strip", z.ZodTypeAny, {
12824
12745
  type: "ASSIGN";
12825
- id: string & z.BRAND<"UUID">;
12746
+ id: string;
12826
12747
  status: "Rejected" | "Requested" | "Accepted";
12827
12748
  transactionId: string;
12828
- createdByUserType: "system" | "user";
12829
12749
  createdAt: string;
12830
12750
  createdBy: string;
12831
12751
  createdByRole: string;
@@ -12873,7 +12793,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12873
12793
  }[] | [string, string] | null | undefined>;
12874
12794
  assignedTo: string;
12875
12795
  createdBySignature?: string | null | undefined;
12876
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12796
+ createdAtLocation?: string | null | undefined;
12877
12797
  annotation?: Record<string, string | number | boolean | {
12878
12798
  type: string;
12879
12799
  filename: string;
@@ -12915,14 +12835,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12915
12835
  option: string;
12916
12836
  filename: string;
12917
12837
  originalFilename: string;
12918
- }[] | [string, string] | null | undefined> | null | undefined;
12919
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12838
+ }[] | [string, string] | null | undefined> | undefined;
12839
+ originalActionId?: string | undefined;
12920
12840
  }, {
12921
12841
  type: "ASSIGN";
12922
12842
  id: string;
12923
12843
  status: "Rejected" | "Requested" | "Accepted";
12924
12844
  transactionId: string;
12925
- createdByUserType: "system" | "user";
12926
12845
  createdAt: string;
12927
12846
  createdBy: string;
12928
12847
  createdByRole: string;
@@ -13012,17 +12931,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13012
12931
  option: string;
13013
12932
  filename: string;
13014
12933
  originalFilename: string;
13015
- }[] | [string, string] | null | undefined> | null | undefined;
13016
- originalActionId?: string | null | undefined;
12934
+ }[] | [string, string] | null | undefined> | undefined;
12935
+ originalActionId?: string | undefined;
13017
12936
  }>, z.ZodObject<z.objectUtil.extendShape<{
13018
- id: z.ZodBranded<z.ZodString, "UUID">;
12937
+ id: z.ZodString;
13019
12938
  transactionId: z.ZodString;
13020
- createdByUserType: z.ZodEnum<["user", "system"]>;
13021
12939
  createdAt: z.ZodString;
13022
12940
  createdBy: z.ZodString;
13023
12941
  createdByRole: z.ZodString;
13024
12942
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13025
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12943
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13026
12944
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13027
12945
  filename: z.ZodString;
13028
12946
  originalFilename: z.ZodString;
@@ -13149,7 +13067,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13149
13067
  surname: string;
13150
13068
  middlename?: string | null | undefined;
13151
13069
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13152
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13070
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13153
13071
  filename: z.ZodString;
13154
13072
  originalFilename: z.ZodString;
13155
13073
  type: z.ZodString;
@@ -13274,17 +13192,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13274
13192
  firstname: string;
13275
13193
  surname: string;
13276
13194
  middlename?: string | null | undefined;
13277
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
13195
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13278
13196
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13279
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13197
+ originalActionId: z.ZodOptional<z.ZodString>;
13280
13198
  }, {
13281
13199
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
13282
13200
  }>, "strip", z.ZodTypeAny, {
13283
13201
  type: "REQUEST_CORRECTION";
13284
- id: string & z.BRAND<"UUID">;
13202
+ id: string;
13285
13203
  status: "Rejected" | "Requested" | "Accepted";
13286
13204
  transactionId: string;
13287
- createdByUserType: "system" | "user";
13288
13205
  createdAt: string;
13289
13206
  createdBy: string;
13290
13207
  createdByRole: string;
@@ -13331,7 +13248,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13331
13248
  originalFilename: string;
13332
13249
  }[] | [string, string] | null | undefined>;
13333
13250
  createdBySignature?: string | null | undefined;
13334
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13251
+ createdAtLocation?: string | null | undefined;
13335
13252
  annotation?: Record<string, string | number | boolean | {
13336
13253
  type: string;
13337
13254
  filename: string;
@@ -13373,14 +13290,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13373
13290
  option: string;
13374
13291
  filename: string;
13375
13292
  originalFilename: string;
13376
- }[] | [string, string] | null | undefined> | null | undefined;
13377
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13293
+ }[] | [string, string] | null | undefined> | undefined;
13294
+ originalActionId?: string | undefined;
13378
13295
  }, {
13379
13296
  type: "REQUEST_CORRECTION";
13380
13297
  id: string;
13381
13298
  status: "Rejected" | "Requested" | "Accepted";
13382
13299
  transactionId: string;
13383
- createdByUserType: "system" | "user";
13384
13300
  createdAt: string;
13385
13301
  createdBy: string;
13386
13302
  createdByRole: string;
@@ -13469,17 +13385,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13469
13385
  option: string;
13470
13386
  filename: string;
13471
13387
  originalFilename: string;
13472
- }[] | [string, string] | null | undefined> | null | undefined;
13473
- originalActionId?: string | null | undefined;
13388
+ }[] | [string, string] | null | undefined> | undefined;
13389
+ originalActionId?: string | undefined;
13474
13390
  }>, z.ZodObject<z.objectUtil.extendShape<{
13475
- id: z.ZodBranded<z.ZodString, "UUID">;
13391
+ id: z.ZodString;
13476
13392
  transactionId: z.ZodString;
13477
- createdByUserType: z.ZodEnum<["user", "system"]>;
13478
13393
  createdAt: z.ZodString;
13479
13394
  createdBy: z.ZodString;
13480
13395
  createdByRole: z.ZodString;
13481
13396
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13482
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13397
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13483
13398
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13484
13399
  filename: z.ZodString;
13485
13400
  originalFilename: z.ZodString;
@@ -13606,7 +13521,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13606
13521
  surname: string;
13607
13522
  middlename?: string | null | undefined;
13608
13523
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13609
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13524
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13610
13525
  filename: z.ZodString;
13611
13526
  originalFilename: z.ZodString;
13612
13527
  type: z.ZodString;
@@ -13731,18 +13646,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13731
13646
  firstname: string;
13732
13647
  surname: string;
13733
13648
  middlename?: string | null | undefined;
13734
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
13649
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13735
13650
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13736
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13651
+ originalActionId: z.ZodOptional<z.ZodString>;
13737
13652
  }, {
13738
13653
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
13739
13654
  requestId: z.ZodString;
13740
13655
  }>, "strip", z.ZodTypeAny, {
13741
13656
  type: "APPROVE_CORRECTION";
13742
- id: string & z.BRAND<"UUID">;
13657
+ id: string;
13743
13658
  status: "Rejected" | "Requested" | "Accepted";
13744
13659
  transactionId: string;
13745
- createdByUserType: "system" | "user";
13746
13660
  createdAt: string;
13747
13661
  createdBy: string;
13748
13662
  createdByRole: string;
@@ -13790,7 +13704,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13790
13704
  }[] | [string, string] | null | undefined>;
13791
13705
  requestId: string;
13792
13706
  createdBySignature?: string | null | undefined;
13793
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13707
+ createdAtLocation?: string | null | undefined;
13794
13708
  annotation?: Record<string, string | number | boolean | {
13795
13709
  type: string;
13796
13710
  filename: string;
@@ -13832,14 +13746,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13832
13746
  option: string;
13833
13747
  filename: string;
13834
13748
  originalFilename: string;
13835
- }[] | [string, string] | null | undefined> | null | undefined;
13836
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13749
+ }[] | [string, string] | null | undefined> | undefined;
13750
+ originalActionId?: string | undefined;
13837
13751
  }, {
13838
13752
  type: "APPROVE_CORRECTION";
13839
13753
  id: string;
13840
13754
  status: "Rejected" | "Requested" | "Accepted";
13841
13755
  transactionId: string;
13842
- createdByUserType: "system" | "user";
13843
13756
  createdAt: string;
13844
13757
  createdBy: string;
13845
13758
  createdByRole: string;
@@ -13929,17 +13842,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13929
13842
  option: string;
13930
13843
  filename: string;
13931
13844
  originalFilename: string;
13932
- }[] | [string, string] | null | undefined> | null | undefined;
13933
- originalActionId?: string | null | undefined;
13845
+ }[] | [string, string] | null | undefined> | undefined;
13846
+ originalActionId?: string | undefined;
13934
13847
  }>, z.ZodObject<z.objectUtil.extendShape<{
13935
- id: z.ZodBranded<z.ZodString, "UUID">;
13848
+ id: z.ZodString;
13936
13849
  transactionId: z.ZodString;
13937
- createdByUserType: z.ZodEnum<["user", "system"]>;
13938
13850
  createdAt: z.ZodString;
13939
13851
  createdBy: z.ZodString;
13940
13852
  createdByRole: z.ZodString;
13941
13853
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13942
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13854
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13943
13855
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13944
13856
  filename: z.ZodString;
13945
13857
  originalFilename: z.ZodString;
@@ -14066,7 +13978,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14066
13978
  surname: string;
14067
13979
  middlename?: string | null | undefined;
14068
13980
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14069
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13981
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14070
13982
  filename: z.ZodString;
14071
13983
  originalFilename: z.ZodString;
14072
13984
  type: z.ZodString;
@@ -14191,18 +14103,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14191
14103
  firstname: string;
14192
14104
  surname: string;
14193
14105
  middlename?: string | null | undefined;
14194
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
14106
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14195
14107
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14196
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14108
+ originalActionId: z.ZodOptional<z.ZodString>;
14197
14109
  }, {
14198
14110
  type: z.ZodLiteral<"REJECT_CORRECTION">;
14199
14111
  requestId: z.ZodString;
14200
14112
  }>, "strip", z.ZodTypeAny, {
14201
14113
  type: "REJECT_CORRECTION";
14202
- id: string & z.BRAND<"UUID">;
14114
+ id: string;
14203
14115
  status: "Rejected" | "Requested" | "Accepted";
14204
14116
  transactionId: string;
14205
- createdByUserType: "system" | "user";
14206
14117
  createdAt: string;
14207
14118
  createdBy: string;
14208
14119
  createdByRole: string;
@@ -14250,7 +14161,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14250
14161
  }[] | [string, string] | null | undefined>;
14251
14162
  requestId: string;
14252
14163
  createdBySignature?: string | null | undefined;
14253
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14164
+ createdAtLocation?: string | null | undefined;
14254
14165
  annotation?: Record<string, string | number | boolean | {
14255
14166
  type: string;
14256
14167
  filename: string;
@@ -14292,14 +14203,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14292
14203
  option: string;
14293
14204
  filename: string;
14294
14205
  originalFilename: string;
14295
- }[] | [string, string] | null | undefined> | null | undefined;
14296
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14206
+ }[] | [string, string] | null | undefined> | undefined;
14207
+ originalActionId?: string | undefined;
14297
14208
  }, {
14298
14209
  type: "REJECT_CORRECTION";
14299
14210
  id: string;
14300
14211
  status: "Rejected" | "Requested" | "Accepted";
14301
14212
  transactionId: string;
14302
- createdByUserType: "system" | "user";
14303
14213
  createdAt: string;
14304
14214
  createdBy: string;
14305
14215
  createdByRole: string;
@@ -14389,17 +14299,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14389
14299
  option: string;
14390
14300
  filename: string;
14391
14301
  originalFilename: string;
14392
- }[] | [string, string] | null | undefined> | null | undefined;
14393
- originalActionId?: string | null | undefined;
14302
+ }[] | [string, string] | null | undefined> | undefined;
14303
+ originalActionId?: string | undefined;
14394
14304
  }>, z.ZodObject<z.objectUtil.extendShape<{
14395
- id: z.ZodBranded<z.ZodString, "UUID">;
14305
+ id: z.ZodString;
14396
14306
  transactionId: z.ZodString;
14397
- createdByUserType: z.ZodEnum<["user", "system"]>;
14398
14307
  createdAt: z.ZodString;
14399
14308
  createdBy: z.ZodString;
14400
14309
  createdByRole: z.ZodString;
14401
14310
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14402
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14311
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14403
14312
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14404
14313
  filename: z.ZodString;
14405
14314
  originalFilename: z.ZodString;
@@ -14526,7 +14435,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14526
14435
  surname: string;
14527
14436
  middlename?: string | null | undefined;
14528
14437
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14529
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14438
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14530
14439
  filename: z.ZodString;
14531
14440
  originalFilename: z.ZodString;
14532
14441
  type: z.ZodString;
@@ -14651,17 +14560,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14651
14560
  firstname: string;
14652
14561
  surname: string;
14653
14562
  middlename?: string | null | undefined;
14654
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
14563
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14655
14564
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14656
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14565
+ originalActionId: z.ZodOptional<z.ZodString>;
14657
14566
  }, {
14658
14567
  type: z.ZodLiteral<"UNASSIGN">;
14568
+ assignedTo: z.ZodLiteral<null>;
14659
14569
  }>, "strip", z.ZodTypeAny, {
14660
14570
  type: "UNASSIGN";
14661
- id: string & z.BRAND<"UUID">;
14571
+ id: string;
14662
14572
  status: "Rejected" | "Requested" | "Accepted";
14663
14573
  transactionId: string;
14664
- createdByUserType: "system" | "user";
14665
14574
  createdAt: string;
14666
14575
  createdBy: string;
14667
14576
  createdByRole: string;
@@ -14707,8 +14616,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14707
14616
  filename: string;
14708
14617
  originalFilename: string;
14709
14618
  }[] | [string, string] | null | undefined>;
14619
+ assignedTo: null;
14710
14620
  createdBySignature?: string | null | undefined;
14711
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14621
+ createdAtLocation?: string | null | undefined;
14712
14622
  annotation?: Record<string, string | number | boolean | {
14713
14623
  type: string;
14714
14624
  filename: string;
@@ -14750,14 +14660,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14750
14660
  option: string;
14751
14661
  filename: string;
14752
14662
  originalFilename: string;
14753
- }[] | [string, string] | null | undefined> | null | undefined;
14754
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14663
+ }[] | [string, string] | null | undefined> | undefined;
14664
+ originalActionId?: string | undefined;
14755
14665
  }, {
14756
14666
  type: "UNASSIGN";
14757
14667
  id: string;
14758
14668
  status: "Rejected" | "Requested" | "Accepted";
14759
14669
  transactionId: string;
14760
- createdByUserType: "system" | "user";
14761
14670
  createdAt: string;
14762
14671
  createdBy: string;
14763
14672
  createdByRole: string;
@@ -14803,6 +14712,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14803
14712
  filename: string;
14804
14713
  originalFilename: string;
14805
14714
  }[] | [string, string] | null | undefined>;
14715
+ assignedTo: null;
14806
14716
  createdBySignature?: string | null | undefined;
14807
14717
  createdAtLocation?: string | null | undefined;
14808
14718
  annotation?: Record<string, string | number | boolean | {
@@ -14846,17 +14756,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14846
14756
  option: string;
14847
14757
  filename: string;
14848
14758
  originalFilename: string;
14849
- }[] | [string, string] | null | undefined> | null | undefined;
14850
- originalActionId?: string | null | undefined;
14759
+ }[] | [string, string] | null | undefined> | undefined;
14760
+ originalActionId?: string | undefined;
14851
14761
  }>, z.ZodObject<z.objectUtil.extendShape<{
14852
- id: z.ZodBranded<z.ZodString, "UUID">;
14762
+ id: z.ZodString;
14853
14763
  transactionId: z.ZodString;
14854
- createdByUserType: z.ZodEnum<["user", "system"]>;
14855
14764
  createdAt: z.ZodString;
14856
14765
  createdBy: z.ZodString;
14857
14766
  createdByRole: z.ZodString;
14858
14767
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14859
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14768
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14860
14769
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14861
14770
  filename: z.ZodString;
14862
14771
  originalFilename: z.ZodString;
@@ -14983,7 +14892,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14983
14892
  surname: string;
14984
14893
  middlename?: string | null | undefined;
14985
14894
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14986
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14895
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14987
14896
  filename: z.ZodString;
14988
14897
  originalFilename: z.ZodString;
14989
14898
  type: z.ZodString;
@@ -15108,17 +15017,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15108
15017
  firstname: string;
15109
15018
  surname: string;
15110
15019
  middlename?: string | null | undefined;
15111
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
15020
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
15112
15021
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
15113
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15022
+ originalActionId: z.ZodOptional<z.ZodString>;
15114
15023
  }, {
15115
15024
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
15116
15025
  }>, "strip", z.ZodTypeAny, {
15117
15026
  type: "PRINT_CERTIFICATE";
15118
- id: string & z.BRAND<"UUID">;
15027
+ id: string;
15119
15028
  status: "Rejected" | "Requested" | "Accepted";
15120
15029
  transactionId: string;
15121
- createdByUserType: "system" | "user";
15122
15030
  createdAt: string;
15123
15031
  createdBy: string;
15124
15032
  createdByRole: string;
@@ -15165,7 +15073,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15165
15073
  originalFilename: string;
15166
15074
  }[] | [string, string] | null | undefined>;
15167
15075
  createdBySignature?: string | null | undefined;
15168
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
15076
+ createdAtLocation?: string | null | undefined;
15169
15077
  annotation?: Record<string, string | number | boolean | {
15170
15078
  type: string;
15171
15079
  filename: string;
@@ -15207,14 +15115,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15207
15115
  option: string;
15208
15116
  filename: string;
15209
15117
  originalFilename: string;
15210
- }[] | [string, string] | null | undefined> | null | undefined;
15211
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15118
+ }[] | [string, string] | null | undefined> | undefined;
15119
+ originalActionId?: string | undefined;
15212
15120
  }, {
15213
15121
  type: "PRINT_CERTIFICATE";
15214
15122
  id: string;
15215
15123
  status: "Rejected" | "Requested" | "Accepted";
15216
15124
  transactionId: string;
15217
- createdByUserType: "system" | "user";
15218
15125
  createdAt: string;
15219
15126
  createdBy: string;
15220
15127
  createdByRole: string;
@@ -15303,17 +15210,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15303
15210
  option: string;
15304
15211
  filename: string;
15305
15212
  originalFilename: string;
15306
- }[] | [string, string] | null | undefined> | null | undefined;
15307
- originalActionId?: string | null | undefined;
15213
+ }[] | [string, string] | null | undefined> | undefined;
15214
+ originalActionId?: string | undefined;
15308
15215
  }>, z.ZodObject<z.objectUtil.extendShape<{
15309
- id: z.ZodBranded<z.ZodString, "UUID">;
15216
+ id: z.ZodString;
15310
15217
  transactionId: z.ZodString;
15311
- createdByUserType: z.ZodEnum<["user", "system"]>;
15312
15218
  createdAt: z.ZodString;
15313
15219
  createdBy: z.ZodString;
15314
15220
  createdByRole: z.ZodString;
15315
15221
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15316
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
15222
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15317
15223
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
15318
15224
  filename: z.ZodString;
15319
15225
  originalFilename: z.ZodString;
@@ -15440,7 +15346,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15440
15346
  surname: string;
15441
15347
  middlename?: string | null | undefined;
15442
15348
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
15443
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
15349
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
15444
15350
  filename: z.ZodString;
15445
15351
  originalFilename: z.ZodString;
15446
15352
  type: z.ZodString;
@@ -15565,17 +15471,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15565
15471
  firstname: string;
15566
15472
  surname: string;
15567
15473
  middlename?: string | null | undefined;
15568
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
15474
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
15569
15475
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
15570
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15476
+ originalActionId: z.ZodOptional<z.ZodString>;
15571
15477
  }, {
15572
15478
  type: z.ZodLiteral<"READ">;
15573
15479
  }>, "strip", z.ZodTypeAny, {
15574
15480
  type: "READ";
15575
- id: string & z.BRAND<"UUID">;
15481
+ id: string;
15576
15482
  status: "Rejected" | "Requested" | "Accepted";
15577
15483
  transactionId: string;
15578
- createdByUserType: "system" | "user";
15579
15484
  createdAt: string;
15580
15485
  createdBy: string;
15581
15486
  createdByRole: string;
@@ -15622,7 +15527,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15622
15527
  originalFilename: string;
15623
15528
  }[] | [string, string] | null | undefined>;
15624
15529
  createdBySignature?: string | null | undefined;
15625
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
15530
+ createdAtLocation?: string | null | undefined;
15626
15531
  annotation?: Record<string, string | number | boolean | {
15627
15532
  type: string;
15628
15533
  filename: string;
@@ -15664,14 +15569,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15664
15569
  option: string;
15665
15570
  filename: string;
15666
15571
  originalFilename: string;
15667
- }[] | [string, string] | null | undefined> | null | undefined;
15668
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15572
+ }[] | [string, string] | null | undefined> | undefined;
15573
+ originalActionId?: string | undefined;
15669
15574
  }, {
15670
15575
  type: "READ";
15671
15576
  id: string;
15672
15577
  status: "Rejected" | "Requested" | "Accepted";
15673
15578
  transactionId: string;
15674
- createdByUserType: "system" | "user";
15675
15579
  createdAt: string;
15676
15580
  createdBy: string;
15677
15581
  createdByRole: string;
@@ -15760,17 +15664,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15760
15664
  option: string;
15761
15665
  filename: string;
15762
15666
  originalFilename: string;
15763
- }[] | [string, string] | null | undefined> | null | undefined;
15764
- originalActionId?: string | null | undefined;
15667
+ }[] | [string, string] | null | undefined> | undefined;
15668
+ originalActionId?: string | undefined;
15765
15669
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
15766
- id: z.ZodBranded<z.ZodString, "UUID">;
15670
+ id: z.ZodString;
15767
15671
  transactionId: z.ZodString;
15768
- createdByUserType: z.ZodEnum<["user", "system"]>;
15769
15672
  createdAt: z.ZodString;
15770
15673
  createdBy: z.ZodString;
15771
15674
  createdByRole: z.ZodString;
15772
15675
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15773
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
15676
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15774
15677
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
15775
15678
  filename: z.ZodString;
15776
15679
  originalFilename: z.ZodString;
@@ -15897,7 +15800,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15897
15800
  surname: string;
15898
15801
  middlename?: string | null | undefined;
15899
15802
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
15900
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
15803
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
15901
15804
  filename: z.ZodString;
15902
15805
  originalFilename: z.ZodString;
15903
15806
  type: z.ZodString;
@@ -16022,36 +15925,34 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16022
15925
  firstname: string;
16023
15926
  surname: string;
16024
15927
  middlename?: string | null | undefined;
16025
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
15928
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
16026
15929
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
16027
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15930
+ originalActionId: z.ZodOptional<z.ZodString>;
16028
15931
  }, "declaration" | "annotation">, {
16029
15932
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
16030
15933
  status: z.ZodLiteral<"Rejected">;
16031
15934
  }>, "strip", z.ZodTypeAny, {
16032
15935
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
16033
- id: string & z.BRAND<"UUID">;
15936
+ id: string;
16034
15937
  status: "Rejected";
16035
15938
  transactionId: string;
16036
- createdByUserType: "system" | "user";
16037
15939
  createdAt: string;
16038
15940
  createdBy: string;
16039
15941
  createdByRole: string;
16040
15942
  createdBySignature?: string | null | undefined;
16041
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
16042
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15943
+ createdAtLocation?: string | null | undefined;
15944
+ originalActionId?: string | undefined;
16043
15945
  }, {
16044
15946
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
16045
15947
  id: string;
16046
15948
  status: "Rejected";
16047
15949
  transactionId: string;
16048
- createdByUserType: "system" | "user";
16049
15950
  createdAt: string;
16050
15951
  createdBy: string;
16051
15952
  createdByRole: string;
16052
15953
  createdBySignature?: string | null | undefined;
16053
15954
  createdAtLocation?: string | null | undefined;
16054
- originalActionId?: string | null | undefined;
15955
+ originalActionId?: string | undefined;
16055
15956
  }>]>;
16056
15957
  export type Action = ActionDocument | AsyncRejectActionDocument;
16057
15958
  export declare const ResolvedUser: z.ZodObject<{