@opencrvs/toolkit 2.1.0-rc.cebd0a2 → 2.1.0-rc.d078d1a

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 (72) hide show
  1. package/dist/application-config/index.js +202 -190
  2. package/dist/cli.js +0 -48
  3. package/dist/commons/api/router.d.ts +3428 -3360
  4. package/dist/commons/application-config/index.d.ts +6 -6
  5. package/dist/commons/conditionals/conditionals.d.ts +32 -323
  6. package/dist/commons/conditionals/validate.d.ts +10 -1
  7. package/dist/commons/events/ActionConfig.d.ts +105 -105
  8. package/dist/commons/events/ActionDocument.d.ts +117 -123
  9. package/dist/commons/events/ActionInput.d.ts +0 -6
  10. package/dist/commons/events/ActionStatus.d.ts +14 -0
  11. package/dist/commons/events/ActionType.d.ts +62 -62
  12. package/dist/commons/events/AdvancedSearchConfig.d.ts +519 -507
  13. package/dist/commons/events/AuditLog.d.ts +79 -42
  14. package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
  15. package/dist/commons/events/Conditional.d.ts +3 -3
  16. package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
  17. package/dist/commons/events/Draft.d.ts +37 -37
  18. package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
  19. package/dist/commons/events/EventConfig.d.ts +8 -5
  20. package/dist/commons/events/EventDocument.d.ts +48 -48
  21. package/dist/commons/events/EventIndex.d.ts +48 -71
  22. package/dist/commons/events/EventMetadata.d.ts +40 -40
  23. package/dist/commons/events/FieldConfig.d.ts +346 -336
  24. package/dist/commons/events/FieldType.d.ts +51 -51
  25. package/dist/commons/events/FieldTypeMapping.d.ts +91 -91
  26. package/dist/commons/events/FieldValue.d.ts +12 -12
  27. package/dist/commons/events/Flag.d.ts +57 -15
  28. package/dist/commons/events/TemplateConfig.d.ts +1 -1
  29. package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
  30. package/dist/commons/events/WorkqueueConfig.d.ts +817 -814
  31. package/dist/commons/events/deduplication.d.ts +1 -1
  32. package/dist/commons/events/event.d.ts +14 -2
  33. package/dist/commons/events/field.d.ts +69 -198
  34. package/dist/commons/events/index.d.ts +1 -0
  35. package/dist/commons/events/locationPayloads.d.ts +95 -0
  36. package/dist/commons/events/locations.d.ts +103 -6
  37. package/dist/commons/events/mocks.test.utils.d.ts +18 -4
  38. package/dist/commons/events/scopes.d.ts +4 -4
  39. package/dist/commons/events/state/index.d.ts +17 -17
  40. package/dist/commons/events/state/utils.d.ts +7 -7
  41. package/dist/commons/events/test.utils.d.ts +40 -43
  42. package/dist/commons/events/utils.d.ts +114 -114
  43. package/dist/commons/notification/UserNotifications.d.ts +10 -10
  44. package/dist/conditionals/index.js +303 -55
  45. package/dist/environment/derived-variables.d.ts +119 -131
  46. package/dist/environment/derived-variables.d.ts.map +1 -1
  47. package/dist/environment/derived-variables.js +0 -14
  48. package/dist/environment/logger.d.ts +3 -12
  49. package/dist/environment/logger.d.ts.map +1 -1
  50. package/dist/environment/manage-users.js +17 -7
  51. package/dist/environment/questions.d.ts +75 -74
  52. package/dist/environment/questions.d.ts.map +1 -1
  53. package/dist/environment/setup-environment.js +8 -28
  54. package/dist/environment/swarm-to-k8s.js +17 -7
  55. package/dist/environment/update-workflows.js +17 -7
  56. package/dist/environment/users.js +17 -7
  57. package/dist/environment/utils.d.ts +1 -1
  58. package/dist/environment/utils.js +17 -7
  59. package/dist/events/deduplication.d.ts +1 -1
  60. package/dist/events/index.js +3464 -3301
  61. package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
  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/notification/index.js +1712 -1044
  65. package/dist/scopes/index.d.ts +371 -146
  66. package/dist/scopes/index.js +304 -55
  67. package/dist/templates/charts-values/dependencies/values.yaml +0 -3
  68. package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
  69. package/opencrvs-toolkit-2.1.0-rc.d078d1a.tgz +0 -0
  70. package/package.json +5 -5
  71. package/tsconfig.tsbuildinfo +1 -1
  72. package/opencrvs-toolkit-2.1.0-rc.cebd0a2.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,66 +1868,68 @@ 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.unarchive": "record.unarchive";
1890
- "record.review-duplicates": "record.review-duplicates";
1891
- "record.register": "record.register";
1892
- "record.print-certified-copies": "record.print-certified-copies";
1893
- "record.request-correction": "record.request-correction";
1894
- "record.correct": "record.correct";
1895
- "record.unassign-others": "record.unassign-others";
1896
- "record.custom-action": "record.custom-action";
1881
+ "attachment.upload": "attachment.upload";
1897
1882
  bypassratelimit: "bypassratelimit";
1898
- "record.reindex": "record.reindex";
1899
- "user.data-seeding": "user.data-seeding";
1900
- "integration.create": "integration.create";
1901
- "record.import": "record.import";
1902
1883
  "config.update-all": "config.update-all";
1903
- "attachment.upload": "attachment.upload";
1904
- "profile.electronic-signature": "profile.electronic-signature";
1905
- "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";
1906
1888
  "performance.read": "performance.read";
1907
1889
  "performance.read-dashboards": "performance.read-dashboards";
1908
1890
  "performance.vital-statistics-export": "performance.vital-statistics-export";
1891
+ "profile.electronic-signature": "profile.electronic-signature";
1892
+ "record.archive": "record.archive";
1909
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";
1910
1906
  "record.reject-registration": "record.reject-registration";
1911
- "organisation.read-locations": "organisation.read-locations";
1912
- "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";
1913
1912
  "user.create": "user.create";
1913
+ "user.data-seeding": "user.data-seeding";
1914
1914
  "user.edit": "user.edit";
1915
+ "user.read": "user.read";
1916
+ "user.read-only-my-audit": "user.read-only-my-audit";
1915
1917
  "user.search": "user.search";
1916
1918
  workqueue: "workqueue";
1917
- "dashboard.view": "dashboard.view";
1918
1919
  }>;
1919
1920
  $option: z.ZodEnum<{
1920
- role: "role";
1921
+ accessLevel: "accessLevel";
1922
+ declaredBy: "declaredBy";
1923
+ declaredIn: "declaredIn";
1921
1924
  event: "event";
1922
- placeOfEvent: "placeOfEvent";
1923
- notifiedIn: "notifiedIn";
1925
+ flags: "flags";
1926
+ ids: "ids";
1924
1927
  notifiedBy: "notifiedBy";
1925
- declaredIn: "declaredIn";
1926
- declaredBy: "declaredBy";
1927
- registeredIn: "registeredIn";
1928
+ notifiedIn: "notifiedIn";
1929
+ placeOfEvent: "placeOfEvent";
1928
1930
  registeredBy: "registeredBy";
1929
- accessLevel: "accessLevel";
1930
- ids: "ids";
1931
+ registeredIn: "registeredIn";
1932
+ role: "role";
1931
1933
  }>;
1932
1934
  }, z.core.$strip>]>;
1933
1935
  }, z.core.$strip>>;
@@ -1981,18 +1983,18 @@ declare const LocationInput: z.ZodObject<{
1981
1983
  type: z.ZodLiteral<"LOCATION">;
1982
1984
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1983
1985
  $userField: z.ZodEnum<{
1984
- id: "id";
1986
+ administrativeAreaId: "administrativeAreaId";
1987
+ avatar: "avatar";
1988
+ device: "device";
1985
1989
  firstname: "firstname";
1986
- surname: "surname";
1990
+ fullHonorificName: "fullHonorificName";
1991
+ id: "id";
1987
1992
  middlename: "middlename";
1988
1993
  name: "name";
1994
+ primaryOfficeId: "primaryOfficeId";
1989
1995
  role: "role";
1990
- fullHonorificName: "fullHonorificName";
1991
- device: "device";
1992
1996
  signature: "signature";
1993
- avatar: "avatar";
1994
- primaryOfficeId: "primaryOfficeId";
1995
- administrativeAreaId: "administrativeAreaId";
1997
+ surname: "surname";
1996
1998
  }>;
1997
1999
  $location: z.ZodOptional<z.ZodString>;
1998
2000
  }, z.core.$strip>, z.ZodObject<{
@@ -2003,60 +2005,62 @@ declare const LocationInput: z.ZodObject<{
2003
2005
  allowedLocations: z.ZodOptional<z.ZodObject<{
2004
2006
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2005
2007
  administrativeArea: "administrativeArea";
2006
- location: "location";
2007
2008
  all: "all";
2009
+ location: "location";
2008
2010
  }>, z.ZodObject<{
2009
2011
  $scope: z.ZodEnum<{
2010
- "record.search": "record.search";
2011
- "record.create": "record.create";
2012
- "record.read": "record.read";
2013
- "record.declare": "record.declare";
2014
- "record.notify": "record.notify";
2015
- "record.edit": "record.edit";
2016
- "record.reject": "record.reject";
2017
- "record.archive": "record.archive";
2018
- "record.unarchive": "record.unarchive";
2019
- "record.review-duplicates": "record.review-duplicates";
2020
- "record.register": "record.register";
2021
- "record.print-certified-copies": "record.print-certified-copies";
2022
- "record.request-correction": "record.request-correction";
2023
- "record.correct": "record.correct";
2024
- "record.unassign-others": "record.unassign-others";
2025
- "record.custom-action": "record.custom-action";
2012
+ "attachment.upload": "attachment.upload";
2026
2013
  bypassratelimit: "bypassratelimit";
2027
- "record.reindex": "record.reindex";
2028
- "user.data-seeding": "user.data-seeding";
2029
- "integration.create": "integration.create";
2030
- "record.import": "record.import";
2031
2014
  "config.update-all": "config.update-all";
2032
- "attachment.upload": "attachment.upload";
2033
- "profile.electronic-signature": "profile.electronic-signature";
2034
- "user.read-only-my-audit": "user.read-only-my-audit";
2015
+ "dashboard.view": "dashboard.view";
2016
+ "integration.create": "integration.create";
2017
+ "location.edit": "location.edit";
2018
+ "organisation.read-locations": "organisation.read-locations";
2035
2019
  "performance.read": "performance.read";
2036
2020
  "performance.read-dashboards": "performance.read-dashboards";
2037
2021
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2022
+ "profile.electronic-signature": "profile.electronic-signature";
2023
+ "record.archive": "record.archive";
2038
2024
  "record.confirm-registration": "record.confirm-registration";
2025
+ "record.correct": "record.correct";
2026
+ "record.create": "record.create";
2027
+ "record.custom-action": "record.custom-action";
2028
+ "record.declare": "record.declare";
2029
+ "record.edit": "record.edit";
2030
+ "record.import": "record.import";
2031
+ "record.notify": "record.notify";
2032
+ "record.print-certified-copies": "record.print-certified-copies";
2033
+ "record.read": "record.read";
2034
+ "record.register": "record.register";
2035
+ "record.reindex": "record.reindex";
2036
+ "record.reject": "record.reject";
2039
2037
  "record.reject-registration": "record.reject-registration";
2040
- "organisation.read-locations": "organisation.read-locations";
2041
- "user.read": "user.read";
2038
+ "record.request-correction": "record.request-correction";
2039
+ "record.review-duplicates": "record.review-duplicates";
2040
+ "record.search": "record.search";
2041
+ "record.unarchive": "record.unarchive";
2042
+ "record.unassign-others": "record.unassign-others";
2042
2043
  "user.create": "user.create";
2044
+ "user.data-seeding": "user.data-seeding";
2043
2045
  "user.edit": "user.edit";
2046
+ "user.read": "user.read";
2047
+ "user.read-only-my-audit": "user.read-only-my-audit";
2044
2048
  "user.search": "user.search";
2045
2049
  workqueue: "workqueue";
2046
- "dashboard.view": "dashboard.view";
2047
2050
  }>;
2048
2051
  $option: z.ZodEnum<{
2049
- role: "role";
2052
+ accessLevel: "accessLevel";
2053
+ declaredBy: "declaredBy";
2054
+ declaredIn: "declaredIn";
2050
2055
  event: "event";
2051
- placeOfEvent: "placeOfEvent";
2052
- notifiedIn: "notifiedIn";
2056
+ flags: "flags";
2057
+ ids: "ids";
2053
2058
  notifiedBy: "notifiedBy";
2054
- declaredIn: "declaredIn";
2055
- declaredBy: "declaredBy";
2056
- registeredIn: "registeredIn";
2059
+ notifiedIn: "notifiedIn";
2060
+ placeOfEvent: "placeOfEvent";
2057
2061
  registeredBy: "registeredBy";
2058
- accessLevel: "accessLevel";
2059
- ids: "ids";
2062
+ registeredIn: "registeredIn";
2063
+ role: "role";
2060
2064
  }>;
2061
2065
  }, z.core.$strip>]>;
2062
2066
  }, z.core.$strip>>;
@@ -2136,14 +2140,14 @@ declare const FileUploadWithOptions: z.ZodObject<{
2136
2140
  }, z.core.$strip>;
2137
2141
  }, z.core.$strip>>;
2138
2142
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2139
- "image/png": "image/png";
2140
- "image/jpg": "image/jpg";
2141
- "image/jpeg": "image/jpeg";
2142
- "image/svg+xml": "image/svg+xml";
2143
- "application/pdf": "application/pdf";
2144
2143
  "application/msword": "application/msword";
2145
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2144
+ "application/pdf": "application/pdf";
2146
2145
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2146
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2147
+ "image/jpeg": "image/jpeg";
2148
+ "image/jpg": "image/jpg";
2149
+ "image/png": "image/png";
2150
+ "image/svg+xml": "image/svg+xml";
2147
2151
  }>>>;
2148
2152
  }, z.core.$strip>>;
2149
2153
  }, z.core.$strip>;
@@ -2203,60 +2207,62 @@ declare const Facility: z.ZodObject<{
2203
2207
  allowedLocations: z.ZodOptional<z.ZodObject<{
2204
2208
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2205
2209
  administrativeArea: "administrativeArea";
2206
- location: "location";
2207
2210
  all: "all";
2211
+ location: "location";
2208
2212
  }>, z.ZodObject<{
2209
2213
  $scope: z.ZodEnum<{
2210
- "record.search": "record.search";
2211
- "record.create": "record.create";
2212
- "record.read": "record.read";
2213
- "record.declare": "record.declare";
2214
- "record.notify": "record.notify";
2215
- "record.edit": "record.edit";
2216
- "record.reject": "record.reject";
2217
- "record.archive": "record.archive";
2218
- "record.unarchive": "record.unarchive";
2219
- "record.review-duplicates": "record.review-duplicates";
2220
- "record.register": "record.register";
2221
- "record.print-certified-copies": "record.print-certified-copies";
2222
- "record.request-correction": "record.request-correction";
2223
- "record.correct": "record.correct";
2224
- "record.unassign-others": "record.unassign-others";
2225
- "record.custom-action": "record.custom-action";
2214
+ "attachment.upload": "attachment.upload";
2226
2215
  bypassratelimit: "bypassratelimit";
2227
- "record.reindex": "record.reindex";
2228
- "user.data-seeding": "user.data-seeding";
2229
- "integration.create": "integration.create";
2230
- "record.import": "record.import";
2231
2216
  "config.update-all": "config.update-all";
2232
- "attachment.upload": "attachment.upload";
2233
- "profile.electronic-signature": "profile.electronic-signature";
2234
- "user.read-only-my-audit": "user.read-only-my-audit";
2217
+ "dashboard.view": "dashboard.view";
2218
+ "integration.create": "integration.create";
2219
+ "location.edit": "location.edit";
2220
+ "organisation.read-locations": "organisation.read-locations";
2235
2221
  "performance.read": "performance.read";
2236
2222
  "performance.read-dashboards": "performance.read-dashboards";
2237
2223
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2224
+ "profile.electronic-signature": "profile.electronic-signature";
2225
+ "record.archive": "record.archive";
2238
2226
  "record.confirm-registration": "record.confirm-registration";
2227
+ "record.correct": "record.correct";
2228
+ "record.create": "record.create";
2229
+ "record.custom-action": "record.custom-action";
2230
+ "record.declare": "record.declare";
2231
+ "record.edit": "record.edit";
2232
+ "record.import": "record.import";
2233
+ "record.notify": "record.notify";
2234
+ "record.print-certified-copies": "record.print-certified-copies";
2235
+ "record.read": "record.read";
2236
+ "record.register": "record.register";
2237
+ "record.reindex": "record.reindex";
2238
+ "record.reject": "record.reject";
2239
2239
  "record.reject-registration": "record.reject-registration";
2240
- "organisation.read-locations": "organisation.read-locations";
2241
- "user.read": "user.read";
2240
+ "record.request-correction": "record.request-correction";
2241
+ "record.review-duplicates": "record.review-duplicates";
2242
+ "record.search": "record.search";
2243
+ "record.unarchive": "record.unarchive";
2244
+ "record.unassign-others": "record.unassign-others";
2242
2245
  "user.create": "user.create";
2246
+ "user.data-seeding": "user.data-seeding";
2243
2247
  "user.edit": "user.edit";
2248
+ "user.read": "user.read";
2249
+ "user.read-only-my-audit": "user.read-only-my-audit";
2244
2250
  "user.search": "user.search";
2245
2251
  workqueue: "workqueue";
2246
- "dashboard.view": "dashboard.view";
2247
2252
  }>;
2248
2253
  $option: z.ZodEnum<{
2249
- role: "role";
2254
+ accessLevel: "accessLevel";
2255
+ declaredBy: "declaredBy";
2256
+ declaredIn: "declaredIn";
2250
2257
  event: "event";
2251
- placeOfEvent: "placeOfEvent";
2252
- notifiedIn: "notifiedIn";
2258
+ flags: "flags";
2259
+ ids: "ids";
2253
2260
  notifiedBy: "notifiedBy";
2254
- declaredIn: "declaredIn";
2255
- declaredBy: "declaredBy";
2256
- registeredIn: "registeredIn";
2261
+ notifiedIn: "notifiedIn";
2262
+ placeOfEvent: "placeOfEvent";
2257
2263
  registeredBy: "registeredBy";
2258
- accessLevel: "accessLevel";
2259
- ids: "ids";
2264
+ registeredIn: "registeredIn";
2265
+ role: "role";
2260
2266
  }>;
2261
2267
  }, z.core.$strip>]>;
2262
2268
  }, z.core.$strip>>;
@@ -2318,60 +2324,62 @@ declare const Office: z.ZodObject<{
2318
2324
  allowedLocations: z.ZodOptional<z.ZodObject<{
2319
2325
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2320
2326
  administrativeArea: "administrativeArea";
2321
- location: "location";
2322
2327
  all: "all";
2328
+ location: "location";
2323
2329
  }>, z.ZodObject<{
2324
2330
  $scope: z.ZodEnum<{
2325
- "record.search": "record.search";
2326
- "record.create": "record.create";
2327
- "record.read": "record.read";
2328
- "record.declare": "record.declare";
2329
- "record.notify": "record.notify";
2330
- "record.edit": "record.edit";
2331
- "record.reject": "record.reject";
2332
- "record.archive": "record.archive";
2333
- "record.unarchive": "record.unarchive";
2334
- "record.review-duplicates": "record.review-duplicates";
2335
- "record.register": "record.register";
2336
- "record.print-certified-copies": "record.print-certified-copies";
2337
- "record.request-correction": "record.request-correction";
2338
- "record.correct": "record.correct";
2339
- "record.unassign-others": "record.unassign-others";
2340
- "record.custom-action": "record.custom-action";
2331
+ "attachment.upload": "attachment.upload";
2341
2332
  bypassratelimit: "bypassratelimit";
2342
- "record.reindex": "record.reindex";
2343
- "user.data-seeding": "user.data-seeding";
2344
- "integration.create": "integration.create";
2345
- "record.import": "record.import";
2346
2333
  "config.update-all": "config.update-all";
2347
- "attachment.upload": "attachment.upload";
2348
- "profile.electronic-signature": "profile.electronic-signature";
2349
- "user.read-only-my-audit": "user.read-only-my-audit";
2334
+ "dashboard.view": "dashboard.view";
2335
+ "integration.create": "integration.create";
2336
+ "location.edit": "location.edit";
2337
+ "organisation.read-locations": "organisation.read-locations";
2350
2338
  "performance.read": "performance.read";
2351
2339
  "performance.read-dashboards": "performance.read-dashboards";
2352
2340
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2341
+ "profile.electronic-signature": "profile.electronic-signature";
2342
+ "record.archive": "record.archive";
2353
2343
  "record.confirm-registration": "record.confirm-registration";
2344
+ "record.correct": "record.correct";
2345
+ "record.create": "record.create";
2346
+ "record.custom-action": "record.custom-action";
2347
+ "record.declare": "record.declare";
2348
+ "record.edit": "record.edit";
2349
+ "record.import": "record.import";
2350
+ "record.notify": "record.notify";
2351
+ "record.print-certified-copies": "record.print-certified-copies";
2352
+ "record.read": "record.read";
2353
+ "record.register": "record.register";
2354
+ "record.reindex": "record.reindex";
2355
+ "record.reject": "record.reject";
2354
2356
  "record.reject-registration": "record.reject-registration";
2355
- "organisation.read-locations": "organisation.read-locations";
2356
- "user.read": "user.read";
2357
+ "record.request-correction": "record.request-correction";
2358
+ "record.review-duplicates": "record.review-duplicates";
2359
+ "record.search": "record.search";
2360
+ "record.unarchive": "record.unarchive";
2361
+ "record.unassign-others": "record.unassign-others";
2357
2362
  "user.create": "user.create";
2363
+ "user.data-seeding": "user.data-seeding";
2358
2364
  "user.edit": "user.edit";
2365
+ "user.read": "user.read";
2366
+ "user.read-only-my-audit": "user.read-only-my-audit";
2359
2367
  "user.search": "user.search";
2360
2368
  workqueue: "workqueue";
2361
- "dashboard.view": "dashboard.view";
2362
2369
  }>;
2363
2370
  $option: z.ZodEnum<{
2364
- role: "role";
2371
+ accessLevel: "accessLevel";
2372
+ declaredBy: "declaredBy";
2373
+ declaredIn: "declaredIn";
2365
2374
  event: "event";
2366
- placeOfEvent: "placeOfEvent";
2367
- notifiedIn: "notifiedIn";
2375
+ flags: "flags";
2376
+ ids: "ids";
2368
2377
  notifiedBy: "notifiedBy";
2369
- declaredIn: "declaredIn";
2370
- declaredBy: "declaredBy";
2371
- registeredIn: "registeredIn";
2378
+ notifiedIn: "notifiedIn";
2379
+ placeOfEvent: "placeOfEvent";
2372
2380
  registeredBy: "registeredBy";
2373
- accessLevel: "accessLevel";
2374
- ids: "ids";
2381
+ registeredIn: "registeredIn";
2382
+ role: "role";
2375
2383
  }>;
2376
2384
  }, z.core.$strip>]>;
2377
2385
  }, z.core.$strip>>;
@@ -2384,18 +2392,18 @@ export declare const DefaultAddressFieldValue: z.ZodObject<{
2384
2392
  addressType: z.ZodLiteral<"DOMESTIC">;
2385
2393
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2386
2394
  $userField: z.ZodEnum<{
2387
- id: "id";
2395
+ administrativeAreaId: "administrativeAreaId";
2396
+ avatar: "avatar";
2397
+ device: "device";
2388
2398
  firstname: "firstname";
2389
- surname: "surname";
2399
+ fullHonorificName: "fullHonorificName";
2400
+ id: "id";
2390
2401
  middlename: "middlename";
2391
2402
  name: "name";
2403
+ primaryOfficeId: "primaryOfficeId";
2392
2404
  role: "role";
2393
- fullHonorificName: "fullHonorificName";
2394
- device: "device";
2395
2405
  signature: "signature";
2396
- avatar: "avatar";
2397
- primaryOfficeId: "primaryOfficeId";
2398
- administrativeAreaId: "administrativeAreaId";
2406
+ surname: "surname";
2399
2407
  }>;
2400
2408
  $location: z.ZodOptional<z.ZodString>;
2401
2409
  }, z.core.$strip>]>>;
@@ -2450,7 +2458,6 @@ declare const Address: z.ZodObject<{
2450
2458
  lineSeparator: z.ZodOptional<z.ZodString>;
2451
2459
  fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2452
2460
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2453
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2454
2461
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2455
2462
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2456
2463
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2465,6 +2472,7 @@ declare const Address: z.ZodObject<{
2465
2472
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2466
2473
  conditional: z.ZodAny;
2467
2474
  }, z.core.$strip>], "type">>>>>;
2475
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2468
2476
  optionOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2469
2477
  value: z.ZodString;
2470
2478
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2477,7 +2485,6 @@ declare const Address: z.ZodObject<{
2477
2485
  }, z.core.$strip>>>>;
2478
2486
  }, z.core.$strip>, z.ZodObject<{
2479
2487
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2480
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2481
2488
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2482
2489
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2483
2490
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2492,6 +2499,7 @@ declare const Address: z.ZodObject<{
2492
2499
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2493
2500
  conditional: z.ZodAny;
2494
2501
  }, z.core.$strip>], "type">>>>>;
2502
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2495
2503
  }, z.core.$strip>]>>>;
2496
2504
  streetAddressForm: z.ZodOptional<z.ZodArray<z.ZodObject<{
2497
2505
  id: z.ZodString;
@@ -2519,60 +2527,62 @@ declare const Address: z.ZodObject<{
2519
2527
  allowedLocations: z.ZodOptional<z.ZodObject<{
2520
2528
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2521
2529
  administrativeArea: "administrativeArea";
2522
- location: "location";
2523
2530
  all: "all";
2531
+ location: "location";
2524
2532
  }>, z.ZodObject<{
2525
2533
  $scope: z.ZodEnum<{
2526
- "record.search": "record.search";
2527
- "record.create": "record.create";
2528
- "record.read": "record.read";
2529
- "record.declare": "record.declare";
2530
- "record.notify": "record.notify";
2531
- "record.edit": "record.edit";
2532
- "record.reject": "record.reject";
2533
- "record.archive": "record.archive";
2534
- "record.unarchive": "record.unarchive";
2535
- "record.review-duplicates": "record.review-duplicates";
2536
- "record.register": "record.register";
2537
- "record.print-certified-copies": "record.print-certified-copies";
2538
- "record.request-correction": "record.request-correction";
2539
- "record.correct": "record.correct";
2540
- "record.unassign-others": "record.unassign-others";
2541
- "record.custom-action": "record.custom-action";
2534
+ "attachment.upload": "attachment.upload";
2542
2535
  bypassratelimit: "bypassratelimit";
2543
- "record.reindex": "record.reindex";
2544
- "user.data-seeding": "user.data-seeding";
2545
- "integration.create": "integration.create";
2546
- "record.import": "record.import";
2547
2536
  "config.update-all": "config.update-all";
2548
- "attachment.upload": "attachment.upload";
2549
- "profile.electronic-signature": "profile.electronic-signature";
2550
- "user.read-only-my-audit": "user.read-only-my-audit";
2537
+ "dashboard.view": "dashboard.view";
2538
+ "integration.create": "integration.create";
2539
+ "location.edit": "location.edit";
2540
+ "organisation.read-locations": "organisation.read-locations";
2551
2541
  "performance.read": "performance.read";
2552
2542
  "performance.read-dashboards": "performance.read-dashboards";
2553
2543
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2544
+ "profile.electronic-signature": "profile.electronic-signature";
2545
+ "record.archive": "record.archive";
2554
2546
  "record.confirm-registration": "record.confirm-registration";
2547
+ "record.correct": "record.correct";
2548
+ "record.create": "record.create";
2549
+ "record.custom-action": "record.custom-action";
2550
+ "record.declare": "record.declare";
2551
+ "record.edit": "record.edit";
2552
+ "record.import": "record.import";
2553
+ "record.notify": "record.notify";
2554
+ "record.print-certified-copies": "record.print-certified-copies";
2555
+ "record.read": "record.read";
2556
+ "record.register": "record.register";
2557
+ "record.reindex": "record.reindex";
2558
+ "record.reject": "record.reject";
2555
2559
  "record.reject-registration": "record.reject-registration";
2556
- "organisation.read-locations": "organisation.read-locations";
2557
- "user.read": "user.read";
2560
+ "record.request-correction": "record.request-correction";
2561
+ "record.review-duplicates": "record.review-duplicates";
2562
+ "record.search": "record.search";
2563
+ "record.unarchive": "record.unarchive";
2564
+ "record.unassign-others": "record.unassign-others";
2558
2565
  "user.create": "user.create";
2566
+ "user.data-seeding": "user.data-seeding";
2559
2567
  "user.edit": "user.edit";
2568
+ "user.read": "user.read";
2569
+ "user.read-only-my-audit": "user.read-only-my-audit";
2560
2570
  "user.search": "user.search";
2561
2571
  workqueue: "workqueue";
2562
- "dashboard.view": "dashboard.view";
2563
2572
  }>;
2564
2573
  $option: z.ZodEnum<{
2565
- role: "role";
2574
+ accessLevel: "accessLevel";
2575
+ declaredBy: "declaredBy";
2576
+ declaredIn: "declaredIn";
2566
2577
  event: "event";
2567
- placeOfEvent: "placeOfEvent";
2568
- notifiedIn: "notifiedIn";
2578
+ flags: "flags";
2579
+ ids: "ids";
2569
2580
  notifiedBy: "notifiedBy";
2570
- declaredIn: "declaredIn";
2571
- declaredBy: "declaredBy";
2572
- registeredIn: "registeredIn";
2581
+ notifiedIn: "notifiedIn";
2582
+ placeOfEvent: "placeOfEvent";
2573
2583
  registeredBy: "registeredBy";
2574
- accessLevel: "accessLevel";
2575
- ids: "ids";
2584
+ registeredIn: "registeredIn";
2585
+ role: "role";
2576
2586
  }>;
2577
2587
  }, z.core.$strip>]>;
2578
2588
  }, z.core.$strip>>;
@@ -2583,18 +2593,18 @@ declare const Address: z.ZodObject<{
2583
2593
  addressType: z.ZodLiteral<"DOMESTIC">;
2584
2594
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2585
2595
  $userField: z.ZodEnum<{
2586
- id: "id";
2596
+ administrativeAreaId: "administrativeAreaId";
2597
+ avatar: "avatar";
2598
+ device: "device";
2587
2599
  firstname: "firstname";
2588
- surname: "surname";
2600
+ fullHonorificName: "fullHonorificName";
2601
+ id: "id";
2589
2602
  middlename: "middlename";
2590
2603
  name: "name";
2604
+ primaryOfficeId: "primaryOfficeId";
2591
2605
  role: "role";
2592
- fullHonorificName: "fullHonorificName";
2593
- device: "device";
2594
2606
  signature: "signature";
2595
- avatar: "avatar";
2596
- primaryOfficeId: "primaryOfficeId";
2597
- administrativeAreaId: "administrativeAreaId";
2607
+ surname: "surname";
2598
2608
  }>;
2599
2609
  $location: z.ZodOptional<z.ZodString>;
2600
2610
  }, z.core.$strip>]>>;
@@ -2689,27 +2699,27 @@ declare const ButtonConfiguration: z.ZodObject<{
2689
2699
  icon: z.ZodOptional<z.ZodString>;
2690
2700
  loading: z.ZodOptional<z.ZodBoolean>;
2691
2701
  buttonSize: z.ZodOptional<z.ZodEnum<{
2692
- small: "small";
2693
- medium: "medium";
2694
2702
  large: "large";
2703
+ medium: "medium";
2704
+ small: "small";
2695
2705
  }>>;
2696
2706
  buttonType: z.ZodOptional<z.ZodEnum<{
2707
+ icon: "icon";
2708
+ iconPrimary: "iconPrimary";
2709
+ negative: "negative";
2710
+ positive: "positive";
2697
2711
  primary: "primary";
2698
2712
  secondary: "secondary";
2699
- tertiary: "tertiary";
2700
- positive: "positive";
2701
- negative: "negative";
2702
2713
  secondaryNegative: "secondaryNegative";
2703
- icon: "icon";
2704
- iconPrimary: "iconPrimary";
2714
+ tertiary: "tertiary";
2705
2715
  }>>;
2706
2716
  textColor: z.ZodOptional<z.ZodEnum<{
2707
- primary: "primary";
2708
2717
  copy: "copy";
2718
+ primary: "primary";
2709
2719
  }>>;
2710
2720
  textVariant: z.ZodOptional<z.ZodEnum<{
2711
- reg14: "reg14";
2712
2721
  bold14: "bold14";
2722
+ reg14: "reg14";
2713
2723
  }>>;
2714
2724
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2715
2725
  }, z.core.$strip>;
@@ -2766,27 +2776,27 @@ declare const ButtonField: z.ZodObject<{
2766
2776
  icon: z.ZodOptional<z.ZodString>;
2767
2777
  loading: z.ZodOptional<z.ZodBoolean>;
2768
2778
  buttonSize: z.ZodOptional<z.ZodEnum<{
2769
- small: "small";
2770
- medium: "medium";
2771
2779
  large: "large";
2780
+ medium: "medium";
2781
+ small: "small";
2772
2782
  }>>;
2773
2783
  buttonType: z.ZodOptional<z.ZodEnum<{
2784
+ icon: "icon";
2785
+ iconPrimary: "iconPrimary";
2786
+ negative: "negative";
2787
+ positive: "positive";
2774
2788
  primary: "primary";
2775
2789
  secondary: "secondary";
2776
- tertiary: "tertiary";
2777
- positive: "positive";
2778
- negative: "negative";
2779
2790
  secondaryNegative: "secondaryNegative";
2780
- icon: "icon";
2781
- iconPrimary: "iconPrimary";
2791
+ tertiary: "tertiary";
2782
2792
  }>>;
2783
2793
  textColor: z.ZodOptional<z.ZodEnum<{
2784
- primary: "primary";
2785
2794
  copy: "copy";
2795
+ primary: "primary";
2786
2796
  }>>;
2787
2797
  textVariant: z.ZodOptional<z.ZodEnum<{
2788
- reg14: "reg14";
2789
2798
  bold14: "bold14";
2799
+ reg14: "reg14";
2790
2800
  }>>;
2791
2801
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2792
2802
  }, z.core.$strip>;
@@ -3168,10 +3178,10 @@ declare const VerificationStatus: z.ZodObject<{
3168
3178
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3169
3179
  type: z.ZodLiteral<"VERIFICATION_STATUS">;
3170
3180
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
3171
- verified: "verified";
3172
3181
  authenticated: "authenticated";
3173
3182
  failed: "failed";
3174
3183
  pending: "pending";
3184
+ verified: "verified";
3175
3185
  }>, z.ZodObject<{
3176
3186
  $$code: z.ZodString;
3177
3187
  }, z.core.$strip>]>>;
@@ -3723,14 +3733,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3723
3733
  configuration: z.ZodDefault<z.ZodObject<{
3724
3734
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3725
3735
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3726
- "image/png": "image/png";
3727
- "image/jpg": "image/jpg";
3728
- "image/jpeg": "image/jpeg";
3729
- "image/svg+xml": "image/svg+xml";
3730
- "application/pdf": "application/pdf";
3731
3736
  "application/msword": "application/msword";
3732
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3737
+ "application/pdf": "application/pdf";
3733
3738
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3739
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3740
+ "image/jpeg": "image/jpeg";
3741
+ "image/jpg": "image/jpg";
3742
+ "image/png": "image/png";
3743
+ "image/svg+xml": "image/svg+xml";
3734
3744
  }>>>;
3735
3745
  }, z.core.$strip>>;
3736
3746
  }, z.core.$strip>, z.ZodObject<{
@@ -3788,14 +3798,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3788
3798
  configuration: z.ZodDefault<z.ZodObject<{
3789
3799
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3790
3800
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3791
- "image/png": "image/png";
3792
- "image/jpg": "image/jpg";
3793
- "image/jpeg": "image/jpeg";
3794
- "image/svg+xml": "image/svg+xml";
3795
- "application/pdf": "application/pdf";
3796
3801
  "application/msword": "application/msword";
3797
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3802
+ "application/pdf": "application/pdf";
3798
3803
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3804
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3805
+ "image/jpeg": "image/jpeg";
3806
+ "image/jpg": "image/jpg";
3807
+ "image/png": "image/png";
3808
+ "image/svg+xml": "image/svg+xml";
3799
3809
  }>>>;
3800
3810
  maxImageSize: z.ZodOptional<z.ZodObject<{
3801
3811
  targetSize: z.ZodObject<{
@@ -3805,8 +3815,8 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3805
3815
  }, z.core.$strip>>;
3806
3816
  style: z.ZodOptional<z.ZodObject<{
3807
3817
  width: z.ZodOptional<z.ZodEnum<{
3808
- full: "full";
3809
3818
  auto: "auto";
3819
+ full: "full";
3810
3820
  }>>;
3811
3821
  }, z.core.$strip>>;
3812
3822
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -3884,14 +3894,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3884
3894
  }, z.core.$strip>;
3885
3895
  }, z.core.$strip>>;
3886
3896
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3887
- "image/png": "image/png";
3888
- "image/jpg": "image/jpg";
3889
- "image/jpeg": "image/jpeg";
3890
- "image/svg+xml": "image/svg+xml";
3891
- "application/pdf": "application/pdf";
3892
3897
  "application/msword": "application/msword";
3893
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3898
+ "application/pdf": "application/pdf";
3894
3899
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3900
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3901
+ "image/jpeg": "image/jpeg";
3902
+ "image/jpg": "image/jpg";
3903
+ "image/png": "image/png";
3904
+ "image/svg+xml": "image/svg+xml";
3895
3905
  }>>>;
3896
3906
  }, z.core.$strip>>;
3897
3907
  }, z.core.$strip>], "type">;