@opencrvs/toolkit 2.0.0-rc.ec87222 → 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 +23 -6
  4. package/dist/cli.js +3253 -47
  5. package/dist/commons/api/router.d.ts +2965 -2946
  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 +332 -321
  23. package/dist/commons/events/FieldType.d.ts +51 -50
  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 +192 -67
  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 +112 -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.ec87222.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<{
@@ -267,6 +267,7 @@ declare const NumberField: z.ZodObject<{
267
267
  configuration: z.ZodOptional<z.ZodObject<{
268
268
  min: z.ZodOptional<z.ZodNumber>;
269
269
  max: z.ZodOptional<z.ZodNumber>;
270
+ integer: z.ZodOptional<z.ZodBoolean>;
270
271
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
271
272
  postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
272
273
  }, z.core.$strip>>;
@@ -329,26 +330,26 @@ declare const TextAreaField: z.ZodObject<{
329
330
  }, z.core.$strip>;
330
331
  export type TextAreaField = z.infer<typeof TextAreaField>;
331
332
  export declare const ImageMimeType: z.ZodEnum<{
332
- "image/png": "image/png";
333
- "image/jpg": "image/jpg";
334
333
  "image/jpeg": "image/jpeg";
334
+ "image/jpg": "image/jpg";
335
+ "image/png": "image/png";
335
336
  "image/svg+xml": "image/svg+xml";
336
337
  }>;
337
338
  export declare const DocumentMimeType: z.ZodEnum<{
338
- "application/pdf": "application/pdf";
339
339
  "application/msword": "application/msword";
340
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
340
+ "application/pdf": "application/pdf";
341
341
  "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
342
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
342
343
  }>;
343
344
  export declare const MimeType: z.ZodEnum<{
344
- "image/png": "image/png";
345
- "image/jpg": "image/jpg";
346
- "image/jpeg": "image/jpeg";
347
- "image/svg+xml": "image/svg+xml";
348
- "application/pdf": "application/pdf";
349
345
  "application/msword": "application/msword";
350
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
346
+ "application/pdf": "application/pdf";
351
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";
352
353
  }>;
353
354
  export type MimeType = z.infer<typeof MimeType>;
354
355
  declare const SignatureField: z.ZodObject<{
@@ -407,14 +408,14 @@ declare const SignatureField: z.ZodObject<{
407
408
  configuration: z.ZodDefault<z.ZodObject<{
408
409
  maxFileSize: z.ZodDefault<z.ZodNumber>;
409
410
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
410
- "image/png": "image/png";
411
- "image/jpg": "image/jpg";
412
- "image/jpeg": "image/jpeg";
413
- "image/svg+xml": "image/svg+xml";
414
- "application/pdf": "application/pdf";
415
411
  "application/msword": "application/msword";
416
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
412
+ "application/pdf": "application/pdf";
417
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";
418
419
  }>>>;
419
420
  }, z.core.$strip>>;
420
421
  }, z.core.$strip>;
@@ -699,25 +700,25 @@ declare const DateRangeField: z.ZodObject<{
699
700
  }, z.core.$strip>;
700
701
  export type DateRangeField = z.infer<typeof DateRangeField>;
701
702
  declare const HtmlFontVariant: z.ZodEnum<{
703
+ h1: "h1";
704
+ h2: "h2";
705
+ h3: "h3";
706
+ h4: "h4";
702
707
  reg12: "reg12";
703
708
  reg14: "reg14";
704
709
  reg16: "reg16";
705
710
  reg18: "reg18";
706
- h4: "h4";
707
- h3: "h3";
708
- h2: "h2";
709
- h1: "h1";
710
711
  }>;
711
712
  export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
712
713
  declare const ParagraphConfiguration: z.ZodDefault<z.ZodObject<{
713
714
  styles: z.ZodOptional<z.ZodObject<{
714
715
  hint: z.ZodOptional<z.ZodBoolean>;
715
716
  textAlign: z.ZodOptional<z.ZodEnum<{
716
- start: "start";
717
+ center: "center";
717
718
  end: "end";
718
719
  left: "left";
719
- center: "center";
720
720
  right: "right";
721
+ start: "start";
721
722
  }>>;
722
723
  }, z.core.$strip>>;
723
724
  }, z.core.$strip>>;
@@ -725,19 +726,19 @@ export type ParagraphConfiguration = z.infer<typeof ParagraphConfiguration>;
725
726
  declare const HeadingConfiguration: z.ZodDefault<z.ZodObject<{
726
727
  styles: z.ZodOptional<z.ZodObject<{
727
728
  fontVariant: z.ZodOptional<z.ZodEnum<{
729
+ h3: "h3";
730
+ h4: "h4";
728
731
  reg12: "reg12";
729
732
  reg14: "reg14";
730
733
  reg16: "reg16";
731
734
  reg18: "reg18";
732
- h4: "h4";
733
- h3: "h3";
734
735
  }>>;
735
736
  textAlign: z.ZodOptional<z.ZodEnum<{
736
- start: "start";
737
+ center: "center";
737
738
  end: "end";
738
739
  left: "left";
739
- center: "center";
740
740
  right: "right";
741
+ start: "start";
741
742
  }>>;
742
743
  }, z.core.$strip>>;
743
744
  }, z.core.$strip>>;
@@ -747,16 +748,16 @@ declare const ImageConfiguration: z.ZodObject<{
747
748
  width: z.ZodOptional<z.ZodString>;
748
749
  height: z.ZodOptional<z.ZodString>;
749
750
  textAlign: z.ZodOptional<z.ZodEnum<{
750
- start: "start";
751
+ center: "center";
751
752
  end: "end";
752
753
  left: "left";
753
- center: "center";
754
754
  right: "right";
755
+ start: "start";
755
756
  }>>;
756
757
  objectFit: z.ZodOptional<z.ZodEnum<{
757
- fill: "fill";
758
758
  contain: "contain";
759
759
  cover: "cover";
760
+ fill: "fill";
760
761
  none: "none";
761
762
  "scale-down": "scale-down";
762
763
  }>>;
@@ -813,16 +814,16 @@ declare const ImageViewField: z.ZodObject<{
813
814
  width: z.ZodOptional<z.ZodString>;
814
815
  height: z.ZodOptional<z.ZodString>;
815
816
  textAlign: z.ZodOptional<z.ZodEnum<{
816
- start: "start";
817
+ center: "center";
817
818
  end: "end";
818
819
  left: "left";
819
- center: "center";
820
820
  right: "right";
821
+ start: "start";
821
822
  }>>;
822
823
  objectFit: z.ZodOptional<z.ZodEnum<{
823
- fill: "fill";
824
824
  contain: "contain";
825
825
  cover: "cover";
826
+ fill: "fill";
826
827
  none: "none";
827
828
  "scale-down": "scale-down";
828
829
  }>>;
@@ -878,11 +879,11 @@ declare const Paragraph: z.ZodObject<{
878
879
  styles: z.ZodOptional<z.ZodObject<{
879
880
  hint: z.ZodOptional<z.ZodBoolean>;
880
881
  textAlign: z.ZodOptional<z.ZodEnum<{
881
- start: "start";
882
+ center: "center";
882
883
  end: "end";
883
884
  left: "left";
884
- center: "center";
885
885
  right: "right";
886
+ start: "start";
886
887
  }>>;
887
888
  }, z.core.$strip>>;
888
889
  }, z.core.$strip>>;
@@ -936,19 +937,19 @@ declare const Heading: z.ZodObject<{
936
937
  configuration: z.ZodDefault<z.ZodObject<{
937
938
  styles: z.ZodOptional<z.ZodObject<{
938
939
  fontVariant: z.ZodOptional<z.ZodEnum<{
940
+ h3: "h3";
941
+ h4: "h4";
939
942
  reg12: "reg12";
940
943
  reg14: "reg14";
941
944
  reg16: "reg16";
942
945
  reg18: "reg18";
943
- h4: "h4";
944
- h3: "h3";
945
946
  }>>;
946
947
  textAlign: z.ZodOptional<z.ZodEnum<{
947
- start: "start";
948
+ center: "center";
948
949
  end: "end";
949
950
  left: "left";
950
- center: "center";
951
951
  right: "right";
952
+ start: "start";
952
953
  }>>;
953
954
  }, z.core.$strip>>;
954
955
  }, z.core.$strip>>;
@@ -1056,14 +1057,14 @@ declare const File: z.ZodObject<{
1056
1057
  configuration: z.ZodDefault<z.ZodObject<{
1057
1058
  maxFileSize: z.ZodDefault<z.ZodNumber>;
1058
1059
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1059
- "image/png": "image/png";
1060
- "image/jpg": "image/jpg";
1061
- "image/jpeg": "image/jpeg";
1062
- "image/svg+xml": "image/svg+xml";
1063
- "application/pdf": "application/pdf";
1064
1060
  "application/msword": "application/msword";
1065
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1061
+ "application/pdf": "application/pdf";
1066
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";
1067
1068
  }>>>;
1068
1069
  maxImageSize: z.ZodOptional<z.ZodObject<{
1069
1070
  targetSize: z.ZodObject<{
@@ -1073,8 +1074,8 @@ declare const File: z.ZodObject<{
1073
1074
  }, z.core.$strip>>;
1074
1075
  style: z.ZodOptional<z.ZodObject<{
1075
1076
  width: z.ZodOptional<z.ZodEnum<{
1076
- full: "full";
1077
1077
  auto: "auto";
1078
+ full: "full";
1078
1079
  }>>;
1079
1080
  }, z.core.$strip>>;
1080
1081
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -1222,8 +1223,8 @@ declare const RadioGroup: z.ZodObject<{
1222
1223
  configuration: z.ZodOptional<z.ZodObject<{
1223
1224
  styles: z.ZodOptional<z.ZodObject<{
1224
1225
  size: z.ZodOptional<z.ZodEnum<{
1225
- NORMAL: "NORMAL";
1226
1226
  LARGE: "LARGE";
1227
+ NORMAL: "NORMAL";
1227
1228
  }>>;
1228
1229
  }, z.core.$strip>>;
1229
1230
  }, z.core.$strip>>;
@@ -1278,14 +1279,14 @@ declare const BulletList: z.ZodObject<{
1278
1279
  configuration: z.ZodDefault<z.ZodObject<{
1279
1280
  styles: z.ZodOptional<z.ZodObject<{
1280
1281
  fontVariant: z.ZodOptional<z.ZodEnum<{
1282
+ h1: "h1";
1283
+ h2: "h2";
1284
+ h3: "h3";
1285
+ h4: "h4";
1281
1286
  reg12: "reg12";
1282
1287
  reg14: "reg14";
1283
1288
  reg16: "reg16";
1284
1289
  reg18: "reg18";
1285
- h4: "h4";
1286
- h3: "h3";
1287
- h2: "h2";
1288
- h1: "h1";
1289
1290
  }>>;
1290
1291
  }, z.core.$strip>>;
1291
1292
  }, z.core.$strip>>;
@@ -1354,10 +1355,10 @@ declare const Select: z.ZodObject<{
1354
1355
  }, z.core.$strip>;
1355
1356
  export declare const SelectDateRangeOption: z.ZodObject<{
1356
1357
  value: z.ZodEnum<{
1357
- last7Days: "last7Days";
1358
1358
  last30Days: "last30Days";
1359
- last90Days: "last90Days";
1360
1359
  last365Days: "last365Days";
1360
+ last7Days: "last7Days";
1361
+ last90Days: "last90Days";
1361
1362
  }>;
1362
1363
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
1363
1364
  }, z.core.$strip>;
@@ -1411,19 +1412,19 @@ export declare const SelectDateRangeField: z.ZodObject<{
1411
1412
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1412
1413
  type: z.ZodLiteral<"SELECT_DATE_RANGE">;
1413
1414
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
1414
- last7Days: "last7Days";
1415
1415
  last30Days: "last30Days";
1416
- last90Days: "last90Days";
1417
1416
  last365Days: "last365Days";
1417
+ last7Days: "last7Days";
1418
+ last90Days: "last90Days";
1418
1419
  }>, z.ZodObject<{
1419
1420
  $$code: z.ZodString;
1420
1421
  }, z.core.$strip>]>>;
1421
1422
  options: z.ZodArray<z.ZodObject<{
1422
1423
  value: z.ZodEnum<{
1423
- last7Days: "last7Days";
1424
1424
  last30Days: "last30Days";
1425
- last90Days: "last90Days";
1426
1425
  last365Days: "last365Days";
1426
+ last7Days: "last7Days";
1427
+ last90Days: "last90Days";
1427
1428
  }>;
1428
1429
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
1429
1430
  }, z.core.$strip>>;
@@ -1498,52 +1499,52 @@ declare const NameField: z.ZodObject<{
1498
1499
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1499
1500
  firstname: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1500
1501
  $userField: z.ZodEnum<{
1501
- id: "id";
1502
+ administrativeAreaId: "administrativeAreaId";
1503
+ avatar: "avatar";
1504
+ device: "device";
1502
1505
  firstname: "firstname";
1503
- surname: "surname";
1506
+ fullHonorificName: "fullHonorificName";
1507
+ id: "id";
1504
1508
  middlename: "middlename";
1505
1509
  name: "name";
1510
+ primaryOfficeId: "primaryOfficeId";
1506
1511
  role: "role";
1507
- fullHonorificName: "fullHonorificName";
1508
- device: "device";
1509
1512
  signature: "signature";
1510
- avatar: "avatar";
1511
- primaryOfficeId: "primaryOfficeId";
1512
- administrativeAreaId: "administrativeAreaId";
1513
+ surname: "surname";
1513
1514
  }>;
1514
1515
  $location: z.ZodOptional<z.ZodString>;
1515
1516
  }, z.core.$strip>, z.ZodString]>>;
1516
1517
  middlename: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1517
1518
  $userField: z.ZodEnum<{
1518
- id: "id";
1519
+ administrativeAreaId: "administrativeAreaId";
1520
+ avatar: "avatar";
1521
+ device: "device";
1519
1522
  firstname: "firstname";
1520
- surname: "surname";
1523
+ fullHonorificName: "fullHonorificName";
1524
+ id: "id";
1521
1525
  middlename: "middlename";
1522
1526
  name: "name";
1527
+ primaryOfficeId: "primaryOfficeId";
1523
1528
  role: "role";
1524
- fullHonorificName: "fullHonorificName";
1525
- device: "device";
1526
1529
  signature: "signature";
1527
- avatar: "avatar";
1528
- primaryOfficeId: "primaryOfficeId";
1529
- administrativeAreaId: "administrativeAreaId";
1530
+ surname: "surname";
1530
1531
  }>;
1531
1532
  $location: z.ZodOptional<z.ZodString>;
1532
1533
  }, z.core.$strip>, z.ZodString]>>;
1533
1534
  surname: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1534
1535
  $userField: z.ZodEnum<{
1535
- id: "id";
1536
+ administrativeAreaId: "administrativeAreaId";
1537
+ avatar: "avatar";
1538
+ device: "device";
1536
1539
  firstname: "firstname";
1537
- surname: "surname";
1540
+ fullHonorificName: "fullHonorificName";
1541
+ id: "id";
1538
1542
  middlename: "middlename";
1539
1543
  name: "name";
1544
+ primaryOfficeId: "primaryOfficeId";
1540
1545
  role: "role";
1541
- fullHonorificName: "fullHonorificName";
1542
- device: "device";
1543
1546
  signature: "signature";
1544
- avatar: "avatar";
1545
- primaryOfficeId: "primaryOfficeId";
1546
- administrativeAreaId: "administrativeAreaId";
1547
+ surname: "surname";
1547
1548
  }>;
1548
1549
  $location: z.ZodOptional<z.ZodString>;
1549
1550
  }, z.core.$strip>, z.ZodString]>>;
@@ -1573,8 +1574,8 @@ declare const NameField: z.ZodObject<{
1573
1574
  }, z.core.$strip>>>;
1574
1575
  order: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1575
1576
  firstname: "firstname";
1576
- surname: "surname";
1577
1577
  middlename: "middlename";
1578
+ surname: "surname";
1578
1579
  }>>>;
1579
1580
  maxLength: z.ZodOptional<z.ZodNumber>;
1580
1581
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -1792,8 +1793,8 @@ declare const Country: z.ZodObject<{
1792
1793
  export type Country = z.infer<typeof Country>;
1793
1794
  export declare const AdministrativeAreas: z.ZodEnum<{
1794
1795
  ADMIN_STRUCTURE: "ADMIN_STRUCTURE";
1795
- HEALTH_FACILITY: "HEALTH_FACILITY";
1796
1796
  CRVS_OFFICE: "CRVS_OFFICE";
1797
+ HEALTH_FACILITY: "HEALTH_FACILITY";
1797
1798
  }>;
1798
1799
  declare const AdministrativeAreaField: z.ZodObject<{
1799
1800
  id: z.ZodString;
@@ -1842,18 +1843,18 @@ declare const AdministrativeAreaField: z.ZodObject<{
1842
1843
  type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
1843
1844
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1844
1845
  $userField: z.ZodEnum<{
1845
- id: "id";
1846
+ administrativeAreaId: "administrativeAreaId";
1847
+ avatar: "avatar";
1848
+ device: "device";
1846
1849
  firstname: "firstname";
1847
- surname: "surname";
1850
+ fullHonorificName: "fullHonorificName";
1851
+ id: "id";
1848
1852
  middlename: "middlename";
1849
1853
  name: "name";
1854
+ primaryOfficeId: "primaryOfficeId";
1850
1855
  role: "role";
1851
- fullHonorificName: "fullHonorificName";
1852
- device: "device";
1853
1856
  signature: "signature";
1854
- avatar: "avatar";
1855
- primaryOfficeId: "primaryOfficeId";
1856
- administrativeAreaId: "administrativeAreaId";
1857
+ surname: "surname";
1857
1858
  }>;
1858
1859
  $location: z.ZodOptional<z.ZodString>;
1859
1860
  }, z.core.$strip>, z.ZodObject<{
@@ -1867,63 +1868,65 @@ declare const AdministrativeAreaField: z.ZodObject<{
1867
1868
  }, z.core.$strip>>;
1868
1869
  type: z.ZodEnum<{
1869
1870
  ADMIN_STRUCTURE: "ADMIN_STRUCTURE";
1870
- HEALTH_FACILITY: "HEALTH_FACILITY";
1871
1871
  CRVS_OFFICE: "CRVS_OFFICE";
1872
+ HEALTH_FACILITY: "HEALTH_FACILITY";
1872
1873
  }>;
1873
1874
  allowedLocations: z.ZodOptional<z.ZodObject<{
1874
1875
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
1875
1876
  administrativeArea: "administrativeArea";
1876
- location: "location";
1877
1877
  all: "all";
1878
+ location: "location";
1878
1879
  }>, z.ZodObject<{
1879
1880
  $scope: z.ZodEnum<{
1880
- "record.search": "record.search";
1881
- "record.create": "record.create";
1882
- "record.read": "record.read";
1883
- "record.declare": "record.declare";
1884
- "record.notify": "record.notify";
1885
- "record.edit": "record.edit";
1886
- "record.reject": "record.reject";
1887
- "record.archive": "record.archive";
1888
- "record.review-duplicates": "record.review-duplicates";
1889
- "record.register": "record.register";
1890
- "record.print-certified-copies": "record.print-certified-copies";
1891
- "record.request-correction": "record.request-correction";
1892
- "record.correct": "record.correct";
1893
- "record.unassign-others": "record.unassign-others";
1894
- "record.custom-action": "record.custom-action";
1881
+ "attachment.upload": "attachment.upload";
1895
1882
  bypassratelimit: "bypassratelimit";
1896
- "record.reindex": "record.reindex";
1897
- "user.data-seeding": "user.data-seeding";
1898
- "integration.create": "integration.create";
1899
- "record.import": "record.import";
1900
1883
  "config.update-all": "config.update-all";
1901
- "attachment.upload": "attachment.upload";
1902
- "profile.electronic-signature": "profile.electronic-signature";
1903
- "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";
1904
1887
  "performance.read": "performance.read";
1905
1888
  "performance.read-dashboards": "performance.read-dashboards";
1906
1889
  "performance.vital-statistics-export": "performance.vital-statistics-export";
1890
+ "profile.electronic-signature": "profile.electronic-signature";
1891
+ "record.archive": "record.archive";
1907
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";
1908
1905
  "record.reject-registration": "record.reject-registration";
1909
- "organisation.read-locations": "organisation.read-locations";
1910
- "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";
1911
1910
  "user.create": "user.create";
1911
+ "user.data-seeding": "user.data-seeding";
1912
1912
  "user.edit": "user.edit";
1913
+ "user.read": "user.read";
1914
+ "user.read-only-my-audit": "user.read-only-my-audit";
1913
1915
  "user.search": "user.search";
1914
1916
  workqueue: "workqueue";
1915
- "dashboard.view": "dashboard.view";
1916
1917
  }>;
1917
1918
  $option: z.ZodEnum<{
1918
- role: "role";
1919
+ accessLevel: "accessLevel";
1920
+ declaredBy: "declaredBy";
1921
+ declaredIn: "declaredIn";
1919
1922
  event: "event";
1923
+ ids: "ids";
1924
+ notifiedBy: "notifiedBy";
1925
+ notifiedIn: "notifiedIn";
1920
1926
  placeOfEvent: "placeOfEvent";
1921
- declaredIn: "declaredIn";
1922
- declaredBy: "declaredBy";
1923
- registeredIn: "registeredIn";
1924
1927
  registeredBy: "registeredBy";
1925
- accessLevel: "accessLevel";
1926
- ids: "ids";
1928
+ registeredIn: "registeredIn";
1929
+ role: "role";
1927
1930
  }>;
1928
1931
  }, z.core.$strip>]>;
1929
1932
  }, z.core.$strip>>;
@@ -1977,18 +1980,18 @@ declare const LocationInput: z.ZodObject<{
1977
1980
  type: z.ZodLiteral<"LOCATION">;
1978
1981
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1979
1982
  $userField: z.ZodEnum<{
1980
- id: "id";
1983
+ administrativeAreaId: "administrativeAreaId";
1984
+ avatar: "avatar";
1985
+ device: "device";
1981
1986
  firstname: "firstname";
1982
- surname: "surname";
1987
+ fullHonorificName: "fullHonorificName";
1988
+ id: "id";
1983
1989
  middlename: "middlename";
1984
1990
  name: "name";
1991
+ primaryOfficeId: "primaryOfficeId";
1985
1992
  role: "role";
1986
- fullHonorificName: "fullHonorificName";
1987
- device: "device";
1988
1993
  signature: "signature";
1989
- avatar: "avatar";
1990
- primaryOfficeId: "primaryOfficeId";
1991
- administrativeAreaId: "administrativeAreaId";
1994
+ surname: "surname";
1992
1995
  }>;
1993
1996
  $location: z.ZodOptional<z.ZodString>;
1994
1997
  }, z.core.$strip>, z.ZodObject<{
@@ -1999,57 +2002,59 @@ declare const LocationInput: z.ZodObject<{
1999
2002
  allowedLocations: z.ZodOptional<z.ZodObject<{
2000
2003
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2001
2004
  administrativeArea: "administrativeArea";
2002
- location: "location";
2003
2005
  all: "all";
2006
+ location: "location";
2004
2007
  }>, z.ZodObject<{
2005
2008
  $scope: z.ZodEnum<{
2006
- "record.search": "record.search";
2007
- "record.create": "record.create";
2008
- "record.read": "record.read";
2009
- "record.declare": "record.declare";
2010
- "record.notify": "record.notify";
2011
- "record.edit": "record.edit";
2012
- "record.reject": "record.reject";
2013
- "record.archive": "record.archive";
2014
- "record.review-duplicates": "record.review-duplicates";
2015
- "record.register": "record.register";
2016
- "record.print-certified-copies": "record.print-certified-copies";
2017
- "record.request-correction": "record.request-correction";
2018
- "record.correct": "record.correct";
2019
- "record.unassign-others": "record.unassign-others";
2020
- "record.custom-action": "record.custom-action";
2009
+ "attachment.upload": "attachment.upload";
2021
2010
  bypassratelimit: "bypassratelimit";
2022
- "record.reindex": "record.reindex";
2023
- "user.data-seeding": "user.data-seeding";
2024
- "integration.create": "integration.create";
2025
- "record.import": "record.import";
2026
2011
  "config.update-all": "config.update-all";
2027
- "attachment.upload": "attachment.upload";
2028
- "profile.electronic-signature": "profile.electronic-signature";
2029
- "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";
2030
2015
  "performance.read": "performance.read";
2031
2016
  "performance.read-dashboards": "performance.read-dashboards";
2032
2017
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2018
+ "profile.electronic-signature": "profile.electronic-signature";
2019
+ "record.archive": "record.archive";
2033
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";
2034
2033
  "record.reject-registration": "record.reject-registration";
2035
- "organisation.read-locations": "organisation.read-locations";
2036
- "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";
2037
2038
  "user.create": "user.create";
2039
+ "user.data-seeding": "user.data-seeding";
2038
2040
  "user.edit": "user.edit";
2041
+ "user.read": "user.read";
2042
+ "user.read-only-my-audit": "user.read-only-my-audit";
2039
2043
  "user.search": "user.search";
2040
2044
  workqueue: "workqueue";
2041
- "dashboard.view": "dashboard.view";
2042
2045
  }>;
2043
2046
  $option: z.ZodEnum<{
2044
- role: "role";
2047
+ accessLevel: "accessLevel";
2048
+ declaredBy: "declaredBy";
2049
+ declaredIn: "declaredIn";
2045
2050
  event: "event";
2051
+ ids: "ids";
2052
+ notifiedBy: "notifiedBy";
2053
+ notifiedIn: "notifiedIn";
2046
2054
  placeOfEvent: "placeOfEvent";
2047
- declaredIn: "declaredIn";
2048
- declaredBy: "declaredBy";
2049
- registeredIn: "registeredIn";
2050
2055
  registeredBy: "registeredBy";
2051
- accessLevel: "accessLevel";
2052
- ids: "ids";
2056
+ registeredIn: "registeredIn";
2057
+ role: "role";
2053
2058
  }>;
2054
2059
  }, z.core.$strip>]>;
2055
2060
  }, z.core.$strip>>;
@@ -2129,14 +2134,14 @@ declare const FileUploadWithOptions: z.ZodObject<{
2129
2134
  }, z.core.$strip>;
2130
2135
  }, z.core.$strip>>;
2131
2136
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2132
- "image/png": "image/png";
2133
- "image/jpg": "image/jpg";
2134
- "image/jpeg": "image/jpeg";
2135
- "image/svg+xml": "image/svg+xml";
2136
- "application/pdf": "application/pdf";
2137
2137
  "application/msword": "application/msword";
2138
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2138
+ "application/pdf": "application/pdf";
2139
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";
2140
2145
  }>>>;
2141
2146
  }, z.core.$strip>>;
2142
2147
  }, z.core.$strip>;
@@ -2196,57 +2201,59 @@ declare const Facility: z.ZodObject<{
2196
2201
  allowedLocations: z.ZodOptional<z.ZodObject<{
2197
2202
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2198
2203
  administrativeArea: "administrativeArea";
2199
- location: "location";
2200
2204
  all: "all";
2205
+ location: "location";
2201
2206
  }>, z.ZodObject<{
2202
2207
  $scope: z.ZodEnum<{
2203
- "record.search": "record.search";
2204
- "record.create": "record.create";
2205
- "record.read": "record.read";
2206
- "record.declare": "record.declare";
2207
- "record.notify": "record.notify";
2208
- "record.edit": "record.edit";
2209
- "record.reject": "record.reject";
2210
- "record.archive": "record.archive";
2211
- "record.review-duplicates": "record.review-duplicates";
2212
- "record.register": "record.register";
2213
- "record.print-certified-copies": "record.print-certified-copies";
2214
- "record.request-correction": "record.request-correction";
2215
- "record.correct": "record.correct";
2216
- "record.unassign-others": "record.unassign-others";
2217
- "record.custom-action": "record.custom-action";
2208
+ "attachment.upload": "attachment.upload";
2218
2209
  bypassratelimit: "bypassratelimit";
2219
- "record.reindex": "record.reindex";
2220
- "user.data-seeding": "user.data-seeding";
2221
- "integration.create": "integration.create";
2222
- "record.import": "record.import";
2223
2210
  "config.update-all": "config.update-all";
2224
- "attachment.upload": "attachment.upload";
2225
- "profile.electronic-signature": "profile.electronic-signature";
2226
- "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";
2227
2214
  "performance.read": "performance.read";
2228
2215
  "performance.read-dashboards": "performance.read-dashboards";
2229
2216
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2217
+ "profile.electronic-signature": "profile.electronic-signature";
2218
+ "record.archive": "record.archive";
2230
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";
2231
2232
  "record.reject-registration": "record.reject-registration";
2232
- "organisation.read-locations": "organisation.read-locations";
2233
- "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";
2234
2237
  "user.create": "user.create";
2238
+ "user.data-seeding": "user.data-seeding";
2235
2239
  "user.edit": "user.edit";
2240
+ "user.read": "user.read";
2241
+ "user.read-only-my-audit": "user.read-only-my-audit";
2236
2242
  "user.search": "user.search";
2237
2243
  workqueue: "workqueue";
2238
- "dashboard.view": "dashboard.view";
2239
2244
  }>;
2240
2245
  $option: z.ZodEnum<{
2241
- role: "role";
2246
+ accessLevel: "accessLevel";
2247
+ declaredBy: "declaredBy";
2248
+ declaredIn: "declaredIn";
2242
2249
  event: "event";
2250
+ ids: "ids";
2251
+ notifiedBy: "notifiedBy";
2252
+ notifiedIn: "notifiedIn";
2243
2253
  placeOfEvent: "placeOfEvent";
2244
- declaredIn: "declaredIn";
2245
- declaredBy: "declaredBy";
2246
- registeredIn: "registeredIn";
2247
2254
  registeredBy: "registeredBy";
2248
- accessLevel: "accessLevel";
2249
- ids: "ids";
2255
+ registeredIn: "registeredIn";
2256
+ role: "role";
2250
2257
  }>;
2251
2258
  }, z.core.$strip>]>;
2252
2259
  }, z.core.$strip>>;
@@ -2308,57 +2315,59 @@ declare const Office: z.ZodObject<{
2308
2315
  allowedLocations: z.ZodOptional<z.ZodObject<{
2309
2316
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2310
2317
  administrativeArea: "administrativeArea";
2311
- location: "location";
2312
2318
  all: "all";
2319
+ location: "location";
2313
2320
  }>, z.ZodObject<{
2314
2321
  $scope: z.ZodEnum<{
2315
- "record.search": "record.search";
2316
- "record.create": "record.create";
2317
- "record.read": "record.read";
2318
- "record.declare": "record.declare";
2319
- "record.notify": "record.notify";
2320
- "record.edit": "record.edit";
2321
- "record.reject": "record.reject";
2322
- "record.archive": "record.archive";
2323
- "record.review-duplicates": "record.review-duplicates";
2324
- "record.register": "record.register";
2325
- "record.print-certified-copies": "record.print-certified-copies";
2326
- "record.request-correction": "record.request-correction";
2327
- "record.correct": "record.correct";
2328
- "record.unassign-others": "record.unassign-others";
2329
- "record.custom-action": "record.custom-action";
2322
+ "attachment.upload": "attachment.upload";
2330
2323
  bypassratelimit: "bypassratelimit";
2331
- "record.reindex": "record.reindex";
2332
- "user.data-seeding": "user.data-seeding";
2333
- "integration.create": "integration.create";
2334
- "record.import": "record.import";
2335
2324
  "config.update-all": "config.update-all";
2336
- "attachment.upload": "attachment.upload";
2337
- "profile.electronic-signature": "profile.electronic-signature";
2338
- "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";
2339
2328
  "performance.read": "performance.read";
2340
2329
  "performance.read-dashboards": "performance.read-dashboards";
2341
2330
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2331
+ "profile.electronic-signature": "profile.electronic-signature";
2332
+ "record.archive": "record.archive";
2342
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";
2343
2346
  "record.reject-registration": "record.reject-registration";
2344
- "organisation.read-locations": "organisation.read-locations";
2345
- "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";
2346
2351
  "user.create": "user.create";
2352
+ "user.data-seeding": "user.data-seeding";
2347
2353
  "user.edit": "user.edit";
2354
+ "user.read": "user.read";
2355
+ "user.read-only-my-audit": "user.read-only-my-audit";
2348
2356
  "user.search": "user.search";
2349
2357
  workqueue: "workqueue";
2350
- "dashboard.view": "dashboard.view";
2351
2358
  }>;
2352
2359
  $option: z.ZodEnum<{
2353
- role: "role";
2360
+ accessLevel: "accessLevel";
2361
+ declaredBy: "declaredBy";
2362
+ declaredIn: "declaredIn";
2354
2363
  event: "event";
2364
+ ids: "ids";
2365
+ notifiedBy: "notifiedBy";
2366
+ notifiedIn: "notifiedIn";
2355
2367
  placeOfEvent: "placeOfEvent";
2356
- declaredIn: "declaredIn";
2357
- declaredBy: "declaredBy";
2358
- registeredIn: "registeredIn";
2359
2368
  registeredBy: "registeredBy";
2360
- accessLevel: "accessLevel";
2361
- ids: "ids";
2369
+ registeredIn: "registeredIn";
2370
+ role: "role";
2362
2371
  }>;
2363
2372
  }, z.core.$strip>]>;
2364
2373
  }, z.core.$strip>>;
@@ -2371,18 +2380,18 @@ export declare const DefaultAddressFieldValue: z.ZodObject<{
2371
2380
  addressType: z.ZodLiteral<"DOMESTIC">;
2372
2381
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2373
2382
  $userField: z.ZodEnum<{
2374
- id: "id";
2383
+ administrativeAreaId: "administrativeAreaId";
2384
+ avatar: "avatar";
2385
+ device: "device";
2375
2386
  firstname: "firstname";
2376
- surname: "surname";
2387
+ fullHonorificName: "fullHonorificName";
2388
+ id: "id";
2377
2389
  middlename: "middlename";
2378
2390
  name: "name";
2391
+ primaryOfficeId: "primaryOfficeId";
2379
2392
  role: "role";
2380
- fullHonorificName: "fullHonorificName";
2381
- device: "device";
2382
2393
  signature: "signature";
2383
- avatar: "avatar";
2384
- primaryOfficeId: "primaryOfficeId";
2385
- administrativeAreaId: "administrativeAreaId";
2394
+ surname: "surname";
2386
2395
  }>;
2387
2396
  $location: z.ZodOptional<z.ZodString>;
2388
2397
  }, z.core.$strip>]>>;
@@ -2437,7 +2446,6 @@ declare const Address: z.ZodObject<{
2437
2446
  lineSeparator: z.ZodOptional<z.ZodString>;
2438
2447
  fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2439
2448
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2440
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2441
2449
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2442
2450
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2443
2451
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2452,6 +2460,7 @@ declare const Address: z.ZodObject<{
2452
2460
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2453
2461
  conditional: z.ZodAny;
2454
2462
  }, z.core.$strip>], "type">>>>>;
2463
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2455
2464
  optionOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2456
2465
  value: z.ZodString;
2457
2466
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2464,7 +2473,6 @@ declare const Address: z.ZodObject<{
2464
2473
  }, z.core.$strip>>>>;
2465
2474
  }, z.core.$strip>, z.ZodObject<{
2466
2475
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2467
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2468
2476
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2469
2477
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2470
2478
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2479,6 +2487,7 @@ declare const Address: z.ZodObject<{
2479
2487
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2480
2488
  conditional: z.ZodAny;
2481
2489
  }, z.core.$strip>], "type">>>>>;
2490
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2482
2491
  }, z.core.$strip>]>>>;
2483
2492
  streetAddressForm: z.ZodOptional<z.ZodArray<z.ZodObject<{
2484
2493
  id: z.ZodString;
@@ -2506,57 +2515,59 @@ declare const Address: z.ZodObject<{
2506
2515
  allowedLocations: z.ZodOptional<z.ZodObject<{
2507
2516
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2508
2517
  administrativeArea: "administrativeArea";
2509
- location: "location";
2510
2518
  all: "all";
2519
+ location: "location";
2511
2520
  }>, z.ZodObject<{
2512
2521
  $scope: z.ZodEnum<{
2513
- "record.search": "record.search";
2514
- "record.create": "record.create";
2515
- "record.read": "record.read";
2516
- "record.declare": "record.declare";
2517
- "record.notify": "record.notify";
2518
- "record.edit": "record.edit";
2519
- "record.reject": "record.reject";
2520
- "record.archive": "record.archive";
2521
- "record.review-duplicates": "record.review-duplicates";
2522
- "record.register": "record.register";
2523
- "record.print-certified-copies": "record.print-certified-copies";
2524
- "record.request-correction": "record.request-correction";
2525
- "record.correct": "record.correct";
2526
- "record.unassign-others": "record.unassign-others";
2527
- "record.custom-action": "record.custom-action";
2522
+ "attachment.upload": "attachment.upload";
2528
2523
  bypassratelimit: "bypassratelimit";
2529
- "record.reindex": "record.reindex";
2530
- "user.data-seeding": "user.data-seeding";
2531
- "integration.create": "integration.create";
2532
- "record.import": "record.import";
2533
2524
  "config.update-all": "config.update-all";
2534
- "attachment.upload": "attachment.upload";
2535
- "profile.electronic-signature": "profile.electronic-signature";
2536
- "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";
2537
2528
  "performance.read": "performance.read";
2538
2529
  "performance.read-dashboards": "performance.read-dashboards";
2539
2530
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2531
+ "profile.electronic-signature": "profile.electronic-signature";
2532
+ "record.archive": "record.archive";
2540
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";
2541
2546
  "record.reject-registration": "record.reject-registration";
2542
- "organisation.read-locations": "organisation.read-locations";
2543
- "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";
2544
2551
  "user.create": "user.create";
2552
+ "user.data-seeding": "user.data-seeding";
2545
2553
  "user.edit": "user.edit";
2554
+ "user.read": "user.read";
2555
+ "user.read-only-my-audit": "user.read-only-my-audit";
2546
2556
  "user.search": "user.search";
2547
2557
  workqueue: "workqueue";
2548
- "dashboard.view": "dashboard.view";
2549
2558
  }>;
2550
2559
  $option: z.ZodEnum<{
2551
- role: "role";
2560
+ accessLevel: "accessLevel";
2561
+ declaredBy: "declaredBy";
2562
+ declaredIn: "declaredIn";
2552
2563
  event: "event";
2564
+ ids: "ids";
2565
+ notifiedBy: "notifiedBy";
2566
+ notifiedIn: "notifiedIn";
2553
2567
  placeOfEvent: "placeOfEvent";
2554
- declaredIn: "declaredIn";
2555
- declaredBy: "declaredBy";
2556
- registeredIn: "registeredIn";
2557
2568
  registeredBy: "registeredBy";
2558
- accessLevel: "accessLevel";
2559
- ids: "ids";
2569
+ registeredIn: "registeredIn";
2570
+ role: "role";
2560
2571
  }>;
2561
2572
  }, z.core.$strip>]>;
2562
2573
  }, z.core.$strip>>;
@@ -2567,18 +2578,18 @@ declare const Address: z.ZodObject<{
2567
2578
  addressType: z.ZodLiteral<"DOMESTIC">;
2568
2579
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2569
2580
  $userField: z.ZodEnum<{
2570
- id: "id";
2581
+ administrativeAreaId: "administrativeAreaId";
2582
+ avatar: "avatar";
2583
+ device: "device";
2571
2584
  firstname: "firstname";
2572
- surname: "surname";
2585
+ fullHonorificName: "fullHonorificName";
2586
+ id: "id";
2573
2587
  middlename: "middlename";
2574
2588
  name: "name";
2589
+ primaryOfficeId: "primaryOfficeId";
2575
2590
  role: "role";
2576
- fullHonorificName: "fullHonorificName";
2577
- device: "device";
2578
2591
  signature: "signature";
2579
- avatar: "avatar";
2580
- primaryOfficeId: "primaryOfficeId";
2581
- administrativeAreaId: "administrativeAreaId";
2592
+ surname: "surname";
2582
2593
  }>;
2583
2594
  $location: z.ZodOptional<z.ZodString>;
2584
2595
  }, z.core.$strip>]>>;
@@ -2673,27 +2684,27 @@ declare const ButtonConfiguration: z.ZodObject<{
2673
2684
  icon: z.ZodOptional<z.ZodString>;
2674
2685
  loading: z.ZodOptional<z.ZodBoolean>;
2675
2686
  buttonSize: z.ZodOptional<z.ZodEnum<{
2676
- small: "small";
2677
- medium: "medium";
2678
2687
  large: "large";
2688
+ medium: "medium";
2689
+ small: "small";
2679
2690
  }>>;
2680
2691
  buttonType: z.ZodOptional<z.ZodEnum<{
2692
+ icon: "icon";
2693
+ iconPrimary: "iconPrimary";
2694
+ negative: "negative";
2695
+ positive: "positive";
2681
2696
  primary: "primary";
2682
2697
  secondary: "secondary";
2683
- tertiary: "tertiary";
2684
- positive: "positive";
2685
- negative: "negative";
2686
2698
  secondaryNegative: "secondaryNegative";
2687
- icon: "icon";
2688
- iconPrimary: "iconPrimary";
2699
+ tertiary: "tertiary";
2689
2700
  }>>;
2690
2701
  textColor: z.ZodOptional<z.ZodEnum<{
2691
- primary: "primary";
2692
2702
  copy: "copy";
2703
+ primary: "primary";
2693
2704
  }>>;
2694
2705
  textVariant: z.ZodOptional<z.ZodEnum<{
2695
- reg14: "reg14";
2696
2706
  bold14: "bold14";
2707
+ reg14: "reg14";
2697
2708
  }>>;
2698
2709
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2699
2710
  }, z.core.$strip>;
@@ -2750,27 +2761,27 @@ declare const ButtonField: z.ZodObject<{
2750
2761
  icon: z.ZodOptional<z.ZodString>;
2751
2762
  loading: z.ZodOptional<z.ZodBoolean>;
2752
2763
  buttonSize: z.ZodOptional<z.ZodEnum<{
2753
- small: "small";
2754
- medium: "medium";
2755
2764
  large: "large";
2765
+ medium: "medium";
2766
+ small: "small";
2756
2767
  }>>;
2757
2768
  buttonType: z.ZodOptional<z.ZodEnum<{
2769
+ icon: "icon";
2770
+ iconPrimary: "iconPrimary";
2771
+ negative: "negative";
2772
+ positive: "positive";
2758
2773
  primary: "primary";
2759
2774
  secondary: "secondary";
2760
- tertiary: "tertiary";
2761
- positive: "positive";
2762
- negative: "negative";
2763
2775
  secondaryNegative: "secondaryNegative";
2764
- icon: "icon";
2765
- iconPrimary: "iconPrimary";
2776
+ tertiary: "tertiary";
2766
2777
  }>>;
2767
2778
  textColor: z.ZodOptional<z.ZodEnum<{
2768
- primary: "primary";
2769
2779
  copy: "copy";
2780
+ primary: "primary";
2770
2781
  }>>;
2771
2782
  textVariant: z.ZodOptional<z.ZodEnum<{
2772
- reg14: "reg14";
2773
2783
  bold14: "bold14";
2784
+ reg14: "reg14";
2774
2785
  }>>;
2775
2786
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2776
2787
  }, z.core.$strip>;
@@ -3152,10 +3163,10 @@ declare const VerificationStatus: z.ZodObject<{
3152
3163
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3153
3164
  type: z.ZodLiteral<"VERIFICATION_STATUS">;
3154
3165
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
3155
- verified: "verified";
3156
3166
  authenticated: "authenticated";
3157
3167
  failed: "failed";
3158
3168
  pending: "pending";
3169
+ verified: "verified";
3159
3170
  }>, z.ZodObject<{
3160
3171
  $$code: z.ZodString;
3161
3172
  }, z.core.$strip>]>>;
@@ -3707,14 +3718,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3707
3718
  configuration: z.ZodDefault<z.ZodObject<{
3708
3719
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3709
3720
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3710
- "image/png": "image/png";
3711
- "image/jpg": "image/jpg";
3712
- "image/jpeg": "image/jpeg";
3713
- "image/svg+xml": "image/svg+xml";
3714
- "application/pdf": "application/pdf";
3715
3721
  "application/msword": "application/msword";
3716
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3722
+ "application/pdf": "application/pdf";
3717
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";
3718
3729
  }>>>;
3719
3730
  }, z.core.$strip>>;
3720
3731
  }, z.core.$strip>, z.ZodObject<{
@@ -3772,14 +3783,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3772
3783
  configuration: z.ZodDefault<z.ZodObject<{
3773
3784
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3774
3785
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3775
- "image/png": "image/png";
3776
- "image/jpg": "image/jpg";
3777
- "image/jpeg": "image/jpeg";
3778
- "image/svg+xml": "image/svg+xml";
3779
- "application/pdf": "application/pdf";
3780
3786
  "application/msword": "application/msword";
3781
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3787
+ "application/pdf": "application/pdf";
3782
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";
3783
3794
  }>>>;
3784
3795
  maxImageSize: z.ZodOptional<z.ZodObject<{
3785
3796
  targetSize: z.ZodObject<{
@@ -3789,8 +3800,8 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3789
3800
  }, z.core.$strip>>;
3790
3801
  style: z.ZodOptional<z.ZodObject<{
3791
3802
  width: z.ZodOptional<z.ZodEnum<{
3792
- full: "full";
3793
3803
  auto: "auto";
3804
+ full: "full";
3794
3805
  }>>;
3795
3806
  }, z.core.$strip>>;
3796
3807
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -3868,14 +3879,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3868
3879
  }, z.core.$strip>;
3869
3880
  }, z.core.$strip>>;
3870
3881
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3871
- "image/png": "image/png";
3872
- "image/jpg": "image/jpg";
3873
- "image/jpeg": "image/jpeg";
3874
- "image/svg+xml": "image/svg+xml";
3875
- "application/pdf": "application/pdf";
3876
3882
  "application/msword": "application/msword";
3877
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3883
+ "application/pdf": "application/pdf";
3878
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";
3879
3890
  }>>>;
3880
3891
  }, z.core.$strip>>;
3881
3892
  }, z.core.$strip>], "type">;