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

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 (38) hide show
  1. package/dist/commons/api/router.d.ts +7226 -9201
  2. package/dist/commons/conditionals/conditionals.d.ts +4 -12
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +42985 -22929
  5. package/dist/commons/events/ActionDocument.d.ts +3599 -1052
  6. package/dist/commons/events/ActionInput.d.ts +2942 -842
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +339 -36
  9. package/dist/commons/events/CompositeFieldValue.d.ts +37 -9
  10. package/dist/commons/events/Constants.d.ts +1 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +1891 -741
  12. package/dist/commons/events/Draft.d.ts +248 -75
  13. package/dist/commons/events/EventConfig.d.ts +17983 -8266
  14. package/dist/commons/events/EventDocument.d.ts +2260 -673
  15. package/dist/commons/events/EventIndex.d.ts +1069 -196
  16. package/dist/commons/events/EventMetadata.d.ts +52 -40
  17. package/dist/commons/events/FieldConfig.d.ts +2303 -926
  18. package/dist/commons/events/FieldType.d.ts +5 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +144 -73
  20. package/dist/commons/events/FieldValue.d.ts +85 -20
  21. package/dist/commons/events/FormConfig.d.ts +23361 -14925
  22. package/dist/commons/events/PageConfig.d.ts +3730 -1662
  23. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  24. package/dist/commons/events/User.d.ts +6 -3
  25. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  26. package/dist/commons/events/WorkqueueConfig.d.ts +5509 -1918
  27. package/dist/commons/events/defineConfig.d.ts +1762 -126
  28. package/dist/commons/events/event.d.ts +10 -18
  29. package/dist/commons/events/field.d.ts +9 -0
  30. package/dist/commons/events/index.d.ts +1 -0
  31. package/dist/commons/events/scopes.d.ts +1 -2
  32. package/dist/commons/events/test.utils.d.ts +181 -49
  33. package/dist/commons/events/utils.d.ts +13653 -1222
  34. package/dist/conditionals/index.js +40 -52
  35. package/dist/events/index.js +2274 -1491
  36. package/dist/scopes/index.d.ts +96 -7
  37. package/dist/scopes/index.js +105 -26
  38. 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;
@@ -1172,7 +1215,10 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1172
1215
  } | undefined;
1173
1216
  }>;
1174
1217
  export type DateField = z.infer<typeof DateField>;
1175
- declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1218
+ /**
1219
+ * For internal use only. Needed for search functionality.
1220
+ */
1221
+ export declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1176
1222
  id: z.ZodString;
1177
1223
  parent: z.ZodOptional<z.ZodObject<{
1178
1224
  $$field: z.ZodString;
@@ -1183,6 +1229,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1183
1229
  }>>;
1184
1230
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1185
1231
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1232
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1186
1233
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1187
1234
  id: string;
1188
1235
  description: string;
@@ -1219,7 +1266,16 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1219
1266
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1220
1267
  }, {
1221
1268
  type: z.ZodLiteral<"DATE_RANGE">;
1222
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
1269
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1270
+ start: z.ZodString;
1271
+ end: z.ZodString;
1272
+ }, "strip", z.ZodTypeAny, {
1273
+ start: string;
1274
+ end: string;
1275
+ }, {
1276
+ start: string;
1277
+ end: string;
1278
+ }>, z.ZodString]>>;
1223
1279
  configuration: z.ZodOptional<z.ZodObject<{
1224
1280
  notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1225
1281
  id: string;
@@ -1257,10 +1313,14 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1257
1313
  type: "DISPLAY_ON_REVIEW";
1258
1314
  conditional: import(".").JSONSchema;
1259
1315
  })[] | undefined;
1316
+ secured?: boolean | undefined;
1260
1317
  placeholder?: TranslationConfig | undefined;
1261
1318
  helperText?: TranslationConfig | undefined;
1262
1319
  hideLabel?: boolean | undefined;
1263
- defaultValue?: string | [string, string] | undefined;
1320
+ defaultValue?: string | {
1321
+ start: string;
1322
+ end: string;
1323
+ } | undefined;
1264
1324
  configuration?: {
1265
1325
  notice?: TranslationConfig | undefined;
1266
1326
  } | undefined;
@@ -1294,6 +1354,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1294
1354
  type: "DISPLAY_ON_REVIEW";
1295
1355
  conditional: import(".").JSONSchema;
1296
1356
  })[] | undefined;
1357
+ secured?: boolean | undefined;
1297
1358
  placeholder?: {
1298
1359
  id: string;
1299
1360
  description: string;
@@ -1305,7 +1366,10 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1305
1366
  defaultMessage: string;
1306
1367
  } | undefined;
1307
1368
  hideLabel?: boolean | undefined;
1308
- defaultValue?: string | [string, string] | undefined;
1369
+ defaultValue?: string | {
1370
+ start: string;
1371
+ end: string;
1372
+ } | undefined;
1309
1373
  configuration?: {
1310
1374
  notice?: {
1311
1375
  id: string;
@@ -1328,6 +1392,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1328
1392
  }>>;
1329
1393
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1330
1394
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1395
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1331
1396
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1332
1397
  id: string;
1333
1398
  description: string;
@@ -1409,6 +1474,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1409
1474
  type: "DISPLAY_ON_REVIEW";
1410
1475
  conditional: import(".").JSONSchema;
1411
1476
  })[] | undefined;
1477
+ secured?: boolean | undefined;
1412
1478
  placeholder?: TranslationConfig | undefined;
1413
1479
  helperText?: TranslationConfig | undefined;
1414
1480
  hideLabel?: boolean | undefined;
@@ -1443,6 +1509,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1443
1509
  type: "DISPLAY_ON_REVIEW";
1444
1510
  conditional: import(".").JSONSchema;
1445
1511
  })[] | undefined;
1512
+ secured?: boolean | undefined;
1446
1513
  placeholder?: {
1447
1514
  id: string;
1448
1515
  description: string;
@@ -1473,6 +1540,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1473
1540
  }>>;
1474
1541
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1475
1542
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1543
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1476
1544
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1477
1545
  id: string;
1478
1546
  description: string;
@@ -1532,6 +1600,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1532
1600
  type: "DISPLAY_ON_REVIEW";
1533
1601
  conditional: import(".").JSONSchema;
1534
1602
  })[] | undefined;
1603
+ secured?: boolean | undefined;
1535
1604
  placeholder?: TranslationConfig | undefined;
1536
1605
  helperText?: TranslationConfig | undefined;
1537
1606
  hideLabel?: boolean | undefined;
@@ -1566,6 +1635,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1566
1635
  type: "DISPLAY_ON_REVIEW";
1567
1636
  conditional: import(".").JSONSchema;
1568
1637
  })[] | undefined;
1638
+ secured?: boolean | undefined;
1569
1639
  placeholder?: {
1570
1640
  id: string;
1571
1641
  description: string;
@@ -1591,6 +1661,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1591
1661
  }>>;
1592
1662
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1593
1663
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1664
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1594
1665
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1595
1666
  id: string;
1596
1667
  description: string;
@@ -1628,16 +1699,16 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1628
1699
  }, {
1629
1700
  type: z.ZodLiteral<"FILE">;
1630
1701
  defaultValue: z.ZodOptional<z.ZodObject<{
1631
- filename: z.ZodString;
1702
+ path: z.ZodEffects<z.ZodString, string, string>;
1632
1703
  originalFilename: z.ZodString;
1633
1704
  type: z.ZodString;
1634
1705
  }, "strip", z.ZodTypeAny, {
1635
1706
  type: string;
1636
- filename: string;
1707
+ path: string;
1637
1708
  originalFilename: string;
1638
1709
  }, {
1639
1710
  type: string;
1640
- filename: string;
1711
+ path: string;
1641
1712
  originalFilename: string;
1642
1713
  }>>;
1643
1714
  configuration: z.ZodDefault<z.ZodObject<{
@@ -1704,12 +1775,13 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1704
1775
  type: "DISPLAY_ON_REVIEW";
1705
1776
  conditional: import(".").JSONSchema;
1706
1777
  })[] | undefined;
1778
+ secured?: boolean | undefined;
1707
1779
  placeholder?: TranslationConfig | undefined;
1708
1780
  helperText?: TranslationConfig | undefined;
1709
1781
  hideLabel?: boolean | undefined;
1710
1782
  defaultValue?: {
1711
1783
  type: string;
1712
- filename: string;
1784
+ path: string;
1713
1785
  originalFilename: string;
1714
1786
  } | undefined;
1715
1787
  }, {
@@ -1742,6 +1814,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1742
1814
  type: "DISPLAY_ON_REVIEW";
1743
1815
  conditional: import(".").JSONSchema;
1744
1816
  })[] | undefined;
1817
+ secured?: boolean | undefined;
1745
1818
  placeholder?: {
1746
1819
  id: string;
1747
1820
  description: string;
@@ -1755,7 +1828,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1755
1828
  hideLabel?: boolean | undefined;
1756
1829
  defaultValue?: {
1757
1830
  type: string;
1758
- filename: string;
1831
+ path: string;
1759
1832
  originalFilename: string;
1760
1833
  } | undefined;
1761
1834
  configuration?: {
@@ -1801,6 +1874,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1801
1874
  }>>;
1802
1875
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1803
1876
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1877
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1804
1878
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1805
1879
  id: string;
1806
1880
  description: string;
@@ -1899,6 +1973,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1899
1973
  type: "DISPLAY_ON_REVIEW";
1900
1974
  conditional: import(".").JSONSchema;
1901
1975
  })[] | undefined;
1976
+ secured?: boolean | undefined;
1902
1977
  placeholder?: TranslationConfig | undefined;
1903
1978
  helperText?: TranslationConfig | undefined;
1904
1979
  hideLabel?: boolean | undefined;
@@ -1946,6 +2021,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1946
2021
  type: "DISPLAY_ON_REVIEW";
1947
2022
  conditional: import(".").JSONSchema;
1948
2023
  })[] | undefined;
2024
+ secured?: boolean | undefined;
1949
2025
  placeholder?: {
1950
2026
  id: string;
1951
2027
  description: string;
@@ -1976,6 +2052,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1976
2052
  }>>;
1977
2053
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1978
2054
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2055
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1979
2056
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1980
2057
  id: string;
1981
2058
  description: string;
@@ -2063,6 +2140,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
2063
2140
  type: "DISPLAY_ON_REVIEW";
2064
2141
  conditional: import(".").JSONSchema;
2065
2142
  })[] | undefined;
2143
+ secured?: boolean | undefined;
2066
2144
  placeholder?: TranslationConfig | undefined;
2067
2145
  helperText?: TranslationConfig | undefined;
2068
2146
  hideLabel?: boolean | undefined;
@@ -2102,6 +2180,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
2102
2180
  type: "DISPLAY_ON_REVIEW";
2103
2181
  conditional: import(".").JSONSchema;
2104
2182
  })[] | undefined;
2183
+ secured?: boolean | undefined;
2105
2184
  placeholder?: {
2106
2185
  id: string;
2107
2186
  description: string;
@@ -2132,6 +2211,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2132
2211
  }>>;
2133
2212
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2134
2213
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2214
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2135
2215
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2136
2216
  id: string;
2137
2217
  description: string;
@@ -2213,6 +2293,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2213
2293
  type: "DISPLAY_ON_REVIEW";
2214
2294
  conditional: import(".").JSONSchema;
2215
2295
  })[] | undefined;
2296
+ secured?: boolean | undefined;
2216
2297
  placeholder?: TranslationConfig | undefined;
2217
2298
  helperText?: TranslationConfig | undefined;
2218
2299
  hideLabel?: boolean | undefined;
@@ -2255,6 +2336,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2255
2336
  type: "DISPLAY_ON_REVIEW";
2256
2337
  conditional: import(".").JSONSchema;
2257
2338
  })[] | undefined;
2339
+ secured?: boolean | undefined;
2258
2340
  placeholder?: {
2259
2341
  id: string;
2260
2342
  description: string;
@@ -2268,7 +2350,29 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2268
2350
  hideLabel?: boolean | undefined;
2269
2351
  defaultValue?: string | undefined;
2270
2352
  }>;
2271
- declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2353
+ export declare const SelectDateRangeOption: z.ZodObject<{
2354
+ value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2355
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2356
+ id: string;
2357
+ description: string;
2358
+ defaultMessage: string;
2359
+ }>;
2360
+ }, "strip", z.ZodTypeAny, {
2361
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2362
+ label: TranslationConfig;
2363
+ }, {
2364
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2365
+ label: {
2366
+ id: string;
2367
+ description: string;
2368
+ defaultMessage: string;
2369
+ };
2370
+ }>;
2371
+ export type SelectDateRangeOption = z.infer<typeof SelectDateRangeOption>;
2372
+ /**
2373
+ * For internal use only. Needed for search functionality.
2374
+ */
2375
+ export declare const SelectDateRangeField: z.ZodObject<z.objectUtil.extendShape<{
2272
2376
  id: z.ZodString;
2273
2377
  parent: z.ZodOptional<z.ZodObject<{
2274
2378
  $$field: z.ZodString;
@@ -2279,6 +2383,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2279
2383
  }>>;
2280
2384
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2281
2385
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2386
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2282
2387
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2283
2388
  id: string;
2284
2389
  description: string;
@@ -2314,11 +2419,33 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2314
2419
  }>>;
2315
2420
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2316
2421
  }, {
2317
- type: z.ZodLiteral<"CHECKBOX">;
2318
- defaultValue: z.ZodOptional<z.ZodBoolean>;
2422
+ type: z.ZodLiteral<"SELECT_DATE_RANGE">;
2423
+ defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
2424
+ options: z.ZodArray<z.ZodObject<{
2425
+ value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2426
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2427
+ id: string;
2428
+ description: string;
2429
+ defaultMessage: string;
2430
+ }>;
2431
+ }, "strip", z.ZodTypeAny, {
2432
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2433
+ label: TranslationConfig;
2434
+ }, {
2435
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2436
+ label: {
2437
+ id: string;
2438
+ description: string;
2439
+ defaultMessage: string;
2440
+ };
2441
+ }>, "many">;
2319
2442
  }>, "strip", z.ZodTypeAny, {
2320
- type: "CHECKBOX";
2443
+ type: "SELECT_DATE_RANGE";
2321
2444
  id: string;
2445
+ options: {
2446
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2447
+ label: TranslationConfig;
2448
+ }[];
2322
2449
  label: TranslationConfig;
2323
2450
  parent?: {
2324
2451
  $$field: string;
@@ -2338,13 +2465,22 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2338
2465
  type: "DISPLAY_ON_REVIEW";
2339
2466
  conditional: import(".").JSONSchema;
2340
2467
  })[] | undefined;
2468
+ secured?: boolean | undefined;
2341
2469
  placeholder?: TranslationConfig | undefined;
2342
2470
  helperText?: TranslationConfig | undefined;
2343
2471
  hideLabel?: boolean | undefined;
2344
- defaultValue?: boolean | undefined;
2472
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
2345
2473
  }, {
2346
- type: "CHECKBOX";
2474
+ type: "SELECT_DATE_RANGE";
2347
2475
  id: string;
2476
+ options: {
2477
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2478
+ label: {
2479
+ id: string;
2480
+ description: string;
2481
+ defaultMessage: string;
2482
+ };
2483
+ }[];
2348
2484
  label: {
2349
2485
  id: string;
2350
2486
  description: string;
@@ -2372,6 +2508,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2372
2508
  type: "DISPLAY_ON_REVIEW";
2373
2509
  conditional: import(".").JSONSchema;
2374
2510
  })[] | undefined;
2511
+ secured?: boolean | undefined;
2375
2512
  placeholder?: {
2376
2513
  id: string;
2377
2514
  description: string;
@@ -2383,10 +2520,10 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2383
2520
  defaultMessage: string;
2384
2521
  } | undefined;
2385
2522
  hideLabel?: boolean | undefined;
2386
- defaultValue?: boolean | undefined;
2523
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
2387
2524
  }>;
2388
- export type Checkbox = z.infer<typeof Checkbox>;
2389
- declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2525
+ export type SelectDateRangeField = z.infer<typeof SelectDateRangeField>;
2526
+ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
2390
2527
  id: z.ZodString;
2391
2528
  parent: z.ZodOptional<z.ZodObject<{
2392
2529
  $$field: z.ZodString;
@@ -2397,6 +2534,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2397
2534
  }>>;
2398
2535
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2399
2536
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2537
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2400
2538
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2401
2539
  id: string;
2402
2540
  description: string;
@@ -2432,10 +2570,54 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2432
2570
  }>>;
2433
2571
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2434
2572
  }, {
2435
- type: z.ZodLiteral<"COUNTRY">;
2436
- defaultValue: z.ZodOptional<z.ZodString>;
2573
+ type: z.ZodLiteral<"NAME">;
2574
+ defaultValue: z.ZodOptional<z.ZodObject<{
2575
+ firstname: z.ZodString;
2576
+ surname: z.ZodString;
2577
+ }, "strip", z.ZodTypeAny, {
2578
+ firstname: string;
2579
+ surname: string;
2580
+ }, {
2581
+ firstname: string;
2582
+ surname: string;
2583
+ }>>;
2584
+ configuration: z.ZodOptional<z.ZodObject<{
2585
+ maxLength: z.ZodOptional<z.ZodNumber>;
2586
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2587
+ id: string;
2588
+ description: string;
2589
+ defaultMessage: string;
2590
+ }>>;
2591
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2592
+ id: string;
2593
+ description: string;
2594
+ defaultMessage: string;
2595
+ }>>;
2596
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2597
+ searchMode: z.ZodOptional<z.ZodBoolean>;
2598
+ }, "strip", z.ZodTypeAny, {
2599
+ maxLength?: number | undefined;
2600
+ prefix?: TranslationConfig | undefined;
2601
+ postfix?: TranslationConfig | undefined;
2602
+ includeMiddlename?: boolean | undefined;
2603
+ searchMode?: boolean | undefined;
2604
+ }, {
2605
+ maxLength?: number | undefined;
2606
+ prefix?: {
2607
+ id: string;
2608
+ description: string;
2609
+ defaultMessage: string;
2610
+ } | undefined;
2611
+ postfix?: {
2612
+ id: string;
2613
+ description: string;
2614
+ defaultMessage: string;
2615
+ } | undefined;
2616
+ includeMiddlename?: boolean | undefined;
2617
+ searchMode?: boolean | undefined;
2618
+ }>>;
2437
2619
  }>, "strip", z.ZodTypeAny, {
2438
- type: "COUNTRY";
2620
+ type: "NAME";
2439
2621
  id: string;
2440
2622
  label: TranslationConfig;
2441
2623
  parent?: {
@@ -2456,12 +2638,23 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2456
2638
  type: "DISPLAY_ON_REVIEW";
2457
2639
  conditional: import(".").JSONSchema;
2458
2640
  })[] | undefined;
2641
+ secured?: boolean | undefined;
2459
2642
  placeholder?: TranslationConfig | undefined;
2460
2643
  helperText?: TranslationConfig | undefined;
2461
2644
  hideLabel?: boolean | undefined;
2462
- defaultValue?: string | undefined;
2645
+ defaultValue?: {
2646
+ firstname: string;
2647
+ surname: string;
2648
+ } | undefined;
2649
+ configuration?: {
2650
+ maxLength?: number | undefined;
2651
+ prefix?: TranslationConfig | undefined;
2652
+ postfix?: TranslationConfig | undefined;
2653
+ includeMiddlename?: boolean | undefined;
2654
+ searchMode?: boolean | undefined;
2655
+ } | undefined;
2463
2656
  }, {
2464
- type: "COUNTRY";
2657
+ type: "NAME";
2465
2658
  id: string;
2466
2659
  label: {
2467
2660
  id: string;
@@ -2490,6 +2683,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2490
2683
  type: "DISPLAY_ON_REVIEW";
2491
2684
  conditional: import(".").JSONSchema;
2492
2685
  })[] | undefined;
2686
+ secured?: boolean | undefined;
2493
2687
  placeholder?: {
2494
2688
  id: string;
2495
2689
  description: string;
@@ -2501,31 +2695,27 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2501
2695
  defaultMessage: string;
2502
2696
  } | undefined;
2503
2697
  hideLabel?: boolean | undefined;
2504
- defaultValue?: string | undefined;
2505
- }>;
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;
2698
+ defaultValue?: {
2699
+ firstname: string;
2700
+ surname: string;
2521
2701
  } | undefined;
2522
- }, {
2523
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2524
- partOf?: {
2525
- $declaration: string;
2702
+ configuration?: {
2703
+ maxLength?: number | undefined;
2704
+ prefix?: {
2705
+ id: string;
2706
+ description: string;
2707
+ defaultMessage: string;
2708
+ } | undefined;
2709
+ postfix?: {
2710
+ id: string;
2711
+ description: string;
2712
+ defaultMessage: string;
2713
+ } | undefined;
2714
+ includeMiddlename?: boolean | undefined;
2715
+ searchMode?: boolean | undefined;
2526
2716
  } | undefined;
2527
2717
  }>;
2528
- declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2718
+ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
2529
2719
  id: z.ZodString;
2530
2720
  parent: z.ZodOptional<z.ZodObject<{
2531
2721
  $$field: z.ZodString;
@@ -2536,6 +2726,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2536
2726
  }>>;
2537
2727
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2538
2728
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2729
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2539
2730
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2540
2731
  id: string;
2541
2732
  description: string;
@@ -2571,38 +2762,12 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2571
2762
  }>>;
2572
2763
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2573
2764
  }, {
2574
- type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
2575
2765
  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
- }>;
2766
+ type: z.ZodLiteral<"PHONE">;
2596
2767
  }>, "strip", z.ZodTypeAny, {
2597
- type: "ADMINISTRATIVE_AREA";
2768
+ type: "PHONE";
2598
2769
  id: string;
2599
2770
  label: TranslationConfig;
2600
- configuration: {
2601
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2602
- partOf?: {
2603
- $declaration: string;
2604
- } | undefined;
2605
- };
2606
2771
  parent?: {
2607
2772
  $$field: string;
2608
2773
  } | undefined;
@@ -2621,24 +2786,19 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2621
2786
  type: "DISPLAY_ON_REVIEW";
2622
2787
  conditional: import(".").JSONSchema;
2623
2788
  })[] | undefined;
2789
+ secured?: boolean | undefined;
2624
2790
  placeholder?: TranslationConfig | undefined;
2625
2791
  helperText?: TranslationConfig | undefined;
2626
2792
  hideLabel?: boolean | undefined;
2627
2793
  defaultValue?: string | undefined;
2628
2794
  }, {
2629
- type: "ADMINISTRATIVE_AREA";
2795
+ type: "PHONE";
2630
2796
  id: string;
2631
2797
  label: {
2632
2798
  id: string;
2633
2799
  description: string;
2634
2800
  defaultMessage: string;
2635
2801
  };
2636
- configuration: {
2637
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2638
- partOf?: {
2639
- $declaration: string;
2640
- } | undefined;
2641
- };
2642
2802
  parent?: {
2643
2803
  $$field: string;
2644
2804
  } | undefined;
@@ -2661,6 +2821,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2661
2821
  type: "DISPLAY_ON_REVIEW";
2662
2822
  conditional: import(".").JSONSchema;
2663
2823
  })[] | undefined;
2824
+ secured?: boolean | undefined;
2664
2825
  placeholder?: {
2665
2826
  id: string;
2666
2827
  description: string;
@@ -2674,8 +2835,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2674
2835
  hideLabel?: boolean | undefined;
2675
2836
  defaultValue?: string | undefined;
2676
2837
  }>;
2677
- export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
2678
- declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2838
+ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
2679
2839
  id: z.ZodString;
2680
2840
  parent: z.ZodOptional<z.ZodObject<{
2681
2841
  $$field: z.ZodString;
@@ -2686,6 +2846,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2686
2846
  }>>;
2687
2847
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2688
2848
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2849
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2689
2850
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2690
2851
  id: string;
2691
2852
  description: string;
@@ -2721,10 +2882,10 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2721
2882
  }>>;
2722
2883
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2723
2884
  }, {
2724
- type: z.ZodLiteral<"LOCATION">;
2725
2885
  defaultValue: z.ZodOptional<z.ZodString>;
2886
+ type: z.ZodLiteral<"ID">;
2726
2887
  }>, "strip", z.ZodTypeAny, {
2727
- type: "LOCATION";
2888
+ type: "ID";
2728
2889
  id: string;
2729
2890
  label: TranslationConfig;
2730
2891
  parent?: {
@@ -2745,12 +2906,13 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2745
2906
  type: "DISPLAY_ON_REVIEW";
2746
2907
  conditional: import(".").JSONSchema;
2747
2908
  })[] | undefined;
2909
+ secured?: boolean | undefined;
2748
2910
  placeholder?: TranslationConfig | undefined;
2749
2911
  helperText?: TranslationConfig | undefined;
2750
2912
  hideLabel?: boolean | undefined;
2751
2913
  defaultValue?: string | undefined;
2752
2914
  }, {
2753
- type: "LOCATION";
2915
+ type: "ID";
2754
2916
  id: string;
2755
2917
  label: {
2756
2918
  id: string;
@@ -2779,6 +2941,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2779
2941
  type: "DISPLAY_ON_REVIEW";
2780
2942
  conditional: import(".").JSONSchema;
2781
2943
  })[] | undefined;
2944
+ secured?: boolean | undefined;
2782
2945
  placeholder?: {
2783
2946
  id: string;
2784
2947
  description: string;
@@ -2792,8 +2955,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2792
2955
  hideLabel?: boolean | undefined;
2793
2956
  defaultValue?: string | undefined;
2794
2957
  }>;
2795
- export type Location = z.infer<typeof Location>;
2796
- declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2958
+ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2797
2959
  id: z.ZodString;
2798
2960
  parent: z.ZodOptional<z.ZodObject<{
2799
2961
  $$field: z.ZodString;
@@ -2804,6 +2966,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2804
2966
  }>>;
2805
2967
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2806
2968
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2969
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2807
2970
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2808
2971
  id: string;
2809
2972
  description: string;
@@ -2839,63 +3002,12 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2839
3002
  }>>;
2840
3003
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2841
3004
  }, {
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
- }>>;
3005
+ type: z.ZodLiteral<"CHECKBOX">;
3006
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
2887
3007
  }>, "strip", z.ZodTypeAny, {
2888
- type: "FILE_WITH_OPTIONS";
3008
+ type: "CHECKBOX";
2889
3009
  id: string;
2890
- options: {
2891
- value: string;
2892
- label: TranslationConfig;
2893
- }[];
2894
3010
  label: TranslationConfig;
2895
- configuration: {
2896
- maxFileSize: number;
2897
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2898
- };
2899
3011
  parent?: {
2900
3012
  $$field: string;
2901
3013
  } | undefined;
@@ -2914,26 +3026,14 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2914
3026
  type: "DISPLAY_ON_REVIEW";
2915
3027
  conditional: import(".").JSONSchema;
2916
3028
  })[] | undefined;
3029
+ secured?: boolean | undefined;
2917
3030
  placeholder?: TranslationConfig | undefined;
2918
3031
  helperText?: TranslationConfig | undefined;
2919
3032
  hideLabel?: boolean | undefined;
2920
- defaultValue?: {
2921
- type: string;
2922
- option: string;
2923
- filename: string;
2924
- originalFilename: string;
2925
- }[] | undefined;
3033
+ defaultValue?: boolean | undefined;
2926
3034
  }, {
2927
- type: "FILE_WITH_OPTIONS";
3035
+ type: "CHECKBOX";
2928
3036
  id: string;
2929
- options: {
2930
- value: string;
2931
- label: {
2932
- id: string;
2933
- description: string;
2934
- defaultMessage: string;
2935
- };
2936
- }[];
2937
3037
  label: {
2938
3038
  id: string;
2939
3039
  description: string;
@@ -2961,6 +3061,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2961
3061
  type: "DISPLAY_ON_REVIEW";
2962
3062
  conditional: import(".").JSONSchema;
2963
3063
  })[] | undefined;
3064
+ secured?: boolean | undefined;
2964
3065
  placeholder?: {
2965
3066
  id: string;
2966
3067
  description: string;
@@ -2972,19 +3073,10 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2972
3073
  defaultMessage: string;
2973
3074
  } | undefined;
2974
3075
  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;
3076
+ defaultValue?: boolean | undefined;
2985
3077
  }>;
2986
- export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
2987
- declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3078
+ export type Checkbox = z.infer<typeof Checkbox>;
3079
+ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2988
3080
  id: z.ZodString;
2989
3081
  parent: z.ZodOptional<z.ZodObject<{
2990
3082
  $$field: z.ZodString;
@@ -2995,6 +3087,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2995
3087
  }>>;
2996
3088
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2997
3089
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3090
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2998
3091
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2999
3092
  id: string;
3000
3093
  description: string;
@@ -3030,10 +3123,10 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3030
3123
  }>>;
3031
3124
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3032
3125
  }, {
3033
- type: z.ZodLiteral<"FACILITY">;
3126
+ type: z.ZodLiteral<"COUNTRY">;
3034
3127
  defaultValue: z.ZodOptional<z.ZodString>;
3035
3128
  }>, "strip", z.ZodTypeAny, {
3036
- type: "FACILITY";
3129
+ type: "COUNTRY";
3037
3130
  id: string;
3038
3131
  label: TranslationConfig;
3039
3132
  parent?: {
@@ -3054,12 +3147,13 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3054
3147
  type: "DISPLAY_ON_REVIEW";
3055
3148
  conditional: import(".").JSONSchema;
3056
3149
  })[] | undefined;
3150
+ secured?: boolean | undefined;
3057
3151
  placeholder?: TranslationConfig | undefined;
3058
3152
  helperText?: TranslationConfig | undefined;
3059
3153
  hideLabel?: boolean | undefined;
3060
3154
  defaultValue?: string | undefined;
3061
3155
  }, {
3062
- type: "FACILITY";
3156
+ type: "COUNTRY";
3063
3157
  id: string;
3064
3158
  label: {
3065
3159
  id: string;
@@ -3088,6 +3182,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3088
3182
  type: "DISPLAY_ON_REVIEW";
3089
3183
  conditional: import(".").JSONSchema;
3090
3184
  })[] | undefined;
3185
+ secured?: boolean | undefined;
3091
3186
  placeholder?: {
3092
3187
  id: string;
3093
3188
  description: string;
@@ -3101,8 +3196,29 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3101
3196
  hideLabel?: boolean | undefined;
3102
3197
  defaultValue?: string | undefined;
3103
3198
  }>;
3104
- export type Facility = z.infer<typeof Facility>;
3105
- declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3199
+ export type Country = z.infer<typeof Country>;
3200
+ export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3201
+ declare const AdministrativeAreaConfiguration: z.ZodObject<{
3202
+ partOf: z.ZodOptional<z.ZodObject<{
3203
+ $declaration: z.ZodString;
3204
+ }, "strip", z.ZodTypeAny, {
3205
+ $declaration: string;
3206
+ }, {
3207
+ $declaration: string;
3208
+ }>>;
3209
+ type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3210
+ }, "strip", z.ZodTypeAny, {
3211
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3212
+ partOf?: {
3213
+ $declaration: string;
3214
+ } | undefined;
3215
+ }, {
3216
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3217
+ partOf?: {
3218
+ $declaration: string;
3219
+ } | undefined;
3220
+ }>;
3221
+ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
3106
3222
  id: z.ZodString;
3107
3223
  parent: z.ZodOptional<z.ZodObject<{
3108
3224
  $$field: z.ZodString;
@@ -3113,6 +3229,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3113
3229
  }>>;
3114
3230
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3115
3231
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3232
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3116
3233
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3117
3234
  id: string;
3118
3235
  description: string;
@@ -3148,12 +3265,38 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3148
3265
  }>>;
3149
3266
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3150
3267
  }, {
3151
- type: z.ZodLiteral<"OFFICE">;
3268
+ type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
3152
3269
  defaultValue: z.ZodOptional<z.ZodString>;
3270
+ configuration: z.ZodObject<{
3271
+ partOf: z.ZodOptional<z.ZodObject<{
3272
+ $declaration: z.ZodString;
3273
+ }, "strip", z.ZodTypeAny, {
3274
+ $declaration: string;
3275
+ }, {
3276
+ $declaration: string;
3277
+ }>>;
3278
+ type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3279
+ }, "strip", z.ZodTypeAny, {
3280
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3281
+ partOf?: {
3282
+ $declaration: string;
3283
+ } | undefined;
3284
+ }, {
3285
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3286
+ partOf?: {
3287
+ $declaration: string;
3288
+ } | undefined;
3289
+ }>;
3153
3290
  }>, "strip", z.ZodTypeAny, {
3154
- type: "OFFICE";
3291
+ type: "ADMINISTRATIVE_AREA";
3155
3292
  id: string;
3156
3293
  label: TranslationConfig;
3294
+ configuration: {
3295
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3296
+ partOf?: {
3297
+ $declaration: string;
3298
+ } | undefined;
3299
+ };
3157
3300
  parent?: {
3158
3301
  $$field: string;
3159
3302
  } | undefined;
@@ -3172,18 +3315,25 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3172
3315
  type: "DISPLAY_ON_REVIEW";
3173
3316
  conditional: import(".").JSONSchema;
3174
3317
  })[] | undefined;
3318
+ secured?: boolean | undefined;
3175
3319
  placeholder?: TranslationConfig | undefined;
3176
3320
  helperText?: TranslationConfig | undefined;
3177
3321
  hideLabel?: boolean | undefined;
3178
3322
  defaultValue?: string | undefined;
3179
3323
  }, {
3180
- type: "OFFICE";
3324
+ type: "ADMINISTRATIVE_AREA";
3181
3325
  id: string;
3182
3326
  label: {
3183
3327
  id: string;
3184
3328
  description: string;
3185
3329
  defaultMessage: string;
3186
3330
  };
3331
+ configuration: {
3332
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3333
+ partOf?: {
3334
+ $declaration: string;
3335
+ } | undefined;
3336
+ };
3187
3337
  parent?: {
3188
3338
  $$field: string;
3189
3339
  } | undefined;
@@ -3206,6 +3356,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3206
3356
  type: "DISPLAY_ON_REVIEW";
3207
3357
  conditional: import(".").JSONSchema;
3208
3358
  })[] | undefined;
3359
+ secured?: boolean | undefined;
3209
3360
  placeholder?: {
3210
3361
  id: string;
3211
3362
  description: string;
@@ -3219,8 +3370,8 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3219
3370
  hideLabel?: boolean | undefined;
3220
3371
  defaultValue?: string | undefined;
3221
3372
  }>;
3222
- export type Office = z.infer<typeof Office>;
3223
- declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3373
+ export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
3374
+ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
3224
3375
  id: z.ZodString;
3225
3376
  parent: z.ZodOptional<z.ZodObject<{
3226
3377
  $$field: z.ZodString;
@@ -3231,6 +3382,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3231
3382
  }>>;
3232
3383
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3233
3384
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3385
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3234
3386
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3235
3387
  id: string;
3236
3388
  description: string;
@@ -3266,96 +3418,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3266
3418
  }>>;
3267
3419
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3268
3420
  }, {
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;
3309
- }, {
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;
3319
- }, {
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>;
3336
- }, "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;
3346
- }, {
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
- }>]>>;
3421
+ type: z.ZodLiteral<"LOCATION">;
3422
+ defaultValue: z.ZodOptional<z.ZodString>;
3357
3423
  }>, "strip", z.ZodTypeAny, {
3358
- type: "ADDRESS";
3424
+ type: "LOCATION";
3359
3425
  id: string;
3360
3426
  label: TranslationConfig;
3361
3427
  parent?: {
@@ -3376,40 +3442,13 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3376
3442
  type: "DISPLAY_ON_REVIEW";
3377
3443
  conditional: import(".").JSONSchema;
3378
3444
  })[] | undefined;
3445
+ secured?: boolean | undefined;
3379
3446
  placeholder?: TranslationConfig | undefined;
3380
3447
  helperText?: TranslationConfig | undefined;
3381
3448
  hideLabel?: boolean | undefined;
3382
- 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;
3449
+ defaultValue?: string | undefined;
3411
3450
  }, {
3412
- type: "ADDRESS";
3451
+ type: "LOCATION";
3413
3452
  id: string;
3414
3453
  label: {
3415
3454
  id: string;
@@ -3438,6 +3477,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3438
3477
  type: "DISPLAY_ON_REVIEW";
3439
3478
  conditional: import(".").JSONSchema;
3440
3479
  })[] | undefined;
3480
+ secured?: boolean | undefined;
3441
3481
  placeholder?: {
3442
3482
  id: string;
3443
3483
  description: string;
@@ -3449,70 +3489,1566 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3449
3489
  defaultMessage: string;
3450
3490
  } | undefined;
3451
3491
  hideLabel?: boolean | undefined;
3452
- defaultValue?: {
3453
- country: string;
3454
- district: string;
3455
- addressType: "DOMESTIC";
3456
- province: string;
3457
- urbanOrRural: "URBAN";
3458
- number?: string | undefined;
3459
- town?: string | undefined;
3460
- residentialArea?: string | undefined;
3461
- street?: string | undefined;
3462
- zipCode?: string | undefined;
3463
- } | {
3464
- country: string;
3465
- district: string;
3466
- addressType: "DOMESTIC";
3467
- province: string;
3468
- urbanOrRural: "RURAL";
3469
- village?: string | undefined;
3470
- } | {
3471
- country: string;
3472
- state: string;
3473
- addressType: "INTERNATIONAL";
3474
- district2: string;
3475
- cityOrTown?: string | undefined;
3476
- addressLine1?: string | undefined;
3477
- addressLine2?: string | undefined;
3478
- addressLine3?: string | undefined;
3479
- postcodeOrZip?: string | undefined;
3480
- } | undefined;
3492
+ defaultValue?: string | undefined;
3481
3493
  }>;
3482
- export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
3483
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3484
- id: string;
3485
- description: string;
3486
- defaultMessage: string;
3487
- }>;
3488
- value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3489
- id: string;
3490
- description: string;
3491
- defaultMessage: string;
3492
- }>, z.ZodString]>;
3494
+ export type Location = z.infer<typeof Location>;
3495
+ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
3496
+ id: z.ZodString;
3497
+ parent: z.ZodOptional<z.ZodObject<{
3498
+ $$field: z.ZodString;
3499
+ }, "strip", z.ZodTypeAny, {
3500
+ $$field: string;
3501
+ }, {
3502
+ $$field: string;
3503
+ }>>;
3504
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3505
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3506
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3507
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3508
+ id: string;
3509
+ description: string;
3510
+ defaultMessage: string;
3511
+ }>>;
3512
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3513
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3514
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3515
+ id: string;
3516
+ description: string;
3517
+ defaultMessage: string;
3518
+ }>;
3519
+ }, "strip", z.ZodTypeAny, {
3520
+ message: TranslationConfig;
3521
+ validator: import(".").JSONSchema;
3522
+ }, {
3523
+ message: {
3524
+ id: string;
3525
+ description: string;
3526
+ defaultMessage: string;
3527
+ };
3528
+ validator: import(".").JSONSchema;
3529
+ }>, "many">>>;
3530
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3531
+ id: string;
3532
+ description: string;
3533
+ defaultMessage: string;
3534
+ }>;
3535
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3536
+ id: string;
3537
+ description: string;
3538
+ defaultMessage: string;
3539
+ }>>;
3540
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3541
+ }, {
3542
+ type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
3543
+ options: z.ZodArray<z.ZodObject<{
3544
+ value: z.ZodString;
3545
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3546
+ id: string;
3547
+ description: string;
3548
+ defaultMessage: string;
3549
+ }>;
3550
+ }, "strip", z.ZodTypeAny, {
3551
+ value: string;
3552
+ label: TranslationConfig;
3553
+ }, {
3554
+ value: string;
3555
+ label: {
3556
+ id: string;
3557
+ description: string;
3558
+ defaultMessage: string;
3559
+ };
3560
+ }>, "many">;
3561
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
3562
+ path: z.ZodEffects<z.ZodString, string, string>;
3563
+ originalFilename: z.ZodString;
3564
+ type: z.ZodString;
3565
+ option: z.ZodString;
3566
+ }, "strip", z.ZodTypeAny, {
3567
+ type: string;
3568
+ option: string;
3569
+ path: string;
3570
+ originalFilename: string;
3571
+ }, {
3572
+ type: string;
3573
+ option: string;
3574
+ path: string;
3575
+ originalFilename: string;
3576
+ }>, "many">>;
3577
+ configuration: z.ZodDefault<z.ZodObject<{
3578
+ maxFileSize: z.ZodDefault<z.ZodNumber>;
3579
+ acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
3580
+ }, "strip", z.ZodTypeAny, {
3581
+ maxFileSize: number;
3582
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3583
+ }, {
3584
+ maxFileSize?: number | undefined;
3585
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3586
+ }>>;
3587
+ }>, "strip", z.ZodTypeAny, {
3588
+ type: "FILE_WITH_OPTIONS";
3589
+ id: string;
3590
+ options: {
3591
+ value: string;
3592
+ label: TranslationConfig;
3593
+ }[];
3594
+ label: TranslationConfig;
3595
+ configuration: {
3596
+ maxFileSize: number;
3597
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3598
+ };
3599
+ parent?: {
3600
+ $$field: string;
3601
+ } | undefined;
3602
+ validation?: {
3603
+ message: TranslationConfig;
3604
+ validator: import(".").JSONSchema;
3605
+ }[] | undefined;
3606
+ required?: boolean | undefined;
3607
+ conditionals?: ({
3608
+ type: "SHOW";
3609
+ conditional: import(".").JSONSchema;
3610
+ } | {
3611
+ type: "ENABLE";
3612
+ conditional: import(".").JSONSchema;
3613
+ } | {
3614
+ type: "DISPLAY_ON_REVIEW";
3615
+ conditional: import(".").JSONSchema;
3616
+ })[] | undefined;
3617
+ secured?: boolean | undefined;
3618
+ placeholder?: TranslationConfig | undefined;
3619
+ helperText?: TranslationConfig | undefined;
3620
+ hideLabel?: boolean | undefined;
3621
+ defaultValue?: {
3622
+ type: string;
3623
+ option: string;
3624
+ path: string;
3625
+ originalFilename: string;
3626
+ }[] | undefined;
3627
+ }, {
3628
+ type: "FILE_WITH_OPTIONS";
3629
+ id: string;
3630
+ options: {
3631
+ value: string;
3632
+ label: {
3633
+ id: string;
3634
+ description: string;
3635
+ defaultMessage: string;
3636
+ };
3637
+ }[];
3638
+ label: {
3639
+ id: string;
3640
+ description: string;
3641
+ defaultMessage: string;
3642
+ };
3643
+ parent?: {
3644
+ $$field: string;
3645
+ } | undefined;
3646
+ validation?: {
3647
+ message: {
3648
+ id: string;
3649
+ description: string;
3650
+ defaultMessage: string;
3651
+ };
3652
+ validator: import(".").JSONSchema;
3653
+ }[] | undefined;
3654
+ required?: boolean | undefined;
3655
+ conditionals?: ({
3656
+ type: "SHOW";
3657
+ conditional: import(".").JSONSchema;
3658
+ } | {
3659
+ type: "ENABLE";
3660
+ conditional: import(".").JSONSchema;
3661
+ } | {
3662
+ type: "DISPLAY_ON_REVIEW";
3663
+ conditional: import(".").JSONSchema;
3664
+ })[] | undefined;
3665
+ secured?: boolean | undefined;
3666
+ placeholder?: {
3667
+ id: string;
3668
+ description: string;
3669
+ defaultMessage: string;
3670
+ } | undefined;
3671
+ helperText?: {
3672
+ id: string;
3673
+ description: string;
3674
+ defaultMessage: string;
3675
+ } | undefined;
3676
+ hideLabel?: boolean | undefined;
3677
+ defaultValue?: {
3678
+ type: string;
3679
+ option: string;
3680
+ path: string;
3681
+ originalFilename: string;
3682
+ }[] | undefined;
3683
+ configuration?: {
3684
+ maxFileSize?: number | undefined;
3685
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3686
+ } | undefined;
3687
+ }>;
3688
+ export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
3689
+ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3690
+ id: z.ZodString;
3691
+ parent: z.ZodOptional<z.ZodObject<{
3692
+ $$field: z.ZodString;
3693
+ }, "strip", z.ZodTypeAny, {
3694
+ $$field: string;
3695
+ }, {
3696
+ $$field: string;
3697
+ }>>;
3698
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3699
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3700
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3701
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3702
+ id: string;
3703
+ description: string;
3704
+ defaultMessage: string;
3705
+ }>>;
3706
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3707
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3708
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3709
+ id: string;
3710
+ description: string;
3711
+ defaultMessage: string;
3712
+ }>;
3713
+ }, "strip", z.ZodTypeAny, {
3714
+ message: TranslationConfig;
3715
+ validator: import(".").JSONSchema;
3716
+ }, {
3717
+ message: {
3718
+ id: string;
3719
+ description: string;
3720
+ defaultMessage: string;
3721
+ };
3722
+ validator: import(".").JSONSchema;
3723
+ }>, "many">>>;
3724
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3725
+ id: string;
3726
+ description: string;
3727
+ defaultMessage: string;
3728
+ }>;
3729
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3730
+ id: string;
3731
+ description: string;
3732
+ defaultMessage: string;
3733
+ }>>;
3734
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3735
+ }, {
3736
+ type: z.ZodLiteral<"FACILITY">;
3737
+ defaultValue: z.ZodOptional<z.ZodString>;
3738
+ }>, "strip", z.ZodTypeAny, {
3739
+ type: "FACILITY";
3740
+ id: string;
3741
+ label: TranslationConfig;
3742
+ parent?: {
3743
+ $$field: string;
3744
+ } | undefined;
3745
+ validation?: {
3746
+ message: TranslationConfig;
3747
+ validator: import(".").JSONSchema;
3748
+ }[] | undefined;
3749
+ required?: boolean | undefined;
3750
+ conditionals?: ({
3751
+ type: "SHOW";
3752
+ conditional: import(".").JSONSchema;
3753
+ } | {
3754
+ type: "ENABLE";
3755
+ conditional: import(".").JSONSchema;
3756
+ } | {
3757
+ type: "DISPLAY_ON_REVIEW";
3758
+ conditional: import(".").JSONSchema;
3759
+ })[] | undefined;
3760
+ secured?: boolean | undefined;
3761
+ placeholder?: TranslationConfig | undefined;
3762
+ helperText?: TranslationConfig | undefined;
3763
+ hideLabel?: boolean | undefined;
3764
+ defaultValue?: string | undefined;
3765
+ }, {
3766
+ type: "FACILITY";
3767
+ id: string;
3768
+ label: {
3769
+ id: string;
3770
+ description: string;
3771
+ defaultMessage: string;
3772
+ };
3773
+ parent?: {
3774
+ $$field: string;
3775
+ } | undefined;
3776
+ validation?: {
3777
+ message: {
3778
+ id: string;
3779
+ description: string;
3780
+ defaultMessage: string;
3781
+ };
3782
+ validator: import(".").JSONSchema;
3783
+ }[] | undefined;
3784
+ required?: boolean | undefined;
3785
+ conditionals?: ({
3786
+ type: "SHOW";
3787
+ conditional: import(".").JSONSchema;
3788
+ } | {
3789
+ type: "ENABLE";
3790
+ conditional: import(".").JSONSchema;
3791
+ } | {
3792
+ type: "DISPLAY_ON_REVIEW";
3793
+ conditional: import(".").JSONSchema;
3794
+ })[] | undefined;
3795
+ secured?: boolean | undefined;
3796
+ placeholder?: {
3797
+ id: string;
3798
+ description: string;
3799
+ defaultMessage: string;
3800
+ } | undefined;
3801
+ helperText?: {
3802
+ id: string;
3803
+ description: string;
3804
+ defaultMessage: string;
3805
+ } | undefined;
3806
+ hideLabel?: boolean | undefined;
3807
+ defaultValue?: string | undefined;
3808
+ }>;
3809
+ export type Facility = z.infer<typeof Facility>;
3810
+ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3811
+ id: z.ZodString;
3812
+ parent: z.ZodOptional<z.ZodObject<{
3813
+ $$field: z.ZodString;
3814
+ }, "strip", z.ZodTypeAny, {
3815
+ $$field: string;
3816
+ }, {
3817
+ $$field: string;
3818
+ }>>;
3819
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3820
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3821
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3822
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3823
+ id: string;
3824
+ description: string;
3825
+ defaultMessage: string;
3826
+ }>>;
3827
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3828
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3829
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3830
+ id: string;
3831
+ description: string;
3832
+ defaultMessage: string;
3833
+ }>;
3834
+ }, "strip", z.ZodTypeAny, {
3835
+ message: TranslationConfig;
3836
+ validator: import(".").JSONSchema;
3837
+ }, {
3838
+ message: {
3839
+ id: string;
3840
+ description: string;
3841
+ defaultMessage: string;
3842
+ };
3843
+ validator: import(".").JSONSchema;
3844
+ }>, "many">>>;
3845
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3846
+ id: string;
3847
+ description: string;
3848
+ defaultMessage: string;
3849
+ }>;
3850
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3851
+ id: string;
3852
+ description: string;
3853
+ defaultMessage: string;
3854
+ }>>;
3855
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3856
+ }, {
3857
+ type: z.ZodLiteral<"OFFICE">;
3858
+ defaultValue: z.ZodOptional<z.ZodString>;
3859
+ }>, "strip", z.ZodTypeAny, {
3860
+ type: "OFFICE";
3861
+ id: string;
3862
+ label: TranslationConfig;
3863
+ parent?: {
3864
+ $$field: string;
3865
+ } | undefined;
3866
+ validation?: {
3867
+ message: TranslationConfig;
3868
+ validator: import(".").JSONSchema;
3869
+ }[] | undefined;
3870
+ required?: boolean | undefined;
3871
+ conditionals?: ({
3872
+ type: "SHOW";
3873
+ conditional: import(".").JSONSchema;
3874
+ } | {
3875
+ type: "ENABLE";
3876
+ conditional: import(".").JSONSchema;
3877
+ } | {
3878
+ type: "DISPLAY_ON_REVIEW";
3879
+ conditional: import(".").JSONSchema;
3880
+ })[] | undefined;
3881
+ secured?: boolean | undefined;
3882
+ placeholder?: TranslationConfig | undefined;
3883
+ helperText?: TranslationConfig | undefined;
3884
+ hideLabel?: boolean | undefined;
3885
+ defaultValue?: string | undefined;
3886
+ }, {
3887
+ type: "OFFICE";
3888
+ id: string;
3889
+ label: {
3890
+ id: string;
3891
+ description: string;
3892
+ defaultMessage: string;
3893
+ };
3894
+ parent?: {
3895
+ $$field: string;
3896
+ } | undefined;
3897
+ validation?: {
3898
+ message: {
3899
+ id: string;
3900
+ description: string;
3901
+ defaultMessage: string;
3902
+ };
3903
+ validator: import(".").JSONSchema;
3904
+ }[] | undefined;
3905
+ required?: boolean | undefined;
3906
+ conditionals?: ({
3907
+ type: "SHOW";
3908
+ conditional: import(".").JSONSchema;
3909
+ } | {
3910
+ type: "ENABLE";
3911
+ conditional: import(".").JSONSchema;
3912
+ } | {
3913
+ type: "DISPLAY_ON_REVIEW";
3914
+ conditional: import(".").JSONSchema;
3915
+ })[] | undefined;
3916
+ secured?: boolean | undefined;
3917
+ placeholder?: {
3918
+ id: string;
3919
+ description: string;
3920
+ defaultMessage: string;
3921
+ } | undefined;
3922
+ helperText?: {
3923
+ id: string;
3924
+ description: string;
3925
+ defaultMessage: string;
3926
+ } | undefined;
3927
+ hideLabel?: boolean | undefined;
3928
+ defaultValue?: string | undefined;
3929
+ }>;
3930
+ export type Office = z.infer<typeof Office>;
3931
+ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3932
+ id: z.ZodString;
3933
+ parent: z.ZodOptional<z.ZodObject<{
3934
+ $$field: z.ZodString;
3935
+ }, "strip", z.ZodTypeAny, {
3936
+ $$field: string;
3937
+ }, {
3938
+ $$field: string;
3939
+ }>>;
3940
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3941
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3942
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3943
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3944
+ id: string;
3945
+ description: string;
3946
+ defaultMessage: string;
3947
+ }>>;
3948
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3949
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3950
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3951
+ id: string;
3952
+ description: string;
3953
+ defaultMessage: string;
3954
+ }>;
3955
+ }, "strip", z.ZodTypeAny, {
3956
+ message: TranslationConfig;
3957
+ validator: import(".").JSONSchema;
3958
+ }, {
3959
+ message: {
3960
+ id: string;
3961
+ description: string;
3962
+ defaultMessage: string;
3963
+ };
3964
+ validator: import(".").JSONSchema;
3965
+ }>, "many">>>;
3966
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3967
+ id: string;
3968
+ description: string;
3969
+ defaultMessage: string;
3970
+ }>;
3971
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3972
+ id: string;
3973
+ description: string;
3974
+ defaultMessage: string;
3975
+ }>>;
3976
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3977
+ }, {
3978
+ type: z.ZodLiteral<"ADDRESS">;
3979
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3980
+ country: z.ZodString;
3981
+ addressType: z.ZodLiteral<"DOMESTIC">;
3982
+ province: z.ZodString;
3983
+ district: z.ZodString;
3984
+ }, {
3985
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3986
+ town: z.ZodOptional<z.ZodString>;
3987
+ residentialArea: z.ZodOptional<z.ZodString>;
3988
+ street: z.ZodOptional<z.ZodString>;
3989
+ number: z.ZodOptional<z.ZodString>;
3990
+ zipCode: z.ZodOptional<z.ZodString>;
3991
+ }>, "strip", z.ZodTypeAny, {
3992
+ country: string;
3993
+ district: string;
3994
+ addressType: "DOMESTIC";
3995
+ province: string;
3996
+ urbanOrRural: "URBAN";
3997
+ number?: string | undefined;
3998
+ town?: string | undefined;
3999
+ residentialArea?: string | undefined;
4000
+ street?: string | undefined;
4001
+ zipCode?: string | undefined;
4002
+ }, {
4003
+ country: string;
4004
+ district: string;
4005
+ addressType: "DOMESTIC";
4006
+ province: string;
4007
+ urbanOrRural: "URBAN";
4008
+ number?: string | undefined;
4009
+ town?: string | undefined;
4010
+ residentialArea?: string | undefined;
4011
+ street?: string | undefined;
4012
+ zipCode?: string | undefined;
4013
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4014
+ country: z.ZodString;
4015
+ addressType: z.ZodLiteral<"DOMESTIC">;
4016
+ province: z.ZodString;
4017
+ district: z.ZodString;
4018
+ }, {
4019
+ urbanOrRural: z.ZodLiteral<"RURAL">;
4020
+ village: z.ZodOptional<z.ZodString>;
4021
+ }>, "strip", z.ZodTypeAny, {
4022
+ country: string;
4023
+ district: string;
4024
+ addressType: "DOMESTIC";
4025
+ province: string;
4026
+ urbanOrRural: "RURAL";
4027
+ village?: string | undefined;
4028
+ }, {
4029
+ country: string;
4030
+ district: string;
4031
+ addressType: "DOMESTIC";
4032
+ province: string;
4033
+ urbanOrRural: "RURAL";
4034
+ village?: string | undefined;
4035
+ }>]>, z.ZodObject<{
4036
+ country: z.ZodString;
4037
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
4038
+ state: z.ZodString;
4039
+ district2: z.ZodString;
4040
+ cityOrTown: z.ZodOptional<z.ZodString>;
4041
+ addressLine1: z.ZodOptional<z.ZodString>;
4042
+ addressLine2: z.ZodOptional<z.ZodString>;
4043
+ addressLine3: z.ZodOptional<z.ZodString>;
4044
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
4045
+ }, "strip", z.ZodTypeAny, {
4046
+ country: string;
4047
+ state: string;
4048
+ addressType: "INTERNATIONAL";
4049
+ district2: string;
4050
+ cityOrTown?: string | undefined;
4051
+ addressLine1?: string | undefined;
4052
+ addressLine2?: string | undefined;
4053
+ addressLine3?: string | undefined;
4054
+ postcodeOrZip?: string | undefined;
4055
+ }, {
4056
+ country: string;
4057
+ state: string;
4058
+ addressType: "INTERNATIONAL";
4059
+ district2: string;
4060
+ cityOrTown?: string | undefined;
4061
+ addressLine1?: string | undefined;
4062
+ addressLine2?: string | undefined;
4063
+ addressLine3?: string | undefined;
4064
+ postcodeOrZip?: string | undefined;
4065
+ }>]>>;
4066
+ }>, "strip", z.ZodTypeAny, {
4067
+ type: "ADDRESS";
4068
+ id: string;
4069
+ label: TranslationConfig;
4070
+ parent?: {
4071
+ $$field: string;
4072
+ } | undefined;
4073
+ validation?: {
4074
+ message: TranslationConfig;
4075
+ validator: import(".").JSONSchema;
4076
+ }[] | undefined;
4077
+ required?: boolean | undefined;
4078
+ conditionals?: ({
4079
+ type: "SHOW";
4080
+ conditional: import(".").JSONSchema;
4081
+ } | {
4082
+ type: "ENABLE";
4083
+ conditional: import(".").JSONSchema;
4084
+ } | {
4085
+ type: "DISPLAY_ON_REVIEW";
4086
+ conditional: import(".").JSONSchema;
4087
+ })[] | undefined;
4088
+ secured?: boolean | undefined;
4089
+ placeholder?: TranslationConfig | undefined;
4090
+ helperText?: TranslationConfig | undefined;
4091
+ hideLabel?: boolean | undefined;
4092
+ defaultValue?: {
4093
+ country: string;
4094
+ district: string;
4095
+ addressType: "DOMESTIC";
4096
+ province: string;
4097
+ urbanOrRural: "URBAN";
4098
+ number?: string | undefined;
4099
+ town?: string | undefined;
4100
+ residentialArea?: string | undefined;
4101
+ street?: string | undefined;
4102
+ zipCode?: string | undefined;
4103
+ } | {
4104
+ country: string;
4105
+ district: string;
4106
+ addressType: "DOMESTIC";
4107
+ province: string;
4108
+ urbanOrRural: "RURAL";
4109
+ village?: string | undefined;
4110
+ } | {
4111
+ country: string;
4112
+ state: string;
4113
+ addressType: "INTERNATIONAL";
4114
+ district2: string;
4115
+ cityOrTown?: string | undefined;
4116
+ addressLine1?: string | undefined;
4117
+ addressLine2?: string | undefined;
4118
+ addressLine3?: string | undefined;
4119
+ postcodeOrZip?: string | undefined;
4120
+ } | undefined;
4121
+ }, {
4122
+ type: "ADDRESS";
4123
+ id: string;
4124
+ label: {
4125
+ id: string;
4126
+ description: string;
4127
+ defaultMessage: string;
4128
+ };
4129
+ parent?: {
4130
+ $$field: string;
4131
+ } | undefined;
4132
+ validation?: {
4133
+ message: {
4134
+ id: string;
4135
+ description: string;
4136
+ defaultMessage: string;
4137
+ };
4138
+ validator: import(".").JSONSchema;
4139
+ }[] | undefined;
4140
+ required?: boolean | undefined;
4141
+ conditionals?: ({
4142
+ type: "SHOW";
4143
+ conditional: import(".").JSONSchema;
4144
+ } | {
4145
+ type: "ENABLE";
4146
+ conditional: import(".").JSONSchema;
4147
+ } | {
4148
+ type: "DISPLAY_ON_REVIEW";
4149
+ conditional: import(".").JSONSchema;
4150
+ })[] | undefined;
4151
+ secured?: boolean | undefined;
4152
+ placeholder?: {
4153
+ id: string;
4154
+ description: string;
4155
+ defaultMessage: string;
4156
+ } | undefined;
4157
+ helperText?: {
4158
+ id: string;
4159
+ description: string;
4160
+ defaultMessage: string;
4161
+ } | undefined;
4162
+ hideLabel?: boolean | undefined;
4163
+ defaultValue?: {
4164
+ country: string;
4165
+ district: string;
4166
+ addressType: "DOMESTIC";
4167
+ province: string;
4168
+ urbanOrRural: "URBAN";
4169
+ number?: string | undefined;
4170
+ town?: string | undefined;
4171
+ residentialArea?: string | undefined;
4172
+ street?: string | undefined;
4173
+ zipCode?: string | undefined;
4174
+ } | {
4175
+ country: string;
4176
+ district: string;
4177
+ addressType: "DOMESTIC";
4178
+ province: string;
4179
+ urbanOrRural: "RURAL";
4180
+ village?: string | undefined;
4181
+ } | {
4182
+ country: string;
4183
+ state: string;
4184
+ addressType: "INTERNATIONAL";
4185
+ district2: string;
4186
+ cityOrTown?: string | undefined;
4187
+ addressLine1?: string | undefined;
4188
+ addressLine2?: string | undefined;
4189
+ addressLine3?: string | undefined;
4190
+ postcodeOrZip?: string | undefined;
4191
+ } | undefined;
4192
+ }>;
4193
+ export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
4194
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4195
+ id: string;
4196
+ description: string;
4197
+ defaultMessage: string;
4198
+ }>;
4199
+ value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4200
+ id: string;
4201
+ description: string;
4202
+ defaultMessage: string;
4203
+ }>, z.ZodString]>;
3493
4204
  }, "strip", z.ZodTypeAny, {
3494
4205
  value: string | TranslationConfig;
3495
4206
  label: TranslationConfig;
3496
4207
  }, {
3497
- value: string | {
4208
+ value: string | {
4209
+ id: string;
4210
+ description: string;
4211
+ defaultMessage: string;
4212
+ };
4213
+ label: {
4214
+ id: string;
4215
+ description: string;
4216
+ defaultMessage: string;
4217
+ };
4218
+ }>, z.ZodObject<{
4219
+ fieldId: z.ZodString;
4220
+ }, "strip", z.ZodTypeAny, {
4221
+ fieldId: string;
4222
+ }, {
4223
+ fieldId: string;
4224
+ }>]>;
4225
+ export type DataEntry = z.infer<typeof DataEntry>;
4226
+ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
4227
+ id: z.ZodString;
4228
+ parent: z.ZodOptional<z.ZodObject<{
4229
+ $$field: z.ZodString;
4230
+ }, "strip", z.ZodTypeAny, {
4231
+ $$field: string;
4232
+ }, {
4233
+ $$field: string;
4234
+ }>>;
4235
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4236
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4237
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4238
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4239
+ id: string;
4240
+ description: string;
4241
+ defaultMessage: string;
4242
+ }>>;
4243
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4244
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4245
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4246
+ id: string;
4247
+ description: string;
4248
+ defaultMessage: string;
4249
+ }>;
4250
+ }, "strip", z.ZodTypeAny, {
4251
+ message: TranslationConfig;
4252
+ validator: import(".").JSONSchema;
4253
+ }, {
4254
+ message: {
4255
+ id: string;
4256
+ description: string;
4257
+ defaultMessage: string;
4258
+ };
4259
+ validator: import(".").JSONSchema;
4260
+ }>, "many">>>;
4261
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4262
+ id: string;
4263
+ description: string;
4264
+ defaultMessage: string;
4265
+ }>;
4266
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4267
+ id: string;
4268
+ description: string;
4269
+ defaultMessage: string;
4270
+ }>>;
4271
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4272
+ }, {
4273
+ type: z.ZodLiteral<"DATA">;
4274
+ configuration: z.ZodObject<{
4275
+ subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4276
+ id: string;
4277
+ description: string;
4278
+ defaultMessage: string;
4279
+ }>>;
4280
+ data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4281
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4282
+ id: string;
4283
+ description: string;
4284
+ defaultMessage: string;
4285
+ }>;
4286
+ value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4287
+ id: string;
4288
+ description: string;
4289
+ defaultMessage: string;
4290
+ }>, z.ZodString]>;
4291
+ }, "strip", z.ZodTypeAny, {
4292
+ value: string | TranslationConfig;
4293
+ label: TranslationConfig;
4294
+ }, {
4295
+ value: string | {
4296
+ id: string;
4297
+ description: string;
4298
+ defaultMessage: string;
4299
+ };
4300
+ label: {
4301
+ id: string;
4302
+ description: string;
4303
+ defaultMessage: string;
4304
+ };
4305
+ }>, z.ZodObject<{
4306
+ fieldId: z.ZodString;
4307
+ }, "strip", z.ZodTypeAny, {
4308
+ fieldId: string;
4309
+ }, {
4310
+ fieldId: string;
4311
+ }>]>, "many">;
4312
+ }, "strip", z.ZodTypeAny, {
4313
+ data: ({
4314
+ value: string | TranslationConfig;
4315
+ label: TranslationConfig;
4316
+ } | {
4317
+ fieldId: string;
4318
+ })[];
4319
+ subtitle?: TranslationConfig | undefined;
4320
+ }, {
4321
+ data: ({
4322
+ value: string | {
4323
+ id: string;
4324
+ description: string;
4325
+ defaultMessage: string;
4326
+ };
4327
+ label: {
4328
+ id: string;
4329
+ description: string;
4330
+ defaultMessage: string;
4331
+ };
4332
+ } | {
4333
+ fieldId: string;
4334
+ })[];
4335
+ subtitle?: {
4336
+ id: string;
4337
+ description: string;
4338
+ defaultMessage: string;
4339
+ } | undefined;
4340
+ }>;
4341
+ }>, "strip", z.ZodTypeAny, {
4342
+ type: "DATA";
4343
+ id: string;
4344
+ label: TranslationConfig;
4345
+ configuration: {
4346
+ data: ({
4347
+ value: string | TranslationConfig;
4348
+ label: TranslationConfig;
4349
+ } | {
4350
+ fieldId: string;
4351
+ })[];
4352
+ subtitle?: TranslationConfig | undefined;
4353
+ };
4354
+ parent?: {
4355
+ $$field: string;
4356
+ } | undefined;
4357
+ validation?: {
4358
+ message: TranslationConfig;
4359
+ validator: import(".").JSONSchema;
4360
+ }[] | undefined;
4361
+ required?: boolean | undefined;
4362
+ conditionals?: ({
4363
+ type: "SHOW";
4364
+ conditional: import(".").JSONSchema;
4365
+ } | {
4366
+ type: "ENABLE";
4367
+ conditional: import(".").JSONSchema;
4368
+ } | {
4369
+ type: "DISPLAY_ON_REVIEW";
4370
+ conditional: import(".").JSONSchema;
4371
+ })[] | undefined;
4372
+ secured?: boolean | undefined;
4373
+ placeholder?: TranslationConfig | undefined;
4374
+ helperText?: TranslationConfig | undefined;
4375
+ hideLabel?: boolean | undefined;
4376
+ }, {
4377
+ type: "DATA";
4378
+ id: string;
4379
+ label: {
4380
+ id: string;
4381
+ description: string;
4382
+ defaultMessage: string;
4383
+ };
4384
+ configuration: {
4385
+ data: ({
4386
+ value: string | {
4387
+ id: string;
4388
+ description: string;
4389
+ defaultMessage: string;
4390
+ };
4391
+ label: {
4392
+ id: string;
4393
+ description: string;
4394
+ defaultMessage: string;
4395
+ };
4396
+ } | {
4397
+ fieldId: string;
4398
+ })[];
4399
+ subtitle?: {
4400
+ id: string;
4401
+ description: string;
4402
+ defaultMessage: string;
4403
+ } | undefined;
4404
+ };
4405
+ parent?: {
4406
+ $$field: string;
4407
+ } | undefined;
4408
+ validation?: {
4409
+ message: {
4410
+ id: string;
4411
+ description: string;
4412
+ defaultMessage: string;
4413
+ };
4414
+ validator: import(".").JSONSchema;
4415
+ }[] | undefined;
4416
+ required?: boolean | undefined;
4417
+ conditionals?: ({
4418
+ type: "SHOW";
4419
+ conditional: import(".").JSONSchema;
4420
+ } | {
4421
+ type: "ENABLE";
4422
+ conditional: import(".").JSONSchema;
4423
+ } | {
4424
+ type: "DISPLAY_ON_REVIEW";
4425
+ conditional: import(".").JSONSchema;
4426
+ })[] | undefined;
4427
+ secured?: boolean | undefined;
4428
+ placeholder?: {
4429
+ id: string;
4430
+ description: string;
4431
+ defaultMessage: string;
4432
+ } | undefined;
4433
+ helperText?: {
4434
+ id: string;
4435
+ description: string;
4436
+ defaultMessage: string;
4437
+ } | undefined;
4438
+ hideLabel?: boolean | undefined;
4439
+ }>;
4440
+ export type DataField = z.infer<typeof DataField>;
4441
+ /** @knipignore */
4442
+ 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 SelectDateRangeField> | 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>;
4443
+ /** @knipignore */
4444
+ /**
4445
+ * This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
4446
+ */
4447
+ 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>;
4448
+ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4449
+ id: z.ZodString;
4450
+ parent: z.ZodOptional<z.ZodObject<{
4451
+ $$field: z.ZodString;
4452
+ }, "strip", z.ZodTypeAny, {
4453
+ $$field: string;
4454
+ }, {
4455
+ $$field: string;
4456
+ }>>;
4457
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4458
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4459
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4460
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4461
+ id: string;
4462
+ description: string;
4463
+ defaultMessage: string;
4464
+ }>>;
4465
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4466
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4467
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4468
+ id: string;
4469
+ description: string;
4470
+ defaultMessage: string;
4471
+ }>;
4472
+ }, "strip", z.ZodTypeAny, {
4473
+ message: TranslationConfig;
4474
+ validator: import(".").JSONSchema;
4475
+ }, {
4476
+ message: {
4477
+ id: string;
4478
+ description: string;
4479
+ defaultMessage: string;
4480
+ };
4481
+ validator: import(".").JSONSchema;
4482
+ }>, "many">>>;
4483
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4484
+ id: string;
4485
+ description: string;
4486
+ defaultMessage: string;
4487
+ }>;
4488
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4489
+ id: string;
4490
+ description: string;
4491
+ defaultMessage: string;
4492
+ }>>;
4493
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4494
+ }, {
4495
+ type: z.ZodLiteral<"ADDRESS">;
4496
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
4497
+ country: z.ZodString;
4498
+ addressType: z.ZodLiteral<"DOMESTIC">;
4499
+ province: z.ZodString;
4500
+ district: z.ZodString;
4501
+ }, {
4502
+ urbanOrRural: z.ZodLiteral<"URBAN">;
4503
+ town: z.ZodOptional<z.ZodString>;
4504
+ residentialArea: z.ZodOptional<z.ZodString>;
4505
+ street: z.ZodOptional<z.ZodString>;
4506
+ number: z.ZodOptional<z.ZodString>;
4507
+ zipCode: z.ZodOptional<z.ZodString>;
4508
+ }>, "strip", z.ZodTypeAny, {
4509
+ country: string;
4510
+ district: string;
4511
+ addressType: "DOMESTIC";
4512
+ province: string;
4513
+ urbanOrRural: "URBAN";
4514
+ number?: string | undefined;
4515
+ town?: string | undefined;
4516
+ residentialArea?: string | undefined;
4517
+ street?: string | undefined;
4518
+ zipCode?: string | undefined;
4519
+ }, {
4520
+ country: string;
4521
+ district: string;
4522
+ addressType: "DOMESTIC";
4523
+ province: string;
4524
+ urbanOrRural: "URBAN";
4525
+ number?: string | undefined;
4526
+ town?: string | undefined;
4527
+ residentialArea?: string | undefined;
4528
+ street?: string | undefined;
4529
+ zipCode?: string | undefined;
4530
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4531
+ country: z.ZodString;
4532
+ addressType: z.ZodLiteral<"DOMESTIC">;
4533
+ province: z.ZodString;
4534
+ district: z.ZodString;
4535
+ }, {
4536
+ urbanOrRural: z.ZodLiteral<"RURAL">;
4537
+ village: z.ZodOptional<z.ZodString>;
4538
+ }>, "strip", z.ZodTypeAny, {
4539
+ country: string;
4540
+ district: string;
4541
+ addressType: "DOMESTIC";
4542
+ province: string;
4543
+ urbanOrRural: "RURAL";
4544
+ village?: string | undefined;
4545
+ }, {
4546
+ country: string;
4547
+ district: string;
4548
+ addressType: "DOMESTIC";
4549
+ province: string;
4550
+ urbanOrRural: "RURAL";
4551
+ village?: string | undefined;
4552
+ }>]>, z.ZodObject<{
4553
+ country: z.ZodString;
4554
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
4555
+ state: z.ZodString;
4556
+ district2: z.ZodString;
4557
+ cityOrTown: z.ZodOptional<z.ZodString>;
4558
+ addressLine1: z.ZodOptional<z.ZodString>;
4559
+ addressLine2: z.ZodOptional<z.ZodString>;
4560
+ addressLine3: z.ZodOptional<z.ZodString>;
4561
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
4562
+ }, "strip", z.ZodTypeAny, {
4563
+ country: string;
4564
+ state: string;
4565
+ addressType: "INTERNATIONAL";
4566
+ district2: string;
4567
+ cityOrTown?: string | undefined;
4568
+ addressLine1?: string | undefined;
4569
+ addressLine2?: string | undefined;
4570
+ addressLine3?: string | undefined;
4571
+ postcodeOrZip?: string | undefined;
4572
+ }, {
4573
+ country: string;
4574
+ state: string;
4575
+ addressType: "INTERNATIONAL";
4576
+ district2: string;
4577
+ cityOrTown?: string | undefined;
4578
+ addressLine1?: string | undefined;
4579
+ addressLine2?: string | undefined;
4580
+ addressLine3?: string | undefined;
4581
+ postcodeOrZip?: string | undefined;
4582
+ }>]>>;
4583
+ }>, "strip", z.ZodTypeAny, {
4584
+ type: "ADDRESS";
4585
+ id: string;
4586
+ label: TranslationConfig;
4587
+ parent?: {
4588
+ $$field: string;
4589
+ } | undefined;
4590
+ validation?: {
4591
+ message: TranslationConfig;
4592
+ validator: import(".").JSONSchema;
4593
+ }[] | undefined;
4594
+ required?: boolean | undefined;
4595
+ conditionals?: ({
4596
+ type: "SHOW";
4597
+ conditional: import(".").JSONSchema;
4598
+ } | {
4599
+ type: "ENABLE";
4600
+ conditional: import(".").JSONSchema;
4601
+ } | {
4602
+ type: "DISPLAY_ON_REVIEW";
4603
+ conditional: import(".").JSONSchema;
4604
+ })[] | undefined;
4605
+ secured?: boolean | undefined;
4606
+ placeholder?: TranslationConfig | undefined;
4607
+ helperText?: TranslationConfig | undefined;
4608
+ hideLabel?: boolean | undefined;
4609
+ defaultValue?: {
4610
+ country: string;
4611
+ district: string;
4612
+ addressType: "DOMESTIC";
4613
+ province: string;
4614
+ urbanOrRural: "URBAN";
4615
+ number?: string | undefined;
4616
+ town?: string | undefined;
4617
+ residentialArea?: string | undefined;
4618
+ street?: string | undefined;
4619
+ zipCode?: string | undefined;
4620
+ } | {
4621
+ country: string;
4622
+ district: string;
4623
+ addressType: "DOMESTIC";
4624
+ province: string;
4625
+ urbanOrRural: "RURAL";
4626
+ village?: string | undefined;
4627
+ } | {
4628
+ country: string;
4629
+ state: string;
4630
+ addressType: "INTERNATIONAL";
4631
+ district2: string;
4632
+ cityOrTown?: string | undefined;
4633
+ addressLine1?: string | undefined;
4634
+ addressLine2?: string | undefined;
4635
+ addressLine3?: string | undefined;
4636
+ postcodeOrZip?: string | undefined;
4637
+ } | undefined;
4638
+ }, {
4639
+ type: "ADDRESS";
4640
+ id: string;
4641
+ label: {
4642
+ id: string;
4643
+ description: string;
4644
+ defaultMessage: string;
4645
+ };
4646
+ parent?: {
4647
+ $$field: string;
4648
+ } | undefined;
4649
+ validation?: {
4650
+ message: {
4651
+ id: string;
4652
+ description: string;
4653
+ defaultMessage: string;
4654
+ };
4655
+ validator: import(".").JSONSchema;
4656
+ }[] | undefined;
4657
+ required?: boolean | undefined;
4658
+ conditionals?: ({
4659
+ type: "SHOW";
4660
+ conditional: import(".").JSONSchema;
4661
+ } | {
4662
+ type: "ENABLE";
4663
+ conditional: import(".").JSONSchema;
4664
+ } | {
4665
+ type: "DISPLAY_ON_REVIEW";
4666
+ conditional: import(".").JSONSchema;
4667
+ })[] | undefined;
4668
+ secured?: boolean | undefined;
4669
+ placeholder?: {
4670
+ id: string;
4671
+ description: string;
4672
+ defaultMessage: string;
4673
+ } | undefined;
4674
+ helperText?: {
4675
+ id: string;
4676
+ description: string;
4677
+ defaultMessage: string;
4678
+ } | undefined;
4679
+ hideLabel?: boolean | undefined;
4680
+ defaultValue?: {
4681
+ country: string;
4682
+ district: string;
4683
+ addressType: "DOMESTIC";
4684
+ province: string;
4685
+ urbanOrRural: "URBAN";
4686
+ number?: string | undefined;
4687
+ town?: string | undefined;
4688
+ residentialArea?: string | undefined;
4689
+ street?: string | undefined;
4690
+ zipCode?: string | undefined;
4691
+ } | {
4692
+ country: string;
4693
+ district: string;
4694
+ addressType: "DOMESTIC";
4695
+ province: string;
4696
+ urbanOrRural: "RURAL";
4697
+ village?: string | undefined;
4698
+ } | {
4699
+ country: string;
4700
+ state: string;
4701
+ addressType: "INTERNATIONAL";
4702
+ district2: string;
4703
+ cityOrTown?: string | undefined;
4704
+ addressLine1?: string | undefined;
4705
+ addressLine2?: string | undefined;
4706
+ addressLine3?: string | undefined;
4707
+ postcodeOrZip?: string | undefined;
4708
+ } | undefined;
4709
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4710
+ id: z.ZodString;
4711
+ parent: z.ZodOptional<z.ZodObject<{
4712
+ $$field: z.ZodString;
4713
+ }, "strip", z.ZodTypeAny, {
4714
+ $$field: string;
4715
+ }, {
4716
+ $$field: string;
4717
+ }>>;
4718
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4719
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4720
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4721
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4722
+ id: string;
4723
+ description: string;
4724
+ defaultMessage: string;
4725
+ }>>;
4726
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4727
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4728
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4729
+ id: string;
4730
+ description: string;
4731
+ defaultMessage: string;
4732
+ }>;
4733
+ }, "strip", z.ZodTypeAny, {
4734
+ message: TranslationConfig;
4735
+ validator: import(".").JSONSchema;
4736
+ }, {
4737
+ message: {
4738
+ id: string;
4739
+ description: string;
4740
+ defaultMessage: string;
4741
+ };
4742
+ validator: import(".").JSONSchema;
4743
+ }>, "many">>>;
4744
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4745
+ id: string;
4746
+ description: string;
4747
+ defaultMessage: string;
4748
+ }>;
4749
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4750
+ id: string;
4751
+ description: string;
4752
+ defaultMessage: string;
4753
+ }>>;
4754
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4755
+ }, {
4756
+ type: z.ZodLiteral<"TEXT">;
4757
+ defaultValue: z.ZodOptional<z.ZodString>;
4758
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4759
+ maxLength: z.ZodOptional<z.ZodNumber>;
4760
+ type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
4761
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4762
+ id: string;
4763
+ description: string;
4764
+ defaultMessage: string;
4765
+ }>>;
4766
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4767
+ id: string;
4768
+ description: string;
4769
+ defaultMessage: string;
4770
+ }>>;
4771
+ }, "strip", z.ZodTypeAny, {
4772
+ type?: "text" | "password" | undefined;
4773
+ maxLength?: number | undefined;
4774
+ prefix?: TranslationConfig | undefined;
4775
+ postfix?: TranslationConfig | undefined;
4776
+ }, {
4777
+ type?: "text" | "password" | undefined;
4778
+ maxLength?: number | undefined;
4779
+ prefix?: {
4780
+ id: string;
4781
+ description: string;
4782
+ defaultMessage: string;
4783
+ } | undefined;
4784
+ postfix?: {
4785
+ id: string;
4786
+ description: string;
4787
+ defaultMessage: string;
4788
+ } | undefined;
4789
+ }>>>;
4790
+ }>, "strip", z.ZodTypeAny, {
4791
+ type: "TEXT";
4792
+ id: string;
4793
+ label: TranslationConfig;
4794
+ parent?: {
4795
+ $$field: string;
4796
+ } | undefined;
4797
+ validation?: {
4798
+ message: TranslationConfig;
4799
+ validator: import(".").JSONSchema;
4800
+ }[] | undefined;
4801
+ required?: boolean | undefined;
4802
+ conditionals?: ({
4803
+ type: "SHOW";
4804
+ conditional: import(".").JSONSchema;
4805
+ } | {
4806
+ type: "ENABLE";
4807
+ conditional: import(".").JSONSchema;
4808
+ } | {
4809
+ type: "DISPLAY_ON_REVIEW";
4810
+ conditional: import(".").JSONSchema;
4811
+ })[] | undefined;
4812
+ secured?: boolean | undefined;
4813
+ placeholder?: TranslationConfig | undefined;
4814
+ helperText?: TranslationConfig | undefined;
4815
+ hideLabel?: boolean | undefined;
4816
+ defaultValue?: string | undefined;
4817
+ configuration?: {
4818
+ type?: "text" | "password" | undefined;
4819
+ maxLength?: number | undefined;
4820
+ prefix?: TranslationConfig | undefined;
4821
+ postfix?: TranslationConfig | undefined;
4822
+ } | undefined;
4823
+ }, {
4824
+ type: "TEXT";
4825
+ id: string;
4826
+ label: {
4827
+ id: string;
4828
+ description: string;
4829
+ defaultMessage: string;
4830
+ };
4831
+ parent?: {
4832
+ $$field: string;
4833
+ } | undefined;
4834
+ validation?: {
4835
+ message: {
4836
+ id: string;
4837
+ description: string;
4838
+ defaultMessage: string;
4839
+ };
4840
+ validator: import(".").JSONSchema;
4841
+ }[] | undefined;
4842
+ required?: boolean | undefined;
4843
+ conditionals?: ({
4844
+ type: "SHOW";
4845
+ conditional: import(".").JSONSchema;
4846
+ } | {
4847
+ type: "ENABLE";
4848
+ conditional: import(".").JSONSchema;
4849
+ } | {
4850
+ type: "DISPLAY_ON_REVIEW";
4851
+ conditional: import(".").JSONSchema;
4852
+ })[] | undefined;
4853
+ secured?: boolean | undefined;
4854
+ placeholder?: {
4855
+ id: string;
4856
+ description: string;
4857
+ defaultMessage: string;
4858
+ } | undefined;
4859
+ helperText?: {
4860
+ id: string;
4861
+ description: string;
4862
+ defaultMessage: string;
4863
+ } | undefined;
4864
+ hideLabel?: boolean | undefined;
4865
+ defaultValue?: string | undefined;
4866
+ configuration?: {
4867
+ type?: "text" | "password" | undefined;
4868
+ maxLength?: number | undefined;
4869
+ prefix?: {
4870
+ id: string;
4871
+ description: string;
4872
+ defaultMessage: string;
4873
+ } | undefined;
4874
+ postfix?: {
4875
+ id: string;
4876
+ description: string;
4877
+ defaultMessage: string;
4878
+ } | undefined;
4879
+ } | undefined;
4880
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4881
+ id: z.ZodString;
4882
+ parent: z.ZodOptional<z.ZodObject<{
4883
+ $$field: z.ZodString;
4884
+ }, "strip", z.ZodTypeAny, {
4885
+ $$field: string;
4886
+ }, {
4887
+ $$field: string;
4888
+ }>>;
4889
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4890
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4891
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4892
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4893
+ id: string;
4894
+ description: string;
4895
+ defaultMessage: string;
4896
+ }>>;
4897
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4898
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4899
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4900
+ id: string;
4901
+ description: string;
4902
+ defaultMessage: string;
4903
+ }>;
4904
+ }, "strip", z.ZodTypeAny, {
4905
+ message: TranslationConfig;
4906
+ validator: import(".").JSONSchema;
4907
+ }, {
4908
+ message: {
4909
+ id: string;
4910
+ description: string;
4911
+ defaultMessage: string;
4912
+ };
4913
+ validator: import(".").JSONSchema;
4914
+ }>, "many">>>;
4915
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4916
+ id: string;
4917
+ description: string;
4918
+ defaultMessage: string;
4919
+ }>;
4920
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4921
+ id: string;
4922
+ description: string;
4923
+ defaultMessage: string;
4924
+ }>>;
4925
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4926
+ }, {
4927
+ type: z.ZodLiteral<"NUMBER">;
4928
+ defaultValue: z.ZodOptional<z.ZodNumber>;
4929
+ configuration: z.ZodOptional<z.ZodObject<{
4930
+ min: z.ZodOptional<z.ZodNumber>;
4931
+ max: z.ZodOptional<z.ZodNumber>;
4932
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4933
+ id: string;
4934
+ description: string;
4935
+ defaultMessage: string;
4936
+ }>>;
4937
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4938
+ id: string;
4939
+ description: string;
4940
+ defaultMessage: string;
4941
+ }>>;
4942
+ }, "strip", z.ZodTypeAny, {
4943
+ prefix?: TranslationConfig | undefined;
4944
+ postfix?: TranslationConfig | undefined;
4945
+ min?: number | undefined;
4946
+ max?: number | undefined;
4947
+ }, {
4948
+ prefix?: {
4949
+ id: string;
4950
+ description: string;
4951
+ defaultMessage: string;
4952
+ } | undefined;
4953
+ postfix?: {
4954
+ id: string;
4955
+ description: string;
4956
+ defaultMessage: string;
4957
+ } | undefined;
4958
+ min?: number | undefined;
4959
+ max?: number | undefined;
4960
+ }>>;
4961
+ }>, "strip", z.ZodTypeAny, {
4962
+ type: "NUMBER";
4963
+ id: string;
4964
+ label: TranslationConfig;
4965
+ parent?: {
4966
+ $$field: string;
4967
+ } | undefined;
4968
+ validation?: {
4969
+ message: TranslationConfig;
4970
+ validator: import(".").JSONSchema;
4971
+ }[] | undefined;
4972
+ required?: boolean | undefined;
4973
+ conditionals?: ({
4974
+ type: "SHOW";
4975
+ conditional: import(".").JSONSchema;
4976
+ } | {
4977
+ type: "ENABLE";
4978
+ conditional: import(".").JSONSchema;
4979
+ } | {
4980
+ type: "DISPLAY_ON_REVIEW";
4981
+ conditional: import(".").JSONSchema;
4982
+ })[] | undefined;
4983
+ secured?: boolean | undefined;
4984
+ placeholder?: TranslationConfig | undefined;
4985
+ helperText?: TranslationConfig | undefined;
4986
+ hideLabel?: boolean | undefined;
4987
+ defaultValue?: number | undefined;
4988
+ configuration?: {
4989
+ prefix?: TranslationConfig | undefined;
4990
+ postfix?: TranslationConfig | undefined;
4991
+ min?: number | undefined;
4992
+ max?: number | undefined;
4993
+ } | undefined;
4994
+ }, {
4995
+ type: "NUMBER";
4996
+ id: string;
4997
+ label: {
3498
4998
  id: string;
3499
4999
  description: string;
3500
5000
  defaultMessage: string;
3501
5001
  };
3502
- label: {
5002
+ parent?: {
5003
+ $$field: string;
5004
+ } | undefined;
5005
+ validation?: {
5006
+ message: {
5007
+ id: string;
5008
+ description: string;
5009
+ defaultMessage: string;
5010
+ };
5011
+ validator: import(".").JSONSchema;
5012
+ }[] | undefined;
5013
+ required?: boolean | undefined;
5014
+ conditionals?: ({
5015
+ type: "SHOW";
5016
+ conditional: import(".").JSONSchema;
5017
+ } | {
5018
+ type: "ENABLE";
5019
+ conditional: import(".").JSONSchema;
5020
+ } | {
5021
+ type: "DISPLAY_ON_REVIEW";
5022
+ conditional: import(".").JSONSchema;
5023
+ })[] | undefined;
5024
+ secured?: boolean | undefined;
5025
+ placeholder?: {
3503
5026
  id: string;
3504
5027
  description: string;
3505
5028
  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<{
5029
+ } | undefined;
5030
+ helperText?: {
5031
+ id: string;
5032
+ description: string;
5033
+ defaultMessage: string;
5034
+ } | undefined;
5035
+ hideLabel?: boolean | undefined;
5036
+ defaultValue?: number | undefined;
5037
+ configuration?: {
5038
+ prefix?: {
5039
+ id: string;
5040
+ description: string;
5041
+ defaultMessage: string;
5042
+ } | undefined;
5043
+ postfix?: {
5044
+ id: string;
5045
+ description: string;
5046
+ defaultMessage: string;
5047
+ } | undefined;
5048
+ min?: number | undefined;
5049
+ max?: number | undefined;
5050
+ } | undefined;
5051
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3516
5052
  id: z.ZodString;
3517
5053
  parent: z.ZodOptional<z.ZodObject<{
3518
5054
  $$field: z.ZodString;
@@ -3523,6 +5059,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3523
5059
  }>>;
3524
5060
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3525
5061
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5062
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3526
5063
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3527
5064
  id: string;
3528
5065
  description: string;
@@ -3558,87 +5095,47 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3558
5095
  }>>;
3559
5096
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3560
5097
  }, {
3561
- type: z.ZodLiteral<"DATA">;
3562
- configuration: z.ZodObject<{
3563
- subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5098
+ type: z.ZodLiteral<"TEXTAREA">;
5099
+ defaultValue: z.ZodOptional<z.ZodString>;
5100
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
5101
+ maxLength: z.ZodOptional<z.ZodNumber>;
5102
+ rows: z.ZodOptional<z.ZodNumber>;
5103
+ cols: z.ZodOptional<z.ZodNumber>;
5104
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5105
+ id: string;
5106
+ description: string;
5107
+ defaultMessage: string;
5108
+ }>>;
5109
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3564
5110
  id: string;
3565
5111
  description: string;
3566
5112
  defaultMessage: string;
3567
5113
  }>>;
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
5114
  }, "strip", z.ZodTypeAny, {
3601
- data: ({
3602
- value: string | TranslationConfig;
3603
- label: TranslationConfig;
3604
- } | {
3605
- fieldId: string;
3606
- })[];
3607
- subtitle?: TranslationConfig | undefined;
3608
- }, {
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?: {
5115
+ maxLength?: number | undefined;
5116
+ prefix?: TranslationConfig | undefined;
5117
+ postfix?: TranslationConfig | undefined;
5118
+ rows?: number | undefined;
5119
+ cols?: number | undefined;
5120
+ }, {
5121
+ maxLength?: number | undefined;
5122
+ prefix?: {
3624
5123
  id: string;
3625
5124
  description: string;
3626
5125
  defaultMessage: string;
3627
5126
  } | undefined;
3628
- }>;
5127
+ postfix?: {
5128
+ id: string;
5129
+ description: string;
5130
+ defaultMessage: string;
5131
+ } | undefined;
5132
+ rows?: number | undefined;
5133
+ cols?: number | undefined;
5134
+ }>>>;
3629
5135
  }>, "strip", z.ZodTypeAny, {
3630
- type: "DATA";
5136
+ type: "TEXTAREA";
3631
5137
  id: string;
3632
5138
  label: TranslationConfig;
3633
- configuration: {
3634
- data: ({
3635
- value: string | TranslationConfig;
3636
- label: TranslationConfig;
3637
- } | {
3638
- fieldId: string;
3639
- })[];
3640
- subtitle?: TranslationConfig | undefined;
3641
- };
3642
5139
  parent?: {
3643
5140
  $$field: string;
3644
5141
  } | undefined;
@@ -3657,38 +5154,26 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3657
5154
  type: "DISPLAY_ON_REVIEW";
3658
5155
  conditional: import(".").JSONSchema;
3659
5156
  })[] | undefined;
5157
+ secured?: boolean | undefined;
3660
5158
  placeholder?: TranslationConfig | undefined;
3661
5159
  helperText?: TranslationConfig | undefined;
3662
5160
  hideLabel?: boolean | undefined;
5161
+ defaultValue?: string | undefined;
5162
+ configuration?: {
5163
+ maxLength?: number | undefined;
5164
+ prefix?: TranslationConfig | undefined;
5165
+ postfix?: TranslationConfig | undefined;
5166
+ rows?: number | undefined;
5167
+ cols?: number | undefined;
5168
+ } | undefined;
3663
5169
  }, {
3664
- type: "DATA";
5170
+ type: "TEXTAREA";
3665
5171
  id: string;
3666
5172
  label: {
3667
5173
  id: string;
3668
5174
  description: string;
3669
5175
  defaultMessage: string;
3670
5176
  };
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
5177
  parent?: {
3693
5178
  $$field: string;
3694
5179
  } | undefined;
@@ -3711,6 +5196,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3711
5196
  type: "DISPLAY_ON_REVIEW";
3712
5197
  conditional: import(".").JSONSchema;
3713
5198
  })[] | undefined;
5199
+ secured?: boolean | undefined;
3714
5200
  placeholder?: {
3715
5201
  id: string;
3716
5202
  description: string;
@@ -3722,18 +5208,23 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3722
5208
  defaultMessage: string;
3723
5209
  } | undefined;
3724
5210
  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<{
5211
+ defaultValue?: string | undefined;
5212
+ configuration?: {
5213
+ maxLength?: number | undefined;
5214
+ prefix?: {
5215
+ id: string;
5216
+ description: string;
5217
+ defaultMessage: string;
5218
+ } | undefined;
5219
+ postfix?: {
5220
+ id: string;
5221
+ description: string;
5222
+ defaultMessage: string;
5223
+ } | undefined;
5224
+ rows?: number | undefined;
5225
+ cols?: number | undefined;
5226
+ } | undefined;
5227
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3737
5228
  id: z.ZodString;
3738
5229
  parent: z.ZodOptional<z.ZodObject<{
3739
5230
  $$field: z.ZodString;
@@ -3744,6 +5235,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3744
5235
  }>>;
3745
5236
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3746
5237
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5238
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3747
5239
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3748
5240
  id: string;
3749
5241
  description: string;
@@ -3779,96 +5271,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3779
5271
  }>>;
3780
5272
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3781
5273
  }, {
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>;
5274
+ type: z.ZodLiteral<"DATE">;
5275
+ defaultValue: z.ZodOptional<z.ZodString>;
5276
+ configuration: z.ZodOptional<z.ZodObject<{
5277
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5278
+ id: string;
5279
+ description: string;
5280
+ defaultMessage: string;
5281
+ }>>;
3849
5282
  }, "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;
5283
+ notice?: TranslationConfig | undefined;
3859
5284
  }, {
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
- }>]>>;
5285
+ notice?: {
5286
+ id: string;
5287
+ description: string;
5288
+ defaultMessage: string;
5289
+ } | undefined;
5290
+ }>>;
3870
5291
  }>, "strip", z.ZodTypeAny, {
3871
- type: "ADDRESS";
5292
+ type: "DATE";
3872
5293
  id: string;
3873
5294
  label: TranslationConfig;
3874
5295
  parent?: {
@@ -3889,40 +5310,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3889
5310
  type: "DISPLAY_ON_REVIEW";
3890
5311
  conditional: import(".").JSONSchema;
3891
5312
  })[] | undefined;
5313
+ secured?: boolean | undefined;
3892
5314
  placeholder?: TranslationConfig | undefined;
3893
5315
  helperText?: TranslationConfig | undefined;
3894
5316
  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;
5317
+ defaultValue?: string | undefined;
5318
+ configuration?: {
5319
+ notice?: TranslationConfig | undefined;
3923
5320
  } | undefined;
3924
5321
  }, {
3925
- type: "ADDRESS";
5322
+ type: "DATE";
3926
5323
  id: string;
3927
5324
  label: {
3928
5325
  id: string;
@@ -3951,45 +5348,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3951
5348
  type: "DISPLAY_ON_REVIEW";
3952
5349
  conditional: import(".").JSONSchema;
3953
5350
  })[] | undefined;
5351
+ secured?: boolean | undefined;
3954
5352
  placeholder?: {
3955
5353
  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;
5354
+ description: string;
5355
+ defaultMessage: string;
5356
+ } | undefined;
5357
+ helperText?: {
5358
+ id: string;
5359
+ description: string;
5360
+ defaultMessage: string;
5361
+ } | undefined;
5362
+ hideLabel?: boolean | undefined;
5363
+ defaultValue?: string | undefined;
5364
+ configuration?: {
5365
+ notice?: {
5366
+ id: string;
5367
+ description: string;
5368
+ defaultMessage: string;
5369
+ } | undefined;
3993
5370
  } | undefined;
3994
5371
  }>, z.ZodObject<z.objectUtil.extendShape<{
3995
5372
  id: z.ZodString;
@@ -4002,6 +5379,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4002
5379
  }>>;
4003
5380
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4004
5381
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5382
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4005
5383
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4006
5384
  id: string;
4007
5385
  description: string;
@@ -4037,42 +5415,34 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4037
5415
  }>>;
4038
5416
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4039
5417
  }, {
4040
- type: z.ZodLiteral<"TEXT">;
4041
- 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, {
5418
+ type: z.ZodLiteral<"DATE_RANGE">;
5419
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5420
+ start: z.ZodString;
5421
+ end: z.ZodString;
5422
+ }, "strip", z.ZodTypeAny, {
5423
+ start: string;
5424
+ end: string;
5425
+ }, {
5426
+ start: string;
5427
+ end: string;
5428
+ }>, z.ZodString]>>;
5429
+ configuration: z.ZodOptional<z.ZodObject<{
5430
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4051
5431
  id: string;
4052
5432
  description: string;
4053
5433
  defaultMessage: string;
4054
5434
  }>>;
4055
5435
  }, "strip", z.ZodTypeAny, {
4056
- type?: "text" | "password" | undefined;
4057
- maxLength?: number | undefined;
4058
- prefix?: TranslationConfig | undefined;
4059
- postfix?: TranslationConfig | undefined;
5436
+ notice?: TranslationConfig | undefined;
4060
5437
  }, {
4061
- type?: "text" | "password" | undefined;
4062
- maxLength?: number | undefined;
4063
- prefix?: {
4064
- id: string;
4065
- description: string;
4066
- defaultMessage: string;
4067
- } | undefined;
4068
- postfix?: {
5438
+ notice?: {
4069
5439
  id: string;
4070
5440
  description: string;
4071
5441
  defaultMessage: string;
4072
5442
  } | undefined;
4073
- }>>>;
5443
+ }>>;
4074
5444
  }>, "strip", z.ZodTypeAny, {
4075
- type: "TEXT";
5445
+ type: "DATE_RANGE";
4076
5446
  id: string;
4077
5447
  label: TranslationConfig;
4078
5448
  parent?: {
@@ -4093,18 +5463,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4093
5463
  type: "DISPLAY_ON_REVIEW";
4094
5464
  conditional: import(".").JSONSchema;
4095
5465
  })[] | undefined;
5466
+ secured?: boolean | undefined;
4096
5467
  placeholder?: TranslationConfig | undefined;
4097
5468
  helperText?: TranslationConfig | undefined;
4098
5469
  hideLabel?: boolean | undefined;
4099
- defaultValue?: string | undefined;
5470
+ defaultValue?: string | {
5471
+ start: string;
5472
+ end: string;
5473
+ } | undefined;
4100
5474
  configuration?: {
4101
- type?: "text" | "password" | undefined;
4102
- maxLength?: number | undefined;
4103
- prefix?: TranslationConfig | undefined;
4104
- postfix?: TranslationConfig | undefined;
5475
+ notice?: TranslationConfig | undefined;
4105
5476
  } | undefined;
4106
5477
  }, {
4107
- type: "TEXT";
5478
+ type: "DATE_RANGE";
4108
5479
  id: string;
4109
5480
  label: {
4110
5481
  id: string;
@@ -4133,6 +5504,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4133
5504
  type: "DISPLAY_ON_REVIEW";
4134
5505
  conditional: import(".").JSONSchema;
4135
5506
  })[] | undefined;
5507
+ secured?: boolean | undefined;
4136
5508
  placeholder?: {
4137
5509
  id: string;
4138
5510
  description: string;
@@ -4144,16 +5516,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4144
5516
  defaultMessage: string;
4145
5517
  } | undefined;
4146
5518
  hideLabel?: boolean | undefined;
4147
- defaultValue?: string | undefined;
5519
+ defaultValue?: string | {
5520
+ start: string;
5521
+ end: string;
5522
+ } | undefined;
4148
5523
  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?: {
5524
+ notice?: {
4157
5525
  id: string;
4158
5526
  description: string;
4159
5527
  defaultMessage: string;
@@ -4170,6 +5538,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4170
5538
  }>>;
4171
5539
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4172
5540
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5541
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4173
5542
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4174
5543
  id: string;
4175
5544
  description: string;
@@ -4205,43 +5574,33 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4205
5574
  }>>;
4206
5575
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4207
5576
  }, {
4208
- type: z.ZodLiteral<"NUMBER">;
4209
- defaultValue: z.ZodOptional<z.ZodNumber>;
4210
- 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, {
5577
+ type: z.ZodLiteral<"SELECT_DATE_RANGE">;
5578
+ defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
5579
+ options: z.ZodArray<z.ZodObject<{
5580
+ value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
5581
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4219
5582
  id: string;
4220
5583
  description: string;
4221
5584
  defaultMessage: string;
4222
- }>>;
5585
+ }>;
4223
5586
  }, "strip", z.ZodTypeAny, {
4224
- prefix?: TranslationConfig | undefined;
4225
- postfix?: TranslationConfig | undefined;
4226
- min?: number | undefined;
4227
- max?: number | undefined;
5587
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
5588
+ label: TranslationConfig;
4228
5589
  }, {
4229
- prefix?: {
4230
- id: string;
4231
- description: string;
4232
- defaultMessage: string;
4233
- } | undefined;
4234
- postfix?: {
5590
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
5591
+ label: {
4235
5592
  id: string;
4236
5593
  description: string;
4237
5594
  defaultMessage: string;
4238
- } | undefined;
4239
- min?: number | undefined;
4240
- max?: number | undefined;
4241
- }>>;
5595
+ };
5596
+ }>, "many">;
4242
5597
  }>, "strip", z.ZodTypeAny, {
4243
- type: "NUMBER";
5598
+ type: "SELECT_DATE_RANGE";
4244
5599
  id: string;
5600
+ options: {
5601
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
5602
+ label: TranslationConfig;
5603
+ }[];
4245
5604
  label: TranslationConfig;
4246
5605
  parent?: {
4247
5606
  $$field: string;
@@ -4261,19 +5620,22 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4261
5620
  type: "DISPLAY_ON_REVIEW";
4262
5621
  conditional: import(".").JSONSchema;
4263
5622
  })[] | undefined;
5623
+ secured?: boolean | undefined;
4264
5624
  placeholder?: TranslationConfig | undefined;
4265
5625
  helperText?: TranslationConfig | undefined;
4266
5626
  hideLabel?: boolean | undefined;
4267
- defaultValue?: number | undefined;
4268
- configuration?: {
4269
- prefix?: TranslationConfig | undefined;
4270
- postfix?: TranslationConfig | undefined;
4271
- min?: number | undefined;
4272
- max?: number | undefined;
4273
- } | undefined;
5627
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
4274
5628
  }, {
4275
- type: "NUMBER";
5629
+ type: "SELECT_DATE_RANGE";
4276
5630
  id: string;
5631
+ options: {
5632
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
5633
+ label: {
5634
+ id: string;
5635
+ description: string;
5636
+ defaultMessage: string;
5637
+ };
5638
+ }[];
4277
5639
  label: {
4278
5640
  id: string;
4279
5641
  description: string;
@@ -4301,6 +5663,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4301
5663
  type: "DISPLAY_ON_REVIEW";
4302
5664
  conditional: import(".").JSONSchema;
4303
5665
  })[] | undefined;
5666
+ secured?: boolean | undefined;
4304
5667
  placeholder?: {
4305
5668
  id: string;
4306
5669
  description: string;
@@ -4312,21 +5675,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4312
5675
  defaultMessage: string;
4313
5676
  } | undefined;
4314
5677
  hideLabel?: boolean | undefined;
4315
- defaultValue?: number | undefined;
4316
- configuration?: {
4317
- prefix?: {
4318
- id: string;
4319
- description: string;
4320
- defaultMessage: string;
4321
- } | undefined;
4322
- postfix?: {
4323
- id: string;
4324
- description: string;
4325
- defaultMessage: string;
4326
- } | undefined;
4327
- min?: number | undefined;
4328
- max?: number | undefined;
4329
- } | undefined;
5678
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
4330
5679
  }>, z.ZodObject<z.objectUtil.extendShape<{
4331
5680
  id: z.ZodString;
4332
5681
  parent: z.ZodOptional<z.ZodObject<{
@@ -4338,6 +5687,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4338
5687
  }>>;
4339
5688
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4340
5689
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5690
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4341
5691
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4342
5692
  id: string;
4343
5693
  description: string;
@@ -4373,47 +5723,34 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4373
5723
  }>>;
4374
5724
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4375
5725
  }, {
4376
- type: z.ZodLiteral<"TEXTAREA">;
5726
+ type: z.ZodLiteral<"PARAGRAPH">;
4377
5727
  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;
5728
+ configuration: z.ZodDefault<z.ZodObject<{
5729
+ styles: z.ZodOptional<z.ZodObject<{
5730
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
5731
+ }, "strip", z.ZodTypeAny, {
5732
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5733
+ }, {
5734
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4391
5735
  }>>;
4392
5736
  }, "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;
5737
+ styles?: {
5738
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4404
5739
  } | undefined;
4405
- postfix?: {
4406
- id: string;
4407
- description: string;
4408
- defaultMessage: string;
5740
+ }, {
5741
+ styles?: {
5742
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4409
5743
  } | undefined;
4410
- rows?: number | undefined;
4411
- cols?: number | undefined;
4412
- }>>>;
5744
+ }>>;
4413
5745
  }>, "strip", z.ZodTypeAny, {
4414
- type: "TEXTAREA";
5746
+ type: "PARAGRAPH";
4415
5747
  id: string;
4416
5748
  label: TranslationConfig;
5749
+ configuration: {
5750
+ styles?: {
5751
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5752
+ } | undefined;
5753
+ };
4417
5754
  parent?: {
4418
5755
  $$field: string;
4419
5756
  } | undefined;
@@ -4432,19 +5769,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4432
5769
  type: "DISPLAY_ON_REVIEW";
4433
5770
  conditional: import(".").JSONSchema;
4434
5771
  })[] | undefined;
5772
+ secured?: boolean | undefined;
4435
5773
  placeholder?: TranslationConfig | undefined;
4436
5774
  helperText?: TranslationConfig | undefined;
4437
5775
  hideLabel?: boolean | undefined;
4438
5776
  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
5777
  }, {
4447
- type: "TEXTAREA";
5778
+ type: "PARAGRAPH";
4448
5779
  id: string;
4449
5780
  label: {
4450
5781
  id: string;
@@ -4473,6 +5804,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4473
5804
  type: "DISPLAY_ON_REVIEW";
4474
5805
  conditional: import(".").JSONSchema;
4475
5806
  })[] | undefined;
5807
+ secured?: boolean | undefined;
4476
5808
  placeholder?: {
4477
5809
  id: string;
4478
5810
  description: string;
@@ -4486,19 +5818,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4486
5818
  hideLabel?: boolean | undefined;
4487
5819
  defaultValue?: string | undefined;
4488
5820
  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;
5821
+ styles?: {
5822
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4499
5823
  } | undefined;
4500
- rows?: number | undefined;
4501
- cols?: number | undefined;
4502
5824
  } | undefined;
4503
5825
  }>, z.ZodObject<z.objectUtil.extendShape<{
4504
5826
  id: z.ZodString;
@@ -4511,6 +5833,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4511
5833
  }>>;
4512
5834
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4513
5835
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5836
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4514
5837
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4515
5838
  id: string;
4516
5839
  description: string;
@@ -4546,26 +5869,50 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4546
5869
  }>>;
4547
5870
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4548
5871
  }, {
4549
- type: z.ZodLiteral<"DATE">;
5872
+ type: z.ZodLiteral<"RADIO_GROUP">;
4550
5873
  defaultValue: z.ZodOptional<z.ZodString>;
4551
- configuration: z.ZodOptional<z.ZodObject<{
4552
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5874
+ options: z.ZodArray<z.ZodObject<{
5875
+ value: z.ZodString;
5876
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4553
5877
  id: string;
4554
5878
  description: string;
4555
5879
  defaultMessage: string;
4556
- }>>;
5880
+ }>;
4557
5881
  }, "strip", z.ZodTypeAny, {
4558
- notice?: TranslationConfig | undefined;
5882
+ value: string;
5883
+ label: TranslationConfig;
4559
5884
  }, {
4560
- notice?: {
5885
+ value: string;
5886
+ label: {
4561
5887
  id: string;
4562
5888
  description: string;
4563
5889
  defaultMessage: string;
5890
+ };
5891
+ }>, "many">;
5892
+ configuration: z.ZodOptional<z.ZodObject<{
5893
+ styles: z.ZodOptional<z.ZodObject<{
5894
+ size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
5895
+ }, "strip", z.ZodTypeAny, {
5896
+ size?: "NORMAL" | "LARGE" | undefined;
5897
+ }, {
5898
+ size?: "NORMAL" | "LARGE" | undefined;
5899
+ }>>;
5900
+ }, "strip", z.ZodTypeAny, {
5901
+ styles?: {
5902
+ size?: "NORMAL" | "LARGE" | undefined;
5903
+ } | undefined;
5904
+ }, {
5905
+ styles?: {
5906
+ size?: "NORMAL" | "LARGE" | undefined;
4564
5907
  } | undefined;
4565
5908
  }>>;
4566
5909
  }>, "strip", z.ZodTypeAny, {
4567
- type: "DATE";
5910
+ type: "RADIO_GROUP";
4568
5911
  id: string;
5912
+ options: {
5913
+ value: string;
5914
+ label: TranslationConfig;
5915
+ }[];
4569
5916
  label: TranslationConfig;
4570
5917
  parent?: {
4571
5918
  $$field: string;
@@ -4585,16 +5932,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4585
5932
  type: "DISPLAY_ON_REVIEW";
4586
5933
  conditional: import(".").JSONSchema;
4587
5934
  })[] | undefined;
5935
+ secured?: boolean | undefined;
4588
5936
  placeholder?: TranslationConfig | undefined;
4589
5937
  helperText?: TranslationConfig | undefined;
4590
5938
  hideLabel?: boolean | undefined;
4591
5939
  defaultValue?: string | undefined;
4592
5940
  configuration?: {
4593
- notice?: TranslationConfig | undefined;
5941
+ styles?: {
5942
+ size?: "NORMAL" | "LARGE" | undefined;
5943
+ } | undefined;
4594
5944
  } | undefined;
4595
5945
  }, {
4596
- type: "DATE";
5946
+ type: "RADIO_GROUP";
4597
5947
  id: string;
5948
+ options: {
5949
+ value: string;
5950
+ label: {
5951
+ id: string;
5952
+ description: string;
5953
+ defaultMessage: string;
5954
+ };
5955
+ }[];
4598
5956
  label: {
4599
5957
  id: string;
4600
5958
  description: string;
@@ -4622,6 +5980,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4622
5980
  type: "DISPLAY_ON_REVIEW";
4623
5981
  conditional: import(".").JSONSchema;
4624
5982
  })[] | undefined;
5983
+ secured?: boolean | undefined;
4625
5984
  placeholder?: {
4626
5985
  id: string;
4627
5986
  description: string;
@@ -4635,10 +5994,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4635
5994
  hideLabel?: boolean | undefined;
4636
5995
  defaultValue?: string | undefined;
4637
5996
  configuration?: {
4638
- notice?: {
4639
- id: string;
4640
- description: string;
4641
- defaultMessage: string;
5997
+ styles?: {
5998
+ size?: "NORMAL" | "LARGE" | undefined;
4642
5999
  } | undefined;
4643
6000
  } | undefined;
4644
6001
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4652,6 +6009,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4652
6009
  }>>;
4653
6010
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4654
6011
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6012
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4655
6013
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4656
6014
  id: string;
4657
6015
  description: string;
@@ -4687,27 +6045,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4687
6045
  }>>;
4688
6046
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4689
6047
  }, {
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;
6048
+ type: z.ZodLiteral<"BULLET_LIST">;
6049
+ defaultValue: z.ZodOptional<z.ZodString>;
6050
+ items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6051
+ id: string;
6052
+ description: string;
6053
+ defaultMessage: string;
6054
+ }>, "many">;
6055
+ configuration: z.ZodDefault<z.ZodObject<{
6056
+ styles: z.ZodOptional<z.ZodObject<{
6057
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
6058
+ }, "strip", z.ZodTypeAny, {
6059
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6060
+ }, {
6061
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4697
6062
  }>>;
4698
6063
  }, "strip", z.ZodTypeAny, {
4699
- notice?: TranslationConfig | undefined;
6064
+ styles?: {
6065
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6066
+ } | undefined;
4700
6067
  }, {
4701
- notice?: {
4702
- id: string;
4703
- description: string;
4704
- defaultMessage: string;
6068
+ styles?: {
6069
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4705
6070
  } | undefined;
4706
6071
  }>>;
4707
6072
  }>, "strip", z.ZodTypeAny, {
4708
- type: "DATE_RANGE";
6073
+ type: "BULLET_LIST";
4709
6074
  id: string;
4710
6075
  label: TranslationConfig;
6076
+ configuration: {
6077
+ styles?: {
6078
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6079
+ } | undefined;
6080
+ };
6081
+ items: TranslationConfig[];
4711
6082
  parent?: {
4712
6083
  $$field: string;
4713
6084
  } | undefined;
@@ -4726,21 +6097,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4726
6097
  type: "DISPLAY_ON_REVIEW";
4727
6098
  conditional: import(".").JSONSchema;
4728
6099
  })[] | undefined;
6100
+ secured?: boolean | undefined;
4729
6101
  placeholder?: TranslationConfig | undefined;
4730
6102
  helperText?: TranslationConfig | undefined;
4731
6103
  hideLabel?: boolean | undefined;
4732
- defaultValue?: string | [string, string] | undefined;
4733
- configuration?: {
4734
- notice?: TranslationConfig | undefined;
4735
- } | undefined;
6104
+ defaultValue?: string | undefined;
4736
6105
  }, {
4737
- type: "DATE_RANGE";
6106
+ type: "BULLET_LIST";
4738
6107
  id: string;
4739
6108
  label: {
4740
6109
  id: string;
4741
6110
  description: string;
4742
6111
  defaultMessage: string;
4743
6112
  };
6113
+ items: {
6114
+ id: string;
6115
+ description: string;
6116
+ defaultMessage: string;
6117
+ }[];
4744
6118
  parent?: {
4745
6119
  $$field: string;
4746
6120
  } | undefined;
@@ -4763,6 +6137,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4763
6137
  type: "DISPLAY_ON_REVIEW";
4764
6138
  conditional: import(".").JSONSchema;
4765
6139
  })[] | undefined;
6140
+ secured?: boolean | undefined;
4766
6141
  placeholder?: {
4767
6142
  id: string;
4768
6143
  description: string;
@@ -4774,12 +6149,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4774
6149
  defaultMessage: string;
4775
6150
  } | undefined;
4776
6151
  hideLabel?: boolean | undefined;
4777
- defaultValue?: string | [string, string] | undefined;
6152
+ defaultValue?: string | undefined;
4778
6153
  configuration?: {
4779
- notice?: {
4780
- id: string;
4781
- description: string;
4782
- defaultMessage: string;
6154
+ styles?: {
6155
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4783
6156
  } | undefined;
4784
6157
  } | undefined;
4785
6158
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4793,6 +6166,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4793
6166
  }>>;
4794
6167
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4795
6168
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6169
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4796
6170
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4797
6171
  id: string;
4798
6172
  description: string;
@@ -4828,34 +6202,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4828
6202
  }>>;
4829
6203
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4830
6204
  }, {
4831
- type: z.ZodLiteral<"PARAGRAPH">;
6205
+ type: z.ZodLiteral<"PAGE_HEADER">;
4832
6206
  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
6207
  }>, "strip", z.ZodTypeAny, {
4851
- type: "PARAGRAPH";
6208
+ type: "PAGE_HEADER";
4852
6209
  id: string;
4853
6210
  label: TranslationConfig;
4854
- configuration: {
4855
- styles?: {
4856
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4857
- } | undefined;
4858
- };
4859
6211
  parent?: {
4860
6212
  $$field: string;
4861
6213
  } | undefined;
@@ -4874,12 +6226,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4874
6226
  type: "DISPLAY_ON_REVIEW";
4875
6227
  conditional: import(".").JSONSchema;
4876
6228
  })[] | undefined;
6229
+ secured?: boolean | undefined;
4877
6230
  placeholder?: TranslationConfig | undefined;
4878
6231
  helperText?: TranslationConfig | undefined;
4879
6232
  hideLabel?: boolean | undefined;
4880
6233
  defaultValue?: string | undefined;
4881
6234
  }, {
4882
- type: "PARAGRAPH";
6235
+ type: "PAGE_HEADER";
4883
6236
  id: string;
4884
6237
  label: {
4885
6238
  id: string;
@@ -4908,6 +6261,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4908
6261
  type: "DISPLAY_ON_REVIEW";
4909
6262
  conditional: import(".").JSONSchema;
4910
6263
  })[] | undefined;
6264
+ secured?: boolean | undefined;
4911
6265
  placeholder?: {
4912
6266
  id: string;
4913
6267
  description: string;
@@ -4920,11 +6274,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4920
6274
  } | undefined;
4921
6275
  hideLabel?: boolean | undefined;
4922
6276
  defaultValue?: string | undefined;
4923
- configuration?: {
4924
- styles?: {
4925
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4926
- } | undefined;
4927
- } | undefined;
4928
6277
  }>, z.ZodObject<z.objectUtil.extendShape<{
4929
6278
  id: z.ZodString;
4930
6279
  parent: z.ZodOptional<z.ZodObject<{
@@ -4936,6 +6285,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4936
6285
  }>>;
4937
6286
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4938
6287
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6288
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4939
6289
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4940
6290
  id: string;
4941
6291
  description: string;
@@ -4971,7 +6321,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4971
6321
  }>>;
4972
6322
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4973
6323
  }, {
4974
- type: z.ZodLiteral<"RADIO_GROUP">;
6324
+ type: z.ZodLiteral<"SELECT">;
4975
6325
  defaultValue: z.ZodOptional<z.ZodString>;
4976
6326
  options: z.ZodArray<z.ZodObject<{
4977
6327
  value: z.ZodString;
@@ -4991,25 +6341,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4991
6341
  defaultMessage: string;
4992
6342
  };
4993
6343
  }>, "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
6344
  }>, "strip", z.ZodTypeAny, {
5012
- type: "RADIO_GROUP";
6345
+ type: "SELECT";
5013
6346
  id: string;
5014
6347
  options: {
5015
6348
  value: string;
@@ -5034,17 +6367,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5034
6367
  type: "DISPLAY_ON_REVIEW";
5035
6368
  conditional: import(".").JSONSchema;
5036
6369
  })[] | undefined;
6370
+ secured?: boolean | undefined;
5037
6371
  placeholder?: TranslationConfig | undefined;
5038
6372
  helperText?: TranslationConfig | undefined;
5039
6373
  hideLabel?: boolean | undefined;
5040
6374
  defaultValue?: string | undefined;
5041
- configuration?: {
5042
- styles?: {
5043
- size?: "NORMAL" | "LARGE" | undefined;
5044
- } | undefined;
5045
- } | undefined;
5046
6375
  }, {
5047
- type: "RADIO_GROUP";
6376
+ type: "SELECT";
5048
6377
  id: string;
5049
6378
  options: {
5050
6379
  value: string;
@@ -5081,6 +6410,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5081
6410
  type: "DISPLAY_ON_REVIEW";
5082
6411
  conditional: import(".").JSONSchema;
5083
6412
  })[] | undefined;
6413
+ secured?: boolean | undefined;
5084
6414
  placeholder?: {
5085
6415
  id: string;
5086
6416
  description: string;
@@ -5093,11 +6423,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5093
6423
  } | undefined;
5094
6424
  hideLabel?: boolean | undefined;
5095
6425
  defaultValue?: string | undefined;
5096
- configuration?: {
5097
- styles?: {
5098
- size?: "NORMAL" | "LARGE" | undefined;
5099
- } | undefined;
5100
- } | undefined;
5101
6426
  }>, z.ZodObject<z.objectUtil.extendShape<{
5102
6427
  id: z.ZodString;
5103
6428
  parent: z.ZodOptional<z.ZodObject<{
@@ -5109,6 +6434,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5109
6434
  }>>;
5110
6435
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5111
6436
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6437
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5112
6438
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5113
6439
  id: string;
5114
6440
  description: string;
@@ -5144,40 +6470,56 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5144
6470
  }>>;
5145
6471
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5146
6472
  }, {
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;
6473
+ type: z.ZodLiteral<"NAME">;
6474
+ defaultValue: z.ZodOptional<z.ZodObject<{
6475
+ firstname: z.ZodString;
6476
+ surname: z.ZodString;
6477
+ }, "strip", z.ZodTypeAny, {
6478
+ firstname: string;
6479
+ surname: string;
6480
+ }, {
6481
+ firstname: string;
6482
+ surname: string;
6483
+ }>>;
6484
+ configuration: z.ZodOptional<z.ZodObject<{
6485
+ maxLength: z.ZodOptional<z.ZodNumber>;
6486
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6487
+ id: string;
6488
+ description: string;
6489
+ defaultMessage: string;
6490
+ }>>;
6491
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6492
+ id: string;
6493
+ description: string;
6494
+ defaultMessage: string;
5161
6495
  }>>;
6496
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6497
+ searchMode: z.ZodOptional<z.ZodBoolean>;
5162
6498
  }, "strip", z.ZodTypeAny, {
5163
- styles?: {
5164
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5165
- } | undefined;
6499
+ maxLength?: number | undefined;
6500
+ prefix?: TranslationConfig | undefined;
6501
+ postfix?: TranslationConfig | undefined;
6502
+ includeMiddlename?: boolean | undefined;
6503
+ searchMode?: boolean | undefined;
5166
6504
  }, {
5167
- styles?: {
5168
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6505
+ maxLength?: number | undefined;
6506
+ prefix?: {
6507
+ id: string;
6508
+ description: string;
6509
+ defaultMessage: string;
6510
+ } | undefined;
6511
+ postfix?: {
6512
+ id: string;
6513
+ description: string;
6514
+ defaultMessage: string;
5169
6515
  } | undefined;
6516
+ includeMiddlename?: boolean | undefined;
6517
+ searchMode?: boolean | undefined;
5170
6518
  }>>;
5171
6519
  }>, "strip", z.ZodTypeAny, {
5172
- type: "BULLET_LIST";
6520
+ type: "NAME";
5173
6521
  id: string;
5174
6522
  label: TranslationConfig;
5175
- configuration: {
5176
- styles?: {
5177
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5178
- } | undefined;
5179
- };
5180
- items: TranslationConfig[];
5181
6523
  parent?: {
5182
6524
  $$field: string;
5183
6525
  } | undefined;
@@ -5196,23 +6538,29 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5196
6538
  type: "DISPLAY_ON_REVIEW";
5197
6539
  conditional: import(".").JSONSchema;
5198
6540
  })[] | undefined;
6541
+ secured?: boolean | undefined;
5199
6542
  placeholder?: TranslationConfig | undefined;
5200
6543
  helperText?: TranslationConfig | undefined;
5201
6544
  hideLabel?: boolean | undefined;
5202
- defaultValue?: string | undefined;
6545
+ defaultValue?: {
6546
+ firstname: string;
6547
+ surname: string;
6548
+ } | undefined;
6549
+ configuration?: {
6550
+ maxLength?: number | undefined;
6551
+ prefix?: TranslationConfig | undefined;
6552
+ postfix?: TranslationConfig | undefined;
6553
+ includeMiddlename?: boolean | undefined;
6554
+ searchMode?: boolean | undefined;
6555
+ } | undefined;
5203
6556
  }, {
5204
- type: "BULLET_LIST";
6557
+ type: "NAME";
5205
6558
  id: string;
5206
6559
  label: {
5207
6560
  id: string;
5208
6561
  description: string;
5209
6562
  defaultMessage: string;
5210
6563
  };
5211
- items: {
5212
- id: string;
5213
- description: string;
5214
- defaultMessage: string;
5215
- }[];
5216
6564
  parent?: {
5217
6565
  $$field: string;
5218
6566
  } | undefined;
@@ -5235,6 +6583,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5235
6583
  type: "DISPLAY_ON_REVIEW";
5236
6584
  conditional: import(".").JSONSchema;
5237
6585
  })[] | undefined;
6586
+ secured?: boolean | undefined;
5238
6587
  placeholder?: {
5239
6588
  id: string;
5240
6589
  description: string;
@@ -5246,11 +6595,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5246
6595
  defaultMessage: string;
5247
6596
  } | undefined;
5248
6597
  hideLabel?: boolean | undefined;
5249
- defaultValue?: string | undefined;
6598
+ defaultValue?: {
6599
+ firstname: string;
6600
+ surname: string;
6601
+ } | undefined;
5250
6602
  configuration?: {
5251
- styles?: {
5252
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6603
+ maxLength?: number | undefined;
6604
+ prefix?: {
6605
+ id: string;
6606
+ description: string;
6607
+ defaultMessage: string;
6608
+ } | undefined;
6609
+ postfix?: {
6610
+ id: string;
6611
+ description: string;
6612
+ defaultMessage: string;
5253
6613
  } | undefined;
6614
+ includeMiddlename?: boolean | undefined;
6615
+ searchMode?: boolean | undefined;
5254
6616
  } | undefined;
5255
6617
  }>, z.ZodObject<z.objectUtil.extendShape<{
5256
6618
  id: z.ZodString;
@@ -5263,6 +6625,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5263
6625
  }>>;
5264
6626
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5265
6627
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6628
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5266
6629
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5267
6630
  id: string;
5268
6631
  description: string;
@@ -5298,10 +6661,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5298
6661
  }>>;
5299
6662
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5300
6663
  }, {
5301
- type: z.ZodLiteral<"PAGE_HEADER">;
5302
6664
  defaultValue: z.ZodOptional<z.ZodString>;
6665
+ type: z.ZodLiteral<"PHONE">;
5303
6666
  }>, "strip", z.ZodTypeAny, {
5304
- type: "PAGE_HEADER";
6667
+ type: "PHONE";
5305
6668
  id: string;
5306
6669
  label: TranslationConfig;
5307
6670
  parent?: {
@@ -5322,12 +6685,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5322
6685
  type: "DISPLAY_ON_REVIEW";
5323
6686
  conditional: import(".").JSONSchema;
5324
6687
  })[] | undefined;
6688
+ secured?: boolean | undefined;
5325
6689
  placeholder?: TranslationConfig | undefined;
5326
6690
  helperText?: TranslationConfig | undefined;
5327
6691
  hideLabel?: boolean | undefined;
5328
6692
  defaultValue?: string | undefined;
5329
6693
  }, {
5330
- type: "PAGE_HEADER";
6694
+ type: "PHONE";
5331
6695
  id: string;
5332
6696
  label: {
5333
6697
  id: string;
@@ -5356,6 +6720,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5356
6720
  type: "DISPLAY_ON_REVIEW";
5357
6721
  conditional: import(".").JSONSchema;
5358
6722
  })[] | undefined;
6723
+ secured?: boolean | undefined;
5359
6724
  placeholder?: {
5360
6725
  id: string;
5361
6726
  description: string;
@@ -5379,6 +6744,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5379
6744
  }>>;
5380
6745
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5381
6746
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6747
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5382
6748
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5383
6749
  id: string;
5384
6750
  description: string;
@@ -5414,33 +6780,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5414
6780
  }>>;
5415
6781
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5416
6782
  }, {
5417
- type: z.ZodLiteral<"SELECT">;
5418
6783
  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">;
6784
+ type: z.ZodLiteral<"ID">;
5437
6785
  }>, "strip", z.ZodTypeAny, {
5438
- type: "SELECT";
6786
+ type: "ID";
5439
6787
  id: string;
5440
- options: {
5441
- value: string;
5442
- label: TranslationConfig;
5443
- }[];
5444
6788
  label: TranslationConfig;
5445
6789
  parent?: {
5446
6790
  $$field: string;
@@ -5460,21 +6804,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5460
6804
  type: "DISPLAY_ON_REVIEW";
5461
6805
  conditional: import(".").JSONSchema;
5462
6806
  })[] | undefined;
6807
+ secured?: boolean | undefined;
5463
6808
  placeholder?: TranslationConfig | undefined;
5464
6809
  helperText?: TranslationConfig | undefined;
5465
6810
  hideLabel?: boolean | undefined;
5466
6811
  defaultValue?: string | undefined;
5467
6812
  }, {
5468
- type: "SELECT";
6813
+ type: "ID";
5469
6814
  id: string;
5470
- options: {
5471
- value: string;
5472
- label: {
5473
- id: string;
5474
- description: string;
5475
- defaultMessage: string;
5476
- };
5477
- }[];
5478
6815
  label: {
5479
6816
  id: string;
5480
6817
  description: string;
@@ -5502,6 +6839,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5502
6839
  type: "DISPLAY_ON_REVIEW";
5503
6840
  conditional: import(".").JSONSchema;
5504
6841
  })[] | undefined;
6842
+ secured?: boolean | undefined;
5505
6843
  placeholder?: {
5506
6844
  id: string;
5507
6845
  description: string;
@@ -5525,6 +6863,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5525
6863
  }>>;
5526
6864
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5527
6865
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6866
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5528
6867
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5529
6868
  id: string;
5530
6869
  description: string;
@@ -5584,6 +6923,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5584
6923
  type: "DISPLAY_ON_REVIEW";
5585
6924
  conditional: import(".").JSONSchema;
5586
6925
  })[] | undefined;
6926
+ secured?: boolean | undefined;
5587
6927
  placeholder?: TranslationConfig | undefined;
5588
6928
  helperText?: TranslationConfig | undefined;
5589
6929
  hideLabel?: boolean | undefined;
@@ -5618,6 +6958,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5618
6958
  type: "DISPLAY_ON_REVIEW";
5619
6959
  conditional: import(".").JSONSchema;
5620
6960
  })[] | undefined;
6961
+ secured?: boolean | undefined;
5621
6962
  placeholder?: {
5622
6963
  id: string;
5623
6964
  description: string;
@@ -5641,6 +6982,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5641
6982
  }>>;
5642
6983
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5643
6984
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6985
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5644
6986
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5645
6987
  id: string;
5646
6988
  description: string;
@@ -5678,16 +7020,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5678
7020
  }, {
5679
7021
  type: z.ZodLiteral<"FILE">;
5680
7022
  defaultValue: z.ZodOptional<z.ZodObject<{
5681
- filename: z.ZodString;
7023
+ path: z.ZodEffects<z.ZodString, string, string>;
5682
7024
  originalFilename: z.ZodString;
5683
7025
  type: z.ZodString;
5684
7026
  }, "strip", z.ZodTypeAny, {
5685
7027
  type: string;
5686
- filename: string;
7028
+ path: string;
5687
7029
  originalFilename: string;
5688
7030
  }, {
5689
7031
  type: string;
5690
- filename: string;
7032
+ path: string;
5691
7033
  originalFilename: string;
5692
7034
  }>>;
5693
7035
  configuration: z.ZodDefault<z.ZodObject<{
@@ -5754,12 +7096,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5754
7096
  type: "DISPLAY_ON_REVIEW";
5755
7097
  conditional: import(".").JSONSchema;
5756
7098
  })[] | undefined;
7099
+ secured?: boolean | undefined;
5757
7100
  placeholder?: TranslationConfig | undefined;
5758
7101
  helperText?: TranslationConfig | undefined;
5759
7102
  hideLabel?: boolean | undefined;
5760
7103
  defaultValue?: {
5761
7104
  type: string;
5762
- filename: string;
7105
+ path: string;
5763
7106
  originalFilename: string;
5764
7107
  } | undefined;
5765
7108
  }, {
@@ -5792,6 +7135,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5792
7135
  type: "DISPLAY_ON_REVIEW";
5793
7136
  conditional: import(".").JSONSchema;
5794
7137
  })[] | undefined;
7138
+ secured?: boolean | undefined;
5795
7139
  placeholder?: {
5796
7140
  id: string;
5797
7141
  description: string;
@@ -5805,7 +7149,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5805
7149
  hideLabel?: boolean | undefined;
5806
7150
  defaultValue?: {
5807
7151
  type: string;
5808
- filename: string;
7152
+ path: string;
5809
7153
  originalFilename: string;
5810
7154
  } | undefined;
5811
7155
  configuration?: {
@@ -5831,6 +7175,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5831
7175
  }>>;
5832
7176
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5833
7177
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7178
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5834
7179
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5835
7180
  id: string;
5836
7181
  description: string;
@@ -5890,6 +7235,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5890
7235
  type: "DISPLAY_ON_REVIEW";
5891
7236
  conditional: import(".").JSONSchema;
5892
7237
  })[] | undefined;
7238
+ secured?: boolean | undefined;
5893
7239
  placeholder?: TranslationConfig | undefined;
5894
7240
  helperText?: TranslationConfig | undefined;
5895
7241
  hideLabel?: boolean | undefined;
@@ -5924,6 +7270,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5924
7270
  type: "DISPLAY_ON_REVIEW";
5925
7271
  conditional: import(".").JSONSchema;
5926
7272
  })[] | undefined;
7273
+ secured?: boolean | undefined;
5927
7274
  placeholder?: {
5928
7275
  id: string;
5929
7276
  description: string;
@@ -5947,6 +7294,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5947
7294
  }>>;
5948
7295
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5949
7296
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7297
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5950
7298
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5951
7299
  id: string;
5952
7300
  description: string;
@@ -6032,6 +7380,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6032
7380
  type: "DISPLAY_ON_REVIEW";
6033
7381
  conditional: import(".").JSONSchema;
6034
7382
  })[] | undefined;
7383
+ secured?: boolean | undefined;
6035
7384
  placeholder?: TranslationConfig | undefined;
6036
7385
  helperText?: TranslationConfig | undefined;
6037
7386
  hideLabel?: boolean | undefined;
@@ -6072,6 +7421,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6072
7421
  type: "DISPLAY_ON_REVIEW";
6073
7422
  conditional: import(".").JSONSchema;
6074
7423
  })[] | undefined;
7424
+ secured?: boolean | undefined;
6075
7425
  placeholder?: {
6076
7426
  id: string;
6077
7427
  description: string;
@@ -6095,6 +7445,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6095
7445
  }>>;
6096
7446
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6097
7447
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7448
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6098
7449
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6099
7450
  id: string;
6100
7451
  description: string;
@@ -6153,6 +7504,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6153
7504
  type: "DISPLAY_ON_REVIEW";
6154
7505
  conditional: import(".").JSONSchema;
6155
7506
  })[] | undefined;
7507
+ secured?: boolean | undefined;
6156
7508
  placeholder?: TranslationConfig | undefined;
6157
7509
  helperText?: TranslationConfig | undefined;
6158
7510
  hideLabel?: boolean | undefined;
@@ -6186,6 +7538,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6186
7538
  type: "DISPLAY_ON_REVIEW";
6187
7539
  conditional: import(".").JSONSchema;
6188
7540
  })[] | undefined;
7541
+ secured?: boolean | undefined;
6189
7542
  placeholder?: {
6190
7543
  id: string;
6191
7544
  description: string;
@@ -6208,6 +7561,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6208
7561
  }>>;
6209
7562
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6210
7563
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7564
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6211
7565
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6212
7566
  id: string;
6213
7567
  description: string;
@@ -6267,6 +7621,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6267
7621
  type: "DISPLAY_ON_REVIEW";
6268
7622
  conditional: import(".").JSONSchema;
6269
7623
  })[] | undefined;
7624
+ secured?: boolean | undefined;
6270
7625
  placeholder?: TranslationConfig | undefined;
6271
7626
  helperText?: TranslationConfig | undefined;
6272
7627
  hideLabel?: boolean | undefined;
@@ -6301,6 +7656,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6301
7656
  type: "DISPLAY_ON_REVIEW";
6302
7657
  conditional: import(".").JSONSchema;
6303
7658
  })[] | undefined;
7659
+ secured?: boolean | undefined;
6304
7660
  placeholder?: {
6305
7661
  id: string;
6306
7662
  description: string;
@@ -6324,6 +7680,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6324
7680
  }>>;
6325
7681
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6326
7682
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7683
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6327
7684
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6328
7685
  id: string;
6329
7686
  description: string;
@@ -6383,6 +7740,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6383
7740
  type: "DISPLAY_ON_REVIEW";
6384
7741
  conditional: import(".").JSONSchema;
6385
7742
  })[] | undefined;
7743
+ secured?: boolean | undefined;
6386
7744
  placeholder?: TranslationConfig | undefined;
6387
7745
  helperText?: TranslationConfig | undefined;
6388
7746
  hideLabel?: boolean | undefined;
@@ -6417,6 +7775,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6417
7775
  type: "DISPLAY_ON_REVIEW";
6418
7776
  conditional: import(".").JSONSchema;
6419
7777
  })[] | undefined;
7778
+ secured?: boolean | undefined;
6420
7779
  placeholder?: {
6421
7780
  id: string;
6422
7781
  description: string;
@@ -6440,6 +7799,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6440
7799
  }>>;
6441
7800
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6442
7801
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7802
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6443
7803
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6444
7804
  id: string;
6445
7805
  description: string;
@@ -6499,6 +7859,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6499
7859
  type: "DISPLAY_ON_REVIEW";
6500
7860
  conditional: import(".").JSONSchema;
6501
7861
  })[] | undefined;
7862
+ secured?: boolean | undefined;
6502
7863
  placeholder?: TranslationConfig | undefined;
6503
7864
  helperText?: TranslationConfig | undefined;
6504
7865
  hideLabel?: boolean | undefined;
@@ -6533,6 +7894,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6533
7894
  type: "DISPLAY_ON_REVIEW";
6534
7895
  conditional: import(".").JSONSchema;
6535
7896
  })[] | undefined;
7897
+ secured?: boolean | undefined;
6536
7898
  placeholder?: {
6537
7899
  id: string;
6538
7900
  description: string;
@@ -6556,6 +7918,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6556
7918
  }>>;
6557
7919
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6558
7920
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7921
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6559
7922
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6560
7923
  id: string;
6561
7924
  description: string;
@@ -6635,6 +7998,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6635
7998
  type: "DISPLAY_ON_REVIEW";
6636
7999
  conditional: import(".").JSONSchema;
6637
8000
  })[] | undefined;
8001
+ secured?: boolean | undefined;
6638
8002
  placeholder?: TranslationConfig | undefined;
6639
8003
  helperText?: TranslationConfig | undefined;
6640
8004
  hideLabel?: boolean | undefined;
@@ -6674,6 +8038,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6674
8038
  type: "DISPLAY_ON_REVIEW";
6675
8039
  conditional: import(".").JSONSchema;
6676
8040
  })[] | undefined;
8041
+ secured?: boolean | undefined;
6677
8042
  placeholder?: {
6678
8043
  id: string;
6679
8044
  description: string;
@@ -6701,6 +8066,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6701
8066
  }>>;
6702
8067
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6703
8068
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8069
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6704
8070
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6705
8071
  id: string;
6706
8072
  description: string;
@@ -6767,6 +8133,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6767
8133
  type: "DISPLAY_ON_REVIEW";
6768
8134
  conditional: import(".").JSONSchema;
6769
8135
  })[] | undefined;
8136
+ secured?: boolean | undefined;
6770
8137
  placeholder?: TranslationConfig | undefined;
6771
8138
  helperText?: TranslationConfig | undefined;
6772
8139
  hideLabel?: boolean | undefined;
@@ -6804,6 +8171,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6804
8171
  type: "DISPLAY_ON_REVIEW";
6805
8172
  conditional: import(".").JSONSchema;
6806
8173
  })[] | undefined;
8174
+ secured?: boolean | undefined;
6807
8175
  placeholder?: {
6808
8176
  id: string;
6809
8177
  description: string;
@@ -6830,6 +8198,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6830
8198
  }>>;
6831
8199
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6832
8200
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8201
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6833
8202
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6834
8203
  id: string;
6835
8204
  description: string;
@@ -6885,19 +8254,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6885
8254
  };
6886
8255
  }>, "many">;
6887
8256
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
6888
- filename: z.ZodString;
8257
+ path: z.ZodEffects<z.ZodString, string, string>;
6889
8258
  originalFilename: z.ZodString;
6890
8259
  type: z.ZodString;
6891
8260
  option: z.ZodString;
6892
8261
  }, "strip", z.ZodTypeAny, {
6893
8262
  type: string;
6894
8263
  option: string;
6895
- filename: string;
8264
+ path: string;
6896
8265
  originalFilename: string;
6897
8266
  }, {
6898
8267
  type: string;
6899
8268
  option: string;
6900
- filename: string;
8269
+ path: string;
6901
8270
  originalFilename: string;
6902
8271
  }>, "many">>;
6903
8272
  configuration: z.ZodDefault<z.ZodObject<{
@@ -6940,13 +8309,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6940
8309
  type: "DISPLAY_ON_REVIEW";
6941
8310
  conditional: import(".").JSONSchema;
6942
8311
  })[] | undefined;
8312
+ secured?: boolean | undefined;
6943
8313
  placeholder?: TranslationConfig | undefined;
6944
8314
  helperText?: TranslationConfig | undefined;
6945
8315
  hideLabel?: boolean | undefined;
6946
8316
  defaultValue?: {
6947
8317
  type: string;
6948
8318
  option: string;
6949
- filename: string;
8319
+ path: string;
6950
8320
  originalFilename: string;
6951
8321
  }[] | undefined;
6952
8322
  }, {
@@ -6987,6 +8357,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6987
8357
  type: "DISPLAY_ON_REVIEW";
6988
8358
  conditional: import(".").JSONSchema;
6989
8359
  })[] | undefined;
8360
+ secured?: boolean | undefined;
6990
8361
  placeholder?: {
6991
8362
  id: string;
6992
8363
  description: string;
@@ -7001,7 +8372,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7001
8372
  defaultValue?: {
7002
8373
  type: string;
7003
8374
  option: string;
7004
- filename: string;
8375
+ path: string;
7005
8376
  originalFilename: string;
7006
8377
  }[] | undefined;
7007
8378
  configuration?: {
@@ -7019,6 +8390,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7019
8390
  }>>;
7020
8391
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7021
8392
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8393
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7022
8394
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7023
8395
  id: string;
7024
8396
  description: string;
@@ -7153,6 +8525,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7153
8525
  type: "DISPLAY_ON_REVIEW";
7154
8526
  conditional: import(".").JSONSchema;
7155
8527
  })[] | undefined;
8528
+ secured?: boolean | undefined;
7156
8529
  placeholder?: TranslationConfig | undefined;
7157
8530
  helperText?: TranslationConfig | undefined;
7158
8531
  hideLabel?: boolean | undefined;
@@ -7207,6 +8580,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7207
8580
  type: "DISPLAY_ON_REVIEW";
7208
8581
  conditional: import(".").JSONSchema;
7209
8582
  })[] | undefined;
8583
+ secured?: boolean | undefined;
7210
8584
  placeholder?: {
7211
8585
  id: string;
7212
8586
  description: string;
@@ -7220,6 +8594,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7220
8594
  hideLabel?: boolean | undefined;
7221
8595
  }>]>;
7222
8596
  export type SelectField = z.infer<typeof Select>;
8597
+ export type NameField = z.infer<typeof NameField>;
8598
+ export type PhoneField = z.infer<typeof PhoneField>;
8599
+ export type IdField = z.infer<typeof IdField>;
7223
8600
  export type LocationField = z.infer<typeof Location>;
7224
8601
  export type RadioField = z.infer<typeof RadioGroup>;
7225
8602
  export type AddressField = z.infer<typeof Address>;