@opencrvs/toolkit 2.1.0-rc.4bddaf2 → 2.1.0-rc.4ebadf9

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 (78) hide show
  1. package/build.sh +2 -2
  2. package/dist/application-config/index.js +15 -1
  3. package/dist/cli.js +165 -5154
  4. package/dist/commons/api/router.d.ts +3667 -2887
  5. package/dist/commons/application-config/index.d.ts +6 -6
  6. package/dist/commons/conditionals/conditionals.d.ts +32 -323
  7. package/dist/commons/events/ActionConfig.d.ts +279 -70
  8. package/dist/commons/events/ActionDocument.d.ts +155 -111
  9. package/dist/commons/events/ActionInput.d.ts +26 -6
  10. package/dist/commons/events/ActionType.d.ts +63 -58
  11. package/dist/commons/events/AdvancedSearchConfig.d.ts +513 -501
  12. package/dist/commons/events/AuditLog.d.ts +151 -40
  13. package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
  14. package/dist/commons/events/Conditional.d.ts +3 -3
  15. package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
  16. package/dist/commons/events/Draft.d.ts +37 -35
  17. package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
  18. package/dist/commons/events/EventConfig.d.ts +5 -5
  19. package/dist/commons/events/EventDocument.d.ts +66 -44
  20. package/dist/commons/events/EventIndex.d.ts +62 -62
  21. package/dist/commons/events/EventMetadata.d.ts +40 -40
  22. package/dist/commons/events/FieldConfig.d.ts +341 -331
  23. package/dist/commons/events/FieldType.d.ts +51 -51
  24. package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
  25. package/dist/commons/events/FieldValue.d.ts +12 -12
  26. package/dist/commons/events/Flag.d.ts +15 -15
  27. package/dist/commons/events/TemplateConfig.d.ts +1 -1
  28. package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
  29. package/dist/commons/events/WorkqueueConfig.d.ts +827 -824
  30. package/dist/commons/events/deduplication.d.ts +1 -1
  31. package/dist/commons/events/event.d.ts +2 -2
  32. package/dist/commons/events/field.d.ts +69 -198
  33. package/dist/commons/events/index.d.ts +1 -0
  34. package/dist/commons/events/locationPayloads.d.ts +95 -0
  35. package/dist/commons/events/locations.d.ts +103 -6
  36. package/dist/commons/events/mocks.test.utils.d.ts +18 -4
  37. package/dist/commons/events/scopes.d.ts +5 -4
  38. package/dist/commons/events/state/index.d.ts +17 -17
  39. package/dist/commons/events/state/utils.d.ts +7 -7
  40. package/dist/commons/events/test.utils.d.ts +44 -39
  41. package/dist/commons/events/utils.d.ts +127 -105
  42. package/dist/commons/notification/UserNotifications.d.ts +10 -10
  43. package/dist/conditionals/index.js +3 -0
  44. package/dist/environment/derived-variables.d.ts +119 -131
  45. package/dist/environment/derived-variables.d.ts.map +1 -1
  46. package/dist/environment/derived-variables.js +0 -14
  47. package/dist/environment/logger.d.ts +3 -12
  48. package/dist/environment/logger.d.ts.map +1 -1
  49. package/dist/environment/manage-users.js +17 -7
  50. package/dist/environment/questions.d.ts +75 -74
  51. package/dist/environment/questions.d.ts.map +1 -1
  52. package/dist/environment/setup-environment.js +8 -28
  53. package/dist/environment/swarm-to-k8s.js +17 -7
  54. package/dist/environment/update-workflows.js +17 -7
  55. package/dist/environment/users.js +17 -7
  56. package/dist/environment/utils.d.ts +1 -1
  57. package/dist/environment/utils.js +17 -7
  58. package/dist/events/deduplication.d.ts +1 -1
  59. package/dist/events/index.js +380 -88
  60. package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
  61. package/dist/migrations/v2.0/index.js +88 -5144
  62. package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
  63. package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
  64. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +3 -0
  65. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +1 -0
  66. package/dist/migrations/v2.1/add-explicit-correction-flags.js +234 -0
  67. package/dist/migrations/v2.1/index.d.ts +6 -0
  68. package/dist/migrations/v2.1/index.d.ts.map +1 -0
  69. package/dist/migrations/v2.1/index.js +218 -0
  70. package/dist/notification/index.js +328 -104
  71. package/dist/scopes/index.d.ts +148 -140
  72. package/dist/scopes/index.js +3 -0
  73. package/dist/templates/charts-values/dependencies/values.yaml +0 -3
  74. package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
  75. package/opencrvs-toolkit-2.1.0-rc.4ebadf9.tgz +0 -0
  76. package/package.json +5 -5
  77. package/tsconfig.tsbuildinfo +1 -1
  78. package/opencrvs-toolkit-2.1.0-rc.4bddaf2.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
- id: "id";
191
+ administrativeAreaId: "administrativeAreaId";
192
+ avatar: "avatar";
193
+ device: "device";
192
194
  firstname: "firstname";
193
- surname: "surname";
195
+ fullHonorificName: "fullHonorificName";
196
+ id: "id";
194
197
  middlename: "middlename";
195
198
  name: "name";
199
+ primaryOfficeId: "primaryOfficeId";
196
200
  role: "role";
197
- fullHonorificName: "fullHonorificName";
198
- device: "device";
199
201
  signature: "signature";
200
- avatar: "avatar";
201
- primaryOfficeId: "primaryOfficeId";
202
- administrativeAreaId: "administrativeAreaId";
202
+ surname: "surname";
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/png": "image/png";
334
- "image/jpg": "image/jpg";
335
333
  "image/jpeg": "image/jpeg";
334
+ "image/jpg": "image/jpg";
335
+ "image/png": "image/png";
336
336
  "image/svg+xml": "image/svg+xml";
337
337
  }>;
338
338
  export declare const DocumentMimeType: z.ZodEnum<{
339
- "application/pdf": "application/pdf";
340
339
  "application/msword": "application/msword";
341
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
340
+ "application/pdf": "application/pdf";
342
341
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
342
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
343
343
  }>;
344
344
  export declare const MimeType: z.ZodEnum<{
345
- "image/png": "image/png";
346
- "image/jpg": "image/jpg";
347
- "image/jpeg": "image/jpeg";
348
- "image/svg+xml": "image/svg+xml";
349
- "application/pdf": "application/pdf";
350
345
  "application/msword": "application/msword";
351
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
346
+ "application/pdf": "application/pdf";
352
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
+ "image/png": "image/png";
352
+ "image/svg+xml": "image/svg+xml";
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
- "image/png": "image/png";
412
- "image/jpg": "image/jpg";
413
- "image/jpeg": "image/jpeg";
414
- "image/svg+xml": "image/svg+xml";
415
- "application/pdf": "application/pdf";
416
411
  "application/msword": "application/msword";
417
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
412
+ "application/pdf": "application/pdf";
418
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
+ "image/png": "image/png";
418
+ "image/svg+xml": "image/svg+xml";
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";
703
707
  reg12: "reg12";
704
708
  reg14: "reg14";
705
709
  reg16: "reg16";
706
710
  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
- start: "start";
717
+ center: "center";
718
718
  end: "end";
719
719
  left: "left";
720
- center: "center";
721
720
  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";
729
731
  reg12: "reg12";
730
732
  reg14: "reg14";
731
733
  reg16: "reg16";
732
734
  reg18: "reg18";
733
- h4: "h4";
734
- h3: "h3";
735
735
  }>>;
736
736
  textAlign: z.ZodOptional<z.ZodEnum<{
737
- start: "start";
737
+ center: "center";
738
738
  end: "end";
739
739
  left: "left";
740
- center: "center";
741
740
  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
- start: "start";
751
+ center: "center";
752
752
  end: "end";
753
753
  left: "left";
754
- center: "center";
755
754
  right: "right";
755
+ start: "start";
756
756
  }>>;
757
757
  objectFit: z.ZodOptional<z.ZodEnum<{
758
- fill: "fill";
759
758
  contain: "contain";
760
759
  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
- start: "start";
817
+ center: "center";
818
818
  end: "end";
819
819
  left: "left";
820
- center: "center";
821
820
  right: "right";
821
+ start: "start";
822
822
  }>>;
823
823
  objectFit: z.ZodOptional<z.ZodEnum<{
824
- fill: "fill";
825
824
  contain: "contain";
826
825
  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
- start: "start";
882
+ center: "center";
883
883
  end: "end";
884
884
  left: "left";
885
- center: "center";
886
885
  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";
940
942
  reg12: "reg12";
941
943
  reg14: "reg14";
942
944
  reg16: "reg16";
943
945
  reg18: "reg18";
944
- h4: "h4";
945
- h3: "h3";
946
946
  }>>;
947
947
  textAlign: z.ZodOptional<z.ZodEnum<{
948
- start: "start";
948
+ center: "center";
949
949
  end: "end";
950
950
  left: "left";
951
- center: "center";
952
951
  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
- "image/png": "image/png";
1061
- "image/jpg": "image/jpg";
1062
- "image/jpeg": "image/jpeg";
1063
- "image/svg+xml": "image/svg+xml";
1064
- "application/pdf": "application/pdf";
1065
1060
  "application/msword": "application/msword";
1066
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1061
+ "application/pdf": "application/pdf";
1067
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
+ "image/png": "image/png";
1067
+ "image/svg+xml": "image/svg+xml";
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
- full: "full";
1078
1077
  auto: "auto";
1078
+ full: "full";
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
- NORMAL: "NORMAL";
1227
1226
  LARGE: "LARGE";
1227
+ NORMAL: "NORMAL";
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";
1282
1286
  reg12: "reg12";
1283
1287
  reg14: "reg14";
1284
1288
  reg16: "reg16";
1285
1289
  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
- last7Days: "last7Days";
1359
1358
  last30Days: "last30Days";
1360
- last90Days: "last90Days";
1361
1359
  last365Days: "last365Days";
1360
+ last7Days: "last7Days";
1361
+ last90Days: "last90Days";
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
- last7Days: "last7Days";
1416
1415
  last30Days: "last30Days";
1417
- last90Days: "last90Days";
1418
1416
  last365Days: "last365Days";
1417
+ last7Days: "last7Days";
1418
+ last90Days: "last90Days";
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
- last7Days: "last7Days";
1425
1424
  last30Days: "last30Days";
1426
- last90Days: "last90Days";
1427
1425
  last365Days: "last365Days";
1426
+ last7Days: "last7Days";
1427
+ last90Days: "last90Days";
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
- id: "id";
1502
+ administrativeAreaId: "administrativeAreaId";
1503
+ avatar: "avatar";
1504
+ device: "device";
1503
1505
  firstname: "firstname";
1504
- surname: "surname";
1506
+ fullHonorificName: "fullHonorificName";
1507
+ id: "id";
1505
1508
  middlename: "middlename";
1506
1509
  name: "name";
1510
+ primaryOfficeId: "primaryOfficeId";
1507
1511
  role: "role";
1508
- fullHonorificName: "fullHonorificName";
1509
- device: "device";
1510
1512
  signature: "signature";
1511
- avatar: "avatar";
1512
- primaryOfficeId: "primaryOfficeId";
1513
- administrativeAreaId: "administrativeAreaId";
1513
+ surname: "surname";
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
- id: "id";
1519
+ administrativeAreaId: "administrativeAreaId";
1520
+ avatar: "avatar";
1521
+ device: "device";
1520
1522
  firstname: "firstname";
1521
- surname: "surname";
1523
+ fullHonorificName: "fullHonorificName";
1524
+ id: "id";
1522
1525
  middlename: "middlename";
1523
1526
  name: "name";
1527
+ primaryOfficeId: "primaryOfficeId";
1524
1528
  role: "role";
1525
- fullHonorificName: "fullHonorificName";
1526
- device: "device";
1527
1529
  signature: "signature";
1528
- avatar: "avatar";
1529
- primaryOfficeId: "primaryOfficeId";
1530
- administrativeAreaId: "administrativeAreaId";
1530
+ surname: "surname";
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
- id: "id";
1536
+ administrativeAreaId: "administrativeAreaId";
1537
+ avatar: "avatar";
1538
+ device: "device";
1537
1539
  firstname: "firstname";
1538
- surname: "surname";
1540
+ fullHonorificName: "fullHonorificName";
1541
+ id: "id";
1539
1542
  middlename: "middlename";
1540
1543
  name: "name";
1544
+ primaryOfficeId: "primaryOfficeId";
1541
1545
  role: "role";
1542
- fullHonorificName: "fullHonorificName";
1543
- device: "device";
1544
1546
  signature: "signature";
1545
- avatar: "avatar";
1546
- primaryOfficeId: "primaryOfficeId";
1547
- administrativeAreaId: "administrativeAreaId";
1547
+ surname: "surname";
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
- surname: "surname";
1578
1577
  middlename: "middlename";
1578
+ surname: "surname";
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
- HEALTH_FACILITY: "HEALTH_FACILITY";
1797
1796
  CRVS_OFFICE: "CRVS_OFFICE";
1797
+ HEALTH_FACILITY: "HEALTH_FACILITY";
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
- id: "id";
1846
+ administrativeAreaId: "administrativeAreaId";
1847
+ avatar: "avatar";
1848
+ device: "device";
1847
1849
  firstname: "firstname";
1848
- surname: "surname";
1850
+ fullHonorificName: "fullHonorificName";
1851
+ id: "id";
1849
1852
  middlename: "middlename";
1850
1853
  name: "name";
1854
+ primaryOfficeId: "primaryOfficeId";
1851
1855
  role: "role";
1852
- fullHonorificName: "fullHonorificName";
1853
- device: "device";
1854
1856
  signature: "signature";
1855
- avatar: "avatar";
1856
- primaryOfficeId: "primaryOfficeId";
1857
- administrativeAreaId: "administrativeAreaId";
1857
+ surname: "surname";
1858
1858
  }>;
1859
1859
  $location: z.ZodOptional<z.ZodString>;
1860
1860
  }, z.core.$strip>, z.ZodObject<{
@@ -1868,65 +1868,67 @@ declare const AdministrativeAreaField: z.ZodObject<{
1868
1868
  }, z.core.$strip>>;
1869
1869
  type: z.ZodEnum<{
1870
1870
  ADMIN_STRUCTURE: "ADMIN_STRUCTURE";
1871
- HEALTH_FACILITY: "HEALTH_FACILITY";
1872
1871
  CRVS_OFFICE: "CRVS_OFFICE";
1872
+ HEALTH_FACILITY: "HEALTH_FACILITY";
1873
1873
  }>;
1874
1874
  allowedLocations: z.ZodOptional<z.ZodObject<{
1875
1875
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
1876
1876
  administrativeArea: "administrativeArea";
1877
- location: "location";
1878
1877
  all: "all";
1878
+ location: "location";
1879
1879
  }>, z.ZodObject<{
1880
1880
  $scope: z.ZodEnum<{
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";
1881
+ "attachment.upload": "attachment.upload";
1896
1882
  bypassratelimit: "bypassratelimit";
1897
- "record.reindex": "record.reindex";
1898
- "user.data-seeding": "user.data-seeding";
1899
- "integration.create": "integration.create";
1900
- "record.import": "record.import";
1901
1883
  "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";
1884
+ "dashboard.view": "dashboard.view";
1885
+ "integration.create": "integration.create";
1886
+ "location.edit": "location.edit";
1887
+ "organisation.read-locations": "organisation.read-locations";
1905
1888
  "performance.read": "performance.read";
1906
1889
  "performance.read-dashboards": "performance.read-dashboards";
1907
1890
  "performance.vital-statistics-export": "performance.vital-statistics-export";
1891
+ "profile.electronic-signature": "profile.electronic-signature";
1892
+ "record.archive": "record.archive";
1908
1893
  "record.confirm-registration": "record.confirm-registration";
1894
+ "record.correct": "record.correct";
1895
+ "record.create": "record.create";
1896
+ "record.custom-action": "record.custom-action";
1897
+ "record.declare": "record.declare";
1898
+ "record.edit": "record.edit";
1899
+ "record.import": "record.import";
1900
+ "record.notify": "record.notify";
1901
+ "record.print-certified-copies": "record.print-certified-copies";
1902
+ "record.read": "record.read";
1903
+ "record.register": "record.register";
1904
+ "record.reindex": "record.reindex";
1905
+ "record.reject": "record.reject";
1909
1906
  "record.reject-registration": "record.reject-registration";
1910
- "organisation.read-locations": "organisation.read-locations";
1911
- "user.read": "user.read";
1907
+ "record.request-correction": "record.request-correction";
1908
+ "record.review-duplicates": "record.review-duplicates";
1909
+ "record.search": "record.search";
1910
+ "record.unarchive": "record.unarchive";
1911
+ "record.unassign-others": "record.unassign-others";
1912
1912
  "user.create": "user.create";
1913
+ "user.data-seeding": "user.data-seeding";
1913
1914
  "user.edit": "user.edit";
1915
+ "user.read": "user.read";
1916
+ "user.read-only-my-audit": "user.read-only-my-audit";
1914
1917
  "user.search": "user.search";
1915
1918
  workqueue: "workqueue";
1916
- "dashboard.view": "dashboard.view";
1917
1919
  }>;
1918
1920
  $option: z.ZodEnum<{
1919
- role: "role";
1921
+ accessLevel: "accessLevel";
1922
+ declaredBy: "declaredBy";
1923
+ declaredIn: "declaredIn";
1920
1924
  event: "event";
1921
- placeOfEvent: "placeOfEvent";
1922
- notifiedIn: "notifiedIn";
1925
+ ids: "ids";
1923
1926
  notifiedBy: "notifiedBy";
1924
- declaredIn: "declaredIn";
1925
- declaredBy: "declaredBy";
1926
- registeredIn: "registeredIn";
1927
+ notifiedIn: "notifiedIn";
1928
+ placeOfEvent: "placeOfEvent";
1927
1929
  registeredBy: "registeredBy";
1928
- accessLevel: "accessLevel";
1929
- ids: "ids";
1930
+ registeredIn: "registeredIn";
1931
+ role: "role";
1930
1932
  }>;
1931
1933
  }, z.core.$strip>]>;
1932
1934
  }, z.core.$strip>>;
@@ -1980,18 +1982,18 @@ declare const LocationInput: z.ZodObject<{
1980
1982
  type: z.ZodLiteral<"LOCATION">;
1981
1983
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1982
1984
  $userField: z.ZodEnum<{
1983
- id: "id";
1985
+ administrativeAreaId: "administrativeAreaId";
1986
+ avatar: "avatar";
1987
+ device: "device";
1984
1988
  firstname: "firstname";
1985
- surname: "surname";
1989
+ fullHonorificName: "fullHonorificName";
1990
+ id: "id";
1986
1991
  middlename: "middlename";
1987
1992
  name: "name";
1993
+ primaryOfficeId: "primaryOfficeId";
1988
1994
  role: "role";
1989
- fullHonorificName: "fullHonorificName";
1990
- device: "device";
1991
1995
  signature: "signature";
1992
- avatar: "avatar";
1993
- primaryOfficeId: "primaryOfficeId";
1994
- administrativeAreaId: "administrativeAreaId";
1996
+ surname: "surname";
1995
1997
  }>;
1996
1998
  $location: z.ZodOptional<z.ZodString>;
1997
1999
  }, z.core.$strip>, z.ZodObject<{
@@ -2002,59 +2004,61 @@ declare const LocationInput: z.ZodObject<{
2002
2004
  allowedLocations: z.ZodOptional<z.ZodObject<{
2003
2005
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2004
2006
  administrativeArea: "administrativeArea";
2005
- location: "location";
2006
2007
  all: "all";
2008
+ location: "location";
2007
2009
  }>, z.ZodObject<{
2008
2010
  $scope: z.ZodEnum<{
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";
2011
+ "attachment.upload": "attachment.upload";
2024
2012
  bypassratelimit: "bypassratelimit";
2025
- "record.reindex": "record.reindex";
2026
- "user.data-seeding": "user.data-seeding";
2027
- "integration.create": "integration.create";
2028
- "record.import": "record.import";
2029
2013
  "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";
2014
+ "dashboard.view": "dashboard.view";
2015
+ "integration.create": "integration.create";
2016
+ "location.edit": "location.edit";
2017
+ "organisation.read-locations": "organisation.read-locations";
2033
2018
  "performance.read": "performance.read";
2034
2019
  "performance.read-dashboards": "performance.read-dashboards";
2035
2020
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2021
+ "profile.electronic-signature": "profile.electronic-signature";
2022
+ "record.archive": "record.archive";
2036
2023
  "record.confirm-registration": "record.confirm-registration";
2024
+ "record.correct": "record.correct";
2025
+ "record.create": "record.create";
2026
+ "record.custom-action": "record.custom-action";
2027
+ "record.declare": "record.declare";
2028
+ "record.edit": "record.edit";
2029
+ "record.import": "record.import";
2030
+ "record.notify": "record.notify";
2031
+ "record.print-certified-copies": "record.print-certified-copies";
2032
+ "record.read": "record.read";
2033
+ "record.register": "record.register";
2034
+ "record.reindex": "record.reindex";
2035
+ "record.reject": "record.reject";
2037
2036
  "record.reject-registration": "record.reject-registration";
2038
- "organisation.read-locations": "organisation.read-locations";
2039
- "user.read": "user.read";
2037
+ "record.request-correction": "record.request-correction";
2038
+ "record.review-duplicates": "record.review-duplicates";
2039
+ "record.search": "record.search";
2040
+ "record.unarchive": "record.unarchive";
2041
+ "record.unassign-others": "record.unassign-others";
2040
2042
  "user.create": "user.create";
2043
+ "user.data-seeding": "user.data-seeding";
2041
2044
  "user.edit": "user.edit";
2045
+ "user.read": "user.read";
2046
+ "user.read-only-my-audit": "user.read-only-my-audit";
2042
2047
  "user.search": "user.search";
2043
2048
  workqueue: "workqueue";
2044
- "dashboard.view": "dashboard.view";
2045
2049
  }>;
2046
2050
  $option: z.ZodEnum<{
2047
- role: "role";
2051
+ accessLevel: "accessLevel";
2052
+ declaredBy: "declaredBy";
2053
+ declaredIn: "declaredIn";
2048
2054
  event: "event";
2049
- placeOfEvent: "placeOfEvent";
2050
- notifiedIn: "notifiedIn";
2055
+ ids: "ids";
2051
2056
  notifiedBy: "notifiedBy";
2052
- declaredIn: "declaredIn";
2053
- declaredBy: "declaredBy";
2054
- registeredIn: "registeredIn";
2057
+ notifiedIn: "notifiedIn";
2058
+ placeOfEvent: "placeOfEvent";
2055
2059
  registeredBy: "registeredBy";
2056
- accessLevel: "accessLevel";
2057
- ids: "ids";
2060
+ registeredIn: "registeredIn";
2061
+ role: "role";
2058
2062
  }>;
2059
2063
  }, z.core.$strip>]>;
2060
2064
  }, z.core.$strip>>;
@@ -2134,14 +2138,14 @@ declare const FileUploadWithOptions: z.ZodObject<{
2134
2138
  }, z.core.$strip>;
2135
2139
  }, z.core.$strip>>;
2136
2140
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2137
- "image/png": "image/png";
2138
- "image/jpg": "image/jpg";
2139
- "image/jpeg": "image/jpeg";
2140
- "image/svg+xml": "image/svg+xml";
2141
- "application/pdf": "application/pdf";
2142
2141
  "application/msword": "application/msword";
2143
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2142
+ "application/pdf": "application/pdf";
2144
2143
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2144
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2145
+ "image/jpeg": "image/jpeg";
2146
+ "image/jpg": "image/jpg";
2147
+ "image/png": "image/png";
2148
+ "image/svg+xml": "image/svg+xml";
2145
2149
  }>>>;
2146
2150
  }, z.core.$strip>>;
2147
2151
  }, z.core.$strip>;
@@ -2201,59 +2205,61 @@ declare const Facility: z.ZodObject<{
2201
2205
  allowedLocations: z.ZodOptional<z.ZodObject<{
2202
2206
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2203
2207
  administrativeArea: "administrativeArea";
2204
- location: "location";
2205
2208
  all: "all";
2209
+ location: "location";
2206
2210
  }>, z.ZodObject<{
2207
2211
  $scope: z.ZodEnum<{
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";
2212
+ "attachment.upload": "attachment.upload";
2223
2213
  bypassratelimit: "bypassratelimit";
2224
- "record.reindex": "record.reindex";
2225
- "user.data-seeding": "user.data-seeding";
2226
- "integration.create": "integration.create";
2227
- "record.import": "record.import";
2228
2214
  "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";
2215
+ "dashboard.view": "dashboard.view";
2216
+ "integration.create": "integration.create";
2217
+ "location.edit": "location.edit";
2218
+ "organisation.read-locations": "organisation.read-locations";
2232
2219
  "performance.read": "performance.read";
2233
2220
  "performance.read-dashboards": "performance.read-dashboards";
2234
2221
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2222
+ "profile.electronic-signature": "profile.electronic-signature";
2223
+ "record.archive": "record.archive";
2235
2224
  "record.confirm-registration": "record.confirm-registration";
2225
+ "record.correct": "record.correct";
2226
+ "record.create": "record.create";
2227
+ "record.custom-action": "record.custom-action";
2228
+ "record.declare": "record.declare";
2229
+ "record.edit": "record.edit";
2230
+ "record.import": "record.import";
2231
+ "record.notify": "record.notify";
2232
+ "record.print-certified-copies": "record.print-certified-copies";
2233
+ "record.read": "record.read";
2234
+ "record.register": "record.register";
2235
+ "record.reindex": "record.reindex";
2236
+ "record.reject": "record.reject";
2236
2237
  "record.reject-registration": "record.reject-registration";
2237
- "organisation.read-locations": "organisation.read-locations";
2238
- "user.read": "user.read";
2238
+ "record.request-correction": "record.request-correction";
2239
+ "record.review-duplicates": "record.review-duplicates";
2240
+ "record.search": "record.search";
2241
+ "record.unarchive": "record.unarchive";
2242
+ "record.unassign-others": "record.unassign-others";
2239
2243
  "user.create": "user.create";
2244
+ "user.data-seeding": "user.data-seeding";
2240
2245
  "user.edit": "user.edit";
2246
+ "user.read": "user.read";
2247
+ "user.read-only-my-audit": "user.read-only-my-audit";
2241
2248
  "user.search": "user.search";
2242
2249
  workqueue: "workqueue";
2243
- "dashboard.view": "dashboard.view";
2244
2250
  }>;
2245
2251
  $option: z.ZodEnum<{
2246
- role: "role";
2252
+ accessLevel: "accessLevel";
2253
+ declaredBy: "declaredBy";
2254
+ declaredIn: "declaredIn";
2247
2255
  event: "event";
2248
- placeOfEvent: "placeOfEvent";
2249
- notifiedIn: "notifiedIn";
2256
+ ids: "ids";
2250
2257
  notifiedBy: "notifiedBy";
2251
- declaredIn: "declaredIn";
2252
- declaredBy: "declaredBy";
2253
- registeredIn: "registeredIn";
2258
+ notifiedIn: "notifiedIn";
2259
+ placeOfEvent: "placeOfEvent";
2254
2260
  registeredBy: "registeredBy";
2255
- accessLevel: "accessLevel";
2256
- ids: "ids";
2261
+ registeredIn: "registeredIn";
2262
+ role: "role";
2257
2263
  }>;
2258
2264
  }, z.core.$strip>]>;
2259
2265
  }, z.core.$strip>>;
@@ -2315,59 +2321,61 @@ declare const Office: z.ZodObject<{
2315
2321
  allowedLocations: z.ZodOptional<z.ZodObject<{
2316
2322
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2317
2323
  administrativeArea: "administrativeArea";
2318
- location: "location";
2319
2324
  all: "all";
2325
+ location: "location";
2320
2326
  }>, z.ZodObject<{
2321
2327
  $scope: z.ZodEnum<{
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";
2328
+ "attachment.upload": "attachment.upload";
2337
2329
  bypassratelimit: "bypassratelimit";
2338
- "record.reindex": "record.reindex";
2339
- "user.data-seeding": "user.data-seeding";
2340
- "integration.create": "integration.create";
2341
- "record.import": "record.import";
2342
2330
  "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";
2331
+ "dashboard.view": "dashboard.view";
2332
+ "integration.create": "integration.create";
2333
+ "location.edit": "location.edit";
2334
+ "organisation.read-locations": "organisation.read-locations";
2346
2335
  "performance.read": "performance.read";
2347
2336
  "performance.read-dashboards": "performance.read-dashboards";
2348
2337
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2338
+ "profile.electronic-signature": "profile.electronic-signature";
2339
+ "record.archive": "record.archive";
2349
2340
  "record.confirm-registration": "record.confirm-registration";
2341
+ "record.correct": "record.correct";
2342
+ "record.create": "record.create";
2343
+ "record.custom-action": "record.custom-action";
2344
+ "record.declare": "record.declare";
2345
+ "record.edit": "record.edit";
2346
+ "record.import": "record.import";
2347
+ "record.notify": "record.notify";
2348
+ "record.print-certified-copies": "record.print-certified-copies";
2349
+ "record.read": "record.read";
2350
+ "record.register": "record.register";
2351
+ "record.reindex": "record.reindex";
2352
+ "record.reject": "record.reject";
2350
2353
  "record.reject-registration": "record.reject-registration";
2351
- "organisation.read-locations": "organisation.read-locations";
2352
- "user.read": "user.read";
2354
+ "record.request-correction": "record.request-correction";
2355
+ "record.review-duplicates": "record.review-duplicates";
2356
+ "record.search": "record.search";
2357
+ "record.unarchive": "record.unarchive";
2358
+ "record.unassign-others": "record.unassign-others";
2353
2359
  "user.create": "user.create";
2360
+ "user.data-seeding": "user.data-seeding";
2354
2361
  "user.edit": "user.edit";
2362
+ "user.read": "user.read";
2363
+ "user.read-only-my-audit": "user.read-only-my-audit";
2355
2364
  "user.search": "user.search";
2356
2365
  workqueue: "workqueue";
2357
- "dashboard.view": "dashboard.view";
2358
2366
  }>;
2359
2367
  $option: z.ZodEnum<{
2360
- role: "role";
2368
+ accessLevel: "accessLevel";
2369
+ declaredBy: "declaredBy";
2370
+ declaredIn: "declaredIn";
2361
2371
  event: "event";
2362
- placeOfEvent: "placeOfEvent";
2363
- notifiedIn: "notifiedIn";
2372
+ ids: "ids";
2364
2373
  notifiedBy: "notifiedBy";
2365
- declaredIn: "declaredIn";
2366
- declaredBy: "declaredBy";
2367
- registeredIn: "registeredIn";
2374
+ notifiedIn: "notifiedIn";
2375
+ placeOfEvent: "placeOfEvent";
2368
2376
  registeredBy: "registeredBy";
2369
- accessLevel: "accessLevel";
2370
- ids: "ids";
2377
+ registeredIn: "registeredIn";
2378
+ role: "role";
2371
2379
  }>;
2372
2380
  }, z.core.$strip>]>;
2373
2381
  }, z.core.$strip>>;
@@ -2380,18 +2388,18 @@ export declare const DefaultAddressFieldValue: z.ZodObject<{
2380
2388
  addressType: z.ZodLiteral<"DOMESTIC">;
2381
2389
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2382
2390
  $userField: z.ZodEnum<{
2383
- id: "id";
2391
+ administrativeAreaId: "administrativeAreaId";
2392
+ avatar: "avatar";
2393
+ device: "device";
2384
2394
  firstname: "firstname";
2385
- surname: "surname";
2395
+ fullHonorificName: "fullHonorificName";
2396
+ id: "id";
2386
2397
  middlename: "middlename";
2387
2398
  name: "name";
2399
+ primaryOfficeId: "primaryOfficeId";
2388
2400
  role: "role";
2389
- fullHonorificName: "fullHonorificName";
2390
- device: "device";
2391
2401
  signature: "signature";
2392
- avatar: "avatar";
2393
- primaryOfficeId: "primaryOfficeId";
2394
- administrativeAreaId: "administrativeAreaId";
2402
+ surname: "surname";
2395
2403
  }>;
2396
2404
  $location: z.ZodOptional<z.ZodString>;
2397
2405
  }, z.core.$strip>]>>;
@@ -2446,7 +2454,6 @@ declare const Address: z.ZodObject<{
2446
2454
  lineSeparator: z.ZodOptional<z.ZodString>;
2447
2455
  fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2448
2456
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2449
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2450
2457
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2451
2458
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2452
2459
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2461,6 +2468,7 @@ declare const Address: z.ZodObject<{
2461
2468
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2462
2469
  conditional: z.ZodAny;
2463
2470
  }, z.core.$strip>], "type">>>>>;
2471
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2464
2472
  optionOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2465
2473
  value: z.ZodString;
2466
2474
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2473,7 +2481,6 @@ declare const Address: z.ZodObject<{
2473
2481
  }, z.core.$strip>>>>;
2474
2482
  }, z.core.$strip>, z.ZodObject<{
2475
2483
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2476
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2477
2484
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2478
2485
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2479
2486
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2488,6 +2495,7 @@ declare const Address: z.ZodObject<{
2488
2495
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2489
2496
  conditional: z.ZodAny;
2490
2497
  }, z.core.$strip>], "type">>>>>;
2498
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2491
2499
  }, z.core.$strip>]>>>;
2492
2500
  streetAddressForm: z.ZodOptional<z.ZodArray<z.ZodObject<{
2493
2501
  id: z.ZodString;
@@ -2515,59 +2523,61 @@ declare const Address: z.ZodObject<{
2515
2523
  allowedLocations: z.ZodOptional<z.ZodObject<{
2516
2524
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2517
2525
  administrativeArea: "administrativeArea";
2518
- location: "location";
2519
2526
  all: "all";
2527
+ location: "location";
2520
2528
  }>, z.ZodObject<{
2521
2529
  $scope: z.ZodEnum<{
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";
2530
+ "attachment.upload": "attachment.upload";
2537
2531
  bypassratelimit: "bypassratelimit";
2538
- "record.reindex": "record.reindex";
2539
- "user.data-seeding": "user.data-seeding";
2540
- "integration.create": "integration.create";
2541
- "record.import": "record.import";
2542
2532
  "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";
2533
+ "dashboard.view": "dashboard.view";
2534
+ "integration.create": "integration.create";
2535
+ "location.edit": "location.edit";
2536
+ "organisation.read-locations": "organisation.read-locations";
2546
2537
  "performance.read": "performance.read";
2547
2538
  "performance.read-dashboards": "performance.read-dashboards";
2548
2539
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2540
+ "profile.electronic-signature": "profile.electronic-signature";
2541
+ "record.archive": "record.archive";
2549
2542
  "record.confirm-registration": "record.confirm-registration";
2543
+ "record.correct": "record.correct";
2544
+ "record.create": "record.create";
2545
+ "record.custom-action": "record.custom-action";
2546
+ "record.declare": "record.declare";
2547
+ "record.edit": "record.edit";
2548
+ "record.import": "record.import";
2549
+ "record.notify": "record.notify";
2550
+ "record.print-certified-copies": "record.print-certified-copies";
2551
+ "record.read": "record.read";
2552
+ "record.register": "record.register";
2553
+ "record.reindex": "record.reindex";
2554
+ "record.reject": "record.reject";
2550
2555
  "record.reject-registration": "record.reject-registration";
2551
- "organisation.read-locations": "organisation.read-locations";
2552
- "user.read": "user.read";
2556
+ "record.request-correction": "record.request-correction";
2557
+ "record.review-duplicates": "record.review-duplicates";
2558
+ "record.search": "record.search";
2559
+ "record.unarchive": "record.unarchive";
2560
+ "record.unassign-others": "record.unassign-others";
2553
2561
  "user.create": "user.create";
2562
+ "user.data-seeding": "user.data-seeding";
2554
2563
  "user.edit": "user.edit";
2564
+ "user.read": "user.read";
2565
+ "user.read-only-my-audit": "user.read-only-my-audit";
2555
2566
  "user.search": "user.search";
2556
2567
  workqueue: "workqueue";
2557
- "dashboard.view": "dashboard.view";
2558
2568
  }>;
2559
2569
  $option: z.ZodEnum<{
2560
- role: "role";
2570
+ accessLevel: "accessLevel";
2571
+ declaredBy: "declaredBy";
2572
+ declaredIn: "declaredIn";
2561
2573
  event: "event";
2562
- placeOfEvent: "placeOfEvent";
2563
- notifiedIn: "notifiedIn";
2574
+ ids: "ids";
2564
2575
  notifiedBy: "notifiedBy";
2565
- declaredIn: "declaredIn";
2566
- declaredBy: "declaredBy";
2567
- registeredIn: "registeredIn";
2576
+ notifiedIn: "notifiedIn";
2577
+ placeOfEvent: "placeOfEvent";
2568
2578
  registeredBy: "registeredBy";
2569
- accessLevel: "accessLevel";
2570
- ids: "ids";
2579
+ registeredIn: "registeredIn";
2580
+ role: "role";
2571
2581
  }>;
2572
2582
  }, z.core.$strip>]>;
2573
2583
  }, z.core.$strip>>;
@@ -2578,18 +2588,18 @@ declare const Address: z.ZodObject<{
2578
2588
  addressType: z.ZodLiteral<"DOMESTIC">;
2579
2589
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2580
2590
  $userField: z.ZodEnum<{
2581
- id: "id";
2591
+ administrativeAreaId: "administrativeAreaId";
2592
+ avatar: "avatar";
2593
+ device: "device";
2582
2594
  firstname: "firstname";
2583
- surname: "surname";
2595
+ fullHonorificName: "fullHonorificName";
2596
+ id: "id";
2584
2597
  middlename: "middlename";
2585
2598
  name: "name";
2599
+ primaryOfficeId: "primaryOfficeId";
2586
2600
  role: "role";
2587
- fullHonorificName: "fullHonorificName";
2588
- device: "device";
2589
2601
  signature: "signature";
2590
- avatar: "avatar";
2591
- primaryOfficeId: "primaryOfficeId";
2592
- administrativeAreaId: "administrativeAreaId";
2602
+ surname: "surname";
2593
2603
  }>;
2594
2604
  $location: z.ZodOptional<z.ZodString>;
2595
2605
  }, z.core.$strip>]>>;
@@ -2684,27 +2694,27 @@ declare const ButtonConfiguration: z.ZodObject<{
2684
2694
  icon: z.ZodOptional<z.ZodString>;
2685
2695
  loading: z.ZodOptional<z.ZodBoolean>;
2686
2696
  buttonSize: z.ZodOptional<z.ZodEnum<{
2687
- small: "small";
2688
- medium: "medium";
2689
2697
  large: "large";
2698
+ medium: "medium";
2699
+ small: "small";
2690
2700
  }>>;
2691
2701
  buttonType: z.ZodOptional<z.ZodEnum<{
2702
+ icon: "icon";
2703
+ iconPrimary: "iconPrimary";
2704
+ negative: "negative";
2705
+ positive: "positive";
2692
2706
  primary: "primary";
2693
2707
  secondary: "secondary";
2694
- tertiary: "tertiary";
2695
- positive: "positive";
2696
- negative: "negative";
2697
2708
  secondaryNegative: "secondaryNegative";
2698
- icon: "icon";
2699
- iconPrimary: "iconPrimary";
2709
+ tertiary: "tertiary";
2700
2710
  }>>;
2701
2711
  textColor: z.ZodOptional<z.ZodEnum<{
2702
- primary: "primary";
2703
2712
  copy: "copy";
2713
+ primary: "primary";
2704
2714
  }>>;
2705
2715
  textVariant: z.ZodOptional<z.ZodEnum<{
2706
- reg14: "reg14";
2707
2716
  bold14: "bold14";
2717
+ reg14: "reg14";
2708
2718
  }>>;
2709
2719
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2710
2720
  }, z.core.$strip>;
@@ -2761,27 +2771,27 @@ declare const ButtonField: z.ZodObject<{
2761
2771
  icon: z.ZodOptional<z.ZodString>;
2762
2772
  loading: z.ZodOptional<z.ZodBoolean>;
2763
2773
  buttonSize: z.ZodOptional<z.ZodEnum<{
2764
- small: "small";
2765
- medium: "medium";
2766
2774
  large: "large";
2775
+ medium: "medium";
2776
+ small: "small";
2767
2777
  }>>;
2768
2778
  buttonType: z.ZodOptional<z.ZodEnum<{
2779
+ icon: "icon";
2780
+ iconPrimary: "iconPrimary";
2781
+ negative: "negative";
2782
+ positive: "positive";
2769
2783
  primary: "primary";
2770
2784
  secondary: "secondary";
2771
- tertiary: "tertiary";
2772
- positive: "positive";
2773
- negative: "negative";
2774
2785
  secondaryNegative: "secondaryNegative";
2775
- icon: "icon";
2776
- iconPrimary: "iconPrimary";
2786
+ tertiary: "tertiary";
2777
2787
  }>>;
2778
2788
  textColor: z.ZodOptional<z.ZodEnum<{
2779
- primary: "primary";
2780
2789
  copy: "copy";
2790
+ primary: "primary";
2781
2791
  }>>;
2782
2792
  textVariant: z.ZodOptional<z.ZodEnum<{
2783
- reg14: "reg14";
2784
2793
  bold14: "bold14";
2794
+ reg14: "reg14";
2785
2795
  }>>;
2786
2796
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2787
2797
  }, z.core.$strip>;
@@ -3163,10 +3173,10 @@ declare const VerificationStatus: z.ZodObject<{
3163
3173
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3164
3174
  type: z.ZodLiteral<"VERIFICATION_STATUS">;
3165
3175
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
3166
- verified: "verified";
3167
3176
  authenticated: "authenticated";
3168
3177
  failed: "failed";
3169
3178
  pending: "pending";
3179
+ verified: "verified";
3170
3180
  }>, z.ZodObject<{
3171
3181
  $$code: z.ZodString;
3172
3182
  }, z.core.$strip>]>>;
@@ -3718,14 +3728,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3718
3728
  configuration: z.ZodDefault<z.ZodObject<{
3719
3729
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3720
3730
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3721
- "image/png": "image/png";
3722
- "image/jpg": "image/jpg";
3723
- "image/jpeg": "image/jpeg";
3724
- "image/svg+xml": "image/svg+xml";
3725
- "application/pdf": "application/pdf";
3726
3731
  "application/msword": "application/msword";
3727
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3732
+ "application/pdf": "application/pdf";
3728
3733
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3734
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3735
+ "image/jpeg": "image/jpeg";
3736
+ "image/jpg": "image/jpg";
3737
+ "image/png": "image/png";
3738
+ "image/svg+xml": "image/svg+xml";
3729
3739
  }>>>;
3730
3740
  }, z.core.$strip>>;
3731
3741
  }, z.core.$strip>, z.ZodObject<{
@@ -3783,14 +3793,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3783
3793
  configuration: z.ZodDefault<z.ZodObject<{
3784
3794
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3785
3795
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3786
- "image/png": "image/png";
3787
- "image/jpg": "image/jpg";
3788
- "image/jpeg": "image/jpeg";
3789
- "image/svg+xml": "image/svg+xml";
3790
- "application/pdf": "application/pdf";
3791
3796
  "application/msword": "application/msword";
3792
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3797
+ "application/pdf": "application/pdf";
3793
3798
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3799
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3800
+ "image/jpeg": "image/jpeg";
3801
+ "image/jpg": "image/jpg";
3802
+ "image/png": "image/png";
3803
+ "image/svg+xml": "image/svg+xml";
3794
3804
  }>>>;
3795
3805
  maxImageSize: z.ZodOptional<z.ZodObject<{
3796
3806
  targetSize: z.ZodObject<{
@@ -3800,8 +3810,8 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3800
3810
  }, z.core.$strip>>;
3801
3811
  style: z.ZodOptional<z.ZodObject<{
3802
3812
  width: z.ZodOptional<z.ZodEnum<{
3803
- full: "full";
3804
3813
  auto: "auto";
3814
+ full: "full";
3805
3815
  }>>;
3806
3816
  }, z.core.$strip>>;
3807
3817
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -3879,14 +3889,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3879
3889
  }, z.core.$strip>;
3880
3890
  }, z.core.$strip>>;
3881
3891
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3882
- "image/png": "image/png";
3883
- "image/jpg": "image/jpg";
3884
- "image/jpeg": "image/jpeg";
3885
- "image/svg+xml": "image/svg+xml";
3886
- "application/pdf": "application/pdf";
3887
3892
  "application/msword": "application/msword";
3888
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3893
+ "application/pdf": "application/pdf";
3889
3894
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3895
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3896
+ "image/jpeg": "image/jpeg";
3897
+ "image/jpg": "image/jpg";
3898
+ "image/png": "image/png";
3899
+ "image/svg+xml": "image/svg+xml";
3890
3900
  }>>>;
3891
3901
  }, z.core.$strip>>;
3892
3902
  }, z.core.$strip>], "type">;