@opencrvs/toolkit 2.1.0-rc.806dc30 → 2.1.0-rc.811fc78

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 (59) hide show
  1. package/dist/application-config/index.js +200 -190
  2. package/dist/commons/api/router.d.ts +1514 -1618
  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 +2 -1
  6. package/dist/commons/events/ActionConfig.d.ts +126 -105
  7. package/dist/commons/events/ActionDocument.d.ts +111 -117
  8. package/dist/commons/events/ActionStatus.d.ts +14 -0
  9. package/dist/commons/events/ActionType.d.ts +62 -62
  10. package/dist/commons/events/AdvancedSearchConfig.d.ts +513 -513
  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 +608 -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 -5
  18. package/dist/commons/events/EventDocument.d.ts +46 -46
  19. package/dist/commons/events/EventIndex.d.ts +52 -71
  20. package/dist/commons/events/EventMetadata.d.ts +41 -40
  21. package/dist/commons/events/FieldConfig.d.ts +342 -342
  22. package/dist/commons/events/FieldType.d.ts +51 -51
  23. package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
  24. package/dist/commons/events/FieldValue.d.ts +12 -12
  25. package/dist/commons/events/Flag.d.ts +63 -15
  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 +835 -820
  29. package/dist/commons/events/deduplication.d.ts +1 -1
  30. package/dist/commons/events/event.d.ts +2 -2
  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 +40 -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 +303 -56
  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 +3278 -3333
  51. package/dist/migrations/v2.0/migrate-application-config-url.js +3 -4
  52. package/dist/notification/index.js +1492 -996
  53. package/dist/scopes/index.d.ts +396 -148
  54. package/dist/scopes/index.js +304 -56
  55. package/opencrvs-toolkit-2.1.0-rc.811fc78.tgz +0 -0
  56. package/package.json +5 -5
  57. package/tsconfig.tsbuildinfo +1 -1
  58. package/dist/commons/events/locationPayloads.d.ts +0 -95
  59. package/opencrvs-toolkit-2.1.0-rc.806dc30.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,68 +1868,68 @@ 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
- ids: "ids";
1926
- notifiedBy: "notifiedBy";
1927
- notifiedIn: "notifiedIn";
1928
1922
  placeOfEvent: "placeOfEvent";
1929
- registeredBy: "registeredBy";
1923
+ notifiedIn: "notifiedIn";
1924
+ notifiedBy: "notifiedBy";
1925
+ declaredIn: "declaredIn";
1926
+ declaredBy: "declaredBy";
1930
1927
  registeredIn: "registeredIn";
1931
- role: "role";
1932
- }>;
1928
+ registeredBy: "registeredBy";
1929
+ flags: "flags";
1930
+ accessLevel: "accessLevel";
1931
+ ids: "ids";
1932
+ }>;
1933
1933
  }, z.core.$strip>]>;
1934
1934
  }, z.core.$strip>>;
1935
1935
  }, z.core.$strip>;
@@ -1982,18 +1982,18 @@ declare const LocationInput: z.ZodObject<{
1982
1982
  type: z.ZodLiteral<"LOCATION">;
1983
1983
  defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1984
1984
  $userField: z.ZodEnum<{
1985
- administrativeAreaId: "administrativeAreaId";
1986
- avatar: "avatar";
1987
- device: "device";
1988
- firstname: "firstname";
1989
- fullHonorificName: "fullHonorificName";
1990
1985
  id: "id";
1986
+ firstname: "firstname";
1987
+ surname: "surname";
1991
1988
  middlename: "middlename";
1992
1989
  name: "name";
1993
- primaryOfficeId: "primaryOfficeId";
1994
1990
  role: "role";
1991
+ fullHonorificName: "fullHonorificName";
1992
+ device: "device";
1995
1993
  signature: "signature";
1996
- surname: "surname";
1994
+ avatar: "avatar";
1995
+ primaryOfficeId: "primaryOfficeId";
1996
+ administrativeAreaId: "administrativeAreaId";
1997
1997
  }>;
1998
1998
  $location: z.ZodOptional<z.ZodString>;
1999
1999
  }, z.core.$strip>, z.ZodObject<{
@@ -2004,61 +2004,61 @@ declare const LocationInput: z.ZodObject<{
2004
2004
  allowedLocations: z.ZodOptional<z.ZodObject<{
2005
2005
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2006
2006
  administrativeArea: "administrativeArea";
2007
- all: "all";
2008
2007
  location: "location";
2008
+ all: "all";
2009
2009
  }>, z.ZodObject<{
2010
2010
  $scope: z.ZodEnum<{
2011
- "attachment.upload": "attachment.upload";
2011
+ "record.search": "record.search";
2012
+ "record.create": "record.create";
2013
+ "record.read": "record.read";
2014
+ "record.declare": "record.declare";
2015
+ "record.notify": "record.notify";
2016
+ "record.edit": "record.edit";
2017
+ "record.reject": "record.reject";
2018
+ "record.archive": "record.archive";
2019
+ "record.unarchive": "record.unarchive";
2020
+ "record.review-duplicates": "record.review-duplicates";
2021
+ "record.register": "record.register";
2022
+ "record.print-certified-copies": "record.print-certified-copies";
2023
+ "record.request-correction": "record.request-correction";
2024
+ "record.correct": "record.correct";
2025
+ "record.unassign-others": "record.unassign-others";
2026
+ "record.custom-action": "record.custom-action";
2012
2027
  bypassratelimit: "bypassratelimit";
2013
- "config.update-all": "config.update-all";
2014
- "dashboard.view": "dashboard.view";
2028
+ "record.reindex": "record.reindex";
2029
+ "user.data-seeding": "user.data-seeding";
2015
2030
  "integration.create": "integration.create";
2016
- "location.edit": "location.edit";
2017
- "organisation.read-locations": "organisation.read-locations";
2031
+ "record.import": "record.import";
2032
+ "config.update-all": "config.update-all";
2033
+ "attachment.upload": "attachment.upload";
2034
+ "profile.electronic-signature": "profile.electronic-signature";
2035
+ "user.read-only-my-audit": "user.read-only-my-audit";
2018
2036
  "performance.read": "performance.read";
2019
2037
  "performance.read-dashboards": "performance.read-dashboards";
2020
2038
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2021
- "profile.electronic-signature": "profile.electronic-signature";
2022
- "record.archive": "record.archive";
2023
2039
  "record.confirm-registration": "record.confirm-registration";
2024
- "record.correct": "record.correct";
2025
- "record.create": "record.create";
2026
- "record.custom-action": "record.custom-action";
2027
- "record.declare": "record.declare";
2028
- "record.edit": "record.edit";
2029
- "record.import": "record.import";
2030
- "record.notify": "record.notify";
2031
- "record.print-certified-copies": "record.print-certified-copies";
2032
- "record.read": "record.read";
2033
- "record.register": "record.register";
2034
- "record.reindex": "record.reindex";
2035
- "record.reject": "record.reject";
2036
2040
  "record.reject-registration": "record.reject-registration";
2037
- "record.request-correction": "record.request-correction";
2038
- "record.review-duplicates": "record.review-duplicates";
2039
- "record.search": "record.search";
2040
- "record.unarchive": "record.unarchive";
2041
- "record.unassign-others": "record.unassign-others";
2041
+ "organisation.read-locations": "organisation.read-locations";
2042
+ "user.read": "user.read";
2042
2043
  "user.create": "user.create";
2043
- "user.data-seeding": "user.data-seeding";
2044
2044
  "user.edit": "user.edit";
2045
- "user.read": "user.read";
2046
- "user.read-only-my-audit": "user.read-only-my-audit";
2047
2045
  "user.search": "user.search";
2048
2046
  workqueue: "workqueue";
2047
+ "dashboard.view": "dashboard.view";
2049
2048
  }>;
2050
2049
  $option: z.ZodEnum<{
2051
- accessLevel: "accessLevel";
2052
- declaredBy: "declaredBy";
2053
- declaredIn: "declaredIn";
2050
+ role: "role";
2054
2051
  event: "event";
2055
- ids: "ids";
2056
- notifiedBy: "notifiedBy";
2057
- notifiedIn: "notifiedIn";
2058
2052
  placeOfEvent: "placeOfEvent";
2059
- registeredBy: "registeredBy";
2053
+ notifiedIn: "notifiedIn";
2054
+ notifiedBy: "notifiedBy";
2055
+ declaredIn: "declaredIn";
2056
+ declaredBy: "declaredBy";
2060
2057
  registeredIn: "registeredIn";
2061
- role: "role";
2058
+ registeredBy: "registeredBy";
2059
+ flags: "flags";
2060
+ accessLevel: "accessLevel";
2061
+ ids: "ids";
2062
2062
  }>;
2063
2063
  }, z.core.$strip>]>;
2064
2064
  }, z.core.$strip>>;
@@ -2138,14 +2138,14 @@ declare const FileUploadWithOptions: z.ZodObject<{
2138
2138
  }, z.core.$strip>;
2139
2139
  }, z.core.$strip>>;
2140
2140
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2141
- "application/msword": "application/msword";
2142
- "application/pdf": "application/pdf";
2143
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2144
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2145
- "image/jpeg": "image/jpeg";
2146
- "image/jpg": "image/jpg";
2147
2141
  "image/png": "image/png";
2142
+ "image/jpg": "image/jpg";
2143
+ "image/jpeg": "image/jpeg";
2148
2144
  "image/svg+xml": "image/svg+xml";
2145
+ "application/pdf": "application/pdf";
2146
+ "application/msword": "application/msword";
2147
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2148
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
2149
2149
  }>>>;
2150
2150
  }, z.core.$strip>>;
2151
2151
  }, z.core.$strip>;
@@ -2205,61 +2205,61 @@ declare const Facility: z.ZodObject<{
2205
2205
  allowedLocations: z.ZodOptional<z.ZodObject<{
2206
2206
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2207
2207
  administrativeArea: "administrativeArea";
2208
- all: "all";
2209
2208
  location: "location";
2209
+ all: "all";
2210
2210
  }>, z.ZodObject<{
2211
2211
  $scope: z.ZodEnum<{
2212
- "attachment.upload": "attachment.upload";
2212
+ "record.search": "record.search";
2213
+ "record.create": "record.create";
2214
+ "record.read": "record.read";
2215
+ "record.declare": "record.declare";
2216
+ "record.notify": "record.notify";
2217
+ "record.edit": "record.edit";
2218
+ "record.reject": "record.reject";
2219
+ "record.archive": "record.archive";
2220
+ "record.unarchive": "record.unarchive";
2221
+ "record.review-duplicates": "record.review-duplicates";
2222
+ "record.register": "record.register";
2223
+ "record.print-certified-copies": "record.print-certified-copies";
2224
+ "record.request-correction": "record.request-correction";
2225
+ "record.correct": "record.correct";
2226
+ "record.unassign-others": "record.unassign-others";
2227
+ "record.custom-action": "record.custom-action";
2213
2228
  bypassratelimit: "bypassratelimit";
2214
- "config.update-all": "config.update-all";
2215
- "dashboard.view": "dashboard.view";
2229
+ "record.reindex": "record.reindex";
2230
+ "user.data-seeding": "user.data-seeding";
2216
2231
  "integration.create": "integration.create";
2217
- "location.edit": "location.edit";
2218
- "organisation.read-locations": "organisation.read-locations";
2232
+ "record.import": "record.import";
2233
+ "config.update-all": "config.update-all";
2234
+ "attachment.upload": "attachment.upload";
2235
+ "profile.electronic-signature": "profile.electronic-signature";
2236
+ "user.read-only-my-audit": "user.read-only-my-audit";
2219
2237
  "performance.read": "performance.read";
2220
2238
  "performance.read-dashboards": "performance.read-dashboards";
2221
2239
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2222
- "profile.electronic-signature": "profile.electronic-signature";
2223
- "record.archive": "record.archive";
2224
2240
  "record.confirm-registration": "record.confirm-registration";
2225
- "record.correct": "record.correct";
2226
- "record.create": "record.create";
2227
- "record.custom-action": "record.custom-action";
2228
- "record.declare": "record.declare";
2229
- "record.edit": "record.edit";
2230
- "record.import": "record.import";
2231
- "record.notify": "record.notify";
2232
- "record.print-certified-copies": "record.print-certified-copies";
2233
- "record.read": "record.read";
2234
- "record.register": "record.register";
2235
- "record.reindex": "record.reindex";
2236
- "record.reject": "record.reject";
2237
2241
  "record.reject-registration": "record.reject-registration";
2238
- "record.request-correction": "record.request-correction";
2239
- "record.review-duplicates": "record.review-duplicates";
2240
- "record.search": "record.search";
2241
- "record.unarchive": "record.unarchive";
2242
- "record.unassign-others": "record.unassign-others";
2242
+ "organisation.read-locations": "organisation.read-locations";
2243
+ "user.read": "user.read";
2243
2244
  "user.create": "user.create";
2244
- "user.data-seeding": "user.data-seeding";
2245
2245
  "user.edit": "user.edit";
2246
- "user.read": "user.read";
2247
- "user.read-only-my-audit": "user.read-only-my-audit";
2248
2246
  "user.search": "user.search";
2249
2247
  workqueue: "workqueue";
2248
+ "dashboard.view": "dashboard.view";
2250
2249
  }>;
2251
2250
  $option: z.ZodEnum<{
2252
- accessLevel: "accessLevel";
2253
- declaredBy: "declaredBy";
2254
- declaredIn: "declaredIn";
2251
+ role: "role";
2255
2252
  event: "event";
2256
- ids: "ids";
2257
- notifiedBy: "notifiedBy";
2258
- notifiedIn: "notifiedIn";
2259
2253
  placeOfEvent: "placeOfEvent";
2260
- registeredBy: "registeredBy";
2254
+ notifiedIn: "notifiedIn";
2255
+ notifiedBy: "notifiedBy";
2256
+ declaredIn: "declaredIn";
2257
+ declaredBy: "declaredBy";
2261
2258
  registeredIn: "registeredIn";
2262
- role: "role";
2259
+ registeredBy: "registeredBy";
2260
+ flags: "flags";
2261
+ accessLevel: "accessLevel";
2262
+ ids: "ids";
2263
2263
  }>;
2264
2264
  }, z.core.$strip>]>;
2265
2265
  }, z.core.$strip>>;
@@ -2321,61 +2321,61 @@ declare const Office: z.ZodObject<{
2321
2321
  allowedLocations: z.ZodOptional<z.ZodObject<{
2322
2322
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2323
2323
  administrativeArea: "administrativeArea";
2324
- all: "all";
2325
2324
  location: "location";
2325
+ all: "all";
2326
2326
  }>, z.ZodObject<{
2327
2327
  $scope: z.ZodEnum<{
2328
- "attachment.upload": "attachment.upload";
2328
+ "record.search": "record.search";
2329
+ "record.create": "record.create";
2330
+ "record.read": "record.read";
2331
+ "record.declare": "record.declare";
2332
+ "record.notify": "record.notify";
2333
+ "record.edit": "record.edit";
2334
+ "record.reject": "record.reject";
2335
+ "record.archive": "record.archive";
2336
+ "record.unarchive": "record.unarchive";
2337
+ "record.review-duplicates": "record.review-duplicates";
2338
+ "record.register": "record.register";
2339
+ "record.print-certified-copies": "record.print-certified-copies";
2340
+ "record.request-correction": "record.request-correction";
2341
+ "record.correct": "record.correct";
2342
+ "record.unassign-others": "record.unassign-others";
2343
+ "record.custom-action": "record.custom-action";
2329
2344
  bypassratelimit: "bypassratelimit";
2330
- "config.update-all": "config.update-all";
2331
- "dashboard.view": "dashboard.view";
2345
+ "record.reindex": "record.reindex";
2346
+ "user.data-seeding": "user.data-seeding";
2332
2347
  "integration.create": "integration.create";
2333
- "location.edit": "location.edit";
2334
- "organisation.read-locations": "organisation.read-locations";
2348
+ "record.import": "record.import";
2349
+ "config.update-all": "config.update-all";
2350
+ "attachment.upload": "attachment.upload";
2351
+ "profile.electronic-signature": "profile.electronic-signature";
2352
+ "user.read-only-my-audit": "user.read-only-my-audit";
2335
2353
  "performance.read": "performance.read";
2336
2354
  "performance.read-dashboards": "performance.read-dashboards";
2337
2355
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2338
- "profile.electronic-signature": "profile.electronic-signature";
2339
- "record.archive": "record.archive";
2340
2356
  "record.confirm-registration": "record.confirm-registration";
2341
- "record.correct": "record.correct";
2342
- "record.create": "record.create";
2343
- "record.custom-action": "record.custom-action";
2344
- "record.declare": "record.declare";
2345
- "record.edit": "record.edit";
2346
- "record.import": "record.import";
2347
- "record.notify": "record.notify";
2348
- "record.print-certified-copies": "record.print-certified-copies";
2349
- "record.read": "record.read";
2350
- "record.register": "record.register";
2351
- "record.reindex": "record.reindex";
2352
- "record.reject": "record.reject";
2353
2357
  "record.reject-registration": "record.reject-registration";
2354
- "record.request-correction": "record.request-correction";
2355
- "record.review-duplicates": "record.review-duplicates";
2356
- "record.search": "record.search";
2357
- "record.unarchive": "record.unarchive";
2358
- "record.unassign-others": "record.unassign-others";
2358
+ "organisation.read-locations": "organisation.read-locations";
2359
+ "user.read": "user.read";
2359
2360
  "user.create": "user.create";
2360
- "user.data-seeding": "user.data-seeding";
2361
2361
  "user.edit": "user.edit";
2362
- "user.read": "user.read";
2363
- "user.read-only-my-audit": "user.read-only-my-audit";
2364
2362
  "user.search": "user.search";
2365
2363
  workqueue: "workqueue";
2364
+ "dashboard.view": "dashboard.view";
2366
2365
  }>;
2367
2366
  $option: z.ZodEnum<{
2368
- accessLevel: "accessLevel";
2369
- declaredBy: "declaredBy";
2370
- declaredIn: "declaredIn";
2367
+ role: "role";
2371
2368
  event: "event";
2372
- ids: "ids";
2373
- notifiedBy: "notifiedBy";
2374
- notifiedIn: "notifiedIn";
2375
2369
  placeOfEvent: "placeOfEvent";
2376
- registeredBy: "registeredBy";
2370
+ notifiedIn: "notifiedIn";
2371
+ notifiedBy: "notifiedBy";
2372
+ declaredIn: "declaredIn";
2373
+ declaredBy: "declaredBy";
2377
2374
  registeredIn: "registeredIn";
2378
- role: "role";
2375
+ registeredBy: "registeredBy";
2376
+ flags: "flags";
2377
+ accessLevel: "accessLevel";
2378
+ ids: "ids";
2379
2379
  }>;
2380
2380
  }, z.core.$strip>]>;
2381
2381
  }, z.core.$strip>>;
@@ -2388,18 +2388,18 @@ export declare const DefaultAddressFieldValue: z.ZodObject<{
2388
2388
  addressType: z.ZodLiteral<"DOMESTIC">;
2389
2389
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2390
2390
  $userField: z.ZodEnum<{
2391
- administrativeAreaId: "administrativeAreaId";
2392
- avatar: "avatar";
2393
- device: "device";
2394
- firstname: "firstname";
2395
- fullHonorificName: "fullHonorificName";
2396
2391
  id: "id";
2392
+ firstname: "firstname";
2393
+ surname: "surname";
2397
2394
  middlename: "middlename";
2398
2395
  name: "name";
2399
- primaryOfficeId: "primaryOfficeId";
2400
2396
  role: "role";
2397
+ fullHonorificName: "fullHonorificName";
2398
+ device: "device";
2401
2399
  signature: "signature";
2402
- surname: "surname";
2400
+ avatar: "avatar";
2401
+ primaryOfficeId: "primaryOfficeId";
2402
+ administrativeAreaId: "administrativeAreaId";
2403
2403
  }>;
2404
2404
  $location: z.ZodOptional<z.ZodString>;
2405
2405
  }, z.core.$strip>]>>;
@@ -2454,6 +2454,7 @@ declare const Address: z.ZodObject<{
2454
2454
  lineSeparator: z.ZodOptional<z.ZodString>;
2455
2455
  fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2456
2456
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2457
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2457
2458
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2458
2459
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2459
2460
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2468,7 +2469,6 @@ declare const Address: z.ZodObject<{
2468
2469
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2469
2470
  conditional: z.ZodAny;
2470
2471
  }, z.core.$strip>], "type">>>>>;
2471
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
2472
2472
  optionOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2473
2473
  value: z.ZodString;
2474
2474
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2481,6 +2481,7 @@ declare const Address: z.ZodObject<{
2481
2481
  }, z.core.$strip>>>>;
2482
2482
  }, z.core.$strip>, z.ZodObject<{
2483
2483
  id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2484
+ type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2484
2485
  label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
2485
2486
  required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2486
2487
  message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
@@ -2495,7 +2496,6 @@ declare const Address: z.ZodObject<{
2495
2496
  type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
2496
2497
  conditional: z.ZodAny;
2497
2498
  }, z.core.$strip>], "type">>>>>;
2498
- type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
2499
2499
  }, z.core.$strip>]>>>;
2500
2500
  streetAddressForm: z.ZodOptional<z.ZodArray<z.ZodObject<{
2501
2501
  id: z.ZodString;
@@ -2523,61 +2523,61 @@ declare const Address: z.ZodObject<{
2523
2523
  allowedLocations: z.ZodOptional<z.ZodObject<{
2524
2524
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
2525
2525
  administrativeArea: "administrativeArea";
2526
- all: "all";
2527
2526
  location: "location";
2527
+ all: "all";
2528
2528
  }>, z.ZodObject<{
2529
2529
  $scope: z.ZodEnum<{
2530
- "attachment.upload": "attachment.upload";
2530
+ "record.search": "record.search";
2531
+ "record.create": "record.create";
2532
+ "record.read": "record.read";
2533
+ "record.declare": "record.declare";
2534
+ "record.notify": "record.notify";
2535
+ "record.edit": "record.edit";
2536
+ "record.reject": "record.reject";
2537
+ "record.archive": "record.archive";
2538
+ "record.unarchive": "record.unarchive";
2539
+ "record.review-duplicates": "record.review-duplicates";
2540
+ "record.register": "record.register";
2541
+ "record.print-certified-copies": "record.print-certified-copies";
2542
+ "record.request-correction": "record.request-correction";
2543
+ "record.correct": "record.correct";
2544
+ "record.unassign-others": "record.unassign-others";
2545
+ "record.custom-action": "record.custom-action";
2531
2546
  bypassratelimit: "bypassratelimit";
2532
- "config.update-all": "config.update-all";
2533
- "dashboard.view": "dashboard.view";
2547
+ "record.reindex": "record.reindex";
2548
+ "user.data-seeding": "user.data-seeding";
2534
2549
  "integration.create": "integration.create";
2535
- "location.edit": "location.edit";
2536
- "organisation.read-locations": "organisation.read-locations";
2550
+ "record.import": "record.import";
2551
+ "config.update-all": "config.update-all";
2552
+ "attachment.upload": "attachment.upload";
2553
+ "profile.electronic-signature": "profile.electronic-signature";
2554
+ "user.read-only-my-audit": "user.read-only-my-audit";
2537
2555
  "performance.read": "performance.read";
2538
2556
  "performance.read-dashboards": "performance.read-dashboards";
2539
2557
  "performance.vital-statistics-export": "performance.vital-statistics-export";
2540
- "profile.electronic-signature": "profile.electronic-signature";
2541
- "record.archive": "record.archive";
2542
2558
  "record.confirm-registration": "record.confirm-registration";
2543
- "record.correct": "record.correct";
2544
- "record.create": "record.create";
2545
- "record.custom-action": "record.custom-action";
2546
- "record.declare": "record.declare";
2547
- "record.edit": "record.edit";
2548
- "record.import": "record.import";
2549
- "record.notify": "record.notify";
2550
- "record.print-certified-copies": "record.print-certified-copies";
2551
- "record.read": "record.read";
2552
- "record.register": "record.register";
2553
- "record.reindex": "record.reindex";
2554
- "record.reject": "record.reject";
2555
2559
  "record.reject-registration": "record.reject-registration";
2556
- "record.request-correction": "record.request-correction";
2557
- "record.review-duplicates": "record.review-duplicates";
2558
- "record.search": "record.search";
2559
- "record.unarchive": "record.unarchive";
2560
- "record.unassign-others": "record.unassign-others";
2560
+ "organisation.read-locations": "organisation.read-locations";
2561
+ "user.read": "user.read";
2561
2562
  "user.create": "user.create";
2562
- "user.data-seeding": "user.data-seeding";
2563
2563
  "user.edit": "user.edit";
2564
- "user.read": "user.read";
2565
- "user.read-only-my-audit": "user.read-only-my-audit";
2566
2564
  "user.search": "user.search";
2567
2565
  workqueue: "workqueue";
2566
+ "dashboard.view": "dashboard.view";
2568
2567
  }>;
2569
2568
  $option: z.ZodEnum<{
2570
- accessLevel: "accessLevel";
2571
- declaredBy: "declaredBy";
2572
- declaredIn: "declaredIn";
2569
+ role: "role";
2573
2570
  event: "event";
2574
- ids: "ids";
2575
- notifiedBy: "notifiedBy";
2576
- notifiedIn: "notifiedIn";
2577
2571
  placeOfEvent: "placeOfEvent";
2578
- registeredBy: "registeredBy";
2572
+ notifiedIn: "notifiedIn";
2573
+ notifiedBy: "notifiedBy";
2574
+ declaredIn: "declaredIn";
2575
+ declaredBy: "declaredBy";
2579
2576
  registeredIn: "registeredIn";
2580
- role: "role";
2577
+ registeredBy: "registeredBy";
2578
+ flags: "flags";
2579
+ accessLevel: "accessLevel";
2580
+ ids: "ids";
2581
2581
  }>;
2582
2582
  }, z.core.$strip>]>;
2583
2583
  }, z.core.$strip>>;
@@ -2588,18 +2588,18 @@ declare const Address: z.ZodObject<{
2588
2588
  addressType: z.ZodLiteral<"DOMESTIC">;
2589
2589
  administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
2590
2590
  $userField: z.ZodEnum<{
2591
- administrativeAreaId: "administrativeAreaId";
2592
- avatar: "avatar";
2593
- device: "device";
2594
- firstname: "firstname";
2595
- fullHonorificName: "fullHonorificName";
2596
2591
  id: "id";
2592
+ firstname: "firstname";
2593
+ surname: "surname";
2597
2594
  middlename: "middlename";
2598
2595
  name: "name";
2599
- primaryOfficeId: "primaryOfficeId";
2600
2596
  role: "role";
2597
+ fullHonorificName: "fullHonorificName";
2598
+ device: "device";
2601
2599
  signature: "signature";
2602
- surname: "surname";
2600
+ avatar: "avatar";
2601
+ primaryOfficeId: "primaryOfficeId";
2602
+ administrativeAreaId: "administrativeAreaId";
2603
2603
  }>;
2604
2604
  $location: z.ZodOptional<z.ZodString>;
2605
2605
  }, z.core.$strip>]>>;
@@ -2694,27 +2694,27 @@ declare const ButtonConfiguration: z.ZodObject<{
2694
2694
  icon: z.ZodOptional<z.ZodString>;
2695
2695
  loading: z.ZodOptional<z.ZodBoolean>;
2696
2696
  buttonSize: z.ZodOptional<z.ZodEnum<{
2697
- large: "large";
2698
- medium: "medium";
2699
2697
  small: "small";
2698
+ medium: "medium";
2699
+ large: "large";
2700
2700
  }>>;
2701
2701
  buttonType: z.ZodOptional<z.ZodEnum<{
2702
- icon: "icon";
2703
- iconPrimary: "iconPrimary";
2704
- negative: "negative";
2705
- positive: "positive";
2706
2702
  primary: "primary";
2707
2703
  secondary: "secondary";
2708
- secondaryNegative: "secondaryNegative";
2709
2704
  tertiary: "tertiary";
2705
+ positive: "positive";
2706
+ negative: "negative";
2707
+ secondaryNegative: "secondaryNegative";
2708
+ icon: "icon";
2709
+ iconPrimary: "iconPrimary";
2710
2710
  }>>;
2711
2711
  textColor: z.ZodOptional<z.ZodEnum<{
2712
- copy: "copy";
2713
2712
  primary: "primary";
2713
+ copy: "copy";
2714
2714
  }>>;
2715
2715
  textVariant: z.ZodOptional<z.ZodEnum<{
2716
- bold14: "bold14";
2717
2716
  reg14: "reg14";
2717
+ bold14: "bold14";
2718
2718
  }>>;
2719
2719
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2720
2720
  }, z.core.$strip>;
@@ -2771,27 +2771,27 @@ declare const ButtonField: z.ZodObject<{
2771
2771
  icon: z.ZodOptional<z.ZodString>;
2772
2772
  loading: z.ZodOptional<z.ZodBoolean>;
2773
2773
  buttonSize: z.ZodOptional<z.ZodEnum<{
2774
- large: "large";
2775
- medium: "medium";
2776
2774
  small: "small";
2775
+ medium: "medium";
2776
+ large: "large";
2777
2777
  }>>;
2778
2778
  buttonType: z.ZodOptional<z.ZodEnum<{
2779
- icon: "icon";
2780
- iconPrimary: "iconPrimary";
2781
- negative: "negative";
2782
- positive: "positive";
2783
2779
  primary: "primary";
2784
2780
  secondary: "secondary";
2785
- secondaryNegative: "secondaryNegative";
2786
2781
  tertiary: "tertiary";
2782
+ positive: "positive";
2783
+ negative: "negative";
2784
+ secondaryNegative: "secondaryNegative";
2785
+ icon: "icon";
2786
+ iconPrimary: "iconPrimary";
2787
2787
  }>>;
2788
2788
  textColor: z.ZodOptional<z.ZodEnum<{
2789
- copy: "copy";
2790
2789
  primary: "primary";
2790
+ copy: "copy";
2791
2791
  }>>;
2792
2792
  textVariant: z.ZodOptional<z.ZodEnum<{
2793
- bold14: "bold14";
2794
2793
  reg14: "reg14";
2794
+ bold14: "bold14";
2795
2795
  }>>;
2796
2796
  text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
2797
2797
  }, z.core.$strip>;
@@ -3173,10 +3173,10 @@ declare const VerificationStatus: z.ZodObject<{
3173
3173
  analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3174
3174
  type: z.ZodLiteral<"VERIFICATION_STATUS">;
3175
3175
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
3176
+ verified: "verified";
3176
3177
  authenticated: "authenticated";
3177
3178
  failed: "failed";
3178
3179
  pending: "pending";
3179
- verified: "verified";
3180
3180
  }>, z.ZodObject<{
3181
3181
  $$code: z.ZodString;
3182
3182
  }, z.core.$strip>]>>;
@@ -3728,14 +3728,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3728
3728
  configuration: z.ZodDefault<z.ZodObject<{
3729
3729
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3730
3730
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3731
- "application/msword": "application/msword";
3732
- "application/pdf": "application/pdf";
3733
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3734
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3735
- "image/jpeg": "image/jpeg";
3736
- "image/jpg": "image/jpg";
3737
3731
  "image/png": "image/png";
3732
+ "image/jpg": "image/jpg";
3733
+ "image/jpeg": "image/jpeg";
3738
3734
  "image/svg+xml": "image/svg+xml";
3735
+ "application/pdf": "application/pdf";
3736
+ "application/msword": "application/msword";
3737
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3738
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3739
3739
  }>>>;
3740
3740
  }, z.core.$strip>>;
3741
3741
  }, z.core.$strip>, z.ZodObject<{
@@ -3793,14 +3793,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3793
3793
  configuration: z.ZodDefault<z.ZodObject<{
3794
3794
  maxFileSize: z.ZodDefault<z.ZodNumber>;
3795
3795
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3796
- "application/msword": "application/msword";
3797
- "application/pdf": "application/pdf";
3798
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3799
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3800
- "image/jpeg": "image/jpeg";
3801
- "image/jpg": "image/jpg";
3802
3796
  "image/png": "image/png";
3797
+ "image/jpg": "image/jpg";
3798
+ "image/jpeg": "image/jpeg";
3803
3799
  "image/svg+xml": "image/svg+xml";
3800
+ "application/pdf": "application/pdf";
3801
+ "application/msword": "application/msword";
3802
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3803
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3804
3804
  }>>>;
3805
3805
  maxImageSize: z.ZodOptional<z.ZodObject<{
3806
3806
  targetSize: z.ZodObject<{
@@ -3810,8 +3810,8 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3810
3810
  }, z.core.$strip>>;
3811
3811
  style: z.ZodOptional<z.ZodObject<{
3812
3812
  width: z.ZodOptional<z.ZodEnum<{
3813
- auto: "auto";
3814
3813
  full: "full";
3814
+ auto: "auto";
3815
3815
  }>>;
3816
3816
  }, z.core.$strip>>;
3817
3817
  fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
@@ -3889,14 +3889,14 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
3889
3889
  }, z.core.$strip>;
3890
3890
  }, z.core.$strip>>;
3891
3891
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3892
- "application/msword": "application/msword";
3893
- "application/pdf": "application/pdf";
3894
- "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3895
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3896
- "image/jpeg": "image/jpeg";
3897
- "image/jpg": "image/jpg";
3898
3892
  "image/png": "image/png";
3893
+ "image/jpg": "image/jpg";
3894
+ "image/jpeg": "image/jpeg";
3899
3895
  "image/svg+xml": "image/svg+xml";
3896
+ "application/pdf": "application/pdf";
3897
+ "application/msword": "application/msword";
3898
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3899
+ "application/vnd.oasis.opendocument.text": "application/vnd.oasis.opendocument.text";
3900
3900
  }>>>;
3901
3901
  }, z.core.$strip>>;
3902
3902
  }, z.core.$strip>], "type">;