@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.
@@ -1,18 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
- id: z.ZodString;
3
+ id: z.ZodBranded<z.ZodString, "UUID">;
4
4
  type: z.ZodString;
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
7
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
- id: z.ZodString;
8
+ id: z.ZodBranded<z.ZodString, "UUID">;
9
9
  transactionId: z.ZodString;
10
10
  createdByUserType: z.ZodEnum<["user", "system"]>;
11
11
  createdAt: z.ZodString;
12
12
  createdBy: z.ZodString;
13
13
  createdByRole: z.ZodString;
14
14
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
16
16
  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<{
17
17
  filename: z.ZodString;
18
18
  originalFilename: z.ZodString;
@@ -139,7 +139,7 @@ export declare const EventDocument: z.ZodObject<{
139
139
  surname: string;
140
140
  middlename?: string | null | undefined;
141
141
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
142
- 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<{
142
+ 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<{
143
143
  filename: z.ZodString;
144
144
  originalFilename: z.ZodString;
145
145
  type: z.ZodString;
@@ -264,14 +264,14 @@ export declare const EventDocument: z.ZodObject<{
264
264
  firstname: string;
265
265
  surname: string;
266
266
  middlename?: string | null | undefined;
267
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
267
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
268
268
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
269
- originalActionId: z.ZodOptional<z.ZodString>;
269
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
270
270
  }, {
271
271
  type: z.ZodLiteral<"CREATE">;
272
272
  }>, "strip", z.ZodTypeAny, {
273
273
  type: "CREATE";
274
- id: string;
274
+ id: string & z.BRAND<"UUID">;
275
275
  status: "Rejected" | "Requested" | "Accepted";
276
276
  transactionId: string;
277
277
  createdByUserType: "system" | "user";
@@ -321,7 +321,7 @@ export declare const EventDocument: z.ZodObject<{
321
321
  originalFilename: string;
322
322
  }[] | [string, string] | null | undefined>;
323
323
  createdBySignature?: string | null | undefined;
324
- createdAtLocation?: string | null | undefined;
324
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
325
325
  annotation?: Record<string, string | number | boolean | {
326
326
  type: string;
327
327
  filename: string;
@@ -363,8 +363,8 @@ export declare const EventDocument: z.ZodObject<{
363
363
  option: string;
364
364
  filename: string;
365
365
  originalFilename: string;
366
- }[] | [string, string] | null | undefined> | undefined;
367
- originalActionId?: string | undefined;
366
+ }[] | [string, string] | null | undefined> | null | undefined;
367
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
368
368
  }, {
369
369
  type: "CREATE";
370
370
  id: string;
@@ -459,17 +459,17 @@ export declare const EventDocument: z.ZodObject<{
459
459
  option: string;
460
460
  filename: string;
461
461
  originalFilename: string;
462
- }[] | [string, string] | null | undefined> | undefined;
463
- originalActionId?: string | undefined;
462
+ }[] | [string, string] | null | undefined> | null | undefined;
463
+ originalActionId?: string | null | undefined;
464
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
465
- id: z.ZodString;
465
+ id: z.ZodBranded<z.ZodString, "UUID">;
466
466
  transactionId: z.ZodString;
467
467
  createdByUserType: z.ZodEnum<["user", "system"]>;
468
468
  createdAt: z.ZodString;
469
469
  createdBy: z.ZodString;
470
470
  createdByRole: z.ZodString;
471
471
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
473
473
  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<{
474
474
  filename: z.ZodString;
475
475
  originalFilename: z.ZodString;
@@ -596,7 +596,7 @@ export declare const EventDocument: z.ZodObject<{
596
596
  surname: string;
597
597
  middlename?: string | null | undefined;
598
598
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
599
- 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<{
599
+ 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<{
600
600
  filename: z.ZodString;
601
601
  originalFilename: z.ZodString;
602
602
  type: z.ZodString;
@@ -721,14 +721,14 @@ export declare const EventDocument: z.ZodObject<{
721
721
  firstname: string;
722
722
  surname: string;
723
723
  middlename?: string | null | undefined;
724
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
724
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
725
725
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
726
- originalActionId: z.ZodOptional<z.ZodString>;
726
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
727
727
  }, {
728
728
  type: z.ZodLiteral<"VALIDATE">;
729
729
  }>, "strip", z.ZodTypeAny, {
730
730
  type: "VALIDATE";
731
- id: string;
731
+ id: string & z.BRAND<"UUID">;
732
732
  status: "Rejected" | "Requested" | "Accepted";
733
733
  transactionId: string;
734
734
  createdByUserType: "system" | "user";
@@ -778,7 +778,7 @@ export declare const EventDocument: z.ZodObject<{
778
778
  originalFilename: string;
779
779
  }[] | [string, string] | null | undefined>;
780
780
  createdBySignature?: string | null | undefined;
781
- createdAtLocation?: string | null | undefined;
781
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
782
782
  annotation?: Record<string, string | number | boolean | {
783
783
  type: string;
784
784
  filename: string;
@@ -820,8 +820,8 @@ export declare const EventDocument: z.ZodObject<{
820
820
  option: string;
821
821
  filename: string;
822
822
  originalFilename: string;
823
- }[] | [string, string] | null | undefined> | undefined;
824
- originalActionId?: string | undefined;
823
+ }[] | [string, string] | null | undefined> | null | undefined;
824
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
825
825
  }, {
826
826
  type: "VALIDATE";
827
827
  id: string;
@@ -916,17 +916,17 @@ export declare const EventDocument: z.ZodObject<{
916
916
  option: string;
917
917
  filename: string;
918
918
  originalFilename: string;
919
- }[] | [string, string] | null | undefined> | undefined;
920
- originalActionId?: string | undefined;
919
+ }[] | [string, string] | null | undefined> | null | undefined;
920
+ originalActionId?: string | null | undefined;
921
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
922
- id: z.ZodString;
922
+ id: z.ZodBranded<z.ZodString, "UUID">;
923
923
  transactionId: z.ZodString;
924
924
  createdByUserType: z.ZodEnum<["user", "system"]>;
925
925
  createdAt: z.ZodString;
926
926
  createdBy: z.ZodString;
927
927
  createdByRole: z.ZodString;
928
928
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
930
930
  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<{
931
931
  filename: z.ZodString;
932
932
  originalFilename: z.ZodString;
@@ -1053,7 +1053,7 @@ export declare const EventDocument: z.ZodObject<{
1053
1053
  surname: string;
1054
1054
  middlename?: string | null | undefined;
1055
1055
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1056
- 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<{
1056
+ 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<{
1057
1057
  filename: z.ZodString;
1058
1058
  originalFilename: z.ZodString;
1059
1059
  type: z.ZodString;
@@ -1178,9 +1178,9 @@ export declare const EventDocument: z.ZodObject<{
1178
1178
  firstname: string;
1179
1179
  surname: string;
1180
1180
  middlename?: string | null | undefined;
1181
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1181
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1182
1182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1183
- originalActionId: z.ZodOptional<z.ZodString>;
1183
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1184
1184
  }, {
1185
1185
  type: z.ZodLiteral<"REJECT">;
1186
1186
  reason: z.ZodObject<{
@@ -1195,7 +1195,7 @@ export declare const EventDocument: z.ZodObject<{
1195
1195
  }>;
1196
1196
  }>, "strip", z.ZodTypeAny, {
1197
1197
  type: "REJECT";
1198
- id: string;
1198
+ id: string & z.BRAND<"UUID">;
1199
1199
  status: "Rejected" | "Requested" | "Accepted";
1200
1200
  reason: {
1201
1201
  message: string;
@@ -1249,7 +1249,7 @@ export declare const EventDocument: z.ZodObject<{
1249
1249
  originalFilename: string;
1250
1250
  }[] | [string, string] | null | undefined>;
1251
1251
  createdBySignature?: string | null | undefined;
1252
- createdAtLocation?: string | null | undefined;
1252
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1253
1253
  annotation?: Record<string, string | number | boolean | {
1254
1254
  type: string;
1255
1255
  filename: string;
@@ -1291,8 +1291,8 @@ export declare const EventDocument: z.ZodObject<{
1291
1291
  option: string;
1292
1292
  filename: string;
1293
1293
  originalFilename: string;
1294
- }[] | [string, string] | null | undefined> | undefined;
1295
- originalActionId?: string | undefined;
1294
+ }[] | [string, string] | null | undefined> | null | undefined;
1295
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1296
1296
  }, {
1297
1297
  type: "REJECT";
1298
1298
  id: string;
@@ -1391,17 +1391,17 @@ export declare const EventDocument: z.ZodObject<{
1391
1391
  option: string;
1392
1392
  filename: string;
1393
1393
  originalFilename: string;
1394
- }[] | [string, string] | null | undefined> | undefined;
1395
- originalActionId?: string | undefined;
1394
+ }[] | [string, string] | null | undefined> | null | undefined;
1395
+ originalActionId?: string | null | undefined;
1396
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1397
- id: z.ZodString;
1397
+ id: z.ZodBranded<z.ZodString, "UUID">;
1398
1398
  transactionId: z.ZodString;
1399
1399
  createdByUserType: z.ZodEnum<["user", "system"]>;
1400
1400
  createdAt: z.ZodString;
1401
1401
  createdBy: z.ZodString;
1402
1402
  createdByRole: z.ZodString;
1403
1403
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1405
1405
  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<{
1406
1406
  filename: z.ZodString;
1407
1407
  originalFilename: z.ZodString;
@@ -1528,7 +1528,7 @@ export declare const EventDocument: z.ZodObject<{
1528
1528
  surname: string;
1529
1529
  middlename?: string | null | undefined;
1530
1530
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1531
- 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<{
1531
+ 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<{
1532
1532
  filename: z.ZodString;
1533
1533
  originalFilename: z.ZodString;
1534
1534
  type: z.ZodString;
@@ -1653,14 +1653,14 @@ export declare const EventDocument: z.ZodObject<{
1653
1653
  firstname: string;
1654
1654
  surname: string;
1655
1655
  middlename?: string | null | undefined;
1656
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1656
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1657
1657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1658
- originalActionId: z.ZodOptional<z.ZodString>;
1658
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1659
1659
  }, {
1660
1660
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1661
1661
  }>, "strip", z.ZodTypeAny, {
1662
1662
  type: "MARKED_AS_DUPLICATE";
1663
- id: string;
1663
+ id: string & z.BRAND<"UUID">;
1664
1664
  status: "Rejected" | "Requested" | "Accepted";
1665
1665
  transactionId: string;
1666
1666
  createdByUserType: "system" | "user";
@@ -1710,7 +1710,7 @@ export declare const EventDocument: z.ZodObject<{
1710
1710
  originalFilename: string;
1711
1711
  }[] | [string, string] | null | undefined>;
1712
1712
  createdBySignature?: string | null | undefined;
1713
- createdAtLocation?: string | null | undefined;
1713
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1714
1714
  annotation?: Record<string, string | number | boolean | {
1715
1715
  type: string;
1716
1716
  filename: string;
@@ -1752,8 +1752,8 @@ export declare const EventDocument: z.ZodObject<{
1752
1752
  option: string;
1753
1753
  filename: string;
1754
1754
  originalFilename: string;
1755
- }[] | [string, string] | null | undefined> | undefined;
1756
- originalActionId?: string | undefined;
1755
+ }[] | [string, string] | null | undefined> | null | undefined;
1756
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1757
1757
  }, {
1758
1758
  type: "MARKED_AS_DUPLICATE";
1759
1759
  id: string;
@@ -1848,17 +1848,17 @@ export declare const EventDocument: z.ZodObject<{
1848
1848
  option: string;
1849
1849
  filename: string;
1850
1850
  originalFilename: string;
1851
- }[] | [string, string] | null | undefined> | undefined;
1852
- originalActionId?: string | undefined;
1851
+ }[] | [string, string] | null | undefined> | null | undefined;
1852
+ originalActionId?: string | null | undefined;
1853
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1854
- id: z.ZodString;
1854
+ id: z.ZodBranded<z.ZodString, "UUID">;
1855
1855
  transactionId: z.ZodString;
1856
1856
  createdByUserType: z.ZodEnum<["user", "system"]>;
1857
1857
  createdAt: z.ZodString;
1858
1858
  createdBy: z.ZodString;
1859
1859
  createdByRole: z.ZodString;
1860
1860
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1862
1862
  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<{
1863
1863
  filename: z.ZodString;
1864
1864
  originalFilename: z.ZodString;
@@ -1985,7 +1985,7 @@ export declare const EventDocument: z.ZodObject<{
1985
1985
  surname: string;
1986
1986
  middlename?: string | null | undefined;
1987
1987
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1988
- 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<{
1988
+ 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<{
1989
1989
  filename: z.ZodString;
1990
1990
  originalFilename: z.ZodString;
1991
1991
  type: z.ZodString;
@@ -2110,9 +2110,9 @@ export declare const EventDocument: z.ZodObject<{
2110
2110
  firstname: string;
2111
2111
  surname: string;
2112
2112
  middlename?: string | null | undefined;
2113
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2113
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2114
2114
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2115
- originalActionId: z.ZodOptional<z.ZodString>;
2115
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2116
2116
  }, {
2117
2117
  type: z.ZodLiteral<"ARCHIVE">;
2118
2118
  reason: z.ZodObject<{
@@ -2127,7 +2127,7 @@ export declare const EventDocument: z.ZodObject<{
2127
2127
  }>;
2128
2128
  }>, "strip", z.ZodTypeAny, {
2129
2129
  type: "ARCHIVE";
2130
- id: string;
2130
+ id: string & z.BRAND<"UUID">;
2131
2131
  status: "Rejected" | "Requested" | "Accepted";
2132
2132
  reason: {
2133
2133
  message: string;
@@ -2181,7 +2181,7 @@ export declare const EventDocument: z.ZodObject<{
2181
2181
  originalFilename: string;
2182
2182
  }[] | [string, string] | null | undefined>;
2183
2183
  createdBySignature?: string | null | undefined;
2184
- createdAtLocation?: string | null | undefined;
2184
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2185
2185
  annotation?: Record<string, string | number | boolean | {
2186
2186
  type: string;
2187
2187
  filename: string;
@@ -2223,8 +2223,8 @@ export declare const EventDocument: z.ZodObject<{
2223
2223
  option: string;
2224
2224
  filename: string;
2225
2225
  originalFilename: string;
2226
- }[] | [string, string] | null | undefined> | undefined;
2227
- originalActionId?: string | undefined;
2226
+ }[] | [string, string] | null | undefined> | null | undefined;
2227
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2228
2228
  }, {
2229
2229
  type: "ARCHIVE";
2230
2230
  id: string;
@@ -2323,17 +2323,17 @@ export declare const EventDocument: z.ZodObject<{
2323
2323
  option: string;
2324
2324
  filename: string;
2325
2325
  originalFilename: string;
2326
- }[] | [string, string] | null | undefined> | undefined;
2327
- originalActionId?: string | undefined;
2326
+ }[] | [string, string] | null | undefined> | null | undefined;
2327
+ originalActionId?: string | null | undefined;
2328
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
- id: z.ZodString;
2329
+ id: z.ZodBranded<z.ZodString, "UUID">;
2330
2330
  transactionId: z.ZodString;
2331
2331
  createdByUserType: z.ZodEnum<["user", "system"]>;
2332
2332
  createdAt: z.ZodString;
2333
2333
  createdBy: z.ZodString;
2334
2334
  createdByRole: z.ZodString;
2335
2335
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2337
2337
  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<{
2338
2338
  filename: z.ZodString;
2339
2339
  originalFilename: z.ZodString;
@@ -2460,7 +2460,7 @@ export declare const EventDocument: z.ZodObject<{
2460
2460
  surname: string;
2461
2461
  middlename?: string | null | undefined;
2462
2462
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2463
- 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<{
2463
+ 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<{
2464
2464
  filename: z.ZodString;
2465
2465
  originalFilename: z.ZodString;
2466
2466
  type: z.ZodString;
@@ -2585,14 +2585,14 @@ export declare const EventDocument: z.ZodObject<{
2585
2585
  firstname: string;
2586
2586
  surname: string;
2587
2587
  middlename?: string | null | undefined;
2588
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2588
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2589
2589
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2590
- originalActionId: z.ZodOptional<z.ZodString>;
2590
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2591
2591
  }, {
2592
2592
  type: z.ZodLiteral<"NOTIFY">;
2593
2593
  }>, "strip", z.ZodTypeAny, {
2594
2594
  type: "NOTIFY";
2595
- id: string;
2595
+ id: string & z.BRAND<"UUID">;
2596
2596
  status: "Rejected" | "Requested" | "Accepted";
2597
2597
  transactionId: string;
2598
2598
  createdByUserType: "system" | "user";
@@ -2642,7 +2642,7 @@ export declare const EventDocument: z.ZodObject<{
2642
2642
  originalFilename: string;
2643
2643
  }[] | [string, string] | null | undefined>;
2644
2644
  createdBySignature?: string | null | undefined;
2645
- createdAtLocation?: string | null | undefined;
2645
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2646
2646
  annotation?: Record<string, string | number | boolean | {
2647
2647
  type: string;
2648
2648
  filename: string;
@@ -2684,8 +2684,8 @@ export declare const EventDocument: z.ZodObject<{
2684
2684
  option: string;
2685
2685
  filename: string;
2686
2686
  originalFilename: string;
2687
- }[] | [string, string] | null | undefined> | undefined;
2688
- originalActionId?: string | undefined;
2687
+ }[] | [string, string] | null | undefined> | null | undefined;
2688
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2689
2689
  }, {
2690
2690
  type: "NOTIFY";
2691
2691
  id: string;
@@ -2780,17 +2780,17 @@ export declare const EventDocument: z.ZodObject<{
2780
2780
  option: string;
2781
2781
  filename: string;
2782
2782
  originalFilename: string;
2783
- }[] | [string, string] | null | undefined> | undefined;
2784
- originalActionId?: string | undefined;
2783
+ }[] | [string, string] | null | undefined> | null | undefined;
2784
+ originalActionId?: string | null | undefined;
2785
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2786
- id: z.ZodString;
2786
+ id: z.ZodBranded<z.ZodString, "UUID">;
2787
2787
  transactionId: z.ZodString;
2788
2788
  createdByUserType: z.ZodEnum<["user", "system"]>;
2789
2789
  createdAt: z.ZodString;
2790
2790
  createdBy: z.ZodString;
2791
2791
  createdByRole: z.ZodString;
2792
2792
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2794
2794
  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<{
2795
2795
  filename: z.ZodString;
2796
2796
  originalFilename: z.ZodString;
@@ -2917,7 +2917,7 @@ export declare const EventDocument: z.ZodObject<{
2917
2917
  surname: string;
2918
2918
  middlename?: string | null | undefined;
2919
2919
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2920
- 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<{
2920
+ 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<{
2921
2921
  filename: z.ZodString;
2922
2922
  originalFilename: z.ZodString;
2923
2923
  type: z.ZodString;
@@ -3042,15 +3042,15 @@ export declare const EventDocument: z.ZodObject<{
3042
3042
  firstname: string;
3043
3043
  surname: string;
3044
3044
  middlename?: string | null | undefined;
3045
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3045
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3046
3046
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3047
- originalActionId: z.ZodOptional<z.ZodString>;
3047
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3048
3048
  }, {
3049
3049
  type: z.ZodLiteral<"REGISTER">;
3050
3050
  registrationNumber: z.ZodOptional<z.ZodString>;
3051
3051
  }>, "strip", z.ZodTypeAny, {
3052
3052
  type: "REGISTER";
3053
- id: string;
3053
+ id: string & z.BRAND<"UUID">;
3054
3054
  status: "Rejected" | "Requested" | "Accepted";
3055
3055
  transactionId: string;
3056
3056
  createdByUserType: "system" | "user";
@@ -3100,7 +3100,7 @@ export declare const EventDocument: z.ZodObject<{
3100
3100
  originalFilename: string;
3101
3101
  }[] | [string, string] | null | undefined>;
3102
3102
  createdBySignature?: string | null | undefined;
3103
- createdAtLocation?: string | null | undefined;
3103
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3104
3104
  annotation?: Record<string, string | number | boolean | {
3105
3105
  type: string;
3106
3106
  filename: string;
@@ -3142,8 +3142,8 @@ export declare const EventDocument: z.ZodObject<{
3142
3142
  option: string;
3143
3143
  filename: string;
3144
3144
  originalFilename: string;
3145
- }[] | [string, string] | null | undefined> | undefined;
3146
- originalActionId?: string | undefined;
3145
+ }[] | [string, string] | null | undefined> | null | undefined;
3146
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3147
3147
  registrationNumber?: string | undefined;
3148
3148
  }, {
3149
3149
  type: "REGISTER";
@@ -3239,18 +3239,18 @@ export declare const EventDocument: z.ZodObject<{
3239
3239
  option: string;
3240
3240
  filename: string;
3241
3241
  originalFilename: string;
3242
- }[] | [string, string] | null | undefined> | undefined;
3243
- originalActionId?: string | undefined;
3242
+ }[] | [string, string] | null | undefined> | null | undefined;
3243
+ originalActionId?: string | null | undefined;
3244
3244
  registrationNumber?: string | undefined;
3245
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
3246
- id: z.ZodString;
3246
+ id: z.ZodBranded<z.ZodString, "UUID">;
3247
3247
  transactionId: z.ZodString;
3248
3248
  createdByUserType: z.ZodEnum<["user", "system"]>;
3249
3249
  createdAt: z.ZodString;
3250
3250
  createdBy: z.ZodString;
3251
3251
  createdByRole: z.ZodString;
3252
3252
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3254
3254
  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<{
3255
3255
  filename: z.ZodString;
3256
3256
  originalFilename: z.ZodString;
@@ -3377,7 +3377,7 @@ export declare const EventDocument: z.ZodObject<{
3377
3377
  surname: string;
3378
3378
  middlename?: string | null | undefined;
3379
3379
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3380
- 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<{
3380
+ 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<{
3381
3381
  filename: z.ZodString;
3382
3382
  originalFilename: z.ZodString;
3383
3383
  type: z.ZodString;
@@ -3502,14 +3502,14 @@ export declare const EventDocument: z.ZodObject<{
3502
3502
  firstname: string;
3503
3503
  surname: string;
3504
3504
  middlename?: string | null | undefined;
3505
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3505
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3506
3506
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3507
- originalActionId: z.ZodOptional<z.ZodString>;
3507
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3508
3508
  }, {
3509
3509
  type: z.ZodLiteral<"DECLARE">;
3510
3510
  }>, "strip", z.ZodTypeAny, {
3511
3511
  type: "DECLARE";
3512
- id: string;
3512
+ id: string & z.BRAND<"UUID">;
3513
3513
  status: "Rejected" | "Requested" | "Accepted";
3514
3514
  transactionId: string;
3515
3515
  createdByUserType: "system" | "user";
@@ -3559,7 +3559,7 @@ export declare const EventDocument: z.ZodObject<{
3559
3559
  originalFilename: string;
3560
3560
  }[] | [string, string] | null | undefined>;
3561
3561
  createdBySignature?: string | null | undefined;
3562
- createdAtLocation?: string | null | undefined;
3562
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3563
3563
  annotation?: Record<string, string | number | boolean | {
3564
3564
  type: string;
3565
3565
  filename: string;
@@ -3601,8 +3601,8 @@ export declare const EventDocument: z.ZodObject<{
3601
3601
  option: string;
3602
3602
  filename: string;
3603
3603
  originalFilename: string;
3604
- }[] | [string, string] | null | undefined> | undefined;
3605
- originalActionId?: string | undefined;
3604
+ }[] | [string, string] | null | undefined> | null | undefined;
3605
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3606
3606
  }, {
3607
3607
  type: "DECLARE";
3608
3608
  id: string;
@@ -3697,17 +3697,17 @@ export declare const EventDocument: z.ZodObject<{
3697
3697
  option: string;
3698
3698
  filename: string;
3699
3699
  originalFilename: string;
3700
- }[] | [string, string] | null | undefined> | undefined;
3701
- originalActionId?: string | undefined;
3700
+ }[] | [string, string] | null | undefined> | null | undefined;
3701
+ originalActionId?: string | null | undefined;
3702
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3703
- id: z.ZodString;
3703
+ id: z.ZodBranded<z.ZodString, "UUID">;
3704
3704
  transactionId: z.ZodString;
3705
3705
  createdByUserType: z.ZodEnum<["user", "system"]>;
3706
3706
  createdAt: z.ZodString;
3707
3707
  createdBy: z.ZodString;
3708
3708
  createdByRole: z.ZodString;
3709
3709
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3711
3711
  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<{
3712
3712
  filename: z.ZodString;
3713
3713
  originalFilename: z.ZodString;
@@ -3834,7 +3834,7 @@ export declare const EventDocument: z.ZodObject<{
3834
3834
  surname: string;
3835
3835
  middlename?: string | null | undefined;
3836
3836
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3837
- 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<{
3837
+ 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<{
3838
3838
  filename: z.ZodString;
3839
3839
  originalFilename: z.ZodString;
3840
3840
  type: z.ZodString;
@@ -3959,15 +3959,15 @@ export declare const EventDocument: z.ZodObject<{
3959
3959
  firstname: string;
3960
3960
  surname: string;
3961
3961
  middlename?: string | null | undefined;
3962
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3962
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3963
3963
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3964
- originalActionId: z.ZodOptional<z.ZodString>;
3964
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3965
3965
  }, {
3966
3966
  type: z.ZodLiteral<"ASSIGN">;
3967
3967
  assignedTo: z.ZodString;
3968
3968
  }>, "strip", z.ZodTypeAny, {
3969
3969
  type: "ASSIGN";
3970
- id: string;
3970
+ id: string & z.BRAND<"UUID">;
3971
3971
  status: "Rejected" | "Requested" | "Accepted";
3972
3972
  transactionId: string;
3973
3973
  createdByUserType: "system" | "user";
@@ -4018,7 +4018,7 @@ export declare const EventDocument: z.ZodObject<{
4018
4018
  }[] | [string, string] | null | undefined>;
4019
4019
  assignedTo: string;
4020
4020
  createdBySignature?: string | null | undefined;
4021
- createdAtLocation?: string | null | undefined;
4021
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4022
4022
  annotation?: Record<string, string | number | boolean | {
4023
4023
  type: string;
4024
4024
  filename: string;
@@ -4060,8 +4060,8 @@ export declare const EventDocument: z.ZodObject<{
4060
4060
  option: string;
4061
4061
  filename: string;
4062
4062
  originalFilename: string;
4063
- }[] | [string, string] | null | undefined> | undefined;
4064
- originalActionId?: string | undefined;
4063
+ }[] | [string, string] | null | undefined> | null | undefined;
4064
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4065
4065
  }, {
4066
4066
  type: "ASSIGN";
4067
4067
  id: string;
@@ -4157,17 +4157,17 @@ export declare const EventDocument: z.ZodObject<{
4157
4157
  option: string;
4158
4158
  filename: string;
4159
4159
  originalFilename: string;
4160
- }[] | [string, string] | null | undefined> | undefined;
4161
- originalActionId?: string | undefined;
4160
+ }[] | [string, string] | null | undefined> | null | undefined;
4161
+ originalActionId?: string | null | undefined;
4162
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
4163
- id: z.ZodString;
4163
+ id: z.ZodBranded<z.ZodString, "UUID">;
4164
4164
  transactionId: z.ZodString;
4165
4165
  createdByUserType: z.ZodEnum<["user", "system"]>;
4166
4166
  createdAt: z.ZodString;
4167
4167
  createdBy: z.ZodString;
4168
4168
  createdByRole: z.ZodString;
4169
4169
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4171
4171
  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<{
4172
4172
  filename: z.ZodString;
4173
4173
  originalFilename: z.ZodString;
@@ -4294,7 +4294,7 @@ export declare const EventDocument: z.ZodObject<{
4294
4294
  surname: string;
4295
4295
  middlename?: string | null | undefined;
4296
4296
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4297
- 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<{
4297
+ 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<{
4298
4298
  filename: z.ZodString;
4299
4299
  originalFilename: z.ZodString;
4300
4300
  type: z.ZodString;
@@ -4419,14 +4419,14 @@ export declare const EventDocument: z.ZodObject<{
4419
4419
  firstname: string;
4420
4420
  surname: string;
4421
4421
  middlename?: string | null | undefined;
4422
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4422
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4423
4423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4424
- originalActionId: z.ZodOptional<z.ZodString>;
4424
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4425
4425
  }, {
4426
4426
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
4427
4427
  }>, "strip", z.ZodTypeAny, {
4428
4428
  type: "REQUEST_CORRECTION";
4429
- id: string;
4429
+ id: string & z.BRAND<"UUID">;
4430
4430
  status: "Rejected" | "Requested" | "Accepted";
4431
4431
  transactionId: string;
4432
4432
  createdByUserType: "system" | "user";
@@ -4476,7 +4476,7 @@ export declare const EventDocument: z.ZodObject<{
4476
4476
  originalFilename: string;
4477
4477
  }[] | [string, string] | null | undefined>;
4478
4478
  createdBySignature?: string | null | undefined;
4479
- createdAtLocation?: string | null | undefined;
4479
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4480
4480
  annotation?: Record<string, string | number | boolean | {
4481
4481
  type: string;
4482
4482
  filename: string;
@@ -4518,8 +4518,8 @@ export declare const EventDocument: z.ZodObject<{
4518
4518
  option: string;
4519
4519
  filename: string;
4520
4520
  originalFilename: string;
4521
- }[] | [string, string] | null | undefined> | undefined;
4522
- originalActionId?: string | undefined;
4521
+ }[] | [string, string] | null | undefined> | null | undefined;
4522
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4523
4523
  }, {
4524
4524
  type: "REQUEST_CORRECTION";
4525
4525
  id: string;
@@ -4614,17 +4614,17 @@ export declare const EventDocument: z.ZodObject<{
4614
4614
  option: string;
4615
4615
  filename: string;
4616
4616
  originalFilename: string;
4617
- }[] | [string, string] | null | undefined> | undefined;
4618
- originalActionId?: string | undefined;
4617
+ }[] | [string, string] | null | undefined> | null | undefined;
4618
+ originalActionId?: string | null | undefined;
4619
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4620
- id: z.ZodString;
4620
+ id: z.ZodBranded<z.ZodString, "UUID">;
4621
4621
  transactionId: z.ZodString;
4622
4622
  createdByUserType: z.ZodEnum<["user", "system"]>;
4623
4623
  createdAt: z.ZodString;
4624
4624
  createdBy: z.ZodString;
4625
4625
  createdByRole: z.ZodString;
4626
4626
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4628
4628
  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<{
4629
4629
  filename: z.ZodString;
4630
4630
  originalFilename: z.ZodString;
@@ -4751,7 +4751,7 @@ export declare const EventDocument: z.ZodObject<{
4751
4751
  surname: string;
4752
4752
  middlename?: string | null | undefined;
4753
4753
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4754
- 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<{
4754
+ 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<{
4755
4755
  filename: z.ZodString;
4756
4756
  originalFilename: z.ZodString;
4757
4757
  type: z.ZodString;
@@ -4876,15 +4876,15 @@ export declare const EventDocument: z.ZodObject<{
4876
4876
  firstname: string;
4877
4877
  surname: string;
4878
4878
  middlename?: string | null | undefined;
4879
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4879
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4880
4880
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4881
- originalActionId: z.ZodOptional<z.ZodString>;
4881
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4882
4882
  }, {
4883
4883
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4884
4884
  requestId: z.ZodString;
4885
4885
  }>, "strip", z.ZodTypeAny, {
4886
4886
  type: "APPROVE_CORRECTION";
4887
- id: string;
4887
+ id: string & z.BRAND<"UUID">;
4888
4888
  status: "Rejected" | "Requested" | "Accepted";
4889
4889
  transactionId: string;
4890
4890
  createdByUserType: "system" | "user";
@@ -4935,7 +4935,7 @@ export declare const EventDocument: z.ZodObject<{
4935
4935
  }[] | [string, string] | null | undefined>;
4936
4936
  requestId: string;
4937
4937
  createdBySignature?: string | null | undefined;
4938
- createdAtLocation?: string | null | undefined;
4938
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4939
4939
  annotation?: Record<string, string | number | boolean | {
4940
4940
  type: string;
4941
4941
  filename: string;
@@ -4977,8 +4977,8 @@ export declare const EventDocument: z.ZodObject<{
4977
4977
  option: string;
4978
4978
  filename: string;
4979
4979
  originalFilename: string;
4980
- }[] | [string, string] | null | undefined> | undefined;
4981
- originalActionId?: string | undefined;
4980
+ }[] | [string, string] | null | undefined> | null | undefined;
4981
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4982
4982
  }, {
4983
4983
  type: "APPROVE_CORRECTION";
4984
4984
  id: string;
@@ -5074,17 +5074,17 @@ export declare const EventDocument: z.ZodObject<{
5074
5074
  option: string;
5075
5075
  filename: string;
5076
5076
  originalFilename: string;
5077
- }[] | [string, string] | null | undefined> | undefined;
5078
- originalActionId?: string | undefined;
5077
+ }[] | [string, string] | null | undefined> | null | undefined;
5078
+ originalActionId?: string | null | undefined;
5079
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
5080
- id: z.ZodString;
5080
+ id: z.ZodBranded<z.ZodString, "UUID">;
5081
5081
  transactionId: z.ZodString;
5082
5082
  createdByUserType: z.ZodEnum<["user", "system"]>;
5083
5083
  createdAt: z.ZodString;
5084
5084
  createdBy: z.ZodString;
5085
5085
  createdByRole: z.ZodString;
5086
5086
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5088
5088
  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<{
5089
5089
  filename: z.ZodString;
5090
5090
  originalFilename: z.ZodString;
@@ -5211,7 +5211,7 @@ export declare const EventDocument: z.ZodObject<{
5211
5211
  surname: string;
5212
5212
  middlename?: string | null | undefined;
5213
5213
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5214
- 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<{
5214
+ 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<{
5215
5215
  filename: z.ZodString;
5216
5216
  originalFilename: z.ZodString;
5217
5217
  type: z.ZodString;
@@ -5336,15 +5336,15 @@ export declare const EventDocument: z.ZodObject<{
5336
5336
  firstname: string;
5337
5337
  surname: string;
5338
5338
  middlename?: string | null | undefined;
5339
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5339
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5340
5340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5341
- originalActionId: z.ZodOptional<z.ZodString>;
5341
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5342
5342
  }, {
5343
5343
  type: z.ZodLiteral<"REJECT_CORRECTION">;
5344
5344
  requestId: z.ZodString;
5345
5345
  }>, "strip", z.ZodTypeAny, {
5346
5346
  type: "REJECT_CORRECTION";
5347
- id: string;
5347
+ id: string & z.BRAND<"UUID">;
5348
5348
  status: "Rejected" | "Requested" | "Accepted";
5349
5349
  transactionId: string;
5350
5350
  createdByUserType: "system" | "user";
@@ -5395,7 +5395,7 @@ export declare const EventDocument: z.ZodObject<{
5395
5395
  }[] | [string, string] | null | undefined>;
5396
5396
  requestId: string;
5397
5397
  createdBySignature?: string | null | undefined;
5398
- createdAtLocation?: string | null | undefined;
5398
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5399
5399
  annotation?: Record<string, string | number | boolean | {
5400
5400
  type: string;
5401
5401
  filename: string;
@@ -5437,8 +5437,8 @@ export declare const EventDocument: z.ZodObject<{
5437
5437
  option: string;
5438
5438
  filename: string;
5439
5439
  originalFilename: string;
5440
- }[] | [string, string] | null | undefined> | undefined;
5441
- originalActionId?: string | undefined;
5440
+ }[] | [string, string] | null | undefined> | null | undefined;
5441
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5442
5442
  }, {
5443
5443
  type: "REJECT_CORRECTION";
5444
5444
  id: string;
@@ -5534,17 +5534,17 @@ export declare const EventDocument: z.ZodObject<{
5534
5534
  option: string;
5535
5535
  filename: string;
5536
5536
  originalFilename: string;
5537
- }[] | [string, string] | null | undefined> | undefined;
5538
- originalActionId?: string | undefined;
5537
+ }[] | [string, string] | null | undefined> | null | undefined;
5538
+ originalActionId?: string | null | undefined;
5539
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
5540
- id: z.ZodString;
5540
+ id: z.ZodBranded<z.ZodString, "UUID">;
5541
5541
  transactionId: z.ZodString;
5542
5542
  createdByUserType: z.ZodEnum<["user", "system"]>;
5543
5543
  createdAt: z.ZodString;
5544
5544
  createdBy: z.ZodString;
5545
5545
  createdByRole: z.ZodString;
5546
5546
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5548
5548
  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<{
5549
5549
  filename: z.ZodString;
5550
5550
  originalFilename: z.ZodString;
@@ -5671,7 +5671,7 @@ export declare const EventDocument: z.ZodObject<{
5671
5671
  surname: string;
5672
5672
  middlename?: string | null | undefined;
5673
5673
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5674
- 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<{
5674
+ 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<{
5675
5675
  filename: z.ZodString;
5676
5676
  originalFilename: z.ZodString;
5677
5677
  type: z.ZodString;
@@ -5796,15 +5796,14 @@ export declare const EventDocument: z.ZodObject<{
5796
5796
  firstname: string;
5797
5797
  surname: string;
5798
5798
  middlename?: string | null | undefined;
5799
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5799
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5800
5800
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5801
- originalActionId: z.ZodOptional<z.ZodString>;
5801
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5802
5802
  }, {
5803
5803
  type: z.ZodLiteral<"UNASSIGN">;
5804
- assignedTo: z.ZodLiteral<null>;
5805
5804
  }>, "strip", z.ZodTypeAny, {
5806
5805
  type: "UNASSIGN";
5807
- id: string;
5806
+ id: string & z.BRAND<"UUID">;
5808
5807
  status: "Rejected" | "Requested" | "Accepted";
5809
5808
  transactionId: string;
5810
5809
  createdByUserType: "system" | "user";
@@ -5853,9 +5852,8 @@ export declare const EventDocument: z.ZodObject<{
5853
5852
  filename: string;
5854
5853
  originalFilename: string;
5855
5854
  }[] | [string, string] | null | undefined>;
5856
- assignedTo: null;
5857
5855
  createdBySignature?: string | null | undefined;
5858
- createdAtLocation?: string | null | undefined;
5856
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5859
5857
  annotation?: Record<string, string | number | boolean | {
5860
5858
  type: string;
5861
5859
  filename: string;
@@ -5897,8 +5895,8 @@ export declare const EventDocument: z.ZodObject<{
5897
5895
  option: string;
5898
5896
  filename: string;
5899
5897
  originalFilename: string;
5900
- }[] | [string, string] | null | undefined> | undefined;
5901
- originalActionId?: string | undefined;
5898
+ }[] | [string, string] | null | undefined> | null | undefined;
5899
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5902
5900
  }, {
5903
5901
  type: "UNASSIGN";
5904
5902
  id: string;
@@ -5950,7 +5948,6 @@ export declare const EventDocument: z.ZodObject<{
5950
5948
  filename: string;
5951
5949
  originalFilename: string;
5952
5950
  }[] | [string, string] | null | undefined>;
5953
- assignedTo: null;
5954
5951
  createdBySignature?: string | null | undefined;
5955
5952
  createdAtLocation?: string | null | undefined;
5956
5953
  annotation?: Record<string, string | number | boolean | {
@@ -5994,17 +5991,17 @@ export declare const EventDocument: z.ZodObject<{
5994
5991
  option: string;
5995
5992
  filename: string;
5996
5993
  originalFilename: string;
5997
- }[] | [string, string] | null | undefined> | undefined;
5998
- originalActionId?: string | undefined;
5994
+ }[] | [string, string] | null | undefined> | null | undefined;
5995
+ originalActionId?: string | null | undefined;
5999
5996
  }>, z.ZodObject<z.objectUtil.extendShape<{
6000
- id: z.ZodString;
5997
+ id: z.ZodBranded<z.ZodString, "UUID">;
6001
5998
  transactionId: z.ZodString;
6002
5999
  createdByUserType: z.ZodEnum<["user", "system"]>;
6003
6000
  createdAt: z.ZodString;
6004
6001
  createdBy: z.ZodString;
6005
6002
  createdByRole: z.ZodString;
6006
6003
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6007
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6004
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6008
6005
  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<{
6009
6006
  filename: z.ZodString;
6010
6007
  originalFilename: z.ZodString;
@@ -6131,7 +6128,7 @@ export declare const EventDocument: z.ZodObject<{
6131
6128
  surname: string;
6132
6129
  middlename?: string | null | undefined;
6133
6130
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6134
- 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<{
6131
+ 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<{
6135
6132
  filename: z.ZodString;
6136
6133
  originalFilename: z.ZodString;
6137
6134
  type: z.ZodString;
@@ -6256,14 +6253,14 @@ export declare const EventDocument: z.ZodObject<{
6256
6253
  firstname: string;
6257
6254
  surname: string;
6258
6255
  middlename?: string | null | undefined;
6259
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6256
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6260
6257
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6261
- originalActionId: z.ZodOptional<z.ZodString>;
6258
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6262
6259
  }, {
6263
6260
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6264
6261
  }>, "strip", z.ZodTypeAny, {
6265
6262
  type: "PRINT_CERTIFICATE";
6266
- id: string;
6263
+ id: string & z.BRAND<"UUID">;
6267
6264
  status: "Rejected" | "Requested" | "Accepted";
6268
6265
  transactionId: string;
6269
6266
  createdByUserType: "system" | "user";
@@ -6313,7 +6310,7 @@ export declare const EventDocument: z.ZodObject<{
6313
6310
  originalFilename: string;
6314
6311
  }[] | [string, string] | null | undefined>;
6315
6312
  createdBySignature?: string | null | undefined;
6316
- createdAtLocation?: string | null | undefined;
6313
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6317
6314
  annotation?: Record<string, string | number | boolean | {
6318
6315
  type: string;
6319
6316
  filename: string;
@@ -6355,8 +6352,8 @@ export declare const EventDocument: z.ZodObject<{
6355
6352
  option: string;
6356
6353
  filename: string;
6357
6354
  originalFilename: string;
6358
- }[] | [string, string] | null | undefined> | undefined;
6359
- originalActionId?: string | undefined;
6355
+ }[] | [string, string] | null | undefined> | null | undefined;
6356
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6360
6357
  }, {
6361
6358
  type: "PRINT_CERTIFICATE";
6362
6359
  id: string;
@@ -6451,17 +6448,17 @@ export declare const EventDocument: z.ZodObject<{
6451
6448
  option: string;
6452
6449
  filename: string;
6453
6450
  originalFilename: string;
6454
- }[] | [string, string] | null | undefined> | undefined;
6455
- originalActionId?: string | undefined;
6451
+ }[] | [string, string] | null | undefined> | null | undefined;
6452
+ originalActionId?: string | null | undefined;
6456
6453
  }>, z.ZodObject<z.objectUtil.extendShape<{
6457
- id: z.ZodString;
6454
+ id: z.ZodBranded<z.ZodString, "UUID">;
6458
6455
  transactionId: z.ZodString;
6459
6456
  createdByUserType: z.ZodEnum<["user", "system"]>;
6460
6457
  createdAt: z.ZodString;
6461
6458
  createdBy: z.ZodString;
6462
6459
  createdByRole: z.ZodString;
6463
6460
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6464
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6461
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6465
6462
  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<{
6466
6463
  filename: z.ZodString;
6467
6464
  originalFilename: z.ZodString;
@@ -6588,7 +6585,7 @@ export declare const EventDocument: z.ZodObject<{
6588
6585
  surname: string;
6589
6586
  middlename?: string | null | undefined;
6590
6587
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6591
- 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<{
6588
+ 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<{
6592
6589
  filename: z.ZodString;
6593
6590
  originalFilename: z.ZodString;
6594
6591
  type: z.ZodString;
@@ -6713,14 +6710,14 @@ export declare const EventDocument: z.ZodObject<{
6713
6710
  firstname: string;
6714
6711
  surname: string;
6715
6712
  middlename?: string | null | undefined;
6716
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6713
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6717
6714
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6718
- originalActionId: z.ZodOptional<z.ZodString>;
6715
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6719
6716
  }, {
6720
6717
  type: z.ZodLiteral<"READ">;
6721
6718
  }>, "strip", z.ZodTypeAny, {
6722
6719
  type: "READ";
6723
- id: string;
6720
+ id: string & z.BRAND<"UUID">;
6724
6721
  status: "Rejected" | "Requested" | "Accepted";
6725
6722
  transactionId: string;
6726
6723
  createdByUserType: "system" | "user";
@@ -6770,7 +6767,7 @@ export declare const EventDocument: z.ZodObject<{
6770
6767
  originalFilename: string;
6771
6768
  }[] | [string, string] | null | undefined>;
6772
6769
  createdBySignature?: string | null | undefined;
6773
- createdAtLocation?: string | null | undefined;
6770
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6774
6771
  annotation?: Record<string, string | number | boolean | {
6775
6772
  type: string;
6776
6773
  filename: string;
@@ -6812,8 +6809,8 @@ export declare const EventDocument: z.ZodObject<{
6812
6809
  option: string;
6813
6810
  filename: string;
6814
6811
  originalFilename: string;
6815
- }[] | [string, string] | null | undefined> | undefined;
6816
- originalActionId?: string | undefined;
6812
+ }[] | [string, string] | null | undefined> | null | undefined;
6813
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6817
6814
  }, {
6818
6815
  type: "READ";
6819
6816
  id: string;
@@ -6908,17 +6905,17 @@ export declare const EventDocument: z.ZodObject<{
6908
6905
  option: string;
6909
6906
  filename: string;
6910
6907
  originalFilename: string;
6911
- }[] | [string, string] | null | undefined> | undefined;
6912
- originalActionId?: string | undefined;
6908
+ }[] | [string, string] | null | undefined> | null | undefined;
6909
+ originalActionId?: string | null | undefined;
6913
6910
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6914
- id: z.ZodString;
6911
+ id: z.ZodBranded<z.ZodString, "UUID">;
6915
6912
  transactionId: z.ZodString;
6916
6913
  createdByUserType: z.ZodEnum<["user", "system"]>;
6917
6914
  createdAt: z.ZodString;
6918
6915
  createdBy: z.ZodString;
6919
6916
  createdByRole: z.ZodString;
6920
6917
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6921
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6918
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6922
6919
  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<{
6923
6920
  filename: z.ZodString;
6924
6921
  originalFilename: z.ZodString;
@@ -7045,7 +7042,7 @@ export declare const EventDocument: z.ZodObject<{
7045
7042
  surname: string;
7046
7043
  middlename?: string | null | undefined;
7047
7044
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7048
- 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<{
7045
+ 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<{
7049
7046
  filename: z.ZodString;
7050
7047
  originalFilename: z.ZodString;
7051
7048
  type: z.ZodString;
@@ -7170,15 +7167,15 @@ export declare const EventDocument: z.ZodObject<{
7170
7167
  firstname: string;
7171
7168
  surname: string;
7172
7169
  middlename?: string | null | undefined;
7173
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7170
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7174
7171
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7175
- originalActionId: z.ZodOptional<z.ZodString>;
7172
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7176
7173
  }, "declaration" | "annotation">, {
7177
7174
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7178
7175
  status: z.ZodLiteral<"Rejected">;
7179
7176
  }>, "strip", z.ZodTypeAny, {
7180
7177
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7181
- id: string;
7178
+ id: string & z.BRAND<"UUID">;
7182
7179
  status: "Rejected";
7183
7180
  transactionId: string;
7184
7181
  createdByUserType: "system" | "user";
@@ -7186,8 +7183,8 @@ export declare const EventDocument: z.ZodObject<{
7186
7183
  createdBy: string;
7187
7184
  createdByRole: string;
7188
7185
  createdBySignature?: string | null | undefined;
7189
- createdAtLocation?: string | null | undefined;
7190
- originalActionId?: string | undefined;
7186
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7187
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7191
7188
  }, {
7192
7189
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7193
7190
  id: string;
@@ -7199,17 +7196,17 @@ export declare const EventDocument: z.ZodObject<{
7199
7196
  createdByRole: string;
7200
7197
  createdBySignature?: string | null | undefined;
7201
7198
  createdAtLocation?: string | null | undefined;
7202
- originalActionId?: string | undefined;
7199
+ originalActionId?: string | null | undefined;
7203
7200
  }>]>, "many">;
7204
7201
  trackingId: z.ZodString;
7205
7202
  }, "strip", z.ZodTypeAny, {
7206
7203
  type: string;
7207
- id: string;
7204
+ id: string & z.BRAND<"UUID">;
7208
7205
  createdAt: string;
7209
7206
  updatedAt: string;
7210
7207
  actions: ({
7211
7208
  type: "ASSIGN";
7212
- id: string;
7209
+ id: string & z.BRAND<"UUID">;
7213
7210
  status: "Rejected" | "Requested" | "Accepted";
7214
7211
  transactionId: string;
7215
7212
  createdByUserType: "system" | "user";
@@ -7260,7 +7257,7 @@ export declare const EventDocument: z.ZodObject<{
7260
7257
  }[] | [string, string] | null | undefined>;
7261
7258
  assignedTo: string;
7262
7259
  createdBySignature?: string | null | undefined;
7263
- createdAtLocation?: string | null | undefined;
7260
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7264
7261
  annotation?: Record<string, string | number | boolean | {
7265
7262
  type: string;
7266
7263
  filename: string;
@@ -7302,11 +7299,11 @@ export declare const EventDocument: z.ZodObject<{
7302
7299
  option: string;
7303
7300
  filename: string;
7304
7301
  originalFilename: string;
7305
- }[] | [string, string] | null | undefined> | undefined;
7306
- originalActionId?: string | undefined;
7302
+ }[] | [string, string] | null | undefined> | null | undefined;
7303
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7307
7304
  } | {
7308
7305
  type: "UNASSIGN";
7309
- id: string;
7306
+ id: string & z.BRAND<"UUID">;
7310
7307
  status: "Rejected" | "Requested" | "Accepted";
7311
7308
  transactionId: string;
7312
7309
  createdByUserType: "system" | "user";
@@ -7355,9 +7352,8 @@ export declare const EventDocument: z.ZodObject<{
7355
7352
  filename: string;
7356
7353
  originalFilename: string;
7357
7354
  }[] | [string, string] | null | undefined>;
7358
- assignedTo: null;
7359
7355
  createdBySignature?: string | null | undefined;
7360
- createdAtLocation?: string | null | undefined;
7356
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7361
7357
  annotation?: Record<string, string | number | boolean | {
7362
7358
  type: string;
7363
7359
  filename: string;
@@ -7399,11 +7395,11 @@ export declare const EventDocument: z.ZodObject<{
7399
7395
  option: string;
7400
7396
  filename: string;
7401
7397
  originalFilename: string;
7402
- }[] | [string, string] | null | undefined> | undefined;
7403
- originalActionId?: string | undefined;
7398
+ }[] | [string, string] | null | undefined> | null | undefined;
7399
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7404
7400
  } | {
7405
7401
  type: "REGISTER";
7406
- id: string;
7402
+ id: string & z.BRAND<"UUID">;
7407
7403
  status: "Rejected" | "Requested" | "Accepted";
7408
7404
  transactionId: string;
7409
7405
  createdByUserType: "system" | "user";
@@ -7453,7 +7449,7 @@ export declare const EventDocument: z.ZodObject<{
7453
7449
  originalFilename: string;
7454
7450
  }[] | [string, string] | null | undefined>;
7455
7451
  createdBySignature?: string | null | undefined;
7456
- createdAtLocation?: string | null | undefined;
7452
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7457
7453
  annotation?: Record<string, string | number | boolean | {
7458
7454
  type: string;
7459
7455
  filename: string;
@@ -7495,12 +7491,12 @@ export declare const EventDocument: z.ZodObject<{
7495
7491
  option: string;
7496
7492
  filename: string;
7497
7493
  originalFilename: string;
7498
- }[] | [string, string] | null | undefined> | undefined;
7499
- originalActionId?: string | undefined;
7494
+ }[] | [string, string] | null | undefined> | null | undefined;
7495
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7500
7496
  registrationNumber?: string | undefined;
7501
7497
  } | {
7502
7498
  type: "DECLARE";
7503
- id: string;
7499
+ id: string & z.BRAND<"UUID">;
7504
7500
  status: "Rejected" | "Requested" | "Accepted";
7505
7501
  transactionId: string;
7506
7502
  createdByUserType: "system" | "user";
@@ -7550,7 +7546,7 @@ export declare const EventDocument: z.ZodObject<{
7550
7546
  originalFilename: string;
7551
7547
  }[] | [string, string] | null | undefined>;
7552
7548
  createdBySignature?: string | null | undefined;
7553
- createdAtLocation?: string | null | undefined;
7549
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7554
7550
  annotation?: Record<string, string | number | boolean | {
7555
7551
  type: string;
7556
7552
  filename: string;
@@ -7592,11 +7588,11 @@ export declare const EventDocument: z.ZodObject<{
7592
7588
  option: string;
7593
7589
  filename: string;
7594
7590
  originalFilename: string;
7595
- }[] | [string, string] | null | undefined> | undefined;
7596
- originalActionId?: string | undefined;
7591
+ }[] | [string, string] | null | undefined> | null | undefined;
7592
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7597
7593
  } | {
7598
7594
  type: "VALIDATE";
7599
- id: string;
7595
+ id: string & z.BRAND<"UUID">;
7600
7596
  status: "Rejected" | "Requested" | "Accepted";
7601
7597
  transactionId: string;
7602
7598
  createdByUserType: "system" | "user";
@@ -7646,7 +7642,7 @@ export declare const EventDocument: z.ZodObject<{
7646
7642
  originalFilename: string;
7647
7643
  }[] | [string, string] | null | undefined>;
7648
7644
  createdBySignature?: string | null | undefined;
7649
- createdAtLocation?: string | null | undefined;
7645
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7650
7646
  annotation?: Record<string, string | number | boolean | {
7651
7647
  type: string;
7652
7648
  filename: string;
@@ -7688,11 +7684,11 @@ export declare const EventDocument: z.ZodObject<{
7688
7684
  option: string;
7689
7685
  filename: string;
7690
7686
  originalFilename: string;
7691
- }[] | [string, string] | null | undefined> | undefined;
7692
- originalActionId?: string | undefined;
7687
+ }[] | [string, string] | null | undefined> | null | undefined;
7688
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7693
7689
  } | {
7694
7690
  type: "REJECT";
7695
- id: string;
7691
+ id: string & z.BRAND<"UUID">;
7696
7692
  status: "Rejected" | "Requested" | "Accepted";
7697
7693
  reason: {
7698
7694
  message: string;
@@ -7746,7 +7742,7 @@ export declare const EventDocument: z.ZodObject<{
7746
7742
  originalFilename: string;
7747
7743
  }[] | [string, string] | null | undefined>;
7748
7744
  createdBySignature?: string | null | undefined;
7749
- createdAtLocation?: string | null | undefined;
7745
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7750
7746
  annotation?: Record<string, string | number | boolean | {
7751
7747
  type: string;
7752
7748
  filename: string;
@@ -7788,11 +7784,11 @@ export declare const EventDocument: z.ZodObject<{
7788
7784
  option: string;
7789
7785
  filename: string;
7790
7786
  originalFilename: string;
7791
- }[] | [string, string] | null | undefined> | undefined;
7792
- originalActionId?: string | undefined;
7787
+ }[] | [string, string] | null | undefined> | null | undefined;
7788
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7793
7789
  } | {
7794
7790
  type: "MARKED_AS_DUPLICATE";
7795
- id: string;
7791
+ id: string & z.BRAND<"UUID">;
7796
7792
  status: "Rejected" | "Requested" | "Accepted";
7797
7793
  transactionId: string;
7798
7794
  createdByUserType: "system" | "user";
@@ -7842,7 +7838,7 @@ export declare const EventDocument: z.ZodObject<{
7842
7838
  originalFilename: string;
7843
7839
  }[] | [string, string] | null | undefined>;
7844
7840
  createdBySignature?: string | null | undefined;
7845
- createdAtLocation?: string | null | undefined;
7841
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7846
7842
  annotation?: Record<string, string | number | boolean | {
7847
7843
  type: string;
7848
7844
  filename: string;
@@ -7884,11 +7880,11 @@ export declare const EventDocument: z.ZodObject<{
7884
7880
  option: string;
7885
7881
  filename: string;
7886
7882
  originalFilename: string;
7887
- }[] | [string, string] | null | undefined> | undefined;
7888
- originalActionId?: string | undefined;
7883
+ }[] | [string, string] | null | undefined> | null | undefined;
7884
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7889
7885
  } | {
7890
7886
  type: "ARCHIVE";
7891
- id: string;
7887
+ id: string & z.BRAND<"UUID">;
7892
7888
  status: "Rejected" | "Requested" | "Accepted";
7893
7889
  reason: {
7894
7890
  message: string;
@@ -7942,7 +7938,7 @@ export declare const EventDocument: z.ZodObject<{
7942
7938
  originalFilename: string;
7943
7939
  }[] | [string, string] | null | undefined>;
7944
7940
  createdBySignature?: string | null | undefined;
7945
- createdAtLocation?: string | null | undefined;
7941
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7946
7942
  annotation?: Record<string, string | number | boolean | {
7947
7943
  type: string;
7948
7944
  filename: string;
@@ -7984,11 +7980,11 @@ export declare const EventDocument: z.ZodObject<{
7984
7980
  option: string;
7985
7981
  filename: string;
7986
7982
  originalFilename: string;
7987
- }[] | [string, string] | null | undefined> | undefined;
7988
- originalActionId?: string | undefined;
7983
+ }[] | [string, string] | null | undefined> | null | undefined;
7984
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7989
7985
  } | {
7990
7986
  type: "CREATE";
7991
- id: string;
7987
+ id: string & z.BRAND<"UUID">;
7992
7988
  status: "Rejected" | "Requested" | "Accepted";
7993
7989
  transactionId: string;
7994
7990
  createdByUserType: "system" | "user";
@@ -8038,7 +8034,7 @@ export declare const EventDocument: z.ZodObject<{
8038
8034
  originalFilename: string;
8039
8035
  }[] | [string, string] | null | undefined>;
8040
8036
  createdBySignature?: string | null | undefined;
8041
- createdAtLocation?: string | null | undefined;
8037
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8042
8038
  annotation?: Record<string, string | number | boolean | {
8043
8039
  type: string;
8044
8040
  filename: string;
@@ -8080,11 +8076,11 @@ export declare const EventDocument: z.ZodObject<{
8080
8076
  option: string;
8081
8077
  filename: string;
8082
8078
  originalFilename: string;
8083
- }[] | [string, string] | null | undefined> | undefined;
8084
- originalActionId?: string | undefined;
8079
+ }[] | [string, string] | null | undefined> | null | undefined;
8080
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8085
8081
  } | {
8086
8082
  type: "NOTIFY";
8087
- id: string;
8083
+ id: string & z.BRAND<"UUID">;
8088
8084
  status: "Rejected" | "Requested" | "Accepted";
8089
8085
  transactionId: string;
8090
8086
  createdByUserType: "system" | "user";
@@ -8134,7 +8130,7 @@ export declare const EventDocument: z.ZodObject<{
8134
8130
  originalFilename: string;
8135
8131
  }[] | [string, string] | null | undefined>;
8136
8132
  createdBySignature?: string | null | undefined;
8137
- createdAtLocation?: string | null | undefined;
8133
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8138
8134
  annotation?: Record<string, string | number | boolean | {
8139
8135
  type: string;
8140
8136
  filename: string;
@@ -8176,11 +8172,11 @@ export declare const EventDocument: z.ZodObject<{
8176
8172
  option: string;
8177
8173
  filename: string;
8178
8174
  originalFilename: string;
8179
- }[] | [string, string] | null | undefined> | undefined;
8180
- originalActionId?: string | undefined;
8175
+ }[] | [string, string] | null | undefined> | null | undefined;
8176
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8181
8177
  } | {
8182
8178
  type: "PRINT_CERTIFICATE";
8183
- id: string;
8179
+ id: string & z.BRAND<"UUID">;
8184
8180
  status: "Rejected" | "Requested" | "Accepted";
8185
8181
  transactionId: string;
8186
8182
  createdByUserType: "system" | "user";
@@ -8230,7 +8226,7 @@ export declare const EventDocument: z.ZodObject<{
8230
8226
  originalFilename: string;
8231
8227
  }[] | [string, string] | null | undefined>;
8232
8228
  createdBySignature?: string | null | undefined;
8233
- createdAtLocation?: string | null | undefined;
8229
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8234
8230
  annotation?: Record<string, string | number | boolean | {
8235
8231
  type: string;
8236
8232
  filename: string;
@@ -8272,11 +8268,11 @@ export declare const EventDocument: z.ZodObject<{
8272
8268
  option: string;
8273
8269
  filename: string;
8274
8270
  originalFilename: string;
8275
- }[] | [string, string] | null | undefined> | undefined;
8276
- originalActionId?: string | undefined;
8271
+ }[] | [string, string] | null | undefined> | null | undefined;
8272
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8277
8273
  } | {
8278
8274
  type: "REQUEST_CORRECTION";
8279
- id: string;
8275
+ id: string & z.BRAND<"UUID">;
8280
8276
  status: "Rejected" | "Requested" | "Accepted";
8281
8277
  transactionId: string;
8282
8278
  createdByUserType: "system" | "user";
@@ -8326,7 +8322,7 @@ export declare const EventDocument: z.ZodObject<{
8326
8322
  originalFilename: string;
8327
8323
  }[] | [string, string] | null | undefined>;
8328
8324
  createdBySignature?: string | null | undefined;
8329
- createdAtLocation?: string | null | undefined;
8325
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8330
8326
  annotation?: Record<string, string | number | boolean | {
8331
8327
  type: string;
8332
8328
  filename: string;
@@ -8368,11 +8364,11 @@ export declare const EventDocument: z.ZodObject<{
8368
8364
  option: string;
8369
8365
  filename: string;
8370
8366
  originalFilename: string;
8371
- }[] | [string, string] | null | undefined> | undefined;
8372
- originalActionId?: string | undefined;
8367
+ }[] | [string, string] | null | undefined> | null | undefined;
8368
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8373
8369
  } | {
8374
8370
  type: "APPROVE_CORRECTION";
8375
- id: string;
8371
+ id: string & z.BRAND<"UUID">;
8376
8372
  status: "Rejected" | "Requested" | "Accepted";
8377
8373
  transactionId: string;
8378
8374
  createdByUserType: "system" | "user";
@@ -8423,7 +8419,7 @@ export declare const EventDocument: z.ZodObject<{
8423
8419
  }[] | [string, string] | null | undefined>;
8424
8420
  requestId: string;
8425
8421
  createdBySignature?: string | null | undefined;
8426
- createdAtLocation?: string | null | undefined;
8422
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8427
8423
  annotation?: Record<string, string | number | boolean | {
8428
8424
  type: string;
8429
8425
  filename: string;
@@ -8465,11 +8461,11 @@ export declare const EventDocument: z.ZodObject<{
8465
8461
  option: string;
8466
8462
  filename: string;
8467
8463
  originalFilename: string;
8468
- }[] | [string, string] | null | undefined> | undefined;
8469
- originalActionId?: string | undefined;
8464
+ }[] | [string, string] | null | undefined> | null | undefined;
8465
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8470
8466
  } | {
8471
8467
  type: "REJECT_CORRECTION";
8472
- id: string;
8468
+ id: string & z.BRAND<"UUID">;
8473
8469
  status: "Rejected" | "Requested" | "Accepted";
8474
8470
  transactionId: string;
8475
8471
  createdByUserType: "system" | "user";
@@ -8520,7 +8516,7 @@ export declare const EventDocument: z.ZodObject<{
8520
8516
  }[] | [string, string] | null | undefined>;
8521
8517
  requestId: string;
8522
8518
  createdBySignature?: string | null | undefined;
8523
- createdAtLocation?: string | null | undefined;
8519
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8524
8520
  annotation?: Record<string, string | number | boolean | {
8525
8521
  type: string;
8526
8522
  filename: string;
@@ -8562,11 +8558,11 @@ export declare const EventDocument: z.ZodObject<{
8562
8558
  option: string;
8563
8559
  filename: string;
8564
8560
  originalFilename: string;
8565
- }[] | [string, string] | null | undefined> | undefined;
8566
- originalActionId?: string | undefined;
8561
+ }[] | [string, string] | null | undefined> | null | undefined;
8562
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8567
8563
  } | {
8568
8564
  type: "READ";
8569
- id: string;
8565
+ id: string & z.BRAND<"UUID">;
8570
8566
  status: "Rejected" | "Requested" | "Accepted";
8571
8567
  transactionId: string;
8572
8568
  createdByUserType: "system" | "user";
@@ -8616,7 +8612,7 @@ export declare const EventDocument: z.ZodObject<{
8616
8612
  originalFilename: string;
8617
8613
  }[] | [string, string] | null | undefined>;
8618
8614
  createdBySignature?: string | null | undefined;
8619
- createdAtLocation?: string | null | undefined;
8615
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8620
8616
  annotation?: Record<string, string | number | boolean | {
8621
8617
  type: string;
8622
8618
  filename: string;
@@ -8658,11 +8654,11 @@ export declare const EventDocument: z.ZodObject<{
8658
8654
  option: string;
8659
8655
  filename: string;
8660
8656
  originalFilename: string;
8661
- }[] | [string, string] | null | undefined> | undefined;
8662
- originalActionId?: string | undefined;
8657
+ }[] | [string, string] | null | undefined> | null | undefined;
8658
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8663
8659
  } | {
8664
8660
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8665
- id: string;
8661
+ id: string & z.BRAND<"UUID">;
8666
8662
  status: "Rejected";
8667
8663
  transactionId: string;
8668
8664
  createdByUserType: "system" | "user";
@@ -8670,8 +8666,8 @@ export declare const EventDocument: z.ZodObject<{
8670
8666
  createdBy: string;
8671
8667
  createdByRole: string;
8672
8668
  createdBySignature?: string | null | undefined;
8673
- createdAtLocation?: string | null | undefined;
8674
- originalActionId?: string | undefined;
8669
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8670
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8675
8671
  })[];
8676
8672
  trackingId: string;
8677
8673
  }, {
@@ -8774,8 +8770,8 @@ export declare const EventDocument: z.ZodObject<{
8774
8770
  option: string;
8775
8771
  filename: string;
8776
8772
  originalFilename: string;
8777
- }[] | [string, string] | null | undefined> | undefined;
8778
- originalActionId?: string | undefined;
8773
+ }[] | [string, string] | null | undefined> | null | undefined;
8774
+ originalActionId?: string | null | undefined;
8779
8775
  } | {
8780
8776
  type: "UNASSIGN";
8781
8777
  id: string;
@@ -8827,7 +8823,6 @@ export declare const EventDocument: z.ZodObject<{
8827
8823
  filename: string;
8828
8824
  originalFilename: string;
8829
8825
  }[] | [string, string] | null | undefined>;
8830
- assignedTo: null;
8831
8826
  createdBySignature?: string | null | undefined;
8832
8827
  createdAtLocation?: string | null | undefined;
8833
8828
  annotation?: Record<string, string | number | boolean | {
@@ -8871,8 +8866,8 @@ export declare const EventDocument: z.ZodObject<{
8871
8866
  option: string;
8872
8867
  filename: string;
8873
8868
  originalFilename: string;
8874
- }[] | [string, string] | null | undefined> | undefined;
8875
- originalActionId?: string | undefined;
8869
+ }[] | [string, string] | null | undefined> | null | undefined;
8870
+ originalActionId?: string | null | undefined;
8876
8871
  } | {
8877
8872
  type: "REGISTER";
8878
8873
  id: string;
@@ -8967,8 +8962,8 @@ export declare const EventDocument: z.ZodObject<{
8967
8962
  option: string;
8968
8963
  filename: string;
8969
8964
  originalFilename: string;
8970
- }[] | [string, string] | null | undefined> | undefined;
8971
- originalActionId?: string | undefined;
8965
+ }[] | [string, string] | null | undefined> | null | undefined;
8966
+ originalActionId?: string | null | undefined;
8972
8967
  registrationNumber?: string | undefined;
8973
8968
  } | {
8974
8969
  type: "DECLARE";
@@ -9064,8 +9059,8 @@ export declare const EventDocument: z.ZodObject<{
9064
9059
  option: string;
9065
9060
  filename: string;
9066
9061
  originalFilename: string;
9067
- }[] | [string, string] | null | undefined> | undefined;
9068
- originalActionId?: string | undefined;
9062
+ }[] | [string, string] | null | undefined> | null | undefined;
9063
+ originalActionId?: string | null | undefined;
9069
9064
  } | {
9070
9065
  type: "VALIDATE";
9071
9066
  id: string;
@@ -9160,8 +9155,8 @@ export declare const EventDocument: z.ZodObject<{
9160
9155
  option: string;
9161
9156
  filename: string;
9162
9157
  originalFilename: string;
9163
- }[] | [string, string] | null | undefined> | undefined;
9164
- originalActionId?: string | undefined;
9158
+ }[] | [string, string] | null | undefined> | null | undefined;
9159
+ originalActionId?: string | null | undefined;
9165
9160
  } | {
9166
9161
  type: "REJECT";
9167
9162
  id: string;
@@ -9260,8 +9255,8 @@ export declare const EventDocument: z.ZodObject<{
9260
9255
  option: string;
9261
9256
  filename: string;
9262
9257
  originalFilename: string;
9263
- }[] | [string, string] | null | undefined> | undefined;
9264
- originalActionId?: string | undefined;
9258
+ }[] | [string, string] | null | undefined> | null | undefined;
9259
+ originalActionId?: string | null | undefined;
9265
9260
  } | {
9266
9261
  type: "MARKED_AS_DUPLICATE";
9267
9262
  id: string;
@@ -9356,8 +9351,8 @@ export declare const EventDocument: z.ZodObject<{
9356
9351
  option: string;
9357
9352
  filename: string;
9358
9353
  originalFilename: string;
9359
- }[] | [string, string] | null | undefined> | undefined;
9360
- originalActionId?: string | undefined;
9354
+ }[] | [string, string] | null | undefined> | null | undefined;
9355
+ originalActionId?: string | null | undefined;
9361
9356
  } | {
9362
9357
  type: "ARCHIVE";
9363
9358
  id: string;
@@ -9456,8 +9451,8 @@ export declare const EventDocument: z.ZodObject<{
9456
9451
  option: string;
9457
9452
  filename: string;
9458
9453
  originalFilename: string;
9459
- }[] | [string, string] | null | undefined> | undefined;
9460
- originalActionId?: string | undefined;
9454
+ }[] | [string, string] | null | undefined> | null | undefined;
9455
+ originalActionId?: string | null | undefined;
9461
9456
  } | {
9462
9457
  type: "CREATE";
9463
9458
  id: string;
@@ -9552,8 +9547,8 @@ export declare const EventDocument: z.ZodObject<{
9552
9547
  option: string;
9553
9548
  filename: string;
9554
9549
  originalFilename: string;
9555
- }[] | [string, string] | null | undefined> | undefined;
9556
- originalActionId?: string | undefined;
9550
+ }[] | [string, string] | null | undefined> | null | undefined;
9551
+ originalActionId?: string | null | undefined;
9557
9552
  } | {
9558
9553
  type: "NOTIFY";
9559
9554
  id: string;
@@ -9648,8 +9643,8 @@ export declare const EventDocument: z.ZodObject<{
9648
9643
  option: string;
9649
9644
  filename: string;
9650
9645
  originalFilename: string;
9651
- }[] | [string, string] | null | undefined> | undefined;
9652
- originalActionId?: string | undefined;
9646
+ }[] | [string, string] | null | undefined> | null | undefined;
9647
+ originalActionId?: string | null | undefined;
9653
9648
  } | {
9654
9649
  type: "PRINT_CERTIFICATE";
9655
9650
  id: string;
@@ -9744,8 +9739,8 @@ export declare const EventDocument: z.ZodObject<{
9744
9739
  option: string;
9745
9740
  filename: string;
9746
9741
  originalFilename: string;
9747
- }[] | [string, string] | null | undefined> | undefined;
9748
- originalActionId?: string | undefined;
9742
+ }[] | [string, string] | null | undefined> | null | undefined;
9743
+ originalActionId?: string | null | undefined;
9749
9744
  } | {
9750
9745
  type: "REQUEST_CORRECTION";
9751
9746
  id: string;
@@ -9840,8 +9835,8 @@ export declare const EventDocument: z.ZodObject<{
9840
9835
  option: string;
9841
9836
  filename: string;
9842
9837
  originalFilename: string;
9843
- }[] | [string, string] | null | undefined> | undefined;
9844
- originalActionId?: string | undefined;
9838
+ }[] | [string, string] | null | undefined> | null | undefined;
9839
+ originalActionId?: string | null | undefined;
9845
9840
  } | {
9846
9841
  type: "APPROVE_CORRECTION";
9847
9842
  id: string;
@@ -9937,8 +9932,8 @@ export declare const EventDocument: z.ZodObject<{
9937
9932
  option: string;
9938
9933
  filename: string;
9939
9934
  originalFilename: string;
9940
- }[] | [string, string] | null | undefined> | undefined;
9941
- originalActionId?: string | undefined;
9935
+ }[] | [string, string] | null | undefined> | null | undefined;
9936
+ originalActionId?: string | null | undefined;
9942
9937
  } | {
9943
9938
  type: "REJECT_CORRECTION";
9944
9939
  id: string;
@@ -10034,8 +10029,8 @@ export declare const EventDocument: z.ZodObject<{
10034
10029
  option: string;
10035
10030
  filename: string;
10036
10031
  originalFilename: string;
10037
- }[] | [string, string] | null | undefined> | undefined;
10038
- originalActionId?: string | undefined;
10032
+ }[] | [string, string] | null | undefined> | null | undefined;
10033
+ originalActionId?: string | null | undefined;
10039
10034
  } | {
10040
10035
  type: "READ";
10041
10036
  id: string;
@@ -10130,8 +10125,8 @@ export declare const EventDocument: z.ZodObject<{
10130
10125
  option: string;
10131
10126
  filename: string;
10132
10127
  originalFilename: string;
10133
- }[] | [string, string] | null | undefined> | undefined;
10134
- originalActionId?: string | undefined;
10128
+ }[] | [string, string] | null | undefined> | null | undefined;
10129
+ originalActionId?: string | null | undefined;
10135
10130
  } | {
10136
10131
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10137
10132
  id: string;
@@ -10143,7 +10138,7 @@ export declare const EventDocument: z.ZodObject<{
10143
10138
  createdByRole: string;
10144
10139
  createdBySignature?: string | null | undefined;
10145
10140
  createdAtLocation?: string | null | undefined;
10146
- originalActionId?: string | undefined;
10141
+ originalActionId?: string | null | undefined;
10147
10142
  })[];
10148
10143
  trackingId: string;
10149
10144
  }>;