@opencrvs/toolkit 2.0.0-rc.ecef004 → 2.0.0-rc.ed0aa22

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 (60) hide show
  1. package/dist/commons/api/router.d.ts +1570 -1570
  2. package/dist/commons/application-config/index.d.ts +6 -6
  3. package/dist/commons/conditionals/conditionals.d.ts +323 -32
  4. package/dist/commons/events/ActionConfig.d.ts +77 -70
  5. package/dist/commons/events/ActionDocument.d.ts +107 -107
  6. package/dist/commons/events/ActionType.d.ts +57 -57
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +501 -501
  8. package/dist/commons/events/AuditLog.d.ts +41 -41
  9. package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
  10. package/dist/commons/events/Conditional.d.ts +3 -3
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
  12. package/dist/commons/events/Draft.d.ts +35 -35
  13. package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
  14. package/dist/commons/events/EventConfig.d.ts +5 -5
  15. package/dist/commons/events/EventDocument.d.ts +43 -43
  16. package/dist/commons/events/EventIndex.d.ts +62 -62
  17. package/dist/commons/events/EventMetadata.d.ts +40 -40
  18. package/dist/commons/events/FieldConfig.d.ts +331 -331
  19. package/dist/commons/events/FieldType.d.ts +51 -51
  20. package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
  21. package/dist/commons/events/FieldValue.d.ts +12 -12
  22. package/dist/commons/events/Flag.d.ts +15 -15
  23. package/dist/commons/events/TemplateConfig.d.ts +1 -1
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
  25. package/dist/commons/events/WorkqueueConfig.d.ts +817 -817
  26. package/dist/commons/events/deduplication.d.ts +1 -1
  27. package/dist/commons/events/event.d.ts +2 -2
  28. package/dist/commons/events/field.d.ts +198 -69
  29. package/dist/commons/events/locations.d.ts +4 -4
  30. package/dist/commons/events/mocks.test.utils.d.ts +2 -2
  31. package/dist/commons/events/scopes.d.ts +4 -4
  32. package/dist/commons/events/state/index.d.ts +17 -17
  33. package/dist/commons/events/state/utils.d.ts +7 -7
  34. package/dist/commons/events/test.utils.d.ts +33 -33
  35. package/dist/commons/events/utils.d.ts +118 -110
  36. package/dist/commons/notification/UserNotifications.d.ts +10 -10
  37. package/dist/environment/derived-variables.d.ts +131 -131
  38. package/dist/environment/derived-variables.d.ts.map +1 -1
  39. package/dist/environment/logger.d.ts +12 -3
  40. package/dist/environment/logger.d.ts.map +1 -1
  41. package/dist/environment/manage-users.js +7 -17
  42. package/dist/environment/questions.d.ts +74 -75
  43. package/dist/environment/questions.d.ts.map +1 -1
  44. package/dist/environment/setup-environment.js +14 -8
  45. package/dist/environment/swarm-to-k8s.js +7 -17
  46. package/dist/environment/update-workflows.js +7 -17
  47. package/dist/environment/users.js +7 -17
  48. package/dist/environment/utils.d.ts +1 -1
  49. package/dist/environment/utils.js +7 -17
  50. package/dist/events/deduplication.d.ts +1 -1
  51. package/dist/events/index.js +36 -12
  52. package/dist/migrations/v2.0/convert-config-files-to-ts.js +7 -17
  53. package/dist/migrations/v2.0/migrate-application-config-url.js +3 -4
  54. package/dist/migrations/v2.0/remove-hearth-migrations.js +7 -17
  55. package/dist/notification/index.js +22 -11
  56. package/dist/scopes/index.d.ts +140 -140
  57. package/opencrvs-toolkit-2.0.0-rc.ed0aa22.tgz +0 -0
  58. package/package.json +3 -2
  59. package/tsconfig.tsbuildinfo +1 -1
  60. package/opencrvs-toolkit-2.0.0-rc.ecef004.tgz +0 -0
@@ -188,18 +188,18 @@ export declare const TextField: z.ZodObject<{
188
188
  type: z.ZodLiteral<"TEXT">;
189
189
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
190
190
  $userField: z.ZodEnum<{
191
- administrativeAreaId: "administrativeAreaId";
192
- avatar: "avatar";
193
- device: "device";
194
- firstname: "firstname";
195
- fullHonorificName: "fullHonorificName";
196
191
  id: "id";
192
+ firstname: "firstname";
193
+ surname: "surname";
197
194
  middlename: "middlename";
198
195
  name: "name";
199
- primaryOfficeId: "primaryOfficeId";
200
196
  role: "role";
197
+ fullHonorificName: "fullHonorificName";
198
+ device: "device";
201
199
  signature: "signature";
202
- surname: "surname";
200
+ avatar: "avatar";
201
+ primaryOfficeId: "primaryOfficeId";
202
+ administrativeAreaId: "administrativeAreaId";
203
203
  }>;
204
204
  $location: z.ZodOptional<z.ZodString>;
205
205
  }, z.core.$strip>, z.ZodObject<{
@@ -330,26 +330,26 @@ declare const TextAreaField: z.ZodObject<{
330
330
  }, z.core.$strip>;
331
331
  export type TextAreaField = z.infer<typeof TextAreaField>;
332
332
  export declare const ImageMimeType: z.ZodEnum<{
333
- "image/jpeg": "image/jpeg";
334
- "image/jpg": "image/jpg";
335
333
  "image/png": "image/png";
334
+ "image/jpg": "image/jpg";
335
+ "image/jpeg": "image/jpeg";
336
336
  "image/svg+xml": "image/svg+xml";
337
337
  }>;
338
338
  export declare const DocumentMimeType: z.ZodEnum<{
339
- "application/msword": "application/msword";
340
339
  "application/pdf": "application/pdf";
341
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
340
+ "application/msword": "application/msword";
342
341
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
342
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
343
343
  }>;
344
344
  export declare const MimeType: z.ZodEnum<{
345
- "application/msword": "application/msword";
346
- "application/pdf": "application/pdf";
347
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
348
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
349
- "image/jpeg": "image/jpeg";
350
- "image/jpg": "image/jpg";
351
345
  "image/png": "image/png";
346
+ "image/jpg": "image/jpg";
347
+ "image/jpeg": "image/jpeg";
352
348
  "image/svg+xml": "image/svg+xml";
349
+ "application/pdf": "application/pdf";
350
+ "application/msword": "application/msword";
351
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
352
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
353
353
  }>;
354
354
  export type MimeType = z.infer<typeof MimeType>;
355
355
  declare const SignatureField: z.ZodObject<{
@@ -408,14 +408,14 @@ declare const SignatureField: z.ZodObject<{
408
408
  configuration: z.ZodDefault<z.ZodObject<{
409
409
  maxFileSize: z.ZodDefault<z.ZodNumber>;
410
410
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
411
- "application/msword": "application/msword";
412
- "application/pdf": "application/pdf";
413
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
414
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
415
- "image/jpeg": "image/jpeg";
416
- "image/jpg": "image/jpg";
417
411
  "image/png": "image/png";
412
+ "image/jpg": "image/jpg";
413
+ "image/jpeg": "image/jpeg";
418
414
  "image/svg+xml": "image/svg+xml";
415
+ "application/pdf": "application/pdf";
416
+ "application/msword": "application/msword";
417
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
418
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
419
419
  }>>>;
420
420
  }, z.core.$strip>>;
421
421
  }, z.core.$strip>;
@@ -700,25 +700,25 @@ declare const DateRangeField: z.ZodObject<{
700
700
  }, z.core.$strip>;
701
701
  export type DateRangeField = z.infer<typeof DateRangeField>;
702
702
  declare const HtmlFontVariant: z.ZodEnum<{
703
- h1: "h1";
704
- h2: "h2";
705
- h3: "h3";
706
- h4: "h4";
707
703
  reg12: "reg12";
708
704
  reg14: "reg14";
709
705
  reg16: "reg16";
710
706
  reg18: "reg18";
707
+ h4: "h4";
708
+ h3: "h3";
709
+ h2: "h2";
710
+ h1: "h1";
711
711
  }>;
712
712
  export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
713
713
  declare const ParagraphConfiguration: z.ZodDefault<z.ZodObject<{
714
714
  styles: z.ZodOptional<z.ZodObject<{
715
715
  hint: z.ZodOptional<z.ZodBoolean>;
716
716
  textAlign: z.ZodOptional<z.ZodEnum<{
717
- center: "center";
717
+ start: "start";
718
718
  end: "end";
719
719
  left: "left";
720
+ center: "center";
720
721
  right: "right";
721
- start: "start";
722
722
  }>>;
723
723
  }, z.core.$strip>>;
724
724
  }, z.core.$strip>>;
@@ -726,19 +726,19 @@ export type ParagraphConfiguration = z.infer<typeof ParagraphConfiguration>;
726
726
  declare const HeadingConfiguration: z.ZodDefault<z.ZodObject<{
727
727
  styles: z.ZodOptional<z.ZodObject<{
728
728
  fontVariant: z.ZodOptional<z.ZodEnum<{
729
- h3: "h3";
730
- h4: "h4";
731
729
  reg12: "reg12";
732
730
  reg14: "reg14";
733
731
  reg16: "reg16";
734
732
  reg18: "reg18";
733
+ h4: "h4";
734
+ h3: "h3";
735
735
  }>>;
736
736
  textAlign: z.ZodOptional<z.ZodEnum<{
737
- center: "center";
737
+ start: "start";
738
738
  end: "end";
739
739
  left: "left";
740
+ center: "center";
740
741
  right: "right";
741
- start: "start";
742
742
  }>>;
743
743
  }, z.core.$strip>>;
744
744
  }, z.core.$strip>>;
@@ -748,16 +748,16 @@ declare const ImageConfiguration: z.ZodObject<{
748
748
  width: z.ZodOptional<z.ZodString>;
749
749
  height: z.ZodOptional<z.ZodString>;
750
750
  textAlign: z.ZodOptional<z.ZodEnum<{
751
- center: "center";
751
+ start: "start";
752
752
  end: "end";
753
753
  left: "left";
754
+ center: "center";
754
755
  right: "right";
755
- start: "start";
756
756
  }>>;
757
757
  objectFit: z.ZodOptional<z.ZodEnum<{
758
+ fill: "fill";
758
759
  contain: "contain";
759
760
  cover: "cover";
760
- fill: "fill";
761
761
  none: "none";
762
762
  "scale-down": "scale-down";
763
763
  }>>;
@@ -814,16 +814,16 @@ declare const ImageViewField: z.ZodObject<{
814
814
  width: z.ZodOptional<z.ZodString>;
815
815
  height: z.ZodOptional<z.ZodString>;
816
816
  textAlign: z.ZodOptional<z.ZodEnum<{
817
- center: "center";
817
+ start: "start";
818
818
  end: "end";
819
819
  left: "left";
820
+ center: "center";
820
821
  right: "right";
821
- start: "start";
822
822
  }>>;
823
823
  objectFit: z.ZodOptional<z.ZodEnum<{
824
+ fill: "fill";
824
825
  contain: "contain";
825
826
  cover: "cover";
826
- fill: "fill";
827
827
  none: "none";
828
828
  "scale-down": "scale-down";
829
829
  }>>;
@@ -879,11 +879,11 @@ declare const Paragraph: z.ZodObject<{
879
879
  styles: z.ZodOptional<z.ZodObject<{
880
880
  hint: z.ZodOptional<z.ZodBoolean>;
881
881
  textAlign: z.ZodOptional<z.ZodEnum<{
882
- center: "center";
882
+ start: "start";
883
883
  end: "end";
884
884
  left: "left";
885
+ center: "center";
885
886
  right: "right";
886
- start: "start";
887
887
  }>>;
888
888
  }, z.core.$strip>>;
889
889
  }, z.core.$strip>>;
@@ -937,19 +937,19 @@ declare const Heading: z.ZodObject<{
937
937
  configuration: z.ZodDefault<z.ZodObject<{
938
938
  styles: z.ZodOptional<z.ZodObject<{
939
939
  fontVariant: z.ZodOptional<z.ZodEnum<{
940
- h3: "h3";
941
- h4: "h4";
942
940
  reg12: "reg12";
943
941
  reg14: "reg14";
944
942
  reg16: "reg16";
945
943
  reg18: "reg18";
944
+ h4: "h4";
945
+ h3: "h3";
946
946
  }>>;
947
947
  textAlign: z.ZodOptional<z.ZodEnum<{
948
- center: "center";
948
+ start: "start";
949
949
  end: "end";
950
950
  left: "left";
951
+ center: "center";
951
952
  right: "right";
952
- start: "start";
953
953
  }>>;
954
954
  }, z.core.$strip>>;
955
955
  }, z.core.$strip>>;
@@ -1057,14 +1057,14 @@ declare const File: z.ZodObject<{
1057
1057
  configuration: z.ZodDefault<z.ZodObject<{
1058
1058
  maxFileSize: z.ZodDefault<z.ZodNumber>;
1059
1059
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1060
- "application/msword": "application/msword";
1061
- "application/pdf": "application/pdf";
1062
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
1063
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1064
- "image/jpeg": "image/jpeg";
1065
- "image/jpg": "image/jpg";
1066
1060
  "image/png": "image/png";
1061
+ "image/jpg": "image/jpg";
1062
+ "image/jpeg": "image/jpeg";
1067
1063
  "image/svg+xml": "image/svg+xml";
1064
+ "application/pdf": "application/pdf";
1065
+ "application/msword": "application/msword";
1066
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1067
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
1068
1068
  }>>>;
1069
1069
  maxImageSize: z.ZodOptional<z.ZodObject<{
1070
1070
  targetSize: z.ZodObject<{
@@ -1074,8 +1074,8 @@ declare const File: z.ZodObject<{
1074
1074
  }, z.core.$strip>>;
1075
1075
  style: z.ZodOptional<z.ZodObject<{
1076
1076
  width: z.ZodOptional<z.ZodEnum<{
1077
- auto: "auto";
1078
1077
  full: "full";
1078
+ auto: "auto";
1079
1079
  }>>;
1080
1080
  }, z.core.$strip>>;
1081
1081
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -1223,8 +1223,8 @@ declare const RadioGroup: z.ZodObject<{
1223
1223
  configuration: z.ZodOptional<z.ZodObject<{
1224
1224
  styles: z.ZodOptional<z.ZodObject<{
1225
1225
  size: z.ZodOptional<z.ZodEnum<{
1226
- LARGE: "LARGE";
1227
1226
  NORMAL: "NORMAL";
1227
+ LARGE: "LARGE";
1228
1228
  }>>;
1229
1229
  }, z.core.$strip>>;
1230
1230
  }, z.core.$strip>>;
@@ -1279,14 +1279,14 @@ declare const BulletList: z.ZodObject<{
1279
1279
  configuration: z.ZodDefault<z.ZodObject<{
1280
1280
  styles: z.ZodOptional<z.ZodObject<{
1281
1281
  fontVariant: z.ZodOptional<z.ZodEnum<{
1282
- h1: "h1";
1283
- h2: "h2";
1284
- h3: "h3";
1285
- h4: "h4";
1286
1282
  reg12: "reg12";
1287
1283
  reg14: "reg14";
1288
1284
  reg16: "reg16";
1289
1285
  reg18: "reg18";
1286
+ h4: "h4";
1287
+ h3: "h3";
1288
+ h2: "h2";
1289
+ h1: "h1";
1290
1290
  }>>;
1291
1291
  }, z.core.$strip>>;
1292
1292
  }, z.core.$strip>>;
@@ -1355,10 +1355,10 @@ declare const Select: z.ZodObject<{
1355
1355
  }, z.core.$strip>;
1356
1356
  export declare const SelectDateRangeOption: z.ZodObject<{
1357
1357
  value: z.ZodEnum<{
1358
- last30Days: "last30Days";
1359
- last365Days: "last365Days";
1360
1358
  last7Days: "last7Days";
1359
+ last30Days: "last30Days";
1361
1360
  last90Days: "last90Days";
1361
+ last365Days: "last365Days";
1362
1362
  }>;
1363
1363
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
1364
1364
  }, z.core.$strip>;
@@ -1412,19 +1412,19 @@ export declare const SelectDateRangeField: z.ZodObject<{
1412
1412
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1413
1413
  type: z.ZodLiteral<"SELECT_DATE_RANGE">;
1414
1414
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
1415
- last30Days: "last30Days";
1416
- last365Days: "last365Days";
1417
1415
  last7Days: "last7Days";
1416
+ last30Days: "last30Days";
1418
1417
  last90Days: "last90Days";
1418
+ last365Days: "last365Days";
1419
1419
  }>, z.ZodObject<{
1420
1420
  $$code: z.ZodString;
1421
1421
  }, z.core.$strip>]>>;
1422
1422
  options: z.ZodArray<z.ZodObject<{
1423
1423
  value: z.ZodEnum<{
1424
- last30Days: "last30Days";
1425
- last365Days: "last365Days";
1426
1424
  last7Days: "last7Days";
1425
+ last30Days: "last30Days";
1427
1426
  last90Days: "last90Days";
1427
+ last365Days: "last365Days";
1428
1428
  }>;
1429
1429
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
1430
1430
  }, z.core.$strip>>;
@@ -1499,52 +1499,52 @@ declare const NameField: z.ZodObject<{
1499
1499
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1500
1500
  firstname: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1501
1501
  $userField: z.ZodEnum<{
1502
- administrativeAreaId: "administrativeAreaId";
1503
- avatar: "avatar";
1504
- device: "device";
1505
- firstname: "firstname";
1506
- fullHonorificName: "fullHonorificName";
1507
1502
  id: "id";
1503
+ firstname: "firstname";
1504
+ surname: "surname";
1508
1505
  middlename: "middlename";
1509
1506
  name: "name";
1510
- primaryOfficeId: "primaryOfficeId";
1511
1507
  role: "role";
1508
+ fullHonorificName: "fullHonorificName";
1509
+ device: "device";
1512
1510
  signature: "signature";
1513
- surname: "surname";
1511
+ avatar: "avatar";
1512
+ primaryOfficeId: "primaryOfficeId";
1513
+ administrativeAreaId: "administrativeAreaId";
1514
1514
  }>;
1515
1515
  $location: z.ZodOptional<z.ZodString>;
1516
1516
  }, z.core.$strip>, z.ZodString]>>;
1517
1517
  middlename: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1518
1518
  $userField: z.ZodEnum<{
1519
- administrativeAreaId: "administrativeAreaId";
1520
- avatar: "avatar";
1521
- device: "device";
1522
- firstname: "firstname";
1523
- fullHonorificName: "fullHonorificName";
1524
1519
  id: "id";
1520
+ firstname: "firstname";
1521
+ surname: "surname";
1525
1522
  middlename: "middlename";
1526
1523
  name: "name";
1527
- primaryOfficeId: "primaryOfficeId";
1528
1524
  role: "role";
1525
+ fullHonorificName: "fullHonorificName";
1526
+ device: "device";
1529
1527
  signature: "signature";
1530
- surname: "surname";
1528
+ avatar: "avatar";
1529
+ primaryOfficeId: "primaryOfficeId";
1530
+ administrativeAreaId: "administrativeAreaId";
1531
1531
  }>;
1532
1532
  $location: z.ZodOptional<z.ZodString>;
1533
1533
  }, z.core.$strip>, z.ZodString]>>;
1534
1534
  surname: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1535
1535
  $userField: z.ZodEnum<{
1536
- administrativeAreaId: "administrativeAreaId";
1537
- avatar: "avatar";
1538
- device: "device";
1539
- firstname: "firstname";
1540
- fullHonorificName: "fullHonorificName";
1541
1536
  id: "id";
1537
+ firstname: "firstname";
1538
+ surname: "surname";
1542
1539
  middlename: "middlename";
1543
1540
  name: "name";
1544
- primaryOfficeId: "primaryOfficeId";
1545
1541
  role: "role";
1542
+ fullHonorificName: "fullHonorificName";
1543
+ device: "device";
1546
1544
  signature: "signature";
1547
- surname: "surname";
1545
+ avatar: "avatar";
1546
+ primaryOfficeId: "primaryOfficeId";
1547
+ administrativeAreaId: "administrativeAreaId";
1548
1548
  }>;
1549
1549
  $location: z.ZodOptional<z.ZodString>;
1550
1550
  }, z.core.$strip>, z.ZodString]>>;
@@ -1574,8 +1574,8 @@ declare const NameField: z.ZodObject<{
1574
1574
  }, z.core.$strip>>>;
1575
1575
  order: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1576
1576
  firstname: "firstname";
1577
- middlename: "middlename";
1578
1577
  surname: "surname";
1578
+ middlename: "middlename";
1579
1579
  }>>>;
1580
1580
  maxLength: z.ZodOptional<z.ZodNumber>;
1581
1581
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -1793,8 +1793,8 @@ declare const Country: z.ZodObject<{
1793
1793
  export type Country = z.infer<typeof Country>;
1794
1794
  export declare const AdministrativeAreas: z.ZodEnum<{
1795
1795
  ADMIN_STRUCTURE: "ADMIN_STRUCTURE";
1796
- CRVS_OFFICE: "CRVS_OFFICE";
1797
1796
  HEALTH_FACILITY: "HEALTH_FACILITY";
1797
+ CRVS_OFFICE: "CRVS_OFFICE";
1798
1798
  }>;
1799
1799
  declare const AdministrativeAreaField: z.ZodObject<{
1800
1800
  id: z.ZodString;
@@ -1843,18 +1843,18 @@ declare const AdministrativeAreaField: z.ZodObject<{
1843
1843
  type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
1844
1844
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1845
1845
  $userField: z.ZodEnum<{
1846
- administrativeAreaId: "administrativeAreaId";
1847
- avatar: "avatar";
1848
- device: "device";
1849
- firstname: "firstname";
1850
- fullHonorificName: "fullHonorificName";
1851
1846
  id: "id";
1847
+ firstname: "firstname";
1848
+ surname: "surname";
1852
1849
  middlename: "middlename";
1853
1850
  name: "name";
1854
- primaryOfficeId: "primaryOfficeId";
1855
1851
  role: "role";
1852
+ fullHonorificName: "fullHonorificName";
1853
+ device: "device";
1856
1854
  signature: "signature";
1857
- surname: "surname";
1855
+ avatar: "avatar";
1856
+ primaryOfficeId: "primaryOfficeId";
1857
+ administrativeAreaId: "administrativeAreaId";
1858
1858
  }>;
1859
1859
  $location: z.ZodOptional<z.ZodString>;
1860
1860
  }, z.core.$strip>, z.ZodObject<{
@@ -1868,65 +1868,65 @@ declare const AdministrativeAreaField: z.ZodObject<{
1868
1868
  }, z.core.$strip>>;
1869
1869
  type: z.ZodEnum<{
1870
1870
  ADMIN_STRUCTURE: "ADMIN_STRUCTURE";
1871
- CRVS_OFFICE: "CRVS_OFFICE";
1872
1871
  HEALTH_FACILITY: "HEALTH_FACILITY";
1872
+ CRVS_OFFICE: "CRVS_OFFICE";
1873
1873
  }>;
1874
1874
  allowedLocations: z.ZodOptional<z.ZodObject<{
1875
1875
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
1876
1876
  administrativeArea: "administrativeArea";
1877
- all: "all";
1878
1877
  location: "location";
1878
+ all: "all";
1879
1879
  }>, z.ZodObject<{
1880
1880
  $scope: z.ZodEnum<{
1881
- "attachment.upload": "attachment.upload";
1881
+ "record.search": "record.search";
1882
+ "record.create": "record.create";
1883
+ "record.read": "record.read";
1884
+ "record.declare": "record.declare";
1885
+ "record.notify": "record.notify";
1886
+ "record.edit": "record.edit";
1887
+ "record.reject": "record.reject";
1888
+ "record.archive": "record.archive";
1889
+ "record.review-duplicates": "record.review-duplicates";
1890
+ "record.register": "record.register";
1891
+ "record.print-certified-copies": "record.print-certified-copies";
1892
+ "record.request-correction": "record.request-correction";
1893
+ "record.correct": "record.correct";
1894
+ "record.unassign-others": "record.unassign-others";
1895
+ "record.custom-action": "record.custom-action";
1882
1896
  bypassratelimit: "bypassratelimit";
1883
- "config.update-all": "config.update-all";
1884
- "dashboard.view": "dashboard.view";
1897
+ "record.reindex": "record.reindex";
1898
+ "user.data-seeding": "user.data-seeding";
1885
1899
  "integration.create": "integration.create";
1886
- "organisation.read-locations": "organisation.read-locations";
1900
+ "record.import": "record.import";
1901
+ "config.update-all": "config.update-all";
1902
+ "attachment.upload": "attachment.upload";
1903
+ "profile.electronic-signature": "profile.electronic-signature";
1904
+ "user.read-only-my-audit": "user.read-only-my-audit";
1887
1905
  "performance.read": "performance.read";
1888
1906
  "performance.read-dashboards": "performance.read-dashboards";
1889
1907
  "performance.vital-statistics-export": "performance.vital-statistics-export";
1890
- "profile.electronic-signature": "profile.electronic-signature";
1891
- "record.archive": "record.archive";
1892
1908
  "record.confirm-registration": "record.confirm-registration";
1893
- "record.correct": "record.correct";
1894
- "record.create": "record.create";
1895
- "record.custom-action": "record.custom-action";
1896
- "record.declare": "record.declare";
1897
- "record.edit": "record.edit";
1898
- "record.import": "record.import";
1899
- "record.notify": "record.notify";
1900
- "record.print-certified-copies": "record.print-certified-copies";
1901
- "record.read": "record.read";
1902
- "record.register": "record.register";
1903
- "record.reindex": "record.reindex";
1904
- "record.reject": "record.reject";
1905
1909
  "record.reject-registration": "record.reject-registration";
1906
- "record.request-correction": "record.request-correction";
1907
- "record.review-duplicates": "record.review-duplicates";
1908
- "record.search": "record.search";
1909
- "record.unassign-others": "record.unassign-others";
1910
+ "organisation.read-locations": "organisation.read-locations";
1911
+ "user.read": "user.read";
1910
1912
  "user.create": "user.create";
1911
- "user.data-seeding": "user.data-seeding";
1912
1913
  "user.edit": "user.edit";
1913
- "user.read": "user.read";
1914
- "user.read-only-my-audit": "user.read-only-my-audit";
1915
1914
  "user.search": "user.search";
1916
1915
  workqueue: "workqueue";
1916
+ "dashboard.view": "dashboard.view";
1917
1917
  }>;
1918
1918
  $option: z.ZodEnum<{
1919
- accessLevel: "accessLevel";
1920
- declaredBy: "declaredBy";
1921
- declaredIn: "declaredIn";
1919
+ role: "role";
1922
1920
  event: "event";
1923
- ids: "ids";
1924
- notifiedBy: "notifiedBy";
1925
- notifiedIn: "notifiedIn";
1926
1921
  placeOfEvent: "placeOfEvent";
1927
- registeredBy: "registeredBy";
1922
+ notifiedIn: "notifiedIn";
1923
+ notifiedBy: "notifiedBy";
1924
+ declaredIn: "declaredIn";
1925
+ declaredBy: "declaredBy";
1928
1926
  registeredIn: "registeredIn";
1929
- role: "role";
1927
+ registeredBy: "registeredBy";
1928
+ accessLevel: "accessLevel";
1929
+ ids: "ids";
1930
1930
  }>;
1931
1931
  }, z.core.$strip>]>;
1932
1932
  }, z.core.$strip>>;
@@ -1980,18 +1980,18 @@ declare const LocationInput: z.ZodObject<{
1980
1980
  type: z.ZodLiteral<"LOCATION">;
1981
1981
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1982
1982
  $userField: z.ZodEnum<{
1983
- administrativeAreaId: "administrativeAreaId";
1984
- avatar: "avatar";
1985
- device: "device";
1986
- firstname: "firstname";
1987
- fullHonorificName: "fullHonorificName";
1988
1983
  id: "id";
1984
+ firstname: "firstname";
1985
+ surname: "surname";
1989
1986
  middlename: "middlename";
1990
1987
  name: "name";
1991
- primaryOfficeId: "primaryOfficeId";
1992
1988
  role: "role";
1989
+ fullHonorificName: "fullHonorificName";
1990
+ device: "device";
1993
1991
  signature: "signature";
1994
- surname: "surname";
1992
+ avatar: "avatar";
1993
+ primaryOfficeId: "primaryOfficeId";
1994
+ administrativeAreaId: "administrativeAreaId";
1995
1995
  }>;
1996
1996
  $location: z.ZodOptional<z.ZodString>;
1997
1997
  }, z.core.$strip>, z.ZodObject<{
@@ -2002,59 +2002,59 @@ declare const LocationInput: z.ZodObject<{
2002
2002
  allowedLocations: z.ZodOptional<z.ZodObject<{
2003
2003
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2004
2004
  administrativeArea: "administrativeArea";
2005
- all: "all";
2006
2005
  location: "location";
2006
+ all: "all";
2007
2007
  }>, z.ZodObject<{
2008
2008
  $scope: z.ZodEnum<{
2009
- "attachment.upload": "attachment.upload";
2009
+ "record.search": "record.search";
2010
+ "record.create": "record.create";
2011
+ "record.read": "record.read";
2012
+ "record.declare": "record.declare";
2013
+ "record.notify": "record.notify";
2014
+ "record.edit": "record.edit";
2015
+ "record.reject": "record.reject";
2016
+ "record.archive": "record.archive";
2017
+ "record.review-duplicates": "record.review-duplicates";
2018
+ "record.register": "record.register";
2019
+ "record.print-certified-copies": "record.print-certified-copies";
2020
+ "record.request-correction": "record.request-correction";
2021
+ "record.correct": "record.correct";
2022
+ "record.unassign-others": "record.unassign-others";
2023
+ "record.custom-action": "record.custom-action";
2010
2024
  bypassratelimit: "bypassratelimit";
2011
- "config.update-all": "config.update-all";
2012
- "dashboard.view": "dashboard.view";
2025
+ "record.reindex": "record.reindex";
2026
+ "user.data-seeding": "user.data-seeding";
2013
2027
  "integration.create": "integration.create";
2014
- "organisation.read-locations": "organisation.read-locations";
2028
+ "record.import": "record.import";
2029
+ "config.update-all": "config.update-all";
2030
+ "attachment.upload": "attachment.upload";
2031
+ "profile.electronic-signature": "profile.electronic-signature";
2032
+ "user.read-only-my-audit": "user.read-only-my-audit";
2015
2033
  "performance.read": "performance.read";
2016
2034
  "performance.read-dashboards": "performance.read-dashboards";
2017
2035
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2018
- "profile.electronic-signature": "profile.electronic-signature";
2019
- "record.archive": "record.archive";
2020
2036
  "record.confirm-registration": "record.confirm-registration";
2021
- "record.correct": "record.correct";
2022
- "record.create": "record.create";
2023
- "record.custom-action": "record.custom-action";
2024
- "record.declare": "record.declare";
2025
- "record.edit": "record.edit";
2026
- "record.import": "record.import";
2027
- "record.notify": "record.notify";
2028
- "record.print-certified-copies": "record.print-certified-copies";
2029
- "record.read": "record.read";
2030
- "record.register": "record.register";
2031
- "record.reindex": "record.reindex";
2032
- "record.reject": "record.reject";
2033
2037
  "record.reject-registration": "record.reject-registration";
2034
- "record.request-correction": "record.request-correction";
2035
- "record.review-duplicates": "record.review-duplicates";
2036
- "record.search": "record.search";
2037
- "record.unassign-others": "record.unassign-others";
2038
+ "organisation.read-locations": "organisation.read-locations";
2039
+ "user.read": "user.read";
2038
2040
  "user.create": "user.create";
2039
- "user.data-seeding": "user.data-seeding";
2040
2041
  "user.edit": "user.edit";
2041
- "user.read": "user.read";
2042
- "user.read-only-my-audit": "user.read-only-my-audit";
2043
2042
  "user.search": "user.search";
2044
2043
  workqueue: "workqueue";
2044
+ "dashboard.view": "dashboard.view";
2045
2045
  }>;
2046
2046
  $option: z.ZodEnum<{
2047
- accessLevel: "accessLevel";
2048
- declaredBy: "declaredBy";
2049
- declaredIn: "declaredIn";
2047
+ role: "role";
2050
2048
  event: "event";
2051
- ids: "ids";
2052
- notifiedBy: "notifiedBy";
2053
- notifiedIn: "notifiedIn";
2054
2049
  placeOfEvent: "placeOfEvent";
2055
- registeredBy: "registeredBy";
2050
+ notifiedIn: "notifiedIn";
2051
+ notifiedBy: "notifiedBy";
2052
+ declaredIn: "declaredIn";
2053
+ declaredBy: "declaredBy";
2056
2054
  registeredIn: "registeredIn";
2057
- role: "role";
2055
+ registeredBy: "registeredBy";
2056
+ accessLevel: "accessLevel";
2057
+ ids: "ids";
2058
2058
  }>;
2059
2059
  }, z.core.$strip>]>;
2060
2060
  }, z.core.$strip>>;
@@ -2134,14 +2134,14 @@ declare const FileUploadWithOptions: z.ZodObject<{
2134
2134
  }, z.core.$strip>;
2135
2135
  }, z.core.$strip>>;
2136
2136
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2137
- "application/msword": "application/msword";
2138
- "application/pdf": "application/pdf";
2139
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2140
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2141
- "image/jpeg": "image/jpeg";
2142
- "image/jpg": "image/jpg";
2143
2137
  "image/png": "image/png";
2138
+ "image/jpg": "image/jpg";
2139
+ "image/jpeg": "image/jpeg";
2144
2140
  "image/svg+xml": "image/svg+xml";
2141
+ "application/pdf": "application/pdf";
2142
+ "application/msword": "application/msword";
2143
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2144
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2145
2145
  }>>>;
2146
2146
  }, z.core.$strip>>;
2147
2147
  }, z.core.$strip>;
@@ -2201,59 +2201,59 @@ declare const Facility: z.ZodObject<{
2201
2201
  allowedLocations: z.ZodOptional<z.ZodObject<{
2202
2202
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2203
2203
  administrativeArea: "administrativeArea";
2204
- all: "all";
2205
2204
  location: "location";
2205
+ all: "all";
2206
2206
  }>, z.ZodObject<{
2207
2207
  $scope: z.ZodEnum<{
2208
- "attachment.upload": "attachment.upload";
2208
+ "record.search": "record.search";
2209
+ "record.create": "record.create";
2210
+ "record.read": "record.read";
2211
+ "record.declare": "record.declare";
2212
+ "record.notify": "record.notify";
2213
+ "record.edit": "record.edit";
2214
+ "record.reject": "record.reject";
2215
+ "record.archive": "record.archive";
2216
+ "record.review-duplicates": "record.review-duplicates";
2217
+ "record.register": "record.register";
2218
+ "record.print-certified-copies": "record.print-certified-copies";
2219
+ "record.request-correction": "record.request-correction";
2220
+ "record.correct": "record.correct";
2221
+ "record.unassign-others": "record.unassign-others";
2222
+ "record.custom-action": "record.custom-action";
2209
2223
  bypassratelimit: "bypassratelimit";
2210
- "config.update-all": "config.update-all";
2211
- "dashboard.view": "dashboard.view";
2224
+ "record.reindex": "record.reindex";
2225
+ "user.data-seeding": "user.data-seeding";
2212
2226
  "integration.create": "integration.create";
2213
- "organisation.read-locations": "organisation.read-locations";
2227
+ "record.import": "record.import";
2228
+ "config.update-all": "config.update-all";
2229
+ "attachment.upload": "attachment.upload";
2230
+ "profile.electronic-signature": "profile.electronic-signature";
2231
+ "user.read-only-my-audit": "user.read-only-my-audit";
2214
2232
  "performance.read": "performance.read";
2215
2233
  "performance.read-dashboards": "performance.read-dashboards";
2216
2234
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2217
- "profile.electronic-signature": "profile.electronic-signature";
2218
- "record.archive": "record.archive";
2219
2235
  "record.confirm-registration": "record.confirm-registration";
2220
- "record.correct": "record.correct";
2221
- "record.create": "record.create";
2222
- "record.custom-action": "record.custom-action";
2223
- "record.declare": "record.declare";
2224
- "record.edit": "record.edit";
2225
- "record.import": "record.import";
2226
- "record.notify": "record.notify";
2227
- "record.print-certified-copies": "record.print-certified-copies";
2228
- "record.read": "record.read";
2229
- "record.register": "record.register";
2230
- "record.reindex": "record.reindex";
2231
- "record.reject": "record.reject";
2232
2236
  "record.reject-registration": "record.reject-registration";
2233
- "record.request-correction": "record.request-correction";
2234
- "record.review-duplicates": "record.review-duplicates";
2235
- "record.search": "record.search";
2236
- "record.unassign-others": "record.unassign-others";
2237
+ "organisation.read-locations": "organisation.read-locations";
2238
+ "user.read": "user.read";
2237
2239
  "user.create": "user.create";
2238
- "user.data-seeding": "user.data-seeding";
2239
2240
  "user.edit": "user.edit";
2240
- "user.read": "user.read";
2241
- "user.read-only-my-audit": "user.read-only-my-audit";
2242
2241
  "user.search": "user.search";
2243
2242
  workqueue: "workqueue";
2243
+ "dashboard.view": "dashboard.view";
2244
2244
  }>;
2245
2245
  $option: z.ZodEnum<{
2246
- accessLevel: "accessLevel";
2247
- declaredBy: "declaredBy";
2248
- declaredIn: "declaredIn";
2246
+ role: "role";
2249
2247
  event: "event";
2250
- ids: "ids";
2251
- notifiedBy: "notifiedBy";
2252
- notifiedIn: "notifiedIn";
2253
2248
  placeOfEvent: "placeOfEvent";
2254
- registeredBy: "registeredBy";
2249
+ notifiedIn: "notifiedIn";
2250
+ notifiedBy: "notifiedBy";
2251
+ declaredIn: "declaredIn";
2252
+ declaredBy: "declaredBy";
2255
2253
  registeredIn: "registeredIn";
2256
- role: "role";
2254
+ registeredBy: "registeredBy";
2255
+ accessLevel: "accessLevel";
2256
+ ids: "ids";
2257
2257
  }>;
2258
2258
  }, z.core.$strip>]>;
2259
2259
  }, z.core.$strip>>;
@@ -2315,59 +2315,59 @@ declare const Office: z.ZodObject<{
2315
2315
  allowedLocations: z.ZodOptional<z.ZodObject<{
2316
2316
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2317
2317
  administrativeArea: "administrativeArea";
2318
- all: "all";
2319
2318
  location: "location";
2319
+ all: "all";
2320
2320
  }>, z.ZodObject<{
2321
2321
  $scope: z.ZodEnum<{
2322
- "attachment.upload": "attachment.upload";
2322
+ "record.search": "record.search";
2323
+ "record.create": "record.create";
2324
+ "record.read": "record.read";
2325
+ "record.declare": "record.declare";
2326
+ "record.notify": "record.notify";
2327
+ "record.edit": "record.edit";
2328
+ "record.reject": "record.reject";
2329
+ "record.archive": "record.archive";
2330
+ "record.review-duplicates": "record.review-duplicates";
2331
+ "record.register": "record.register";
2332
+ "record.print-certified-copies": "record.print-certified-copies";
2333
+ "record.request-correction": "record.request-correction";
2334
+ "record.correct": "record.correct";
2335
+ "record.unassign-others": "record.unassign-others";
2336
+ "record.custom-action": "record.custom-action";
2323
2337
  bypassratelimit: "bypassratelimit";
2324
- "config.update-all": "config.update-all";
2325
- "dashboard.view": "dashboard.view";
2338
+ "record.reindex": "record.reindex";
2339
+ "user.data-seeding": "user.data-seeding";
2326
2340
  "integration.create": "integration.create";
2327
- "organisation.read-locations": "organisation.read-locations";
2341
+ "record.import": "record.import";
2342
+ "config.update-all": "config.update-all";
2343
+ "attachment.upload": "attachment.upload";
2344
+ "profile.electronic-signature": "profile.electronic-signature";
2345
+ "user.read-only-my-audit": "user.read-only-my-audit";
2328
2346
  "performance.read": "performance.read";
2329
2347
  "performance.read-dashboards": "performance.read-dashboards";
2330
2348
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2331
- "profile.electronic-signature": "profile.electronic-signature";
2332
- "record.archive": "record.archive";
2333
2349
  "record.confirm-registration": "record.confirm-registration";
2334
- "record.correct": "record.correct";
2335
- "record.create": "record.create";
2336
- "record.custom-action": "record.custom-action";
2337
- "record.declare": "record.declare";
2338
- "record.edit": "record.edit";
2339
- "record.import": "record.import";
2340
- "record.notify": "record.notify";
2341
- "record.print-certified-copies": "record.print-certified-copies";
2342
- "record.read": "record.read";
2343
- "record.register": "record.register";
2344
- "record.reindex": "record.reindex";
2345
- "record.reject": "record.reject";
2346
2350
  "record.reject-registration": "record.reject-registration";
2347
- "record.request-correction": "record.request-correction";
2348
- "record.review-duplicates": "record.review-duplicates";
2349
- "record.search": "record.search";
2350
- "record.unassign-others": "record.unassign-others";
2351
+ "organisation.read-locations": "organisation.read-locations";
2352
+ "user.read": "user.read";
2351
2353
  "user.create": "user.create";
2352
- "user.data-seeding": "user.data-seeding";
2353
2354
  "user.edit": "user.edit";
2354
- "user.read": "user.read";
2355
- "user.read-only-my-audit": "user.read-only-my-audit";
2356
2355
  "user.search": "user.search";
2357
2356
  workqueue: "workqueue";
2357
+ "dashboard.view": "dashboard.view";
2358
2358
  }>;
2359
2359
  $option: z.ZodEnum<{
2360
- accessLevel: "accessLevel";
2361
- declaredBy: "declaredBy";
2362
- declaredIn: "declaredIn";
2360
+ role: "role";
2363
2361
  event: "event";
2364
- ids: "ids";
2365
- notifiedBy: "notifiedBy";
2366
- notifiedIn: "notifiedIn";
2367
2362
  placeOfEvent: "placeOfEvent";
2368
- registeredBy: "registeredBy";
2363
+ notifiedIn: "notifiedIn";
2364
+ notifiedBy: "notifiedBy";
2365
+ declaredIn: "declaredIn";
2366
+ declaredBy: "declaredBy";
2369
2367
  registeredIn: "registeredIn";
2370
- role: "role";
2368
+ registeredBy: "registeredBy";
2369
+ accessLevel: "accessLevel";
2370
+ ids: "ids";
2371
2371
  }>;
2372
2372
  }, z.core.$strip>]>;
2373
2373
  }, z.core.$strip>>;
@@ -2380,18 +2380,18 @@ export declare const DefaultAddressFieldValue: z.ZodObject<{
2380
2380
  addressType: z.ZodLiteral<"DOMESTIC">;
2381
2381
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2382
2382
  $userField: z.ZodEnum<{
2383
- administrativeAreaId: "administrativeAreaId";
2384
- avatar: "avatar";
2385
- device: "device";
2386
- firstname: "firstname";
2387
- fullHonorificName: "fullHonorificName";
2388
2383
  id: "id";
2384
+ firstname: "firstname";
2385
+ surname: "surname";
2389
2386
  middlename: "middlename";
2390
2387
  name: "name";
2391
- primaryOfficeId: "primaryOfficeId";
2392
2388
  role: "role";
2389
+ fullHonorificName: "fullHonorificName";
2390
+ device: "device";
2393
2391
  signature: "signature";
2394
- surname: "surname";
2392
+ avatar: "avatar";
2393
+ primaryOfficeId: "primaryOfficeId";
2394
+ administrativeAreaId: "administrativeAreaId";
2395
2395
  }>;
2396
2396
  $location: z.ZodOptional<z.ZodString>;
2397
2397
  }, z.core.$strip>]>>;
@@ -2446,6 +2446,7 @@ declare const Address: z.ZodObject<{
2446
2446
  lineSeparator: z.ZodOptional<z.ZodString>;
2447
2447
  fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2448
2448
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2449
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2449
2450
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2450
2451
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2451
2452
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2460,7 +2461,6 @@ declare const Address: z.ZodObject<{
2460
2461
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2461
2462
  conditional: z.ZodAny;
2462
2463
  }, z.core.$strip>], "type">>>>>;
2463
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2464
2464
  optionOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2465
2465
  value: z.ZodString;
2466
2466
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2473,6 +2473,7 @@ declare const Address: z.ZodObject<{
2473
2473
  }, z.core.$strip>>>>;
2474
2474
  }, z.core.$strip>, z.ZodObject<{
2475
2475
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2476
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2476
2477
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2477
2478
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2478
2479
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2487,7 +2488,6 @@ declare const Address: z.ZodObject<{
2487
2488
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2488
2489
  conditional: z.ZodAny;
2489
2490
  }, z.core.$strip>], "type">>>>>;
2490
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2491
2491
  }, z.core.$strip>]>>>;
2492
2492
  streetAddressForm: z.ZodOptional<z.ZodArray<z.ZodObject<{
2493
2493
  id: z.ZodString;
@@ -2515,59 +2515,59 @@ declare const Address: z.ZodObject<{
2515
2515
  allowedLocations: z.ZodOptional<z.ZodObject<{
2516
2516
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2517
2517
  administrativeArea: "administrativeArea";
2518
- all: "all";
2519
2518
  location: "location";
2519
+ all: "all";
2520
2520
  }>, z.ZodObject<{
2521
2521
  $scope: z.ZodEnum<{
2522
- "attachment.upload": "attachment.upload";
2522
+ "record.search": "record.search";
2523
+ "record.create": "record.create";
2524
+ "record.read": "record.read";
2525
+ "record.declare": "record.declare";
2526
+ "record.notify": "record.notify";
2527
+ "record.edit": "record.edit";
2528
+ "record.reject": "record.reject";
2529
+ "record.archive": "record.archive";
2530
+ "record.review-duplicates": "record.review-duplicates";
2531
+ "record.register": "record.register";
2532
+ "record.print-certified-copies": "record.print-certified-copies";
2533
+ "record.request-correction": "record.request-correction";
2534
+ "record.correct": "record.correct";
2535
+ "record.unassign-others": "record.unassign-others";
2536
+ "record.custom-action": "record.custom-action";
2523
2537
  bypassratelimit: "bypassratelimit";
2524
- "config.update-all": "config.update-all";
2525
- "dashboard.view": "dashboard.view";
2538
+ "record.reindex": "record.reindex";
2539
+ "user.data-seeding": "user.data-seeding";
2526
2540
  "integration.create": "integration.create";
2527
- "organisation.read-locations": "organisation.read-locations";
2541
+ "record.import": "record.import";
2542
+ "config.update-all": "config.update-all";
2543
+ "attachment.upload": "attachment.upload";
2544
+ "profile.electronic-signature": "profile.electronic-signature";
2545
+ "user.read-only-my-audit": "user.read-only-my-audit";
2528
2546
  "performance.read": "performance.read";
2529
2547
  "performance.read-dashboards": "performance.read-dashboards";
2530
2548
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2531
- "profile.electronic-signature": "profile.electronic-signature";
2532
- "record.archive": "record.archive";
2533
2549
  "record.confirm-registration": "record.confirm-registration";
2534
- "record.correct": "record.correct";
2535
- "record.create": "record.create";
2536
- "record.custom-action": "record.custom-action";
2537
- "record.declare": "record.declare";
2538
- "record.edit": "record.edit";
2539
- "record.import": "record.import";
2540
- "record.notify": "record.notify";
2541
- "record.print-certified-copies": "record.print-certified-copies";
2542
- "record.read": "record.read";
2543
- "record.register": "record.register";
2544
- "record.reindex": "record.reindex";
2545
- "record.reject": "record.reject";
2546
2550
  "record.reject-registration": "record.reject-registration";
2547
- "record.request-correction": "record.request-correction";
2548
- "record.review-duplicates": "record.review-duplicates";
2549
- "record.search": "record.search";
2550
- "record.unassign-others": "record.unassign-others";
2551
+ "organisation.read-locations": "organisation.read-locations";
2552
+ "user.read": "user.read";
2551
2553
  "user.create": "user.create";
2552
- "user.data-seeding": "user.data-seeding";
2553
2554
  "user.edit": "user.edit";
2554
- "user.read": "user.read";
2555
- "user.read-only-my-audit": "user.read-only-my-audit";
2556
2555
  "user.search": "user.search";
2557
2556
  workqueue: "workqueue";
2557
+ "dashboard.view": "dashboard.view";
2558
2558
  }>;
2559
2559
  $option: z.ZodEnum<{
2560
- accessLevel: "accessLevel";
2561
- declaredBy: "declaredBy";
2562
- declaredIn: "declaredIn";
2560
+ role: "role";
2563
2561
  event: "event";
2564
- ids: "ids";
2565
- notifiedBy: "notifiedBy";
2566
- notifiedIn: "notifiedIn";
2567
2562
  placeOfEvent: "placeOfEvent";
2568
- registeredBy: "registeredBy";
2563
+ notifiedIn: "notifiedIn";
2564
+ notifiedBy: "notifiedBy";
2565
+ declaredIn: "declaredIn";
2566
+ declaredBy: "declaredBy";
2569
2567
  registeredIn: "registeredIn";
2570
- role: "role";
2568
+ registeredBy: "registeredBy";
2569
+ accessLevel: "accessLevel";
2570
+ ids: "ids";
2571
2571
  }>;
2572
2572
  }, z.core.$strip>]>;
2573
2573
  }, z.core.$strip>>;
@@ -2578,18 +2578,18 @@ declare const Address: z.ZodObject<{
2578
2578
  addressType: z.ZodLiteral<"DOMESTIC">;
2579
2579
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2580
2580
  $userField: z.ZodEnum<{
2581
- administrativeAreaId: "administrativeAreaId";
2582
- avatar: "avatar";
2583
- device: "device";
2584
- firstname: "firstname";
2585
- fullHonorificName: "fullHonorificName";
2586
2581
  id: "id";
2582
+ firstname: "firstname";
2583
+ surname: "surname";
2587
2584
  middlename: "middlename";
2588
2585
  name: "name";
2589
- primaryOfficeId: "primaryOfficeId";
2590
2586
  role: "role";
2587
+ fullHonorificName: "fullHonorificName";
2588
+ device: "device";
2591
2589
  signature: "signature";
2592
- surname: "surname";
2590
+ avatar: "avatar";
2591
+ primaryOfficeId: "primaryOfficeId";
2592
+ administrativeAreaId: "administrativeAreaId";
2593
2593
  }>;
2594
2594
  $location: z.ZodOptional<z.ZodString>;
2595
2595
  }, z.core.$strip>]>>;
@@ -2684,27 +2684,27 @@ declare const ButtonConfiguration: z.ZodObject<{
2684
2684
  icon: z.ZodOptional<z.ZodString>;
2685
2685
  loading: z.ZodOptional<z.ZodBoolean>;
2686
2686
  buttonSize: z.ZodOptional<z.ZodEnum<{
2687
- large: "large";
2688
- medium: "medium";
2689
2687
  small: "small";
2688
+ medium: "medium";
2689
+ large: "large";
2690
2690
  }>>;
2691
2691
  buttonType: z.ZodOptional<z.ZodEnum<{
2692
- icon: "icon";
2693
- iconPrimary: "iconPrimary";
2694
- negative: "negative";
2695
- positive: "positive";
2696
2692
  primary: "primary";
2697
2693
  secondary: "secondary";
2698
- secondaryNegative: "secondaryNegative";
2699
2694
  tertiary: "tertiary";
2695
+ positive: "positive";
2696
+ negative: "negative";
2697
+ secondaryNegative: "secondaryNegative";
2698
+ icon: "icon";
2699
+ iconPrimary: "iconPrimary";
2700
2700
  }>>;
2701
2701
  textColor: z.ZodOptional<z.ZodEnum<{
2702
- copy: "copy";
2703
2702
  primary: "primary";
2703
+ copy: "copy";
2704
2704
  }>>;
2705
2705
  textVariant: z.ZodOptional<z.ZodEnum<{
2706
- bold14: "bold14";
2707
2706
  reg14: "reg14";
2707
+ bold14: "bold14";
2708
2708
  }>>;
2709
2709
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2710
2710
  }, z.core.$strip>;
@@ -2761,27 +2761,27 @@ declare const ButtonField: z.ZodObject<{
2761
2761
  icon: z.ZodOptional<z.ZodString>;
2762
2762
  loading: z.ZodOptional<z.ZodBoolean>;
2763
2763
  buttonSize: z.ZodOptional<z.ZodEnum<{
2764
- large: "large";
2765
- medium: "medium";
2766
2764
  small: "small";
2765
+ medium: "medium";
2766
+ large: "large";
2767
2767
  }>>;
2768
2768
  buttonType: z.ZodOptional<z.ZodEnum<{
2769
- icon: "icon";
2770
- iconPrimary: "iconPrimary";
2771
- negative: "negative";
2772
- positive: "positive";
2773
2769
  primary: "primary";
2774
2770
  secondary: "secondary";
2775
- secondaryNegative: "secondaryNegative";
2776
2771
  tertiary: "tertiary";
2772
+ positive: "positive";
2773
+ negative: "negative";
2774
+ secondaryNegative: "secondaryNegative";
2775
+ icon: "icon";
2776
+ iconPrimary: "iconPrimary";
2777
2777
  }>>;
2778
2778
  textColor: z.ZodOptional<z.ZodEnum<{
2779
- copy: "copy";
2780
2779
  primary: "primary";
2780
+ copy: "copy";
2781
2781
  }>>;
2782
2782
  textVariant: z.ZodOptional<z.ZodEnum<{
2783
- bold14: "bold14";
2784
2783
  reg14: "reg14";
2784
+ bold14: "bold14";
2785
2785
  }>>;
2786
2786
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2787
2787
  }, z.core.$strip>;
@@ -3163,10 +3163,10 @@ declare const VerificationStatus: z.ZodObject<{
3163
3163
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3164
3164
  type: z.ZodLiteral<"VERIFICATION_STATUS">;
3165
3165
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
3166
+ verified: "verified";
3166
3167
  authenticated: "authenticated";
3167
3168
  failed: "failed";
3168
3169
  pending: "pending";
3169
- verified: "verified";
3170
3170
  }>, z.ZodObject<{
3171
3171
  $$code: z.ZodString;
3172
3172
  }, z.core.$strip>]>>;
@@ -3718,14 +3718,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3718
3718
  configuration: z.ZodDefault<z.ZodObject<{
3719
3719
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3720
3720
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3721
- "application/msword": "application/msword";
3722
- "application/pdf": "application/pdf";
3723
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3724
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3725
- "image/jpeg": "image/jpeg";
3726
- "image/jpg": "image/jpg";
3727
3721
  "image/png": "image/png";
3722
+ "image/jpg": "image/jpg";
3723
+ "image/jpeg": "image/jpeg";
3728
3724
  "image/svg+xml": "image/svg+xml";
3725
+ "application/pdf": "application/pdf";
3726
+ "application/msword": "application/msword";
3727
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3728
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3729
3729
  }>>>;
3730
3730
  }, z.core.$strip>>;
3731
3731
  }, z.core.$strip>, z.ZodObject<{
@@ -3783,14 +3783,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3783
3783
  configuration: z.ZodDefault<z.ZodObject<{
3784
3784
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3785
3785
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3786
- "application/msword": "application/msword";
3787
- "application/pdf": "application/pdf";
3788
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3789
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3790
- "image/jpeg": "image/jpeg";
3791
- "image/jpg": "image/jpg";
3792
3786
  "image/png": "image/png";
3787
+ "image/jpg": "image/jpg";
3788
+ "image/jpeg": "image/jpeg";
3793
3789
  "image/svg+xml": "image/svg+xml";
3790
+ "application/pdf": "application/pdf";
3791
+ "application/msword": "application/msword";
3792
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3793
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3794
3794
  }>>>;
3795
3795
  maxImageSize: z.ZodOptional<z.ZodObject<{
3796
3796
  targetSize: z.ZodObject<{
@@ -3800,8 +3800,8 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3800
3800
  }, z.core.$strip>>;
3801
3801
  style: z.ZodOptional<z.ZodObject<{
3802
3802
  width: z.ZodOptional<z.ZodEnum<{
3803
- auto: "auto";
3804
3803
  full: "full";
3804
+ auto: "auto";
3805
3805
  }>>;
3806
3806
  }, z.core.$strip>>;
3807
3807
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -3879,14 +3879,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3879
3879
  }, z.core.$strip>;
3880
3880
  }, z.core.$strip>>;
3881
3881
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3882
- "application/msword": "application/msword";
3883
- "application/pdf": "application/pdf";
3884
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3885
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3886
- "image/jpeg": "image/jpeg";
3887
- "image/jpg": "image/jpg";
3888
3882
  "image/png": "image/png";
3883
+ "image/jpg": "image/jpg";
3884
+ "image/jpeg": "image/jpeg";
3889
3885
  "image/svg+xml": "image/svg+xml";
3886
+ "application/pdf": "application/pdf";
3887
+ "application/msword": "application/msword";
3888
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3889
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3890
3890
  }>>>;
3891
3891
  }, z.core.$strip>>;
3892
3892
  }, z.core.$strip>], "type">;