@opencrvs/toolkit 1.8.0-rc.fe7c504 → 1.8.0-rc.fe8c092

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/commons/api/router.d.ts +10468 -1335
  2. package/dist/commons/events/ActionConfig.d.ts +0 -2600
  3. package/dist/commons/events/ActionDocument.d.ts +1087 -1081
  4. package/dist/commons/events/ActionInput.d.ts +726 -726
  5. package/dist/commons/events/ActionType.d.ts +2 -0
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -222
  7. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +572 -1234
  9. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  10. package/dist/commons/events/Draft.d.ts +77 -77
  11. package/dist/commons/events/EventConfig.d.ts +0 -1458
  12. package/dist/commons/events/EventDocument.d.ts +711 -706
  13. package/dist/commons/events/EventIndex.d.ts +151 -135
  14. package/dist/commons/events/EventMetadata.d.ts +29 -38
  15. package/dist/commons/events/FieldConfig.d.ts +0 -178
  16. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  17. package/dist/commons/events/FieldValue.d.ts +12 -12
  18. package/dist/commons/events/FormConfig.d.ts +0 -1092
  19. package/dist/commons/events/PageConfig.d.ts +0 -260
  20. package/dist/commons/events/User.d.ts +3 -6
  21. package/dist/commons/events/WorkqueueConfig.d.ts +1028 -2038
  22. package/dist/commons/events/defineConfig.d.ts +0 -294
  23. package/dist/commons/events/field.d.ts +0 -5
  24. package/dist/commons/events/test.utils.d.ts +19 -30
  25. package/dist/commons/events/transactions.d.ts +1 -1
  26. package/dist/commons/events/utils.d.ts +15 -440
  27. package/dist/conditionals/index.js +18 -22
  28. package/dist/events/index.js +185 -303
  29. package/dist/scopes/index.d.ts +6 -92
  30. package/dist/scopes/index.js +9 -38
  31. package/package.json +3 -3
@@ -1,2 +1,3 @@
1
- export declare const CreatedAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
1
+ import { z } from 'zod';
2
+ export declare const CreatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2
3
  //# sourceMappingURL=CreatedAtLocation.d.ts.map
@@ -1,18 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const Draft: z.ZodObject<{
3
- id: z.ZodBranded<z.ZodString, "UUID">;
4
- eventId: z.ZodBranded<z.ZodString, "UUID">;
3
+ id: z.ZodString;
4
+ eventId: z.ZodString;
5
5
  transactionId: z.ZodString;
6
6
  createdAt: z.ZodString;
7
7
  action: z.ZodObject<Omit<z.objectUtil.extendShape<{
8
- id: z.ZodBranded<z.ZodString, "UUID">;
8
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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;
@@ -127,19 +127,19 @@ export declare const Draft: z.ZodObject<{
127
127
  addressLine3?: string | null | undefined;
128
128
  postcodeOrZip?: string | null | undefined;
129
129
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
130
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ firstname: z.ZodString;
131
+ surname: z.ZodString;
132
132
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
133
  }, "strip", z.ZodTypeAny, {
134
- firstname?: string | null | undefined;
135
- surname?: string | null | undefined;
134
+ firstname: string;
135
+ surname: string;
136
136
  middlename?: string | null | undefined;
137
137
  }, {
138
- firstname?: string | null | undefined;
139
- surname?: string | null | undefined;
138
+ firstname: string;
139
+ surname: string;
140
140
  middlename?: string | null | undefined;
141
141
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
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<{
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<{
143
143
  filename: z.ZodString;
144
144
  originalFilename: z.ZodString;
145
145
  type: z.ZodString;
@@ -253,24 +253,24 @@ export declare const Draft: z.ZodObject<{
253
253
  addressLine3?: string | null | undefined;
254
254
  postcodeOrZip?: string | null | undefined;
255
255
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
256
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
+ firstname: z.ZodString;
257
+ surname: z.ZodString;
258
258
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
259
  }, "strip", z.ZodTypeAny, {
260
- firstname?: string | null | undefined;
261
- surname?: string | null | undefined;
260
+ firstname: string;
261
+ surname: string;
262
262
  middlename?: string | null | undefined;
263
263
  }, {
264
- firstname?: string | null | undefined;
265
- surname?: string | null | undefined;
264
+ firstname: string;
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.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
269
+ originalActionId: z.ZodOptional<z.ZodString>;
270
270
  }, {
271
271
  type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
272
272
  }>, "id">, "strip", z.ZodTypeAny, {
273
- type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
273
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
274
274
  status: "Rejected" | "Requested" | "Accepted";
275
275
  transactionId: string;
276
276
  createdByUserType: "system" | "user";
@@ -293,8 +293,8 @@ export declare const Draft: z.ZodObject<{
293
293
  street?: string | null | undefined;
294
294
  zipCode?: string | null | undefined;
295
295
  } | {
296
- firstname?: string | null | undefined;
297
- surname?: string | null | undefined;
296
+ firstname: string;
297
+ surname: string;
298
298
  middlename?: string | null | undefined;
299
299
  } | {
300
300
  country: string;
@@ -320,7 +320,7 @@ export declare const Draft: z.ZodObject<{
320
320
  originalFilename: string;
321
321
  }[] | [string, string] | null | undefined>;
322
322
  createdBySignature?: string | null | undefined;
323
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
323
+ createdAtLocation?: string | null | undefined;
324
324
  annotation?: Record<string, string | number | boolean | {
325
325
  type: string;
326
326
  filename: string;
@@ -337,8 +337,8 @@ export declare const Draft: z.ZodObject<{
337
337
  street?: string | null | undefined;
338
338
  zipCode?: string | null | undefined;
339
339
  } | {
340
- firstname?: string | null | undefined;
341
- surname?: string | null | undefined;
340
+ firstname: string;
341
+ surname: string;
342
342
  middlename?: string | null | undefined;
343
343
  } | {
344
344
  country: string;
@@ -362,10 +362,10 @@ export declare const Draft: z.ZodObject<{
362
362
  option: string;
363
363
  filename: string;
364
364
  originalFilename: string;
365
- }[] | [string, string] | null | undefined> | null | undefined;
366
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
365
+ }[] | [string, string] | null | undefined> | undefined;
366
+ originalActionId?: string | undefined;
367
367
  }, {
368
- type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
368
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
369
369
  status: "Rejected" | "Requested" | "Accepted";
370
370
  transactionId: string;
371
371
  createdByUserType: "system" | "user";
@@ -388,8 +388,8 @@ export declare const Draft: z.ZodObject<{
388
388
  street?: string | null | undefined;
389
389
  zipCode?: string | null | undefined;
390
390
  } | {
391
- firstname?: string | null | undefined;
392
- surname?: string | null | undefined;
391
+ firstname: string;
392
+ surname: string;
393
393
  middlename?: string | null | undefined;
394
394
  } | {
395
395
  country: string;
@@ -432,8 +432,8 @@ export declare const Draft: z.ZodObject<{
432
432
  street?: string | null | undefined;
433
433
  zipCode?: string | null | undefined;
434
434
  } | {
435
- firstname?: string | null | undefined;
436
- surname?: string | null | undefined;
435
+ firstname: string;
436
+ surname: string;
437
437
  middlename?: string | null | undefined;
438
438
  } | {
439
439
  country: string;
@@ -457,16 +457,16 @@ export declare const Draft: z.ZodObject<{
457
457
  option: string;
458
458
  filename: string;
459
459
  originalFilename: string;
460
- }[] | [string, string] | null | undefined> | null | undefined;
461
- originalActionId?: string | null | undefined;
460
+ }[] | [string, string] | null | undefined> | undefined;
461
+ originalActionId?: string | undefined;
462
462
  }>;
463
463
  }, "strip", z.ZodTypeAny, {
464
- id: string & z.BRAND<"UUID">;
464
+ id: string;
465
465
  transactionId: string;
466
466
  createdAt: string;
467
- eventId: string & z.BRAND<"UUID">;
467
+ eventId: string;
468
468
  action: {
469
- type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
469
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
470
470
  status: "Rejected" | "Requested" | "Accepted";
471
471
  transactionId: string;
472
472
  createdByUserType: "system" | "user";
@@ -489,8 +489,8 @@ export declare const Draft: z.ZodObject<{
489
489
  street?: string | null | undefined;
490
490
  zipCode?: string | null | undefined;
491
491
  } | {
492
- firstname?: string | null | undefined;
493
- surname?: string | null | undefined;
492
+ firstname: string;
493
+ surname: string;
494
494
  middlename?: string | null | undefined;
495
495
  } | {
496
496
  country: string;
@@ -516,7 +516,7 @@ export declare const Draft: z.ZodObject<{
516
516
  originalFilename: string;
517
517
  }[] | [string, string] | null | undefined>;
518
518
  createdBySignature?: string | null | undefined;
519
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
519
+ createdAtLocation?: string | null | undefined;
520
520
  annotation?: Record<string, string | number | boolean | {
521
521
  type: string;
522
522
  filename: string;
@@ -533,8 +533,8 @@ export declare const Draft: z.ZodObject<{
533
533
  street?: string | null | undefined;
534
534
  zipCode?: string | null | undefined;
535
535
  } | {
536
- firstname?: string | null | undefined;
537
- surname?: string | null | undefined;
536
+ firstname: string;
537
+ surname: string;
538
538
  middlename?: string | null | undefined;
539
539
  } | {
540
540
  country: string;
@@ -558,8 +558,8 @@ export declare const Draft: z.ZodObject<{
558
558
  option: string;
559
559
  filename: string;
560
560
  originalFilename: string;
561
- }[] | [string, string] | null | undefined> | null | undefined;
562
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
561
+ }[] | [string, string] | null | undefined> | undefined;
562
+ originalActionId?: string | undefined;
563
563
  };
564
564
  }, {
565
565
  id: string;
@@ -567,7 +567,7 @@ export declare const Draft: z.ZodObject<{
567
567
  createdAt: string;
568
568
  eventId: string;
569
569
  action: {
570
- type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
570
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
571
571
  status: "Rejected" | "Requested" | "Accepted";
572
572
  transactionId: string;
573
573
  createdByUserType: "system" | "user";
@@ -590,8 +590,8 @@ export declare const Draft: z.ZodObject<{
590
590
  street?: string | null | undefined;
591
591
  zipCode?: string | null | undefined;
592
592
  } | {
593
- firstname?: string | null | undefined;
594
- surname?: string | null | undefined;
593
+ firstname: string;
594
+ surname: string;
595
595
  middlename?: string | null | undefined;
596
596
  } | {
597
597
  country: string;
@@ -634,8 +634,8 @@ export declare const Draft: z.ZodObject<{
634
634
  street?: string | null | undefined;
635
635
  zipCode?: string | null | undefined;
636
636
  } | {
637
- firstname?: string | null | undefined;
638
- surname?: string | null | undefined;
637
+ firstname: string;
638
+ surname: string;
639
639
  middlename?: string | null | undefined;
640
640
  } | {
641
641
  country: string;
@@ -659,12 +659,12 @@ export declare const Draft: z.ZodObject<{
659
659
  option: string;
660
660
  filename: string;
661
661
  originalFilename: string;
662
- }[] | [string, string] | null | undefined> | null | undefined;
663
- originalActionId?: string | null | undefined;
662
+ }[] | [string, string] | null | undefined> | undefined;
663
+ originalActionId?: string | undefined;
664
664
  };
665
665
  }>;
666
666
  export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
667
- eventId: z.ZodBranded<z.ZodString, "UUID">;
667
+ eventId: z.ZodString;
668
668
  transactionId: z.ZodString;
669
669
  declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
670
670
  filename: z.ZodString;
@@ -780,16 +780,16 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
780
780
  addressLine3?: string | null | undefined;
781
781
  postcodeOrZip?: string | null | undefined;
782
782
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
783
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
784
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
783
+ firstname: z.ZodString;
784
+ surname: z.ZodString;
785
785
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
786
786
  }, "strip", z.ZodTypeAny, {
787
- firstname?: string | null | undefined;
788
- surname?: string | null | undefined;
787
+ firstname: string;
788
+ surname: string;
789
789
  middlename?: string | null | undefined;
790
790
  }, {
791
- firstname?: string | null | undefined;
792
- surname?: string | null | undefined;
791
+ firstname: string;
792
+ surname: string;
793
793
  middlename?: string | null | undefined;
794
794
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
795
795
  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<{
@@ -906,25 +906,25 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
906
906
  addressLine3?: string | null | undefined;
907
907
  postcodeOrZip?: string | null | undefined;
908
908
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
909
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
910
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
909
+ firstname: z.ZodString;
910
+ surname: z.ZodString;
911
911
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
912
912
  }, "strip", z.ZodTypeAny, {
913
- firstname?: string | null | undefined;
914
- surname?: string | null | undefined;
913
+ firstname: string;
914
+ surname: string;
915
915
  middlename?: string | null | undefined;
916
916
  }, {
917
- firstname?: string | null | undefined;
918
- surname?: string | null | undefined;
917
+ firstname: string;
918
+ surname: string;
919
919
  middlename?: string | null | undefined;
920
920
  }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
921
- originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
921
+ originalActionId: z.ZodOptional<z.ZodString>;
922
922
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
923
923
  }, {
924
924
  type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
925
925
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
926
926
  }>, "strip", z.ZodTypeAny, {
927
- type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
927
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
928
928
  status: "Rejected" | "Requested" | "Accepted";
929
929
  transactionId: string;
930
930
  declaration: Record<string, string | number | boolean | {
@@ -943,8 +943,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
943
943
  street?: string | null | undefined;
944
944
  zipCode?: string | null | undefined;
945
945
  } | {
946
- firstname?: string | null | undefined;
947
- surname?: string | null | undefined;
946
+ firstname: string;
947
+ surname: string;
948
948
  middlename?: string | null | undefined;
949
949
  } | {
950
950
  country: string;
@@ -969,7 +969,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
969
969
  filename: string;
970
970
  originalFilename: string;
971
971
  }[] | [string, string] | null | undefined>;
972
- eventId: string & z.BRAND<"UUID">;
972
+ eventId: string;
973
973
  annotation?: Record<string, string | number | boolean | {
974
974
  type: string;
975
975
  filename: string;
@@ -986,8 +986,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
986
986
  street?: string | null | undefined;
987
987
  zipCode?: string | null | undefined;
988
988
  } | {
989
- firstname?: string | null | undefined;
990
- surname?: string | null | undefined;
989
+ firstname: string;
990
+ surname: string;
991
991
  middlename?: string | null | undefined;
992
992
  } | {
993
993
  country: string;
@@ -1012,10 +1012,10 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
1012
1012
  filename: string;
1013
1013
  originalFilename: string;
1014
1014
  }[] | [string, string] | null | undefined> | undefined;
1015
- originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1015
+ originalActionId?: string | undefined;
1016
1016
  keepAssignment?: boolean | undefined;
1017
1017
  }, {
1018
- type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
1018
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
1019
1019
  status: "Rejected" | "Requested" | "Accepted";
1020
1020
  transactionId: string;
1021
1021
  eventId: string;
@@ -1035,8 +1035,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
1035
1035
  street?: string | null | undefined;
1036
1036
  zipCode?: string | null | undefined;
1037
1037
  } | {
1038
- firstname?: string | null | undefined;
1039
- surname?: string | null | undefined;
1038
+ firstname: string;
1039
+ surname: string;
1040
1040
  middlename?: string | null | undefined;
1041
1041
  } | {
1042
1042
  country: string;
@@ -1077,8 +1077,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
1077
1077
  street?: string | null | undefined;
1078
1078
  zipCode?: string | null | undefined;
1079
1079
  } | {
1080
- firstname?: string | null | undefined;
1081
- surname?: string | null | undefined;
1080
+ firstname: string;
1081
+ surname: string;
1082
1082
  middlename?: string | null | undefined;
1083
1083
  } | {
1084
1084
  country: string;