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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/application-config/index.js +190 -202
  2. package/dist/commons/api/router.d.ts +1589 -1657
  3. package/dist/commons/application-config/index.d.ts +6 -6
  4. package/dist/commons/conditionals/conditionals.d.ts +2102 -259
  5. package/dist/commons/conditionals/validate.d.ts +1 -10
  6. package/dist/commons/events/ActionConfig.d.ts +105 -105
  7. package/dist/commons/events/ActionDocument.d.ts +123 -117
  8. package/dist/commons/events/ActionInput.d.ts +6 -0
  9. package/dist/commons/events/ActionType.d.ts +62 -62
  10. package/dist/commons/events/AdvancedSearchConfig.d.ts +507 -519
  11. package/dist/commons/events/AuditLog.d.ts +42 -79
  12. package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
  13. package/dist/commons/events/Conditional.d.ts +3 -3
  14. package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
  15. package/dist/commons/events/Draft.d.ts +37 -37
  16. package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
  17. package/dist/commons/events/EventConfig.d.ts +5 -8
  18. package/dist/commons/events/EventDocument.d.ts +48 -48
  19. package/dist/commons/events/EventIndex.d.ts +71 -48
  20. package/dist/commons/events/EventMetadata.d.ts +40 -40
  21. package/dist/commons/events/FieldConfig.d.ts +337 -347
  22. package/dist/commons/events/FieldType.d.ts +51 -51
  23. package/dist/commons/events/FieldTypeMapping.d.ts +91 -91
  24. package/dist/commons/events/FieldValue.d.ts +12 -12
  25. package/dist/commons/events/Flag.d.ts +15 -57
  26. package/dist/commons/events/TemplateConfig.d.ts +1 -1
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
  28. package/dist/commons/events/WorkqueueConfig.d.ts +813 -816
  29. package/dist/commons/events/deduplication.d.ts +1 -1
  30. package/dist/commons/events/event.d.ts +2 -14
  31. package/dist/commons/events/field.d.ts +895 -78
  32. package/dist/commons/events/index.d.ts +0 -1
  33. package/dist/commons/events/locations.d.ts +6 -103
  34. package/dist/commons/events/mocks.test.utils.d.ts +4 -18
  35. package/dist/commons/events/scopes.d.ts +4 -4
  36. package/dist/commons/events/state/index.d.ts +17 -17
  37. package/dist/commons/events/state/utils.d.ts +7 -7
  38. package/dist/commons/events/test.utils.d.ts +43 -40
  39. package/dist/commons/events/utils.d.ts +114 -114
  40. package/dist/commons/notification/UserNotifications.d.ts +10 -10
  41. package/dist/conditionals/index.js +55 -303
  42. package/dist/environment/derived-variables.d.ts +119 -119
  43. package/dist/environment/derived-variables.d.ts.map +1 -1
  44. package/dist/environment/logger.d.ts.map +1 -1
  45. package/dist/environment/questions.d.ts +74 -75
  46. package/dist/environment/questions.d.ts.map +1 -1
  47. package/dist/environment/setup-environment.js +14 -8
  48. package/dist/environment/utils.d.ts +1 -1
  49. package/dist/events/deduplication.d.ts +1 -1
  50. package/dist/events/index.js +3386 -3548
  51. package/dist/migrations/v2.0/migrate-application-config-url.js +3 -4
  52. package/dist/notification/index.js +1064 -1731
  53. package/dist/scopes/index.d.ts +146 -371
  54. package/dist/scopes/index.js +55 -304
  55. package/opencrvs-toolkit-2.1.0-rc.d24aa5e.tgz +0 -0
  56. package/package.json +5 -5
  57. package/tsconfig.tsbuildinfo +1 -1
  58. package/dist/commons/events/ActionStatus.d.ts +0 -14
  59. package/dist/commons/events/locationPayloads.d.ts +0 -95
  60. package/opencrvs-toolkit-2.1.0-rc.d078d1a.tgz +0 -0
@@ -188,18 +188,18 @@ export declare const TextField: z.ZodObject<{
188
188
  type: z.ZodLiteral<"TEXT">;
189
189
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
190
190
  $userField: z.ZodEnum<{
191
- administrativeAreaId: "administrativeAreaId";
192
- avatar: "avatar";
193
- device: "device";
194
- firstname: "firstname";
195
- fullHonorificName: "fullHonorificName";
196
191
  id: "id";
192
+ firstname: "firstname";
193
+ surname: "surname";
197
194
  middlename: "middlename";
198
195
  name: "name";
199
- primaryOfficeId: "primaryOfficeId";
200
196
  role: "role";
197
+ fullHonorificName: "fullHonorificName";
198
+ device: "device";
201
199
  signature: "signature";
202
- surname: "surname";
200
+ avatar: "avatar";
201
+ primaryOfficeId: "primaryOfficeId";
202
+ administrativeAreaId: "administrativeAreaId";
203
203
  }>;
204
204
  $location: z.ZodOptional<z.ZodString>;
205
205
  }, z.core.$strip>, z.ZodObject<{
@@ -330,26 +330,26 @@ declare const TextAreaField: z.ZodObject<{
330
330
  }, z.core.$strip>;
331
331
  export type TextAreaField = z.infer<typeof TextAreaField>;
332
332
  export declare const ImageMimeType: z.ZodEnum<{
333
- "image/jpeg": "image/jpeg";
334
- "image/jpg": "image/jpg";
335
333
  "image/png": "image/png";
334
+ "image/jpg": "image/jpg";
335
+ "image/jpeg": "image/jpeg";
336
336
  "image/svg+xml": "image/svg+xml";
337
337
  }>;
338
338
  export declare const DocumentMimeType: z.ZodEnum<{
339
- "application/msword": "application/msword";
340
339
  "application/pdf": "application/pdf";
341
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
340
+ "application/msword": "application/msword";
342
341
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
342
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
343
343
  }>;
344
344
  export declare const MimeType: z.ZodEnum<{
345
- "application/msword": "application/msword";
346
- "application/pdf": "application/pdf";
347
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
348
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
349
- "image/jpeg": "image/jpeg";
350
- "image/jpg": "image/jpg";
351
345
  "image/png": "image/png";
346
+ "image/jpg": "image/jpg";
347
+ "image/jpeg": "image/jpeg";
352
348
  "image/svg+xml": "image/svg+xml";
349
+ "application/pdf": "application/pdf";
350
+ "application/msword": "application/msword";
351
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
352
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
353
353
  }>;
354
354
  export type MimeType = z.infer<typeof MimeType>;
355
355
  declare const SignatureField: z.ZodObject<{
@@ -408,14 +408,14 @@ declare const SignatureField: z.ZodObject<{
408
408
  configuration: z.ZodDefault<z.ZodObject<{
409
409
  maxFileSize: z.ZodDefault<z.ZodNumber>;
410
410
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
411
- "application/msword": "application/msword";
412
- "application/pdf": "application/pdf";
413
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
414
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
415
- "image/jpeg": "image/jpeg";
416
- "image/jpg": "image/jpg";
417
411
  "image/png": "image/png";
412
+ "image/jpg": "image/jpg";
413
+ "image/jpeg": "image/jpeg";
418
414
  "image/svg+xml": "image/svg+xml";
415
+ "application/pdf": "application/pdf";
416
+ "application/msword": "application/msword";
417
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
418
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
419
419
  }>>>;
420
420
  }, z.core.$strip>>;
421
421
  }, z.core.$strip>;
@@ -700,25 +700,25 @@ declare const DateRangeField: z.ZodObject<{
700
700
  }, z.core.$strip>;
701
701
  export type DateRangeField = z.infer<typeof DateRangeField>;
702
702
  declare const HtmlFontVariant: z.ZodEnum<{
703
- h1: "h1";
704
- h2: "h2";
705
- h3: "h3";
706
- h4: "h4";
707
703
  reg12: "reg12";
708
704
  reg14: "reg14";
709
705
  reg16: "reg16";
710
706
  reg18: "reg18";
707
+ h4: "h4";
708
+ h3: "h3";
709
+ h2: "h2";
710
+ h1: "h1";
711
711
  }>;
712
712
  export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
713
713
  declare const ParagraphConfiguration: z.ZodDefault<z.ZodObject<{
714
714
  styles: z.ZodOptional<z.ZodObject<{
715
715
  hint: z.ZodOptional<z.ZodBoolean>;
716
716
  textAlign: z.ZodOptional<z.ZodEnum<{
717
- center: "center";
717
+ start: "start";
718
718
  end: "end";
719
719
  left: "left";
720
+ center: "center";
720
721
  right: "right";
721
- start: "start";
722
722
  }>>;
723
723
  }, z.core.$strip>>;
724
724
  }, z.core.$strip>>;
@@ -726,19 +726,19 @@ export type ParagraphConfiguration = z.infer<typeof ParagraphConfiguration>;
726
726
  declare const HeadingConfiguration: z.ZodDefault<z.ZodObject<{
727
727
  styles: z.ZodOptional<z.ZodObject<{
728
728
  fontVariant: z.ZodOptional<z.ZodEnum<{
729
- h3: "h3";
730
- h4: "h4";
731
729
  reg12: "reg12";
732
730
  reg14: "reg14";
733
731
  reg16: "reg16";
734
732
  reg18: "reg18";
733
+ h4: "h4";
734
+ h3: "h3";
735
735
  }>>;
736
736
  textAlign: z.ZodOptional<z.ZodEnum<{
737
- center: "center";
737
+ start: "start";
738
738
  end: "end";
739
739
  left: "left";
740
+ center: "center";
740
741
  right: "right";
741
- start: "start";
742
742
  }>>;
743
743
  }, z.core.$strip>>;
744
744
  }, z.core.$strip>>;
@@ -748,16 +748,16 @@ declare const ImageConfiguration: z.ZodObject<{
748
748
  width: z.ZodOptional<z.ZodString>;
749
749
  height: z.ZodOptional<z.ZodString>;
750
750
  textAlign: z.ZodOptional<z.ZodEnum<{
751
- center: "center";
751
+ start: "start";
752
752
  end: "end";
753
753
  left: "left";
754
+ center: "center";
754
755
  right: "right";
755
- start: "start";
756
756
  }>>;
757
757
  objectFit: z.ZodOptional<z.ZodEnum<{
758
+ fill: "fill";
758
759
  contain: "contain";
759
760
  cover: "cover";
760
- fill: "fill";
761
761
  none: "none";
762
762
  "scale-down": "scale-down";
763
763
  }>>;
@@ -814,16 +814,16 @@ declare const ImageViewField: z.ZodObject<{
814
814
  width: z.ZodOptional<z.ZodString>;
815
815
  height: z.ZodOptional<z.ZodString>;
816
816
  textAlign: z.ZodOptional<z.ZodEnum<{
817
- center: "center";
817
+ start: "start";
818
818
  end: "end";
819
819
  left: "left";
820
+ center: "center";
820
821
  right: "right";
821
- start: "start";
822
822
  }>>;
823
823
  objectFit: z.ZodOptional<z.ZodEnum<{
824
+ fill: "fill";
824
825
  contain: "contain";
825
826
  cover: "cover";
826
- fill: "fill";
827
827
  none: "none";
828
828
  "scale-down": "scale-down";
829
829
  }>>;
@@ -879,11 +879,11 @@ declare const Paragraph: z.ZodObject<{
879
879
  styles: z.ZodOptional<z.ZodObject<{
880
880
  hint: z.ZodOptional<z.ZodBoolean>;
881
881
  textAlign: z.ZodOptional<z.ZodEnum<{
882
- center: "center";
882
+ start: "start";
883
883
  end: "end";
884
884
  left: "left";
885
+ center: "center";
885
886
  right: "right";
886
- start: "start";
887
887
  }>>;
888
888
  }, z.core.$strip>>;
889
889
  }, z.core.$strip>>;
@@ -937,19 +937,19 @@ declare const Heading: z.ZodObject<{
937
937
  configuration: z.ZodDefault<z.ZodObject<{
938
938
  styles: z.ZodOptional<z.ZodObject<{
939
939
  fontVariant: z.ZodOptional<z.ZodEnum<{
940
- h3: "h3";
941
- h4: "h4";
942
940
  reg12: "reg12";
943
941
  reg14: "reg14";
944
942
  reg16: "reg16";
945
943
  reg18: "reg18";
944
+ h4: "h4";
945
+ h3: "h3";
946
946
  }>>;
947
947
  textAlign: z.ZodOptional<z.ZodEnum<{
948
- center: "center";
948
+ start: "start";
949
949
  end: "end";
950
950
  left: "left";
951
+ center: "center";
951
952
  right: "right";
952
- start: "start";
953
953
  }>>;
954
954
  }, z.core.$strip>>;
955
955
  }, z.core.$strip>>;
@@ -1057,14 +1057,14 @@ declare const File: z.ZodObject<{
1057
1057
  configuration: z.ZodDefault<z.ZodObject<{
1058
1058
  maxFileSize: z.ZodDefault<z.ZodNumber>;
1059
1059
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1060
- "application/msword": "application/msword";
1061
- "application/pdf": "application/pdf";
1062
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
1063
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1064
- "image/jpeg": "image/jpeg";
1065
- "image/jpg": "image/jpg";
1066
1060
  "image/png": "image/png";
1061
+ "image/jpg": "image/jpg";
1062
+ "image/jpeg": "image/jpeg";
1067
1063
  "image/svg+xml": "image/svg+xml";
1064
+ "application/pdf": "application/pdf";
1065
+ "application/msword": "application/msword";
1066
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1067
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
1068
1068
  }>>>;
1069
1069
  maxImageSize: z.ZodOptional<z.ZodObject<{
1070
1070
  targetSize: z.ZodObject<{
@@ -1074,8 +1074,8 @@ declare const File: z.ZodObject<{
1074
1074
  }, z.core.$strip>>;
1075
1075
  style: z.ZodOptional<z.ZodObject<{
1076
1076
  width: z.ZodOptional<z.ZodEnum<{
1077
- auto: "auto";
1078
1077
  full: "full";
1078
+ auto: "auto";
1079
1079
  }>>;
1080
1080
  }, z.core.$strip>>;
1081
1081
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -1223,8 +1223,8 @@ declare const RadioGroup: z.ZodObject<{
1223
1223
  configuration: z.ZodOptional<z.ZodObject<{
1224
1224
  styles: z.ZodOptional<z.ZodObject<{
1225
1225
  size: z.ZodOptional<z.ZodEnum<{
1226
- LARGE: "LARGE";
1227
1226
  NORMAL: "NORMAL";
1227
+ LARGE: "LARGE";
1228
1228
  }>>;
1229
1229
  }, z.core.$strip>>;
1230
1230
  }, z.core.$strip>>;
@@ -1279,14 +1279,14 @@ declare const BulletList: z.ZodObject<{
1279
1279
  configuration: z.ZodDefault<z.ZodObject<{
1280
1280
  styles: z.ZodOptional<z.ZodObject<{
1281
1281
  fontVariant: z.ZodOptional<z.ZodEnum<{
1282
- h1: "h1";
1283
- h2: "h2";
1284
- h3: "h3";
1285
- h4: "h4";
1286
1282
  reg12: "reg12";
1287
1283
  reg14: "reg14";
1288
1284
  reg16: "reg16";
1289
1285
  reg18: "reg18";
1286
+ h4: "h4";
1287
+ h3: "h3";
1288
+ h2: "h2";
1289
+ h1: "h1";
1290
1290
  }>>;
1291
1291
  }, z.core.$strip>>;
1292
1292
  }, z.core.$strip>>;
@@ -1355,10 +1355,10 @@ declare const Select: z.ZodObject<{
1355
1355
  }, z.core.$strip>;
1356
1356
  export declare const SelectDateRangeOption: z.ZodObject<{
1357
1357
  value: z.ZodEnum<{
1358
- last30Days: "last30Days";
1359
- last365Days: "last365Days";
1360
1358
  last7Days: "last7Days";
1359
+ last30Days: "last30Days";
1361
1360
  last90Days: "last90Days";
1361
+ last365Days: "last365Days";
1362
1362
  }>;
1363
1363
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
1364
1364
  }, z.core.$strip>;
@@ -1412,19 +1412,19 @@ export declare const SelectDateRangeField: z.ZodObject<{
1412
1412
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1413
1413
  type: z.ZodLiteral<"SELECT_DATE_RANGE">;
1414
1414
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
1415
- last30Days: "last30Days";
1416
- last365Days: "last365Days";
1417
1415
  last7Days: "last7Days";
1416
+ last30Days: "last30Days";
1418
1417
  last90Days: "last90Days";
1418
+ last365Days: "last365Days";
1419
1419
  }>, z.ZodObject<{
1420
1420
  $$code: z.ZodString;
1421
1421
  }, z.core.$strip>]>>;
1422
1422
  options: z.ZodArray<z.ZodObject<{
1423
1423
  value: z.ZodEnum<{
1424
- last30Days: "last30Days";
1425
- last365Days: "last365Days";
1426
1424
  last7Days: "last7Days";
1425
+ last30Days: "last30Days";
1427
1426
  last90Days: "last90Days";
1427
+ last365Days: "last365Days";
1428
1428
  }>;
1429
1429
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
1430
1430
  }, z.core.$strip>>;
@@ -1499,52 +1499,52 @@ declare const NameField: z.ZodObject<{
1499
1499
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1500
1500
  firstname: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1501
1501
  $userField: z.ZodEnum<{
1502
- administrativeAreaId: "administrativeAreaId";
1503
- avatar: "avatar";
1504
- device: "device";
1505
- firstname: "firstname";
1506
- fullHonorificName: "fullHonorificName";
1507
1502
  id: "id";
1503
+ firstname: "firstname";
1504
+ surname: "surname";
1508
1505
  middlename: "middlename";
1509
1506
  name: "name";
1510
- primaryOfficeId: "primaryOfficeId";
1511
1507
  role: "role";
1508
+ fullHonorificName: "fullHonorificName";
1509
+ device: "device";
1512
1510
  signature: "signature";
1513
- surname: "surname";
1511
+ avatar: "avatar";
1512
+ primaryOfficeId: "primaryOfficeId";
1513
+ administrativeAreaId: "administrativeAreaId";
1514
1514
  }>;
1515
1515
  $location: z.ZodOptional<z.ZodString>;
1516
1516
  }, z.core.$strip>, z.ZodString]>>;
1517
1517
  middlename: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1518
1518
  $userField: z.ZodEnum<{
1519
- administrativeAreaId: "administrativeAreaId";
1520
- avatar: "avatar";
1521
- device: "device";
1522
- firstname: "firstname";
1523
- fullHonorificName: "fullHonorificName";
1524
1519
  id: "id";
1520
+ firstname: "firstname";
1521
+ surname: "surname";
1525
1522
  middlename: "middlename";
1526
1523
  name: "name";
1527
- primaryOfficeId: "primaryOfficeId";
1528
1524
  role: "role";
1525
+ fullHonorificName: "fullHonorificName";
1526
+ device: "device";
1529
1527
  signature: "signature";
1530
- surname: "surname";
1528
+ avatar: "avatar";
1529
+ primaryOfficeId: "primaryOfficeId";
1530
+ administrativeAreaId: "administrativeAreaId";
1531
1531
  }>;
1532
1532
  $location: z.ZodOptional<z.ZodString>;
1533
1533
  }, z.core.$strip>, z.ZodString]>>;
1534
1534
  surname: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1535
1535
  $userField: z.ZodEnum<{
1536
- administrativeAreaId: "administrativeAreaId";
1537
- avatar: "avatar";
1538
- device: "device";
1539
- firstname: "firstname";
1540
- fullHonorificName: "fullHonorificName";
1541
1536
  id: "id";
1537
+ firstname: "firstname";
1538
+ surname: "surname";
1542
1539
  middlename: "middlename";
1543
1540
  name: "name";
1544
- primaryOfficeId: "primaryOfficeId";
1545
1541
  role: "role";
1542
+ fullHonorificName: "fullHonorificName";
1543
+ device: "device";
1546
1544
  signature: "signature";
1547
- surname: "surname";
1545
+ avatar: "avatar";
1546
+ primaryOfficeId: "primaryOfficeId";
1547
+ administrativeAreaId: "administrativeAreaId";
1548
1548
  }>;
1549
1549
  $location: z.ZodOptional<z.ZodString>;
1550
1550
  }, z.core.$strip>, z.ZodString]>>;
@@ -1574,8 +1574,8 @@ declare const NameField: z.ZodObject<{
1574
1574
  }, z.core.$strip>>>;
1575
1575
  order: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1576
1576
  firstname: "firstname";
1577
- middlename: "middlename";
1578
1577
  surname: "surname";
1578
+ middlename: "middlename";
1579
1579
  }>>>;
1580
1580
  maxLength: z.ZodOptional<z.ZodNumber>;
1581
1581
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -1793,8 +1793,8 @@ declare const Country: z.ZodObject<{
1793
1793
  export type Country = z.infer<typeof Country>;
1794
1794
  export declare const AdministrativeAreas: z.ZodEnum<{
1795
1795
  ADMIN_STRUCTURE: "ADMIN_STRUCTURE";
1796
- CRVS_OFFICE: "CRVS_OFFICE";
1797
1796
  HEALTH_FACILITY: "HEALTH_FACILITY";
1797
+ CRVS_OFFICE: "CRVS_OFFICE";
1798
1798
  }>;
1799
1799
  declare const AdministrativeAreaField: z.ZodObject<{
1800
1800
  id: z.ZodString;
@@ -1843,18 +1843,18 @@ declare const AdministrativeAreaField: z.ZodObject<{
1843
1843
  type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
1844
1844
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1845
1845
  $userField: z.ZodEnum<{
1846
- administrativeAreaId: "administrativeAreaId";
1847
- avatar: "avatar";
1848
- device: "device";
1849
- firstname: "firstname";
1850
- fullHonorificName: "fullHonorificName";
1851
1846
  id: "id";
1847
+ firstname: "firstname";
1848
+ surname: "surname";
1852
1849
  middlename: "middlename";
1853
1850
  name: "name";
1854
- primaryOfficeId: "primaryOfficeId";
1855
1851
  role: "role";
1852
+ fullHonorificName: "fullHonorificName";
1853
+ device: "device";
1856
1854
  signature: "signature";
1857
- surname: "surname";
1855
+ avatar: "avatar";
1856
+ primaryOfficeId: "primaryOfficeId";
1857
+ administrativeAreaId: "administrativeAreaId";
1858
1858
  }>;
1859
1859
  $location: z.ZodOptional<z.ZodString>;
1860
1860
  }, z.core.$strip>, z.ZodObject<{
@@ -1868,69 +1868,67 @@ declare const AdministrativeAreaField: z.ZodObject<{
1868
1868
  }, z.core.$strip>>;
1869
1869
  type: z.ZodEnum<{
1870
1870
  ADMIN_STRUCTURE: "ADMIN_STRUCTURE";
1871
- CRVS_OFFICE: "CRVS_OFFICE";
1872
1871
  HEALTH_FACILITY: "HEALTH_FACILITY";
1872
+ CRVS_OFFICE: "CRVS_OFFICE";
1873
1873
  }>;
1874
1874
  allowedLocations: z.ZodOptional<z.ZodObject<{
1875
1875
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
1876
1876
  administrativeArea: "administrativeArea";
1877
- all: "all";
1878
1877
  location: "location";
1878
+ all: "all";
1879
1879
  }>, z.ZodObject<{
1880
1880
  $scope: z.ZodEnum<{
1881
- "attachment.upload": "attachment.upload";
1881
+ "record.search": "record.search";
1882
+ "record.create": "record.create";
1883
+ "record.read": "record.read";
1884
+ "record.declare": "record.declare";
1885
+ "record.notify": "record.notify";
1886
+ "record.edit": "record.edit";
1887
+ "record.reject": "record.reject";
1888
+ "record.archive": "record.archive";
1889
+ "record.unarchive": "record.unarchive";
1890
+ "record.review-duplicates": "record.review-duplicates";
1891
+ "record.register": "record.register";
1892
+ "record.print-certified-copies": "record.print-certified-copies";
1893
+ "record.request-correction": "record.request-correction";
1894
+ "record.correct": "record.correct";
1895
+ "record.unassign-others": "record.unassign-others";
1896
+ "record.custom-action": "record.custom-action";
1882
1897
  bypassratelimit: "bypassratelimit";
1883
- "config.update-all": "config.update-all";
1884
- "dashboard.view": "dashboard.view";
1898
+ "record.reindex": "record.reindex";
1899
+ "user.data-seeding": "user.data-seeding";
1885
1900
  "integration.create": "integration.create";
1886
- "location.edit": "location.edit";
1887
- "organisation.read-locations": "organisation.read-locations";
1901
+ "record.import": "record.import";
1902
+ "config.update-all": "config.update-all";
1903
+ "attachment.upload": "attachment.upload";
1904
+ "profile.electronic-signature": "profile.electronic-signature";
1905
+ "user.read-only-my-audit": "user.read-only-my-audit";
1888
1906
  "performance.read": "performance.read";
1889
1907
  "performance.read-dashboards": "performance.read-dashboards";
1890
1908
  "performance.vital-statistics-export": "performance.vital-statistics-export";
1891
- "profile.electronic-signature": "profile.electronic-signature";
1892
- "record.archive": "record.archive";
1893
1909
  "record.confirm-registration": "record.confirm-registration";
1894
- "record.correct": "record.correct";
1895
- "record.create": "record.create";
1896
- "record.custom-action": "record.custom-action";
1897
- "record.declare": "record.declare";
1898
- "record.edit": "record.edit";
1899
- "record.import": "record.import";
1900
- "record.notify": "record.notify";
1901
- "record.print-certified-copies": "record.print-certified-copies";
1902
- "record.read": "record.read";
1903
- "record.register": "record.register";
1904
- "record.reindex": "record.reindex";
1905
- "record.reject": "record.reject";
1906
1910
  "record.reject-registration": "record.reject-registration";
1907
- "record.request-correction": "record.request-correction";
1908
- "record.review-duplicates": "record.review-duplicates";
1909
- "record.search": "record.search";
1910
- "record.unarchive": "record.unarchive";
1911
- "record.unassign-others": "record.unassign-others";
1911
+ "organisation.read-locations": "organisation.read-locations";
1912
+ "user.read": "user.read";
1912
1913
  "user.create": "user.create";
1913
- "user.data-seeding": "user.data-seeding";
1914
1914
  "user.edit": "user.edit";
1915
- "user.read": "user.read";
1916
- "user.read-only-my-audit": "user.read-only-my-audit";
1917
1915
  "user.search": "user.search";
1918
1916
  workqueue: "workqueue";
1917
+ "dashboard.view": "dashboard.view";
1919
1918
  }>;
1920
1919
  $option: z.ZodEnum<{
1921
- accessLevel: "accessLevel";
1922
- declaredBy: "declaredBy";
1923
- declaredIn: "declaredIn";
1920
+ role: "role";
1924
1921
  event: "event";
1925
- flags: "flags";
1926
- ids: "ids";
1927
- notifiedBy: "notifiedBy";
1928
- notifiedIn: "notifiedIn";
1929
1922
  placeOfEvent: "placeOfEvent";
1930
- registeredBy: "registeredBy";
1923
+ notifiedIn: "notifiedIn";
1924
+ notifiedBy: "notifiedBy";
1925
+ declaredIn: "declaredIn";
1926
+ declaredBy: "declaredBy";
1931
1927
  registeredIn: "registeredIn";
1932
- role: "role";
1933
- }>;
1928
+ registeredBy: "registeredBy";
1929
+ accessLevel: "accessLevel";
1930
+ ids: "ids";
1931
+ }>;
1934
1932
  }, z.core.$strip>]>;
1935
1933
  }, z.core.$strip>>;
1936
1934
  }, z.core.$strip>;
@@ -1983,18 +1981,18 @@ declare const LocationInput: z.ZodObject<{
1983
1981
  type: z.ZodLiteral<"LOCATION">;
1984
1982
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1985
1983
  $userField: z.ZodEnum<{
1986
- administrativeAreaId: "administrativeAreaId";
1987
- avatar: "avatar";
1988
- device: "device";
1989
- firstname: "firstname";
1990
- fullHonorificName: "fullHonorificName";
1991
1984
  id: "id";
1985
+ firstname: "firstname";
1986
+ surname: "surname";
1992
1987
  middlename: "middlename";
1993
1988
  name: "name";
1994
- primaryOfficeId: "primaryOfficeId";
1995
1989
  role: "role";
1990
+ fullHonorificName: "fullHonorificName";
1991
+ device: "device";
1996
1992
  signature: "signature";
1997
- surname: "surname";
1993
+ avatar: "avatar";
1994
+ primaryOfficeId: "primaryOfficeId";
1995
+ administrativeAreaId: "administrativeAreaId";
1998
1996
  }>;
1999
1997
  $location: z.ZodOptional<z.ZodString>;
2000
1998
  }, z.core.$strip>, z.ZodObject<{
@@ -2005,62 +2003,60 @@ declare const LocationInput: z.ZodObject<{
2005
2003
  allowedLocations: z.ZodOptional<z.ZodObject<{
2006
2004
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2007
2005
  administrativeArea: "administrativeArea";
2008
- all: "all";
2009
2006
  location: "location";
2007
+ all: "all";
2010
2008
  }>, z.ZodObject<{
2011
2009
  $scope: z.ZodEnum<{
2012
- "attachment.upload": "attachment.upload";
2010
+ "record.search": "record.search";
2011
+ "record.create": "record.create";
2012
+ "record.read": "record.read";
2013
+ "record.declare": "record.declare";
2014
+ "record.notify": "record.notify";
2015
+ "record.edit": "record.edit";
2016
+ "record.reject": "record.reject";
2017
+ "record.archive": "record.archive";
2018
+ "record.unarchive": "record.unarchive";
2019
+ "record.review-duplicates": "record.review-duplicates";
2020
+ "record.register": "record.register";
2021
+ "record.print-certified-copies": "record.print-certified-copies";
2022
+ "record.request-correction": "record.request-correction";
2023
+ "record.correct": "record.correct";
2024
+ "record.unassign-others": "record.unassign-others";
2025
+ "record.custom-action": "record.custom-action";
2013
2026
  bypassratelimit: "bypassratelimit";
2014
- "config.update-all": "config.update-all";
2015
- "dashboard.view": "dashboard.view";
2027
+ "record.reindex": "record.reindex";
2028
+ "user.data-seeding": "user.data-seeding";
2016
2029
  "integration.create": "integration.create";
2017
- "location.edit": "location.edit";
2018
- "organisation.read-locations": "organisation.read-locations";
2030
+ "record.import": "record.import";
2031
+ "config.update-all": "config.update-all";
2032
+ "attachment.upload": "attachment.upload";
2033
+ "profile.electronic-signature": "profile.electronic-signature";
2034
+ "user.read-only-my-audit": "user.read-only-my-audit";
2019
2035
  "performance.read": "performance.read";
2020
2036
  "performance.read-dashboards": "performance.read-dashboards";
2021
2037
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2022
- "profile.electronic-signature": "profile.electronic-signature";
2023
- "record.archive": "record.archive";
2024
2038
  "record.confirm-registration": "record.confirm-registration";
2025
- "record.correct": "record.correct";
2026
- "record.create": "record.create";
2027
- "record.custom-action": "record.custom-action";
2028
- "record.declare": "record.declare";
2029
- "record.edit": "record.edit";
2030
- "record.import": "record.import";
2031
- "record.notify": "record.notify";
2032
- "record.print-certified-copies": "record.print-certified-copies";
2033
- "record.read": "record.read";
2034
- "record.register": "record.register";
2035
- "record.reindex": "record.reindex";
2036
- "record.reject": "record.reject";
2037
2039
  "record.reject-registration": "record.reject-registration";
2038
- "record.request-correction": "record.request-correction";
2039
- "record.review-duplicates": "record.review-duplicates";
2040
- "record.search": "record.search";
2041
- "record.unarchive": "record.unarchive";
2042
- "record.unassign-others": "record.unassign-others";
2040
+ "organisation.read-locations": "organisation.read-locations";
2041
+ "user.read": "user.read";
2043
2042
  "user.create": "user.create";
2044
- "user.data-seeding": "user.data-seeding";
2045
2043
  "user.edit": "user.edit";
2046
- "user.read": "user.read";
2047
- "user.read-only-my-audit": "user.read-only-my-audit";
2048
2044
  "user.search": "user.search";
2049
2045
  workqueue: "workqueue";
2046
+ "dashboard.view": "dashboard.view";
2050
2047
  }>;
2051
2048
  $option: z.ZodEnum<{
2052
- accessLevel: "accessLevel";
2053
- declaredBy: "declaredBy";
2054
- declaredIn: "declaredIn";
2049
+ role: "role";
2055
2050
  event: "event";
2056
- flags: "flags";
2057
- ids: "ids";
2058
- notifiedBy: "notifiedBy";
2059
- notifiedIn: "notifiedIn";
2060
2051
  placeOfEvent: "placeOfEvent";
2061
- registeredBy: "registeredBy";
2052
+ notifiedIn: "notifiedIn";
2053
+ notifiedBy: "notifiedBy";
2054
+ declaredIn: "declaredIn";
2055
+ declaredBy: "declaredBy";
2062
2056
  registeredIn: "registeredIn";
2063
- role: "role";
2057
+ registeredBy: "registeredBy";
2058
+ accessLevel: "accessLevel";
2059
+ ids: "ids";
2064
2060
  }>;
2065
2061
  }, z.core.$strip>]>;
2066
2062
  }, z.core.$strip>>;
@@ -2140,14 +2136,14 @@ declare const FileUploadWithOptions: z.ZodObject<{
2140
2136
  }, z.core.$strip>;
2141
2137
  }, z.core.$strip>>;
2142
2138
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2143
- "application/msword": "application/msword";
2144
- "application/pdf": "application/pdf";
2145
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2146
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2147
- "image/jpeg": "image/jpeg";
2148
- "image/jpg": "image/jpg";
2149
2139
  "image/png": "image/png";
2140
+ "image/jpg": "image/jpg";
2141
+ "image/jpeg": "image/jpeg";
2150
2142
  "image/svg+xml": "image/svg+xml";
2143
+ "application/pdf": "application/pdf";
2144
+ "application/msword": "application/msword";
2145
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2146
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2151
2147
  }>>>;
2152
2148
  }, z.core.$strip>>;
2153
2149
  }, z.core.$strip>;
@@ -2207,62 +2203,60 @@ declare const Facility: z.ZodObject<{
2207
2203
  allowedLocations: z.ZodOptional<z.ZodObject<{
2208
2204
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2209
2205
  administrativeArea: "administrativeArea";
2210
- all: "all";
2211
2206
  location: "location";
2207
+ all: "all";
2212
2208
  }>, z.ZodObject<{
2213
2209
  $scope: z.ZodEnum<{
2214
- "attachment.upload": "attachment.upload";
2210
+ "record.search": "record.search";
2211
+ "record.create": "record.create";
2212
+ "record.read": "record.read";
2213
+ "record.declare": "record.declare";
2214
+ "record.notify": "record.notify";
2215
+ "record.edit": "record.edit";
2216
+ "record.reject": "record.reject";
2217
+ "record.archive": "record.archive";
2218
+ "record.unarchive": "record.unarchive";
2219
+ "record.review-duplicates": "record.review-duplicates";
2220
+ "record.register": "record.register";
2221
+ "record.print-certified-copies": "record.print-certified-copies";
2222
+ "record.request-correction": "record.request-correction";
2223
+ "record.correct": "record.correct";
2224
+ "record.unassign-others": "record.unassign-others";
2225
+ "record.custom-action": "record.custom-action";
2215
2226
  bypassratelimit: "bypassratelimit";
2216
- "config.update-all": "config.update-all";
2217
- "dashboard.view": "dashboard.view";
2227
+ "record.reindex": "record.reindex";
2228
+ "user.data-seeding": "user.data-seeding";
2218
2229
  "integration.create": "integration.create";
2219
- "location.edit": "location.edit";
2220
- "organisation.read-locations": "organisation.read-locations";
2230
+ "record.import": "record.import";
2231
+ "config.update-all": "config.update-all";
2232
+ "attachment.upload": "attachment.upload";
2233
+ "profile.electronic-signature": "profile.electronic-signature";
2234
+ "user.read-only-my-audit": "user.read-only-my-audit";
2221
2235
  "performance.read": "performance.read";
2222
2236
  "performance.read-dashboards": "performance.read-dashboards";
2223
2237
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2224
- "profile.electronic-signature": "profile.electronic-signature";
2225
- "record.archive": "record.archive";
2226
2238
  "record.confirm-registration": "record.confirm-registration";
2227
- "record.correct": "record.correct";
2228
- "record.create": "record.create";
2229
- "record.custom-action": "record.custom-action";
2230
- "record.declare": "record.declare";
2231
- "record.edit": "record.edit";
2232
- "record.import": "record.import";
2233
- "record.notify": "record.notify";
2234
- "record.print-certified-copies": "record.print-certified-copies";
2235
- "record.read": "record.read";
2236
- "record.register": "record.register";
2237
- "record.reindex": "record.reindex";
2238
- "record.reject": "record.reject";
2239
2239
  "record.reject-registration": "record.reject-registration";
2240
- "record.request-correction": "record.request-correction";
2241
- "record.review-duplicates": "record.review-duplicates";
2242
- "record.search": "record.search";
2243
- "record.unarchive": "record.unarchive";
2244
- "record.unassign-others": "record.unassign-others";
2240
+ "organisation.read-locations": "organisation.read-locations";
2241
+ "user.read": "user.read";
2245
2242
  "user.create": "user.create";
2246
- "user.data-seeding": "user.data-seeding";
2247
2243
  "user.edit": "user.edit";
2248
- "user.read": "user.read";
2249
- "user.read-only-my-audit": "user.read-only-my-audit";
2250
2244
  "user.search": "user.search";
2251
2245
  workqueue: "workqueue";
2246
+ "dashboard.view": "dashboard.view";
2252
2247
  }>;
2253
2248
  $option: z.ZodEnum<{
2254
- accessLevel: "accessLevel";
2255
- declaredBy: "declaredBy";
2256
- declaredIn: "declaredIn";
2249
+ role: "role";
2257
2250
  event: "event";
2258
- flags: "flags";
2259
- ids: "ids";
2260
- notifiedBy: "notifiedBy";
2261
- notifiedIn: "notifiedIn";
2262
2251
  placeOfEvent: "placeOfEvent";
2263
- registeredBy: "registeredBy";
2252
+ notifiedIn: "notifiedIn";
2253
+ notifiedBy: "notifiedBy";
2254
+ declaredIn: "declaredIn";
2255
+ declaredBy: "declaredBy";
2264
2256
  registeredIn: "registeredIn";
2265
- role: "role";
2257
+ registeredBy: "registeredBy";
2258
+ accessLevel: "accessLevel";
2259
+ ids: "ids";
2266
2260
  }>;
2267
2261
  }, z.core.$strip>]>;
2268
2262
  }, z.core.$strip>>;
@@ -2324,62 +2318,60 @@ declare const Office: z.ZodObject<{
2324
2318
  allowedLocations: z.ZodOptional<z.ZodObject<{
2325
2319
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2326
2320
  administrativeArea: "administrativeArea";
2327
- all: "all";
2328
2321
  location: "location";
2322
+ all: "all";
2329
2323
  }>, z.ZodObject<{
2330
2324
  $scope: z.ZodEnum<{
2331
- "attachment.upload": "attachment.upload";
2325
+ "record.search": "record.search";
2326
+ "record.create": "record.create";
2327
+ "record.read": "record.read";
2328
+ "record.declare": "record.declare";
2329
+ "record.notify": "record.notify";
2330
+ "record.edit": "record.edit";
2331
+ "record.reject": "record.reject";
2332
+ "record.archive": "record.archive";
2333
+ "record.unarchive": "record.unarchive";
2334
+ "record.review-duplicates": "record.review-duplicates";
2335
+ "record.register": "record.register";
2336
+ "record.print-certified-copies": "record.print-certified-copies";
2337
+ "record.request-correction": "record.request-correction";
2338
+ "record.correct": "record.correct";
2339
+ "record.unassign-others": "record.unassign-others";
2340
+ "record.custom-action": "record.custom-action";
2332
2341
  bypassratelimit: "bypassratelimit";
2333
- "config.update-all": "config.update-all";
2334
- "dashboard.view": "dashboard.view";
2342
+ "record.reindex": "record.reindex";
2343
+ "user.data-seeding": "user.data-seeding";
2335
2344
  "integration.create": "integration.create";
2336
- "location.edit": "location.edit";
2337
- "organisation.read-locations": "organisation.read-locations";
2345
+ "record.import": "record.import";
2346
+ "config.update-all": "config.update-all";
2347
+ "attachment.upload": "attachment.upload";
2348
+ "profile.electronic-signature": "profile.electronic-signature";
2349
+ "user.read-only-my-audit": "user.read-only-my-audit";
2338
2350
  "performance.read": "performance.read";
2339
2351
  "performance.read-dashboards": "performance.read-dashboards";
2340
2352
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2341
- "profile.electronic-signature": "profile.electronic-signature";
2342
- "record.archive": "record.archive";
2343
2353
  "record.confirm-registration": "record.confirm-registration";
2344
- "record.correct": "record.correct";
2345
- "record.create": "record.create";
2346
- "record.custom-action": "record.custom-action";
2347
- "record.declare": "record.declare";
2348
- "record.edit": "record.edit";
2349
- "record.import": "record.import";
2350
- "record.notify": "record.notify";
2351
- "record.print-certified-copies": "record.print-certified-copies";
2352
- "record.read": "record.read";
2353
- "record.register": "record.register";
2354
- "record.reindex": "record.reindex";
2355
- "record.reject": "record.reject";
2356
2354
  "record.reject-registration": "record.reject-registration";
2357
- "record.request-correction": "record.request-correction";
2358
- "record.review-duplicates": "record.review-duplicates";
2359
- "record.search": "record.search";
2360
- "record.unarchive": "record.unarchive";
2361
- "record.unassign-others": "record.unassign-others";
2355
+ "organisation.read-locations": "organisation.read-locations";
2356
+ "user.read": "user.read";
2362
2357
  "user.create": "user.create";
2363
- "user.data-seeding": "user.data-seeding";
2364
2358
  "user.edit": "user.edit";
2365
- "user.read": "user.read";
2366
- "user.read-only-my-audit": "user.read-only-my-audit";
2367
2359
  "user.search": "user.search";
2368
2360
  workqueue: "workqueue";
2361
+ "dashboard.view": "dashboard.view";
2369
2362
  }>;
2370
2363
  $option: z.ZodEnum<{
2371
- accessLevel: "accessLevel";
2372
- declaredBy: "declaredBy";
2373
- declaredIn: "declaredIn";
2364
+ role: "role";
2374
2365
  event: "event";
2375
- flags: "flags";
2376
- ids: "ids";
2377
- notifiedBy: "notifiedBy";
2378
- notifiedIn: "notifiedIn";
2379
2366
  placeOfEvent: "placeOfEvent";
2380
- registeredBy: "registeredBy";
2367
+ notifiedIn: "notifiedIn";
2368
+ notifiedBy: "notifiedBy";
2369
+ declaredIn: "declaredIn";
2370
+ declaredBy: "declaredBy";
2381
2371
  registeredIn: "registeredIn";
2382
- role: "role";
2372
+ registeredBy: "registeredBy";
2373
+ accessLevel: "accessLevel";
2374
+ ids: "ids";
2383
2375
  }>;
2384
2376
  }, z.core.$strip>]>;
2385
2377
  }, z.core.$strip>>;
@@ -2392,18 +2384,18 @@ export declare const DefaultAddressFieldValue: z.ZodObject<{
2392
2384
  addressType: z.ZodLiteral<"DOMESTIC">;
2393
2385
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2394
2386
  $userField: z.ZodEnum<{
2395
- administrativeAreaId: "administrativeAreaId";
2396
- avatar: "avatar";
2397
- device: "device";
2398
- firstname: "firstname";
2399
- fullHonorificName: "fullHonorificName";
2400
2387
  id: "id";
2388
+ firstname: "firstname";
2389
+ surname: "surname";
2401
2390
  middlename: "middlename";
2402
2391
  name: "name";
2403
- primaryOfficeId: "primaryOfficeId";
2404
2392
  role: "role";
2393
+ fullHonorificName: "fullHonorificName";
2394
+ device: "device";
2405
2395
  signature: "signature";
2406
- surname: "surname";
2396
+ avatar: "avatar";
2397
+ primaryOfficeId: "primaryOfficeId";
2398
+ administrativeAreaId: "administrativeAreaId";
2407
2399
  }>;
2408
2400
  $location: z.ZodOptional<z.ZodString>;
2409
2401
  }, z.core.$strip>]>>;
@@ -2458,6 +2450,7 @@ declare const Address: z.ZodObject<{
2458
2450
  lineSeparator: z.ZodOptional<z.ZodString>;
2459
2451
  fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2460
2452
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2453
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2461
2454
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2462
2455
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2463
2456
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2472,7 +2465,6 @@ declare const Address: z.ZodObject<{
2472
2465
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2473
2466
  conditional: z.ZodAny;
2474
2467
  }, z.core.$strip>], "type">>>>>;
2475
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2476
2468
  optionOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2477
2469
  value: z.ZodString;
2478
2470
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2485,6 +2477,7 @@ declare const Address: z.ZodObject<{
2485
2477
  }, z.core.$strip>>>>;
2486
2478
  }, z.core.$strip>, z.ZodObject<{
2487
2479
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2480
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2488
2481
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2489
2482
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2490
2483
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2499,7 +2492,6 @@ declare const Address: z.ZodObject<{
2499
2492
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2500
2493
  conditional: z.ZodAny;
2501
2494
  }, z.core.$strip>], "type">>>>>;
2502
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2503
2495
  }, z.core.$strip>]>>>;
2504
2496
  streetAddressForm: z.ZodOptional<z.ZodArray<z.ZodObject<{
2505
2497
  id: z.ZodString;
@@ -2527,62 +2519,60 @@ declare const Address: z.ZodObject<{
2527
2519
  allowedLocations: z.ZodOptional<z.ZodObject<{
2528
2520
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2529
2521
  administrativeArea: "administrativeArea";
2530
- all: "all";
2531
2522
  location: "location";
2523
+ all: "all";
2532
2524
  }>, z.ZodObject<{
2533
2525
  $scope: z.ZodEnum<{
2534
- "attachment.upload": "attachment.upload";
2526
+ "record.search": "record.search";
2527
+ "record.create": "record.create";
2528
+ "record.read": "record.read";
2529
+ "record.declare": "record.declare";
2530
+ "record.notify": "record.notify";
2531
+ "record.edit": "record.edit";
2532
+ "record.reject": "record.reject";
2533
+ "record.archive": "record.archive";
2534
+ "record.unarchive": "record.unarchive";
2535
+ "record.review-duplicates": "record.review-duplicates";
2536
+ "record.register": "record.register";
2537
+ "record.print-certified-copies": "record.print-certified-copies";
2538
+ "record.request-correction": "record.request-correction";
2539
+ "record.correct": "record.correct";
2540
+ "record.unassign-others": "record.unassign-others";
2541
+ "record.custom-action": "record.custom-action";
2535
2542
  bypassratelimit: "bypassratelimit";
2536
- "config.update-all": "config.update-all";
2537
- "dashboard.view": "dashboard.view";
2543
+ "record.reindex": "record.reindex";
2544
+ "user.data-seeding": "user.data-seeding";
2538
2545
  "integration.create": "integration.create";
2539
- "location.edit": "location.edit";
2540
- "organisation.read-locations": "organisation.read-locations";
2546
+ "record.import": "record.import";
2547
+ "config.update-all": "config.update-all";
2548
+ "attachment.upload": "attachment.upload";
2549
+ "profile.electronic-signature": "profile.electronic-signature";
2550
+ "user.read-only-my-audit": "user.read-only-my-audit";
2541
2551
  "performance.read": "performance.read";
2542
2552
  "performance.read-dashboards": "performance.read-dashboards";
2543
2553
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2544
- "profile.electronic-signature": "profile.electronic-signature";
2545
- "record.archive": "record.archive";
2546
2554
  "record.confirm-registration": "record.confirm-registration";
2547
- "record.correct": "record.correct";
2548
- "record.create": "record.create";
2549
- "record.custom-action": "record.custom-action";
2550
- "record.declare": "record.declare";
2551
- "record.edit": "record.edit";
2552
- "record.import": "record.import";
2553
- "record.notify": "record.notify";
2554
- "record.print-certified-copies": "record.print-certified-copies";
2555
- "record.read": "record.read";
2556
- "record.register": "record.register";
2557
- "record.reindex": "record.reindex";
2558
- "record.reject": "record.reject";
2559
2555
  "record.reject-registration": "record.reject-registration";
2560
- "record.request-correction": "record.request-correction";
2561
- "record.review-duplicates": "record.review-duplicates";
2562
- "record.search": "record.search";
2563
- "record.unarchive": "record.unarchive";
2564
- "record.unassign-others": "record.unassign-others";
2556
+ "organisation.read-locations": "organisation.read-locations";
2557
+ "user.read": "user.read";
2565
2558
  "user.create": "user.create";
2566
- "user.data-seeding": "user.data-seeding";
2567
2559
  "user.edit": "user.edit";
2568
- "user.read": "user.read";
2569
- "user.read-only-my-audit": "user.read-only-my-audit";
2570
2560
  "user.search": "user.search";
2571
2561
  workqueue: "workqueue";
2562
+ "dashboard.view": "dashboard.view";
2572
2563
  }>;
2573
2564
  $option: z.ZodEnum<{
2574
- accessLevel: "accessLevel";
2575
- declaredBy: "declaredBy";
2576
- declaredIn: "declaredIn";
2565
+ role: "role";
2577
2566
  event: "event";
2578
- flags: "flags";
2579
- ids: "ids";
2580
- notifiedBy: "notifiedBy";
2581
- notifiedIn: "notifiedIn";
2582
2567
  placeOfEvent: "placeOfEvent";
2583
- registeredBy: "registeredBy";
2568
+ notifiedIn: "notifiedIn";
2569
+ notifiedBy: "notifiedBy";
2570
+ declaredIn: "declaredIn";
2571
+ declaredBy: "declaredBy";
2584
2572
  registeredIn: "registeredIn";
2585
- role: "role";
2573
+ registeredBy: "registeredBy";
2574
+ accessLevel: "accessLevel";
2575
+ ids: "ids";
2586
2576
  }>;
2587
2577
  }, z.core.$strip>]>;
2588
2578
  }, z.core.$strip>>;
@@ -2593,18 +2583,18 @@ declare const Address: z.ZodObject<{
2593
2583
  addressType: z.ZodLiteral<"DOMESTIC">;
2594
2584
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2595
2585
  $userField: z.ZodEnum<{
2596
- administrativeAreaId: "administrativeAreaId";
2597
- avatar: "avatar";
2598
- device: "device";
2599
- firstname: "firstname";
2600
- fullHonorificName: "fullHonorificName";
2601
2586
  id: "id";
2587
+ firstname: "firstname";
2588
+ surname: "surname";
2602
2589
  middlename: "middlename";
2603
2590
  name: "name";
2604
- primaryOfficeId: "primaryOfficeId";
2605
2591
  role: "role";
2592
+ fullHonorificName: "fullHonorificName";
2593
+ device: "device";
2606
2594
  signature: "signature";
2607
- surname: "surname";
2595
+ avatar: "avatar";
2596
+ primaryOfficeId: "primaryOfficeId";
2597
+ administrativeAreaId: "administrativeAreaId";
2608
2598
  }>;
2609
2599
  $location: z.ZodOptional<z.ZodString>;
2610
2600
  }, z.core.$strip>]>>;
@@ -2699,27 +2689,27 @@ declare const ButtonConfiguration: z.ZodObject<{
2699
2689
  icon: z.ZodOptional<z.ZodString>;
2700
2690
  loading: z.ZodOptional<z.ZodBoolean>;
2701
2691
  buttonSize: z.ZodOptional<z.ZodEnum<{
2702
- large: "large";
2703
- medium: "medium";
2704
2692
  small: "small";
2693
+ medium: "medium";
2694
+ large: "large";
2705
2695
  }>>;
2706
2696
  buttonType: z.ZodOptional<z.ZodEnum<{
2707
- icon: "icon";
2708
- iconPrimary: "iconPrimary";
2709
- negative: "negative";
2710
- positive: "positive";
2711
2697
  primary: "primary";
2712
2698
  secondary: "secondary";
2713
- secondaryNegative: "secondaryNegative";
2714
2699
  tertiary: "tertiary";
2700
+ positive: "positive";
2701
+ negative: "negative";
2702
+ secondaryNegative: "secondaryNegative";
2703
+ icon: "icon";
2704
+ iconPrimary: "iconPrimary";
2715
2705
  }>>;
2716
2706
  textColor: z.ZodOptional<z.ZodEnum<{
2717
- copy: "copy";
2718
2707
  primary: "primary";
2708
+ copy: "copy";
2719
2709
  }>>;
2720
2710
  textVariant: z.ZodOptional<z.ZodEnum<{
2721
- bold14: "bold14";
2722
2711
  reg14: "reg14";
2712
+ bold14: "bold14";
2723
2713
  }>>;
2724
2714
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2725
2715
  }, z.core.$strip>;
@@ -2776,27 +2766,27 @@ declare const ButtonField: z.ZodObject<{
2776
2766
  icon: z.ZodOptional<z.ZodString>;
2777
2767
  loading: z.ZodOptional<z.ZodBoolean>;
2778
2768
  buttonSize: z.ZodOptional<z.ZodEnum<{
2779
- large: "large";
2780
- medium: "medium";
2781
2769
  small: "small";
2770
+ medium: "medium";
2771
+ large: "large";
2782
2772
  }>>;
2783
2773
  buttonType: z.ZodOptional<z.ZodEnum<{
2784
- icon: "icon";
2785
- iconPrimary: "iconPrimary";
2786
- negative: "negative";
2787
- positive: "positive";
2788
2774
  primary: "primary";
2789
2775
  secondary: "secondary";
2790
- secondaryNegative: "secondaryNegative";
2791
2776
  tertiary: "tertiary";
2777
+ positive: "positive";
2778
+ negative: "negative";
2779
+ secondaryNegative: "secondaryNegative";
2780
+ icon: "icon";
2781
+ iconPrimary: "iconPrimary";
2792
2782
  }>>;
2793
2783
  textColor: z.ZodOptional<z.ZodEnum<{
2794
- copy: "copy";
2795
2784
  primary: "primary";
2785
+ copy: "copy";
2796
2786
  }>>;
2797
2787
  textVariant: z.ZodOptional<z.ZodEnum<{
2798
- bold14: "bold14";
2799
2788
  reg14: "reg14";
2789
+ bold14: "bold14";
2800
2790
  }>>;
2801
2791
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2802
2792
  }, z.core.$strip>;
@@ -3178,10 +3168,10 @@ declare const VerificationStatus: z.ZodObject<{
3178
3168
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3179
3169
  type: z.ZodLiteral<"VERIFICATION_STATUS">;
3180
3170
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
3171
+ verified: "verified";
3181
3172
  authenticated: "authenticated";
3182
3173
  failed: "failed";
3183
3174
  pending: "pending";
3184
- verified: "verified";
3185
3175
  }>, z.ZodObject<{
3186
3176
  $$code: z.ZodString;
3187
3177
  }, z.core.$strip>]>>;
@@ -3733,14 +3723,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3733
3723
  configuration: z.ZodDefault<z.ZodObject<{
3734
3724
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3735
3725
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3736
- "application/msword": "application/msword";
3737
- "application/pdf": "application/pdf";
3738
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3739
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3740
- "image/jpeg": "image/jpeg";
3741
- "image/jpg": "image/jpg";
3742
3726
  "image/png": "image/png";
3727
+ "image/jpg": "image/jpg";
3728
+ "image/jpeg": "image/jpeg";
3743
3729
  "image/svg+xml": "image/svg+xml";
3730
+ "application/pdf": "application/pdf";
3731
+ "application/msword": "application/msword";
3732
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3733
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3744
3734
  }>>>;
3745
3735
  }, z.core.$strip>>;
3746
3736
  }, z.core.$strip>, z.ZodObject<{
@@ -3798,14 +3788,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3798
3788
  configuration: z.ZodDefault<z.ZodObject<{
3799
3789
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3800
3790
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3801
- "application/msword": "application/msword";
3802
- "application/pdf": "application/pdf";
3803
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3804
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3805
- "image/jpeg": "image/jpeg";
3806
- "image/jpg": "image/jpg";
3807
3791
  "image/png": "image/png";
3792
+ "image/jpg": "image/jpg";
3793
+ "image/jpeg": "image/jpeg";
3808
3794
  "image/svg+xml": "image/svg+xml";
3795
+ "application/pdf": "application/pdf";
3796
+ "application/msword": "application/msword";
3797
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3798
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3809
3799
  }>>>;
3810
3800
  maxImageSize: z.ZodOptional<z.ZodObject<{
3811
3801
  targetSize: z.ZodObject<{
@@ -3815,8 +3805,8 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3815
3805
  }, z.core.$strip>>;
3816
3806
  style: z.ZodOptional<z.ZodObject<{
3817
3807
  width: z.ZodOptional<z.ZodEnum<{
3818
- auto: "auto";
3819
3808
  full: "full";
3809
+ auto: "auto";
3820
3810
  }>>;
3821
3811
  }, z.core.$strip>>;
3822
3812
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -3894,14 +3884,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3894
3884
  }, z.core.$strip>;
3895
3885
  }, z.core.$strip>>;
3896
3886
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3897
- "application/msword": "application/msword";
3898
- "application/pdf": "application/pdf";
3899
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3900
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3901
- "image/jpeg": "image/jpeg";
3902
- "image/jpg": "image/jpg";
3903
3887
  "image/png": "image/png";
3888
+ "image/jpg": "image/jpg";
3889
+ "image/jpeg": "image/jpeg";
3904
3890
  "image/svg+xml": "image/svg+xml";
3891
+ "application/pdf": "application/pdf";
3892
+ "application/msword": "application/msword";
3893
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3894
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3905
3895
  }>>>;
3906
3896
  }, z.core.$strip>>;
3907
3897
  }, z.core.$strip>], "type">;