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

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 (117) hide show
  1. package/README.md +15 -0
  2. package/build.sh +3 -2
  3. package/dist/application-config/index.js +17 -6
  4. package/dist/cli.js +3253 -47
  5. package/dist/commons/api/router.d.ts +2964 -2949
  6. package/dist/commons/application-config/index.d.ts +6 -6
  7. package/dist/commons/conditionals/conditionals.d.ts +32 -323
  8. package/dist/commons/events/ActionConfig.d.ts +93 -67
  9. package/dist/commons/events/ActionDocument.d.ts +107 -107
  10. package/dist/commons/events/ActionType.d.ts +57 -57
  11. package/dist/commons/events/AdvancedSearchConfig.d.ts +501 -489
  12. package/dist/commons/events/AuditLog.d.ts +41 -41
  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 +603 -561
  16. package/dist/commons/events/Draft.d.ts +35 -35
  17. package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
  18. package/dist/commons/events/EventConfig.d.ts +5 -3
  19. package/dist/commons/events/EventDocument.d.ts +43 -43
  20. package/dist/commons/events/EventIndex.d.ts +76 -51
  21. package/dist/commons/events/EventMetadata.d.ts +60 -34
  22. package/dist/commons/events/FieldConfig.d.ts +331 -321
  23. package/dist/commons/events/FieldType.d.ts +51 -51
  24. package/dist/commons/events/FieldTypeMapping.d.ts +101 -101
  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 +837 -798
  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/locations.d.ts +5 -4
  34. package/dist/commons/events/mocks.test.utils.d.ts +2 -2
  35. package/dist/commons/events/scopes.d.ts +4 -4
  36. package/dist/commons/events/state/index.d.ts +23 -15
  37. package/dist/commons/events/state/utils.d.ts +15 -6
  38. package/dist/commons/events/test.utils.d.ts +33 -33
  39. package/dist/commons/events/utils.d.ts +110 -110
  40. package/dist/commons/notification/UserNotifications.d.ts +10 -10
  41. package/dist/conditionals/index.js +10 -5
  42. package/dist/environment/custom-types.d.ts +33 -0
  43. package/dist/environment/custom-types.d.ts.map +1 -0
  44. package/dist/environment/custom-types.js +12 -0
  45. package/dist/environment/derived-variables.d.ts +134 -0
  46. package/dist/environment/derived-variables.d.ts.map +1 -0
  47. package/dist/environment/derived-variables.js +169 -0
  48. package/dist/environment/editor-questions.d.ts +4 -0
  49. package/dist/environment/editor-questions.d.ts.map +1 -0
  50. package/dist/environment/editor-questions.js +67 -0
  51. package/dist/environment/git.d.ts +5 -0
  52. package/dist/environment/git.d.ts.map +1 -0
  53. package/dist/environment/git.js +38 -0
  54. package/dist/environment/github.d.ts +26 -0
  55. package/dist/environment/github.d.ts.map +1 -0
  56. package/dist/environment/github.js +247 -0
  57. package/dist/environment/index.d.ts +5 -0
  58. package/dist/environment/index.d.ts.map +1 -0
  59. package/dist/environment/index.js +71 -0
  60. package/dist/environment/logger.d.ts +6 -0
  61. package/dist/environment/logger.d.ts.map +1 -0
  62. package/dist/environment/logger.js +25 -0
  63. package/dist/environment/manage-users.d.ts +11 -0
  64. package/dist/environment/manage-users.d.ts.map +1 -0
  65. package/dist/environment/manage-users.js +507 -0
  66. package/dist/environment/questions-helper.d.ts +15 -0
  67. package/dist/environment/questions-helper.d.ts.map +1 -0
  68. package/dist/environment/questions-helper.js +70 -0
  69. package/dist/environment/questions.d.ts +200 -0
  70. package/dist/environment/questions.d.ts.map +1 -0
  71. package/dist/environment/questions.js +412 -0
  72. package/dist/environment/setup-environment.d.ts +2 -0
  73. package/dist/environment/setup-environment.d.ts.map +1 -0
  74. package/dist/environment/setup-environment.js +788 -0
  75. package/dist/environment/ssh-keygen.d.ts +5 -0
  76. package/dist/environment/ssh-keygen.d.ts.map +1 -0
  77. package/dist/environment/ssh-keygen.js +21 -0
  78. package/dist/environment/swarm-to-k8s.d.ts +2 -0
  79. package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
  80. package/dist/environment/swarm-to-k8s.js +183 -0
  81. package/dist/environment/templates.d.ts +27 -0
  82. package/dist/environment/templates.d.ts.map +1 -0
  83. package/dist/environment/templates.js +163 -0
  84. package/dist/environment/update-workflows.d.ts +2 -0
  85. package/dist/environment/update-workflows.d.ts.map +1 -0
  86. package/dist/environment/update-workflows.js +179 -0
  87. package/dist/environment/users.d.ts +2 -0
  88. package/dist/environment/users.d.ts.map +1 -0
  89. package/dist/environment/users.js +122 -0
  90. package/dist/environment/utils.d.ts +18 -0
  91. package/dist/environment/utils.d.ts.map +1 -0
  92. package/dist/environment/utils.js +110 -0
  93. package/dist/events/deduplication.d.ts +1 -1
  94. package/dist/events/index.js +176 -59
  95. package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
  96. package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
  97. package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
  98. package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
  99. package/dist/migrations/v2.0/index.js +11 -6
  100. package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
  101. package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
  102. package/dist/notification/index.js +99 -8
  103. package/dist/scopes/index.d.ts +205 -117
  104. package/dist/scopes/index.js +10 -5
  105. package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
  106. package/dist/templates/charts-values/dependencies/values.yaml +83 -0
  107. package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
  108. package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
  109. package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
  110. package/dist/templates/charts-values/traefik/values.yaml +115 -0
  111. package/dist/templates/inventory/inventory.template.yml +100 -0
  112. package/dist/templates/inventory/production.example.yml +77 -0
  113. package/dist/templates/inventory/qa.example.yml +48 -0
  114. package/opencrvs-toolkit-2.0.0-rc.ecef004.tgz +0 -0
  115. package/package.json +16 -3
  116. package/tsconfig.tsbuildinfo +1 -1
  117. package/opencrvs-toolkit-2.0.0-rc.ec8335d.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,63 +1868,65 @@ 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
+ "organisation.read-locations": "organisation.read-locations";
1905
1887
  "performance.read": "performance.read";
1906
1888
  "performance.read-dashboards": "performance.read-dashboards";
1907
1889
  "performance.vital-statistics-export": "performance.vital-statistics-export";
1890
+ "profile.electronic-signature": "profile.electronic-signature";
1891
+ "record.archive": "record.archive";
1908
1892
  "record.confirm-registration": "record.confirm-registration";
1893
+ "record.correct": "record.correct";
1894
+ "record.create": "record.create";
1895
+ "record.custom-action": "record.custom-action";
1896
+ "record.declare": "record.declare";
1897
+ "record.edit": "record.edit";
1898
+ "record.import": "record.import";
1899
+ "record.notify": "record.notify";
1900
+ "record.print-certified-copies": "record.print-certified-copies";
1901
+ "record.read": "record.read";
1902
+ "record.register": "record.register";
1903
+ "record.reindex": "record.reindex";
1904
+ "record.reject": "record.reject";
1909
1905
  "record.reject-registration": "record.reject-registration";
1910
- "organisation.read-locations": "organisation.read-locations";
1911
- "user.read": "user.read";
1906
+ "record.request-correction": "record.request-correction";
1907
+ "record.review-duplicates": "record.review-duplicates";
1908
+ "record.search": "record.search";
1909
+ "record.unassign-others": "record.unassign-others";
1912
1910
  "user.create": "user.create";
1911
+ "user.data-seeding": "user.data-seeding";
1913
1912
  "user.edit": "user.edit";
1913
+ "user.read": "user.read";
1914
+ "user.read-only-my-audit": "user.read-only-my-audit";
1914
1915
  "user.search": "user.search";
1915
1916
  workqueue: "workqueue";
1916
- "dashboard.view": "dashboard.view";
1917
1917
  }>;
1918
1918
  $option: z.ZodEnum<{
1919
- role: "role";
1919
+ accessLevel: "accessLevel";
1920
+ declaredBy: "declaredBy";
1921
+ declaredIn: "declaredIn";
1920
1922
  event: "event";
1923
+ ids: "ids";
1924
+ notifiedBy: "notifiedBy";
1925
+ notifiedIn: "notifiedIn";
1921
1926
  placeOfEvent: "placeOfEvent";
1922
- declaredIn: "declaredIn";
1923
- declaredBy: "declaredBy";
1924
- registeredIn: "registeredIn";
1925
1927
  registeredBy: "registeredBy";
1926
- accessLevel: "accessLevel";
1927
- ids: "ids";
1928
+ registeredIn: "registeredIn";
1929
+ role: "role";
1928
1930
  }>;
1929
1931
  }, z.core.$strip>]>;
1930
1932
  }, z.core.$strip>>;
@@ -1978,18 +1980,18 @@ declare const LocationInput: z.ZodObject<{
1978
1980
  type: z.ZodLiteral<"LOCATION">;
1979
1981
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1980
1982
  $userField: z.ZodEnum<{
1981
- id: "id";
1983
+ administrativeAreaId: "administrativeAreaId";
1984
+ avatar: "avatar";
1985
+ device: "device";
1982
1986
  firstname: "firstname";
1983
- surname: "surname";
1987
+ fullHonorificName: "fullHonorificName";
1988
+ id: "id";
1984
1989
  middlename: "middlename";
1985
1990
  name: "name";
1991
+ primaryOfficeId: "primaryOfficeId";
1986
1992
  role: "role";
1987
- fullHonorificName: "fullHonorificName";
1988
- device: "device";
1989
1993
  signature: "signature";
1990
- avatar: "avatar";
1991
- primaryOfficeId: "primaryOfficeId";
1992
- administrativeAreaId: "administrativeAreaId";
1994
+ surname: "surname";
1993
1995
  }>;
1994
1996
  $location: z.ZodOptional<z.ZodString>;
1995
1997
  }, z.core.$strip>, z.ZodObject<{
@@ -2000,57 +2002,59 @@ declare const LocationInput: z.ZodObject<{
2000
2002
  allowedLocations: z.ZodOptional<z.ZodObject<{
2001
2003
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2002
2004
  administrativeArea: "administrativeArea";
2003
- location: "location";
2004
2005
  all: "all";
2006
+ location: "location";
2005
2007
  }>, z.ZodObject<{
2006
2008
  $scope: z.ZodEnum<{
2007
- "record.search": "record.search";
2008
- "record.create": "record.create";
2009
- "record.read": "record.read";
2010
- "record.declare": "record.declare";
2011
- "record.notify": "record.notify";
2012
- "record.edit": "record.edit";
2013
- "record.reject": "record.reject";
2014
- "record.archive": "record.archive";
2015
- "record.review-duplicates": "record.review-duplicates";
2016
- "record.register": "record.register";
2017
- "record.print-certified-copies": "record.print-certified-copies";
2018
- "record.request-correction": "record.request-correction";
2019
- "record.correct": "record.correct";
2020
- "record.unassign-others": "record.unassign-others";
2021
- "record.custom-action": "record.custom-action";
2009
+ "attachment.upload": "attachment.upload";
2022
2010
  bypassratelimit: "bypassratelimit";
2023
- "record.reindex": "record.reindex";
2024
- "user.data-seeding": "user.data-seeding";
2025
- "integration.create": "integration.create";
2026
- "record.import": "record.import";
2027
2011
  "config.update-all": "config.update-all";
2028
- "attachment.upload": "attachment.upload";
2029
- "profile.electronic-signature": "profile.electronic-signature";
2030
- "user.read-only-my-audit": "user.read-only-my-audit";
2012
+ "dashboard.view": "dashboard.view";
2013
+ "integration.create": "integration.create";
2014
+ "organisation.read-locations": "organisation.read-locations";
2031
2015
  "performance.read": "performance.read";
2032
2016
  "performance.read-dashboards": "performance.read-dashboards";
2033
2017
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2018
+ "profile.electronic-signature": "profile.electronic-signature";
2019
+ "record.archive": "record.archive";
2034
2020
  "record.confirm-registration": "record.confirm-registration";
2021
+ "record.correct": "record.correct";
2022
+ "record.create": "record.create";
2023
+ "record.custom-action": "record.custom-action";
2024
+ "record.declare": "record.declare";
2025
+ "record.edit": "record.edit";
2026
+ "record.import": "record.import";
2027
+ "record.notify": "record.notify";
2028
+ "record.print-certified-copies": "record.print-certified-copies";
2029
+ "record.read": "record.read";
2030
+ "record.register": "record.register";
2031
+ "record.reindex": "record.reindex";
2032
+ "record.reject": "record.reject";
2035
2033
  "record.reject-registration": "record.reject-registration";
2036
- "organisation.read-locations": "organisation.read-locations";
2037
- "user.read": "user.read";
2034
+ "record.request-correction": "record.request-correction";
2035
+ "record.review-duplicates": "record.review-duplicates";
2036
+ "record.search": "record.search";
2037
+ "record.unassign-others": "record.unassign-others";
2038
2038
  "user.create": "user.create";
2039
+ "user.data-seeding": "user.data-seeding";
2039
2040
  "user.edit": "user.edit";
2041
+ "user.read": "user.read";
2042
+ "user.read-only-my-audit": "user.read-only-my-audit";
2040
2043
  "user.search": "user.search";
2041
2044
  workqueue: "workqueue";
2042
- "dashboard.view": "dashboard.view";
2043
2045
  }>;
2044
2046
  $option: z.ZodEnum<{
2045
- role: "role";
2047
+ accessLevel: "accessLevel";
2048
+ declaredBy: "declaredBy";
2049
+ declaredIn: "declaredIn";
2046
2050
  event: "event";
2051
+ ids: "ids";
2052
+ notifiedBy: "notifiedBy";
2053
+ notifiedIn: "notifiedIn";
2047
2054
  placeOfEvent: "placeOfEvent";
2048
- declaredIn: "declaredIn";
2049
- declaredBy: "declaredBy";
2050
- registeredIn: "registeredIn";
2051
2055
  registeredBy: "registeredBy";
2052
- accessLevel: "accessLevel";
2053
- ids: "ids";
2056
+ registeredIn: "registeredIn";
2057
+ role: "role";
2054
2058
  }>;
2055
2059
  }, z.core.$strip>]>;
2056
2060
  }, z.core.$strip>>;
@@ -2130,14 +2134,14 @@ declare const FileUploadWithOptions: z.ZodObject<{
2130
2134
  }, z.core.$strip>;
2131
2135
  }, z.core.$strip>>;
2132
2136
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2133
- "image/png": "image/png";
2134
- "image/jpg": "image/jpg";
2135
- "image/jpeg": "image/jpeg";
2136
- "image/svg+xml": "image/svg+xml";
2137
- "application/pdf": "application/pdf";
2138
2137
  "application/msword": "application/msword";
2139
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2138
+ "application/pdf": "application/pdf";
2140
2139
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2140
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2141
+ "image/jpeg": "image/jpeg";
2142
+ "image/jpg": "image/jpg";
2143
+ "image/png": "image/png";
2144
+ "image/svg+xml": "image/svg+xml";
2141
2145
  }>>>;
2142
2146
  }, z.core.$strip>>;
2143
2147
  }, z.core.$strip>;
@@ -2197,57 +2201,59 @@ declare const Facility: z.ZodObject<{
2197
2201
  allowedLocations: z.ZodOptional<z.ZodObject<{
2198
2202
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2199
2203
  administrativeArea: "administrativeArea";
2200
- location: "location";
2201
2204
  all: "all";
2205
+ location: "location";
2202
2206
  }>, z.ZodObject<{
2203
2207
  $scope: z.ZodEnum<{
2204
- "record.search": "record.search";
2205
- "record.create": "record.create";
2206
- "record.read": "record.read";
2207
- "record.declare": "record.declare";
2208
- "record.notify": "record.notify";
2209
- "record.edit": "record.edit";
2210
- "record.reject": "record.reject";
2211
- "record.archive": "record.archive";
2212
- "record.review-duplicates": "record.review-duplicates";
2213
- "record.register": "record.register";
2214
- "record.print-certified-copies": "record.print-certified-copies";
2215
- "record.request-correction": "record.request-correction";
2216
- "record.correct": "record.correct";
2217
- "record.unassign-others": "record.unassign-others";
2218
- "record.custom-action": "record.custom-action";
2208
+ "attachment.upload": "attachment.upload";
2219
2209
  bypassratelimit: "bypassratelimit";
2220
- "record.reindex": "record.reindex";
2221
- "user.data-seeding": "user.data-seeding";
2222
- "integration.create": "integration.create";
2223
- "record.import": "record.import";
2224
2210
  "config.update-all": "config.update-all";
2225
- "attachment.upload": "attachment.upload";
2226
- "profile.electronic-signature": "profile.electronic-signature";
2227
- "user.read-only-my-audit": "user.read-only-my-audit";
2211
+ "dashboard.view": "dashboard.view";
2212
+ "integration.create": "integration.create";
2213
+ "organisation.read-locations": "organisation.read-locations";
2228
2214
  "performance.read": "performance.read";
2229
2215
  "performance.read-dashboards": "performance.read-dashboards";
2230
2216
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2217
+ "profile.electronic-signature": "profile.electronic-signature";
2218
+ "record.archive": "record.archive";
2231
2219
  "record.confirm-registration": "record.confirm-registration";
2220
+ "record.correct": "record.correct";
2221
+ "record.create": "record.create";
2222
+ "record.custom-action": "record.custom-action";
2223
+ "record.declare": "record.declare";
2224
+ "record.edit": "record.edit";
2225
+ "record.import": "record.import";
2226
+ "record.notify": "record.notify";
2227
+ "record.print-certified-copies": "record.print-certified-copies";
2228
+ "record.read": "record.read";
2229
+ "record.register": "record.register";
2230
+ "record.reindex": "record.reindex";
2231
+ "record.reject": "record.reject";
2232
2232
  "record.reject-registration": "record.reject-registration";
2233
- "organisation.read-locations": "organisation.read-locations";
2234
- "user.read": "user.read";
2233
+ "record.request-correction": "record.request-correction";
2234
+ "record.review-duplicates": "record.review-duplicates";
2235
+ "record.search": "record.search";
2236
+ "record.unassign-others": "record.unassign-others";
2235
2237
  "user.create": "user.create";
2238
+ "user.data-seeding": "user.data-seeding";
2236
2239
  "user.edit": "user.edit";
2240
+ "user.read": "user.read";
2241
+ "user.read-only-my-audit": "user.read-only-my-audit";
2237
2242
  "user.search": "user.search";
2238
2243
  workqueue: "workqueue";
2239
- "dashboard.view": "dashboard.view";
2240
2244
  }>;
2241
2245
  $option: z.ZodEnum<{
2242
- role: "role";
2246
+ accessLevel: "accessLevel";
2247
+ declaredBy: "declaredBy";
2248
+ declaredIn: "declaredIn";
2243
2249
  event: "event";
2250
+ ids: "ids";
2251
+ notifiedBy: "notifiedBy";
2252
+ notifiedIn: "notifiedIn";
2244
2253
  placeOfEvent: "placeOfEvent";
2245
- declaredIn: "declaredIn";
2246
- declaredBy: "declaredBy";
2247
- registeredIn: "registeredIn";
2248
2254
  registeredBy: "registeredBy";
2249
- accessLevel: "accessLevel";
2250
- ids: "ids";
2255
+ registeredIn: "registeredIn";
2256
+ role: "role";
2251
2257
  }>;
2252
2258
  }, z.core.$strip>]>;
2253
2259
  }, z.core.$strip>>;
@@ -2309,57 +2315,59 @@ declare const Office: z.ZodObject<{
2309
2315
  allowedLocations: z.ZodOptional<z.ZodObject<{
2310
2316
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2311
2317
  administrativeArea: "administrativeArea";
2312
- location: "location";
2313
2318
  all: "all";
2319
+ location: "location";
2314
2320
  }>, z.ZodObject<{
2315
2321
  $scope: z.ZodEnum<{
2316
- "record.search": "record.search";
2317
- "record.create": "record.create";
2318
- "record.read": "record.read";
2319
- "record.declare": "record.declare";
2320
- "record.notify": "record.notify";
2321
- "record.edit": "record.edit";
2322
- "record.reject": "record.reject";
2323
- "record.archive": "record.archive";
2324
- "record.review-duplicates": "record.review-duplicates";
2325
- "record.register": "record.register";
2326
- "record.print-certified-copies": "record.print-certified-copies";
2327
- "record.request-correction": "record.request-correction";
2328
- "record.correct": "record.correct";
2329
- "record.unassign-others": "record.unassign-others";
2330
- "record.custom-action": "record.custom-action";
2322
+ "attachment.upload": "attachment.upload";
2331
2323
  bypassratelimit: "bypassratelimit";
2332
- "record.reindex": "record.reindex";
2333
- "user.data-seeding": "user.data-seeding";
2334
- "integration.create": "integration.create";
2335
- "record.import": "record.import";
2336
2324
  "config.update-all": "config.update-all";
2337
- "attachment.upload": "attachment.upload";
2338
- "profile.electronic-signature": "profile.electronic-signature";
2339
- "user.read-only-my-audit": "user.read-only-my-audit";
2325
+ "dashboard.view": "dashboard.view";
2326
+ "integration.create": "integration.create";
2327
+ "organisation.read-locations": "organisation.read-locations";
2340
2328
  "performance.read": "performance.read";
2341
2329
  "performance.read-dashboards": "performance.read-dashboards";
2342
2330
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2331
+ "profile.electronic-signature": "profile.electronic-signature";
2332
+ "record.archive": "record.archive";
2343
2333
  "record.confirm-registration": "record.confirm-registration";
2334
+ "record.correct": "record.correct";
2335
+ "record.create": "record.create";
2336
+ "record.custom-action": "record.custom-action";
2337
+ "record.declare": "record.declare";
2338
+ "record.edit": "record.edit";
2339
+ "record.import": "record.import";
2340
+ "record.notify": "record.notify";
2341
+ "record.print-certified-copies": "record.print-certified-copies";
2342
+ "record.read": "record.read";
2343
+ "record.register": "record.register";
2344
+ "record.reindex": "record.reindex";
2345
+ "record.reject": "record.reject";
2344
2346
  "record.reject-registration": "record.reject-registration";
2345
- "organisation.read-locations": "organisation.read-locations";
2346
- "user.read": "user.read";
2347
+ "record.request-correction": "record.request-correction";
2348
+ "record.review-duplicates": "record.review-duplicates";
2349
+ "record.search": "record.search";
2350
+ "record.unassign-others": "record.unassign-others";
2347
2351
  "user.create": "user.create";
2352
+ "user.data-seeding": "user.data-seeding";
2348
2353
  "user.edit": "user.edit";
2354
+ "user.read": "user.read";
2355
+ "user.read-only-my-audit": "user.read-only-my-audit";
2349
2356
  "user.search": "user.search";
2350
2357
  workqueue: "workqueue";
2351
- "dashboard.view": "dashboard.view";
2352
2358
  }>;
2353
2359
  $option: z.ZodEnum<{
2354
- role: "role";
2360
+ accessLevel: "accessLevel";
2361
+ declaredBy: "declaredBy";
2362
+ declaredIn: "declaredIn";
2355
2363
  event: "event";
2364
+ ids: "ids";
2365
+ notifiedBy: "notifiedBy";
2366
+ notifiedIn: "notifiedIn";
2356
2367
  placeOfEvent: "placeOfEvent";
2357
- declaredIn: "declaredIn";
2358
- declaredBy: "declaredBy";
2359
- registeredIn: "registeredIn";
2360
2368
  registeredBy: "registeredBy";
2361
- accessLevel: "accessLevel";
2362
- ids: "ids";
2369
+ registeredIn: "registeredIn";
2370
+ role: "role";
2363
2371
  }>;
2364
2372
  }, z.core.$strip>]>;
2365
2373
  }, z.core.$strip>>;
@@ -2372,18 +2380,18 @@ export declare const DefaultAddressFieldValue: z.ZodObject<{
2372
2380
  addressType: z.ZodLiteral<"DOMESTIC">;
2373
2381
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2374
2382
  $userField: z.ZodEnum<{
2375
- id: "id";
2383
+ administrativeAreaId: "administrativeAreaId";
2384
+ avatar: "avatar";
2385
+ device: "device";
2376
2386
  firstname: "firstname";
2377
- surname: "surname";
2387
+ fullHonorificName: "fullHonorificName";
2388
+ id: "id";
2378
2389
  middlename: "middlename";
2379
2390
  name: "name";
2391
+ primaryOfficeId: "primaryOfficeId";
2380
2392
  role: "role";
2381
- fullHonorificName: "fullHonorificName";
2382
- device: "device";
2383
2393
  signature: "signature";
2384
- avatar: "avatar";
2385
- primaryOfficeId: "primaryOfficeId";
2386
- administrativeAreaId: "administrativeAreaId";
2394
+ surname: "surname";
2387
2395
  }>;
2388
2396
  $location: z.ZodOptional<z.ZodString>;
2389
2397
  }, z.core.$strip>]>>;
@@ -2438,7 +2446,6 @@ declare const Address: z.ZodObject<{
2438
2446
  lineSeparator: z.ZodOptional<z.ZodString>;
2439
2447
  fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2440
2448
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2441
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2442
2449
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2443
2450
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2444
2451
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2453,6 +2460,7 @@ declare const Address: z.ZodObject<{
2453
2460
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2454
2461
  conditional: z.ZodAny;
2455
2462
  }, z.core.$strip>], "type">>>>>;
2463
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2456
2464
  optionOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2457
2465
  value: z.ZodString;
2458
2466
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2465,7 +2473,6 @@ declare const Address: z.ZodObject<{
2465
2473
  }, z.core.$strip>>>>;
2466
2474
  }, z.core.$strip>, z.ZodObject<{
2467
2475
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2468
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2469
2476
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2470
2477
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2471
2478
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2480,6 +2487,7 @@ declare const Address: z.ZodObject<{
2480
2487
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2481
2488
  conditional: z.ZodAny;
2482
2489
  }, z.core.$strip>], "type">>>>>;
2490
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2483
2491
  }, z.core.$strip>]>>>;
2484
2492
  streetAddressForm: z.ZodOptional<z.ZodArray<z.ZodObject<{
2485
2493
  id: z.ZodString;
@@ -2507,57 +2515,59 @@ declare const Address: z.ZodObject<{
2507
2515
  allowedLocations: z.ZodOptional<z.ZodObject<{
2508
2516
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2509
2517
  administrativeArea: "administrativeArea";
2510
- location: "location";
2511
2518
  all: "all";
2519
+ location: "location";
2512
2520
  }>, z.ZodObject<{
2513
2521
  $scope: z.ZodEnum<{
2514
- "record.search": "record.search";
2515
- "record.create": "record.create";
2516
- "record.read": "record.read";
2517
- "record.declare": "record.declare";
2518
- "record.notify": "record.notify";
2519
- "record.edit": "record.edit";
2520
- "record.reject": "record.reject";
2521
- "record.archive": "record.archive";
2522
- "record.review-duplicates": "record.review-duplicates";
2523
- "record.register": "record.register";
2524
- "record.print-certified-copies": "record.print-certified-copies";
2525
- "record.request-correction": "record.request-correction";
2526
- "record.correct": "record.correct";
2527
- "record.unassign-others": "record.unassign-others";
2528
- "record.custom-action": "record.custom-action";
2522
+ "attachment.upload": "attachment.upload";
2529
2523
  bypassratelimit: "bypassratelimit";
2530
- "record.reindex": "record.reindex";
2531
- "user.data-seeding": "user.data-seeding";
2532
- "integration.create": "integration.create";
2533
- "record.import": "record.import";
2534
2524
  "config.update-all": "config.update-all";
2535
- "attachment.upload": "attachment.upload";
2536
- "profile.electronic-signature": "profile.electronic-signature";
2537
- "user.read-only-my-audit": "user.read-only-my-audit";
2525
+ "dashboard.view": "dashboard.view";
2526
+ "integration.create": "integration.create";
2527
+ "organisation.read-locations": "organisation.read-locations";
2538
2528
  "performance.read": "performance.read";
2539
2529
  "performance.read-dashboards": "performance.read-dashboards";
2540
2530
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2531
+ "profile.electronic-signature": "profile.electronic-signature";
2532
+ "record.archive": "record.archive";
2541
2533
  "record.confirm-registration": "record.confirm-registration";
2534
+ "record.correct": "record.correct";
2535
+ "record.create": "record.create";
2536
+ "record.custom-action": "record.custom-action";
2537
+ "record.declare": "record.declare";
2538
+ "record.edit": "record.edit";
2539
+ "record.import": "record.import";
2540
+ "record.notify": "record.notify";
2541
+ "record.print-certified-copies": "record.print-certified-copies";
2542
+ "record.read": "record.read";
2543
+ "record.register": "record.register";
2544
+ "record.reindex": "record.reindex";
2545
+ "record.reject": "record.reject";
2542
2546
  "record.reject-registration": "record.reject-registration";
2543
- "organisation.read-locations": "organisation.read-locations";
2544
- "user.read": "user.read";
2547
+ "record.request-correction": "record.request-correction";
2548
+ "record.review-duplicates": "record.review-duplicates";
2549
+ "record.search": "record.search";
2550
+ "record.unassign-others": "record.unassign-others";
2545
2551
  "user.create": "user.create";
2552
+ "user.data-seeding": "user.data-seeding";
2546
2553
  "user.edit": "user.edit";
2554
+ "user.read": "user.read";
2555
+ "user.read-only-my-audit": "user.read-only-my-audit";
2547
2556
  "user.search": "user.search";
2548
2557
  workqueue: "workqueue";
2549
- "dashboard.view": "dashboard.view";
2550
2558
  }>;
2551
2559
  $option: z.ZodEnum<{
2552
- role: "role";
2560
+ accessLevel: "accessLevel";
2561
+ declaredBy: "declaredBy";
2562
+ declaredIn: "declaredIn";
2553
2563
  event: "event";
2564
+ ids: "ids";
2565
+ notifiedBy: "notifiedBy";
2566
+ notifiedIn: "notifiedIn";
2554
2567
  placeOfEvent: "placeOfEvent";
2555
- declaredIn: "declaredIn";
2556
- declaredBy: "declaredBy";
2557
- registeredIn: "registeredIn";
2558
2568
  registeredBy: "registeredBy";
2559
- accessLevel: "accessLevel";
2560
- ids: "ids";
2569
+ registeredIn: "registeredIn";
2570
+ role: "role";
2561
2571
  }>;
2562
2572
  }, z.core.$strip>]>;
2563
2573
  }, z.core.$strip>>;
@@ -2568,18 +2578,18 @@ declare const Address: z.ZodObject<{
2568
2578
  addressType: z.ZodLiteral<"DOMESTIC">;
2569
2579
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2570
2580
  $userField: z.ZodEnum<{
2571
- id: "id";
2581
+ administrativeAreaId: "administrativeAreaId";
2582
+ avatar: "avatar";
2583
+ device: "device";
2572
2584
  firstname: "firstname";
2573
- surname: "surname";
2585
+ fullHonorificName: "fullHonorificName";
2586
+ id: "id";
2574
2587
  middlename: "middlename";
2575
2588
  name: "name";
2589
+ primaryOfficeId: "primaryOfficeId";
2576
2590
  role: "role";
2577
- fullHonorificName: "fullHonorificName";
2578
- device: "device";
2579
2591
  signature: "signature";
2580
- avatar: "avatar";
2581
- primaryOfficeId: "primaryOfficeId";
2582
- administrativeAreaId: "administrativeAreaId";
2592
+ surname: "surname";
2583
2593
  }>;
2584
2594
  $location: z.ZodOptional<z.ZodString>;
2585
2595
  }, z.core.$strip>]>>;
@@ -2674,27 +2684,27 @@ declare const ButtonConfiguration: z.ZodObject<{
2674
2684
  icon: z.ZodOptional<z.ZodString>;
2675
2685
  loading: z.ZodOptional<z.ZodBoolean>;
2676
2686
  buttonSize: z.ZodOptional<z.ZodEnum<{
2677
- small: "small";
2678
- medium: "medium";
2679
2687
  large: "large";
2688
+ medium: "medium";
2689
+ small: "small";
2680
2690
  }>>;
2681
2691
  buttonType: z.ZodOptional<z.ZodEnum<{
2692
+ icon: "icon";
2693
+ iconPrimary: "iconPrimary";
2694
+ negative: "negative";
2695
+ positive: "positive";
2682
2696
  primary: "primary";
2683
2697
  secondary: "secondary";
2684
- tertiary: "tertiary";
2685
- positive: "positive";
2686
- negative: "negative";
2687
2698
  secondaryNegative: "secondaryNegative";
2688
- icon: "icon";
2689
- iconPrimary: "iconPrimary";
2699
+ tertiary: "tertiary";
2690
2700
  }>>;
2691
2701
  textColor: z.ZodOptional<z.ZodEnum<{
2692
- primary: "primary";
2693
2702
  copy: "copy";
2703
+ primary: "primary";
2694
2704
  }>>;
2695
2705
  textVariant: z.ZodOptional<z.ZodEnum<{
2696
- reg14: "reg14";
2697
2706
  bold14: "bold14";
2707
+ reg14: "reg14";
2698
2708
  }>>;
2699
2709
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2700
2710
  }, z.core.$strip>;
@@ -2751,27 +2761,27 @@ declare const ButtonField: z.ZodObject<{
2751
2761
  icon: z.ZodOptional<z.ZodString>;
2752
2762
  loading: z.ZodOptional<z.ZodBoolean>;
2753
2763
  buttonSize: z.ZodOptional<z.ZodEnum<{
2754
- small: "small";
2755
- medium: "medium";
2756
2764
  large: "large";
2765
+ medium: "medium";
2766
+ small: "small";
2757
2767
  }>>;
2758
2768
  buttonType: z.ZodOptional<z.ZodEnum<{
2769
+ icon: "icon";
2770
+ iconPrimary: "iconPrimary";
2771
+ negative: "negative";
2772
+ positive: "positive";
2759
2773
  primary: "primary";
2760
2774
  secondary: "secondary";
2761
- tertiary: "tertiary";
2762
- positive: "positive";
2763
- negative: "negative";
2764
2775
  secondaryNegative: "secondaryNegative";
2765
- icon: "icon";
2766
- iconPrimary: "iconPrimary";
2776
+ tertiary: "tertiary";
2767
2777
  }>>;
2768
2778
  textColor: z.ZodOptional<z.ZodEnum<{
2769
- primary: "primary";
2770
2779
  copy: "copy";
2780
+ primary: "primary";
2771
2781
  }>>;
2772
2782
  textVariant: z.ZodOptional<z.ZodEnum<{
2773
- reg14: "reg14";
2774
2783
  bold14: "bold14";
2784
+ reg14: "reg14";
2775
2785
  }>>;
2776
2786
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2777
2787
  }, z.core.$strip>;
@@ -3153,10 +3163,10 @@ declare const VerificationStatus: z.ZodObject<{
3153
3163
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3154
3164
  type: z.ZodLiteral<"VERIFICATION_STATUS">;
3155
3165
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
3156
- verified: "verified";
3157
3166
  authenticated: "authenticated";
3158
3167
  failed: "failed";
3159
3168
  pending: "pending";
3169
+ verified: "verified";
3160
3170
  }>, z.ZodObject<{
3161
3171
  $$code: z.ZodString;
3162
3172
  }, z.core.$strip>]>>;
@@ -3708,14 +3718,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3708
3718
  configuration: z.ZodDefault<z.ZodObject<{
3709
3719
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3710
3720
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3711
- "image/png": "image/png";
3712
- "image/jpg": "image/jpg";
3713
- "image/jpeg": "image/jpeg";
3714
- "image/svg+xml": "image/svg+xml";
3715
- "application/pdf": "application/pdf";
3716
3721
  "application/msword": "application/msword";
3717
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3722
+ "application/pdf": "application/pdf";
3718
3723
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3724
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3725
+ "image/jpeg": "image/jpeg";
3726
+ "image/jpg": "image/jpg";
3727
+ "image/png": "image/png";
3728
+ "image/svg+xml": "image/svg+xml";
3719
3729
  }>>>;
3720
3730
  }, z.core.$strip>>;
3721
3731
  }, z.core.$strip>, z.ZodObject<{
@@ -3773,14 +3783,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3773
3783
  configuration: z.ZodDefault<z.ZodObject<{
3774
3784
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3775
3785
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3776
- "image/png": "image/png";
3777
- "image/jpg": "image/jpg";
3778
- "image/jpeg": "image/jpeg";
3779
- "image/svg+xml": "image/svg+xml";
3780
- "application/pdf": "application/pdf";
3781
3786
  "application/msword": "application/msword";
3782
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3787
+ "application/pdf": "application/pdf";
3783
3788
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3789
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3790
+ "image/jpeg": "image/jpeg";
3791
+ "image/jpg": "image/jpg";
3792
+ "image/png": "image/png";
3793
+ "image/svg+xml": "image/svg+xml";
3784
3794
  }>>>;
3785
3795
  maxImageSize: z.ZodOptional<z.ZodObject<{
3786
3796
  targetSize: z.ZodObject<{
@@ -3790,8 +3800,8 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3790
3800
  }, z.core.$strip>>;
3791
3801
  style: z.ZodOptional<z.ZodObject<{
3792
3802
  width: z.ZodOptional<z.ZodEnum<{
3793
- full: "full";
3794
3803
  auto: "auto";
3804
+ full: "full";
3795
3805
  }>>;
3796
3806
  }, z.core.$strip>>;
3797
3807
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -3869,14 +3879,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3869
3879
  }, z.core.$strip>;
3870
3880
  }, z.core.$strip>>;
3871
3881
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3872
- "image/png": "image/png";
3873
- "image/jpg": "image/jpg";
3874
- "image/jpeg": "image/jpeg";
3875
- "image/svg+xml": "image/svg+xml";
3876
- "application/pdf": "application/pdf";
3877
3882
  "application/msword": "application/msword";
3878
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3883
+ "application/pdf": "application/pdf";
3879
3884
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3885
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3886
+ "image/jpeg": "image/jpeg";
3887
+ "image/jpg": "image/jpg";
3888
+ "image/png": "image/png";
3889
+ "image/svg+xml": "image/svg+xml";
3880
3890
  }>>>;
3881
3891
  }, z.core.$strip>>;
3882
3892
  }, z.core.$strip>], "type">;