@opencrvs/toolkit 1.8.0-rc.f7e8fb5 → 1.8.0-rc.f8e4107

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 (34) hide show
  1. package/README.md +1 -1
  2. package/dist/commons/api/router.d.ts +6649 -9067
  3. package/dist/commons/conditionals/conditionals.d.ts +91 -3
  4. package/dist/commons/conditionals/validate-address.test.d.ts +2 -0
  5. package/dist/commons/conditionals/validate.d.ts +41 -17
  6. package/dist/commons/conditionals/validate.test.d.ts +2 -0
  7. package/dist/commons/events/ActionConfig.d.ts +1123 -2056
  8. package/dist/commons/events/ActionDocument.d.ts +9644 -363
  9. package/dist/commons/events/ActionInput.d.ts +5329 -472
  10. package/dist/commons/events/ActionType.d.ts +26 -11
  11. package/dist/commons/events/AdvancedSearchConfig.d.ts +107 -14
  12. package/dist/commons/events/CompositeFieldValue.d.ts +152 -2
  13. package/dist/commons/events/Conditional.d.ts +21 -5
  14. package/dist/commons/events/Draft.d.ts +361 -53
  15. package/dist/commons/events/EventConfig.d.ts +634 -1223
  16. package/dist/commons/events/EventConfigInput.d.ts +6 -3
  17. package/dist/commons/events/EventDocument.d.ts +3495 -499
  18. package/dist/commons/events/EventIndex.d.ts +752 -7
  19. package/dist/commons/events/EventMetadata.d.ts +9 -3
  20. package/dist/commons/events/FieldConfig.d.ts +571 -119
  21. package/dist/commons/events/FieldType.d.ts +2 -1
  22. package/dist/commons/events/FieldTypeMapping.d.ts +154 -3
  23. package/dist/commons/events/FieldValue.d.ts +76 -2
  24. package/dist/commons/events/FormConfig.d.ts +633 -48
  25. package/dist/commons/events/PageConfig.d.ts +335 -0
  26. package/dist/commons/events/TemplateConfig.d.ts +5 -5
  27. package/dist/commons/events/defineConfig.d.ts +94 -215
  28. package/dist/commons/events/index.d.ts +2 -1
  29. package/dist/commons/events/test.utils.d.ts +140 -213
  30. package/dist/commons/events/utils.d.ts +125 -86
  31. package/dist/commons/events/utils.test.d.ts +2 -0
  32. package/dist/conditionals/index.js +215 -81
  33. package/dist/events/index.js +1949 -1232
  34. package/package.json +1 -1
@@ -13,7 +13,7 @@ declare const BaseField: z.ZodObject<{
13
13
  expression: string;
14
14
  dependsOn?: string[] | undefined;
15
15
  }>]>>;
16
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
16
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
17
17
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
18
18
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
19
19
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -54,7 +54,6 @@ declare const BaseField: z.ZodObject<{
54
54
  message: TranslationConfig;
55
55
  validator: import(".").JSONSchema;
56
56
  }[] | undefined;
57
- required?: boolean | undefined;
58
57
  dependsOn?: string[] | undefined;
59
58
  defaultValue?: string | number | boolean | {
60
59
  dependsOn: string[];
@@ -66,7 +65,11 @@ declare const BaseField: z.ZodObject<{
66
65
  } | {
67
66
  type: "ENABLE";
68
67
  conditional: import(".").JSONSchema;
68
+ } | {
69
+ type: "DISPLAY_ON_REVIEW";
70
+ conditional: import(".").JSONSchema;
69
71
  })[] | undefined;
72
+ required?: boolean | undefined;
70
73
  disabled?: boolean | undefined;
71
74
  hidden?: boolean | undefined;
72
75
  placeholder?: TranslationConfig | undefined;
@@ -86,7 +89,6 @@ declare const BaseField: z.ZodObject<{
86
89
  };
87
90
  validator: import(".").JSONSchema;
88
91
  }[] | undefined;
89
- required?: boolean | undefined;
90
92
  dependsOn?: string[] | undefined;
91
93
  defaultValue?: string | number | boolean | {
92
94
  expression: string;
@@ -98,7 +100,11 @@ declare const BaseField: z.ZodObject<{
98
100
  } | {
99
101
  type: "ENABLE";
100
102
  conditional: import(".").JSONSchema;
103
+ } | {
104
+ type: "DISPLAY_ON_REVIEW";
105
+ conditional: import(".").JSONSchema;
101
106
  })[] | undefined;
107
+ required?: boolean | undefined;
102
108
  disabled?: boolean | undefined;
103
109
  hidden?: boolean | undefined;
104
110
  placeholder?: {
@@ -121,7 +127,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
121
127
  expression: string;
122
128
  dependsOn?: string[] | undefined;
123
129
  }>]>>;
124
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
130
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
125
131
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
126
132
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
127
133
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -165,7 +171,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
165
171
  message: TranslationConfig;
166
172
  validator: import(".").JSONSchema;
167
173
  }[] | undefined;
168
- required?: boolean | undefined;
169
174
  dependsOn?: string[] | undefined;
170
175
  defaultValue?: string | number | boolean | {
171
176
  dependsOn: string[];
@@ -177,7 +182,11 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
177
182
  } | {
178
183
  type: "ENABLE";
179
184
  conditional: import(".").JSONSchema;
185
+ } | {
186
+ type: "DISPLAY_ON_REVIEW";
187
+ conditional: import(".").JSONSchema;
180
188
  })[] | undefined;
189
+ required?: boolean | undefined;
181
190
  disabled?: boolean | undefined;
182
191
  hidden?: boolean | undefined;
183
192
  placeholder?: TranslationConfig | undefined;
@@ -198,7 +207,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
198
207
  };
199
208
  validator: import(".").JSONSchema;
200
209
  }[] | undefined;
201
- required?: boolean | undefined;
202
210
  dependsOn?: string[] | undefined;
203
211
  defaultValue?: string | number | boolean | {
204
212
  expression: string;
@@ -210,7 +218,11 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
210
218
  } | {
211
219
  type: "ENABLE";
212
220
  conditional: import(".").JSONSchema;
221
+ } | {
222
+ type: "DISPLAY_ON_REVIEW";
223
+ conditional: import(".").JSONSchema;
213
224
  })[] | undefined;
225
+ required?: boolean | undefined;
214
226
  disabled?: boolean | undefined;
215
227
  hidden?: boolean | undefined;
216
228
  placeholder?: {
@@ -233,7 +245,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
233
245
  expression: string;
234
246
  dependsOn?: string[] | undefined;
235
247
  }>]>>;
236
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
248
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
237
249
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
238
250
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
239
251
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -319,7 +331,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
319
331
  message: TranslationConfig;
320
332
  validator: import(".").JSONSchema;
321
333
  }[] | undefined;
322
- required?: boolean | undefined;
323
334
  dependsOn?: string[] | undefined;
324
335
  defaultValue?: string | {
325
336
  dependsOn: string[];
@@ -331,7 +342,11 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
331
342
  } | {
332
343
  type: "ENABLE";
333
344
  conditional: import(".").JSONSchema;
345
+ } | {
346
+ type: "DISPLAY_ON_REVIEW";
347
+ conditional: import(".").JSONSchema;
334
348
  })[] | undefined;
349
+ required?: boolean | undefined;
335
350
  disabled?: boolean | undefined;
336
351
  hidden?: boolean | undefined;
337
352
  placeholder?: TranslationConfig | undefined;
@@ -358,7 +373,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
358
373
  };
359
374
  validator: import(".").JSONSchema;
360
375
  }[] | undefined;
361
- required?: boolean | undefined;
362
376
  dependsOn?: string[] | undefined;
363
377
  defaultValue?: string | {
364
378
  expression: string;
@@ -370,7 +384,11 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
370
384
  } | {
371
385
  type: "ENABLE";
372
386
  conditional: import(".").JSONSchema;
387
+ } | {
388
+ type: "DISPLAY_ON_REVIEW";
389
+ conditional: import(".").JSONSchema;
373
390
  })[] | undefined;
391
+ required?: boolean | undefined;
374
392
  disabled?: boolean | undefined;
375
393
  hidden?: boolean | undefined;
376
394
  placeholder?: {
@@ -407,7 +425,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
407
425
  expression: string;
408
426
  dependsOn?: string[] | undefined;
409
427
  }>]>>;
410
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
428
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
411
429
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
412
430
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
413
431
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -493,7 +511,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
493
511
  message: TranslationConfig;
494
512
  validator: import(".").JSONSchema;
495
513
  }[] | undefined;
496
- required?: boolean | undefined;
497
514
  dependsOn?: string[] | undefined;
498
515
  defaultValue?: number | {
499
516
  dependsOn: string[];
@@ -505,7 +522,11 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
505
522
  } | {
506
523
  type: "ENABLE";
507
524
  conditional: import(".").JSONSchema;
525
+ } | {
526
+ type: "DISPLAY_ON_REVIEW";
527
+ conditional: import(".").JSONSchema;
508
528
  })[] | undefined;
529
+ required?: boolean | undefined;
509
530
  disabled?: boolean | undefined;
510
531
  hidden?: boolean | undefined;
511
532
  placeholder?: TranslationConfig | undefined;
@@ -532,7 +553,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
532
553
  };
533
554
  validator: import(".").JSONSchema;
534
555
  }[] | undefined;
535
- required?: boolean | undefined;
536
556
  dependsOn?: string[] | undefined;
537
557
  defaultValue?: number | {
538
558
  expression: string;
@@ -544,7 +564,11 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
544
564
  } | {
545
565
  type: "ENABLE";
546
566
  conditional: import(".").JSONSchema;
567
+ } | {
568
+ type: "DISPLAY_ON_REVIEW";
569
+ conditional: import(".").JSONSchema;
547
570
  })[] | undefined;
571
+ required?: boolean | undefined;
548
572
  disabled?: boolean | undefined;
549
573
  hidden?: boolean | undefined;
550
574
  placeholder?: {
@@ -580,7 +604,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
580
604
  expression: string;
581
605
  dependsOn?: string[] | undefined;
582
606
  }>]>>;
583
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
607
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
584
608
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
585
609
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
586
610
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -669,7 +693,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
669
693
  message: TranslationConfig;
670
694
  validator: import(".").JSONSchema;
671
695
  }[] | undefined;
672
- required?: boolean | undefined;
673
696
  dependsOn?: string[] | undefined;
674
697
  defaultValue?: string | {
675
698
  dependsOn: string[];
@@ -681,7 +704,11 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
681
704
  } | {
682
705
  type: "ENABLE";
683
706
  conditional: import(".").JSONSchema;
707
+ } | {
708
+ type: "DISPLAY_ON_REVIEW";
709
+ conditional: import(".").JSONSchema;
684
710
  })[] | undefined;
711
+ required?: boolean | undefined;
685
712
  disabled?: boolean | undefined;
686
713
  hidden?: boolean | undefined;
687
714
  placeholder?: TranslationConfig | undefined;
@@ -709,7 +736,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
709
736
  };
710
737
  validator: import(".").JSONSchema;
711
738
  }[] | undefined;
712
- required?: boolean | undefined;
713
739
  dependsOn?: string[] | undefined;
714
740
  defaultValue?: string | {
715
741
  expression: string;
@@ -721,7 +747,11 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
721
747
  } | {
722
748
  type: "ENABLE";
723
749
  conditional: import(".").JSONSchema;
750
+ } | {
751
+ type: "DISPLAY_ON_REVIEW";
752
+ conditional: import(".").JSONSchema;
724
753
  })[] | undefined;
754
+ required?: boolean | undefined;
725
755
  disabled?: boolean | undefined;
726
756
  hidden?: boolean | undefined;
727
757
  placeholder?: {
@@ -747,6 +777,9 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
747
777
  } | undefined;
748
778
  }>;
749
779
  export type TextAreaField = z.infer<typeof TextAreaField>;
780
+ export declare const ImageMimeType: z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>;
781
+ export declare const MimeType: z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>;
782
+ export type MimeType = z.infer<typeof MimeType>;
750
783
  declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
751
784
  id: z.ZodString;
752
785
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodObject<{
@@ -759,7 +792,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
759
792
  expression: string;
760
793
  dependsOn?: string[] | undefined;
761
794
  }>]>>;
762
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
795
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
763
796
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
764
797
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
765
798
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -800,26 +833,29 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
800
833
  description: string;
801
834
  defaultMessage: string;
802
835
  }>;
803
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
804
- maxSizeMb: z.ZodOptional<z.ZodNumber>;
805
- allowedFileFormats: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
836
+ configuration: z.ZodDefault<z.ZodObject<{
837
+ maxFileSize: z.ZodDefault<z.ZodNumber>;
838
+ acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
806
839
  }, "strip", z.ZodTypeAny, {
807
- maxSizeMb?: number | undefined;
808
- allowedFileFormats?: string[] | undefined;
840
+ maxFileSize: number;
841
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
809
842
  }, {
810
- maxSizeMb?: number | undefined;
811
- allowedFileFormats?: string[] | undefined;
812
- }>>>;
843
+ maxFileSize?: number | undefined;
844
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
845
+ }>>;
813
846
  }>, "strip", z.ZodTypeAny, {
814
847
  type: "SIGNATURE";
815
848
  id: string;
816
849
  label: TranslationConfig;
850
+ configuration: {
851
+ maxFileSize: number;
852
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
853
+ };
817
854
  signaturePromptLabel: TranslationConfig;
818
855
  validation?: {
819
856
  message: TranslationConfig;
820
857
  validator: import(".").JSONSchema;
821
858
  }[] | undefined;
822
- required?: boolean | undefined;
823
859
  dependsOn?: string[] | undefined;
824
860
  defaultValue?: string | number | boolean | {
825
861
  dependsOn: string[];
@@ -831,15 +867,15 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
831
867
  } | {
832
868
  type: "ENABLE";
833
869
  conditional: import(".").JSONSchema;
870
+ } | {
871
+ type: "DISPLAY_ON_REVIEW";
872
+ conditional: import(".").JSONSchema;
834
873
  })[] | undefined;
874
+ required?: boolean | undefined;
835
875
  disabled?: boolean | undefined;
836
876
  hidden?: boolean | undefined;
837
877
  placeholder?: TranslationConfig | undefined;
838
878
  hideLabel?: boolean | undefined;
839
- configuration?: {
840
- maxSizeMb?: number | undefined;
841
- allowedFileFormats?: string[] | undefined;
842
- } | undefined;
843
879
  }, {
844
880
  type: "SIGNATURE";
845
881
  id: string;
@@ -861,7 +897,6 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
861
897
  };
862
898
  validator: import(".").JSONSchema;
863
899
  }[] | undefined;
864
- required?: boolean | undefined;
865
900
  dependsOn?: string[] | undefined;
866
901
  defaultValue?: string | number | boolean | {
867
902
  expression: string;
@@ -873,7 +908,11 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
873
908
  } | {
874
909
  type: "ENABLE";
875
910
  conditional: import(".").JSONSchema;
911
+ } | {
912
+ type: "DISPLAY_ON_REVIEW";
913
+ conditional: import(".").JSONSchema;
876
914
  })[] | undefined;
915
+ required?: boolean | undefined;
877
916
  disabled?: boolean | undefined;
878
917
  hidden?: boolean | undefined;
879
918
  placeholder?: {
@@ -883,8 +922,8 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
883
922
  } | undefined;
884
923
  hideLabel?: boolean | undefined;
885
924
  configuration?: {
886
- maxSizeMb?: number | undefined;
887
- allowedFileFormats?: string[] | undefined;
925
+ maxFileSize?: number | undefined;
926
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
888
927
  } | undefined;
889
928
  }>;
890
929
  export type SignatureField = z.infer<typeof SignatureField>;
@@ -900,7 +939,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
900
939
  expression: string;
901
940
  dependsOn?: string[] | undefined;
902
941
  }>]>>;
903
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
942
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
904
943
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
905
944
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
906
945
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -961,7 +1000,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
961
1000
  message: TranslationConfig;
962
1001
  validator: import(".").JSONSchema;
963
1002
  }[] | undefined;
964
- required?: boolean | undefined;
965
1003
  dependsOn?: string[] | undefined;
966
1004
  defaultValue?: string | {
967
1005
  dependsOn: string[];
@@ -973,7 +1011,11 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
973
1011
  } | {
974
1012
  type: "ENABLE";
975
1013
  conditional: import(".").JSONSchema;
1014
+ } | {
1015
+ type: "DISPLAY_ON_REVIEW";
1016
+ conditional: import(".").JSONSchema;
976
1017
  })[] | undefined;
1018
+ required?: boolean | undefined;
977
1019
  disabled?: boolean | undefined;
978
1020
  hidden?: boolean | undefined;
979
1021
  placeholder?: TranslationConfig | undefined;
@@ -997,7 +1039,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
997
1039
  };
998
1040
  validator: import(".").JSONSchema;
999
1041
  }[] | undefined;
1000
- required?: boolean | undefined;
1001
1042
  dependsOn?: string[] | undefined;
1002
1043
  defaultValue?: string | {
1003
1044
  expression: string;
@@ -1009,7 +1050,11 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
1009
1050
  } | {
1010
1051
  type: "ENABLE";
1011
1052
  conditional: import(".").JSONSchema;
1053
+ } | {
1054
+ type: "DISPLAY_ON_REVIEW";
1055
+ conditional: import(".").JSONSchema;
1012
1056
  })[] | undefined;
1057
+ required?: boolean | undefined;
1013
1058
  disabled?: boolean | undefined;
1014
1059
  hidden?: boolean | undefined;
1015
1060
  placeholder?: {
@@ -1035,7 +1080,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1035
1080
  expression: string;
1036
1081
  dependsOn?: string[] | undefined;
1037
1082
  }>]>>;
1038
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
1083
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1039
1084
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1040
1085
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1041
1086
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1104,7 +1149,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1104
1149
  message: TranslationConfig;
1105
1150
  validator: import(".").JSONSchema;
1106
1151
  }[] | undefined;
1107
- required?: boolean | undefined;
1108
1152
  dependsOn?: string[] | undefined;
1109
1153
  defaultValue?: string | {
1110
1154
  dependsOn: string[];
@@ -1116,7 +1160,11 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1116
1160
  } | {
1117
1161
  type: "ENABLE";
1118
1162
  conditional: import(".").JSONSchema;
1163
+ } | {
1164
+ type: "DISPLAY_ON_REVIEW";
1165
+ conditional: import(".").JSONSchema;
1119
1166
  })[] | undefined;
1167
+ required?: boolean | undefined;
1120
1168
  disabled?: boolean | undefined;
1121
1169
  hidden?: boolean | undefined;
1122
1170
  placeholder?: TranslationConfig | undefined;
@@ -1140,7 +1188,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1140
1188
  };
1141
1189
  validator: import(".").JSONSchema;
1142
1190
  }[] | undefined;
1143
- required?: boolean | undefined;
1144
1191
  dependsOn?: string[] | undefined;
1145
1192
  defaultValue?: string | {
1146
1193
  expression: string;
@@ -1152,7 +1199,11 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1152
1199
  } | {
1153
1200
  type: "ENABLE";
1154
1201
  conditional: import(".").JSONSchema;
1202
+ } | {
1203
+ type: "DISPLAY_ON_REVIEW";
1204
+ conditional: import(".").JSONSchema;
1155
1205
  })[] | undefined;
1206
+ required?: boolean | undefined;
1156
1207
  disabled?: boolean | undefined;
1157
1208
  hidden?: boolean | undefined;
1158
1209
  placeholder?: {
@@ -1184,7 +1235,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1184
1235
  expression: string;
1185
1236
  dependsOn?: string[] | undefined;
1186
1237
  }>]>>;
1187
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
1238
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1188
1239
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1189
1240
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1190
1241
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1260,7 +1311,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1260
1311
  message: TranslationConfig;
1261
1312
  validator: import(".").JSONSchema;
1262
1313
  }[] | undefined;
1263
- required?: boolean | undefined;
1264
1314
  dependsOn?: string[] | undefined;
1265
1315
  defaultValue?: string | {
1266
1316
  dependsOn: string[];
@@ -1272,7 +1322,11 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1272
1322
  } | {
1273
1323
  type: "ENABLE";
1274
1324
  conditional: import(".").JSONSchema;
1325
+ } | {
1326
+ type: "DISPLAY_ON_REVIEW";
1327
+ conditional: import(".").JSONSchema;
1275
1328
  })[] | undefined;
1329
+ required?: boolean | undefined;
1276
1330
  disabled?: boolean | undefined;
1277
1331
  hidden?: boolean | undefined;
1278
1332
  placeholder?: TranslationConfig | undefined;
@@ -1293,7 +1347,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1293
1347
  };
1294
1348
  validator: import(".").JSONSchema;
1295
1349
  }[] | undefined;
1296
- required?: boolean | undefined;
1297
1350
  dependsOn?: string[] | undefined;
1298
1351
  defaultValue?: string | {
1299
1352
  expression: string;
@@ -1305,7 +1358,11 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1305
1358
  } | {
1306
1359
  type: "ENABLE";
1307
1360
  conditional: import(".").JSONSchema;
1361
+ } | {
1362
+ type: "DISPLAY_ON_REVIEW";
1363
+ conditional: import(".").JSONSchema;
1308
1364
  })[] | undefined;
1365
+ required?: boolean | undefined;
1309
1366
  disabled?: boolean | undefined;
1310
1367
  hidden?: boolean | undefined;
1311
1368
  placeholder?: {
@@ -1333,7 +1390,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1333
1390
  expression: string;
1334
1391
  dependsOn?: string[] | undefined;
1335
1392
  }>]>>;
1336
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
1393
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1337
1394
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1338
1395
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1339
1396
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1387,7 +1444,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1387
1444
  message: TranslationConfig;
1388
1445
  validator: import(".").JSONSchema;
1389
1446
  }[] | undefined;
1390
- required?: boolean | undefined;
1391
1447
  dependsOn?: string[] | undefined;
1392
1448
  defaultValue?: string | {
1393
1449
  dependsOn: string[];
@@ -1399,7 +1455,11 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1399
1455
  } | {
1400
1456
  type: "ENABLE";
1401
1457
  conditional: import(".").JSONSchema;
1458
+ } | {
1459
+ type: "DISPLAY_ON_REVIEW";
1460
+ conditional: import(".").JSONSchema;
1402
1461
  })[] | undefined;
1462
+ required?: boolean | undefined;
1403
1463
  disabled?: boolean | undefined;
1404
1464
  hidden?: boolean | undefined;
1405
1465
  placeholder?: TranslationConfig | undefined;
@@ -1420,7 +1480,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1420
1480
  };
1421
1481
  validator: import(".").JSONSchema;
1422
1482
  }[] | undefined;
1423
- required?: boolean | undefined;
1424
1483
  dependsOn?: string[] | undefined;
1425
1484
  defaultValue?: string | {
1426
1485
  expression: string;
@@ -1432,7 +1491,11 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1432
1491
  } | {
1433
1492
  type: "ENABLE";
1434
1493
  conditional: import(".").JSONSchema;
1494
+ } | {
1495
+ type: "DISPLAY_ON_REVIEW";
1496
+ conditional: import(".").JSONSchema;
1435
1497
  })[] | undefined;
1498
+ required?: boolean | undefined;
1436
1499
  disabled?: boolean | undefined;
1437
1500
  hidden?: boolean | undefined;
1438
1501
  placeholder?: {
@@ -1455,7 +1518,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1455
1518
  expression: string;
1456
1519
  dependsOn?: string[] | undefined;
1457
1520
  }>]>>;
1458
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
1521
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1459
1522
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1460
1523
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1461
1524
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1491,37 +1554,44 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1491
1554
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1492
1555
  }, {
1493
1556
  type: z.ZodLiteral<"FILE">;
1494
- options: z.ZodOptional<z.ZodObject<{
1495
- style: z.ZodObject<{
1496
- fullWidth: z.ZodBoolean;
1557
+ configuration: z.ZodDefault<z.ZodObject<{
1558
+ maxFileSize: z.ZodDefault<z.ZodNumber>;
1559
+ acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
1560
+ style: z.ZodOptional<z.ZodObject<{
1561
+ width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
1497
1562
  }, "strip", z.ZodTypeAny, {
1498
- fullWidth: boolean;
1563
+ width?: "full" | "auto" | undefined;
1499
1564
  }, {
1500
- fullWidth: boolean;
1501
- }>;
1565
+ width?: "full" | "auto" | undefined;
1566
+ }>>;
1502
1567
  }, "strip", z.ZodTypeAny, {
1503
- style: {
1504
- fullWidth: boolean;
1505
- };
1568
+ maxFileSize: number;
1569
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1570
+ style?: {
1571
+ width?: "full" | "auto" | undefined;
1572
+ } | undefined;
1506
1573
  }, {
1507
- style: {
1508
- fullWidth: boolean;
1509
- };
1574
+ maxFileSize?: number | undefined;
1575
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1576
+ style?: {
1577
+ width?: "full" | "auto" | undefined;
1578
+ } | undefined;
1510
1579
  }>>;
1511
1580
  }>, "strip", z.ZodTypeAny, {
1512
1581
  type: "FILE";
1513
1582
  id: string;
1514
1583
  label: TranslationConfig;
1515
- options?: {
1516
- style: {
1517
- fullWidth: boolean;
1518
- };
1519
- } | undefined;
1584
+ configuration: {
1585
+ maxFileSize: number;
1586
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1587
+ style?: {
1588
+ width?: "full" | "auto" | undefined;
1589
+ } | undefined;
1590
+ };
1520
1591
  validation?: {
1521
1592
  message: TranslationConfig;
1522
1593
  validator: import(".").JSONSchema;
1523
1594
  }[] | undefined;
1524
- required?: boolean | undefined;
1525
1595
  dependsOn?: string[] | undefined;
1526
1596
  defaultValue?: string | number | boolean | {
1527
1597
  dependsOn: string[];
@@ -1533,7 +1603,11 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1533
1603
  } | {
1534
1604
  type: "ENABLE";
1535
1605
  conditional: import(".").JSONSchema;
1606
+ } | {
1607
+ type: "DISPLAY_ON_REVIEW";
1608
+ conditional: import(".").JSONSchema;
1536
1609
  })[] | undefined;
1610
+ required?: boolean | undefined;
1537
1611
  disabled?: boolean | undefined;
1538
1612
  hidden?: boolean | undefined;
1539
1613
  placeholder?: TranslationConfig | undefined;
@@ -1546,11 +1620,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1546
1620
  description: string;
1547
1621
  defaultMessage: string;
1548
1622
  };
1549
- options?: {
1550
- style: {
1551
- fullWidth: boolean;
1552
- };
1553
- } | undefined;
1554
1623
  validation?: {
1555
1624
  message: {
1556
1625
  id: string;
@@ -1559,7 +1628,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1559
1628
  };
1560
1629
  validator: import(".").JSONSchema;
1561
1630
  }[] | undefined;
1562
- required?: boolean | undefined;
1563
1631
  dependsOn?: string[] | undefined;
1564
1632
  defaultValue?: string | number | boolean | {
1565
1633
  expression: string;
@@ -1571,7 +1639,11 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1571
1639
  } | {
1572
1640
  type: "ENABLE";
1573
1641
  conditional: import(".").JSONSchema;
1642
+ } | {
1643
+ type: "DISPLAY_ON_REVIEW";
1644
+ conditional: import(".").JSONSchema;
1574
1645
  })[] | undefined;
1646
+ required?: boolean | undefined;
1575
1647
  disabled?: boolean | undefined;
1576
1648
  hidden?: boolean | undefined;
1577
1649
  placeholder?: {
@@ -1580,9 +1652,16 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1580
1652
  defaultMessage: string;
1581
1653
  } | undefined;
1582
1654
  hideLabel?: boolean | undefined;
1655
+ configuration?: {
1656
+ maxFileSize?: number | undefined;
1657
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1658
+ style?: {
1659
+ width?: "full" | "auto" | undefined;
1660
+ } | undefined;
1661
+ } | undefined;
1583
1662
  }>;
1584
1663
  export type File = z.infer<typeof File>;
1585
- declare const SelectOption: z.ZodObject<{
1664
+ export declare const SelectOption: z.ZodObject<{
1586
1665
  value: z.ZodString;
1587
1666
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1588
1667
  id: string;
@@ -1612,7 +1691,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1612
1691
  expression: string;
1613
1692
  dependsOn?: string[] | undefined;
1614
1693
  }>]>>;
1615
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
1694
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1616
1695
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1617
1696
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1618
1697
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1705,7 +1784,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1705
1784
  message: TranslationConfig;
1706
1785
  validator: import(".").JSONSchema;
1707
1786
  }[] | undefined;
1708
- required?: boolean | undefined;
1709
1787
  dependsOn?: string[] | undefined;
1710
1788
  defaultValue?: string | {
1711
1789
  dependsOn: string[];
@@ -1717,7 +1795,11 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1717
1795
  } | {
1718
1796
  type: "ENABLE";
1719
1797
  conditional: import(".").JSONSchema;
1798
+ } | {
1799
+ type: "DISPLAY_ON_REVIEW";
1800
+ conditional: import(".").JSONSchema;
1720
1801
  })[] | undefined;
1802
+ required?: boolean | undefined;
1721
1803
  disabled?: boolean | undefined;
1722
1804
  hidden?: boolean | undefined;
1723
1805
  placeholder?: TranslationConfig | undefined;
@@ -1751,7 +1833,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1751
1833
  };
1752
1834
  validator: import(".").JSONSchema;
1753
1835
  }[] | undefined;
1754
- required?: boolean | undefined;
1755
1836
  dependsOn?: string[] | undefined;
1756
1837
  defaultValue?: string | {
1757
1838
  expression: string;
@@ -1763,7 +1844,11 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1763
1844
  } | {
1764
1845
  type: "ENABLE";
1765
1846
  conditional: import(".").JSONSchema;
1847
+ } | {
1848
+ type: "DISPLAY_ON_REVIEW";
1849
+ conditional: import(".").JSONSchema;
1766
1850
  })[] | undefined;
1851
+ required?: boolean | undefined;
1767
1852
  disabled?: boolean | undefined;
1768
1853
  hidden?: boolean | undefined;
1769
1854
  placeholder?: {
@@ -1791,7 +1876,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1791
1876
  expression: string;
1792
1877
  dependsOn?: string[] | undefined;
1793
1878
  }>]>>;
1794
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
1879
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1795
1880
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1796
1881
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1797
1882
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1864,7 +1949,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1864
1949
  message: TranslationConfig;
1865
1950
  validator: import(".").JSONSchema;
1866
1951
  }[] | undefined;
1867
- required?: boolean | undefined;
1868
1952
  dependsOn?: string[] | undefined;
1869
1953
  defaultValue?: string | undefined;
1870
1954
  conditionals?: ({
@@ -1873,7 +1957,11 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1873
1957
  } | {
1874
1958
  type: "ENABLE";
1875
1959
  conditional: import(".").JSONSchema;
1960
+ } | {
1961
+ type: "DISPLAY_ON_REVIEW";
1962
+ conditional: import(".").JSONSchema;
1876
1963
  })[] | undefined;
1964
+ required?: boolean | undefined;
1877
1965
  disabled?: boolean | undefined;
1878
1966
  hidden?: boolean | undefined;
1879
1967
  placeholder?: TranslationConfig | undefined;
@@ -1899,7 +1987,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1899
1987
  };
1900
1988
  validator: import(".").JSONSchema;
1901
1989
  }[] | undefined;
1902
- required?: boolean | undefined;
1903
1990
  dependsOn?: string[] | undefined;
1904
1991
  defaultValue?: string | undefined;
1905
1992
  conditionals?: ({
@@ -1908,7 +1995,11 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1908
1995
  } | {
1909
1996
  type: "ENABLE";
1910
1997
  conditional: import(".").JSONSchema;
1998
+ } | {
1999
+ type: "DISPLAY_ON_REVIEW";
2000
+ conditional: import(".").JSONSchema;
1911
2001
  })[] | undefined;
2002
+ required?: boolean | undefined;
1912
2003
  disabled?: boolean | undefined;
1913
2004
  hidden?: boolean | undefined;
1914
2005
  placeholder?: {
@@ -1936,7 +2027,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
1936
2027
  expression: string;
1937
2028
  dependsOn?: string[] | undefined;
1938
2029
  }>]>>;
1939
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
2030
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1940
2031
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1941
2032
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1942
2033
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2012,7 +2103,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2012
2103
  message: TranslationConfig;
2013
2104
  validator: import(".").JSONSchema;
2014
2105
  }[] | undefined;
2015
- required?: boolean | undefined;
2016
2106
  dependsOn?: string[] | undefined;
2017
2107
  defaultValue?: string | {
2018
2108
  dependsOn: string[];
@@ -2024,7 +2114,11 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2024
2114
  } | {
2025
2115
  type: "ENABLE";
2026
2116
  conditional: import(".").JSONSchema;
2117
+ } | {
2118
+ type: "DISPLAY_ON_REVIEW";
2119
+ conditional: import(".").JSONSchema;
2027
2120
  })[] | undefined;
2121
+ required?: boolean | undefined;
2028
2122
  disabled?: boolean | undefined;
2029
2123
  hidden?: boolean | undefined;
2030
2124
  placeholder?: TranslationConfig | undefined;
@@ -2053,7 +2147,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2053
2147
  };
2054
2148
  validator: import(".").JSONSchema;
2055
2149
  }[] | undefined;
2056
- required?: boolean | undefined;
2057
2150
  dependsOn?: string[] | undefined;
2058
2151
  defaultValue?: string | {
2059
2152
  expression: string;
@@ -2065,7 +2158,11 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2065
2158
  } | {
2066
2159
  type: "ENABLE";
2067
2160
  conditional: import(".").JSONSchema;
2161
+ } | {
2162
+ type: "DISPLAY_ON_REVIEW";
2163
+ conditional: import(".").JSONSchema;
2068
2164
  })[] | undefined;
2165
+ required?: boolean | undefined;
2069
2166
  disabled?: boolean | undefined;
2070
2167
  hidden?: boolean | undefined;
2071
2168
  placeholder?: {
@@ -2087,7 +2184,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2087
2184
  expression: string;
2088
2185
  dependsOn?: string[] | undefined;
2089
2186
  }>]>>;
2090
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
2187
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2091
2188
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2092
2189
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2093
2190
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2141,7 +2238,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2141
2238
  message: TranslationConfig;
2142
2239
  validator: import(".").JSONSchema;
2143
2240
  }[] | undefined;
2144
- required?: boolean | undefined;
2145
2241
  dependsOn?: string[] | undefined;
2146
2242
  defaultValue?: boolean | {
2147
2243
  dependsOn: string[];
@@ -2153,7 +2249,11 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2153
2249
  } | {
2154
2250
  type: "ENABLE";
2155
2251
  conditional: import(".").JSONSchema;
2252
+ } | {
2253
+ type: "DISPLAY_ON_REVIEW";
2254
+ conditional: import(".").JSONSchema;
2156
2255
  })[] | undefined;
2256
+ required?: boolean | undefined;
2157
2257
  disabled?: boolean | undefined;
2158
2258
  hidden?: boolean | undefined;
2159
2259
  placeholder?: TranslationConfig | undefined;
@@ -2174,7 +2274,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2174
2274
  };
2175
2275
  validator: import(".").JSONSchema;
2176
2276
  }[] | undefined;
2177
- required?: boolean | undefined;
2178
2277
  dependsOn?: string[] | undefined;
2179
2278
  defaultValue?: boolean | {
2180
2279
  expression: string;
@@ -2186,7 +2285,11 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2186
2285
  } | {
2187
2286
  type: "ENABLE";
2188
2287
  conditional: import(".").JSONSchema;
2288
+ } | {
2289
+ type: "DISPLAY_ON_REVIEW";
2290
+ conditional: import(".").JSONSchema;
2189
2291
  })[] | undefined;
2292
+ required?: boolean | undefined;
2190
2293
  disabled?: boolean | undefined;
2191
2294
  hidden?: boolean | undefined;
2192
2295
  placeholder?: {
@@ -2209,7 +2312,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2209
2312
  expression: string;
2210
2313
  dependsOn?: string[] | undefined;
2211
2314
  }>]>>;
2212
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
2315
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2213
2316
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2214
2317
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2215
2318
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2263,7 +2366,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2263
2366
  message: TranslationConfig;
2264
2367
  validator: import(".").JSONSchema;
2265
2368
  }[] | undefined;
2266
- required?: boolean | undefined;
2267
2369
  dependsOn?: string[] | undefined;
2268
2370
  defaultValue?: string | {
2269
2371
  dependsOn: string[];
@@ -2275,7 +2377,11 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2275
2377
  } | {
2276
2378
  type: "ENABLE";
2277
2379
  conditional: import(".").JSONSchema;
2380
+ } | {
2381
+ type: "DISPLAY_ON_REVIEW";
2382
+ conditional: import(".").JSONSchema;
2278
2383
  })[] | undefined;
2384
+ required?: boolean | undefined;
2279
2385
  disabled?: boolean | undefined;
2280
2386
  hidden?: boolean | undefined;
2281
2387
  placeholder?: TranslationConfig | undefined;
@@ -2296,7 +2402,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2296
2402
  };
2297
2403
  validator: import(".").JSONSchema;
2298
2404
  }[] | undefined;
2299
- required?: boolean | undefined;
2300
2405
  dependsOn?: string[] | undefined;
2301
2406
  defaultValue?: string | {
2302
2407
  expression: string;
@@ -2308,7 +2413,11 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2308
2413
  } | {
2309
2414
  type: "ENABLE";
2310
2415
  conditional: import(".").JSONSchema;
2416
+ } | {
2417
+ type: "DISPLAY_ON_REVIEW";
2418
+ conditional: import(".").JSONSchema;
2311
2419
  })[] | undefined;
2420
+ required?: boolean | undefined;
2312
2421
  disabled?: boolean | undefined;
2313
2422
  hidden?: boolean | undefined;
2314
2423
  placeholder?: {
@@ -2322,22 +2431,22 @@ export type Country = z.infer<typeof Country>;
2322
2431
  export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2323
2432
  declare const AdministrativeAreaConfiguration: z.ZodObject<{
2324
2433
  partOf: z.ZodOptional<z.ZodObject<{
2325
- $data: z.ZodString;
2434
+ $declaration: z.ZodString;
2326
2435
  }, "strip", z.ZodTypeAny, {
2327
- $data: string;
2436
+ $declaration: string;
2328
2437
  }, {
2329
- $data: string;
2438
+ $declaration: string;
2330
2439
  }>>;
2331
2440
  type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2332
2441
  }, "strip", z.ZodTypeAny, {
2333
2442
  type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2334
2443
  partOf?: {
2335
- $data: string;
2444
+ $declaration: string;
2336
2445
  } | undefined;
2337
2446
  }, {
2338
2447
  type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2339
2448
  partOf?: {
2340
- $data: string;
2449
+ $declaration: string;
2341
2450
  } | undefined;
2342
2451
  }>;
2343
2452
  declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
@@ -2352,7 +2461,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2352
2461
  expression: string;
2353
2462
  dependsOn?: string[] | undefined;
2354
2463
  }>]>>;
2355
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
2464
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2356
2465
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2357
2466
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2358
2467
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2400,22 +2509,22 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2400
2509
  }>]>>;
2401
2510
  configuration: z.ZodObject<{
2402
2511
  partOf: z.ZodOptional<z.ZodObject<{
2403
- $data: z.ZodString;
2512
+ $declaration: z.ZodString;
2404
2513
  }, "strip", z.ZodTypeAny, {
2405
- $data: string;
2514
+ $declaration: string;
2406
2515
  }, {
2407
- $data: string;
2516
+ $declaration: string;
2408
2517
  }>>;
2409
2518
  type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2410
2519
  }, "strip", z.ZodTypeAny, {
2411
2520
  type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2412
2521
  partOf?: {
2413
- $data: string;
2522
+ $declaration: string;
2414
2523
  } | undefined;
2415
2524
  }, {
2416
2525
  type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2417
2526
  partOf?: {
2418
- $data: string;
2527
+ $declaration: string;
2419
2528
  } | undefined;
2420
2529
  }>;
2421
2530
  }>, "strip", z.ZodTypeAny, {
@@ -2425,14 +2534,13 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2425
2534
  configuration: {
2426
2535
  type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2427
2536
  partOf?: {
2428
- $data: string;
2537
+ $declaration: string;
2429
2538
  } | undefined;
2430
2539
  };
2431
2540
  validation?: {
2432
2541
  message: TranslationConfig;
2433
2542
  validator: import(".").JSONSchema;
2434
2543
  }[] | undefined;
2435
- required?: boolean | undefined;
2436
2544
  dependsOn?: string[] | undefined;
2437
2545
  defaultValue?: string | {
2438
2546
  dependsOn: string[];
@@ -2444,7 +2552,11 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2444
2552
  } | {
2445
2553
  type: "ENABLE";
2446
2554
  conditional: import(".").JSONSchema;
2555
+ } | {
2556
+ type: "DISPLAY_ON_REVIEW";
2557
+ conditional: import(".").JSONSchema;
2447
2558
  })[] | undefined;
2559
+ required?: boolean | undefined;
2448
2560
  disabled?: boolean | undefined;
2449
2561
  hidden?: boolean | undefined;
2450
2562
  placeholder?: TranslationConfig | undefined;
@@ -2460,7 +2572,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2460
2572
  configuration: {
2461
2573
  type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2462
2574
  partOf?: {
2463
- $data: string;
2575
+ $declaration: string;
2464
2576
  } | undefined;
2465
2577
  };
2466
2578
  validation?: {
@@ -2471,7 +2583,6 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2471
2583
  };
2472
2584
  validator: import(".").JSONSchema;
2473
2585
  }[] | undefined;
2474
- required?: boolean | undefined;
2475
2586
  dependsOn?: string[] | undefined;
2476
2587
  defaultValue?: string | {
2477
2588
  expression: string;
@@ -2483,7 +2594,11 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2483
2594
  } | {
2484
2595
  type: "ENABLE";
2485
2596
  conditional: import(".").JSONSchema;
2597
+ } | {
2598
+ type: "DISPLAY_ON_REVIEW";
2599
+ conditional: import(".").JSONSchema;
2486
2600
  })[] | undefined;
2601
+ required?: boolean | undefined;
2487
2602
  disabled?: boolean | undefined;
2488
2603
  hidden?: boolean | undefined;
2489
2604
  placeholder?: {
@@ -2506,7 +2621,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2506
2621
  expression: string;
2507
2622
  dependsOn?: string[] | undefined;
2508
2623
  }>]>>;
2509
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
2624
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2510
2625
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2511
2626
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2512
2627
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2560,7 +2675,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2560
2675
  message: TranslationConfig;
2561
2676
  validator: import(".").JSONSchema;
2562
2677
  }[] | undefined;
2563
- required?: boolean | undefined;
2564
2678
  dependsOn?: string[] | undefined;
2565
2679
  defaultValue?: string | {
2566
2680
  dependsOn: string[];
@@ -2572,7 +2686,11 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2572
2686
  } | {
2573
2687
  type: "ENABLE";
2574
2688
  conditional: import(".").JSONSchema;
2689
+ } | {
2690
+ type: "DISPLAY_ON_REVIEW";
2691
+ conditional: import(".").JSONSchema;
2575
2692
  })[] | undefined;
2693
+ required?: boolean | undefined;
2576
2694
  disabled?: boolean | undefined;
2577
2695
  hidden?: boolean | undefined;
2578
2696
  placeholder?: TranslationConfig | undefined;
@@ -2593,7 +2711,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2593
2711
  };
2594
2712
  validator: import(".").JSONSchema;
2595
2713
  }[] | undefined;
2596
- required?: boolean | undefined;
2597
2714
  dependsOn?: string[] | undefined;
2598
2715
  defaultValue?: string | {
2599
2716
  expression: string;
@@ -2605,7 +2722,11 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2605
2722
  } | {
2606
2723
  type: "ENABLE";
2607
2724
  conditional: import(".").JSONSchema;
2725
+ } | {
2726
+ type: "DISPLAY_ON_REVIEW";
2727
+ conditional: import(".").JSONSchema;
2608
2728
  })[] | undefined;
2729
+ required?: boolean | undefined;
2609
2730
  disabled?: boolean | undefined;
2610
2731
  hidden?: boolean | undefined;
2611
2732
  placeholder?: {
@@ -2628,7 +2749,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2628
2749
  expression: string;
2629
2750
  dependsOn?: string[] | undefined;
2630
2751
  }>]>>;
2631
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
2752
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2632
2753
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2633
2754
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2634
2755
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2682,6 +2803,16 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2682
2803
  defaultMessage: string;
2683
2804
  };
2684
2805
  }>, "many">;
2806
+ configuration: z.ZodDefault<z.ZodObject<{
2807
+ maxFileSize: z.ZodDefault<z.ZodNumber>;
2808
+ acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
2809
+ }, "strip", z.ZodTypeAny, {
2810
+ maxFileSize: number;
2811
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2812
+ }, {
2813
+ maxFileSize?: number | undefined;
2814
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2815
+ }>>;
2685
2816
  }>, "strip", z.ZodTypeAny, {
2686
2817
  type: "FILE_WITH_OPTIONS";
2687
2818
  id: string;
@@ -2690,11 +2821,14 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2690
2821
  label: TranslationConfig;
2691
2822
  }[];
2692
2823
  label: TranslationConfig;
2824
+ configuration: {
2825
+ maxFileSize: number;
2826
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2827
+ };
2693
2828
  validation?: {
2694
2829
  message: TranslationConfig;
2695
2830
  validator: import(".").JSONSchema;
2696
2831
  }[] | undefined;
2697
- required?: boolean | undefined;
2698
2832
  dependsOn?: string[] | undefined;
2699
2833
  defaultValue?: string | number | boolean | {
2700
2834
  dependsOn: string[];
@@ -2706,7 +2840,11 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2706
2840
  } | {
2707
2841
  type: "ENABLE";
2708
2842
  conditional: import(".").JSONSchema;
2843
+ } | {
2844
+ type: "DISPLAY_ON_REVIEW";
2845
+ conditional: import(".").JSONSchema;
2709
2846
  })[] | undefined;
2847
+ required?: boolean | undefined;
2710
2848
  disabled?: boolean | undefined;
2711
2849
  hidden?: boolean | undefined;
2712
2850
  placeholder?: TranslationConfig | undefined;
@@ -2735,7 +2873,6 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2735
2873
  };
2736
2874
  validator: import(".").JSONSchema;
2737
2875
  }[] | undefined;
2738
- required?: boolean | undefined;
2739
2876
  dependsOn?: string[] | undefined;
2740
2877
  defaultValue?: string | number | boolean | {
2741
2878
  expression: string;
@@ -2747,7 +2884,11 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2747
2884
  } | {
2748
2885
  type: "ENABLE";
2749
2886
  conditional: import(".").JSONSchema;
2887
+ } | {
2888
+ type: "DISPLAY_ON_REVIEW";
2889
+ conditional: import(".").JSONSchema;
2750
2890
  })[] | undefined;
2891
+ required?: boolean | undefined;
2751
2892
  disabled?: boolean | undefined;
2752
2893
  hidden?: boolean | undefined;
2753
2894
  placeholder?: {
@@ -2756,6 +2897,10 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2756
2897
  defaultMessage: string;
2757
2898
  } | undefined;
2758
2899
  hideLabel?: boolean | undefined;
2900
+ configuration?: {
2901
+ maxFileSize?: number | undefined;
2902
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2903
+ } | undefined;
2759
2904
  }>;
2760
2905
  export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
2761
2906
  declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
@@ -2770,7 +2915,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2770
2915
  expression: string;
2771
2916
  dependsOn?: string[] | undefined;
2772
2917
  }>]>>;
2773
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
2918
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2774
2919
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2775
2920
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2776
2921
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2824,7 +2969,6 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2824
2969
  message: TranslationConfig;
2825
2970
  validator: import(".").JSONSchema;
2826
2971
  }[] | undefined;
2827
- required?: boolean | undefined;
2828
2972
  dependsOn?: string[] | undefined;
2829
2973
  defaultValue?: string | {
2830
2974
  dependsOn: string[];
@@ -2836,7 +2980,11 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2836
2980
  } | {
2837
2981
  type: "ENABLE";
2838
2982
  conditional: import(".").JSONSchema;
2983
+ } | {
2984
+ type: "DISPLAY_ON_REVIEW";
2985
+ conditional: import(".").JSONSchema;
2839
2986
  })[] | undefined;
2987
+ required?: boolean | undefined;
2840
2988
  disabled?: boolean | undefined;
2841
2989
  hidden?: boolean | undefined;
2842
2990
  placeholder?: TranslationConfig | undefined;
@@ -2857,7 +3005,6 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2857
3005
  };
2858
3006
  validator: import(".").JSONSchema;
2859
3007
  }[] | undefined;
2860
- required?: boolean | undefined;
2861
3008
  dependsOn?: string[] | undefined;
2862
3009
  defaultValue?: string | {
2863
3010
  expression: string;
@@ -2869,7 +3016,11 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2869
3016
  } | {
2870
3017
  type: "ENABLE";
2871
3018
  conditional: import(".").JSONSchema;
3019
+ } | {
3020
+ type: "DISPLAY_ON_REVIEW";
3021
+ conditional: import(".").JSONSchema;
2872
3022
  })[] | undefined;
3023
+ required?: boolean | undefined;
2873
3024
  disabled?: boolean | undefined;
2874
3025
  hidden?: boolean | undefined;
2875
3026
  placeholder?: {
@@ -2892,7 +3043,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2892
3043
  expression: string;
2893
3044
  dependsOn?: string[] | undefined;
2894
3045
  }>]>>;
2895
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
3046
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2896
3047
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2897
3048
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2898
3049
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2946,7 +3097,6 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2946
3097
  message: TranslationConfig;
2947
3098
  validator: import(".").JSONSchema;
2948
3099
  }[] | undefined;
2949
- required?: boolean | undefined;
2950
3100
  dependsOn?: string[] | undefined;
2951
3101
  defaultValue?: string | {
2952
3102
  dependsOn: string[];
@@ -2958,7 +3108,11 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2958
3108
  } | {
2959
3109
  type: "ENABLE";
2960
3110
  conditional: import(".").JSONSchema;
3111
+ } | {
3112
+ type: "DISPLAY_ON_REVIEW";
3113
+ conditional: import(".").JSONSchema;
2961
3114
  })[] | undefined;
3115
+ required?: boolean | undefined;
2962
3116
  disabled?: boolean | undefined;
2963
3117
  hidden?: boolean | undefined;
2964
3118
  placeholder?: TranslationConfig | undefined;
@@ -2979,7 +3133,6 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2979
3133
  };
2980
3134
  validator: import(".").JSONSchema;
2981
3135
  }[] | undefined;
2982
- required?: boolean | undefined;
2983
3136
  dependsOn?: string[] | undefined;
2984
3137
  defaultValue?: string | {
2985
3138
  expression: string;
@@ -2991,7 +3144,11 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2991
3144
  } | {
2992
3145
  type: "ENABLE";
2993
3146
  conditional: import(".").JSONSchema;
3147
+ } | {
3148
+ type: "DISPLAY_ON_REVIEW";
3149
+ conditional: import(".").JSONSchema;
2994
3150
  })[] | undefined;
3151
+ required?: boolean | undefined;
2995
3152
  disabled?: boolean | undefined;
2996
3153
  hidden?: boolean | undefined;
2997
3154
  placeholder?: {
@@ -3014,7 +3171,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3014
3171
  expression: string;
3015
3172
  dependsOn?: string[] | undefined;
3016
3173
  }>]>>;
3017
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").AllActionConditionalFields[]>, "many">>>;
3174
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3018
3175
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3019
3176
  disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3020
3177
  hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -3050,8 +3207,9 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3050
3207
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3051
3208
  }, {
3052
3209
  type: z.ZodLiteral<"ADDRESS">;
3053
- defaultValue: z.ZodOptional<z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3210
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3054
3211
  country: z.ZodString;
3212
+ addressType: z.ZodLiteral<"DOMESTIC">;
3055
3213
  province: z.ZodString;
3056
3214
  district: z.ZodString;
3057
3215
  }, {
@@ -3064,6 +3222,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3064
3222
  }>, "strip", z.ZodTypeAny, {
3065
3223
  country: string;
3066
3224
  district: string;
3225
+ addressType: "DOMESTIC";
3067
3226
  province: string;
3068
3227
  urbanOrRural: "URBAN";
3069
3228
  number?: string | undefined;
@@ -3074,6 +3233,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3074
3233
  }, {
3075
3234
  country: string;
3076
3235
  district: string;
3236
+ addressType: "DOMESTIC";
3077
3237
  province: string;
3078
3238
  urbanOrRural: "URBAN";
3079
3239
  number?: string | undefined;
@@ -3083,6 +3243,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3083
3243
  zipCode?: string | undefined;
3084
3244
  }>, z.ZodObject<z.objectUtil.extendShape<{
3085
3245
  country: z.ZodString;
3246
+ addressType: z.ZodLiteral<"DOMESTIC">;
3086
3247
  province: z.ZodString;
3087
3248
  district: z.ZodString;
3088
3249
  }, {
@@ -3091,15 +3252,47 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3091
3252
  }>, "strip", z.ZodTypeAny, {
3092
3253
  country: string;
3093
3254
  district: string;
3255
+ addressType: "DOMESTIC";
3094
3256
  province: string;
3095
3257
  urbanOrRural: "RURAL";
3096
3258
  village?: string | undefined;
3097
3259
  }, {
3098
3260
  country: string;
3099
3261
  district: string;
3262
+ addressType: "DOMESTIC";
3100
3263
  province: string;
3101
3264
  urbanOrRural: "RURAL";
3102
3265
  village?: string | undefined;
3266
+ }>]>, z.ZodObject<{
3267
+ country: z.ZodString;
3268
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3269
+ state: z.ZodString;
3270
+ district2: z.ZodString;
3271
+ cityOrTown: z.ZodOptional<z.ZodString>;
3272
+ addressLine1: z.ZodOptional<z.ZodString>;
3273
+ addressLine2: z.ZodOptional<z.ZodString>;
3274
+ addressLine3: z.ZodOptional<z.ZodString>;
3275
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
3276
+ }, "strip", z.ZodTypeAny, {
3277
+ country: string;
3278
+ state: string;
3279
+ addressType: "INTERNATIONAL";
3280
+ district2: string;
3281
+ cityOrTown?: string | undefined;
3282
+ addressLine1?: string | undefined;
3283
+ addressLine2?: string | undefined;
3284
+ addressLine3?: string | undefined;
3285
+ postcodeOrZip?: string | undefined;
3286
+ }, {
3287
+ country: string;
3288
+ state: string;
3289
+ addressType: "INTERNATIONAL";
3290
+ district2: string;
3291
+ cityOrTown?: string | undefined;
3292
+ addressLine1?: string | undefined;
3293
+ addressLine2?: string | undefined;
3294
+ addressLine3?: string | undefined;
3295
+ postcodeOrZip?: string | undefined;
3103
3296
  }>]>>;
3104
3297
  }>, "strip", z.ZodTypeAny, {
3105
3298
  type: "ADDRESS";
@@ -3109,11 +3302,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3109
3302
  message: TranslationConfig;
3110
3303
  validator: import(".").JSONSchema;
3111
3304
  }[] | undefined;
3112
- required?: boolean | undefined;
3113
3305
  dependsOn?: string[] | undefined;
3114
3306
  defaultValue?: {
3115
3307
  country: string;
3116
3308
  district: string;
3309
+ addressType: "DOMESTIC";
3117
3310
  province: string;
3118
3311
  urbanOrRural: "URBAN";
3119
3312
  number?: string | undefined;
@@ -3124,9 +3317,20 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3124
3317
  } | {
3125
3318
  country: string;
3126
3319
  district: string;
3320
+ addressType: "DOMESTIC";
3127
3321
  province: string;
3128
3322
  urbanOrRural: "RURAL";
3129
3323
  village?: string | undefined;
3324
+ } | {
3325
+ country: string;
3326
+ state: string;
3327
+ addressType: "INTERNATIONAL";
3328
+ district2: string;
3329
+ cityOrTown?: string | undefined;
3330
+ addressLine1?: string | undefined;
3331
+ addressLine2?: string | undefined;
3332
+ addressLine3?: string | undefined;
3333
+ postcodeOrZip?: string | undefined;
3130
3334
  } | undefined;
3131
3335
  conditionals?: ({
3132
3336
  type: "SHOW";
@@ -3134,7 +3338,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3134
3338
  } | {
3135
3339
  type: "ENABLE";
3136
3340
  conditional: import(".").JSONSchema;
3341
+ } | {
3342
+ type: "DISPLAY_ON_REVIEW";
3343
+ conditional: import(".").JSONSchema;
3137
3344
  })[] | undefined;
3345
+ required?: boolean | undefined;
3138
3346
  disabled?: boolean | undefined;
3139
3347
  hidden?: boolean | undefined;
3140
3348
  placeholder?: TranslationConfig | undefined;
@@ -3155,11 +3363,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3155
3363
  };
3156
3364
  validator: import(".").JSONSchema;
3157
3365
  }[] | undefined;
3158
- required?: boolean | undefined;
3159
3366
  dependsOn?: string[] | undefined;
3160
3367
  defaultValue?: {
3161
3368
  country: string;
3162
3369
  district: string;
3370
+ addressType: "DOMESTIC";
3163
3371
  province: string;
3164
3372
  urbanOrRural: "URBAN";
3165
3373
  number?: string | undefined;
@@ -3170,9 +3378,243 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3170
3378
  } | {
3171
3379
  country: string;
3172
3380
  district: string;
3381
+ addressType: "DOMESTIC";
3173
3382
  province: string;
3174
3383
  urbanOrRural: "RURAL";
3175
3384
  village?: string | undefined;
3385
+ } | {
3386
+ country: string;
3387
+ state: string;
3388
+ addressType: "INTERNATIONAL";
3389
+ district2: string;
3390
+ cityOrTown?: string | undefined;
3391
+ addressLine1?: string | undefined;
3392
+ addressLine2?: string | undefined;
3393
+ addressLine3?: string | undefined;
3394
+ postcodeOrZip?: string | undefined;
3395
+ } | undefined;
3396
+ conditionals?: ({
3397
+ type: "SHOW";
3398
+ conditional: import(".").JSONSchema;
3399
+ } | {
3400
+ type: "ENABLE";
3401
+ conditional: import(".").JSONSchema;
3402
+ } | {
3403
+ type: "DISPLAY_ON_REVIEW";
3404
+ conditional: import(".").JSONSchema;
3405
+ })[] | undefined;
3406
+ required?: boolean | undefined;
3407
+ disabled?: boolean | undefined;
3408
+ hidden?: boolean | undefined;
3409
+ placeholder?: {
3410
+ id: string;
3411
+ description: string;
3412
+ defaultMessage: string;
3413
+ } | undefined;
3414
+ hideLabel?: boolean | undefined;
3415
+ }>;
3416
+ export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
3417
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3418
+ id: string;
3419
+ description: string;
3420
+ defaultMessage: string;
3421
+ }>;
3422
+ value: z.ZodString;
3423
+ }, "strip", z.ZodTypeAny, {
3424
+ value: string;
3425
+ label: TranslationConfig;
3426
+ }, {
3427
+ value: string;
3428
+ label: {
3429
+ id: string;
3430
+ description: string;
3431
+ defaultMessage: string;
3432
+ };
3433
+ }>, z.ZodObject<{
3434
+ fieldId: z.ZodString;
3435
+ }, "strip", z.ZodTypeAny, {
3436
+ fieldId: string;
3437
+ }, {
3438
+ fieldId: string;
3439
+ }>]>;
3440
+ export type DataEntry = z.infer<typeof DataEntry>;
3441
+ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3442
+ id: z.ZodString;
3443
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodObject<{
3444
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
3445
+ expression: z.ZodString;
3446
+ }, "strip", z.ZodTypeAny, {
3447
+ dependsOn: string[];
3448
+ expression: string;
3449
+ }, {
3450
+ expression: string;
3451
+ dependsOn?: string[] | undefined;
3452
+ }>]>>;
3453
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3454
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3455
+ disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3456
+ hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3457
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3458
+ id: string;
3459
+ description: string;
3460
+ defaultMessage: string;
3461
+ }>>;
3462
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3463
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3464
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3465
+ id: string;
3466
+ description: string;
3467
+ defaultMessage: string;
3468
+ }>;
3469
+ }, "strip", z.ZodTypeAny, {
3470
+ message: TranslationConfig;
3471
+ validator: import(".").JSONSchema;
3472
+ }, {
3473
+ message: {
3474
+ id: string;
3475
+ description: string;
3476
+ defaultMessage: string;
3477
+ };
3478
+ validator: import(".").JSONSchema;
3479
+ }>, "many">>>;
3480
+ dependsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
3481
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3482
+ id: string;
3483
+ description: string;
3484
+ defaultMessage: string;
3485
+ }>;
3486
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3487
+ }, {
3488
+ type: z.ZodLiteral<"DATA">;
3489
+ configuration: z.ZodObject<{
3490
+ subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3491
+ id: string;
3492
+ description: string;
3493
+ defaultMessage: string;
3494
+ }>>;
3495
+ data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3496
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3497
+ id: string;
3498
+ description: string;
3499
+ defaultMessage: string;
3500
+ }>;
3501
+ value: z.ZodString;
3502
+ }, "strip", z.ZodTypeAny, {
3503
+ value: string;
3504
+ label: TranslationConfig;
3505
+ }, {
3506
+ value: string;
3507
+ label: {
3508
+ id: string;
3509
+ description: string;
3510
+ defaultMessage: string;
3511
+ };
3512
+ }>, z.ZodObject<{
3513
+ fieldId: z.ZodString;
3514
+ }, "strip", z.ZodTypeAny, {
3515
+ fieldId: string;
3516
+ }, {
3517
+ fieldId: string;
3518
+ }>]>, "many">;
3519
+ }, "strip", z.ZodTypeAny, {
3520
+ data: ({
3521
+ value: string;
3522
+ label: TranslationConfig;
3523
+ } | {
3524
+ fieldId: string;
3525
+ })[];
3526
+ subtitle?: TranslationConfig | undefined;
3527
+ }, {
3528
+ data: ({
3529
+ value: string;
3530
+ label: {
3531
+ id: string;
3532
+ description: string;
3533
+ defaultMessage: string;
3534
+ };
3535
+ } | {
3536
+ fieldId: string;
3537
+ })[];
3538
+ subtitle?: {
3539
+ id: string;
3540
+ description: string;
3541
+ defaultMessage: string;
3542
+ } | undefined;
3543
+ }>;
3544
+ }>, "strip", z.ZodTypeAny, {
3545
+ type: "DATA";
3546
+ id: string;
3547
+ label: TranslationConfig;
3548
+ configuration: {
3549
+ data: ({
3550
+ value: string;
3551
+ label: TranslationConfig;
3552
+ } | {
3553
+ fieldId: string;
3554
+ })[];
3555
+ subtitle?: TranslationConfig | undefined;
3556
+ };
3557
+ validation?: {
3558
+ message: TranslationConfig;
3559
+ validator: import(".").JSONSchema;
3560
+ }[] | undefined;
3561
+ dependsOn?: string[] | undefined;
3562
+ defaultValue?: string | number | boolean | {
3563
+ dependsOn: string[];
3564
+ expression: string;
3565
+ } | undefined;
3566
+ conditionals?: ({
3567
+ type: "SHOW";
3568
+ conditional: import(".").JSONSchema;
3569
+ } | {
3570
+ type: "ENABLE";
3571
+ conditional: import(".").JSONSchema;
3572
+ } | {
3573
+ type: "DISPLAY_ON_REVIEW";
3574
+ conditional: import(".").JSONSchema;
3575
+ })[] | undefined;
3576
+ required?: boolean | undefined;
3577
+ disabled?: boolean | undefined;
3578
+ hidden?: boolean | undefined;
3579
+ placeholder?: TranslationConfig | undefined;
3580
+ hideLabel?: boolean | undefined;
3581
+ }, {
3582
+ type: "DATA";
3583
+ id: string;
3584
+ label: {
3585
+ id: string;
3586
+ description: string;
3587
+ defaultMessage: string;
3588
+ };
3589
+ configuration: {
3590
+ data: ({
3591
+ value: string;
3592
+ label: {
3593
+ id: string;
3594
+ description: string;
3595
+ defaultMessage: string;
3596
+ };
3597
+ } | {
3598
+ fieldId: string;
3599
+ })[];
3600
+ subtitle?: {
3601
+ id: string;
3602
+ description: string;
3603
+ defaultMessage: string;
3604
+ } | undefined;
3605
+ };
3606
+ validation?: {
3607
+ message: {
3608
+ id: string;
3609
+ description: string;
3610
+ defaultMessage: string;
3611
+ };
3612
+ validator: import(".").JSONSchema;
3613
+ }[] | undefined;
3614
+ dependsOn?: string[] | undefined;
3615
+ defaultValue?: string | number | boolean | {
3616
+ expression: string;
3617
+ dependsOn?: string[] | undefined;
3176
3618
  } | undefined;
3177
3619
  conditionals?: ({
3178
3620
  type: "SHOW";
@@ -3180,7 +3622,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3180
3622
  } | {
3181
3623
  type: "ENABLE";
3182
3624
  conditional: import(".").JSONSchema;
3625
+ } | {
3626
+ type: "DISPLAY_ON_REVIEW";
3627
+ conditional: import(".").JSONSchema;
3183
3628
  })[] | undefined;
3629
+ required?: boolean | undefined;
3184
3630
  disabled?: boolean | undefined;
3185
3631
  hidden?: boolean | undefined;
3186
3632
  placeholder?: {
@@ -3190,11 +3636,17 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3190
3636
  } | undefined;
3191
3637
  hideLabel?: boolean | undefined;
3192
3638
  }>;
3639
+ export type DataField = z.infer<typeof DataField>;
3640
+ /** @knipignore */
3641
+ export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions | typeof DataField;
3193
3642
  /** @knipignore */
3194
- export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions;
3643
+ export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
3195
3644
  /** @knipignore */
3196
- export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField>;
3197
- export declare const FieldConfig: z.ZodType<Inferred, any, Inferred>;
3645
+ /**
3646
+ * This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
3647
+ */
3648
+ export type InferredInput = z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof NumberField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof Location> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField>;
3649
+ export declare const FieldConfig: z.ZodType<Inferred, any, InferredInput>;
3198
3650
  export type SelectField = z.infer<typeof Select>;
3199
3651
  export type LocationField = z.infer<typeof Location>;
3200
3652
  export type RadioField = z.infer<typeof RadioGroup>;