@opencrvs/toolkit 1.8.0-rc.f7aaf07 → 1.8.0-rc.f7e4aad

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.
@@ -278,14 +278,14 @@ 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.ZodString;
281
+ id: z.ZodBranded<z.ZodString, "UUID">;
282
282
  transactionId: z.ZodString;
283
283
  createdByUserType: z.ZodEnum<["user", "system"]>;
284
284
  createdAt: z.ZodString;
285
285
  createdBy: z.ZodString;
286
286
  createdByRole: z.ZodString;
287
287
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
289
289
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
290
290
  filename: z.ZodString;
291
291
  originalFilename: z.ZodString;
@@ -412,7 +412,7 @@ export declare const ActionBase: z.ZodObject<{
412
412
  surname: string;
413
413
  middlename?: string | null | undefined;
414
414
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
415
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
416
416
  filename: z.ZodString;
417
417
  originalFilename: z.ZodString;
418
418
  type: z.ZodString;
@@ -537,11 +537,11 @@ export declare const ActionBase: z.ZodObject<{
537
537
  firstname: string;
538
538
  surname: string;
539
539
  middlename?: string | null | undefined;
540
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
540
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
541
541
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
542
- originalActionId: z.ZodOptional<z.ZodString>;
542
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
543
543
  }, "strip", z.ZodTypeAny, {
544
- id: string;
544
+ id: string & z.BRAND<"UUID">;
545
545
  status: "Rejected" | "Requested" | "Accepted";
546
546
  transactionId: string;
547
547
  createdByUserType: "system" | "user";
@@ -591,7 +591,7 @@ export declare const ActionBase: z.ZodObject<{
591
591
  originalFilename: string;
592
592
  }[] | [string, string] | null | undefined>;
593
593
  createdBySignature?: string | null | undefined;
594
- createdAtLocation?: string | null | undefined;
594
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
595
595
  annotation?: Record<string, string | number | boolean | {
596
596
  type: string;
597
597
  filename: string;
@@ -633,8 +633,8 @@ export declare const ActionBase: z.ZodObject<{
633
633
  option: string;
634
634
  filename: string;
635
635
  originalFilename: string;
636
- }[] | [string, string] | null | undefined> | undefined;
637
- originalActionId?: string | undefined;
636
+ }[] | [string, string] | null | undefined> | null | undefined;
637
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
638
638
  }, {
639
639
  id: string;
640
640
  status: "Rejected" | "Requested" | "Accepted";
@@ -728,19 +728,19 @@ export declare const ActionBase: z.ZodObject<{
728
728
  option: string;
729
729
  filename: string;
730
730
  originalFilename: string;
731
- }[] | [string, string] | null | undefined> | undefined;
732
- originalActionId?: string | undefined;
731
+ }[] | [string, string] | null | undefined> | null | undefined;
732
+ originalActionId?: string | null | undefined;
733
733
  }>;
734
734
  export type ActionBase = z.infer<typeof ActionBase>;
735
735
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
736
- id: z.ZodString;
736
+ id: z.ZodBranded<z.ZodString, "UUID">;
737
737
  transactionId: z.ZodString;
738
738
  createdByUserType: z.ZodEnum<["user", "system"]>;
739
739
  createdAt: z.ZodString;
740
740
  createdBy: z.ZodString;
741
741
  createdByRole: z.ZodString;
742
742
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
744
744
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
745
745
  filename: z.ZodString;
746
746
  originalFilename: z.ZodString;
@@ -867,7 +867,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
867
867
  surname: string;
868
868
  middlename?: string | null | undefined;
869
869
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
870
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
871
871
  filename: z.ZodString;
872
872
  originalFilename: z.ZodString;
873
873
  type: z.ZodString;
@@ -992,15 +992,15 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
992
992
  firstname: string;
993
993
  surname: string;
994
994
  middlename?: string | null | undefined;
995
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
995
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
996
996
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
997
- originalActionId: z.ZodOptional<z.ZodString>;
997
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
998
998
  }, {
999
999
  type: z.ZodLiteral<"REGISTER">;
1000
1000
  registrationNumber: z.ZodOptional<z.ZodString>;
1001
1001
  }>, "strip", z.ZodTypeAny, {
1002
1002
  type: "REGISTER";
1003
- id: string;
1003
+ id: string & z.BRAND<"UUID">;
1004
1004
  status: "Rejected" | "Requested" | "Accepted";
1005
1005
  transactionId: string;
1006
1006
  createdByUserType: "system" | "user";
@@ -1050,7 +1050,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1050
1050
  originalFilename: string;
1051
1051
  }[] | [string, string] | null | undefined>;
1052
1052
  createdBySignature?: string | null | undefined;
1053
- createdAtLocation?: string | null | undefined;
1053
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1054
1054
  annotation?: Record<string, string | number | boolean | {
1055
1055
  type: string;
1056
1056
  filename: string;
@@ -1092,8 +1092,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1092
1092
  option: string;
1093
1093
  filename: string;
1094
1094
  originalFilename: string;
1095
- }[] | [string, string] | null | undefined> | undefined;
1096
- originalActionId?: string | undefined;
1095
+ }[] | [string, string] | null | undefined> | null | undefined;
1096
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1097
1097
  registrationNumber?: string | undefined;
1098
1098
  }, {
1099
1099
  type: "REGISTER";
@@ -1189,8 +1189,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1189
1189
  option: string;
1190
1190
  filename: string;
1191
1191
  originalFilename: string;
1192
- }[] | [string, string] | null | undefined> | undefined;
1193
- originalActionId?: string | undefined;
1192
+ }[] | [string, string] | null | undefined> | null | undefined;
1193
+ originalActionId?: string | null | undefined;
1194
1194
  registrationNumber?: string | undefined;
1195
1195
  }>;
1196
1196
  export type RegisterAction = z.infer<typeof RegisterAction>;
@@ -1205,14 +1205,14 @@ export declare const RejectionReason: z.ZodObject<{
1205
1205
  isDuplicate?: boolean | undefined;
1206
1206
  }>;
1207
1207
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1208
- id: z.ZodString;
1208
+ id: z.ZodBranded<z.ZodString, "UUID">;
1209
1209
  transactionId: z.ZodString;
1210
1210
  createdByUserType: z.ZodEnum<["user", "system"]>;
1211
1211
  createdAt: z.ZodString;
1212
1212
  createdBy: z.ZodString;
1213
1213
  createdByRole: z.ZodString;
1214
1214
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1216
1216
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1217
1217
  filename: z.ZodString;
1218
1218
  originalFilename: z.ZodString;
@@ -1339,7 +1339,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1339
1339
  surname: string;
1340
1340
  middlename?: string | null | undefined;
1341
1341
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1342
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1343
1343
  filename: z.ZodString;
1344
1344
  originalFilename: z.ZodString;
1345
1345
  type: z.ZodString;
@@ -1464,14 +1464,14 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1464
1464
  firstname: string;
1465
1465
  surname: string;
1466
1466
  middlename?: string | null | undefined;
1467
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1467
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1468
1468
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1469
- originalActionId: z.ZodOptional<z.ZodString>;
1469
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1470
1470
  }, {
1471
1471
  type: z.ZodLiteral<"CREATE">;
1472
1472
  }>, "strip", z.ZodTypeAny, {
1473
1473
  type: "CREATE";
1474
- id: string;
1474
+ id: string & z.BRAND<"UUID">;
1475
1475
  status: "Rejected" | "Requested" | "Accepted";
1476
1476
  transactionId: string;
1477
1477
  createdByUserType: "system" | "user";
@@ -1521,7 +1521,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1521
1521
  originalFilename: string;
1522
1522
  }[] | [string, string] | null | undefined>;
1523
1523
  createdBySignature?: string | null | undefined;
1524
- createdAtLocation?: string | null | undefined;
1524
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1525
1525
  annotation?: Record<string, string | number | boolean | {
1526
1526
  type: string;
1527
1527
  filename: string;
@@ -1563,8 +1563,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1563
1563
  option: string;
1564
1564
  filename: string;
1565
1565
  originalFilename: string;
1566
- }[] | [string, string] | null | undefined> | undefined;
1567
- originalActionId?: string | undefined;
1566
+ }[] | [string, string] | null | undefined> | null | undefined;
1567
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1568
1568
  }, {
1569
1569
  type: "CREATE";
1570
1570
  id: string;
@@ -1659,18 +1659,18 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1659
1659
  option: string;
1660
1660
  filename: string;
1661
1661
  originalFilename: string;
1662
- }[] | [string, string] | null | undefined> | undefined;
1663
- originalActionId?: string | undefined;
1662
+ }[] | [string, string] | null | undefined> | null | undefined;
1663
+ originalActionId?: string | null | undefined;
1664
1664
  }>;
1665
1665
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1666
- id: z.ZodString;
1666
+ id: z.ZodBranded<z.ZodString, "UUID">;
1667
1667
  transactionId: z.ZodString;
1668
1668
  createdByUserType: z.ZodEnum<["user", "system"]>;
1669
1669
  createdAt: z.ZodString;
1670
1670
  createdBy: z.ZodString;
1671
1671
  createdByRole: z.ZodString;
1672
1672
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1674
1674
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1675
1675
  filename: z.ZodString;
1676
1676
  originalFilename: z.ZodString;
@@ -1797,7 +1797,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1797
1797
  surname: string;
1798
1798
  middlename?: string | null | undefined;
1799
1799
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1800
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1801
1801
  filename: z.ZodString;
1802
1802
  originalFilename: z.ZodString;
1803
1803
  type: z.ZodString;
@@ -1922,14 +1922,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1922
1922
  firstname: string;
1923
1923
  surname: string;
1924
1924
  middlename?: string | null | undefined;
1925
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1925
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1926
1926
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1927
- originalActionId: z.ZodOptional<z.ZodString>;
1927
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1928
1928
  }, {
1929
1929
  type: z.ZodLiteral<"CREATE">;
1930
1930
  }>, "strip", z.ZodTypeAny, {
1931
1931
  type: "CREATE";
1932
- id: string;
1932
+ id: string & z.BRAND<"UUID">;
1933
1933
  status: "Rejected" | "Requested" | "Accepted";
1934
1934
  transactionId: string;
1935
1935
  createdByUserType: "system" | "user";
@@ -1979,7 +1979,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1979
1979
  originalFilename: string;
1980
1980
  }[] | [string, string] | null | undefined>;
1981
1981
  createdBySignature?: string | null | undefined;
1982
- createdAtLocation?: string | null | undefined;
1982
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1983
1983
  annotation?: Record<string, string | number | boolean | {
1984
1984
  type: string;
1985
1985
  filename: string;
@@ -2021,8 +2021,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2021
2021
  option: string;
2022
2022
  filename: string;
2023
2023
  originalFilename: string;
2024
- }[] | [string, string] | null | undefined> | undefined;
2025
- originalActionId?: string | undefined;
2024
+ }[] | [string, string] | null | undefined> | null | undefined;
2025
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2026
2026
  }, {
2027
2027
  type: "CREATE";
2028
2028
  id: string;
@@ -2117,17 +2117,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2117
2117
  option: string;
2118
2118
  filename: string;
2119
2119
  originalFilename: string;
2120
- }[] | [string, string] | null | undefined> | undefined;
2121
- originalActionId?: string | undefined;
2120
+ }[] | [string, string] | null | undefined> | null | undefined;
2121
+ originalActionId?: string | null | undefined;
2122
2122
  }>, z.ZodObject<z.objectUtil.extendShape<{
2123
- id: z.ZodString;
2123
+ id: z.ZodBranded<z.ZodString, "UUID">;
2124
2124
  transactionId: z.ZodString;
2125
2125
  createdByUserType: z.ZodEnum<["user", "system"]>;
2126
2126
  createdAt: z.ZodString;
2127
2127
  createdBy: z.ZodString;
2128
2128
  createdByRole: z.ZodString;
2129
2129
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2131
2131
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2132
2132
  filename: z.ZodString;
2133
2133
  originalFilename: z.ZodString;
@@ -2254,7 +2254,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2254
2254
  surname: string;
2255
2255
  middlename?: string | null | undefined;
2256
2256
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2257
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2258
2258
  filename: z.ZodString;
2259
2259
  originalFilename: z.ZodString;
2260
2260
  type: z.ZodString;
@@ -2379,14 +2379,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2379
2379
  firstname: string;
2380
2380
  surname: string;
2381
2381
  middlename?: string | null | undefined;
2382
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2382
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2383
2383
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2384
- originalActionId: z.ZodOptional<z.ZodString>;
2384
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2385
2385
  }, {
2386
2386
  type: z.ZodLiteral<"VALIDATE">;
2387
2387
  }>, "strip", z.ZodTypeAny, {
2388
2388
  type: "VALIDATE";
2389
- id: string;
2389
+ id: string & z.BRAND<"UUID">;
2390
2390
  status: "Rejected" | "Requested" | "Accepted";
2391
2391
  transactionId: string;
2392
2392
  createdByUserType: "system" | "user";
@@ -2436,7 +2436,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2436
2436
  originalFilename: string;
2437
2437
  }[] | [string, string] | null | undefined>;
2438
2438
  createdBySignature?: string | null | undefined;
2439
- createdAtLocation?: string | null | undefined;
2439
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2440
2440
  annotation?: Record<string, string | number | boolean | {
2441
2441
  type: string;
2442
2442
  filename: string;
@@ -2478,8 +2478,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2478
2478
  option: string;
2479
2479
  filename: string;
2480
2480
  originalFilename: string;
2481
- }[] | [string, string] | null | undefined> | undefined;
2482
- originalActionId?: string | undefined;
2481
+ }[] | [string, string] | null | undefined> | null | undefined;
2482
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2483
2483
  }, {
2484
2484
  type: "VALIDATE";
2485
2485
  id: string;
@@ -2574,17 +2574,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2574
2574
  option: string;
2575
2575
  filename: string;
2576
2576
  originalFilename: string;
2577
- }[] | [string, string] | null | undefined> | undefined;
2578
- originalActionId?: string | undefined;
2577
+ }[] | [string, string] | null | undefined> | null | undefined;
2578
+ originalActionId?: string | null | undefined;
2579
2579
  }>, z.ZodObject<z.objectUtil.extendShape<{
2580
- id: z.ZodString;
2580
+ id: z.ZodBranded<z.ZodString, "UUID">;
2581
2581
  transactionId: z.ZodString;
2582
2582
  createdByUserType: z.ZodEnum<["user", "system"]>;
2583
2583
  createdAt: z.ZodString;
2584
2584
  createdBy: z.ZodString;
2585
2585
  createdByRole: z.ZodString;
2586
2586
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2587
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2587
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2588
2588
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2589
2589
  filename: z.ZodString;
2590
2590
  originalFilename: z.ZodString;
@@ -2711,7 +2711,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2711
2711
  surname: string;
2712
2712
  middlename?: string | null | undefined;
2713
2713
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2714
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2715
2715
  filename: z.ZodString;
2716
2716
  originalFilename: z.ZodString;
2717
2717
  type: z.ZodString;
@@ -2836,9 +2836,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2836
2836
  firstname: string;
2837
2837
  surname: string;
2838
2838
  middlename?: string | null | undefined;
2839
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2839
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2840
2840
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2841
- originalActionId: z.ZodOptional<z.ZodString>;
2841
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2842
2842
  }, {
2843
2843
  type: z.ZodLiteral<"REJECT">;
2844
2844
  reason: z.ZodObject<{
@@ -2853,7 +2853,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2853
2853
  }>;
2854
2854
  }>, "strip", z.ZodTypeAny, {
2855
2855
  type: "REJECT";
2856
- id: string;
2856
+ id: string & z.BRAND<"UUID">;
2857
2857
  status: "Rejected" | "Requested" | "Accepted";
2858
2858
  reason: {
2859
2859
  message: string;
@@ -2907,7 +2907,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2907
2907
  originalFilename: string;
2908
2908
  }[] | [string, string] | null | undefined>;
2909
2909
  createdBySignature?: string | null | undefined;
2910
- createdAtLocation?: string | null | undefined;
2910
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2911
2911
  annotation?: Record<string, string | number | boolean | {
2912
2912
  type: string;
2913
2913
  filename: string;
@@ -2949,8 +2949,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2949
2949
  option: string;
2950
2950
  filename: string;
2951
2951
  originalFilename: string;
2952
- }[] | [string, string] | null | undefined> | undefined;
2953
- originalActionId?: string | undefined;
2952
+ }[] | [string, string] | null | undefined> | null | undefined;
2953
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2954
2954
  }, {
2955
2955
  type: "REJECT";
2956
2956
  id: string;
@@ -3049,17 +3049,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3049
3049
  option: string;
3050
3050
  filename: string;
3051
3051
  originalFilename: string;
3052
- }[] | [string, string] | null | undefined> | undefined;
3053
- originalActionId?: string | undefined;
3052
+ }[] | [string, string] | null | undefined> | null | undefined;
3053
+ originalActionId?: string | null | undefined;
3054
3054
  }>, z.ZodObject<z.objectUtil.extendShape<{
3055
- id: z.ZodString;
3055
+ id: z.ZodBranded<z.ZodString, "UUID">;
3056
3056
  transactionId: z.ZodString;
3057
3057
  createdByUserType: z.ZodEnum<["user", "system"]>;
3058
3058
  createdAt: z.ZodString;
3059
3059
  createdBy: z.ZodString;
3060
3060
  createdByRole: z.ZodString;
3061
3061
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3062
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3062
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3063
3063
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3064
3064
  filename: z.ZodString;
3065
3065
  originalFilename: z.ZodString;
@@ -3186,7 +3186,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3186
3186
  surname: string;
3187
3187
  middlename?: string | null | undefined;
3188
3188
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3189
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3190
3190
  filename: z.ZodString;
3191
3191
  originalFilename: z.ZodString;
3192
3192
  type: z.ZodString;
@@ -3311,14 +3311,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3311
3311
  firstname: string;
3312
3312
  surname: string;
3313
3313
  middlename?: string | null | undefined;
3314
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3314
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3315
3315
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3316
- originalActionId: z.ZodOptional<z.ZodString>;
3316
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3317
3317
  }, {
3318
3318
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
3319
3319
  }>, "strip", z.ZodTypeAny, {
3320
3320
  type: "MARKED_AS_DUPLICATE";
3321
- id: string;
3321
+ id: string & z.BRAND<"UUID">;
3322
3322
  status: "Rejected" | "Requested" | "Accepted";
3323
3323
  transactionId: string;
3324
3324
  createdByUserType: "system" | "user";
@@ -3368,7 +3368,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3368
3368
  originalFilename: string;
3369
3369
  }[] | [string, string] | null | undefined>;
3370
3370
  createdBySignature?: string | null | undefined;
3371
- createdAtLocation?: string | null | undefined;
3371
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3372
3372
  annotation?: Record<string, string | number | boolean | {
3373
3373
  type: string;
3374
3374
  filename: string;
@@ -3410,8 +3410,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3410
3410
  option: string;
3411
3411
  filename: string;
3412
3412
  originalFilename: string;
3413
- }[] | [string, string] | null | undefined> | undefined;
3414
- originalActionId?: string | undefined;
3413
+ }[] | [string, string] | null | undefined> | null | undefined;
3414
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3415
3415
  }, {
3416
3416
  type: "MARKED_AS_DUPLICATE";
3417
3417
  id: string;
@@ -3506,17 +3506,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3506
3506
  option: string;
3507
3507
  filename: string;
3508
3508
  originalFilename: string;
3509
- }[] | [string, string] | null | undefined> | undefined;
3510
- originalActionId?: string | undefined;
3509
+ }[] | [string, string] | null | undefined> | null | undefined;
3510
+ originalActionId?: string | null | undefined;
3511
3511
  }>, z.ZodObject<z.objectUtil.extendShape<{
3512
- id: z.ZodString;
3512
+ id: z.ZodBranded<z.ZodString, "UUID">;
3513
3513
  transactionId: z.ZodString;
3514
3514
  createdByUserType: z.ZodEnum<["user", "system"]>;
3515
3515
  createdAt: z.ZodString;
3516
3516
  createdBy: z.ZodString;
3517
3517
  createdByRole: z.ZodString;
3518
3518
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3519
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3519
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3520
3520
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3521
3521
  filename: z.ZodString;
3522
3522
  originalFilename: z.ZodString;
@@ -3643,7 +3643,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3643
3643
  surname: string;
3644
3644
  middlename?: string | null | undefined;
3645
3645
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3646
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3647
3647
  filename: z.ZodString;
3648
3648
  originalFilename: z.ZodString;
3649
3649
  type: z.ZodString;
@@ -3768,9 +3768,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3768
3768
  firstname: string;
3769
3769
  surname: string;
3770
3770
  middlename?: string | null | undefined;
3771
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3771
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3772
3772
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3773
- originalActionId: z.ZodOptional<z.ZodString>;
3773
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3774
3774
  }, {
3775
3775
  type: z.ZodLiteral<"ARCHIVE">;
3776
3776
  reason: z.ZodObject<{
@@ -3785,7 +3785,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3785
3785
  }>;
3786
3786
  }>, "strip", z.ZodTypeAny, {
3787
3787
  type: "ARCHIVE";
3788
- id: string;
3788
+ id: string & z.BRAND<"UUID">;
3789
3789
  status: "Rejected" | "Requested" | "Accepted";
3790
3790
  reason: {
3791
3791
  message: string;
@@ -3839,7 +3839,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3839
3839
  originalFilename: string;
3840
3840
  }[] | [string, string] | null | undefined>;
3841
3841
  createdBySignature?: string | null | undefined;
3842
- createdAtLocation?: string | null | undefined;
3842
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3843
3843
  annotation?: Record<string, string | number | boolean | {
3844
3844
  type: string;
3845
3845
  filename: string;
@@ -3881,8 +3881,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3881
3881
  option: string;
3882
3882
  filename: string;
3883
3883
  originalFilename: string;
3884
- }[] | [string, string] | null | undefined> | undefined;
3885
- originalActionId?: string | undefined;
3884
+ }[] | [string, string] | null | undefined> | null | undefined;
3885
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3886
3886
  }, {
3887
3887
  type: "ARCHIVE";
3888
3888
  id: string;
@@ -3981,17 +3981,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3981
3981
  option: string;
3982
3982
  filename: string;
3983
3983
  originalFilename: string;
3984
- }[] | [string, string] | null | undefined> | undefined;
3985
- originalActionId?: string | undefined;
3984
+ }[] | [string, string] | null | undefined> | null | undefined;
3985
+ originalActionId?: string | null | undefined;
3986
3986
  }>, z.ZodObject<z.objectUtil.extendShape<{
3987
- id: z.ZodString;
3987
+ id: z.ZodBranded<z.ZodString, "UUID">;
3988
3988
  transactionId: z.ZodString;
3989
3989
  createdByUserType: z.ZodEnum<["user", "system"]>;
3990
3990
  createdAt: z.ZodString;
3991
3991
  createdBy: z.ZodString;
3992
3992
  createdByRole: z.ZodString;
3993
3993
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3994
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3994
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3995
3995
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3996
3996
  filename: z.ZodString;
3997
3997
  originalFilename: z.ZodString;
@@ -4118,7 +4118,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4118
4118
  surname: string;
4119
4119
  middlename?: string | null | undefined;
4120
4120
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4121
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4122
4122
  filename: z.ZodString;
4123
4123
  originalFilename: z.ZodString;
4124
4124
  type: z.ZodString;
@@ -4243,14 +4243,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4243
4243
  firstname: string;
4244
4244
  surname: string;
4245
4245
  middlename?: string | null | undefined;
4246
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4246
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4247
4247
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4248
- originalActionId: z.ZodOptional<z.ZodString>;
4248
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4249
4249
  }, {
4250
4250
  type: z.ZodLiteral<"NOTIFY">;
4251
4251
  }>, "strip", z.ZodTypeAny, {
4252
4252
  type: "NOTIFY";
4253
- id: string;
4253
+ id: string & z.BRAND<"UUID">;
4254
4254
  status: "Rejected" | "Requested" | "Accepted";
4255
4255
  transactionId: string;
4256
4256
  createdByUserType: "system" | "user";
@@ -4300,7 +4300,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4300
4300
  originalFilename: string;
4301
4301
  }[] | [string, string] | null | undefined>;
4302
4302
  createdBySignature?: string | null | undefined;
4303
- createdAtLocation?: string | null | undefined;
4303
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4304
4304
  annotation?: Record<string, string | number | boolean | {
4305
4305
  type: string;
4306
4306
  filename: string;
@@ -4342,8 +4342,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4342
4342
  option: string;
4343
4343
  filename: string;
4344
4344
  originalFilename: string;
4345
- }[] | [string, string] | null | undefined> | undefined;
4346
- originalActionId?: string | undefined;
4345
+ }[] | [string, string] | null | undefined> | null | undefined;
4346
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4347
4347
  }, {
4348
4348
  type: "NOTIFY";
4349
4349
  id: string;
@@ -4438,17 +4438,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4438
4438
  option: string;
4439
4439
  filename: string;
4440
4440
  originalFilename: string;
4441
- }[] | [string, string] | null | undefined> | undefined;
4442
- originalActionId?: string | undefined;
4441
+ }[] | [string, string] | null | undefined> | null | undefined;
4442
+ originalActionId?: string | null | undefined;
4443
4443
  }>, z.ZodObject<z.objectUtil.extendShape<{
4444
- id: z.ZodString;
4444
+ id: z.ZodBranded<z.ZodString, "UUID">;
4445
4445
  transactionId: z.ZodString;
4446
4446
  createdByUserType: z.ZodEnum<["user", "system"]>;
4447
4447
  createdAt: z.ZodString;
4448
4448
  createdBy: z.ZodString;
4449
4449
  createdByRole: z.ZodString;
4450
4450
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4451
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4451
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4452
4452
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4453
4453
  filename: z.ZodString;
4454
4454
  originalFilename: z.ZodString;
@@ -4575,7 +4575,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4575
4575
  surname: string;
4576
4576
  middlename?: string | null | undefined;
4577
4577
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4578
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4579
4579
  filename: z.ZodString;
4580
4580
  originalFilename: z.ZodString;
4581
4581
  type: z.ZodString;
@@ -4700,15 +4700,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4700
4700
  firstname: string;
4701
4701
  surname: string;
4702
4702
  middlename?: string | null | undefined;
4703
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4703
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4704
4704
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4705
- originalActionId: z.ZodOptional<z.ZodString>;
4705
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4706
4706
  }, {
4707
4707
  type: z.ZodLiteral<"REGISTER">;
4708
4708
  registrationNumber: z.ZodOptional<z.ZodString>;
4709
4709
  }>, "strip", z.ZodTypeAny, {
4710
4710
  type: "REGISTER";
4711
- id: string;
4711
+ id: string & z.BRAND<"UUID">;
4712
4712
  status: "Rejected" | "Requested" | "Accepted";
4713
4713
  transactionId: string;
4714
4714
  createdByUserType: "system" | "user";
@@ -4758,7 +4758,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4758
4758
  originalFilename: string;
4759
4759
  }[] | [string, string] | null | undefined>;
4760
4760
  createdBySignature?: string | null | undefined;
4761
- createdAtLocation?: string | null | undefined;
4761
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4762
4762
  annotation?: Record<string, string | number | boolean | {
4763
4763
  type: string;
4764
4764
  filename: string;
@@ -4800,8 +4800,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4800
4800
  option: string;
4801
4801
  filename: string;
4802
4802
  originalFilename: string;
4803
- }[] | [string, string] | null | undefined> | undefined;
4804
- originalActionId?: string | undefined;
4803
+ }[] | [string, string] | null | undefined> | null | undefined;
4804
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4805
4805
  registrationNumber?: string | undefined;
4806
4806
  }, {
4807
4807
  type: "REGISTER";
@@ -4897,18 +4897,18 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4897
4897
  option: string;
4898
4898
  filename: string;
4899
4899
  originalFilename: string;
4900
- }[] | [string, string] | null | undefined> | undefined;
4901
- originalActionId?: string | undefined;
4900
+ }[] | [string, string] | null | undefined> | null | undefined;
4901
+ originalActionId?: string | null | undefined;
4902
4902
  registrationNumber?: string | undefined;
4903
4903
  }>, z.ZodObject<z.objectUtil.extendShape<{
4904
- id: z.ZodString;
4904
+ id: z.ZodBranded<z.ZodString, "UUID">;
4905
4905
  transactionId: z.ZodString;
4906
4906
  createdByUserType: z.ZodEnum<["user", "system"]>;
4907
4907
  createdAt: z.ZodString;
4908
4908
  createdBy: z.ZodString;
4909
4909
  createdByRole: z.ZodString;
4910
4910
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4911
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4911
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4912
4912
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4913
4913
  filename: z.ZodString;
4914
4914
  originalFilename: z.ZodString;
@@ -5035,7 +5035,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5035
5035
  surname: string;
5036
5036
  middlename?: string | null | undefined;
5037
5037
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5038
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5039
5039
  filename: z.ZodString;
5040
5040
  originalFilename: z.ZodString;
5041
5041
  type: z.ZodString;
@@ -5160,14 +5160,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5160
5160
  firstname: string;
5161
5161
  surname: string;
5162
5162
  middlename?: string | null | undefined;
5163
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5163
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5164
5164
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5165
- originalActionId: z.ZodOptional<z.ZodString>;
5165
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5166
5166
  }, {
5167
5167
  type: z.ZodLiteral<"DECLARE">;
5168
5168
  }>, "strip", z.ZodTypeAny, {
5169
5169
  type: "DECLARE";
5170
- id: string;
5170
+ id: string & z.BRAND<"UUID">;
5171
5171
  status: "Rejected" | "Requested" | "Accepted";
5172
5172
  transactionId: string;
5173
5173
  createdByUserType: "system" | "user";
@@ -5217,7 +5217,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5217
5217
  originalFilename: string;
5218
5218
  }[] | [string, string] | null | undefined>;
5219
5219
  createdBySignature?: string | null | undefined;
5220
- createdAtLocation?: string | null | undefined;
5220
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5221
5221
  annotation?: Record<string, string | number | boolean | {
5222
5222
  type: string;
5223
5223
  filename: string;
@@ -5259,8 +5259,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5259
5259
  option: string;
5260
5260
  filename: string;
5261
5261
  originalFilename: string;
5262
- }[] | [string, string] | null | undefined> | undefined;
5263
- originalActionId?: string | undefined;
5262
+ }[] | [string, string] | null | undefined> | null | undefined;
5263
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5264
5264
  }, {
5265
5265
  type: "DECLARE";
5266
5266
  id: string;
@@ -5355,17 +5355,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5355
5355
  option: string;
5356
5356
  filename: string;
5357
5357
  originalFilename: string;
5358
- }[] | [string, string] | null | undefined> | undefined;
5359
- originalActionId?: string | undefined;
5358
+ }[] | [string, string] | null | undefined> | null | undefined;
5359
+ originalActionId?: string | null | undefined;
5360
5360
  }>, z.ZodObject<z.objectUtil.extendShape<{
5361
- id: z.ZodString;
5361
+ id: z.ZodBranded<z.ZodString, "UUID">;
5362
5362
  transactionId: z.ZodString;
5363
5363
  createdByUserType: z.ZodEnum<["user", "system"]>;
5364
5364
  createdAt: z.ZodString;
5365
5365
  createdBy: z.ZodString;
5366
5366
  createdByRole: z.ZodString;
5367
5367
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5368
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5368
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5369
5369
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5370
5370
  filename: z.ZodString;
5371
5371
  originalFilename: z.ZodString;
@@ -5492,7 +5492,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5492
5492
  surname: string;
5493
5493
  middlename?: string | null | undefined;
5494
5494
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5495
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5496
5496
  filename: z.ZodString;
5497
5497
  originalFilename: z.ZodString;
5498
5498
  type: z.ZodString;
@@ -5617,15 +5617,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5617
5617
  firstname: string;
5618
5618
  surname: string;
5619
5619
  middlename?: string | null | undefined;
5620
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5620
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5621
5621
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5622
- originalActionId: z.ZodOptional<z.ZodString>;
5622
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5623
5623
  }, {
5624
5624
  type: z.ZodLiteral<"ASSIGN">;
5625
5625
  assignedTo: z.ZodString;
5626
5626
  }>, "strip", z.ZodTypeAny, {
5627
5627
  type: "ASSIGN";
5628
- id: string;
5628
+ id: string & z.BRAND<"UUID">;
5629
5629
  status: "Rejected" | "Requested" | "Accepted";
5630
5630
  transactionId: string;
5631
5631
  createdByUserType: "system" | "user";
@@ -5676,7 +5676,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5676
5676
  }[] | [string, string] | null | undefined>;
5677
5677
  assignedTo: string;
5678
5678
  createdBySignature?: string | null | undefined;
5679
- createdAtLocation?: string | null | undefined;
5679
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5680
5680
  annotation?: Record<string, string | number | boolean | {
5681
5681
  type: string;
5682
5682
  filename: string;
@@ -5718,8 +5718,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5718
5718
  option: string;
5719
5719
  filename: string;
5720
5720
  originalFilename: string;
5721
- }[] | [string, string] | null | undefined> | undefined;
5722
- originalActionId?: string | undefined;
5721
+ }[] | [string, string] | null | undefined> | null | undefined;
5722
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5723
5723
  }, {
5724
5724
  type: "ASSIGN";
5725
5725
  id: string;
@@ -5815,17 +5815,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5815
5815
  option: string;
5816
5816
  filename: string;
5817
5817
  originalFilename: string;
5818
- }[] | [string, string] | null | undefined> | undefined;
5819
- originalActionId?: string | undefined;
5818
+ }[] | [string, string] | null | undefined> | null | undefined;
5819
+ originalActionId?: string | null | undefined;
5820
5820
  }>, z.ZodObject<z.objectUtil.extendShape<{
5821
- id: z.ZodString;
5821
+ id: z.ZodBranded<z.ZodString, "UUID">;
5822
5822
  transactionId: z.ZodString;
5823
5823
  createdByUserType: z.ZodEnum<["user", "system"]>;
5824
5824
  createdAt: z.ZodString;
5825
5825
  createdBy: z.ZodString;
5826
5826
  createdByRole: z.ZodString;
5827
5827
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5828
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5828
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5829
5829
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5830
5830
  filename: z.ZodString;
5831
5831
  originalFilename: z.ZodString;
@@ -5952,7 +5952,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5952
5952
  surname: string;
5953
5953
  middlename?: string | null | undefined;
5954
5954
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5955
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5956
5956
  filename: z.ZodString;
5957
5957
  originalFilename: z.ZodString;
5958
5958
  type: z.ZodString;
@@ -6077,14 +6077,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6077
6077
  firstname: string;
6078
6078
  surname: string;
6079
6079
  middlename?: string | null | undefined;
6080
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6080
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6081
6081
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6082
- originalActionId: z.ZodOptional<z.ZodString>;
6082
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6083
6083
  }, {
6084
6084
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
6085
6085
  }>, "strip", z.ZodTypeAny, {
6086
6086
  type: "REQUEST_CORRECTION";
6087
- id: string;
6087
+ id: string & z.BRAND<"UUID">;
6088
6088
  status: "Rejected" | "Requested" | "Accepted";
6089
6089
  transactionId: string;
6090
6090
  createdByUserType: "system" | "user";
@@ -6134,7 +6134,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6134
6134
  originalFilename: string;
6135
6135
  }[] | [string, string] | null | undefined>;
6136
6136
  createdBySignature?: string | null | undefined;
6137
- createdAtLocation?: string | null | undefined;
6137
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6138
6138
  annotation?: Record<string, string | number | boolean | {
6139
6139
  type: string;
6140
6140
  filename: string;
@@ -6176,8 +6176,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6176
6176
  option: string;
6177
6177
  filename: string;
6178
6178
  originalFilename: string;
6179
- }[] | [string, string] | null | undefined> | undefined;
6180
- originalActionId?: string | undefined;
6179
+ }[] | [string, string] | null | undefined> | null | undefined;
6180
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6181
6181
  }, {
6182
6182
  type: "REQUEST_CORRECTION";
6183
6183
  id: string;
@@ -6272,17 +6272,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6272
6272
  option: string;
6273
6273
  filename: string;
6274
6274
  originalFilename: string;
6275
- }[] | [string, string] | null | undefined> | undefined;
6276
- originalActionId?: string | undefined;
6275
+ }[] | [string, string] | null | undefined> | null | undefined;
6276
+ originalActionId?: string | null | undefined;
6277
6277
  }>, z.ZodObject<z.objectUtil.extendShape<{
6278
- id: z.ZodString;
6278
+ id: z.ZodBranded<z.ZodString, "UUID">;
6279
6279
  transactionId: z.ZodString;
6280
6280
  createdByUserType: z.ZodEnum<["user", "system"]>;
6281
6281
  createdAt: z.ZodString;
6282
6282
  createdBy: z.ZodString;
6283
6283
  createdByRole: z.ZodString;
6284
6284
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6285
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6285
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6286
6286
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6287
6287
  filename: z.ZodString;
6288
6288
  originalFilename: z.ZodString;
@@ -6409,7 +6409,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6409
6409
  surname: string;
6410
6410
  middlename?: string | null | undefined;
6411
6411
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6412
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6413
6413
  filename: z.ZodString;
6414
6414
  originalFilename: z.ZodString;
6415
6415
  type: z.ZodString;
@@ -6534,15 +6534,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6534
6534
  firstname: string;
6535
6535
  surname: string;
6536
6536
  middlename?: string | null | undefined;
6537
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6537
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6538
6538
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6539
- originalActionId: z.ZodOptional<z.ZodString>;
6539
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6540
6540
  }, {
6541
6541
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
6542
6542
  requestId: z.ZodString;
6543
6543
  }>, "strip", z.ZodTypeAny, {
6544
6544
  type: "APPROVE_CORRECTION";
6545
- id: string;
6545
+ id: string & z.BRAND<"UUID">;
6546
6546
  status: "Rejected" | "Requested" | "Accepted";
6547
6547
  transactionId: string;
6548
6548
  createdByUserType: "system" | "user";
@@ -6593,7 +6593,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6593
6593
  }[] | [string, string] | null | undefined>;
6594
6594
  requestId: string;
6595
6595
  createdBySignature?: string | null | undefined;
6596
- createdAtLocation?: string | null | undefined;
6596
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6597
6597
  annotation?: Record<string, string | number | boolean | {
6598
6598
  type: string;
6599
6599
  filename: string;
@@ -6635,8 +6635,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6635
6635
  option: string;
6636
6636
  filename: string;
6637
6637
  originalFilename: string;
6638
- }[] | [string, string] | null | undefined> | undefined;
6639
- originalActionId?: string | undefined;
6638
+ }[] | [string, string] | null | undefined> | null | undefined;
6639
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6640
6640
  }, {
6641
6641
  type: "APPROVE_CORRECTION";
6642
6642
  id: string;
@@ -6732,17 +6732,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6732
6732
  option: string;
6733
6733
  filename: string;
6734
6734
  originalFilename: string;
6735
- }[] | [string, string] | null | undefined> | undefined;
6736
- originalActionId?: string | undefined;
6735
+ }[] | [string, string] | null | undefined> | null | undefined;
6736
+ originalActionId?: string | null | undefined;
6737
6737
  }>, z.ZodObject<z.objectUtil.extendShape<{
6738
- id: z.ZodString;
6738
+ id: z.ZodBranded<z.ZodString, "UUID">;
6739
6739
  transactionId: z.ZodString;
6740
6740
  createdByUserType: z.ZodEnum<["user", "system"]>;
6741
6741
  createdAt: z.ZodString;
6742
6742
  createdBy: z.ZodString;
6743
6743
  createdByRole: z.ZodString;
6744
6744
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6745
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6745
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6746
6746
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6747
6747
  filename: z.ZodString;
6748
6748
  originalFilename: z.ZodString;
@@ -6869,7 +6869,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6869
6869
  surname: string;
6870
6870
  middlename?: string | null | undefined;
6871
6871
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6872
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6873
6873
  filename: z.ZodString;
6874
6874
  originalFilename: z.ZodString;
6875
6875
  type: z.ZodString;
@@ -6994,15 +6994,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6994
6994
  firstname: string;
6995
6995
  surname: string;
6996
6996
  middlename?: string | null | undefined;
6997
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6997
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6998
6998
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6999
- originalActionId: z.ZodOptional<z.ZodString>;
6999
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7000
7000
  }, {
7001
7001
  type: z.ZodLiteral<"REJECT_CORRECTION">;
7002
7002
  requestId: z.ZodString;
7003
7003
  }>, "strip", z.ZodTypeAny, {
7004
7004
  type: "REJECT_CORRECTION";
7005
- id: string;
7005
+ id: string & z.BRAND<"UUID">;
7006
7006
  status: "Rejected" | "Requested" | "Accepted";
7007
7007
  transactionId: string;
7008
7008
  createdByUserType: "system" | "user";
@@ -7053,7 +7053,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7053
7053
  }[] | [string, string] | null | undefined>;
7054
7054
  requestId: string;
7055
7055
  createdBySignature?: string | null | undefined;
7056
- createdAtLocation?: string | null | undefined;
7056
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7057
7057
  annotation?: Record<string, string | number | boolean | {
7058
7058
  type: string;
7059
7059
  filename: string;
@@ -7095,8 +7095,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7095
7095
  option: string;
7096
7096
  filename: string;
7097
7097
  originalFilename: string;
7098
- }[] | [string, string] | null | undefined> | undefined;
7099
- originalActionId?: string | undefined;
7098
+ }[] | [string, string] | null | undefined> | null | undefined;
7099
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7100
7100
  }, {
7101
7101
  type: "REJECT_CORRECTION";
7102
7102
  id: string;
@@ -7192,17 +7192,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7192
7192
  option: string;
7193
7193
  filename: string;
7194
7194
  originalFilename: string;
7195
- }[] | [string, string] | null | undefined> | undefined;
7196
- originalActionId?: string | undefined;
7195
+ }[] | [string, string] | null | undefined> | null | undefined;
7196
+ originalActionId?: string | null | undefined;
7197
7197
  }>, z.ZodObject<z.objectUtil.extendShape<{
7198
- id: z.ZodString;
7198
+ id: z.ZodBranded<z.ZodString, "UUID">;
7199
7199
  transactionId: z.ZodString;
7200
7200
  createdByUserType: z.ZodEnum<["user", "system"]>;
7201
7201
  createdAt: z.ZodString;
7202
7202
  createdBy: z.ZodString;
7203
7203
  createdByRole: z.ZodString;
7204
7204
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7205
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7205
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7206
7206
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7207
7207
  filename: z.ZodString;
7208
7208
  originalFilename: z.ZodString;
@@ -7329,7 +7329,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7329
7329
  surname: string;
7330
7330
  middlename?: string | null | undefined;
7331
7331
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7332
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7333
7333
  filename: z.ZodString;
7334
7334
  originalFilename: z.ZodString;
7335
7335
  type: z.ZodString;
@@ -7454,15 +7454,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7454
7454
  firstname: string;
7455
7455
  surname: string;
7456
7456
  middlename?: string | null | undefined;
7457
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7457
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7458
7458
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7459
- originalActionId: z.ZodOptional<z.ZodString>;
7459
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7460
7460
  }, {
7461
7461
  type: z.ZodLiteral<"UNASSIGN">;
7462
- assignedTo: z.ZodLiteral<null>;
7463
7462
  }>, "strip", z.ZodTypeAny, {
7464
7463
  type: "UNASSIGN";
7465
- id: string;
7464
+ id: string & z.BRAND<"UUID">;
7466
7465
  status: "Rejected" | "Requested" | "Accepted";
7467
7466
  transactionId: string;
7468
7467
  createdByUserType: "system" | "user";
@@ -7511,9 +7510,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7511
7510
  filename: string;
7512
7511
  originalFilename: string;
7513
7512
  }[] | [string, string] | null | undefined>;
7514
- assignedTo: null;
7515
7513
  createdBySignature?: string | null | undefined;
7516
- createdAtLocation?: string | null | undefined;
7514
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7517
7515
  annotation?: Record<string, string | number | boolean | {
7518
7516
  type: string;
7519
7517
  filename: string;
@@ -7555,8 +7553,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7555
7553
  option: string;
7556
7554
  filename: string;
7557
7555
  originalFilename: string;
7558
- }[] | [string, string] | null | undefined> | undefined;
7559
- originalActionId?: string | undefined;
7556
+ }[] | [string, string] | null | undefined> | null | undefined;
7557
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7560
7558
  }, {
7561
7559
  type: "UNASSIGN";
7562
7560
  id: string;
@@ -7608,7 +7606,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7608
7606
  filename: string;
7609
7607
  originalFilename: string;
7610
7608
  }[] | [string, string] | null | undefined>;
7611
- assignedTo: null;
7612
7609
  createdBySignature?: string | null | undefined;
7613
7610
  createdAtLocation?: string | null | undefined;
7614
7611
  annotation?: Record<string, string | number | boolean | {
@@ -7652,17 +7649,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7652
7649
  option: string;
7653
7650
  filename: string;
7654
7651
  originalFilename: string;
7655
- }[] | [string, string] | null | undefined> | undefined;
7656
- originalActionId?: string | undefined;
7652
+ }[] | [string, string] | null | undefined> | null | undefined;
7653
+ originalActionId?: string | null | undefined;
7657
7654
  }>, z.ZodObject<z.objectUtil.extendShape<{
7658
- id: z.ZodString;
7655
+ id: z.ZodBranded<z.ZodString, "UUID">;
7659
7656
  transactionId: z.ZodString;
7660
7657
  createdByUserType: z.ZodEnum<["user", "system"]>;
7661
7658
  createdAt: z.ZodString;
7662
7659
  createdBy: z.ZodString;
7663
7660
  createdByRole: z.ZodString;
7664
7661
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7665
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7662
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
7666
7663
  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<{
7667
7664
  filename: z.ZodString;
7668
7665
  originalFilename: z.ZodString;
@@ -7789,7 +7786,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7789
7786
  surname: string;
7790
7787
  middlename?: string | null | undefined;
7791
7788
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7792
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7793
7790
  filename: z.ZodString;
7794
7791
  originalFilename: z.ZodString;
7795
7792
  type: z.ZodString;
@@ -7914,14 +7911,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7914
7911
  firstname: string;
7915
7912
  surname: string;
7916
7913
  middlename?: string | null | undefined;
7917
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7914
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7918
7915
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7919
- originalActionId: z.ZodOptional<z.ZodString>;
7916
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7920
7917
  }, {
7921
7918
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
7922
7919
  }>, "strip", z.ZodTypeAny, {
7923
7920
  type: "PRINT_CERTIFICATE";
7924
- id: string;
7921
+ id: string & z.BRAND<"UUID">;
7925
7922
  status: "Rejected" | "Requested" | "Accepted";
7926
7923
  transactionId: string;
7927
7924
  createdByUserType: "system" | "user";
@@ -7971,7 +7968,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7971
7968
  originalFilename: string;
7972
7969
  }[] | [string, string] | null | undefined>;
7973
7970
  createdBySignature?: string | null | undefined;
7974
- createdAtLocation?: string | null | undefined;
7971
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7975
7972
  annotation?: Record<string, string | number | boolean | {
7976
7973
  type: string;
7977
7974
  filename: string;
@@ -8013,8 +8010,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8013
8010
  option: string;
8014
8011
  filename: string;
8015
8012
  originalFilename: string;
8016
- }[] | [string, string] | null | undefined> | undefined;
8017
- originalActionId?: string | undefined;
8013
+ }[] | [string, string] | null | undefined> | null | undefined;
8014
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8018
8015
  }, {
8019
8016
  type: "PRINT_CERTIFICATE";
8020
8017
  id: string;
@@ -8109,17 +8106,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8109
8106
  option: string;
8110
8107
  filename: string;
8111
8108
  originalFilename: string;
8112
- }[] | [string, string] | null | undefined> | undefined;
8113
- originalActionId?: string | undefined;
8109
+ }[] | [string, string] | null | undefined> | null | undefined;
8110
+ originalActionId?: string | null | undefined;
8114
8111
  }>, z.ZodObject<z.objectUtil.extendShape<{
8115
- id: z.ZodString;
8112
+ id: z.ZodBranded<z.ZodString, "UUID">;
8116
8113
  transactionId: z.ZodString;
8117
8114
  createdByUserType: z.ZodEnum<["user", "system"]>;
8118
8115
  createdAt: z.ZodString;
8119
8116
  createdBy: z.ZodString;
8120
8117
  createdByRole: z.ZodString;
8121
8118
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8122
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8119
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8123
8120
  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<{
8124
8121
  filename: z.ZodString;
8125
8122
  originalFilename: z.ZodString;
@@ -8246,7 +8243,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8246
8243
  surname: string;
8247
8244
  middlename?: string | null | undefined;
8248
8245
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8249
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8250
8247
  filename: z.ZodString;
8251
8248
  originalFilename: z.ZodString;
8252
8249
  type: z.ZodString;
@@ -8371,14 +8368,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8371
8368
  firstname: string;
8372
8369
  surname: string;
8373
8370
  middlename?: string | null | undefined;
8374
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8371
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
8375
8372
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8376
- originalActionId: z.ZodOptional<z.ZodString>;
8373
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8377
8374
  }, {
8378
8375
  type: z.ZodLiteral<"READ">;
8379
8376
  }>, "strip", z.ZodTypeAny, {
8380
8377
  type: "READ";
8381
- id: string;
8378
+ id: string & z.BRAND<"UUID">;
8382
8379
  status: "Rejected" | "Requested" | "Accepted";
8383
8380
  transactionId: string;
8384
8381
  createdByUserType: "system" | "user";
@@ -8428,7 +8425,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8428
8425
  originalFilename: string;
8429
8426
  }[] | [string, string] | null | undefined>;
8430
8427
  createdBySignature?: string | null | undefined;
8431
- createdAtLocation?: string | null | undefined;
8428
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8432
8429
  annotation?: Record<string, string | number | boolean | {
8433
8430
  type: string;
8434
8431
  filename: string;
@@ -8470,8 +8467,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8470
8467
  option: string;
8471
8468
  filename: string;
8472
8469
  originalFilename: string;
8473
- }[] | [string, string] | null | undefined> | undefined;
8474
- originalActionId?: string | undefined;
8470
+ }[] | [string, string] | null | undefined> | null | undefined;
8471
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8475
8472
  }, {
8476
8473
  type: "READ";
8477
8474
  id: string;
@@ -8566,19 +8563,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8566
8563
  option: string;
8567
8564
  filename: string;
8568
8565
  originalFilename: string;
8569
- }[] | [string, string] | null | undefined> | undefined;
8570
- originalActionId?: string | undefined;
8566
+ }[] | [string, string] | null | undefined> | null | undefined;
8567
+ originalActionId?: string | null | undefined;
8571
8568
  }>]>;
8572
8569
  export type ActionDocument = z.infer<typeof ActionDocument>;
8573
8570
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
8574
- id: z.ZodString;
8571
+ id: z.ZodBranded<z.ZodString, "UUID">;
8575
8572
  transactionId: z.ZodString;
8576
8573
  createdByUserType: z.ZodEnum<["user", "system"]>;
8577
8574
  createdAt: z.ZodString;
8578
8575
  createdBy: z.ZodString;
8579
8576
  createdByRole: z.ZodString;
8580
8577
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8581
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8578
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8582
8579
  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<{
8583
8580
  filename: z.ZodString;
8584
8581
  originalFilename: z.ZodString;
@@ -8705,7 +8702,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8705
8702
  surname: string;
8706
8703
  middlename?: string | null | undefined;
8707
8704
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
8708
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8709
8706
  filename: z.ZodString;
8710
8707
  originalFilename: z.ZodString;
8711
8708
  type: z.ZodString;
@@ -8830,15 +8827,15 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8830
8827
  firstname: string;
8831
8828
  surname: string;
8832
8829
  middlename?: string | null | undefined;
8833
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8830
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
8834
8831
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8835
- originalActionId: z.ZodOptional<z.ZodString>;
8832
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8836
8833
  }, "declaration" | "annotation">, {
8837
8834
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
8838
8835
  status: z.ZodLiteral<"Rejected">;
8839
8836
  }>, "strip", z.ZodTypeAny, {
8840
8837
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8841
- id: string;
8838
+ id: string & z.BRAND<"UUID">;
8842
8839
  status: "Rejected";
8843
8840
  transactionId: string;
8844
8841
  createdByUserType: "system" | "user";
@@ -8846,8 +8843,8 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8846
8843
  createdBy: string;
8847
8844
  createdByRole: string;
8848
8845
  createdBySignature?: string | null | undefined;
8849
- createdAtLocation?: string | null | undefined;
8850
- originalActionId?: string | undefined;
8846
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8847
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8851
8848
  }, {
8852
8849
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8853
8850
  id: string;
@@ -8859,18 +8856,18 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
8859
8856
  createdByRole: string;
8860
8857
  createdBySignature?: string | null | undefined;
8861
8858
  createdAtLocation?: string | null | undefined;
8862
- originalActionId?: string | undefined;
8859
+ originalActionId?: string | null | undefined;
8863
8860
  }>;
8864
8861
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
8865
8862
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8866
- id: z.ZodString;
8863
+ id: z.ZodBranded<z.ZodString, "UUID">;
8867
8864
  transactionId: z.ZodString;
8868
8865
  createdByUserType: z.ZodEnum<["user", "system"]>;
8869
8866
  createdAt: z.ZodString;
8870
8867
  createdBy: z.ZodString;
8871
8868
  createdByRole: z.ZodString;
8872
8869
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8873
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8870
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
8874
8871
  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<{
8875
8872
  filename: z.ZodString;
8876
8873
  originalFilename: z.ZodString;
@@ -8997,7 +8994,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8997
8994
  surname: string;
8998
8995
  middlename?: string | null | undefined;
8999
8996
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9000
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9001
8998
  filename: z.ZodString;
9002
8999
  originalFilename: z.ZodString;
9003
9000
  type: z.ZodString;
@@ -9122,14 +9119,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9122
9119
  firstname: string;
9123
9120
  surname: string;
9124
9121
  middlename?: string | null | undefined;
9125
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9122
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
9126
9123
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9127
- originalActionId: z.ZodOptional<z.ZodString>;
9124
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9128
9125
  }, {
9129
9126
  type: z.ZodLiteral<"CREATE">;
9130
9127
  }>, "strip", z.ZodTypeAny, {
9131
9128
  type: "CREATE";
9132
- id: string;
9129
+ id: string & z.BRAND<"UUID">;
9133
9130
  status: "Rejected" | "Requested" | "Accepted";
9134
9131
  transactionId: string;
9135
9132
  createdByUserType: "system" | "user";
@@ -9179,7 +9176,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9179
9176
  originalFilename: string;
9180
9177
  }[] | [string, string] | null | undefined>;
9181
9178
  createdBySignature?: string | null | undefined;
9182
- createdAtLocation?: string | null | undefined;
9179
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9183
9180
  annotation?: Record<string, string | number | boolean | {
9184
9181
  type: string;
9185
9182
  filename: string;
@@ -9221,8 +9218,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9221
9218
  option: string;
9222
9219
  filename: string;
9223
9220
  originalFilename: string;
9224
- }[] | [string, string] | null | undefined> | undefined;
9225
- originalActionId?: string | undefined;
9221
+ }[] | [string, string] | null | undefined> | null | undefined;
9222
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9226
9223
  }, {
9227
9224
  type: "CREATE";
9228
9225
  id: string;
@@ -9317,17 +9314,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9317
9314
  option: string;
9318
9315
  filename: string;
9319
9316
  originalFilename: string;
9320
- }[] | [string, string] | null | undefined> | undefined;
9321
- originalActionId?: string | undefined;
9317
+ }[] | [string, string] | null | undefined> | null | undefined;
9318
+ originalActionId?: string | null | undefined;
9322
9319
  }>, z.ZodObject<z.objectUtil.extendShape<{
9323
- id: z.ZodString;
9320
+ id: z.ZodBranded<z.ZodString, "UUID">;
9324
9321
  transactionId: z.ZodString;
9325
9322
  createdByUserType: z.ZodEnum<["user", "system"]>;
9326
9323
  createdAt: z.ZodString;
9327
9324
  createdBy: z.ZodString;
9328
9325
  createdByRole: z.ZodString;
9329
9326
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9330
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9327
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9331
9328
  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<{
9332
9329
  filename: z.ZodString;
9333
9330
  originalFilename: z.ZodString;
@@ -9454,7 +9451,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9454
9451
  surname: string;
9455
9452
  middlename?: string | null | undefined;
9456
9453
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9457
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9458
9455
  filename: z.ZodString;
9459
9456
  originalFilename: z.ZodString;
9460
9457
  type: z.ZodString;
@@ -9579,14 +9576,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9579
9576
  firstname: string;
9580
9577
  surname: string;
9581
9578
  middlename?: string | null | undefined;
9582
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9579
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
9583
9580
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9584
- originalActionId: z.ZodOptional<z.ZodString>;
9581
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
9585
9582
  }, {
9586
9583
  type: z.ZodLiteral<"VALIDATE">;
9587
9584
  }>, "strip", z.ZodTypeAny, {
9588
9585
  type: "VALIDATE";
9589
- id: string;
9586
+ id: string & z.BRAND<"UUID">;
9590
9587
  status: "Rejected" | "Requested" | "Accepted";
9591
9588
  transactionId: string;
9592
9589
  createdByUserType: "system" | "user";
@@ -9636,7 +9633,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9636
9633
  originalFilename: string;
9637
9634
  }[] | [string, string] | null | undefined>;
9638
9635
  createdBySignature?: string | null | undefined;
9639
- createdAtLocation?: string | null | undefined;
9636
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
9640
9637
  annotation?: Record<string, string | number | boolean | {
9641
9638
  type: string;
9642
9639
  filename: string;
@@ -9678,8 +9675,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9678
9675
  option: string;
9679
9676
  filename: string;
9680
9677
  originalFilename: string;
9681
- }[] | [string, string] | null | undefined> | undefined;
9682
- originalActionId?: string | undefined;
9678
+ }[] | [string, string] | null | undefined> | null | undefined;
9679
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
9683
9680
  }, {
9684
9681
  type: "VALIDATE";
9685
9682
  id: string;
@@ -9774,17 +9771,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9774
9771
  option: string;
9775
9772
  filename: string;
9776
9773
  originalFilename: string;
9777
- }[] | [string, string] | null | undefined> | undefined;
9778
- originalActionId?: string | undefined;
9774
+ }[] | [string, string] | null | undefined> | null | undefined;
9775
+ originalActionId?: string | null | undefined;
9779
9776
  }>, z.ZodObject<z.objectUtil.extendShape<{
9780
- id: z.ZodString;
9777
+ id: z.ZodBranded<z.ZodString, "UUID">;
9781
9778
  transactionId: z.ZodString;
9782
9779
  createdByUserType: z.ZodEnum<["user", "system"]>;
9783
9780
  createdAt: z.ZodString;
9784
9781
  createdBy: z.ZodString;
9785
9782
  createdByRole: z.ZodString;
9786
9783
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9787
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9784
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
9788
9785
  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<{
9789
9786
  filename: z.ZodString;
9790
9787
  originalFilename: z.ZodString;
@@ -9911,7 +9908,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9911
9908
  surname: string;
9912
9909
  middlename?: string | null | undefined;
9913
9910
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
9914
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9915
9912
  filename: z.ZodString;
9916
9913
  originalFilename: z.ZodString;
9917
9914
  type: z.ZodString;
@@ -10036,9 +10033,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10036
10033
  firstname: string;
10037
10034
  surname: string;
10038
10035
  middlename?: string | null | undefined;
10039
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10036
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
10040
10037
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10041
- originalActionId: z.ZodOptional<z.ZodString>;
10038
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10042
10039
  }, {
10043
10040
  type: z.ZodLiteral<"REJECT">;
10044
10041
  reason: z.ZodObject<{
@@ -10053,7 +10050,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10053
10050
  }>;
10054
10051
  }>, "strip", z.ZodTypeAny, {
10055
10052
  type: "REJECT";
10056
- id: string;
10053
+ id: string & z.BRAND<"UUID">;
10057
10054
  status: "Rejected" | "Requested" | "Accepted";
10058
10055
  reason: {
10059
10056
  message: string;
@@ -10107,7 +10104,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10107
10104
  originalFilename: string;
10108
10105
  }[] | [string, string] | null | undefined>;
10109
10106
  createdBySignature?: string | null | undefined;
10110
- createdAtLocation?: string | null | undefined;
10107
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10111
10108
  annotation?: Record<string, string | number | boolean | {
10112
10109
  type: string;
10113
10110
  filename: string;
@@ -10149,8 +10146,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10149
10146
  option: string;
10150
10147
  filename: string;
10151
10148
  originalFilename: string;
10152
- }[] | [string, string] | null | undefined> | undefined;
10153
- originalActionId?: string | undefined;
10149
+ }[] | [string, string] | null | undefined> | null | undefined;
10150
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10154
10151
  }, {
10155
10152
  type: "REJECT";
10156
10153
  id: string;
@@ -10249,17 +10246,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10249
10246
  option: string;
10250
10247
  filename: string;
10251
10248
  originalFilename: string;
10252
- }[] | [string, string] | null | undefined> | undefined;
10253
- originalActionId?: string | undefined;
10249
+ }[] | [string, string] | null | undefined> | null | undefined;
10250
+ originalActionId?: string | null | undefined;
10254
10251
  }>, z.ZodObject<z.objectUtil.extendShape<{
10255
- id: z.ZodString;
10252
+ id: z.ZodBranded<z.ZodString, "UUID">;
10256
10253
  transactionId: z.ZodString;
10257
10254
  createdByUserType: z.ZodEnum<["user", "system"]>;
10258
10255
  createdAt: z.ZodString;
10259
10256
  createdBy: z.ZodString;
10260
10257
  createdByRole: z.ZodString;
10261
10258
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10262
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10259
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10263
10260
  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<{
10264
10261
  filename: z.ZodString;
10265
10262
  originalFilename: z.ZodString;
@@ -10386,7 +10383,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10386
10383
  surname: string;
10387
10384
  middlename?: string | null | undefined;
10388
10385
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10389
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10390
10387
  filename: z.ZodString;
10391
10388
  originalFilename: z.ZodString;
10392
10389
  type: z.ZodString;
@@ -10511,14 +10508,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10511
10508
  firstname: string;
10512
10509
  surname: string;
10513
10510
  middlename?: string | null | undefined;
10514
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10511
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
10515
10512
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10516
- originalActionId: z.ZodOptional<z.ZodString>;
10513
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10517
10514
  }, {
10518
10515
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
10519
10516
  }>, "strip", z.ZodTypeAny, {
10520
10517
  type: "MARKED_AS_DUPLICATE";
10521
- id: string;
10518
+ id: string & z.BRAND<"UUID">;
10522
10519
  status: "Rejected" | "Requested" | "Accepted";
10523
10520
  transactionId: string;
10524
10521
  createdByUserType: "system" | "user";
@@ -10568,7 +10565,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10568
10565
  originalFilename: string;
10569
10566
  }[] | [string, string] | null | undefined>;
10570
10567
  createdBySignature?: string | null | undefined;
10571
- createdAtLocation?: string | null | undefined;
10568
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
10572
10569
  annotation?: Record<string, string | number | boolean | {
10573
10570
  type: string;
10574
10571
  filename: string;
@@ -10610,8 +10607,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10610
10607
  option: string;
10611
10608
  filename: string;
10612
10609
  originalFilename: string;
10613
- }[] | [string, string] | null | undefined> | undefined;
10614
- originalActionId?: string | undefined;
10610
+ }[] | [string, string] | null | undefined> | null | undefined;
10611
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
10615
10612
  }, {
10616
10613
  type: "MARKED_AS_DUPLICATE";
10617
10614
  id: string;
@@ -10706,17 +10703,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10706
10703
  option: string;
10707
10704
  filename: string;
10708
10705
  originalFilename: string;
10709
- }[] | [string, string] | null | undefined> | undefined;
10710
- originalActionId?: string | undefined;
10706
+ }[] | [string, string] | null | undefined> | null | undefined;
10707
+ originalActionId?: string | null | undefined;
10711
10708
  }>, z.ZodObject<z.objectUtil.extendShape<{
10712
- id: z.ZodString;
10709
+ id: z.ZodBranded<z.ZodString, "UUID">;
10713
10710
  transactionId: z.ZodString;
10714
10711
  createdByUserType: z.ZodEnum<["user", "system"]>;
10715
10712
  createdAt: z.ZodString;
10716
10713
  createdBy: z.ZodString;
10717
10714
  createdByRole: z.ZodString;
10718
10715
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10719
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10716
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10720
10717
  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<{
10721
10718
  filename: z.ZodString;
10722
10719
  originalFilename: z.ZodString;
@@ -10843,7 +10840,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10843
10840
  surname: string;
10844
10841
  middlename?: string | null | undefined;
10845
10842
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
10846
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10847
10844
  filename: z.ZodString;
10848
10845
  originalFilename: z.ZodString;
10849
10846
  type: z.ZodString;
@@ -10968,9 +10965,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10968
10965
  firstname: string;
10969
10966
  surname: string;
10970
10967
  middlename?: string | null | undefined;
10971
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10968
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
10972
10969
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10973
- originalActionId: z.ZodOptional<z.ZodString>;
10970
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
10974
10971
  }, {
10975
10972
  type: z.ZodLiteral<"ARCHIVE">;
10976
10973
  reason: z.ZodObject<{
@@ -10985,7 +10982,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10985
10982
  }>;
10986
10983
  }>, "strip", z.ZodTypeAny, {
10987
10984
  type: "ARCHIVE";
10988
- id: string;
10985
+ id: string & z.BRAND<"UUID">;
10989
10986
  status: "Rejected" | "Requested" | "Accepted";
10990
10987
  reason: {
10991
10988
  message: string;
@@ -11039,7 +11036,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11039
11036
  originalFilename: string;
11040
11037
  }[] | [string, string] | null | undefined>;
11041
11038
  createdBySignature?: string | null | undefined;
11042
- createdAtLocation?: string | null | undefined;
11039
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11043
11040
  annotation?: Record<string, string | number | boolean | {
11044
11041
  type: string;
11045
11042
  filename: string;
@@ -11081,8 +11078,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11081
11078
  option: string;
11082
11079
  filename: string;
11083
11080
  originalFilename: string;
11084
- }[] | [string, string] | null | undefined> | undefined;
11085
- originalActionId?: string | undefined;
11081
+ }[] | [string, string] | null | undefined> | null | undefined;
11082
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11086
11083
  }, {
11087
11084
  type: "ARCHIVE";
11088
11085
  id: string;
@@ -11181,17 +11178,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11181
11178
  option: string;
11182
11179
  filename: string;
11183
11180
  originalFilename: string;
11184
- }[] | [string, string] | null | undefined> | undefined;
11185
- originalActionId?: string | undefined;
11181
+ }[] | [string, string] | null | undefined> | null | undefined;
11182
+ originalActionId?: string | null | undefined;
11186
11183
  }>, z.ZodObject<z.objectUtil.extendShape<{
11187
- id: z.ZodString;
11184
+ id: z.ZodBranded<z.ZodString, "UUID">;
11188
11185
  transactionId: z.ZodString;
11189
11186
  createdByUserType: z.ZodEnum<["user", "system"]>;
11190
11187
  createdAt: z.ZodString;
11191
11188
  createdBy: z.ZodString;
11192
11189
  createdByRole: z.ZodString;
11193
11190
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11194
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11191
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11195
11192
  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<{
11196
11193
  filename: z.ZodString;
11197
11194
  originalFilename: z.ZodString;
@@ -11318,7 +11315,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11318
11315
  surname: string;
11319
11316
  middlename?: string | null | undefined;
11320
11317
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
11321
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11322
11319
  filename: z.ZodString;
11323
11320
  originalFilename: z.ZodString;
11324
11321
  type: z.ZodString;
@@ -11443,14 +11440,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11443
11440
  firstname: string;
11444
11441
  surname: string;
11445
11442
  middlename?: string | null | undefined;
11446
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11443
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
11447
11444
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11448
- originalActionId: z.ZodOptional<z.ZodString>;
11445
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11449
11446
  }, {
11450
11447
  type: z.ZodLiteral<"NOTIFY">;
11451
11448
  }>, "strip", z.ZodTypeAny, {
11452
11449
  type: "NOTIFY";
11453
- id: string;
11450
+ id: string & z.BRAND<"UUID">;
11454
11451
  status: "Rejected" | "Requested" | "Accepted";
11455
11452
  transactionId: string;
11456
11453
  createdByUserType: "system" | "user";
@@ -11500,7 +11497,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11500
11497
  originalFilename: string;
11501
11498
  }[] | [string, string] | null | undefined>;
11502
11499
  createdBySignature?: string | null | undefined;
11503
- createdAtLocation?: string | null | undefined;
11500
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11504
11501
  annotation?: Record<string, string | number | boolean | {
11505
11502
  type: string;
11506
11503
  filename: string;
@@ -11542,8 +11539,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11542
11539
  option: string;
11543
11540
  filename: string;
11544
11541
  originalFilename: string;
11545
- }[] | [string, string] | null | undefined> | undefined;
11546
- originalActionId?: string | undefined;
11542
+ }[] | [string, string] | null | undefined> | null | undefined;
11543
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
11547
11544
  }, {
11548
11545
  type: "NOTIFY";
11549
11546
  id: string;
@@ -11638,17 +11635,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11638
11635
  option: string;
11639
11636
  filename: string;
11640
11637
  originalFilename: string;
11641
- }[] | [string, string] | null | undefined> | undefined;
11642
- originalActionId?: string | undefined;
11638
+ }[] | [string, string] | null | undefined> | null | undefined;
11639
+ originalActionId?: string | null | undefined;
11643
11640
  }>, z.ZodObject<z.objectUtil.extendShape<{
11644
- id: z.ZodString;
11641
+ id: z.ZodBranded<z.ZodString, "UUID">;
11645
11642
  transactionId: z.ZodString;
11646
11643
  createdByUserType: z.ZodEnum<["user", "system"]>;
11647
11644
  createdAt: z.ZodString;
11648
11645
  createdBy: z.ZodString;
11649
11646
  createdByRole: z.ZodString;
11650
11647
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11651
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11648
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
11652
11649
  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<{
11653
11650
  filename: z.ZodString;
11654
11651
  originalFilename: z.ZodString;
@@ -11775,7 +11772,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11775
11772
  surname: string;
11776
11773
  middlename?: string | null | undefined;
11777
11774
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
11778
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11779
11776
  filename: z.ZodString;
11780
11777
  originalFilename: z.ZodString;
11781
11778
  type: z.ZodString;
@@ -11900,15 +11897,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11900
11897
  firstname: string;
11901
11898
  surname: string;
11902
11899
  middlename?: string | null | undefined;
11903
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11900
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
11904
11901
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11905
- originalActionId: z.ZodOptional<z.ZodString>;
11902
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
11906
11903
  }, {
11907
11904
  type: z.ZodLiteral<"REGISTER">;
11908
11905
  registrationNumber: z.ZodOptional<z.ZodString>;
11909
11906
  }>, "strip", z.ZodTypeAny, {
11910
11907
  type: "REGISTER";
11911
- id: string;
11908
+ id: string & z.BRAND<"UUID">;
11912
11909
  status: "Rejected" | "Requested" | "Accepted";
11913
11910
  transactionId: string;
11914
11911
  createdByUserType: "system" | "user";
@@ -11958,7 +11955,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11958
11955
  originalFilename: string;
11959
11956
  }[] | [string, string] | null | undefined>;
11960
11957
  createdBySignature?: string | null | undefined;
11961
- createdAtLocation?: string | null | undefined;
11958
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
11962
11959
  annotation?: Record<string, string | number | boolean | {
11963
11960
  type: string;
11964
11961
  filename: string;
@@ -12000,8 +11997,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12000
11997
  option: string;
12001
11998
  filename: string;
12002
11999
  originalFilename: string;
12003
- }[] | [string, string] | null | undefined> | undefined;
12004
- originalActionId?: string | undefined;
12000
+ }[] | [string, string] | null | undefined> | null | undefined;
12001
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12005
12002
  registrationNumber?: string | undefined;
12006
12003
  }, {
12007
12004
  type: "REGISTER";
@@ -12097,18 +12094,18 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12097
12094
  option: string;
12098
12095
  filename: string;
12099
12096
  originalFilename: string;
12100
- }[] | [string, string] | null | undefined> | undefined;
12101
- originalActionId?: string | undefined;
12097
+ }[] | [string, string] | null | undefined> | null | undefined;
12098
+ originalActionId?: string | null | undefined;
12102
12099
  registrationNumber?: string | undefined;
12103
12100
  }>, z.ZodObject<z.objectUtil.extendShape<{
12104
- id: z.ZodString;
12101
+ id: z.ZodBranded<z.ZodString, "UUID">;
12105
12102
  transactionId: z.ZodString;
12106
12103
  createdByUserType: z.ZodEnum<["user", "system"]>;
12107
12104
  createdAt: z.ZodString;
12108
12105
  createdBy: z.ZodString;
12109
12106
  createdByRole: z.ZodString;
12110
12107
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12111
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12108
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12112
12109
  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<{
12113
12110
  filename: z.ZodString;
12114
12111
  originalFilename: z.ZodString;
@@ -12235,7 +12232,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12235
12232
  surname: string;
12236
12233
  middlename?: string | null | undefined;
12237
12234
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12238
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
12239
12236
  filename: z.ZodString;
12240
12237
  originalFilename: z.ZodString;
12241
12238
  type: z.ZodString;
@@ -12360,14 +12357,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12360
12357
  firstname: string;
12361
12358
  surname: string;
12362
12359
  middlename?: string | null | undefined;
12363
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12360
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
12364
12361
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12365
- originalActionId: z.ZodOptional<z.ZodString>;
12362
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12366
12363
  }, {
12367
12364
  type: z.ZodLiteral<"DECLARE">;
12368
12365
  }>, "strip", z.ZodTypeAny, {
12369
12366
  type: "DECLARE";
12370
- id: string;
12367
+ id: string & z.BRAND<"UUID">;
12371
12368
  status: "Rejected" | "Requested" | "Accepted";
12372
12369
  transactionId: string;
12373
12370
  createdByUserType: "system" | "user";
@@ -12417,7 +12414,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12417
12414
  originalFilename: string;
12418
12415
  }[] | [string, string] | null | undefined>;
12419
12416
  createdBySignature?: string | null | undefined;
12420
- createdAtLocation?: string | null | undefined;
12417
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12421
12418
  annotation?: Record<string, string | number | boolean | {
12422
12419
  type: string;
12423
12420
  filename: string;
@@ -12459,8 +12456,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12459
12456
  option: string;
12460
12457
  filename: string;
12461
12458
  originalFilename: string;
12462
- }[] | [string, string] | null | undefined> | undefined;
12463
- originalActionId?: string | undefined;
12459
+ }[] | [string, string] | null | undefined> | null | undefined;
12460
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12464
12461
  }, {
12465
12462
  type: "DECLARE";
12466
12463
  id: string;
@@ -12555,17 +12552,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12555
12552
  option: string;
12556
12553
  filename: string;
12557
12554
  originalFilename: string;
12558
- }[] | [string, string] | null | undefined> | undefined;
12559
- originalActionId?: string | undefined;
12555
+ }[] | [string, string] | null | undefined> | null | undefined;
12556
+ originalActionId?: string | null | undefined;
12560
12557
  }>, z.ZodObject<z.objectUtil.extendShape<{
12561
- id: z.ZodString;
12558
+ id: z.ZodBranded<z.ZodString, "UUID">;
12562
12559
  transactionId: z.ZodString;
12563
12560
  createdByUserType: z.ZodEnum<["user", "system"]>;
12564
12561
  createdAt: z.ZodString;
12565
12562
  createdBy: z.ZodString;
12566
12563
  createdByRole: z.ZodString;
12567
12564
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12568
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12565
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
12569
12566
  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<{
12570
12567
  filename: z.ZodString;
12571
12568
  originalFilename: z.ZodString;
@@ -12692,7 +12689,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12692
12689
  surname: string;
12693
12690
  middlename?: string | null | undefined;
12694
12691
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
12695
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
12696
12693
  filename: z.ZodString;
12697
12694
  originalFilename: z.ZodString;
12698
12695
  type: z.ZodString;
@@ -12817,15 +12814,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12817
12814
  firstname: string;
12818
12815
  surname: string;
12819
12816
  middlename?: string | null | undefined;
12820
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12817
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
12821
12818
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12822
- originalActionId: z.ZodOptional<z.ZodString>;
12819
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
12823
12820
  }, {
12824
12821
  type: z.ZodLiteral<"ASSIGN">;
12825
12822
  assignedTo: z.ZodString;
12826
12823
  }>, "strip", z.ZodTypeAny, {
12827
12824
  type: "ASSIGN";
12828
- id: string;
12825
+ id: string & z.BRAND<"UUID">;
12829
12826
  status: "Rejected" | "Requested" | "Accepted";
12830
12827
  transactionId: string;
12831
12828
  createdByUserType: "system" | "user";
@@ -12876,7 +12873,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12876
12873
  }[] | [string, string] | null | undefined>;
12877
12874
  assignedTo: string;
12878
12875
  createdBySignature?: string | null | undefined;
12879
- createdAtLocation?: string | null | undefined;
12876
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
12880
12877
  annotation?: Record<string, string | number | boolean | {
12881
12878
  type: string;
12882
12879
  filename: string;
@@ -12918,8 +12915,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12918
12915
  option: string;
12919
12916
  filename: string;
12920
12917
  originalFilename: string;
12921
- }[] | [string, string] | null | undefined> | undefined;
12922
- originalActionId?: string | undefined;
12918
+ }[] | [string, string] | null | undefined> | null | undefined;
12919
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
12923
12920
  }, {
12924
12921
  type: "ASSIGN";
12925
12922
  id: string;
@@ -13015,17 +13012,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13015
13012
  option: string;
13016
13013
  filename: string;
13017
13014
  originalFilename: string;
13018
- }[] | [string, string] | null | undefined> | undefined;
13019
- originalActionId?: string | undefined;
13015
+ }[] | [string, string] | null | undefined> | null | undefined;
13016
+ originalActionId?: string | null | undefined;
13020
13017
  }>, z.ZodObject<z.objectUtil.extendShape<{
13021
- id: z.ZodString;
13018
+ id: z.ZodBranded<z.ZodString, "UUID">;
13022
13019
  transactionId: z.ZodString;
13023
13020
  createdByUserType: z.ZodEnum<["user", "system"]>;
13024
13021
  createdAt: z.ZodString;
13025
13022
  createdBy: z.ZodString;
13026
13023
  createdByRole: z.ZodString;
13027
13024
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13028
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13025
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13029
13026
  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<{
13030
13027
  filename: z.ZodString;
13031
13028
  originalFilename: z.ZodString;
@@ -13152,7 +13149,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13152
13149
  surname: string;
13153
13150
  middlename?: string | null | undefined;
13154
13151
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13155
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
13156
13153
  filename: z.ZodString;
13157
13154
  originalFilename: z.ZodString;
13158
13155
  type: z.ZodString;
@@ -13277,14 +13274,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13277
13274
  firstname: string;
13278
13275
  surname: string;
13279
13276
  middlename?: string | null | undefined;
13280
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13277
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
13281
13278
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13282
- originalActionId: z.ZodOptional<z.ZodString>;
13279
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13283
13280
  }, {
13284
13281
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
13285
13282
  }>, "strip", z.ZodTypeAny, {
13286
13283
  type: "REQUEST_CORRECTION";
13287
- id: string;
13284
+ id: string & z.BRAND<"UUID">;
13288
13285
  status: "Rejected" | "Requested" | "Accepted";
13289
13286
  transactionId: string;
13290
13287
  createdByUserType: "system" | "user";
@@ -13334,7 +13331,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13334
13331
  originalFilename: string;
13335
13332
  }[] | [string, string] | null | undefined>;
13336
13333
  createdBySignature?: string | null | undefined;
13337
- createdAtLocation?: string | null | undefined;
13334
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13338
13335
  annotation?: Record<string, string | number | boolean | {
13339
13336
  type: string;
13340
13337
  filename: string;
@@ -13376,8 +13373,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13376
13373
  option: string;
13377
13374
  filename: string;
13378
13375
  originalFilename: string;
13379
- }[] | [string, string] | null | undefined> | undefined;
13380
- originalActionId?: string | undefined;
13376
+ }[] | [string, string] | null | undefined> | null | undefined;
13377
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13381
13378
  }, {
13382
13379
  type: "REQUEST_CORRECTION";
13383
13380
  id: string;
@@ -13472,17 +13469,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13472
13469
  option: string;
13473
13470
  filename: string;
13474
13471
  originalFilename: string;
13475
- }[] | [string, string] | null | undefined> | undefined;
13476
- originalActionId?: string | undefined;
13472
+ }[] | [string, string] | null | undefined> | null | undefined;
13473
+ originalActionId?: string | null | undefined;
13477
13474
  }>, z.ZodObject<z.objectUtil.extendShape<{
13478
- id: z.ZodString;
13475
+ id: z.ZodBranded<z.ZodString, "UUID">;
13479
13476
  transactionId: z.ZodString;
13480
13477
  createdByUserType: z.ZodEnum<["user", "system"]>;
13481
13478
  createdAt: z.ZodString;
13482
13479
  createdBy: z.ZodString;
13483
13480
  createdByRole: z.ZodString;
13484
13481
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13485
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13482
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13486
13483
  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<{
13487
13484
  filename: z.ZodString;
13488
13485
  originalFilename: z.ZodString;
@@ -13609,7 +13606,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13609
13606
  surname: string;
13610
13607
  middlename?: string | null | undefined;
13611
13608
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
13612
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
13613
13610
  filename: z.ZodString;
13614
13611
  originalFilename: z.ZodString;
13615
13612
  type: z.ZodString;
@@ -13734,15 +13731,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13734
13731
  firstname: string;
13735
13732
  surname: string;
13736
13733
  middlename?: string | null | undefined;
13737
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13734
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
13738
13735
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13739
- originalActionId: z.ZodOptional<z.ZodString>;
13736
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
13740
13737
  }, {
13741
13738
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
13742
13739
  requestId: z.ZodString;
13743
13740
  }>, "strip", z.ZodTypeAny, {
13744
13741
  type: "APPROVE_CORRECTION";
13745
- id: string;
13742
+ id: string & z.BRAND<"UUID">;
13746
13743
  status: "Rejected" | "Requested" | "Accepted";
13747
13744
  transactionId: string;
13748
13745
  createdByUserType: "system" | "user";
@@ -13793,7 +13790,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13793
13790
  }[] | [string, string] | null | undefined>;
13794
13791
  requestId: string;
13795
13792
  createdBySignature?: string | null | undefined;
13796
- createdAtLocation?: string | null | undefined;
13793
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
13797
13794
  annotation?: Record<string, string | number | boolean | {
13798
13795
  type: string;
13799
13796
  filename: string;
@@ -13835,8 +13832,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13835
13832
  option: string;
13836
13833
  filename: string;
13837
13834
  originalFilename: string;
13838
- }[] | [string, string] | null | undefined> | undefined;
13839
- originalActionId?: string | undefined;
13835
+ }[] | [string, string] | null | undefined> | null | undefined;
13836
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
13840
13837
  }, {
13841
13838
  type: "APPROVE_CORRECTION";
13842
13839
  id: string;
@@ -13932,17 +13929,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13932
13929
  option: string;
13933
13930
  filename: string;
13934
13931
  originalFilename: string;
13935
- }[] | [string, string] | null | undefined> | undefined;
13936
- originalActionId?: string | undefined;
13932
+ }[] | [string, string] | null | undefined> | null | undefined;
13933
+ originalActionId?: string | null | undefined;
13937
13934
  }>, z.ZodObject<z.objectUtil.extendShape<{
13938
- id: z.ZodString;
13935
+ id: z.ZodBranded<z.ZodString, "UUID">;
13939
13936
  transactionId: z.ZodString;
13940
13937
  createdByUserType: z.ZodEnum<["user", "system"]>;
13941
13938
  createdAt: z.ZodString;
13942
13939
  createdBy: z.ZodString;
13943
13940
  createdByRole: z.ZodString;
13944
13941
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13945
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13942
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
13946
13943
  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<{
13947
13944
  filename: z.ZodString;
13948
13945
  originalFilename: z.ZodString;
@@ -14069,7 +14066,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14069
14066
  surname: string;
14070
14067
  middlename?: string | null | undefined;
14071
14068
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14072
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
14073
14070
  filename: z.ZodString;
14074
14071
  originalFilename: z.ZodString;
14075
14072
  type: z.ZodString;
@@ -14194,15 +14191,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14194
14191
  firstname: string;
14195
14192
  surname: string;
14196
14193
  middlename?: string | null | undefined;
14197
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14194
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
14198
14195
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14199
- originalActionId: z.ZodOptional<z.ZodString>;
14196
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14200
14197
  }, {
14201
14198
  type: z.ZodLiteral<"REJECT_CORRECTION">;
14202
14199
  requestId: z.ZodString;
14203
14200
  }>, "strip", z.ZodTypeAny, {
14204
14201
  type: "REJECT_CORRECTION";
14205
- id: string;
14202
+ id: string & z.BRAND<"UUID">;
14206
14203
  status: "Rejected" | "Requested" | "Accepted";
14207
14204
  transactionId: string;
14208
14205
  createdByUserType: "system" | "user";
@@ -14253,7 +14250,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14253
14250
  }[] | [string, string] | null | undefined>;
14254
14251
  requestId: string;
14255
14252
  createdBySignature?: string | null | undefined;
14256
- createdAtLocation?: string | null | undefined;
14253
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14257
14254
  annotation?: Record<string, string | number | boolean | {
14258
14255
  type: string;
14259
14256
  filename: string;
@@ -14295,8 +14292,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14295
14292
  option: string;
14296
14293
  filename: string;
14297
14294
  originalFilename: string;
14298
- }[] | [string, string] | null | undefined> | undefined;
14299
- originalActionId?: string | undefined;
14295
+ }[] | [string, string] | null | undefined> | null | undefined;
14296
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14300
14297
  }, {
14301
14298
  type: "REJECT_CORRECTION";
14302
14299
  id: string;
@@ -14392,17 +14389,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14392
14389
  option: string;
14393
14390
  filename: string;
14394
14391
  originalFilename: string;
14395
- }[] | [string, string] | null | undefined> | undefined;
14396
- originalActionId?: string | undefined;
14392
+ }[] | [string, string] | null | undefined> | null | undefined;
14393
+ originalActionId?: string | null | undefined;
14397
14394
  }>, z.ZodObject<z.objectUtil.extendShape<{
14398
- id: z.ZodString;
14395
+ id: z.ZodBranded<z.ZodString, "UUID">;
14399
14396
  transactionId: z.ZodString;
14400
14397
  createdByUserType: z.ZodEnum<["user", "system"]>;
14401
14398
  createdAt: z.ZodString;
14402
14399
  createdBy: z.ZodString;
14403
14400
  createdByRole: z.ZodString;
14404
14401
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14405
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14402
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14406
14403
  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<{
14407
14404
  filename: z.ZodString;
14408
14405
  originalFilename: z.ZodString;
@@ -14529,7 +14526,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14529
14526
  surname: string;
14530
14527
  middlename?: string | null | undefined;
14531
14528
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14532
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
14533
14530
  filename: z.ZodString;
14534
14531
  originalFilename: z.ZodString;
14535
14532
  type: z.ZodString;
@@ -14654,15 +14651,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14654
14651
  firstname: string;
14655
14652
  surname: string;
14656
14653
  middlename?: string | null | undefined;
14657
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
14654
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
14658
14655
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14659
- originalActionId: z.ZodOptional<z.ZodString>;
14656
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
14660
14657
  }, {
14661
14658
  type: z.ZodLiteral<"UNASSIGN">;
14662
- assignedTo: z.ZodLiteral<null>;
14663
14659
  }>, "strip", z.ZodTypeAny, {
14664
14660
  type: "UNASSIGN";
14665
- id: string;
14661
+ id: string & z.BRAND<"UUID">;
14666
14662
  status: "Rejected" | "Requested" | "Accepted";
14667
14663
  transactionId: string;
14668
14664
  createdByUserType: "system" | "user";
@@ -14711,9 +14707,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14711
14707
  filename: string;
14712
14708
  originalFilename: string;
14713
14709
  }[] | [string, string] | null | undefined>;
14714
- assignedTo: null;
14715
14710
  createdBySignature?: string | null | undefined;
14716
- createdAtLocation?: string | null | undefined;
14711
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
14717
14712
  annotation?: Record<string, string | number | boolean | {
14718
14713
  type: string;
14719
14714
  filename: string;
@@ -14755,8 +14750,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14755
14750
  option: string;
14756
14751
  filename: string;
14757
14752
  originalFilename: string;
14758
- }[] | [string, string] | null | undefined> | undefined;
14759
- originalActionId?: string | undefined;
14753
+ }[] | [string, string] | null | undefined> | null | undefined;
14754
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
14760
14755
  }, {
14761
14756
  type: "UNASSIGN";
14762
14757
  id: string;
@@ -14808,7 +14803,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14808
14803
  filename: string;
14809
14804
  originalFilename: string;
14810
14805
  }[] | [string, string] | null | undefined>;
14811
- assignedTo: null;
14812
14806
  createdBySignature?: string | null | undefined;
14813
14807
  createdAtLocation?: string | null | undefined;
14814
14808
  annotation?: Record<string, string | number | boolean | {
@@ -14852,17 +14846,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14852
14846
  option: string;
14853
14847
  filename: string;
14854
14848
  originalFilename: string;
14855
- }[] | [string, string] | null | undefined> | undefined;
14856
- originalActionId?: string | undefined;
14849
+ }[] | [string, string] | null | undefined> | null | undefined;
14850
+ originalActionId?: string | null | undefined;
14857
14851
  }>, z.ZodObject<z.objectUtil.extendShape<{
14858
- id: z.ZodString;
14852
+ id: z.ZodBranded<z.ZodString, "UUID">;
14859
14853
  transactionId: z.ZodString;
14860
14854
  createdByUserType: z.ZodEnum<["user", "system"]>;
14861
14855
  createdAt: z.ZodString;
14862
14856
  createdBy: z.ZodString;
14863
14857
  createdByRole: z.ZodString;
14864
14858
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14865
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14859
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14866
14860
  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<{
14867
14861
  filename: z.ZodString;
14868
14862
  originalFilename: z.ZodString;
@@ -14989,7 +14983,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14989
14983
  surname: string;
14990
14984
  middlename?: string | null | undefined;
14991
14985
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
14992
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
14993
14987
  filename: z.ZodString;
14994
14988
  originalFilename: z.ZodString;
14995
14989
  type: z.ZodString;
@@ -15114,14 +15108,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15114
15108
  firstname: string;
15115
15109
  surname: string;
15116
15110
  middlename?: string | null | undefined;
15117
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
15111
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
15118
15112
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
15119
- originalActionId: z.ZodOptional<z.ZodString>;
15113
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15120
15114
  }, {
15121
15115
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
15122
15116
  }>, "strip", z.ZodTypeAny, {
15123
15117
  type: "PRINT_CERTIFICATE";
15124
- id: string;
15118
+ id: string & z.BRAND<"UUID">;
15125
15119
  status: "Rejected" | "Requested" | "Accepted";
15126
15120
  transactionId: string;
15127
15121
  createdByUserType: "system" | "user";
@@ -15171,7 +15165,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15171
15165
  originalFilename: string;
15172
15166
  }[] | [string, string] | null | undefined>;
15173
15167
  createdBySignature?: string | null | undefined;
15174
- createdAtLocation?: string | null | undefined;
15168
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
15175
15169
  annotation?: Record<string, string | number | boolean | {
15176
15170
  type: string;
15177
15171
  filename: string;
@@ -15213,8 +15207,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15213
15207
  option: string;
15214
15208
  filename: string;
15215
15209
  originalFilename: string;
15216
- }[] | [string, string] | null | undefined> | undefined;
15217
- originalActionId?: string | undefined;
15210
+ }[] | [string, string] | null | undefined> | null | undefined;
15211
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15218
15212
  }, {
15219
15213
  type: "PRINT_CERTIFICATE";
15220
15214
  id: string;
@@ -15309,17 +15303,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15309
15303
  option: string;
15310
15304
  filename: string;
15311
15305
  originalFilename: string;
15312
- }[] | [string, string] | null | undefined> | undefined;
15313
- originalActionId?: string | undefined;
15306
+ }[] | [string, string] | null | undefined> | null | undefined;
15307
+ originalActionId?: string | null | undefined;
15314
15308
  }>, z.ZodObject<z.objectUtil.extendShape<{
15315
- id: z.ZodString;
15309
+ id: z.ZodBranded<z.ZodString, "UUID">;
15316
15310
  transactionId: z.ZodString;
15317
15311
  createdByUserType: z.ZodEnum<["user", "system"]>;
15318
15312
  createdAt: z.ZodString;
15319
15313
  createdBy: z.ZodString;
15320
15314
  createdByRole: z.ZodString;
15321
15315
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15322
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15316
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
15323
15317
  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<{
15324
15318
  filename: z.ZodString;
15325
15319
  originalFilename: z.ZodString;
@@ -15446,7 +15440,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15446
15440
  surname: string;
15447
15441
  middlename?: string | null | undefined;
15448
15442
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
15449
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
15450
15444
  filename: z.ZodString;
15451
15445
  originalFilename: z.ZodString;
15452
15446
  type: z.ZodString;
@@ -15571,14 +15565,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15571
15565
  firstname: string;
15572
15566
  surname: string;
15573
15567
  middlename?: string | null | undefined;
15574
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
15568
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
15575
15569
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
15576
- originalActionId: z.ZodOptional<z.ZodString>;
15570
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
15577
15571
  }, {
15578
15572
  type: z.ZodLiteral<"READ">;
15579
15573
  }>, "strip", z.ZodTypeAny, {
15580
15574
  type: "READ";
15581
- id: string;
15575
+ id: string & z.BRAND<"UUID">;
15582
15576
  status: "Rejected" | "Requested" | "Accepted";
15583
15577
  transactionId: string;
15584
15578
  createdByUserType: "system" | "user";
@@ -15628,7 +15622,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15628
15622
  originalFilename: string;
15629
15623
  }[] | [string, string] | null | undefined>;
15630
15624
  createdBySignature?: string | null | undefined;
15631
- createdAtLocation?: string | null | undefined;
15625
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
15632
15626
  annotation?: Record<string, string | number | boolean | {
15633
15627
  type: string;
15634
15628
  filename: string;
@@ -15670,8 +15664,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15670
15664
  option: string;
15671
15665
  filename: string;
15672
15666
  originalFilename: string;
15673
- }[] | [string, string] | null | undefined> | undefined;
15674
- originalActionId?: string | undefined;
15667
+ }[] | [string, string] | null | undefined> | null | undefined;
15668
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
15675
15669
  }, {
15676
15670
  type: "READ";
15677
15671
  id: string;
@@ -15766,17 +15760,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15766
15760
  option: string;
15767
15761
  filename: string;
15768
15762
  originalFilename: string;
15769
- }[] | [string, string] | null | undefined> | undefined;
15770
- originalActionId?: string | undefined;
15763
+ }[] | [string, string] | null | undefined> | null | undefined;
15764
+ originalActionId?: string | null | undefined;
15771
15765
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
15772
- id: z.ZodString;
15766
+ id: z.ZodBranded<z.ZodString, "UUID">;
15773
15767
  transactionId: z.ZodString;
15774
15768
  createdByUserType: z.ZodEnum<["user", "system"]>;
15775
15769
  createdAt: z.ZodString;
15776
15770
  createdBy: z.ZodString;
15777
15771
  createdByRole: z.ZodString;
15778
15772
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15779
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15773
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
15780
15774
  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<{
15781
15775
  filename: z.ZodString;
15782
15776
  originalFilename: z.ZodString;
@@ -15903,7 +15897,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
15903
15897
  surname: string;
15904
15898
  middlename?: string | null | undefined;
15905
15899
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
15906
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
15907
15901
  filename: z.ZodString;
15908
15902
  originalFilename: z.ZodString;
15909
15903
  type: z.ZodString;
@@ -16028,15 +16022,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16028
16022
  firstname: string;
16029
16023
  surname: string;
16030
16024
  middlename?: string | null | undefined;
16031
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
16025
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
16032
16026
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
16033
- originalActionId: z.ZodOptional<z.ZodString>;
16027
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
16034
16028
  }, "declaration" | "annotation">, {
16035
16029
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
16036
16030
  status: z.ZodLiteral<"Rejected">;
16037
16031
  }>, "strip", z.ZodTypeAny, {
16038
16032
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
16039
- id: string;
16033
+ id: string & z.BRAND<"UUID">;
16040
16034
  status: "Rejected";
16041
16035
  transactionId: string;
16042
16036
  createdByUserType: "system" | "user";
@@ -16044,8 +16038,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16044
16038
  createdBy: string;
16045
16039
  createdByRole: string;
16046
16040
  createdBySignature?: string | null | undefined;
16047
- createdAtLocation?: string | null | undefined;
16048
- originalActionId?: string | undefined;
16041
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
16042
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
16049
16043
  }, {
16050
16044
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
16051
16045
  id: string;
@@ -16057,7 +16051,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16057
16051
  createdByRole: string;
16058
16052
  createdBySignature?: string | null | undefined;
16059
16053
  createdAtLocation?: string | null | undefined;
16060
- originalActionId?: string | undefined;
16054
+ originalActionId?: string | null | undefined;
16061
16055
  }>]>;
16062
16056
  export type Action = ActionDocument | AsyncRejectActionDocument;
16063
16057
  export declare const ResolvedUser: z.ZodObject<{