@opencrvs/toolkit 1.8.0-rc.fb5b9fe → 1.8.0-rc.fb8e005

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 (36) hide show
  1. package/dist/commons/api/router.d.ts +5924 -8783
  2. package/dist/commons/conditionals/conditionals.d.ts +4 -0
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +21534 -6326
  5. package/dist/commons/events/ActionDocument.d.ts +1783 -280
  6. package/dist/commons/events/ActionInput.d.ts +1382 -182
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +279 -3
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +1 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +1161 -413
  12. package/dist/commons/events/Draft.d.ts +118 -17
  13. package/dist/commons/events/EventConfig.d.ts +11557 -4116
  14. package/dist/commons/events/EventDocument.d.ts +1144 -205
  15. package/dist/commons/events/EventIndex.d.ts +839 -185
  16. package/dist/commons/events/EventMetadata.d.ts +52 -40
  17. package/dist/commons/events/FieldConfig.d.ts +1896 -872
  18. package/dist/commons/events/FieldType.d.ts +4 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +89 -50
  20. package/dist/commons/events/FieldValue.d.ts +41 -5
  21. package/dist/commons/events/FormConfig.d.ts +8840 -2444
  22. package/dist/commons/events/PageConfig.d.ts +3104 -1540
  23. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  25. package/dist/commons/events/WorkqueueConfig.d.ts +4460 -1685
  26. package/dist/commons/events/defineConfig.d.ts +1279 -17
  27. package/dist/commons/events/field.d.ts +9 -0
  28. package/dist/commons/events/index.d.ts +1 -0
  29. package/dist/commons/events/scopes.d.ts +1 -2
  30. package/dist/commons/events/test.utils.d.ts +146 -38
  31. package/dist/commons/events/utils.d.ts +10117 -10
  32. package/dist/conditionals/index.js +38 -18
  33. package/dist/events/index.js +1718 -1057
  34. package/dist/scopes/index.d.ts +4 -1
  35. package/dist/scopes/index.js +67 -17
  36. package/package.json +3 -3
@@ -8,6 +8,25 @@ export declare const FieldReference: z.ZodObject<{
8
8
  }, {
9
9
  $$field: string;
10
10
  }>;
11
+ export declare const ValidationConfig: z.ZodObject<{
12
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
13
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
14
+ id: string;
15
+ description: string;
16
+ defaultMessage: string;
17
+ }>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ message: TranslationConfig;
20
+ validator: import(".").JSONSchema;
21
+ }, {
22
+ message: {
23
+ id: string;
24
+ description: string;
25
+ defaultMessage: string;
26
+ };
27
+ validator: import(".").JSONSchema;
28
+ }>;
29
+ export type ValidationConfig = z.infer<typeof ValidationConfig>;
11
30
  declare const BaseField: z.ZodObject<{
12
31
  id: z.ZodString;
13
32
  parent: z.ZodOptional<z.ZodObject<{
@@ -19,6 +38,7 @@ declare const BaseField: z.ZodObject<{
19
38
  }>>;
20
39
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
21
40
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
41
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
22
42
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
23
43
  id: string;
24
44
  description: string;
@@ -74,6 +94,7 @@ declare const BaseField: z.ZodObject<{
74
94
  type: "DISPLAY_ON_REVIEW";
75
95
  conditional: import(".").JSONSchema;
76
96
  })[] | undefined;
97
+ secured?: boolean | undefined;
77
98
  placeholder?: TranslationConfig | undefined;
78
99
  helperText?: TranslationConfig | undefined;
79
100
  hideLabel?: boolean | undefined;
@@ -106,6 +127,7 @@ declare const BaseField: z.ZodObject<{
106
127
  type: "DISPLAY_ON_REVIEW";
107
128
  conditional: import(".").JSONSchema;
108
129
  })[] | undefined;
130
+ secured?: boolean | undefined;
109
131
  placeholder?: {
110
132
  id: string;
111
133
  description: string;
@@ -130,6 +152,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
130
152
  }>>;
131
153
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
132
154
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
155
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
133
156
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
134
157
  id: string;
135
158
  description: string;
@@ -188,6 +211,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
188
211
  type: "DISPLAY_ON_REVIEW";
189
212
  conditional: import(".").JSONSchema;
190
213
  })[] | undefined;
214
+ secured?: boolean | undefined;
191
215
  placeholder?: TranslationConfig | undefined;
192
216
  helperText?: TranslationConfig | undefined;
193
217
  hideLabel?: boolean | undefined;
@@ -221,6 +245,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
221
245
  type: "DISPLAY_ON_REVIEW";
222
246
  conditional: import(".").JSONSchema;
223
247
  })[] | undefined;
248
+ secured?: boolean | undefined;
224
249
  placeholder?: {
225
250
  id: string;
226
251
  description: string;
@@ -245,6 +270,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
245
270
  }>>;
246
271
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
247
272
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
273
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
248
274
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
249
275
  id: string;
250
276
  description: string;
@@ -336,6 +362,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
336
362
  type: "DISPLAY_ON_REVIEW";
337
363
  conditional: import(".").JSONSchema;
338
364
  })[] | undefined;
365
+ secured?: boolean | undefined;
339
366
  placeholder?: TranslationConfig | undefined;
340
367
  helperText?: TranslationConfig | undefined;
341
368
  hideLabel?: boolean | undefined;
@@ -376,6 +403,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
376
403
  type: "DISPLAY_ON_REVIEW";
377
404
  conditional: import(".").JSONSchema;
378
405
  })[] | undefined;
406
+ secured?: boolean | undefined;
379
407
  placeholder?: {
380
408
  id: string;
381
409
  description: string;
@@ -415,6 +443,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
415
443
  }>>;
416
444
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
417
445
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
446
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
418
447
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
419
448
  id: string;
420
449
  description: string;
@@ -506,6 +535,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
506
535
  type: "DISPLAY_ON_REVIEW";
507
536
  conditional: import(".").JSONSchema;
508
537
  })[] | undefined;
538
+ secured?: boolean | undefined;
509
539
  placeholder?: TranslationConfig | undefined;
510
540
  helperText?: TranslationConfig | undefined;
511
541
  hideLabel?: boolean | undefined;
@@ -546,6 +576,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
546
576
  type: "DISPLAY_ON_REVIEW";
547
577
  conditional: import(".").JSONSchema;
548
578
  })[] | undefined;
579
+ secured?: boolean | undefined;
549
580
  placeholder?: {
550
581
  id: string;
551
582
  description: string;
@@ -584,6 +615,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
584
615
  }>>;
585
616
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
586
617
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
618
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
587
619
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
588
620
  id: string;
589
621
  description: string;
@@ -678,6 +710,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
678
710
  type: "DISPLAY_ON_REVIEW";
679
711
  conditional: import(".").JSONSchema;
680
712
  })[] | undefined;
713
+ secured?: boolean | undefined;
681
714
  placeholder?: TranslationConfig | undefined;
682
715
  helperText?: TranslationConfig | undefined;
683
716
  hideLabel?: boolean | undefined;
@@ -719,6 +752,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
719
752
  type: "DISPLAY_ON_REVIEW";
720
753
  conditional: import(".").JSONSchema;
721
754
  })[] | undefined;
755
+ secured?: boolean | undefined;
722
756
  placeholder?: {
723
757
  id: string;
724
758
  description: string;
@@ -762,6 +796,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
762
796
  }>>;
763
797
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
764
798
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
799
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
765
800
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
766
801
  id: string;
767
802
  description: string;
@@ -841,6 +876,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
841
876
  type: "DISPLAY_ON_REVIEW";
842
877
  conditional: import(".").JSONSchema;
843
878
  })[] | undefined;
879
+ secured?: boolean | undefined;
844
880
  placeholder?: TranslationConfig | undefined;
845
881
  helperText?: TranslationConfig | undefined;
846
882
  hideLabel?: boolean | undefined;
@@ -880,6 +916,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
880
916
  type: "DISPLAY_ON_REVIEW";
881
917
  conditional: import(".").JSONSchema;
882
918
  })[] | undefined;
919
+ secured?: boolean | undefined;
883
920
  placeholder?: {
884
921
  id: string;
885
922
  description: string;
@@ -909,6 +946,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
909
946
  }>>;
910
947
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
911
948
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
949
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
912
950
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
913
951
  id: string;
914
952
  description: string;
@@ -975,6 +1013,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
975
1013
  type: "DISPLAY_ON_REVIEW";
976
1014
  conditional: import(".").JSONSchema;
977
1015
  })[] | undefined;
1016
+ secured?: boolean | undefined;
978
1017
  placeholder?: TranslationConfig | undefined;
979
1018
  helperText?: TranslationConfig | undefined;
980
1019
  hideLabel?: boolean | undefined;
@@ -1012,6 +1051,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
1012
1051
  type: "DISPLAY_ON_REVIEW";
1013
1052
  conditional: import(".").JSONSchema;
1014
1053
  })[] | undefined;
1054
+ secured?: boolean | undefined;
1015
1055
  placeholder?: {
1016
1056
  id: string;
1017
1057
  description: string;
@@ -1040,6 +1080,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1040
1080
  }>>;
1041
1081
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1042
1082
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1083
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1043
1084
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1044
1085
  id: string;
1045
1086
  description: string;
@@ -1114,6 +1155,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1114
1155
  type: "DISPLAY_ON_REVIEW";
1115
1156
  conditional: import(".").JSONSchema;
1116
1157
  })[] | undefined;
1158
+ secured?: boolean | undefined;
1117
1159
  placeholder?: TranslationConfig | undefined;
1118
1160
  helperText?: TranslationConfig | undefined;
1119
1161
  hideLabel?: boolean | undefined;
@@ -1151,6 +1193,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1151
1193
  type: "DISPLAY_ON_REVIEW";
1152
1194
  conditional: import(".").JSONSchema;
1153
1195
  })[] | undefined;
1196
+ secured?: boolean | undefined;
1154
1197
  placeholder?: {
1155
1198
  id: string;
1156
1199
  description: string;
@@ -1183,6 +1226,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1183
1226
  }>>;
1184
1227
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1185
1228
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1229
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1186
1230
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1187
1231
  id: string;
1188
1232
  description: string;
@@ -1257,6 +1301,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1257
1301
  type: "DISPLAY_ON_REVIEW";
1258
1302
  conditional: import(".").JSONSchema;
1259
1303
  })[] | undefined;
1304
+ secured?: boolean | undefined;
1260
1305
  placeholder?: TranslationConfig | undefined;
1261
1306
  helperText?: TranslationConfig | undefined;
1262
1307
  hideLabel?: boolean | undefined;
@@ -1294,6 +1339,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1294
1339
  type: "DISPLAY_ON_REVIEW";
1295
1340
  conditional: import(".").JSONSchema;
1296
1341
  })[] | undefined;
1342
+ secured?: boolean | undefined;
1297
1343
  placeholder?: {
1298
1344
  id: string;
1299
1345
  description: string;
@@ -1328,6 +1374,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1328
1374
  }>>;
1329
1375
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1330
1376
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1377
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1331
1378
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1332
1379
  id: string;
1333
1380
  description: string;
@@ -1409,6 +1456,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1409
1456
  type: "DISPLAY_ON_REVIEW";
1410
1457
  conditional: import(".").JSONSchema;
1411
1458
  })[] | undefined;
1459
+ secured?: boolean | undefined;
1412
1460
  placeholder?: TranslationConfig | undefined;
1413
1461
  helperText?: TranslationConfig | undefined;
1414
1462
  hideLabel?: boolean | undefined;
@@ -1443,6 +1491,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1443
1491
  type: "DISPLAY_ON_REVIEW";
1444
1492
  conditional: import(".").JSONSchema;
1445
1493
  })[] | undefined;
1494
+ secured?: boolean | undefined;
1446
1495
  placeholder?: {
1447
1496
  id: string;
1448
1497
  description: string;
@@ -1473,6 +1522,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1473
1522
  }>>;
1474
1523
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1475
1524
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1525
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1476
1526
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1477
1527
  id: string;
1478
1528
  description: string;
@@ -1532,6 +1582,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1532
1582
  type: "DISPLAY_ON_REVIEW";
1533
1583
  conditional: import(".").JSONSchema;
1534
1584
  })[] | undefined;
1585
+ secured?: boolean | undefined;
1535
1586
  placeholder?: TranslationConfig | undefined;
1536
1587
  helperText?: TranslationConfig | undefined;
1537
1588
  hideLabel?: boolean | undefined;
@@ -1566,6 +1617,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1566
1617
  type: "DISPLAY_ON_REVIEW";
1567
1618
  conditional: import(".").JSONSchema;
1568
1619
  })[] | undefined;
1620
+ secured?: boolean | undefined;
1569
1621
  placeholder?: {
1570
1622
  id: string;
1571
1623
  description: string;
@@ -1591,6 +1643,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1591
1643
  }>>;
1592
1644
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1593
1645
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1646
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1594
1647
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1595
1648
  id: string;
1596
1649
  description: string;
@@ -1704,6 +1757,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1704
1757
  type: "DISPLAY_ON_REVIEW";
1705
1758
  conditional: import(".").JSONSchema;
1706
1759
  })[] | undefined;
1760
+ secured?: boolean | undefined;
1707
1761
  placeholder?: TranslationConfig | undefined;
1708
1762
  helperText?: TranslationConfig | undefined;
1709
1763
  hideLabel?: boolean | undefined;
@@ -1742,6 +1796,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1742
1796
  type: "DISPLAY_ON_REVIEW";
1743
1797
  conditional: import(".").JSONSchema;
1744
1798
  })[] | undefined;
1799
+ secured?: boolean | undefined;
1745
1800
  placeholder?: {
1746
1801
  id: string;
1747
1802
  description: string;
@@ -1801,6 +1856,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1801
1856
  }>>;
1802
1857
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1803
1858
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1859
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1804
1860
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1805
1861
  id: string;
1806
1862
  description: string;
@@ -1899,6 +1955,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1899
1955
  type: "DISPLAY_ON_REVIEW";
1900
1956
  conditional: import(".").JSONSchema;
1901
1957
  })[] | undefined;
1958
+ secured?: boolean | undefined;
1902
1959
  placeholder?: TranslationConfig | undefined;
1903
1960
  helperText?: TranslationConfig | undefined;
1904
1961
  hideLabel?: boolean | undefined;
@@ -1946,6 +2003,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1946
2003
  type: "DISPLAY_ON_REVIEW";
1947
2004
  conditional: import(".").JSONSchema;
1948
2005
  })[] | undefined;
2006
+ secured?: boolean | undefined;
1949
2007
  placeholder?: {
1950
2008
  id: string;
1951
2009
  description: string;
@@ -1976,6 +2034,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1976
2034
  }>>;
1977
2035
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1978
2036
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2037
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1979
2038
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1980
2039
  id: string;
1981
2040
  description: string;
@@ -2063,6 +2122,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
2063
2122
  type: "DISPLAY_ON_REVIEW";
2064
2123
  conditional: import(".").JSONSchema;
2065
2124
  })[] | undefined;
2125
+ secured?: boolean | undefined;
2066
2126
  placeholder?: TranslationConfig | undefined;
2067
2127
  helperText?: TranslationConfig | undefined;
2068
2128
  hideLabel?: boolean | undefined;
@@ -2102,6 +2162,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
2102
2162
  type: "DISPLAY_ON_REVIEW";
2103
2163
  conditional: import(".").JSONSchema;
2104
2164
  })[] | undefined;
2165
+ secured?: boolean | undefined;
2105
2166
  placeholder?: {
2106
2167
  id: string;
2107
2168
  description: string;
@@ -2132,6 +2193,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2132
2193
  }>>;
2133
2194
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2134
2195
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2196
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2135
2197
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2136
2198
  id: string;
2137
2199
  description: string;
@@ -2213,6 +2275,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2213
2275
  type: "DISPLAY_ON_REVIEW";
2214
2276
  conditional: import(".").JSONSchema;
2215
2277
  })[] | undefined;
2278
+ secured?: boolean | undefined;
2216
2279
  placeholder?: TranslationConfig | undefined;
2217
2280
  helperText?: TranslationConfig | undefined;
2218
2281
  hideLabel?: boolean | undefined;
@@ -2255,6 +2318,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2255
2318
  type: "DISPLAY_ON_REVIEW";
2256
2319
  conditional: import(".").JSONSchema;
2257
2320
  })[] | undefined;
2321
+ secured?: boolean | undefined;
2258
2322
  placeholder?: {
2259
2323
  id: string;
2260
2324
  description: string;
@@ -2268,7 +2332,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2268
2332
  hideLabel?: boolean | undefined;
2269
2333
  defaultValue?: string | undefined;
2270
2334
  }>;
2271
- declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2335
+ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
2272
2336
  id: z.ZodString;
2273
2337
  parent: z.ZodOptional<z.ZodObject<{
2274
2338
  $$field: z.ZodString;
@@ -2279,6 +2343,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2279
2343
  }>>;
2280
2344
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2281
2345
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2346
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2282
2347
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2283
2348
  id: string;
2284
2349
  description: string;
@@ -2314,10 +2379,54 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2314
2379
  }>>;
2315
2380
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2316
2381
  }, {
2317
- type: z.ZodLiteral<"CHECKBOX">;
2318
- defaultValue: z.ZodOptional<z.ZodBoolean>;
2382
+ type: z.ZodLiteral<"NAME">;
2383
+ defaultValue: z.ZodOptional<z.ZodObject<{
2384
+ firstname: z.ZodString;
2385
+ surname: z.ZodString;
2386
+ }, "strip", z.ZodTypeAny, {
2387
+ firstname: string;
2388
+ surname: string;
2389
+ }, {
2390
+ firstname: string;
2391
+ surname: string;
2392
+ }>>;
2393
+ configuration: z.ZodOptional<z.ZodObject<{
2394
+ maxLength: z.ZodOptional<z.ZodNumber>;
2395
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2396
+ id: string;
2397
+ description: string;
2398
+ defaultMessage: string;
2399
+ }>>;
2400
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2401
+ id: string;
2402
+ description: string;
2403
+ defaultMessage: string;
2404
+ }>>;
2405
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2406
+ searchMode: z.ZodOptional<z.ZodBoolean>;
2407
+ }, "strip", z.ZodTypeAny, {
2408
+ maxLength?: number | undefined;
2409
+ prefix?: TranslationConfig | undefined;
2410
+ postfix?: TranslationConfig | undefined;
2411
+ includeMiddlename?: boolean | undefined;
2412
+ searchMode?: boolean | undefined;
2413
+ }, {
2414
+ maxLength?: number | undefined;
2415
+ prefix?: {
2416
+ id: string;
2417
+ description: string;
2418
+ defaultMessage: string;
2419
+ } | undefined;
2420
+ postfix?: {
2421
+ id: string;
2422
+ description: string;
2423
+ defaultMessage: string;
2424
+ } | undefined;
2425
+ includeMiddlename?: boolean | undefined;
2426
+ searchMode?: boolean | undefined;
2427
+ }>>;
2319
2428
  }>, "strip", z.ZodTypeAny, {
2320
- type: "CHECKBOX";
2429
+ type: "NAME";
2321
2430
  id: string;
2322
2431
  label: TranslationConfig;
2323
2432
  parent?: {
@@ -2338,12 +2447,23 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2338
2447
  type: "DISPLAY_ON_REVIEW";
2339
2448
  conditional: import(".").JSONSchema;
2340
2449
  })[] | undefined;
2450
+ secured?: boolean | undefined;
2341
2451
  placeholder?: TranslationConfig | undefined;
2342
2452
  helperText?: TranslationConfig | undefined;
2343
2453
  hideLabel?: boolean | undefined;
2344
- defaultValue?: boolean | undefined;
2454
+ defaultValue?: {
2455
+ firstname: string;
2456
+ surname: string;
2457
+ } | undefined;
2458
+ configuration?: {
2459
+ maxLength?: number | undefined;
2460
+ prefix?: TranslationConfig | undefined;
2461
+ postfix?: TranslationConfig | undefined;
2462
+ includeMiddlename?: boolean | undefined;
2463
+ searchMode?: boolean | undefined;
2464
+ } | undefined;
2345
2465
  }, {
2346
- type: "CHECKBOX";
2466
+ type: "NAME";
2347
2467
  id: string;
2348
2468
  label: {
2349
2469
  id: string;
@@ -2372,6 +2492,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2372
2492
  type: "DISPLAY_ON_REVIEW";
2373
2493
  conditional: import(".").JSONSchema;
2374
2494
  })[] | undefined;
2495
+ secured?: boolean | undefined;
2375
2496
  placeholder?: {
2376
2497
  id: string;
2377
2498
  description: string;
@@ -2383,10 +2504,27 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2383
2504
  defaultMessage: string;
2384
2505
  } | undefined;
2385
2506
  hideLabel?: boolean | undefined;
2386
- defaultValue?: boolean | undefined;
2507
+ defaultValue?: {
2508
+ firstname: string;
2509
+ surname: string;
2510
+ } | undefined;
2511
+ configuration?: {
2512
+ maxLength?: number | undefined;
2513
+ prefix?: {
2514
+ id: string;
2515
+ description: string;
2516
+ defaultMessage: string;
2517
+ } | undefined;
2518
+ postfix?: {
2519
+ id: string;
2520
+ description: string;
2521
+ defaultMessage: string;
2522
+ } | undefined;
2523
+ includeMiddlename?: boolean | undefined;
2524
+ searchMode?: boolean | undefined;
2525
+ } | undefined;
2387
2526
  }>;
2388
- export type Checkbox = z.infer<typeof Checkbox>;
2389
- declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2527
+ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
2390
2528
  id: z.ZodString;
2391
2529
  parent: z.ZodOptional<z.ZodObject<{
2392
2530
  $$field: z.ZodString;
@@ -2397,6 +2535,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2397
2535
  }>>;
2398
2536
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2399
2537
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2538
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2400
2539
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2401
2540
  id: string;
2402
2541
  description: string;
@@ -2432,10 +2571,10 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2432
2571
  }>>;
2433
2572
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2434
2573
  }, {
2435
- type: z.ZodLiteral<"COUNTRY">;
2436
2574
  defaultValue: z.ZodOptional<z.ZodString>;
2575
+ type: z.ZodLiteral<"PHONE">;
2437
2576
  }>, "strip", z.ZodTypeAny, {
2438
- type: "COUNTRY";
2577
+ type: "PHONE";
2439
2578
  id: string;
2440
2579
  label: TranslationConfig;
2441
2580
  parent?: {
@@ -2456,12 +2595,13 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2456
2595
  type: "DISPLAY_ON_REVIEW";
2457
2596
  conditional: import(".").JSONSchema;
2458
2597
  })[] | undefined;
2598
+ secured?: boolean | undefined;
2459
2599
  placeholder?: TranslationConfig | undefined;
2460
2600
  helperText?: TranslationConfig | undefined;
2461
2601
  hideLabel?: boolean | undefined;
2462
2602
  defaultValue?: string | undefined;
2463
2603
  }, {
2464
- type: "COUNTRY";
2604
+ type: "PHONE";
2465
2605
  id: string;
2466
2606
  label: {
2467
2607
  id: string;
@@ -2490,6 +2630,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2490
2630
  type: "DISPLAY_ON_REVIEW";
2491
2631
  conditional: import(".").JSONSchema;
2492
2632
  })[] | undefined;
2633
+ secured?: boolean | undefined;
2493
2634
  placeholder?: {
2494
2635
  id: string;
2495
2636
  description: string;
@@ -2503,29 +2644,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2503
2644
  hideLabel?: boolean | undefined;
2504
2645
  defaultValue?: string | undefined;
2505
2646
  }>;
2506
- export type Country = z.infer<typeof Country>;
2507
- export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2508
- declare const AdministrativeAreaConfiguration: z.ZodObject<{
2509
- partOf: z.ZodOptional<z.ZodObject<{
2510
- $declaration: z.ZodString;
2511
- }, "strip", z.ZodTypeAny, {
2512
- $declaration: string;
2513
- }, {
2514
- $declaration: string;
2515
- }>>;
2516
- type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2517
- }, "strip", z.ZodTypeAny, {
2518
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2519
- partOf?: {
2520
- $declaration: string;
2521
- } | undefined;
2522
- }, {
2523
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2524
- partOf?: {
2525
- $declaration: string;
2526
- } | undefined;
2527
- }>;
2528
- declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2647
+ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
2529
2648
  id: z.ZodString;
2530
2649
  parent: z.ZodOptional<z.ZodObject<{
2531
2650
  $$field: z.ZodString;
@@ -2536,6 +2655,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2536
2655
  }>>;
2537
2656
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2538
2657
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2658
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2539
2659
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2540
2660
  id: string;
2541
2661
  description: string;
@@ -2571,38 +2691,12 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2571
2691
  }>>;
2572
2692
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2573
2693
  }, {
2574
- type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
2575
2694
  defaultValue: z.ZodOptional<z.ZodString>;
2576
- configuration: z.ZodObject<{
2577
- partOf: z.ZodOptional<z.ZodObject<{
2578
- $declaration: z.ZodString;
2579
- }, "strip", z.ZodTypeAny, {
2580
- $declaration: string;
2581
- }, {
2582
- $declaration: string;
2583
- }>>;
2584
- type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2585
- }, "strip", z.ZodTypeAny, {
2586
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2587
- partOf?: {
2588
- $declaration: string;
2589
- } | undefined;
2590
- }, {
2591
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2592
- partOf?: {
2593
- $declaration: string;
2594
- } | undefined;
2595
- }>;
2695
+ type: z.ZodLiteral<"ID">;
2596
2696
  }>, "strip", z.ZodTypeAny, {
2597
- type: "ADMINISTRATIVE_AREA";
2697
+ type: "ID";
2598
2698
  id: string;
2599
2699
  label: TranslationConfig;
2600
- configuration: {
2601
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2602
- partOf?: {
2603
- $declaration: string;
2604
- } | undefined;
2605
- };
2606
2700
  parent?: {
2607
2701
  $$field: string;
2608
2702
  } | undefined;
@@ -2621,24 +2715,19 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2621
2715
  type: "DISPLAY_ON_REVIEW";
2622
2716
  conditional: import(".").JSONSchema;
2623
2717
  })[] | undefined;
2718
+ secured?: boolean | undefined;
2624
2719
  placeholder?: TranslationConfig | undefined;
2625
2720
  helperText?: TranslationConfig | undefined;
2626
2721
  hideLabel?: boolean | undefined;
2627
2722
  defaultValue?: string | undefined;
2628
2723
  }, {
2629
- type: "ADMINISTRATIVE_AREA";
2724
+ type: "ID";
2630
2725
  id: string;
2631
2726
  label: {
2632
2727
  id: string;
2633
2728
  description: string;
2634
2729
  defaultMessage: string;
2635
2730
  };
2636
- configuration: {
2637
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2638
- partOf?: {
2639
- $declaration: string;
2640
- } | undefined;
2641
- };
2642
2731
  parent?: {
2643
2732
  $$field: string;
2644
2733
  } | undefined;
@@ -2661,6 +2750,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2661
2750
  type: "DISPLAY_ON_REVIEW";
2662
2751
  conditional: import(".").JSONSchema;
2663
2752
  })[] | undefined;
2753
+ secured?: boolean | undefined;
2664
2754
  placeholder?: {
2665
2755
  id: string;
2666
2756
  description: string;
@@ -2674,8 +2764,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2674
2764
  hideLabel?: boolean | undefined;
2675
2765
  defaultValue?: string | undefined;
2676
2766
  }>;
2677
- export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
2678
- declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2767
+ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2679
2768
  id: z.ZodString;
2680
2769
  parent: z.ZodOptional<z.ZodObject<{
2681
2770
  $$field: z.ZodString;
@@ -2686,6 +2775,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2686
2775
  }>>;
2687
2776
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2688
2777
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2778
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2689
2779
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2690
2780
  id: string;
2691
2781
  description: string;
@@ -2721,10 +2811,10 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2721
2811
  }>>;
2722
2812
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2723
2813
  }, {
2724
- type: z.ZodLiteral<"LOCATION">;
2725
- defaultValue: z.ZodOptional<z.ZodString>;
2814
+ type: z.ZodLiteral<"CHECKBOX">;
2815
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
2726
2816
  }>, "strip", z.ZodTypeAny, {
2727
- type: "LOCATION";
2817
+ type: "CHECKBOX";
2728
2818
  id: string;
2729
2819
  label: TranslationConfig;
2730
2820
  parent?: {
@@ -2745,12 +2835,13 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2745
2835
  type: "DISPLAY_ON_REVIEW";
2746
2836
  conditional: import(".").JSONSchema;
2747
2837
  })[] | undefined;
2838
+ secured?: boolean | undefined;
2748
2839
  placeholder?: TranslationConfig | undefined;
2749
2840
  helperText?: TranslationConfig | undefined;
2750
2841
  hideLabel?: boolean | undefined;
2751
- defaultValue?: string | undefined;
2842
+ defaultValue?: boolean | undefined;
2752
2843
  }, {
2753
- type: "LOCATION";
2844
+ type: "CHECKBOX";
2754
2845
  id: string;
2755
2846
  label: {
2756
2847
  id: string;
@@ -2779,6 +2870,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2779
2870
  type: "DISPLAY_ON_REVIEW";
2780
2871
  conditional: import(".").JSONSchema;
2781
2872
  })[] | undefined;
2873
+ secured?: boolean | undefined;
2782
2874
  placeholder?: {
2783
2875
  id: string;
2784
2876
  description: string;
@@ -2790,10 +2882,10 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2790
2882
  defaultMessage: string;
2791
2883
  } | undefined;
2792
2884
  hideLabel?: boolean | undefined;
2793
- defaultValue?: string | undefined;
2885
+ defaultValue?: boolean | undefined;
2794
2886
  }>;
2795
- export type Location = z.infer<typeof Location>;
2796
- declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2887
+ export type Checkbox = z.infer<typeof Checkbox>;
2888
+ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2797
2889
  id: z.ZodString;
2798
2890
  parent: z.ZodOptional<z.ZodObject<{
2799
2891
  $$field: z.ZodString;
@@ -2804,6 +2896,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2804
2896
  }>>;
2805
2897
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2806
2898
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2899
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2807
2900
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2808
2901
  id: string;
2809
2902
  description: string;
@@ -2839,63 +2932,12 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2839
2932
  }>>;
2840
2933
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2841
2934
  }, {
2842
- type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
2843
- options: z.ZodArray<z.ZodObject<{
2844
- value: z.ZodString;
2845
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2846
- id: string;
2847
- description: string;
2848
- defaultMessage: string;
2849
- }>;
2850
- }, "strip", z.ZodTypeAny, {
2851
- value: string;
2852
- label: TranslationConfig;
2853
- }, {
2854
- value: string;
2855
- label: {
2856
- id: string;
2857
- description: string;
2858
- defaultMessage: string;
2859
- };
2860
- }>, "many">;
2861
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
2862
- filename: z.ZodString;
2863
- originalFilename: z.ZodString;
2864
- type: z.ZodString;
2865
- option: z.ZodString;
2866
- }, "strip", z.ZodTypeAny, {
2867
- type: string;
2868
- option: string;
2869
- filename: string;
2870
- originalFilename: string;
2871
- }, {
2872
- type: string;
2873
- option: string;
2874
- filename: string;
2875
- originalFilename: string;
2876
- }>, "many">>;
2877
- configuration: z.ZodDefault<z.ZodObject<{
2878
- maxFileSize: z.ZodDefault<z.ZodNumber>;
2879
- acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
2880
- }, "strip", z.ZodTypeAny, {
2881
- maxFileSize: number;
2882
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2883
- }, {
2884
- maxFileSize?: number | undefined;
2885
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2886
- }>>;
2935
+ type: z.ZodLiteral<"COUNTRY">;
2936
+ defaultValue: z.ZodOptional<z.ZodString>;
2887
2937
  }>, "strip", z.ZodTypeAny, {
2888
- type: "FILE_WITH_OPTIONS";
2938
+ type: "COUNTRY";
2889
2939
  id: string;
2890
- options: {
2891
- value: string;
2892
- label: TranslationConfig;
2893
- }[];
2894
2940
  label: TranslationConfig;
2895
- configuration: {
2896
- maxFileSize: number;
2897
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2898
- };
2899
2941
  parent?: {
2900
2942
  $$field: string;
2901
2943
  } | undefined;
@@ -2914,26 +2956,14 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2914
2956
  type: "DISPLAY_ON_REVIEW";
2915
2957
  conditional: import(".").JSONSchema;
2916
2958
  })[] | undefined;
2959
+ secured?: boolean | undefined;
2917
2960
  placeholder?: TranslationConfig | undefined;
2918
2961
  helperText?: TranslationConfig | undefined;
2919
2962
  hideLabel?: boolean | undefined;
2920
- defaultValue?: {
2921
- type: string;
2922
- option: string;
2923
- filename: string;
2924
- originalFilename: string;
2925
- }[] | undefined;
2963
+ defaultValue?: string | undefined;
2926
2964
  }, {
2927
- type: "FILE_WITH_OPTIONS";
2965
+ type: "COUNTRY";
2928
2966
  id: string;
2929
- options: {
2930
- value: string;
2931
- label: {
2932
- id: string;
2933
- description: string;
2934
- defaultMessage: string;
2935
- };
2936
- }[];
2937
2967
  label: {
2938
2968
  id: string;
2939
2969
  description: string;
@@ -2961,6 +2991,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2961
2991
  type: "DISPLAY_ON_REVIEW";
2962
2992
  conditional: import(".").JSONSchema;
2963
2993
  })[] | undefined;
2994
+ secured?: boolean | undefined;
2964
2995
  placeholder?: {
2965
2996
  id: string;
2966
2997
  description: string;
@@ -2972,29 +3003,42 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2972
3003
  defaultMessage: string;
2973
3004
  } | undefined;
2974
3005
  hideLabel?: boolean | undefined;
2975
- defaultValue?: {
2976
- type: string;
2977
- option: string;
2978
- filename: string;
2979
- originalFilename: string;
2980
- }[] | undefined;
2981
- configuration?: {
2982
- maxFileSize?: number | undefined;
2983
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2984
- } | undefined;
3006
+ defaultValue?: string | undefined;
2985
3007
  }>;
2986
- export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
2987
- declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2988
- id: z.ZodString;
2989
- parent: z.ZodOptional<z.ZodObject<{
2990
- $$field: z.ZodString;
3008
+ export type Country = z.infer<typeof Country>;
3009
+ export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3010
+ declare const AdministrativeAreaConfiguration: z.ZodObject<{
3011
+ partOf: z.ZodOptional<z.ZodObject<{
3012
+ $declaration: z.ZodString;
2991
3013
  }, "strip", z.ZodTypeAny, {
2992
- $$field: string;
3014
+ $declaration: string;
2993
3015
  }, {
2994
- $$field: string;
3016
+ $declaration: string;
2995
3017
  }>>;
2996
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2997
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3018
+ type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3019
+ }, "strip", z.ZodTypeAny, {
3020
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3021
+ partOf?: {
3022
+ $declaration: string;
3023
+ } | undefined;
3024
+ }, {
3025
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3026
+ partOf?: {
3027
+ $declaration: string;
3028
+ } | undefined;
3029
+ }>;
3030
+ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
3031
+ id: z.ZodString;
3032
+ parent: z.ZodOptional<z.ZodObject<{
3033
+ $$field: z.ZodString;
3034
+ }, "strip", z.ZodTypeAny, {
3035
+ $$field: string;
3036
+ }, {
3037
+ $$field: string;
3038
+ }>>;
3039
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3040
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3041
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2998
3042
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2999
3043
  id: string;
3000
3044
  description: string;
@@ -3030,12 +3074,38 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3030
3074
  }>>;
3031
3075
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3032
3076
  }, {
3033
- type: z.ZodLiteral<"FACILITY">;
3077
+ type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
3034
3078
  defaultValue: z.ZodOptional<z.ZodString>;
3079
+ configuration: z.ZodObject<{
3080
+ partOf: z.ZodOptional<z.ZodObject<{
3081
+ $declaration: z.ZodString;
3082
+ }, "strip", z.ZodTypeAny, {
3083
+ $declaration: string;
3084
+ }, {
3085
+ $declaration: string;
3086
+ }>>;
3087
+ type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3088
+ }, "strip", z.ZodTypeAny, {
3089
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3090
+ partOf?: {
3091
+ $declaration: string;
3092
+ } | undefined;
3093
+ }, {
3094
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3095
+ partOf?: {
3096
+ $declaration: string;
3097
+ } | undefined;
3098
+ }>;
3035
3099
  }>, "strip", z.ZodTypeAny, {
3036
- type: "FACILITY";
3100
+ type: "ADMINISTRATIVE_AREA";
3037
3101
  id: string;
3038
3102
  label: TranslationConfig;
3103
+ configuration: {
3104
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3105
+ partOf?: {
3106
+ $declaration: string;
3107
+ } | undefined;
3108
+ };
3039
3109
  parent?: {
3040
3110
  $$field: string;
3041
3111
  } | undefined;
@@ -3054,18 +3124,25 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3054
3124
  type: "DISPLAY_ON_REVIEW";
3055
3125
  conditional: import(".").JSONSchema;
3056
3126
  })[] | undefined;
3127
+ secured?: boolean | undefined;
3057
3128
  placeholder?: TranslationConfig | undefined;
3058
3129
  helperText?: TranslationConfig | undefined;
3059
3130
  hideLabel?: boolean | undefined;
3060
3131
  defaultValue?: string | undefined;
3061
3132
  }, {
3062
- type: "FACILITY";
3133
+ type: "ADMINISTRATIVE_AREA";
3063
3134
  id: string;
3064
3135
  label: {
3065
3136
  id: string;
3066
3137
  description: string;
3067
3138
  defaultMessage: string;
3068
3139
  };
3140
+ configuration: {
3141
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3142
+ partOf?: {
3143
+ $declaration: string;
3144
+ } | undefined;
3145
+ };
3069
3146
  parent?: {
3070
3147
  $$field: string;
3071
3148
  } | undefined;
@@ -3088,6 +3165,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3088
3165
  type: "DISPLAY_ON_REVIEW";
3089
3166
  conditional: import(".").JSONSchema;
3090
3167
  })[] | undefined;
3168
+ secured?: boolean | undefined;
3091
3169
  placeholder?: {
3092
3170
  id: string;
3093
3171
  description: string;
@@ -3101,8 +3179,8 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3101
3179
  hideLabel?: boolean | undefined;
3102
3180
  defaultValue?: string | undefined;
3103
3181
  }>;
3104
- export type Facility = z.infer<typeof Facility>;
3105
- declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3182
+ export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
3183
+ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
3106
3184
  id: z.ZodString;
3107
3185
  parent: z.ZodOptional<z.ZodObject<{
3108
3186
  $$field: z.ZodString;
@@ -3113,6 +3191,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3113
3191
  }>>;
3114
3192
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3115
3193
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3194
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3116
3195
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3117
3196
  id: string;
3118
3197
  description: string;
@@ -3148,10 +3227,10 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3148
3227
  }>>;
3149
3228
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3150
3229
  }, {
3151
- type: z.ZodLiteral<"OFFICE">;
3230
+ type: z.ZodLiteral<"LOCATION">;
3152
3231
  defaultValue: z.ZodOptional<z.ZodString>;
3153
3232
  }>, "strip", z.ZodTypeAny, {
3154
- type: "OFFICE";
3233
+ type: "LOCATION";
3155
3234
  id: string;
3156
3235
  label: TranslationConfig;
3157
3236
  parent?: {
@@ -3172,12 +3251,13 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3172
3251
  type: "DISPLAY_ON_REVIEW";
3173
3252
  conditional: import(".").JSONSchema;
3174
3253
  })[] | undefined;
3254
+ secured?: boolean | undefined;
3175
3255
  placeholder?: TranslationConfig | undefined;
3176
3256
  helperText?: TranslationConfig | undefined;
3177
3257
  hideLabel?: boolean | undefined;
3178
3258
  defaultValue?: string | undefined;
3179
3259
  }, {
3180
- type: "OFFICE";
3260
+ type: "LOCATION";
3181
3261
  id: string;
3182
3262
  label: {
3183
3263
  id: string;
@@ -3206,6 +3286,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3206
3286
  type: "DISPLAY_ON_REVIEW";
3207
3287
  conditional: import(".").JSONSchema;
3208
3288
  })[] | undefined;
3289
+ secured?: boolean | undefined;
3209
3290
  placeholder?: {
3210
3291
  id: string;
3211
3292
  description: string;
@@ -3219,8 +3300,8 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3219
3300
  hideLabel?: boolean | undefined;
3220
3301
  defaultValue?: string | undefined;
3221
3302
  }>;
3222
- export type Office = z.infer<typeof Office>;
3223
- declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3303
+ export type Location = z.infer<typeof Location>;
3304
+ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
3224
3305
  id: z.ZodString;
3225
3306
  parent: z.ZodOptional<z.ZodObject<{
3226
3307
  $$field: z.ZodString;
@@ -3231,6 +3312,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3231
3312
  }>>;
3232
3313
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3233
3314
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3315
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3234
3316
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3235
3317
  id: string;
3236
3318
  description: string;
@@ -3266,98 +3348,63 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3266
3348
  }>>;
3267
3349
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3268
3350
  }, {
3269
- type: z.ZodLiteral<"ADDRESS">;
3270
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3271
- country: z.ZodString;
3272
- addressType: z.ZodLiteral<"DOMESTIC">;
3273
- province: z.ZodString;
3274
- district: z.ZodString;
3275
- }, {
3276
- urbanOrRural: z.ZodLiteral<"URBAN">;
3277
- town: z.ZodOptional<z.ZodString>;
3278
- residentialArea: z.ZodOptional<z.ZodString>;
3279
- street: z.ZodOptional<z.ZodString>;
3280
- number: z.ZodOptional<z.ZodString>;
3281
- zipCode: z.ZodOptional<z.ZodString>;
3282
- }>, "strip", z.ZodTypeAny, {
3283
- country: string;
3284
- district: string;
3285
- addressType: "DOMESTIC";
3286
- province: string;
3287
- urbanOrRural: "URBAN";
3288
- number?: string | undefined;
3289
- town?: string | undefined;
3290
- residentialArea?: string | undefined;
3291
- street?: string | undefined;
3292
- zipCode?: string | undefined;
3293
- }, {
3294
- country: string;
3295
- district: string;
3296
- addressType: "DOMESTIC";
3297
- province: string;
3298
- urbanOrRural: "URBAN";
3299
- number?: string | undefined;
3300
- town?: string | undefined;
3301
- residentialArea?: string | undefined;
3302
- street?: string | undefined;
3303
- zipCode?: string | undefined;
3304
- }>, z.ZodObject<z.objectUtil.extendShape<{
3305
- country: z.ZodString;
3306
- addressType: z.ZodLiteral<"DOMESTIC">;
3307
- province: z.ZodString;
3308
- district: z.ZodString;
3351
+ type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
3352
+ options: z.ZodArray<z.ZodObject<{
3353
+ value: z.ZodString;
3354
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3355
+ id: string;
3356
+ description: string;
3357
+ defaultMessage: string;
3358
+ }>;
3359
+ }, "strip", z.ZodTypeAny, {
3360
+ value: string;
3361
+ label: TranslationConfig;
3309
3362
  }, {
3310
- urbanOrRural: z.ZodLiteral<"RURAL">;
3311
- village: z.ZodOptional<z.ZodString>;
3312
- }>, "strip", z.ZodTypeAny, {
3313
- country: string;
3314
- district: string;
3315
- addressType: "DOMESTIC";
3316
- province: string;
3317
- urbanOrRural: "RURAL";
3318
- village?: string | undefined;
3363
+ value: string;
3364
+ label: {
3365
+ id: string;
3366
+ description: string;
3367
+ defaultMessage: string;
3368
+ };
3369
+ }>, "many">;
3370
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
3371
+ filename: z.ZodString;
3372
+ originalFilename: z.ZodString;
3373
+ type: z.ZodString;
3374
+ option: z.ZodString;
3375
+ }, "strip", z.ZodTypeAny, {
3376
+ type: string;
3377
+ option: string;
3378
+ filename: string;
3379
+ originalFilename: string;
3319
3380
  }, {
3320
- country: string;
3321
- district: string;
3322
- addressType: "DOMESTIC";
3323
- province: string;
3324
- urbanOrRural: "RURAL";
3325
- village?: string | undefined;
3326
- }>]>, z.ZodObject<{
3327
- country: z.ZodString;
3328
- addressType: z.ZodLiteral<"INTERNATIONAL">;
3329
- state: z.ZodString;
3330
- district2: z.ZodString;
3331
- cityOrTown: z.ZodOptional<z.ZodString>;
3332
- addressLine1: z.ZodOptional<z.ZodString>;
3333
- addressLine2: z.ZodOptional<z.ZodString>;
3334
- addressLine3: z.ZodOptional<z.ZodString>;
3335
- postcodeOrZip: z.ZodOptional<z.ZodString>;
3381
+ type: string;
3382
+ option: string;
3383
+ filename: string;
3384
+ originalFilename: string;
3385
+ }>, "many">>;
3386
+ configuration: z.ZodDefault<z.ZodObject<{
3387
+ maxFileSize: z.ZodDefault<z.ZodNumber>;
3388
+ acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
3336
3389
  }, "strip", z.ZodTypeAny, {
3337
- country: string;
3338
- state: string;
3339
- addressType: "INTERNATIONAL";
3340
- district2: string;
3341
- cityOrTown?: string | undefined;
3342
- addressLine1?: string | undefined;
3343
- addressLine2?: string | undefined;
3344
- addressLine3?: string | undefined;
3345
- postcodeOrZip?: string | undefined;
3390
+ maxFileSize: number;
3391
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3346
3392
  }, {
3347
- country: string;
3348
- state: string;
3349
- addressType: "INTERNATIONAL";
3350
- district2: string;
3351
- cityOrTown?: string | undefined;
3352
- addressLine1?: string | undefined;
3353
- addressLine2?: string | undefined;
3354
- addressLine3?: string | undefined;
3355
- postcodeOrZip?: string | undefined;
3356
- }>]>>;
3393
+ maxFileSize?: number | undefined;
3394
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3395
+ }>>;
3357
3396
  }>, "strip", z.ZodTypeAny, {
3358
- type: "ADDRESS";
3397
+ type: "FILE_WITH_OPTIONS";
3359
3398
  id: string;
3399
+ options: {
3400
+ value: string;
3401
+ label: TranslationConfig;
3402
+ }[];
3360
3403
  label: TranslationConfig;
3404
+ configuration: {
3405
+ maxFileSize: number;
3406
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3407
+ };
3361
3408
  parent?: {
3362
3409
  $$field: string;
3363
3410
  } | undefined;
@@ -3376,41 +3423,27 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3376
3423
  type: "DISPLAY_ON_REVIEW";
3377
3424
  conditional: import(".").JSONSchema;
3378
3425
  })[] | undefined;
3426
+ secured?: boolean | undefined;
3379
3427
  placeholder?: TranslationConfig | undefined;
3380
3428
  helperText?: TranslationConfig | undefined;
3381
3429
  hideLabel?: boolean | undefined;
3382
3430
  defaultValue?: {
3383
- country: string;
3384
- district: string;
3385
- addressType: "DOMESTIC";
3386
- province: string;
3387
- urbanOrRural: "URBAN";
3388
- number?: string | undefined;
3389
- town?: string | undefined;
3390
- residentialArea?: string | undefined;
3391
- street?: string | undefined;
3392
- zipCode?: string | undefined;
3393
- } | {
3394
- country: string;
3395
- district: string;
3396
- addressType: "DOMESTIC";
3397
- province: string;
3398
- urbanOrRural: "RURAL";
3399
- village?: string | undefined;
3400
- } | {
3401
- country: string;
3402
- state: string;
3403
- addressType: "INTERNATIONAL";
3404
- district2: string;
3405
- cityOrTown?: string | undefined;
3406
- addressLine1?: string | undefined;
3407
- addressLine2?: string | undefined;
3408
- addressLine3?: string | undefined;
3409
- postcodeOrZip?: string | undefined;
3410
- } | undefined;
3431
+ type: string;
3432
+ option: string;
3433
+ filename: string;
3434
+ originalFilename: string;
3435
+ }[] | undefined;
3411
3436
  }, {
3412
- type: "ADDRESS";
3437
+ type: "FILE_WITH_OPTIONS";
3413
3438
  id: string;
3439
+ options: {
3440
+ value: string;
3441
+ label: {
3442
+ id: string;
3443
+ description: string;
3444
+ defaultMessage: string;
3445
+ };
3446
+ }[];
3414
3447
  label: {
3415
3448
  id: string;
3416
3449
  description: string;
@@ -3438,6 +3471,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3438
3471
  type: "DISPLAY_ON_REVIEW";
3439
3472
  conditional: import(".").JSONSchema;
3440
3473
  })[] | undefined;
3474
+ secured?: boolean | undefined;
3441
3475
  placeholder?: {
3442
3476
  id: string;
3443
3477
  description: string;
@@ -3450,9 +3484,943 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3450
3484
  } | undefined;
3451
3485
  hideLabel?: boolean | undefined;
3452
3486
  defaultValue?: {
3453
- country: string;
3454
- district: string;
3455
- addressType: "DOMESTIC";
3487
+ type: string;
3488
+ option: string;
3489
+ filename: string;
3490
+ originalFilename: string;
3491
+ }[] | undefined;
3492
+ configuration?: {
3493
+ maxFileSize?: number | undefined;
3494
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3495
+ } | undefined;
3496
+ }>;
3497
+ export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
3498
+ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3499
+ id: z.ZodString;
3500
+ parent: z.ZodOptional<z.ZodObject<{
3501
+ $$field: z.ZodString;
3502
+ }, "strip", z.ZodTypeAny, {
3503
+ $$field: string;
3504
+ }, {
3505
+ $$field: string;
3506
+ }>>;
3507
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3508
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3509
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3510
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3511
+ id: string;
3512
+ description: string;
3513
+ defaultMessage: string;
3514
+ }>>;
3515
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3516
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3517
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3518
+ id: string;
3519
+ description: string;
3520
+ defaultMessage: string;
3521
+ }>;
3522
+ }, "strip", z.ZodTypeAny, {
3523
+ message: TranslationConfig;
3524
+ validator: import(".").JSONSchema;
3525
+ }, {
3526
+ message: {
3527
+ id: string;
3528
+ description: string;
3529
+ defaultMessage: string;
3530
+ };
3531
+ validator: import(".").JSONSchema;
3532
+ }>, "many">>>;
3533
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3534
+ id: string;
3535
+ description: string;
3536
+ defaultMessage: string;
3537
+ }>;
3538
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3539
+ id: string;
3540
+ description: string;
3541
+ defaultMessage: string;
3542
+ }>>;
3543
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3544
+ }, {
3545
+ type: z.ZodLiteral<"FACILITY">;
3546
+ defaultValue: z.ZodOptional<z.ZodString>;
3547
+ }>, "strip", z.ZodTypeAny, {
3548
+ type: "FACILITY";
3549
+ id: string;
3550
+ label: TranslationConfig;
3551
+ parent?: {
3552
+ $$field: string;
3553
+ } | undefined;
3554
+ validation?: {
3555
+ message: TranslationConfig;
3556
+ validator: import(".").JSONSchema;
3557
+ }[] | undefined;
3558
+ required?: boolean | undefined;
3559
+ conditionals?: ({
3560
+ type: "SHOW";
3561
+ conditional: import(".").JSONSchema;
3562
+ } | {
3563
+ type: "ENABLE";
3564
+ conditional: import(".").JSONSchema;
3565
+ } | {
3566
+ type: "DISPLAY_ON_REVIEW";
3567
+ conditional: import(".").JSONSchema;
3568
+ })[] | undefined;
3569
+ secured?: boolean | undefined;
3570
+ placeholder?: TranslationConfig | undefined;
3571
+ helperText?: TranslationConfig | undefined;
3572
+ hideLabel?: boolean | undefined;
3573
+ defaultValue?: string | undefined;
3574
+ }, {
3575
+ type: "FACILITY";
3576
+ id: string;
3577
+ label: {
3578
+ id: string;
3579
+ description: string;
3580
+ defaultMessage: string;
3581
+ };
3582
+ parent?: {
3583
+ $$field: string;
3584
+ } | undefined;
3585
+ validation?: {
3586
+ message: {
3587
+ id: string;
3588
+ description: string;
3589
+ defaultMessage: string;
3590
+ };
3591
+ validator: import(".").JSONSchema;
3592
+ }[] | undefined;
3593
+ required?: boolean | undefined;
3594
+ conditionals?: ({
3595
+ type: "SHOW";
3596
+ conditional: import(".").JSONSchema;
3597
+ } | {
3598
+ type: "ENABLE";
3599
+ conditional: import(".").JSONSchema;
3600
+ } | {
3601
+ type: "DISPLAY_ON_REVIEW";
3602
+ conditional: import(".").JSONSchema;
3603
+ })[] | undefined;
3604
+ secured?: boolean | undefined;
3605
+ placeholder?: {
3606
+ id: string;
3607
+ description: string;
3608
+ defaultMessage: string;
3609
+ } | undefined;
3610
+ helperText?: {
3611
+ id: string;
3612
+ description: string;
3613
+ defaultMessage: string;
3614
+ } | undefined;
3615
+ hideLabel?: boolean | undefined;
3616
+ defaultValue?: string | undefined;
3617
+ }>;
3618
+ export type Facility = z.infer<typeof Facility>;
3619
+ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3620
+ id: z.ZodString;
3621
+ parent: z.ZodOptional<z.ZodObject<{
3622
+ $$field: z.ZodString;
3623
+ }, "strip", z.ZodTypeAny, {
3624
+ $$field: string;
3625
+ }, {
3626
+ $$field: string;
3627
+ }>>;
3628
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3629
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3630
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3631
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3632
+ id: string;
3633
+ description: string;
3634
+ defaultMessage: string;
3635
+ }>>;
3636
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3637
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3638
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3639
+ id: string;
3640
+ description: string;
3641
+ defaultMessage: string;
3642
+ }>;
3643
+ }, "strip", z.ZodTypeAny, {
3644
+ message: TranslationConfig;
3645
+ validator: import(".").JSONSchema;
3646
+ }, {
3647
+ message: {
3648
+ id: string;
3649
+ description: string;
3650
+ defaultMessage: string;
3651
+ };
3652
+ validator: import(".").JSONSchema;
3653
+ }>, "many">>>;
3654
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3655
+ id: string;
3656
+ description: string;
3657
+ defaultMessage: string;
3658
+ }>;
3659
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3660
+ id: string;
3661
+ description: string;
3662
+ defaultMessage: string;
3663
+ }>>;
3664
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3665
+ }, {
3666
+ type: z.ZodLiteral<"OFFICE">;
3667
+ defaultValue: z.ZodOptional<z.ZodString>;
3668
+ }>, "strip", z.ZodTypeAny, {
3669
+ type: "OFFICE";
3670
+ id: string;
3671
+ label: TranslationConfig;
3672
+ parent?: {
3673
+ $$field: string;
3674
+ } | undefined;
3675
+ validation?: {
3676
+ message: TranslationConfig;
3677
+ validator: import(".").JSONSchema;
3678
+ }[] | undefined;
3679
+ required?: boolean | undefined;
3680
+ conditionals?: ({
3681
+ type: "SHOW";
3682
+ conditional: import(".").JSONSchema;
3683
+ } | {
3684
+ type: "ENABLE";
3685
+ conditional: import(".").JSONSchema;
3686
+ } | {
3687
+ type: "DISPLAY_ON_REVIEW";
3688
+ conditional: import(".").JSONSchema;
3689
+ })[] | undefined;
3690
+ secured?: boolean | undefined;
3691
+ placeholder?: TranslationConfig | undefined;
3692
+ helperText?: TranslationConfig | undefined;
3693
+ hideLabel?: boolean | undefined;
3694
+ defaultValue?: string | undefined;
3695
+ }, {
3696
+ type: "OFFICE";
3697
+ id: string;
3698
+ label: {
3699
+ id: string;
3700
+ description: string;
3701
+ defaultMessage: string;
3702
+ };
3703
+ parent?: {
3704
+ $$field: string;
3705
+ } | undefined;
3706
+ validation?: {
3707
+ message: {
3708
+ id: string;
3709
+ description: string;
3710
+ defaultMessage: string;
3711
+ };
3712
+ validator: import(".").JSONSchema;
3713
+ }[] | undefined;
3714
+ required?: boolean | undefined;
3715
+ conditionals?: ({
3716
+ type: "SHOW";
3717
+ conditional: import(".").JSONSchema;
3718
+ } | {
3719
+ type: "ENABLE";
3720
+ conditional: import(".").JSONSchema;
3721
+ } | {
3722
+ type: "DISPLAY_ON_REVIEW";
3723
+ conditional: import(".").JSONSchema;
3724
+ })[] | undefined;
3725
+ secured?: boolean | undefined;
3726
+ placeholder?: {
3727
+ id: string;
3728
+ description: string;
3729
+ defaultMessage: string;
3730
+ } | undefined;
3731
+ helperText?: {
3732
+ id: string;
3733
+ description: string;
3734
+ defaultMessage: string;
3735
+ } | undefined;
3736
+ hideLabel?: boolean | undefined;
3737
+ defaultValue?: string | undefined;
3738
+ }>;
3739
+ export type Office = z.infer<typeof Office>;
3740
+ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3741
+ id: z.ZodString;
3742
+ parent: z.ZodOptional<z.ZodObject<{
3743
+ $$field: z.ZodString;
3744
+ }, "strip", z.ZodTypeAny, {
3745
+ $$field: string;
3746
+ }, {
3747
+ $$field: string;
3748
+ }>>;
3749
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3750
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3751
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3752
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3753
+ id: string;
3754
+ description: string;
3755
+ defaultMessage: string;
3756
+ }>>;
3757
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3758
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3759
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3760
+ id: string;
3761
+ description: string;
3762
+ defaultMessage: string;
3763
+ }>;
3764
+ }, "strip", z.ZodTypeAny, {
3765
+ message: TranslationConfig;
3766
+ validator: import(".").JSONSchema;
3767
+ }, {
3768
+ message: {
3769
+ id: string;
3770
+ description: string;
3771
+ defaultMessage: string;
3772
+ };
3773
+ validator: import(".").JSONSchema;
3774
+ }>, "many">>>;
3775
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3776
+ id: string;
3777
+ description: string;
3778
+ defaultMessage: string;
3779
+ }>;
3780
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3781
+ id: string;
3782
+ description: string;
3783
+ defaultMessage: string;
3784
+ }>>;
3785
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3786
+ }, {
3787
+ type: z.ZodLiteral<"ADDRESS">;
3788
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3789
+ country: z.ZodString;
3790
+ addressType: z.ZodLiteral<"DOMESTIC">;
3791
+ province: z.ZodString;
3792
+ district: z.ZodString;
3793
+ }, {
3794
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3795
+ town: z.ZodOptional<z.ZodString>;
3796
+ residentialArea: z.ZodOptional<z.ZodString>;
3797
+ street: z.ZodOptional<z.ZodString>;
3798
+ number: z.ZodOptional<z.ZodString>;
3799
+ zipCode: z.ZodOptional<z.ZodString>;
3800
+ }>, "strip", z.ZodTypeAny, {
3801
+ country: string;
3802
+ district: string;
3803
+ addressType: "DOMESTIC";
3804
+ province: string;
3805
+ urbanOrRural: "URBAN";
3806
+ number?: string | undefined;
3807
+ town?: string | undefined;
3808
+ residentialArea?: string | undefined;
3809
+ street?: string | undefined;
3810
+ zipCode?: string | undefined;
3811
+ }, {
3812
+ country: string;
3813
+ district: string;
3814
+ addressType: "DOMESTIC";
3815
+ province: string;
3816
+ urbanOrRural: "URBAN";
3817
+ number?: string | undefined;
3818
+ town?: string | undefined;
3819
+ residentialArea?: string | undefined;
3820
+ street?: string | undefined;
3821
+ zipCode?: string | undefined;
3822
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3823
+ country: z.ZodString;
3824
+ addressType: z.ZodLiteral<"DOMESTIC">;
3825
+ province: z.ZodString;
3826
+ district: z.ZodString;
3827
+ }, {
3828
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3829
+ village: z.ZodOptional<z.ZodString>;
3830
+ }>, "strip", z.ZodTypeAny, {
3831
+ country: string;
3832
+ district: string;
3833
+ addressType: "DOMESTIC";
3834
+ province: string;
3835
+ urbanOrRural: "RURAL";
3836
+ village?: string | undefined;
3837
+ }, {
3838
+ country: string;
3839
+ district: string;
3840
+ addressType: "DOMESTIC";
3841
+ province: string;
3842
+ urbanOrRural: "RURAL";
3843
+ village?: string | undefined;
3844
+ }>]>, z.ZodObject<{
3845
+ country: z.ZodString;
3846
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3847
+ state: z.ZodString;
3848
+ district2: z.ZodString;
3849
+ cityOrTown: z.ZodOptional<z.ZodString>;
3850
+ addressLine1: z.ZodOptional<z.ZodString>;
3851
+ addressLine2: z.ZodOptional<z.ZodString>;
3852
+ addressLine3: z.ZodOptional<z.ZodString>;
3853
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
3854
+ }, "strip", z.ZodTypeAny, {
3855
+ country: string;
3856
+ state: string;
3857
+ addressType: "INTERNATIONAL";
3858
+ district2: string;
3859
+ cityOrTown?: string | undefined;
3860
+ addressLine1?: string | undefined;
3861
+ addressLine2?: string | undefined;
3862
+ addressLine3?: string | undefined;
3863
+ postcodeOrZip?: string | undefined;
3864
+ }, {
3865
+ country: string;
3866
+ state: string;
3867
+ addressType: "INTERNATIONAL";
3868
+ district2: string;
3869
+ cityOrTown?: string | undefined;
3870
+ addressLine1?: string | undefined;
3871
+ addressLine2?: string | undefined;
3872
+ addressLine3?: string | undefined;
3873
+ postcodeOrZip?: string | undefined;
3874
+ }>]>>;
3875
+ }>, "strip", z.ZodTypeAny, {
3876
+ type: "ADDRESS";
3877
+ id: string;
3878
+ label: TranslationConfig;
3879
+ parent?: {
3880
+ $$field: string;
3881
+ } | undefined;
3882
+ validation?: {
3883
+ message: TranslationConfig;
3884
+ validator: import(".").JSONSchema;
3885
+ }[] | undefined;
3886
+ required?: boolean | undefined;
3887
+ conditionals?: ({
3888
+ type: "SHOW";
3889
+ conditional: import(".").JSONSchema;
3890
+ } | {
3891
+ type: "ENABLE";
3892
+ conditional: import(".").JSONSchema;
3893
+ } | {
3894
+ type: "DISPLAY_ON_REVIEW";
3895
+ conditional: import(".").JSONSchema;
3896
+ })[] | undefined;
3897
+ secured?: boolean | undefined;
3898
+ placeholder?: TranslationConfig | undefined;
3899
+ helperText?: TranslationConfig | undefined;
3900
+ hideLabel?: boolean | undefined;
3901
+ defaultValue?: {
3902
+ country: string;
3903
+ district: string;
3904
+ addressType: "DOMESTIC";
3905
+ province: string;
3906
+ urbanOrRural: "URBAN";
3907
+ number?: string | undefined;
3908
+ town?: string | undefined;
3909
+ residentialArea?: string | undefined;
3910
+ street?: string | undefined;
3911
+ zipCode?: string | undefined;
3912
+ } | {
3913
+ country: string;
3914
+ district: string;
3915
+ addressType: "DOMESTIC";
3916
+ province: string;
3917
+ urbanOrRural: "RURAL";
3918
+ village?: string | undefined;
3919
+ } | {
3920
+ country: string;
3921
+ state: string;
3922
+ addressType: "INTERNATIONAL";
3923
+ district2: string;
3924
+ cityOrTown?: string | undefined;
3925
+ addressLine1?: string | undefined;
3926
+ addressLine2?: string | undefined;
3927
+ addressLine3?: string | undefined;
3928
+ postcodeOrZip?: string | undefined;
3929
+ } | undefined;
3930
+ }, {
3931
+ type: "ADDRESS";
3932
+ id: string;
3933
+ label: {
3934
+ id: string;
3935
+ description: string;
3936
+ defaultMessage: string;
3937
+ };
3938
+ parent?: {
3939
+ $$field: string;
3940
+ } | undefined;
3941
+ validation?: {
3942
+ message: {
3943
+ id: string;
3944
+ description: string;
3945
+ defaultMessage: string;
3946
+ };
3947
+ validator: import(".").JSONSchema;
3948
+ }[] | undefined;
3949
+ required?: boolean | undefined;
3950
+ conditionals?: ({
3951
+ type: "SHOW";
3952
+ conditional: import(".").JSONSchema;
3953
+ } | {
3954
+ type: "ENABLE";
3955
+ conditional: import(".").JSONSchema;
3956
+ } | {
3957
+ type: "DISPLAY_ON_REVIEW";
3958
+ conditional: import(".").JSONSchema;
3959
+ })[] | undefined;
3960
+ secured?: boolean | undefined;
3961
+ placeholder?: {
3962
+ id: string;
3963
+ description: string;
3964
+ defaultMessage: string;
3965
+ } | undefined;
3966
+ helperText?: {
3967
+ id: string;
3968
+ description: string;
3969
+ defaultMessage: string;
3970
+ } | undefined;
3971
+ hideLabel?: boolean | undefined;
3972
+ defaultValue?: {
3973
+ country: string;
3974
+ district: string;
3975
+ addressType: "DOMESTIC";
3976
+ province: string;
3977
+ urbanOrRural: "URBAN";
3978
+ number?: string | undefined;
3979
+ town?: string | undefined;
3980
+ residentialArea?: string | undefined;
3981
+ street?: string | undefined;
3982
+ zipCode?: string | undefined;
3983
+ } | {
3984
+ country: string;
3985
+ district: string;
3986
+ addressType: "DOMESTIC";
3987
+ province: string;
3988
+ urbanOrRural: "RURAL";
3989
+ village?: string | undefined;
3990
+ } | {
3991
+ country: string;
3992
+ state: string;
3993
+ addressType: "INTERNATIONAL";
3994
+ district2: string;
3995
+ cityOrTown?: string | undefined;
3996
+ addressLine1?: string | undefined;
3997
+ addressLine2?: string | undefined;
3998
+ addressLine3?: string | undefined;
3999
+ postcodeOrZip?: string | undefined;
4000
+ } | undefined;
4001
+ }>;
4002
+ export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
4003
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4004
+ id: string;
4005
+ description: string;
4006
+ defaultMessage: string;
4007
+ }>;
4008
+ value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4009
+ id: string;
4010
+ description: string;
4011
+ defaultMessage: string;
4012
+ }>, z.ZodString]>;
4013
+ }, "strip", z.ZodTypeAny, {
4014
+ value: string | TranslationConfig;
4015
+ label: TranslationConfig;
4016
+ }, {
4017
+ value: string | {
4018
+ id: string;
4019
+ description: string;
4020
+ defaultMessage: string;
4021
+ };
4022
+ label: {
4023
+ id: string;
4024
+ description: string;
4025
+ defaultMessage: string;
4026
+ };
4027
+ }>, z.ZodObject<{
4028
+ fieldId: z.ZodString;
4029
+ }, "strip", z.ZodTypeAny, {
4030
+ fieldId: string;
4031
+ }, {
4032
+ fieldId: string;
4033
+ }>]>;
4034
+ export type DataEntry = z.infer<typeof DataEntry>;
4035
+ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
4036
+ id: z.ZodString;
4037
+ parent: z.ZodOptional<z.ZodObject<{
4038
+ $$field: z.ZodString;
4039
+ }, "strip", z.ZodTypeAny, {
4040
+ $$field: string;
4041
+ }, {
4042
+ $$field: string;
4043
+ }>>;
4044
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4045
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4046
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4047
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4048
+ id: string;
4049
+ description: string;
4050
+ defaultMessage: string;
4051
+ }>>;
4052
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4053
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4054
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4055
+ id: string;
4056
+ description: string;
4057
+ defaultMessage: string;
4058
+ }>;
4059
+ }, "strip", z.ZodTypeAny, {
4060
+ message: TranslationConfig;
4061
+ validator: import(".").JSONSchema;
4062
+ }, {
4063
+ message: {
4064
+ id: string;
4065
+ description: string;
4066
+ defaultMessage: string;
4067
+ };
4068
+ validator: import(".").JSONSchema;
4069
+ }>, "many">>>;
4070
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4071
+ id: string;
4072
+ description: string;
4073
+ defaultMessage: string;
4074
+ }>;
4075
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4076
+ id: string;
4077
+ description: string;
4078
+ defaultMessage: string;
4079
+ }>>;
4080
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4081
+ }, {
4082
+ type: z.ZodLiteral<"DATA">;
4083
+ configuration: z.ZodObject<{
4084
+ subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4085
+ id: string;
4086
+ description: string;
4087
+ defaultMessage: string;
4088
+ }>>;
4089
+ data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4090
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4091
+ id: string;
4092
+ description: string;
4093
+ defaultMessage: string;
4094
+ }>;
4095
+ value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4096
+ id: string;
4097
+ description: string;
4098
+ defaultMessage: string;
4099
+ }>, z.ZodString]>;
4100
+ }, "strip", z.ZodTypeAny, {
4101
+ value: string | TranslationConfig;
4102
+ label: TranslationConfig;
4103
+ }, {
4104
+ value: string | {
4105
+ id: string;
4106
+ description: string;
4107
+ defaultMessage: string;
4108
+ };
4109
+ label: {
4110
+ id: string;
4111
+ description: string;
4112
+ defaultMessage: string;
4113
+ };
4114
+ }>, z.ZodObject<{
4115
+ fieldId: z.ZodString;
4116
+ }, "strip", z.ZodTypeAny, {
4117
+ fieldId: string;
4118
+ }, {
4119
+ fieldId: string;
4120
+ }>]>, "many">;
4121
+ }, "strip", z.ZodTypeAny, {
4122
+ data: ({
4123
+ value: string | TranslationConfig;
4124
+ label: TranslationConfig;
4125
+ } | {
4126
+ fieldId: string;
4127
+ })[];
4128
+ subtitle?: TranslationConfig | undefined;
4129
+ }, {
4130
+ data: ({
4131
+ value: string | {
4132
+ id: string;
4133
+ description: string;
4134
+ defaultMessage: string;
4135
+ };
4136
+ label: {
4137
+ id: string;
4138
+ description: string;
4139
+ defaultMessage: string;
4140
+ };
4141
+ } | {
4142
+ fieldId: string;
4143
+ })[];
4144
+ subtitle?: {
4145
+ id: string;
4146
+ description: string;
4147
+ defaultMessage: string;
4148
+ } | undefined;
4149
+ }>;
4150
+ }>, "strip", z.ZodTypeAny, {
4151
+ type: "DATA";
4152
+ id: string;
4153
+ label: TranslationConfig;
4154
+ configuration: {
4155
+ data: ({
4156
+ value: string | TranslationConfig;
4157
+ label: TranslationConfig;
4158
+ } | {
4159
+ fieldId: string;
4160
+ })[];
4161
+ subtitle?: TranslationConfig | undefined;
4162
+ };
4163
+ parent?: {
4164
+ $$field: string;
4165
+ } | undefined;
4166
+ validation?: {
4167
+ message: TranslationConfig;
4168
+ validator: import(".").JSONSchema;
4169
+ }[] | undefined;
4170
+ required?: boolean | undefined;
4171
+ conditionals?: ({
4172
+ type: "SHOW";
4173
+ conditional: import(".").JSONSchema;
4174
+ } | {
4175
+ type: "ENABLE";
4176
+ conditional: import(".").JSONSchema;
4177
+ } | {
4178
+ type: "DISPLAY_ON_REVIEW";
4179
+ conditional: import(".").JSONSchema;
4180
+ })[] | undefined;
4181
+ secured?: boolean | undefined;
4182
+ placeholder?: TranslationConfig | undefined;
4183
+ helperText?: TranslationConfig | undefined;
4184
+ hideLabel?: boolean | undefined;
4185
+ }, {
4186
+ type: "DATA";
4187
+ id: string;
4188
+ label: {
4189
+ id: string;
4190
+ description: string;
4191
+ defaultMessage: string;
4192
+ };
4193
+ configuration: {
4194
+ data: ({
4195
+ value: string | {
4196
+ id: string;
4197
+ description: string;
4198
+ defaultMessage: string;
4199
+ };
4200
+ label: {
4201
+ id: string;
4202
+ description: string;
4203
+ defaultMessage: string;
4204
+ };
4205
+ } | {
4206
+ fieldId: string;
4207
+ })[];
4208
+ subtitle?: {
4209
+ id: string;
4210
+ description: string;
4211
+ defaultMessage: string;
4212
+ } | undefined;
4213
+ };
4214
+ parent?: {
4215
+ $$field: string;
4216
+ } | undefined;
4217
+ validation?: {
4218
+ message: {
4219
+ id: string;
4220
+ description: string;
4221
+ defaultMessage: string;
4222
+ };
4223
+ validator: import(".").JSONSchema;
4224
+ }[] | undefined;
4225
+ required?: boolean | undefined;
4226
+ conditionals?: ({
4227
+ type: "SHOW";
4228
+ conditional: import(".").JSONSchema;
4229
+ } | {
4230
+ type: "ENABLE";
4231
+ conditional: import(".").JSONSchema;
4232
+ } | {
4233
+ type: "DISPLAY_ON_REVIEW";
4234
+ conditional: import(".").JSONSchema;
4235
+ })[] | undefined;
4236
+ secured?: boolean | undefined;
4237
+ placeholder?: {
4238
+ id: string;
4239
+ description: string;
4240
+ defaultMessage: string;
4241
+ } | undefined;
4242
+ helperText?: {
4243
+ id: string;
4244
+ description: string;
4245
+ defaultMessage: string;
4246
+ } | undefined;
4247
+ hideLabel?: boolean | undefined;
4248
+ }>;
4249
+ export type DataField = z.infer<typeof DataField>;
4250
+ /** @knipignore */
4251
+ export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof DateRangeField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof NameField | typeof PhoneField | typeof IdField | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions | typeof DataField;
4252
+ /** @knipignore */
4253
+ 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 DateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | 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>;
4254
+ /** @knipignore */
4255
+ /**
4256
+ * This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
4257
+ */
4258
+ 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 DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | 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>;
4259
+ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4260
+ id: z.ZodString;
4261
+ parent: z.ZodOptional<z.ZodObject<{
4262
+ $$field: z.ZodString;
4263
+ }, "strip", z.ZodTypeAny, {
4264
+ $$field: string;
4265
+ }, {
4266
+ $$field: string;
4267
+ }>>;
4268
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4269
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4270
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4271
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4272
+ id: string;
4273
+ description: string;
4274
+ defaultMessage: string;
4275
+ }>>;
4276
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4277
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4278
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4279
+ id: string;
4280
+ description: string;
4281
+ defaultMessage: string;
4282
+ }>;
4283
+ }, "strip", z.ZodTypeAny, {
4284
+ message: TranslationConfig;
4285
+ validator: import(".").JSONSchema;
4286
+ }, {
4287
+ message: {
4288
+ id: string;
4289
+ description: string;
4290
+ defaultMessage: string;
4291
+ };
4292
+ validator: import(".").JSONSchema;
4293
+ }>, "many">>>;
4294
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4295
+ id: string;
4296
+ description: string;
4297
+ defaultMessage: string;
4298
+ }>;
4299
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4300
+ id: string;
4301
+ description: string;
4302
+ defaultMessage: string;
4303
+ }>>;
4304
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4305
+ }, {
4306
+ type: z.ZodLiteral<"ADDRESS">;
4307
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
4308
+ country: z.ZodString;
4309
+ addressType: z.ZodLiteral<"DOMESTIC">;
4310
+ province: z.ZodString;
4311
+ district: z.ZodString;
4312
+ }, {
4313
+ urbanOrRural: z.ZodLiteral<"URBAN">;
4314
+ town: z.ZodOptional<z.ZodString>;
4315
+ residentialArea: z.ZodOptional<z.ZodString>;
4316
+ street: z.ZodOptional<z.ZodString>;
4317
+ number: z.ZodOptional<z.ZodString>;
4318
+ zipCode: z.ZodOptional<z.ZodString>;
4319
+ }>, "strip", z.ZodTypeAny, {
4320
+ country: string;
4321
+ district: string;
4322
+ addressType: "DOMESTIC";
4323
+ province: string;
4324
+ urbanOrRural: "URBAN";
4325
+ number?: string | undefined;
4326
+ town?: string | undefined;
4327
+ residentialArea?: string | undefined;
4328
+ street?: string | undefined;
4329
+ zipCode?: string | undefined;
4330
+ }, {
4331
+ country: string;
4332
+ district: string;
4333
+ addressType: "DOMESTIC";
4334
+ province: string;
4335
+ urbanOrRural: "URBAN";
4336
+ number?: string | undefined;
4337
+ town?: string | undefined;
4338
+ residentialArea?: string | undefined;
4339
+ street?: string | undefined;
4340
+ zipCode?: string | undefined;
4341
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4342
+ country: z.ZodString;
4343
+ addressType: z.ZodLiteral<"DOMESTIC">;
4344
+ province: z.ZodString;
4345
+ district: z.ZodString;
4346
+ }, {
4347
+ urbanOrRural: z.ZodLiteral<"RURAL">;
4348
+ village: z.ZodOptional<z.ZodString>;
4349
+ }>, "strip", z.ZodTypeAny, {
4350
+ country: string;
4351
+ district: string;
4352
+ addressType: "DOMESTIC";
4353
+ province: string;
4354
+ urbanOrRural: "RURAL";
4355
+ village?: string | undefined;
4356
+ }, {
4357
+ country: string;
4358
+ district: string;
4359
+ addressType: "DOMESTIC";
4360
+ province: string;
4361
+ urbanOrRural: "RURAL";
4362
+ village?: string | undefined;
4363
+ }>]>, z.ZodObject<{
4364
+ country: z.ZodString;
4365
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
4366
+ state: z.ZodString;
4367
+ district2: z.ZodString;
4368
+ cityOrTown: z.ZodOptional<z.ZodString>;
4369
+ addressLine1: z.ZodOptional<z.ZodString>;
4370
+ addressLine2: z.ZodOptional<z.ZodString>;
4371
+ addressLine3: z.ZodOptional<z.ZodString>;
4372
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
4373
+ }, "strip", z.ZodTypeAny, {
4374
+ country: string;
4375
+ state: string;
4376
+ addressType: "INTERNATIONAL";
4377
+ district2: string;
4378
+ cityOrTown?: string | undefined;
4379
+ addressLine1?: string | undefined;
4380
+ addressLine2?: string | undefined;
4381
+ addressLine3?: string | undefined;
4382
+ postcodeOrZip?: string | undefined;
4383
+ }, {
4384
+ country: string;
4385
+ state: string;
4386
+ addressType: "INTERNATIONAL";
4387
+ district2: string;
4388
+ cityOrTown?: string | undefined;
4389
+ addressLine1?: string | undefined;
4390
+ addressLine2?: string | undefined;
4391
+ addressLine3?: string | undefined;
4392
+ postcodeOrZip?: string | undefined;
4393
+ }>]>>;
4394
+ }>, "strip", z.ZodTypeAny, {
4395
+ type: "ADDRESS";
4396
+ id: string;
4397
+ label: TranslationConfig;
4398
+ parent?: {
4399
+ $$field: string;
4400
+ } | undefined;
4401
+ validation?: {
4402
+ message: TranslationConfig;
4403
+ validator: import(".").JSONSchema;
4404
+ }[] | undefined;
4405
+ required?: boolean | undefined;
4406
+ conditionals?: ({
4407
+ type: "SHOW";
4408
+ conditional: import(".").JSONSchema;
4409
+ } | {
4410
+ type: "ENABLE";
4411
+ conditional: import(".").JSONSchema;
4412
+ } | {
4413
+ type: "DISPLAY_ON_REVIEW";
4414
+ conditional: import(".").JSONSchema;
4415
+ })[] | undefined;
4416
+ secured?: boolean | undefined;
4417
+ placeholder?: TranslationConfig | undefined;
4418
+ helperText?: TranslationConfig | undefined;
4419
+ hideLabel?: boolean | undefined;
4420
+ defaultValue?: {
4421
+ country: string;
4422
+ district: string;
4423
+ addressType: "DOMESTIC";
3456
4424
  province: string;
3457
4425
  urbanOrRural: "URBAN";
3458
4426
  number?: string | undefined;
@@ -3478,41 +4446,249 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3478
4446
  addressLine3?: string | undefined;
3479
4447
  postcodeOrZip?: string | undefined;
3480
4448
  } | undefined;
3481
- }>;
3482
- export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
4449
+ }, {
4450
+ type: "ADDRESS";
4451
+ id: string;
4452
+ label: {
4453
+ id: string;
4454
+ description: string;
4455
+ defaultMessage: string;
4456
+ };
4457
+ parent?: {
4458
+ $$field: string;
4459
+ } | undefined;
4460
+ validation?: {
4461
+ message: {
4462
+ id: string;
4463
+ description: string;
4464
+ defaultMessage: string;
4465
+ };
4466
+ validator: import(".").JSONSchema;
4467
+ }[] | undefined;
4468
+ required?: boolean | undefined;
4469
+ conditionals?: ({
4470
+ type: "SHOW";
4471
+ conditional: import(".").JSONSchema;
4472
+ } | {
4473
+ type: "ENABLE";
4474
+ conditional: import(".").JSONSchema;
4475
+ } | {
4476
+ type: "DISPLAY_ON_REVIEW";
4477
+ conditional: import(".").JSONSchema;
4478
+ })[] | undefined;
4479
+ secured?: boolean | undefined;
4480
+ placeholder?: {
4481
+ id: string;
4482
+ description: string;
4483
+ defaultMessage: string;
4484
+ } | undefined;
4485
+ helperText?: {
4486
+ id: string;
4487
+ description: string;
4488
+ defaultMessage: string;
4489
+ } | undefined;
4490
+ hideLabel?: boolean | undefined;
4491
+ defaultValue?: {
4492
+ country: string;
4493
+ district: string;
4494
+ addressType: "DOMESTIC";
4495
+ province: string;
4496
+ urbanOrRural: "URBAN";
4497
+ number?: string | undefined;
4498
+ town?: string | undefined;
4499
+ residentialArea?: string | undefined;
4500
+ street?: string | undefined;
4501
+ zipCode?: string | undefined;
4502
+ } | {
4503
+ country: string;
4504
+ district: string;
4505
+ addressType: "DOMESTIC";
4506
+ province: string;
4507
+ urbanOrRural: "RURAL";
4508
+ village?: string | undefined;
4509
+ } | {
4510
+ country: string;
4511
+ state: string;
4512
+ addressType: "INTERNATIONAL";
4513
+ district2: string;
4514
+ cityOrTown?: string | undefined;
4515
+ addressLine1?: string | undefined;
4516
+ addressLine2?: string | undefined;
4517
+ addressLine3?: string | undefined;
4518
+ postcodeOrZip?: string | undefined;
4519
+ } | undefined;
4520
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4521
+ id: z.ZodString;
4522
+ parent: z.ZodOptional<z.ZodObject<{
4523
+ $$field: z.ZodString;
4524
+ }, "strip", z.ZodTypeAny, {
4525
+ $$field: string;
4526
+ }, {
4527
+ $$field: string;
4528
+ }>>;
4529
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4530
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4531
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4532
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4533
+ id: string;
4534
+ description: string;
4535
+ defaultMessage: string;
4536
+ }>>;
4537
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4538
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4539
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4540
+ id: string;
4541
+ description: string;
4542
+ defaultMessage: string;
4543
+ }>;
4544
+ }, "strip", z.ZodTypeAny, {
4545
+ message: TranslationConfig;
4546
+ validator: import(".").JSONSchema;
4547
+ }, {
4548
+ message: {
4549
+ id: string;
4550
+ description: string;
4551
+ defaultMessage: string;
4552
+ };
4553
+ validator: import(".").JSONSchema;
4554
+ }>, "many">>>;
3483
4555
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3484
4556
  id: string;
3485
4557
  description: string;
3486
4558
  defaultMessage: string;
3487
4559
  }>;
3488
- value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4560
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3489
4561
  id: string;
3490
4562
  description: string;
3491
4563
  defaultMessage: string;
3492
- }>, z.ZodString]>;
3493
- }, "strip", z.ZodTypeAny, {
3494
- value: string | TranslationConfig;
4564
+ }>>;
4565
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4566
+ }, {
4567
+ type: z.ZodLiteral<"TEXT">;
4568
+ defaultValue: z.ZodOptional<z.ZodString>;
4569
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4570
+ maxLength: z.ZodOptional<z.ZodNumber>;
4571
+ type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
4572
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4573
+ id: string;
4574
+ description: string;
4575
+ defaultMessage: string;
4576
+ }>>;
4577
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4578
+ id: string;
4579
+ description: string;
4580
+ defaultMessage: string;
4581
+ }>>;
4582
+ }, "strip", z.ZodTypeAny, {
4583
+ type?: "text" | "password" | undefined;
4584
+ maxLength?: number | undefined;
4585
+ prefix?: TranslationConfig | undefined;
4586
+ postfix?: TranslationConfig | undefined;
4587
+ }, {
4588
+ type?: "text" | "password" | undefined;
4589
+ maxLength?: number | undefined;
4590
+ prefix?: {
4591
+ id: string;
4592
+ description: string;
4593
+ defaultMessage: string;
4594
+ } | undefined;
4595
+ postfix?: {
4596
+ id: string;
4597
+ description: string;
4598
+ defaultMessage: string;
4599
+ } | undefined;
4600
+ }>>>;
4601
+ }>, "strip", z.ZodTypeAny, {
4602
+ type: "TEXT";
4603
+ id: string;
3495
4604
  label: TranslationConfig;
4605
+ parent?: {
4606
+ $$field: string;
4607
+ } | undefined;
4608
+ validation?: {
4609
+ message: TranslationConfig;
4610
+ validator: import(".").JSONSchema;
4611
+ }[] | undefined;
4612
+ required?: boolean | undefined;
4613
+ conditionals?: ({
4614
+ type: "SHOW";
4615
+ conditional: import(".").JSONSchema;
4616
+ } | {
4617
+ type: "ENABLE";
4618
+ conditional: import(".").JSONSchema;
4619
+ } | {
4620
+ type: "DISPLAY_ON_REVIEW";
4621
+ conditional: import(".").JSONSchema;
4622
+ })[] | undefined;
4623
+ secured?: boolean | undefined;
4624
+ placeholder?: TranslationConfig | undefined;
4625
+ helperText?: TranslationConfig | undefined;
4626
+ hideLabel?: boolean | undefined;
4627
+ defaultValue?: string | undefined;
4628
+ configuration?: {
4629
+ type?: "text" | "password" | undefined;
4630
+ maxLength?: number | undefined;
4631
+ prefix?: TranslationConfig | undefined;
4632
+ postfix?: TranslationConfig | undefined;
4633
+ } | undefined;
3496
4634
  }, {
3497
- value: string | {
4635
+ type: "TEXT";
4636
+ id: string;
4637
+ label: {
3498
4638
  id: string;
3499
4639
  description: string;
3500
4640
  defaultMessage: string;
3501
4641
  };
3502
- label: {
4642
+ parent?: {
4643
+ $$field: string;
4644
+ } | undefined;
4645
+ validation?: {
4646
+ message: {
4647
+ id: string;
4648
+ description: string;
4649
+ defaultMessage: string;
4650
+ };
4651
+ validator: import(".").JSONSchema;
4652
+ }[] | undefined;
4653
+ required?: boolean | undefined;
4654
+ conditionals?: ({
4655
+ type: "SHOW";
4656
+ conditional: import(".").JSONSchema;
4657
+ } | {
4658
+ type: "ENABLE";
4659
+ conditional: import(".").JSONSchema;
4660
+ } | {
4661
+ type: "DISPLAY_ON_REVIEW";
4662
+ conditional: import(".").JSONSchema;
4663
+ })[] | undefined;
4664
+ secured?: boolean | undefined;
4665
+ placeholder?: {
3503
4666
  id: string;
3504
4667
  description: string;
3505
4668
  defaultMessage: string;
3506
- };
3507
- }>, z.ZodObject<{
3508
- fieldId: z.ZodString;
3509
- }, "strip", z.ZodTypeAny, {
3510
- fieldId: string;
3511
- }, {
3512
- fieldId: string;
3513
- }>]>;
3514
- export type DataEntry = z.infer<typeof DataEntry>;
3515
- declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
4669
+ } | undefined;
4670
+ helperText?: {
4671
+ id: string;
4672
+ description: string;
4673
+ defaultMessage: string;
4674
+ } | undefined;
4675
+ hideLabel?: boolean | undefined;
4676
+ defaultValue?: string | undefined;
4677
+ configuration?: {
4678
+ type?: "text" | "password" | undefined;
4679
+ maxLength?: number | undefined;
4680
+ prefix?: {
4681
+ id: string;
4682
+ description: string;
4683
+ defaultMessage: string;
4684
+ } | undefined;
4685
+ postfix?: {
4686
+ id: string;
4687
+ description: string;
4688
+ defaultMessage: string;
4689
+ } | undefined;
4690
+ } | undefined;
4691
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3516
4692
  id: z.ZodString;
3517
4693
  parent: z.ZodOptional<z.ZodObject<{
3518
4694
  $$field: z.ZodString;
@@ -3523,6 +4699,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3523
4699
  }>>;
3524
4700
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3525
4701
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4702
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3526
4703
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3527
4704
  id: string;
3528
4705
  description: string;
@@ -3558,87 +4735,44 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3558
4735
  }>>;
3559
4736
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3560
4737
  }, {
3561
- type: z.ZodLiteral<"DATA">;
3562
- configuration: z.ZodObject<{
3563
- subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4738
+ type: z.ZodLiteral<"NUMBER">;
4739
+ defaultValue: z.ZodOptional<z.ZodNumber>;
4740
+ configuration: z.ZodOptional<z.ZodObject<{
4741
+ min: z.ZodOptional<z.ZodNumber>;
4742
+ max: z.ZodOptional<z.ZodNumber>;
4743
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4744
+ id: string;
4745
+ description: string;
4746
+ defaultMessage: string;
4747
+ }>>;
4748
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3564
4749
  id: string;
3565
4750
  description: string;
3566
4751
  defaultMessage: string;
3567
4752
  }>>;
3568
- data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3569
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3570
- id: string;
3571
- description: string;
3572
- defaultMessage: string;
3573
- }>;
3574
- value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3575
- id: string;
3576
- description: string;
3577
- defaultMessage: string;
3578
- }>, z.ZodString]>;
3579
- }, "strip", z.ZodTypeAny, {
3580
- value: string | TranslationConfig;
3581
- label: TranslationConfig;
3582
- }, {
3583
- value: string | {
3584
- id: string;
3585
- description: string;
3586
- defaultMessage: string;
3587
- };
3588
- label: {
3589
- id: string;
3590
- description: string;
3591
- defaultMessage: string;
3592
- };
3593
- }>, z.ZodObject<{
3594
- fieldId: z.ZodString;
3595
- }, "strip", z.ZodTypeAny, {
3596
- fieldId: string;
3597
- }, {
3598
- fieldId: string;
3599
- }>]>, "many">;
3600
4753
  }, "strip", z.ZodTypeAny, {
3601
- data: ({
3602
- value: string | TranslationConfig;
3603
- label: TranslationConfig;
3604
- } | {
3605
- fieldId: string;
3606
- })[];
3607
- subtitle?: TranslationConfig | undefined;
4754
+ prefix?: TranslationConfig | undefined;
4755
+ postfix?: TranslationConfig | undefined;
4756
+ min?: number | undefined;
4757
+ max?: number | undefined;
3608
4758
  }, {
3609
- data: ({
3610
- value: string | {
3611
- id: string;
3612
- description: string;
3613
- defaultMessage: string;
3614
- };
3615
- label: {
3616
- id: string;
3617
- description: string;
3618
- defaultMessage: string;
3619
- };
3620
- } | {
3621
- fieldId: string;
3622
- })[];
3623
- subtitle?: {
4759
+ prefix?: {
3624
4760
  id: string;
3625
4761
  description: string;
3626
4762
  defaultMessage: string;
3627
4763
  } | undefined;
3628
- }>;
3629
- }>, "strip", z.ZodTypeAny, {
3630
- type: "DATA";
3631
- id: string;
3632
- label: TranslationConfig;
3633
- configuration: {
3634
- data: ({
3635
- value: string | TranslationConfig;
3636
- label: TranslationConfig;
3637
- } | {
3638
- fieldId: string;
3639
- })[];
3640
- subtitle?: TranslationConfig | undefined;
3641
- };
4764
+ postfix?: {
4765
+ id: string;
4766
+ description: string;
4767
+ defaultMessage: string;
4768
+ } | undefined;
4769
+ min?: number | undefined;
4770
+ max?: number | undefined;
4771
+ }>>;
4772
+ }>, "strip", z.ZodTypeAny, {
4773
+ type: "NUMBER";
4774
+ id: string;
4775
+ label: TranslationConfig;
3642
4776
  parent?: {
3643
4777
  $$field: string;
3644
4778
  } | undefined;
@@ -3657,38 +4791,25 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3657
4791
  type: "DISPLAY_ON_REVIEW";
3658
4792
  conditional: import(".").JSONSchema;
3659
4793
  })[] | undefined;
4794
+ secured?: boolean | undefined;
3660
4795
  placeholder?: TranslationConfig | undefined;
3661
4796
  helperText?: TranslationConfig | undefined;
3662
4797
  hideLabel?: boolean | undefined;
4798
+ defaultValue?: number | undefined;
4799
+ configuration?: {
4800
+ prefix?: TranslationConfig | undefined;
4801
+ postfix?: TranslationConfig | undefined;
4802
+ min?: number | undefined;
4803
+ max?: number | undefined;
4804
+ } | undefined;
3663
4805
  }, {
3664
- type: "DATA";
4806
+ type: "NUMBER";
3665
4807
  id: string;
3666
4808
  label: {
3667
4809
  id: string;
3668
4810
  description: string;
3669
4811
  defaultMessage: string;
3670
4812
  };
3671
- configuration: {
3672
- data: ({
3673
- value: string | {
3674
- id: string;
3675
- description: string;
3676
- defaultMessage: string;
3677
- };
3678
- label: {
3679
- id: string;
3680
- description: string;
3681
- defaultMessage: string;
3682
- };
3683
- } | {
3684
- fieldId: string;
3685
- })[];
3686
- subtitle?: {
3687
- id: string;
3688
- description: string;
3689
- defaultMessage: string;
3690
- } | undefined;
3691
- };
3692
4813
  parent?: {
3693
4814
  $$field: string;
3694
4815
  } | undefined;
@@ -3711,6 +4832,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3711
4832
  type: "DISPLAY_ON_REVIEW";
3712
4833
  conditional: import(".").JSONSchema;
3713
4834
  })[] | undefined;
4835
+ secured?: boolean | undefined;
3714
4836
  placeholder?: {
3715
4837
  id: string;
3716
4838
  description: string;
@@ -3722,18 +4844,22 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3722
4844
  defaultMessage: string;
3723
4845
  } | undefined;
3724
4846
  hideLabel?: boolean | undefined;
3725
- }>;
3726
- export type DataField = z.infer<typeof DataField>;
3727
- /** @knipignore */
3728
- export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof DateRangeField | 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;
3729
- /** @knipignore */
3730
- 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 DateRangeField> | 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>;
3731
- /** @knipignore */
3732
- /**
3733
- * This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
3734
- */
3735
- 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 DateRangeField> | 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>;
3736
- export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4847
+ defaultValue?: number | undefined;
4848
+ configuration?: {
4849
+ prefix?: {
4850
+ id: string;
4851
+ description: string;
4852
+ defaultMessage: string;
4853
+ } | undefined;
4854
+ postfix?: {
4855
+ id: string;
4856
+ description: string;
4857
+ defaultMessage: string;
4858
+ } | undefined;
4859
+ min?: number | undefined;
4860
+ max?: number | undefined;
4861
+ } | undefined;
4862
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3737
4863
  id: z.ZodString;
3738
4864
  parent: z.ZodOptional<z.ZodObject<{
3739
4865
  $$field: z.ZodString;
@@ -3744,6 +4870,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3744
4870
  }>>;
3745
4871
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3746
4872
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4873
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3747
4874
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3748
4875
  id: string;
3749
4876
  description: string;
@@ -3779,96 +4906,45 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3779
4906
  }>>;
3780
4907
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3781
4908
  }, {
3782
- type: z.ZodLiteral<"ADDRESS">;
3783
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3784
- country: z.ZodString;
3785
- addressType: z.ZodLiteral<"DOMESTIC">;
3786
- province: z.ZodString;
3787
- district: z.ZodString;
3788
- }, {
3789
- urbanOrRural: z.ZodLiteral<"URBAN">;
3790
- town: z.ZodOptional<z.ZodString>;
3791
- residentialArea: z.ZodOptional<z.ZodString>;
3792
- street: z.ZodOptional<z.ZodString>;
3793
- number: z.ZodOptional<z.ZodString>;
3794
- zipCode: z.ZodOptional<z.ZodString>;
3795
- }>, "strip", z.ZodTypeAny, {
3796
- country: string;
3797
- district: string;
3798
- addressType: "DOMESTIC";
3799
- province: string;
3800
- urbanOrRural: "URBAN";
3801
- number?: string | undefined;
3802
- town?: string | undefined;
3803
- residentialArea?: string | undefined;
3804
- street?: string | undefined;
3805
- zipCode?: string | undefined;
3806
- }, {
3807
- country: string;
3808
- district: string;
3809
- addressType: "DOMESTIC";
3810
- province: string;
3811
- urbanOrRural: "URBAN";
3812
- number?: string | undefined;
3813
- town?: string | undefined;
3814
- residentialArea?: string | undefined;
3815
- street?: string | undefined;
3816
- zipCode?: string | undefined;
3817
- }>, z.ZodObject<z.objectUtil.extendShape<{
3818
- country: z.ZodString;
3819
- addressType: z.ZodLiteral<"DOMESTIC">;
3820
- province: z.ZodString;
3821
- district: z.ZodString;
3822
- }, {
3823
- urbanOrRural: z.ZodLiteral<"RURAL">;
3824
- village: z.ZodOptional<z.ZodString>;
3825
- }>, "strip", z.ZodTypeAny, {
3826
- country: string;
3827
- district: string;
3828
- addressType: "DOMESTIC";
3829
- province: string;
3830
- urbanOrRural: "RURAL";
3831
- village?: string | undefined;
3832
- }, {
3833
- country: string;
3834
- district: string;
3835
- addressType: "DOMESTIC";
3836
- province: string;
3837
- urbanOrRural: "RURAL";
3838
- village?: string | undefined;
3839
- }>]>, z.ZodObject<{
3840
- country: z.ZodString;
3841
- addressType: z.ZodLiteral<"INTERNATIONAL">;
3842
- state: z.ZodString;
3843
- district2: z.ZodString;
3844
- cityOrTown: z.ZodOptional<z.ZodString>;
3845
- addressLine1: z.ZodOptional<z.ZodString>;
3846
- addressLine2: z.ZodOptional<z.ZodString>;
3847
- addressLine3: z.ZodOptional<z.ZodString>;
3848
- postcodeOrZip: z.ZodOptional<z.ZodString>;
4909
+ type: z.ZodLiteral<"TEXTAREA">;
4910
+ defaultValue: z.ZodOptional<z.ZodString>;
4911
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4912
+ maxLength: z.ZodOptional<z.ZodNumber>;
4913
+ rows: z.ZodOptional<z.ZodNumber>;
4914
+ cols: z.ZodOptional<z.ZodNumber>;
4915
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4916
+ id: string;
4917
+ description: string;
4918
+ defaultMessage: string;
4919
+ }>>;
4920
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4921
+ id: string;
4922
+ description: string;
4923
+ defaultMessage: string;
4924
+ }>>;
3849
4925
  }, "strip", z.ZodTypeAny, {
3850
- country: string;
3851
- state: string;
3852
- addressType: "INTERNATIONAL";
3853
- district2: string;
3854
- cityOrTown?: string | undefined;
3855
- addressLine1?: string | undefined;
3856
- addressLine2?: string | undefined;
3857
- addressLine3?: string | undefined;
3858
- postcodeOrZip?: string | undefined;
4926
+ maxLength?: number | undefined;
4927
+ prefix?: TranslationConfig | undefined;
4928
+ postfix?: TranslationConfig | undefined;
4929
+ rows?: number | undefined;
4930
+ cols?: number | undefined;
3859
4931
  }, {
3860
- country: string;
3861
- state: string;
3862
- addressType: "INTERNATIONAL";
3863
- district2: string;
3864
- cityOrTown?: string | undefined;
3865
- addressLine1?: string | undefined;
3866
- addressLine2?: string | undefined;
3867
- addressLine3?: string | undefined;
3868
- postcodeOrZip?: string | undefined;
3869
- }>]>>;
4932
+ maxLength?: number | undefined;
4933
+ prefix?: {
4934
+ id: string;
4935
+ description: string;
4936
+ defaultMessage: string;
4937
+ } | undefined;
4938
+ postfix?: {
4939
+ id: string;
4940
+ description: string;
4941
+ defaultMessage: string;
4942
+ } | undefined;
4943
+ rows?: number | undefined;
4944
+ cols?: number | undefined;
4945
+ }>>>;
3870
4946
  }>, "strip", z.ZodTypeAny, {
3871
- type: "ADDRESS";
4947
+ type: "TEXTAREA";
3872
4948
  id: string;
3873
4949
  label: TranslationConfig;
3874
4950
  parent?: {
@@ -3889,40 +4965,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3889
4965
  type: "DISPLAY_ON_REVIEW";
3890
4966
  conditional: import(".").JSONSchema;
3891
4967
  })[] | undefined;
4968
+ secured?: boolean | undefined;
3892
4969
  placeholder?: TranslationConfig | undefined;
3893
4970
  helperText?: TranslationConfig | undefined;
3894
4971
  hideLabel?: boolean | undefined;
3895
- defaultValue?: {
3896
- country: string;
3897
- district: string;
3898
- addressType: "DOMESTIC";
3899
- province: string;
3900
- urbanOrRural: "URBAN";
3901
- number?: string | undefined;
3902
- town?: string | undefined;
3903
- residentialArea?: string | undefined;
3904
- street?: string | undefined;
3905
- zipCode?: string | undefined;
3906
- } | {
3907
- country: string;
3908
- district: string;
3909
- addressType: "DOMESTIC";
3910
- province: string;
3911
- urbanOrRural: "RURAL";
3912
- village?: string | undefined;
3913
- } | {
3914
- country: string;
3915
- state: string;
3916
- addressType: "INTERNATIONAL";
3917
- district2: string;
3918
- cityOrTown?: string | undefined;
3919
- addressLine1?: string | undefined;
3920
- addressLine2?: string | undefined;
3921
- addressLine3?: string | undefined;
3922
- postcodeOrZip?: string | undefined;
4972
+ defaultValue?: string | undefined;
4973
+ configuration?: {
4974
+ maxLength?: number | undefined;
4975
+ prefix?: TranslationConfig | undefined;
4976
+ postfix?: TranslationConfig | undefined;
4977
+ rows?: number | undefined;
4978
+ cols?: number | undefined;
3923
4979
  } | undefined;
3924
4980
  }, {
3925
- type: "ADDRESS";
4981
+ type: "TEXTAREA";
3926
4982
  id: string;
3927
4983
  label: {
3928
4984
  id: string;
@@ -3948,48 +5004,36 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3948
5004
  type: "ENABLE";
3949
5005
  conditional: import(".").JSONSchema;
3950
5006
  } | {
3951
- type: "DISPLAY_ON_REVIEW";
3952
- conditional: import(".").JSONSchema;
3953
- })[] | undefined;
3954
- placeholder?: {
3955
- id: string;
3956
- description: string;
3957
- defaultMessage: string;
3958
- } | undefined;
3959
- helperText?: {
3960
- id: string;
3961
- description: string;
3962
- defaultMessage: string;
3963
- } | undefined;
3964
- hideLabel?: boolean | undefined;
3965
- defaultValue?: {
3966
- country: string;
3967
- district: string;
3968
- addressType: "DOMESTIC";
3969
- province: string;
3970
- urbanOrRural: "URBAN";
3971
- number?: string | undefined;
3972
- town?: string | undefined;
3973
- residentialArea?: string | undefined;
3974
- street?: string | undefined;
3975
- zipCode?: string | undefined;
3976
- } | {
3977
- country: string;
3978
- district: string;
3979
- addressType: "DOMESTIC";
3980
- province: string;
3981
- urbanOrRural: "RURAL";
3982
- village?: string | undefined;
3983
- } | {
3984
- country: string;
3985
- state: string;
3986
- addressType: "INTERNATIONAL";
3987
- district2: string;
3988
- cityOrTown?: string | undefined;
3989
- addressLine1?: string | undefined;
3990
- addressLine2?: string | undefined;
3991
- addressLine3?: string | undefined;
3992
- postcodeOrZip?: string | undefined;
5007
+ type: "DISPLAY_ON_REVIEW";
5008
+ conditional: import(".").JSONSchema;
5009
+ })[] | undefined;
5010
+ secured?: boolean | undefined;
5011
+ placeholder?: {
5012
+ id: string;
5013
+ description: string;
5014
+ defaultMessage: string;
5015
+ } | undefined;
5016
+ helperText?: {
5017
+ id: string;
5018
+ description: string;
5019
+ defaultMessage: string;
5020
+ } | undefined;
5021
+ hideLabel?: boolean | undefined;
5022
+ defaultValue?: string | undefined;
5023
+ configuration?: {
5024
+ maxLength?: number | undefined;
5025
+ prefix?: {
5026
+ id: string;
5027
+ description: string;
5028
+ defaultMessage: string;
5029
+ } | undefined;
5030
+ postfix?: {
5031
+ id: string;
5032
+ description: string;
5033
+ defaultMessage: string;
5034
+ } | undefined;
5035
+ rows?: number | undefined;
5036
+ cols?: number | undefined;
3993
5037
  } | undefined;
3994
5038
  }>, z.ZodObject<z.objectUtil.extendShape<{
3995
5039
  id: z.ZodString;
@@ -4002,6 +5046,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4002
5046
  }>>;
4003
5047
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4004
5048
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5049
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4005
5050
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4006
5051
  id: string;
4007
5052
  description: string;
@@ -4037,42 +5082,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4037
5082
  }>>;
4038
5083
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4039
5084
  }, {
4040
- type: z.ZodLiteral<"TEXT">;
5085
+ type: z.ZodLiteral<"DATE">;
4041
5086
  defaultValue: z.ZodOptional<z.ZodString>;
4042
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4043
- maxLength: z.ZodOptional<z.ZodNumber>;
4044
- type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
4045
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4046
- id: string;
4047
- description: string;
4048
- defaultMessage: string;
4049
- }>>;
4050
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5087
+ configuration: z.ZodOptional<z.ZodObject<{
5088
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4051
5089
  id: string;
4052
5090
  description: string;
4053
5091
  defaultMessage: string;
4054
5092
  }>>;
4055
5093
  }, "strip", z.ZodTypeAny, {
4056
- type?: "text" | "password" | undefined;
4057
- maxLength?: number | undefined;
4058
- prefix?: TranslationConfig | undefined;
4059
- postfix?: TranslationConfig | undefined;
5094
+ notice?: TranslationConfig | undefined;
4060
5095
  }, {
4061
- type?: "text" | "password" | undefined;
4062
- maxLength?: number | undefined;
4063
- prefix?: {
4064
- id: string;
4065
- description: string;
4066
- defaultMessage: string;
4067
- } | undefined;
4068
- postfix?: {
5096
+ notice?: {
4069
5097
  id: string;
4070
5098
  description: string;
4071
5099
  defaultMessage: string;
4072
5100
  } | undefined;
4073
- }>>>;
5101
+ }>>;
4074
5102
  }>, "strip", z.ZodTypeAny, {
4075
- type: "TEXT";
5103
+ type: "DATE";
4076
5104
  id: string;
4077
5105
  label: TranslationConfig;
4078
5106
  parent?: {
@@ -4093,18 +5121,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4093
5121
  type: "DISPLAY_ON_REVIEW";
4094
5122
  conditional: import(".").JSONSchema;
4095
5123
  })[] | undefined;
5124
+ secured?: boolean | undefined;
4096
5125
  placeholder?: TranslationConfig | undefined;
4097
5126
  helperText?: TranslationConfig | undefined;
4098
5127
  hideLabel?: boolean | undefined;
4099
5128
  defaultValue?: string | undefined;
4100
5129
  configuration?: {
4101
- type?: "text" | "password" | undefined;
4102
- maxLength?: number | undefined;
4103
- prefix?: TranslationConfig | undefined;
4104
- postfix?: TranslationConfig | undefined;
5130
+ notice?: TranslationConfig | undefined;
4105
5131
  } | undefined;
4106
5132
  }, {
4107
- type: "TEXT";
5133
+ type: "DATE";
4108
5134
  id: string;
4109
5135
  label: {
4110
5136
  id: string;
@@ -4133,6 +5159,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4133
5159
  type: "DISPLAY_ON_REVIEW";
4134
5160
  conditional: import(".").JSONSchema;
4135
5161
  })[] | undefined;
5162
+ secured?: boolean | undefined;
4136
5163
  placeholder?: {
4137
5164
  id: string;
4138
5165
  description: string;
@@ -4146,14 +5173,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4146
5173
  hideLabel?: boolean | undefined;
4147
5174
  defaultValue?: string | undefined;
4148
5175
  configuration?: {
4149
- type?: "text" | "password" | undefined;
4150
- maxLength?: number | undefined;
4151
- prefix?: {
4152
- id: string;
4153
- description: string;
4154
- defaultMessage: string;
4155
- } | undefined;
4156
- postfix?: {
5176
+ notice?: {
4157
5177
  id: string;
4158
5178
  description: string;
4159
5179
  defaultMessage: string;
@@ -4170,6 +5190,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4170
5190
  }>>;
4171
5191
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4172
5192
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5193
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4173
5194
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4174
5195
  id: string;
4175
5196
  description: string;
@@ -4205,42 +5226,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4205
5226
  }>>;
4206
5227
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4207
5228
  }, {
4208
- type: z.ZodLiteral<"NUMBER">;
4209
- defaultValue: z.ZodOptional<z.ZodNumber>;
5229
+ type: z.ZodLiteral<"DATE_RANGE">;
5230
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
4210
5231
  configuration: z.ZodOptional<z.ZodObject<{
4211
- min: z.ZodOptional<z.ZodNumber>;
4212
- max: z.ZodOptional<z.ZodNumber>;
4213
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4214
- id: string;
4215
- description: string;
4216
- defaultMessage: string;
4217
- }>>;
4218
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5232
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4219
5233
  id: string;
4220
5234
  description: string;
4221
5235
  defaultMessage: string;
4222
5236
  }>>;
4223
5237
  }, "strip", z.ZodTypeAny, {
4224
- prefix?: TranslationConfig | undefined;
4225
- postfix?: TranslationConfig | undefined;
4226
- min?: number | undefined;
4227
- max?: number | undefined;
5238
+ notice?: TranslationConfig | undefined;
4228
5239
  }, {
4229
- prefix?: {
4230
- id: string;
4231
- description: string;
4232
- defaultMessage: string;
4233
- } | undefined;
4234
- postfix?: {
5240
+ notice?: {
4235
5241
  id: string;
4236
5242
  description: string;
4237
5243
  defaultMessage: string;
4238
5244
  } | undefined;
4239
- min?: number | undefined;
4240
- max?: number | undefined;
4241
5245
  }>>;
4242
5246
  }>, "strip", z.ZodTypeAny, {
4243
- type: "NUMBER";
5247
+ type: "DATE_RANGE";
4244
5248
  id: string;
4245
5249
  label: TranslationConfig;
4246
5250
  parent?: {
@@ -4261,18 +5265,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4261
5265
  type: "DISPLAY_ON_REVIEW";
4262
5266
  conditional: import(".").JSONSchema;
4263
5267
  })[] | undefined;
5268
+ secured?: boolean | undefined;
4264
5269
  placeholder?: TranslationConfig | undefined;
4265
5270
  helperText?: TranslationConfig | undefined;
4266
5271
  hideLabel?: boolean | undefined;
4267
- defaultValue?: number | undefined;
5272
+ defaultValue?: string | [string, string] | undefined;
4268
5273
  configuration?: {
4269
- prefix?: TranslationConfig | undefined;
4270
- postfix?: TranslationConfig | undefined;
4271
- min?: number | undefined;
4272
- max?: number | undefined;
5274
+ notice?: TranslationConfig | undefined;
4273
5275
  } | undefined;
4274
5276
  }, {
4275
- type: "NUMBER";
5277
+ type: "DATE_RANGE";
4276
5278
  id: string;
4277
5279
  label: {
4278
5280
  id: string;
@@ -4301,6 +5303,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4301
5303
  type: "DISPLAY_ON_REVIEW";
4302
5304
  conditional: import(".").JSONSchema;
4303
5305
  })[] | undefined;
5306
+ secured?: boolean | undefined;
4304
5307
  placeholder?: {
4305
5308
  id: string;
4306
5309
  description: string;
@@ -4312,20 +5315,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4312
5315
  defaultMessage: string;
4313
5316
  } | undefined;
4314
5317
  hideLabel?: boolean | undefined;
4315
- defaultValue?: number | undefined;
5318
+ defaultValue?: string | [string, string] | undefined;
4316
5319
  configuration?: {
4317
- prefix?: {
4318
- id: string;
4319
- description: string;
4320
- defaultMessage: string;
4321
- } | undefined;
4322
- postfix?: {
5320
+ notice?: {
4323
5321
  id: string;
4324
5322
  description: string;
4325
5323
  defaultMessage: string;
4326
5324
  } | undefined;
4327
- min?: number | undefined;
4328
- max?: number | undefined;
4329
5325
  } | undefined;
4330
5326
  }>, z.ZodObject<z.objectUtil.extendShape<{
4331
5327
  id: z.ZodString;
@@ -4338,6 +5334,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4338
5334
  }>>;
4339
5335
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4340
5336
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5337
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4341
5338
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4342
5339
  id: string;
4343
5340
  description: string;
@@ -4373,47 +5370,34 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4373
5370
  }>>;
4374
5371
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4375
5372
  }, {
4376
- type: z.ZodLiteral<"TEXTAREA">;
5373
+ type: z.ZodLiteral<"PARAGRAPH">;
4377
5374
  defaultValue: z.ZodOptional<z.ZodString>;
4378
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4379
- maxLength: z.ZodOptional<z.ZodNumber>;
4380
- rows: z.ZodOptional<z.ZodNumber>;
4381
- cols: z.ZodOptional<z.ZodNumber>;
4382
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4383
- id: string;
4384
- description: string;
4385
- defaultMessage: string;
4386
- }>>;
4387
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4388
- id: string;
4389
- description: string;
4390
- defaultMessage: string;
5375
+ configuration: z.ZodDefault<z.ZodObject<{
5376
+ styles: z.ZodOptional<z.ZodObject<{
5377
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
5378
+ }, "strip", z.ZodTypeAny, {
5379
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5380
+ }, {
5381
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4391
5382
  }>>;
4392
5383
  }, "strip", z.ZodTypeAny, {
4393
- maxLength?: number | undefined;
4394
- prefix?: TranslationConfig | undefined;
4395
- postfix?: TranslationConfig | undefined;
4396
- rows?: number | undefined;
4397
- cols?: number | undefined;
4398
- }, {
4399
- maxLength?: number | undefined;
4400
- prefix?: {
4401
- id: string;
4402
- description: string;
4403
- defaultMessage: string;
5384
+ styles?: {
5385
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4404
5386
  } | undefined;
4405
- postfix?: {
4406
- id: string;
4407
- description: string;
4408
- defaultMessage: string;
5387
+ }, {
5388
+ styles?: {
5389
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4409
5390
  } | undefined;
4410
- rows?: number | undefined;
4411
- cols?: number | undefined;
4412
- }>>>;
5391
+ }>>;
4413
5392
  }>, "strip", z.ZodTypeAny, {
4414
- type: "TEXTAREA";
5393
+ type: "PARAGRAPH";
4415
5394
  id: string;
4416
5395
  label: TranslationConfig;
5396
+ configuration: {
5397
+ styles?: {
5398
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5399
+ } | undefined;
5400
+ };
4417
5401
  parent?: {
4418
5402
  $$field: string;
4419
5403
  } | undefined;
@@ -4432,19 +5416,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4432
5416
  type: "DISPLAY_ON_REVIEW";
4433
5417
  conditional: import(".").JSONSchema;
4434
5418
  })[] | undefined;
5419
+ secured?: boolean | undefined;
4435
5420
  placeholder?: TranslationConfig | undefined;
4436
5421
  helperText?: TranslationConfig | undefined;
4437
5422
  hideLabel?: boolean | undefined;
4438
5423
  defaultValue?: string | undefined;
4439
- configuration?: {
4440
- maxLength?: number | undefined;
4441
- prefix?: TranslationConfig | undefined;
4442
- postfix?: TranslationConfig | undefined;
4443
- rows?: number | undefined;
4444
- cols?: number | undefined;
4445
- } | undefined;
4446
5424
  }, {
4447
- type: "TEXTAREA";
5425
+ type: "PARAGRAPH";
4448
5426
  id: string;
4449
5427
  label: {
4450
5428
  id: string;
@@ -4473,6 +5451,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4473
5451
  type: "DISPLAY_ON_REVIEW";
4474
5452
  conditional: import(".").JSONSchema;
4475
5453
  })[] | undefined;
5454
+ secured?: boolean | undefined;
4476
5455
  placeholder?: {
4477
5456
  id: string;
4478
5457
  description: string;
@@ -4486,19 +5465,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4486
5465
  hideLabel?: boolean | undefined;
4487
5466
  defaultValue?: string | undefined;
4488
5467
  configuration?: {
4489
- maxLength?: number | undefined;
4490
- prefix?: {
4491
- id: string;
4492
- description: string;
4493
- defaultMessage: string;
4494
- } | undefined;
4495
- postfix?: {
4496
- id: string;
4497
- description: string;
4498
- defaultMessage: string;
5468
+ styles?: {
5469
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4499
5470
  } | undefined;
4500
- rows?: number | undefined;
4501
- cols?: number | undefined;
4502
5471
  } | undefined;
4503
5472
  }>, z.ZodObject<z.objectUtil.extendShape<{
4504
5473
  id: z.ZodString;
@@ -4511,6 +5480,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4511
5480
  }>>;
4512
5481
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4513
5482
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5483
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4514
5484
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4515
5485
  id: string;
4516
5486
  description: string;
@@ -4546,26 +5516,50 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4546
5516
  }>>;
4547
5517
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4548
5518
  }, {
4549
- type: z.ZodLiteral<"DATE">;
5519
+ type: z.ZodLiteral<"RADIO_GROUP">;
4550
5520
  defaultValue: z.ZodOptional<z.ZodString>;
4551
- configuration: z.ZodOptional<z.ZodObject<{
4552
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5521
+ options: z.ZodArray<z.ZodObject<{
5522
+ value: z.ZodString;
5523
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4553
5524
  id: string;
4554
5525
  description: string;
4555
5526
  defaultMessage: string;
4556
- }>>;
5527
+ }>;
4557
5528
  }, "strip", z.ZodTypeAny, {
4558
- notice?: TranslationConfig | undefined;
5529
+ value: string;
5530
+ label: TranslationConfig;
4559
5531
  }, {
4560
- notice?: {
5532
+ value: string;
5533
+ label: {
4561
5534
  id: string;
4562
5535
  description: string;
4563
5536
  defaultMessage: string;
5537
+ };
5538
+ }>, "many">;
5539
+ configuration: z.ZodOptional<z.ZodObject<{
5540
+ styles: z.ZodOptional<z.ZodObject<{
5541
+ size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
5542
+ }, "strip", z.ZodTypeAny, {
5543
+ size?: "NORMAL" | "LARGE" | undefined;
5544
+ }, {
5545
+ size?: "NORMAL" | "LARGE" | undefined;
5546
+ }>>;
5547
+ }, "strip", z.ZodTypeAny, {
5548
+ styles?: {
5549
+ size?: "NORMAL" | "LARGE" | undefined;
5550
+ } | undefined;
5551
+ }, {
5552
+ styles?: {
5553
+ size?: "NORMAL" | "LARGE" | undefined;
4564
5554
  } | undefined;
4565
5555
  }>>;
4566
5556
  }>, "strip", z.ZodTypeAny, {
4567
- type: "DATE";
5557
+ type: "RADIO_GROUP";
4568
5558
  id: string;
5559
+ options: {
5560
+ value: string;
5561
+ label: TranslationConfig;
5562
+ }[];
4569
5563
  label: TranslationConfig;
4570
5564
  parent?: {
4571
5565
  $$field: string;
@@ -4585,16 +5579,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4585
5579
  type: "DISPLAY_ON_REVIEW";
4586
5580
  conditional: import(".").JSONSchema;
4587
5581
  })[] | undefined;
5582
+ secured?: boolean | undefined;
4588
5583
  placeholder?: TranslationConfig | undefined;
4589
5584
  helperText?: TranslationConfig | undefined;
4590
5585
  hideLabel?: boolean | undefined;
4591
5586
  defaultValue?: string | undefined;
4592
5587
  configuration?: {
4593
- notice?: TranslationConfig | undefined;
5588
+ styles?: {
5589
+ size?: "NORMAL" | "LARGE" | undefined;
5590
+ } | undefined;
4594
5591
  } | undefined;
4595
5592
  }, {
4596
- type: "DATE";
5593
+ type: "RADIO_GROUP";
4597
5594
  id: string;
5595
+ options: {
5596
+ value: string;
5597
+ label: {
5598
+ id: string;
5599
+ description: string;
5600
+ defaultMessage: string;
5601
+ };
5602
+ }[];
4598
5603
  label: {
4599
5604
  id: string;
4600
5605
  description: string;
@@ -4622,6 +5627,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4622
5627
  type: "DISPLAY_ON_REVIEW";
4623
5628
  conditional: import(".").JSONSchema;
4624
5629
  })[] | undefined;
5630
+ secured?: boolean | undefined;
4625
5631
  placeholder?: {
4626
5632
  id: string;
4627
5633
  description: string;
@@ -4635,10 +5641,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4635
5641
  hideLabel?: boolean | undefined;
4636
5642
  defaultValue?: string | undefined;
4637
5643
  configuration?: {
4638
- notice?: {
4639
- id: string;
4640
- description: string;
4641
- defaultMessage: string;
5644
+ styles?: {
5645
+ size?: "NORMAL" | "LARGE" | undefined;
4642
5646
  } | undefined;
4643
5647
  } | undefined;
4644
5648
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4652,6 +5656,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4652
5656
  }>>;
4653
5657
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4654
5658
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5659
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4655
5660
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4656
5661
  id: string;
4657
5662
  description: string;
@@ -4687,27 +5692,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4687
5692
  }>>;
4688
5693
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4689
5694
  }, {
4690
- type: z.ZodLiteral<"DATE_RANGE">;
4691
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
4692
- configuration: z.ZodOptional<z.ZodObject<{
4693
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4694
- id: string;
4695
- description: string;
4696
- defaultMessage: string;
5695
+ type: z.ZodLiteral<"BULLET_LIST">;
5696
+ defaultValue: z.ZodOptional<z.ZodString>;
5697
+ items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5698
+ id: string;
5699
+ description: string;
5700
+ defaultMessage: string;
5701
+ }>, "many">;
5702
+ configuration: z.ZodDefault<z.ZodObject<{
5703
+ styles: z.ZodOptional<z.ZodObject<{
5704
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
5705
+ }, "strip", z.ZodTypeAny, {
5706
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5707
+ }, {
5708
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4697
5709
  }>>;
4698
5710
  }, "strip", z.ZodTypeAny, {
4699
- notice?: TranslationConfig | undefined;
5711
+ styles?: {
5712
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5713
+ } | undefined;
4700
5714
  }, {
4701
- notice?: {
4702
- id: string;
4703
- description: string;
4704
- defaultMessage: string;
5715
+ styles?: {
5716
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4705
5717
  } | undefined;
4706
5718
  }>>;
4707
5719
  }>, "strip", z.ZodTypeAny, {
4708
- type: "DATE_RANGE";
5720
+ type: "BULLET_LIST";
4709
5721
  id: string;
4710
5722
  label: TranslationConfig;
5723
+ configuration: {
5724
+ styles?: {
5725
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5726
+ } | undefined;
5727
+ };
5728
+ items: TranslationConfig[];
4711
5729
  parent?: {
4712
5730
  $$field: string;
4713
5731
  } | undefined;
@@ -4726,21 +5744,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4726
5744
  type: "DISPLAY_ON_REVIEW";
4727
5745
  conditional: import(".").JSONSchema;
4728
5746
  })[] | undefined;
5747
+ secured?: boolean | undefined;
4729
5748
  placeholder?: TranslationConfig | undefined;
4730
5749
  helperText?: TranslationConfig | undefined;
4731
5750
  hideLabel?: boolean | undefined;
4732
- defaultValue?: string | [string, string] | undefined;
4733
- configuration?: {
4734
- notice?: TranslationConfig | undefined;
4735
- } | undefined;
5751
+ defaultValue?: string | undefined;
4736
5752
  }, {
4737
- type: "DATE_RANGE";
5753
+ type: "BULLET_LIST";
4738
5754
  id: string;
4739
5755
  label: {
4740
5756
  id: string;
4741
5757
  description: string;
4742
5758
  defaultMessage: string;
4743
5759
  };
5760
+ items: {
5761
+ id: string;
5762
+ description: string;
5763
+ defaultMessage: string;
5764
+ }[];
4744
5765
  parent?: {
4745
5766
  $$field: string;
4746
5767
  } | undefined;
@@ -4763,6 +5784,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4763
5784
  type: "DISPLAY_ON_REVIEW";
4764
5785
  conditional: import(".").JSONSchema;
4765
5786
  })[] | undefined;
5787
+ secured?: boolean | undefined;
4766
5788
  placeholder?: {
4767
5789
  id: string;
4768
5790
  description: string;
@@ -4774,12 +5796,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4774
5796
  defaultMessage: string;
4775
5797
  } | undefined;
4776
5798
  hideLabel?: boolean | undefined;
4777
- defaultValue?: string | [string, string] | undefined;
5799
+ defaultValue?: string | undefined;
4778
5800
  configuration?: {
4779
- notice?: {
4780
- id: string;
4781
- description: string;
4782
- defaultMessage: string;
5801
+ styles?: {
5802
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4783
5803
  } | undefined;
4784
5804
  } | undefined;
4785
5805
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4793,6 +5813,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4793
5813
  }>>;
4794
5814
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4795
5815
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5816
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4796
5817
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4797
5818
  id: string;
4798
5819
  description: string;
@@ -4828,34 +5849,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4828
5849
  }>>;
4829
5850
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4830
5851
  }, {
4831
- type: z.ZodLiteral<"PARAGRAPH">;
5852
+ type: z.ZodLiteral<"PAGE_HEADER">;
4832
5853
  defaultValue: z.ZodOptional<z.ZodString>;
4833
- configuration: z.ZodDefault<z.ZodObject<{
4834
- styles: z.ZodOptional<z.ZodObject<{
4835
- fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
4836
- }, "strip", z.ZodTypeAny, {
4837
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4838
- }, {
4839
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4840
- }>>;
4841
- }, "strip", z.ZodTypeAny, {
4842
- styles?: {
4843
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4844
- } | undefined;
4845
- }, {
4846
- styles?: {
4847
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4848
- } | undefined;
4849
- }>>;
4850
5854
  }>, "strip", z.ZodTypeAny, {
4851
- type: "PARAGRAPH";
5855
+ type: "PAGE_HEADER";
4852
5856
  id: string;
4853
5857
  label: TranslationConfig;
4854
- configuration: {
4855
- styles?: {
4856
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4857
- } | undefined;
4858
- };
4859
5858
  parent?: {
4860
5859
  $$field: string;
4861
5860
  } | undefined;
@@ -4874,12 +5873,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4874
5873
  type: "DISPLAY_ON_REVIEW";
4875
5874
  conditional: import(".").JSONSchema;
4876
5875
  })[] | undefined;
5876
+ secured?: boolean | undefined;
4877
5877
  placeholder?: TranslationConfig | undefined;
4878
5878
  helperText?: TranslationConfig | undefined;
4879
5879
  hideLabel?: boolean | undefined;
4880
5880
  defaultValue?: string | undefined;
4881
5881
  }, {
4882
- type: "PARAGRAPH";
5882
+ type: "PAGE_HEADER";
4883
5883
  id: string;
4884
5884
  label: {
4885
5885
  id: string;
@@ -4908,6 +5908,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4908
5908
  type: "DISPLAY_ON_REVIEW";
4909
5909
  conditional: import(".").JSONSchema;
4910
5910
  })[] | undefined;
5911
+ secured?: boolean | undefined;
4911
5912
  placeholder?: {
4912
5913
  id: string;
4913
5914
  description: string;
@@ -4920,11 +5921,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4920
5921
  } | undefined;
4921
5922
  hideLabel?: boolean | undefined;
4922
5923
  defaultValue?: string | undefined;
4923
- configuration?: {
4924
- styles?: {
4925
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4926
- } | undefined;
4927
- } | undefined;
4928
5924
  }>, z.ZodObject<z.objectUtil.extendShape<{
4929
5925
  id: z.ZodString;
4930
5926
  parent: z.ZodOptional<z.ZodObject<{
@@ -4936,6 +5932,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4936
5932
  }>>;
4937
5933
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4938
5934
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5935
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4939
5936
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4940
5937
  id: string;
4941
5938
  description: string;
@@ -4971,7 +5968,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4971
5968
  }>>;
4972
5969
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4973
5970
  }, {
4974
- type: z.ZodLiteral<"RADIO_GROUP">;
5971
+ type: z.ZodLiteral<"SELECT">;
4975
5972
  defaultValue: z.ZodOptional<z.ZodString>;
4976
5973
  options: z.ZodArray<z.ZodObject<{
4977
5974
  value: z.ZodString;
@@ -4991,25 +5988,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4991
5988
  defaultMessage: string;
4992
5989
  };
4993
5990
  }>, "many">;
4994
- configuration: z.ZodOptional<z.ZodObject<{
4995
- styles: z.ZodOptional<z.ZodObject<{
4996
- size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
4997
- }, "strip", z.ZodTypeAny, {
4998
- size?: "NORMAL" | "LARGE" | undefined;
4999
- }, {
5000
- size?: "NORMAL" | "LARGE" | undefined;
5001
- }>>;
5002
- }, "strip", z.ZodTypeAny, {
5003
- styles?: {
5004
- size?: "NORMAL" | "LARGE" | undefined;
5005
- } | undefined;
5006
- }, {
5007
- styles?: {
5008
- size?: "NORMAL" | "LARGE" | undefined;
5009
- } | undefined;
5010
- }>>;
5011
5991
  }>, "strip", z.ZodTypeAny, {
5012
- type: "RADIO_GROUP";
5992
+ type: "SELECT";
5013
5993
  id: string;
5014
5994
  options: {
5015
5995
  value: string;
@@ -5034,17 +6014,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5034
6014
  type: "DISPLAY_ON_REVIEW";
5035
6015
  conditional: import(".").JSONSchema;
5036
6016
  })[] | undefined;
6017
+ secured?: boolean | undefined;
5037
6018
  placeholder?: TranslationConfig | undefined;
5038
6019
  helperText?: TranslationConfig | undefined;
5039
6020
  hideLabel?: boolean | undefined;
5040
6021
  defaultValue?: string | undefined;
5041
- configuration?: {
5042
- styles?: {
5043
- size?: "NORMAL" | "LARGE" | undefined;
5044
- } | undefined;
5045
- } | undefined;
5046
6022
  }, {
5047
- type: "RADIO_GROUP";
6023
+ type: "SELECT";
5048
6024
  id: string;
5049
6025
  options: {
5050
6026
  value: string;
@@ -5081,6 +6057,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5081
6057
  type: "DISPLAY_ON_REVIEW";
5082
6058
  conditional: import(".").JSONSchema;
5083
6059
  })[] | undefined;
6060
+ secured?: boolean | undefined;
5084
6061
  placeholder?: {
5085
6062
  id: string;
5086
6063
  description: string;
@@ -5093,11 +6070,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5093
6070
  } | undefined;
5094
6071
  hideLabel?: boolean | undefined;
5095
6072
  defaultValue?: string | undefined;
5096
- configuration?: {
5097
- styles?: {
5098
- size?: "NORMAL" | "LARGE" | undefined;
5099
- } | undefined;
5100
- } | undefined;
5101
6073
  }>, z.ZodObject<z.objectUtil.extendShape<{
5102
6074
  id: z.ZodString;
5103
6075
  parent: z.ZodOptional<z.ZodObject<{
@@ -5109,6 +6081,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5109
6081
  }>>;
5110
6082
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5111
6083
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6084
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5112
6085
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5113
6086
  id: string;
5114
6087
  description: string;
@@ -5144,40 +6117,56 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5144
6117
  }>>;
5145
6118
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5146
6119
  }, {
5147
- type: z.ZodLiteral<"BULLET_LIST">;
5148
- defaultValue: z.ZodOptional<z.ZodString>;
5149
- items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5150
- id: string;
5151
- description: string;
5152
- defaultMessage: string;
5153
- }>, "many">;
5154
- configuration: z.ZodDefault<z.ZodObject<{
5155
- styles: z.ZodOptional<z.ZodObject<{
5156
- fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
5157
- }, "strip", z.ZodTypeAny, {
5158
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5159
- }, {
5160
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6120
+ type: z.ZodLiteral<"NAME">;
6121
+ defaultValue: z.ZodOptional<z.ZodObject<{
6122
+ firstname: z.ZodString;
6123
+ surname: z.ZodString;
6124
+ }, "strip", z.ZodTypeAny, {
6125
+ firstname: string;
6126
+ surname: string;
6127
+ }, {
6128
+ firstname: string;
6129
+ surname: string;
6130
+ }>>;
6131
+ configuration: z.ZodOptional<z.ZodObject<{
6132
+ maxLength: z.ZodOptional<z.ZodNumber>;
6133
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6134
+ id: string;
6135
+ description: string;
6136
+ defaultMessage: string;
6137
+ }>>;
6138
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6139
+ id: string;
6140
+ description: string;
6141
+ defaultMessage: string;
5161
6142
  }>>;
6143
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6144
+ searchMode: z.ZodOptional<z.ZodBoolean>;
5162
6145
  }, "strip", z.ZodTypeAny, {
5163
- styles?: {
5164
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5165
- } | undefined;
6146
+ maxLength?: number | undefined;
6147
+ prefix?: TranslationConfig | undefined;
6148
+ postfix?: TranslationConfig | undefined;
6149
+ includeMiddlename?: boolean | undefined;
6150
+ searchMode?: boolean | undefined;
5166
6151
  }, {
5167
- styles?: {
5168
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6152
+ maxLength?: number | undefined;
6153
+ prefix?: {
6154
+ id: string;
6155
+ description: string;
6156
+ defaultMessage: string;
6157
+ } | undefined;
6158
+ postfix?: {
6159
+ id: string;
6160
+ description: string;
6161
+ defaultMessage: string;
5169
6162
  } | undefined;
6163
+ includeMiddlename?: boolean | undefined;
6164
+ searchMode?: boolean | undefined;
5170
6165
  }>>;
5171
6166
  }>, "strip", z.ZodTypeAny, {
5172
- type: "BULLET_LIST";
6167
+ type: "NAME";
5173
6168
  id: string;
5174
6169
  label: TranslationConfig;
5175
- configuration: {
5176
- styles?: {
5177
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5178
- } | undefined;
5179
- };
5180
- items: TranslationConfig[];
5181
6170
  parent?: {
5182
6171
  $$field: string;
5183
6172
  } | undefined;
@@ -5196,23 +6185,29 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5196
6185
  type: "DISPLAY_ON_REVIEW";
5197
6186
  conditional: import(".").JSONSchema;
5198
6187
  })[] | undefined;
6188
+ secured?: boolean | undefined;
5199
6189
  placeholder?: TranslationConfig | undefined;
5200
6190
  helperText?: TranslationConfig | undefined;
5201
6191
  hideLabel?: boolean | undefined;
5202
- defaultValue?: string | undefined;
6192
+ defaultValue?: {
6193
+ firstname: string;
6194
+ surname: string;
6195
+ } | undefined;
6196
+ configuration?: {
6197
+ maxLength?: number | undefined;
6198
+ prefix?: TranslationConfig | undefined;
6199
+ postfix?: TranslationConfig | undefined;
6200
+ includeMiddlename?: boolean | undefined;
6201
+ searchMode?: boolean | undefined;
6202
+ } | undefined;
5203
6203
  }, {
5204
- type: "BULLET_LIST";
6204
+ type: "NAME";
5205
6205
  id: string;
5206
6206
  label: {
5207
6207
  id: string;
5208
6208
  description: string;
5209
6209
  defaultMessage: string;
5210
6210
  };
5211
- items: {
5212
- id: string;
5213
- description: string;
5214
- defaultMessage: string;
5215
- }[];
5216
6211
  parent?: {
5217
6212
  $$field: string;
5218
6213
  } | undefined;
@@ -5235,6 +6230,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5235
6230
  type: "DISPLAY_ON_REVIEW";
5236
6231
  conditional: import(".").JSONSchema;
5237
6232
  })[] | undefined;
6233
+ secured?: boolean | undefined;
5238
6234
  placeholder?: {
5239
6235
  id: string;
5240
6236
  description: string;
@@ -5246,11 +6242,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5246
6242
  defaultMessage: string;
5247
6243
  } | undefined;
5248
6244
  hideLabel?: boolean | undefined;
5249
- defaultValue?: string | undefined;
6245
+ defaultValue?: {
6246
+ firstname: string;
6247
+ surname: string;
6248
+ } | undefined;
5250
6249
  configuration?: {
5251
- styles?: {
5252
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6250
+ maxLength?: number | undefined;
6251
+ prefix?: {
6252
+ id: string;
6253
+ description: string;
6254
+ defaultMessage: string;
6255
+ } | undefined;
6256
+ postfix?: {
6257
+ id: string;
6258
+ description: string;
6259
+ defaultMessage: string;
5253
6260
  } | undefined;
6261
+ includeMiddlename?: boolean | undefined;
6262
+ searchMode?: boolean | undefined;
5254
6263
  } | undefined;
5255
6264
  }>, z.ZodObject<z.objectUtil.extendShape<{
5256
6265
  id: z.ZodString;
@@ -5263,6 +6272,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5263
6272
  }>>;
5264
6273
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5265
6274
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6275
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5266
6276
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5267
6277
  id: string;
5268
6278
  description: string;
@@ -5298,10 +6308,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5298
6308
  }>>;
5299
6309
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5300
6310
  }, {
5301
- type: z.ZodLiteral<"PAGE_HEADER">;
5302
6311
  defaultValue: z.ZodOptional<z.ZodString>;
6312
+ type: z.ZodLiteral<"PHONE">;
5303
6313
  }>, "strip", z.ZodTypeAny, {
5304
- type: "PAGE_HEADER";
6314
+ type: "PHONE";
5305
6315
  id: string;
5306
6316
  label: TranslationConfig;
5307
6317
  parent?: {
@@ -5322,12 +6332,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5322
6332
  type: "DISPLAY_ON_REVIEW";
5323
6333
  conditional: import(".").JSONSchema;
5324
6334
  })[] | undefined;
6335
+ secured?: boolean | undefined;
5325
6336
  placeholder?: TranslationConfig | undefined;
5326
6337
  helperText?: TranslationConfig | undefined;
5327
6338
  hideLabel?: boolean | undefined;
5328
6339
  defaultValue?: string | undefined;
5329
6340
  }, {
5330
- type: "PAGE_HEADER";
6341
+ type: "PHONE";
5331
6342
  id: string;
5332
6343
  label: {
5333
6344
  id: string;
@@ -5356,6 +6367,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5356
6367
  type: "DISPLAY_ON_REVIEW";
5357
6368
  conditional: import(".").JSONSchema;
5358
6369
  })[] | undefined;
6370
+ secured?: boolean | undefined;
5359
6371
  placeholder?: {
5360
6372
  id: string;
5361
6373
  description: string;
@@ -5379,6 +6391,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5379
6391
  }>>;
5380
6392
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5381
6393
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6394
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5382
6395
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5383
6396
  id: string;
5384
6397
  description: string;
@@ -5414,33 +6427,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5414
6427
  }>>;
5415
6428
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5416
6429
  }, {
5417
- type: z.ZodLiteral<"SELECT">;
5418
6430
  defaultValue: z.ZodOptional<z.ZodString>;
5419
- options: z.ZodArray<z.ZodObject<{
5420
- value: z.ZodString;
5421
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5422
- id: string;
5423
- description: string;
5424
- defaultMessage: string;
5425
- }>;
5426
- }, "strip", z.ZodTypeAny, {
5427
- value: string;
5428
- label: TranslationConfig;
5429
- }, {
5430
- value: string;
5431
- label: {
5432
- id: string;
5433
- description: string;
5434
- defaultMessage: string;
5435
- };
5436
- }>, "many">;
6431
+ type: z.ZodLiteral<"ID">;
5437
6432
  }>, "strip", z.ZodTypeAny, {
5438
- type: "SELECT";
6433
+ type: "ID";
5439
6434
  id: string;
5440
- options: {
5441
- value: string;
5442
- label: TranslationConfig;
5443
- }[];
5444
6435
  label: TranslationConfig;
5445
6436
  parent?: {
5446
6437
  $$field: string;
@@ -5460,21 +6451,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5460
6451
  type: "DISPLAY_ON_REVIEW";
5461
6452
  conditional: import(".").JSONSchema;
5462
6453
  })[] | undefined;
6454
+ secured?: boolean | undefined;
5463
6455
  placeholder?: TranslationConfig | undefined;
5464
6456
  helperText?: TranslationConfig | undefined;
5465
6457
  hideLabel?: boolean | undefined;
5466
6458
  defaultValue?: string | undefined;
5467
6459
  }, {
5468
- type: "SELECT";
6460
+ type: "ID";
5469
6461
  id: string;
5470
- options: {
5471
- value: string;
5472
- label: {
5473
- id: string;
5474
- description: string;
5475
- defaultMessage: string;
5476
- };
5477
- }[];
5478
6462
  label: {
5479
6463
  id: string;
5480
6464
  description: string;
@@ -5502,6 +6486,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5502
6486
  type: "DISPLAY_ON_REVIEW";
5503
6487
  conditional: import(".").JSONSchema;
5504
6488
  })[] | undefined;
6489
+ secured?: boolean | undefined;
5505
6490
  placeholder?: {
5506
6491
  id: string;
5507
6492
  description: string;
@@ -5525,6 +6510,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5525
6510
  }>>;
5526
6511
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5527
6512
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6513
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5528
6514
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5529
6515
  id: string;
5530
6516
  description: string;
@@ -5584,6 +6570,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5584
6570
  type: "DISPLAY_ON_REVIEW";
5585
6571
  conditional: import(".").JSONSchema;
5586
6572
  })[] | undefined;
6573
+ secured?: boolean | undefined;
5587
6574
  placeholder?: TranslationConfig | undefined;
5588
6575
  helperText?: TranslationConfig | undefined;
5589
6576
  hideLabel?: boolean | undefined;
@@ -5618,6 +6605,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5618
6605
  type: "DISPLAY_ON_REVIEW";
5619
6606
  conditional: import(".").JSONSchema;
5620
6607
  })[] | undefined;
6608
+ secured?: boolean | undefined;
5621
6609
  placeholder?: {
5622
6610
  id: string;
5623
6611
  description: string;
@@ -5641,6 +6629,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5641
6629
  }>>;
5642
6630
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5643
6631
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6632
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5644
6633
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5645
6634
  id: string;
5646
6635
  description: string;
@@ -5754,6 +6743,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5754
6743
  type: "DISPLAY_ON_REVIEW";
5755
6744
  conditional: import(".").JSONSchema;
5756
6745
  })[] | undefined;
6746
+ secured?: boolean | undefined;
5757
6747
  placeholder?: TranslationConfig | undefined;
5758
6748
  helperText?: TranslationConfig | undefined;
5759
6749
  hideLabel?: boolean | undefined;
@@ -5792,6 +6782,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5792
6782
  type: "DISPLAY_ON_REVIEW";
5793
6783
  conditional: import(".").JSONSchema;
5794
6784
  })[] | undefined;
6785
+ secured?: boolean | undefined;
5795
6786
  placeholder?: {
5796
6787
  id: string;
5797
6788
  description: string;
@@ -5831,6 +6822,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5831
6822
  }>>;
5832
6823
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5833
6824
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6825
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5834
6826
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5835
6827
  id: string;
5836
6828
  description: string;
@@ -5890,6 +6882,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5890
6882
  type: "DISPLAY_ON_REVIEW";
5891
6883
  conditional: import(".").JSONSchema;
5892
6884
  })[] | undefined;
6885
+ secured?: boolean | undefined;
5893
6886
  placeholder?: TranslationConfig | undefined;
5894
6887
  helperText?: TranslationConfig | undefined;
5895
6888
  hideLabel?: boolean | undefined;
@@ -5924,6 +6917,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5924
6917
  type: "DISPLAY_ON_REVIEW";
5925
6918
  conditional: import(".").JSONSchema;
5926
6919
  })[] | undefined;
6920
+ secured?: boolean | undefined;
5927
6921
  placeholder?: {
5928
6922
  id: string;
5929
6923
  description: string;
@@ -5947,6 +6941,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5947
6941
  }>>;
5948
6942
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5949
6943
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6944
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5950
6945
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5951
6946
  id: string;
5952
6947
  description: string;
@@ -6032,6 +7027,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6032
7027
  type: "DISPLAY_ON_REVIEW";
6033
7028
  conditional: import(".").JSONSchema;
6034
7029
  })[] | undefined;
7030
+ secured?: boolean | undefined;
6035
7031
  placeholder?: TranslationConfig | undefined;
6036
7032
  helperText?: TranslationConfig | undefined;
6037
7033
  hideLabel?: boolean | undefined;
@@ -6072,6 +7068,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6072
7068
  type: "DISPLAY_ON_REVIEW";
6073
7069
  conditional: import(".").JSONSchema;
6074
7070
  })[] | undefined;
7071
+ secured?: boolean | undefined;
6075
7072
  placeholder?: {
6076
7073
  id: string;
6077
7074
  description: string;
@@ -6095,6 +7092,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6095
7092
  }>>;
6096
7093
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6097
7094
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7095
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6098
7096
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6099
7097
  id: string;
6100
7098
  description: string;
@@ -6153,6 +7151,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6153
7151
  type: "DISPLAY_ON_REVIEW";
6154
7152
  conditional: import(".").JSONSchema;
6155
7153
  })[] | undefined;
7154
+ secured?: boolean | undefined;
6156
7155
  placeholder?: TranslationConfig | undefined;
6157
7156
  helperText?: TranslationConfig | undefined;
6158
7157
  hideLabel?: boolean | undefined;
@@ -6186,6 +7185,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6186
7185
  type: "DISPLAY_ON_REVIEW";
6187
7186
  conditional: import(".").JSONSchema;
6188
7187
  })[] | undefined;
7188
+ secured?: boolean | undefined;
6189
7189
  placeholder?: {
6190
7190
  id: string;
6191
7191
  description: string;
@@ -6208,6 +7208,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6208
7208
  }>>;
6209
7209
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6210
7210
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7211
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6211
7212
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6212
7213
  id: string;
6213
7214
  description: string;
@@ -6267,6 +7268,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6267
7268
  type: "DISPLAY_ON_REVIEW";
6268
7269
  conditional: import(".").JSONSchema;
6269
7270
  })[] | undefined;
7271
+ secured?: boolean | undefined;
6270
7272
  placeholder?: TranslationConfig | undefined;
6271
7273
  helperText?: TranslationConfig | undefined;
6272
7274
  hideLabel?: boolean | undefined;
@@ -6301,6 +7303,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6301
7303
  type: "DISPLAY_ON_REVIEW";
6302
7304
  conditional: import(".").JSONSchema;
6303
7305
  })[] | undefined;
7306
+ secured?: boolean | undefined;
6304
7307
  placeholder?: {
6305
7308
  id: string;
6306
7309
  description: string;
@@ -6324,6 +7327,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6324
7327
  }>>;
6325
7328
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6326
7329
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7330
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6327
7331
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6328
7332
  id: string;
6329
7333
  description: string;
@@ -6383,6 +7387,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6383
7387
  type: "DISPLAY_ON_REVIEW";
6384
7388
  conditional: import(".").JSONSchema;
6385
7389
  })[] | undefined;
7390
+ secured?: boolean | undefined;
6386
7391
  placeholder?: TranslationConfig | undefined;
6387
7392
  helperText?: TranslationConfig | undefined;
6388
7393
  hideLabel?: boolean | undefined;
@@ -6417,6 +7422,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6417
7422
  type: "DISPLAY_ON_REVIEW";
6418
7423
  conditional: import(".").JSONSchema;
6419
7424
  })[] | undefined;
7425
+ secured?: boolean | undefined;
6420
7426
  placeholder?: {
6421
7427
  id: string;
6422
7428
  description: string;
@@ -6440,6 +7446,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6440
7446
  }>>;
6441
7447
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6442
7448
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7449
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6443
7450
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6444
7451
  id: string;
6445
7452
  description: string;
@@ -6499,6 +7506,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6499
7506
  type: "DISPLAY_ON_REVIEW";
6500
7507
  conditional: import(".").JSONSchema;
6501
7508
  })[] | undefined;
7509
+ secured?: boolean | undefined;
6502
7510
  placeholder?: TranslationConfig | undefined;
6503
7511
  helperText?: TranslationConfig | undefined;
6504
7512
  hideLabel?: boolean | undefined;
@@ -6533,6 +7541,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6533
7541
  type: "DISPLAY_ON_REVIEW";
6534
7542
  conditional: import(".").JSONSchema;
6535
7543
  })[] | undefined;
7544
+ secured?: boolean | undefined;
6536
7545
  placeholder?: {
6537
7546
  id: string;
6538
7547
  description: string;
@@ -6556,6 +7565,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6556
7565
  }>>;
6557
7566
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6558
7567
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7568
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6559
7569
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6560
7570
  id: string;
6561
7571
  description: string;
@@ -6635,6 +7645,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6635
7645
  type: "DISPLAY_ON_REVIEW";
6636
7646
  conditional: import(".").JSONSchema;
6637
7647
  })[] | undefined;
7648
+ secured?: boolean | undefined;
6638
7649
  placeholder?: TranslationConfig | undefined;
6639
7650
  helperText?: TranslationConfig | undefined;
6640
7651
  hideLabel?: boolean | undefined;
@@ -6674,6 +7685,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6674
7685
  type: "DISPLAY_ON_REVIEW";
6675
7686
  conditional: import(".").JSONSchema;
6676
7687
  })[] | undefined;
7688
+ secured?: boolean | undefined;
6677
7689
  placeholder?: {
6678
7690
  id: string;
6679
7691
  description: string;
@@ -6701,6 +7713,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6701
7713
  }>>;
6702
7714
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6703
7715
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7716
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6704
7717
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6705
7718
  id: string;
6706
7719
  description: string;
@@ -6767,6 +7780,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6767
7780
  type: "DISPLAY_ON_REVIEW";
6768
7781
  conditional: import(".").JSONSchema;
6769
7782
  })[] | undefined;
7783
+ secured?: boolean | undefined;
6770
7784
  placeholder?: TranslationConfig | undefined;
6771
7785
  helperText?: TranslationConfig | undefined;
6772
7786
  hideLabel?: boolean | undefined;
@@ -6804,6 +7818,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6804
7818
  type: "DISPLAY_ON_REVIEW";
6805
7819
  conditional: import(".").JSONSchema;
6806
7820
  })[] | undefined;
7821
+ secured?: boolean | undefined;
6807
7822
  placeholder?: {
6808
7823
  id: string;
6809
7824
  description: string;
@@ -6830,6 +7845,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6830
7845
  }>>;
6831
7846
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6832
7847
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7848
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6833
7849
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6834
7850
  id: string;
6835
7851
  description: string;
@@ -6940,6 +7956,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6940
7956
  type: "DISPLAY_ON_REVIEW";
6941
7957
  conditional: import(".").JSONSchema;
6942
7958
  })[] | undefined;
7959
+ secured?: boolean | undefined;
6943
7960
  placeholder?: TranslationConfig | undefined;
6944
7961
  helperText?: TranslationConfig | undefined;
6945
7962
  hideLabel?: boolean | undefined;
@@ -6987,6 +8004,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6987
8004
  type: "DISPLAY_ON_REVIEW";
6988
8005
  conditional: import(".").JSONSchema;
6989
8006
  })[] | undefined;
8007
+ secured?: boolean | undefined;
6990
8008
  placeholder?: {
6991
8009
  id: string;
6992
8010
  description: string;
@@ -7019,6 +8037,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7019
8037
  }>>;
7020
8038
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7021
8039
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8040
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7022
8041
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7023
8042
  id: string;
7024
8043
  description: string;
@@ -7153,6 +8172,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7153
8172
  type: "DISPLAY_ON_REVIEW";
7154
8173
  conditional: import(".").JSONSchema;
7155
8174
  })[] | undefined;
8175
+ secured?: boolean | undefined;
7156
8176
  placeholder?: TranslationConfig | undefined;
7157
8177
  helperText?: TranslationConfig | undefined;
7158
8178
  hideLabel?: boolean | undefined;
@@ -7207,6 +8227,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7207
8227
  type: "DISPLAY_ON_REVIEW";
7208
8228
  conditional: import(".").JSONSchema;
7209
8229
  })[] | undefined;
8230
+ secured?: boolean | undefined;
7210
8231
  placeholder?: {
7211
8232
  id: string;
7212
8233
  description: string;
@@ -7220,6 +8241,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7220
8241
  hideLabel?: boolean | undefined;
7221
8242
  }>]>;
7222
8243
  export type SelectField = z.infer<typeof Select>;
8244
+ export type NameField = z.infer<typeof NameField>;
8245
+ export type PhoneField = z.infer<typeof PhoneField>;
8246
+ export type IdField = z.infer<typeof IdField>;
7223
8247
  export type LocationField = z.infer<typeof Location>;
7224
8248
  export type RadioField = z.infer<typeof RadioGroup>;
7225
8249
  export type AddressField = z.infer<typeof Address>;