@opencrvs/toolkit 1.8.0-rc.f8aa0c5 → 1.8.0-rc.f8e0ee5

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 +7549 -6145
  2. package/dist/commons/conditionals/conditionals.d.ts +0 -4
  3. package/dist/commons/conditionals/validate.d.ts +0 -6
  4. package/dist/commons/events/ActionConfig.d.ts +20914 -46894
  5. package/dist/commons/events/ActionDocument.d.ts +494 -1997
  6. package/dist/commons/events/ActionInput.d.ts +306 -1506
  7. package/dist/commons/events/ActionType.d.ts +0 -4
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -279
  9. package/dist/commons/events/CompositeFieldValue.d.ts +0 -28
  10. package/dist/commons/events/Constants.d.ts +0 -1
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +412 -1160
  12. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  13. package/dist/commons/events/Draft.d.ts +40 -141
  14. package/dist/commons/events/EventConfig.d.ts +14286 -29320
  15. package/dist/commons/events/EventDocument.d.ts +355 -1294
  16. package/dist/commons/events/EventIndex.d.ts +191 -849
  17. package/dist/commons/events/EventMetadata.d.ts +64 -73
  18. package/dist/commons/events/FieldConfig.d.ts +888 -1875
  19. package/dist/commons/events/FieldType.d.ts +1 -4
  20. package/dist/commons/events/FieldTypeMapping.d.ts +50 -89
  21. package/dist/commons/events/FieldValue.d.ts +5 -41
  22. package/dist/commons/events/FormConfig.d.ts +2510 -8840
  23. package/dist/commons/events/PageConfig.d.ts +1638 -3184
  24. package/dist/commons/events/SummaryConfig.d.ts +5 -0
  25. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  26. package/dist/commons/events/WorkqueueConfig.d.ts +1778 -4553
  27. package/dist/commons/events/defineConfig.d.ts +1440 -4157
  28. package/dist/commons/events/field.d.ts +0 -9
  29. package/dist/commons/events/index.d.ts +0 -1
  30. package/dist/commons/events/scopes.d.ts +3 -2
  31. package/dist/commons/events/test.utils.d.ts +39 -148
  32. package/dist/commons/events/transactions.d.ts +1 -1
  33. package/dist/commons/events/utils.d.ts +19 -10122
  34. package/dist/conditionals/index.js +18 -38
  35. package/dist/events/index.js +1681 -2347
  36. package/dist/scopes/index.d.ts +7 -96
  37. package/dist/scopes/index.js +26 -105
  38. package/package.json +3 -3
@@ -8,25 +8,6 @@ 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>;
30
11
  declare const BaseField: z.ZodObject<{
31
12
  id: z.ZodString;
32
13
  parent: z.ZodOptional<z.ZodObject<{
@@ -38,7 +19,6 @@ declare const BaseField: z.ZodObject<{
38
19
  }>>;
39
20
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
40
21
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
41
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
42
22
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
43
23
  id: string;
44
24
  description: string;
@@ -94,7 +74,6 @@ declare const BaseField: z.ZodObject<{
94
74
  type: "DISPLAY_ON_REVIEW";
95
75
  conditional: import(".").JSONSchema;
96
76
  })[] | undefined;
97
- secured?: boolean | undefined;
98
77
  placeholder?: TranslationConfig | undefined;
99
78
  helperText?: TranslationConfig | undefined;
100
79
  hideLabel?: boolean | undefined;
@@ -127,7 +106,6 @@ declare const BaseField: z.ZodObject<{
127
106
  type: "DISPLAY_ON_REVIEW";
128
107
  conditional: import(".").JSONSchema;
129
108
  })[] | undefined;
130
- secured?: boolean | undefined;
131
109
  placeholder?: {
132
110
  id: string;
133
111
  description: string;
@@ -152,7 +130,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
152
130
  }>>;
153
131
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
154
132
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
155
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
156
133
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
157
134
  id: string;
158
135
  description: string;
@@ -211,7 +188,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
211
188
  type: "DISPLAY_ON_REVIEW";
212
189
  conditional: import(".").JSONSchema;
213
190
  })[] | undefined;
214
- secured?: boolean | undefined;
215
191
  placeholder?: TranslationConfig | undefined;
216
192
  helperText?: TranslationConfig | undefined;
217
193
  hideLabel?: boolean | undefined;
@@ -245,7 +221,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
245
221
  type: "DISPLAY_ON_REVIEW";
246
222
  conditional: import(".").JSONSchema;
247
223
  })[] | undefined;
248
- secured?: boolean | undefined;
249
224
  placeholder?: {
250
225
  id: string;
251
226
  description: string;
@@ -270,7 +245,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
270
245
  }>>;
271
246
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
272
247
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
273
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
274
248
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
275
249
  id: string;
276
250
  description: string;
@@ -362,7 +336,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
362
336
  type: "DISPLAY_ON_REVIEW";
363
337
  conditional: import(".").JSONSchema;
364
338
  })[] | undefined;
365
- secured?: boolean | undefined;
366
339
  placeholder?: TranslationConfig | undefined;
367
340
  helperText?: TranslationConfig | undefined;
368
341
  hideLabel?: boolean | undefined;
@@ -403,7 +376,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
403
376
  type: "DISPLAY_ON_REVIEW";
404
377
  conditional: import(".").JSONSchema;
405
378
  })[] | undefined;
406
- secured?: boolean | undefined;
407
379
  placeholder?: {
408
380
  id: string;
409
381
  description: string;
@@ -443,7 +415,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
443
415
  }>>;
444
416
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
445
417
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
446
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
447
418
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
448
419
  id: string;
449
420
  description: string;
@@ -535,7 +506,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
535
506
  type: "DISPLAY_ON_REVIEW";
536
507
  conditional: import(".").JSONSchema;
537
508
  })[] | undefined;
538
- secured?: boolean | undefined;
539
509
  placeholder?: TranslationConfig | undefined;
540
510
  helperText?: TranslationConfig | undefined;
541
511
  hideLabel?: boolean | undefined;
@@ -576,7 +546,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
576
546
  type: "DISPLAY_ON_REVIEW";
577
547
  conditional: import(".").JSONSchema;
578
548
  })[] | undefined;
579
- secured?: boolean | undefined;
580
549
  placeholder?: {
581
550
  id: string;
582
551
  description: string;
@@ -615,7 +584,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
615
584
  }>>;
616
585
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
617
586
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
618
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
619
587
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
620
588
  id: string;
621
589
  description: string;
@@ -710,7 +678,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
710
678
  type: "DISPLAY_ON_REVIEW";
711
679
  conditional: import(".").JSONSchema;
712
680
  })[] | undefined;
713
- secured?: boolean | undefined;
714
681
  placeholder?: TranslationConfig | undefined;
715
682
  helperText?: TranslationConfig | undefined;
716
683
  hideLabel?: boolean | undefined;
@@ -752,7 +719,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
752
719
  type: "DISPLAY_ON_REVIEW";
753
720
  conditional: import(".").JSONSchema;
754
721
  })[] | undefined;
755
- secured?: boolean | undefined;
756
722
  placeholder?: {
757
723
  id: string;
758
724
  description: string;
@@ -796,7 +762,6 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
796
762
  }>>;
797
763
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
798
764
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
799
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
800
765
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
801
766
  id: string;
802
767
  description: string;
@@ -876,7 +841,6 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
876
841
  type: "DISPLAY_ON_REVIEW";
877
842
  conditional: import(".").JSONSchema;
878
843
  })[] | undefined;
879
- secured?: boolean | undefined;
880
844
  placeholder?: TranslationConfig | undefined;
881
845
  helperText?: TranslationConfig | undefined;
882
846
  hideLabel?: boolean | undefined;
@@ -916,7 +880,6 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
916
880
  type: "DISPLAY_ON_REVIEW";
917
881
  conditional: import(".").JSONSchema;
918
882
  })[] | undefined;
919
- secured?: boolean | undefined;
920
883
  placeholder?: {
921
884
  id: string;
922
885
  description: string;
@@ -946,7 +909,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
946
909
  }>>;
947
910
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
948
911
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
949
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
950
912
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
951
913
  id: string;
952
914
  description: string;
@@ -1013,7 +975,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
1013
975
  type: "DISPLAY_ON_REVIEW";
1014
976
  conditional: import(".").JSONSchema;
1015
977
  })[] | undefined;
1016
- secured?: boolean | undefined;
1017
978
  placeholder?: TranslationConfig | undefined;
1018
979
  helperText?: TranslationConfig | undefined;
1019
980
  hideLabel?: boolean | undefined;
@@ -1051,7 +1012,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
1051
1012
  type: "DISPLAY_ON_REVIEW";
1052
1013
  conditional: import(".").JSONSchema;
1053
1014
  })[] | undefined;
1054
- secured?: boolean | undefined;
1055
1015
  placeholder?: {
1056
1016
  id: string;
1057
1017
  description: string;
@@ -1080,7 +1040,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1080
1040
  }>>;
1081
1041
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1082
1042
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1083
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1084
1043
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1085
1044
  id: string;
1086
1045
  description: string;
@@ -1155,7 +1114,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1155
1114
  type: "DISPLAY_ON_REVIEW";
1156
1115
  conditional: import(".").JSONSchema;
1157
1116
  })[] | undefined;
1158
- secured?: boolean | undefined;
1159
1117
  placeholder?: TranslationConfig | undefined;
1160
1118
  helperText?: TranslationConfig | undefined;
1161
1119
  hideLabel?: boolean | undefined;
@@ -1193,7 +1151,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1193
1151
  type: "DISPLAY_ON_REVIEW";
1194
1152
  conditional: import(".").JSONSchema;
1195
1153
  })[] | undefined;
1196
- secured?: boolean | undefined;
1197
1154
  placeholder?: {
1198
1155
  id: string;
1199
1156
  description: string;
@@ -1226,7 +1183,6 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1226
1183
  }>>;
1227
1184
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1228
1185
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1229
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1230
1186
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1231
1187
  id: string;
1232
1188
  description: string;
@@ -1301,7 +1257,6 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1301
1257
  type: "DISPLAY_ON_REVIEW";
1302
1258
  conditional: import(".").JSONSchema;
1303
1259
  })[] | undefined;
1304
- secured?: boolean | undefined;
1305
1260
  placeholder?: TranslationConfig | undefined;
1306
1261
  helperText?: TranslationConfig | undefined;
1307
1262
  hideLabel?: boolean | undefined;
@@ -1339,7 +1294,6 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1339
1294
  type: "DISPLAY_ON_REVIEW";
1340
1295
  conditional: import(".").JSONSchema;
1341
1296
  })[] | undefined;
1342
- secured?: boolean | undefined;
1343
1297
  placeholder?: {
1344
1298
  id: string;
1345
1299
  description: string;
@@ -1363,6 +1317,29 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1363
1317
  export type DateRangeField = z.infer<typeof DateRangeField>;
1364
1318
  declare const HtmlFontVariant: z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>;
1365
1319
  export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
1320
+ declare const ParagraphConfiguration: z.ZodDefault<z.ZodObject<{
1321
+ styles: z.ZodOptional<z.ZodObject<{
1322
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
1323
+ hint: z.ZodOptional<z.ZodBoolean>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1326
+ hint?: boolean | undefined;
1327
+ }, {
1328
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1329
+ hint?: boolean | undefined;
1330
+ }>>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ styles?: {
1333
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1334
+ hint?: boolean | undefined;
1335
+ } | undefined;
1336
+ }, {
1337
+ styles?: {
1338
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1339
+ hint?: boolean | undefined;
1340
+ } | undefined;
1341
+ }>>;
1342
+ export type ParagraphConfiguration = z.infer<typeof ParagraphConfiguration>;
1366
1343
  declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1367
1344
  id: z.ZodString;
1368
1345
  parent: z.ZodOptional<z.ZodObject<{
@@ -1374,7 +1351,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1374
1351
  }>>;
1375
1352
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1376
1353
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1377
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1378
1354
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1379
1355
  id: string;
1380
1356
  description: string;
@@ -1415,18 +1391,23 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1415
1391
  configuration: z.ZodDefault<z.ZodObject<{
1416
1392
  styles: z.ZodOptional<z.ZodObject<{
1417
1393
  fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
1394
+ hint: z.ZodOptional<z.ZodBoolean>;
1418
1395
  }, "strip", z.ZodTypeAny, {
1419
1396
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1397
+ hint?: boolean | undefined;
1420
1398
  }, {
1421
1399
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1400
+ hint?: boolean | undefined;
1422
1401
  }>>;
1423
1402
  }, "strip", z.ZodTypeAny, {
1424
1403
  styles?: {
1425
1404
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1405
+ hint?: boolean | undefined;
1426
1406
  } | undefined;
1427
1407
  }, {
1428
1408
  styles?: {
1429
1409
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1410
+ hint?: boolean | undefined;
1430
1411
  } | undefined;
1431
1412
  }>>;
1432
1413
  }>, "strip", z.ZodTypeAny, {
@@ -1436,6 +1417,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1436
1417
  configuration: {
1437
1418
  styles?: {
1438
1419
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1420
+ hint?: boolean | undefined;
1439
1421
  } | undefined;
1440
1422
  };
1441
1423
  parent?: {
@@ -1456,7 +1438,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1456
1438
  type: "DISPLAY_ON_REVIEW";
1457
1439
  conditional: import(".").JSONSchema;
1458
1440
  })[] | undefined;
1459
- secured?: boolean | undefined;
1460
1441
  placeholder?: TranslationConfig | undefined;
1461
1442
  helperText?: TranslationConfig | undefined;
1462
1443
  hideLabel?: boolean | undefined;
@@ -1491,7 +1472,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1491
1472
  type: "DISPLAY_ON_REVIEW";
1492
1473
  conditional: import(".").JSONSchema;
1493
1474
  })[] | undefined;
1494
- secured?: boolean | undefined;
1495
1475
  placeholder?: {
1496
1476
  id: string;
1497
1477
  description: string;
@@ -1507,6 +1487,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1507
1487
  configuration?: {
1508
1488
  styles?: {
1509
1489
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1490
+ hint?: boolean | undefined;
1510
1491
  } | undefined;
1511
1492
  } | undefined;
1512
1493
  }>;
@@ -1522,7 +1503,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1522
1503
  }>>;
1523
1504
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1524
1505
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1525
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1526
1506
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1527
1507
  id: string;
1528
1508
  description: string;
@@ -1582,7 +1562,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1582
1562
  type: "DISPLAY_ON_REVIEW";
1583
1563
  conditional: import(".").JSONSchema;
1584
1564
  })[] | undefined;
1585
- secured?: boolean | undefined;
1586
1565
  placeholder?: TranslationConfig | undefined;
1587
1566
  helperText?: TranslationConfig | undefined;
1588
1567
  hideLabel?: boolean | undefined;
@@ -1617,7 +1596,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1617
1596
  type: "DISPLAY_ON_REVIEW";
1618
1597
  conditional: import(".").JSONSchema;
1619
1598
  })[] | undefined;
1620
- secured?: boolean | undefined;
1621
1599
  placeholder?: {
1622
1600
  id: string;
1623
1601
  description: string;
@@ -1643,7 +1621,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1643
1621
  }>>;
1644
1622
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1645
1623
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1646
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1647
1624
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1648
1625
  id: string;
1649
1626
  description: string;
@@ -1757,7 +1734,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1757
1734
  type: "DISPLAY_ON_REVIEW";
1758
1735
  conditional: import(".").JSONSchema;
1759
1736
  })[] | undefined;
1760
- secured?: boolean | undefined;
1761
1737
  placeholder?: TranslationConfig | undefined;
1762
1738
  helperText?: TranslationConfig | undefined;
1763
1739
  hideLabel?: boolean | undefined;
@@ -1796,7 +1772,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1796
1772
  type: "DISPLAY_ON_REVIEW";
1797
1773
  conditional: import(".").JSONSchema;
1798
1774
  })[] | undefined;
1799
- secured?: boolean | undefined;
1800
1775
  placeholder?: {
1801
1776
  id: string;
1802
1777
  description: string;
@@ -1856,7 +1831,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1856
1831
  }>>;
1857
1832
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1858
1833
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1859
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1860
1834
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1861
1835
  id: string;
1862
1836
  description: string;
@@ -1955,7 +1929,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1955
1929
  type: "DISPLAY_ON_REVIEW";
1956
1930
  conditional: import(".").JSONSchema;
1957
1931
  })[] | undefined;
1958
- secured?: boolean | undefined;
1959
1932
  placeholder?: TranslationConfig | undefined;
1960
1933
  helperText?: TranslationConfig | undefined;
1961
1934
  hideLabel?: boolean | undefined;
@@ -2003,7 +1976,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
2003
1976
  type: "DISPLAY_ON_REVIEW";
2004
1977
  conditional: import(".").JSONSchema;
2005
1978
  })[] | undefined;
2006
- secured?: boolean | undefined;
2007
1979
  placeholder?: {
2008
1980
  id: string;
2009
1981
  description: string;
@@ -2034,7 +2006,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
2034
2006
  }>>;
2035
2007
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2036
2008
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2037
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2038
2009
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2039
2010
  id: string;
2040
2011
  description: string;
@@ -2122,7 +2093,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
2122
2093
  type: "DISPLAY_ON_REVIEW";
2123
2094
  conditional: import(".").JSONSchema;
2124
2095
  })[] | undefined;
2125
- secured?: boolean | undefined;
2126
2096
  placeholder?: TranslationConfig | undefined;
2127
2097
  helperText?: TranslationConfig | undefined;
2128
2098
  hideLabel?: boolean | undefined;
@@ -2162,7 +2132,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
2162
2132
  type: "DISPLAY_ON_REVIEW";
2163
2133
  conditional: import(".").JSONSchema;
2164
2134
  })[] | undefined;
2165
- secured?: boolean | undefined;
2166
2135
  placeholder?: {
2167
2136
  id: string;
2168
2137
  description: string;
@@ -2193,7 +2162,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2193
2162
  }>>;
2194
2163
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2195
2164
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2196
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2197
2165
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2198
2166
  id: string;
2199
2167
  description: string;
@@ -2275,7 +2243,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2275
2243
  type: "DISPLAY_ON_REVIEW";
2276
2244
  conditional: import(".").JSONSchema;
2277
2245
  })[] | undefined;
2278
- secured?: boolean | undefined;
2279
2246
  placeholder?: TranslationConfig | undefined;
2280
2247
  helperText?: TranslationConfig | undefined;
2281
2248
  hideLabel?: boolean | undefined;
@@ -2318,7 +2285,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2318
2285
  type: "DISPLAY_ON_REVIEW";
2319
2286
  conditional: import(".").JSONSchema;
2320
2287
  })[] | undefined;
2321
- secured?: boolean | undefined;
2322
2288
  placeholder?: {
2323
2289
  id: string;
2324
2290
  description: string;
@@ -2332,7 +2298,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
2332
2298
  hideLabel?: boolean | undefined;
2333
2299
  defaultValue?: string | undefined;
2334
2300
  }>;
2335
- declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
2301
+ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2336
2302
  id: z.ZodString;
2337
2303
  parent: z.ZodOptional<z.ZodObject<{
2338
2304
  $$field: z.ZodString;
@@ -2343,7 +2309,6 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
2343
2309
  }>>;
2344
2310
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2345
2311
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2346
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2347
2312
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2348
2313
  id: string;
2349
2314
  description: string;
@@ -2379,54 +2344,10 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
2379
2344
  }>>;
2380
2345
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2381
2346
  }, {
2382
- type: z.ZodLiteral<"NAME">;
2383
- defaultValue: z.ZodOptional<z.ZodObject<{
2384
- firstname: z.ZodString;
2385
- surname: z.ZodString;
2386
- }, "strip", z.ZodTypeAny, {
2387
- firstname: string;
2388
- surname: string;
2389
- }, {
2390
- firstname: string;
2391
- surname: string;
2392
- }>>;
2393
- configuration: z.ZodOptional<z.ZodObject<{
2394
- maxLength: z.ZodOptional<z.ZodNumber>;
2395
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2396
- id: string;
2397
- description: string;
2398
- defaultMessage: string;
2399
- }>>;
2400
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2401
- id: string;
2402
- description: string;
2403
- defaultMessage: string;
2404
- }>>;
2405
- includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2406
- searchMode: z.ZodOptional<z.ZodBoolean>;
2407
- }, "strip", z.ZodTypeAny, {
2408
- maxLength?: number | undefined;
2409
- prefix?: TranslationConfig | undefined;
2410
- postfix?: TranslationConfig | undefined;
2411
- includeMiddlename?: boolean | undefined;
2412
- searchMode?: boolean | undefined;
2413
- }, {
2414
- maxLength?: number | undefined;
2415
- prefix?: {
2416
- id: string;
2417
- description: string;
2418
- defaultMessage: string;
2419
- } | undefined;
2420
- postfix?: {
2421
- id: string;
2422
- description: string;
2423
- defaultMessage: string;
2424
- } | undefined;
2425
- includeMiddlename?: boolean | undefined;
2426
- searchMode?: boolean | undefined;
2427
- }>>;
2347
+ type: z.ZodLiteral<"CHECKBOX">;
2348
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
2428
2349
  }>, "strip", z.ZodTypeAny, {
2429
- type: "NAME";
2350
+ type: "CHECKBOX";
2430
2351
  id: string;
2431
2352
  label: TranslationConfig;
2432
2353
  parent?: {
@@ -2447,23 +2368,12 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
2447
2368
  type: "DISPLAY_ON_REVIEW";
2448
2369
  conditional: import(".").JSONSchema;
2449
2370
  })[] | undefined;
2450
- secured?: boolean | undefined;
2451
2371
  placeholder?: TranslationConfig | undefined;
2452
2372
  helperText?: TranslationConfig | undefined;
2453
2373
  hideLabel?: boolean | undefined;
2454
- defaultValue?: {
2455
- firstname: string;
2456
- surname: string;
2457
- } | undefined;
2458
- configuration?: {
2459
- maxLength?: number | undefined;
2460
- prefix?: TranslationConfig | undefined;
2461
- postfix?: TranslationConfig | undefined;
2462
- includeMiddlename?: boolean | undefined;
2463
- searchMode?: boolean | undefined;
2464
- } | undefined;
2374
+ defaultValue?: boolean | undefined;
2465
2375
  }, {
2466
- type: "NAME";
2376
+ type: "CHECKBOX";
2467
2377
  id: string;
2468
2378
  label: {
2469
2379
  id: string;
@@ -2492,7 +2402,6 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
2492
2402
  type: "DISPLAY_ON_REVIEW";
2493
2403
  conditional: import(".").JSONSchema;
2494
2404
  })[] | undefined;
2495
- secured?: boolean | undefined;
2496
2405
  placeholder?: {
2497
2406
  id: string;
2498
2407
  description: string;
@@ -2504,27 +2413,10 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
2504
2413
  defaultMessage: string;
2505
2414
  } | undefined;
2506
2415
  hideLabel?: boolean | undefined;
2507
- defaultValue?: {
2508
- firstname: string;
2509
- surname: string;
2510
- } | undefined;
2511
- configuration?: {
2512
- maxLength?: number | undefined;
2513
- prefix?: {
2514
- id: string;
2515
- description: string;
2516
- defaultMessage: string;
2517
- } | undefined;
2518
- postfix?: {
2519
- id: string;
2520
- description: string;
2521
- defaultMessage: string;
2522
- } | undefined;
2523
- includeMiddlename?: boolean | undefined;
2524
- searchMode?: boolean | undefined;
2525
- } | undefined;
2416
+ defaultValue?: boolean | undefined;
2526
2417
  }>;
2527
- declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
2418
+ export type Checkbox = z.infer<typeof Checkbox>;
2419
+ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2528
2420
  id: z.ZodString;
2529
2421
  parent: z.ZodOptional<z.ZodObject<{
2530
2422
  $$field: z.ZodString;
@@ -2535,7 +2427,6 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
2535
2427
  }>>;
2536
2428
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2537
2429
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2538
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2539
2430
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2540
2431
  id: string;
2541
2432
  description: string;
@@ -2571,10 +2462,10 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
2571
2462
  }>>;
2572
2463
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2573
2464
  }, {
2465
+ type: z.ZodLiteral<"COUNTRY">;
2574
2466
  defaultValue: z.ZodOptional<z.ZodString>;
2575
- type: z.ZodLiteral<"PHONE">;
2576
2467
  }>, "strip", z.ZodTypeAny, {
2577
- type: "PHONE";
2468
+ type: "COUNTRY";
2578
2469
  id: string;
2579
2470
  label: TranslationConfig;
2580
2471
  parent?: {
@@ -2595,13 +2486,12 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
2595
2486
  type: "DISPLAY_ON_REVIEW";
2596
2487
  conditional: import(".").JSONSchema;
2597
2488
  })[] | undefined;
2598
- secured?: boolean | undefined;
2599
2489
  placeholder?: TranslationConfig | undefined;
2600
2490
  helperText?: TranslationConfig | undefined;
2601
2491
  hideLabel?: boolean | undefined;
2602
2492
  defaultValue?: string | undefined;
2603
2493
  }, {
2604
- type: "PHONE";
2494
+ type: "COUNTRY";
2605
2495
  id: string;
2606
2496
  label: {
2607
2497
  id: string;
@@ -2630,7 +2520,6 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
2630
2520
  type: "DISPLAY_ON_REVIEW";
2631
2521
  conditional: import(".").JSONSchema;
2632
2522
  })[] | undefined;
2633
- secured?: boolean | undefined;
2634
2523
  placeholder?: {
2635
2524
  id: string;
2636
2525
  description: string;
@@ -2644,7 +2533,29 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
2644
2533
  hideLabel?: boolean | undefined;
2645
2534
  defaultValue?: string | undefined;
2646
2535
  }>;
2647
- declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
2536
+ export type Country = z.infer<typeof Country>;
2537
+ export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2538
+ declare const AdministrativeAreaConfiguration: z.ZodObject<{
2539
+ partOf: z.ZodOptional<z.ZodObject<{
2540
+ $declaration: z.ZodString;
2541
+ }, "strip", z.ZodTypeAny, {
2542
+ $declaration: string;
2543
+ }, {
2544
+ $declaration: string;
2545
+ }>>;
2546
+ type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2547
+ }, "strip", z.ZodTypeAny, {
2548
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2549
+ partOf?: {
2550
+ $declaration: string;
2551
+ } | undefined;
2552
+ }, {
2553
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2554
+ partOf?: {
2555
+ $declaration: string;
2556
+ } | undefined;
2557
+ }>;
2558
+ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2648
2559
  id: z.ZodString;
2649
2560
  parent: z.ZodOptional<z.ZodObject<{
2650
2561
  $$field: z.ZodString;
@@ -2655,7 +2566,6 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
2655
2566
  }>>;
2656
2567
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2657
2568
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2658
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2659
2569
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2660
2570
  id: string;
2661
2571
  description: string;
@@ -2691,12 +2601,38 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
2691
2601
  }>>;
2692
2602
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2693
2603
  }, {
2604
+ type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
2694
2605
  defaultValue: z.ZodOptional<z.ZodString>;
2695
- type: z.ZodLiteral<"ID">;
2606
+ configuration: z.ZodObject<{
2607
+ partOf: z.ZodOptional<z.ZodObject<{
2608
+ $declaration: z.ZodString;
2609
+ }, "strip", z.ZodTypeAny, {
2610
+ $declaration: string;
2611
+ }, {
2612
+ $declaration: string;
2613
+ }>>;
2614
+ type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
2615
+ }, "strip", z.ZodTypeAny, {
2616
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2617
+ partOf?: {
2618
+ $declaration: string;
2619
+ } | undefined;
2620
+ }, {
2621
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2622
+ partOf?: {
2623
+ $declaration: string;
2624
+ } | undefined;
2625
+ }>;
2696
2626
  }>, "strip", z.ZodTypeAny, {
2697
- type: "ID";
2627
+ type: "ADMINISTRATIVE_AREA";
2698
2628
  id: string;
2699
2629
  label: TranslationConfig;
2630
+ configuration: {
2631
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2632
+ partOf?: {
2633
+ $declaration: string;
2634
+ } | undefined;
2635
+ };
2700
2636
  parent?: {
2701
2637
  $$field: string;
2702
2638
  } | undefined;
@@ -2715,19 +2651,24 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
2715
2651
  type: "DISPLAY_ON_REVIEW";
2716
2652
  conditional: import(".").JSONSchema;
2717
2653
  })[] | undefined;
2718
- secured?: boolean | undefined;
2719
2654
  placeholder?: TranslationConfig | undefined;
2720
2655
  helperText?: TranslationConfig | undefined;
2721
2656
  hideLabel?: boolean | undefined;
2722
2657
  defaultValue?: string | undefined;
2723
2658
  }, {
2724
- type: "ID";
2659
+ type: "ADMINISTRATIVE_AREA";
2725
2660
  id: string;
2726
2661
  label: {
2727
2662
  id: string;
2728
2663
  description: string;
2729
2664
  defaultMessage: string;
2730
2665
  };
2666
+ configuration: {
2667
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2668
+ partOf?: {
2669
+ $declaration: string;
2670
+ } | undefined;
2671
+ };
2731
2672
  parent?: {
2732
2673
  $$field: string;
2733
2674
  } | undefined;
@@ -2750,7 +2691,6 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
2750
2691
  type: "DISPLAY_ON_REVIEW";
2751
2692
  conditional: import(".").JSONSchema;
2752
2693
  })[] | undefined;
2753
- secured?: boolean | undefined;
2754
2694
  placeholder?: {
2755
2695
  id: string;
2756
2696
  description: string;
@@ -2764,7 +2704,8 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
2764
2704
  hideLabel?: boolean | undefined;
2765
2705
  defaultValue?: string | undefined;
2766
2706
  }>;
2767
- declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2707
+ export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
2708
+ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2768
2709
  id: z.ZodString;
2769
2710
  parent: z.ZodOptional<z.ZodObject<{
2770
2711
  $$field: z.ZodString;
@@ -2775,7 +2716,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2775
2716
  }>>;
2776
2717
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2777
2718
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2778
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2779
2719
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2780
2720
  id: string;
2781
2721
  description: string;
@@ -2811,10 +2751,10 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2811
2751
  }>>;
2812
2752
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2813
2753
  }, {
2814
- type: z.ZodLiteral<"CHECKBOX">;
2815
- defaultValue: z.ZodOptional<z.ZodBoolean>;
2754
+ type: z.ZodLiteral<"LOCATION">;
2755
+ defaultValue: z.ZodOptional<z.ZodString>;
2816
2756
  }>, "strip", z.ZodTypeAny, {
2817
- type: "CHECKBOX";
2757
+ type: "LOCATION";
2818
2758
  id: string;
2819
2759
  label: TranslationConfig;
2820
2760
  parent?: {
@@ -2835,13 +2775,12 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2835
2775
  type: "DISPLAY_ON_REVIEW";
2836
2776
  conditional: import(".").JSONSchema;
2837
2777
  })[] | undefined;
2838
- secured?: boolean | undefined;
2839
2778
  placeholder?: TranslationConfig | undefined;
2840
2779
  helperText?: TranslationConfig | undefined;
2841
2780
  hideLabel?: boolean | undefined;
2842
- defaultValue?: boolean | undefined;
2781
+ defaultValue?: string | undefined;
2843
2782
  }, {
2844
- type: "CHECKBOX";
2783
+ type: "LOCATION";
2845
2784
  id: string;
2846
2785
  label: {
2847
2786
  id: string;
@@ -2870,7 +2809,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2870
2809
  type: "DISPLAY_ON_REVIEW";
2871
2810
  conditional: import(".").JSONSchema;
2872
2811
  })[] | undefined;
2873
- secured?: boolean | undefined;
2874
2812
  placeholder?: {
2875
2813
  id: string;
2876
2814
  description: string;
@@ -2882,10 +2820,10 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2882
2820
  defaultMessage: string;
2883
2821
  } | undefined;
2884
2822
  hideLabel?: boolean | undefined;
2885
- defaultValue?: boolean | undefined;
2823
+ defaultValue?: string | undefined;
2886
2824
  }>;
2887
- export type Checkbox = z.infer<typeof Checkbox>;
2888
- declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2825
+ export type Location = z.infer<typeof Location>;
2826
+ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2889
2827
  id: z.ZodString;
2890
2828
  parent: z.ZodOptional<z.ZodObject<{
2891
2829
  $$field: z.ZodString;
@@ -2896,7 +2834,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2896
2834
  }>>;
2897
2835
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2898
2836
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2899
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2900
2837
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2901
2838
  id: string;
2902
2839
  description: string;
@@ -2932,12 +2869,63 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2932
2869
  }>>;
2933
2870
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2934
2871
  }, {
2935
- type: z.ZodLiteral<"COUNTRY">;
2936
- defaultValue: z.ZodOptional<z.ZodString>;
2872
+ type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
2873
+ options: z.ZodArray<z.ZodObject<{
2874
+ value: z.ZodString;
2875
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2876
+ id: string;
2877
+ description: string;
2878
+ defaultMessage: string;
2879
+ }>;
2880
+ }, "strip", z.ZodTypeAny, {
2881
+ value: string;
2882
+ label: TranslationConfig;
2883
+ }, {
2884
+ value: string;
2885
+ label: {
2886
+ id: string;
2887
+ description: string;
2888
+ defaultMessage: string;
2889
+ };
2890
+ }>, "many">;
2891
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
2892
+ filename: z.ZodString;
2893
+ originalFilename: z.ZodString;
2894
+ type: z.ZodString;
2895
+ option: z.ZodString;
2896
+ }, "strip", z.ZodTypeAny, {
2897
+ type: string;
2898
+ option: string;
2899
+ filename: string;
2900
+ originalFilename: string;
2901
+ }, {
2902
+ type: string;
2903
+ option: string;
2904
+ filename: string;
2905
+ originalFilename: string;
2906
+ }>, "many">>;
2907
+ configuration: z.ZodDefault<z.ZodObject<{
2908
+ maxFileSize: z.ZodDefault<z.ZodNumber>;
2909
+ acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
2910
+ }, "strip", z.ZodTypeAny, {
2911
+ maxFileSize: number;
2912
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2913
+ }, {
2914
+ maxFileSize?: number | undefined;
2915
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2916
+ }>>;
2937
2917
  }>, "strip", z.ZodTypeAny, {
2938
- type: "COUNTRY";
2918
+ type: "FILE_WITH_OPTIONS";
2939
2919
  id: string;
2920
+ options: {
2921
+ value: string;
2922
+ label: TranslationConfig;
2923
+ }[];
2940
2924
  label: TranslationConfig;
2925
+ configuration: {
2926
+ maxFileSize: number;
2927
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2928
+ };
2941
2929
  parent?: {
2942
2930
  $$field: string;
2943
2931
  } | undefined;
@@ -2956,14 +2944,26 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2956
2944
  type: "DISPLAY_ON_REVIEW";
2957
2945
  conditional: import(".").JSONSchema;
2958
2946
  })[] | undefined;
2959
- secured?: boolean | undefined;
2960
2947
  placeholder?: TranslationConfig | undefined;
2961
2948
  helperText?: TranslationConfig | undefined;
2962
2949
  hideLabel?: boolean | undefined;
2963
- defaultValue?: string | undefined;
2950
+ defaultValue?: {
2951
+ type: string;
2952
+ option: string;
2953
+ filename: string;
2954
+ originalFilename: string;
2955
+ }[] | undefined;
2964
2956
  }, {
2965
- type: "COUNTRY";
2957
+ type: "FILE_WITH_OPTIONS";
2966
2958
  id: string;
2959
+ options: {
2960
+ value: string;
2961
+ label: {
2962
+ id: string;
2963
+ description: string;
2964
+ defaultMessage: string;
2965
+ };
2966
+ }[];
2967
2967
  label: {
2968
2968
  id: string;
2969
2969
  description: string;
@@ -2991,7 +2991,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2991
2991
  type: "DISPLAY_ON_REVIEW";
2992
2992
  conditional: import(".").JSONSchema;
2993
2993
  })[] | undefined;
2994
- secured?: boolean | undefined;
2995
2994
  placeholder?: {
2996
2995
  id: string;
2997
2996
  description: string;
@@ -3003,31 +3002,19 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
3003
3002
  defaultMessage: string;
3004
3003
  } | undefined;
3005
3004
  hideLabel?: boolean | undefined;
3006
- defaultValue?: string | undefined;
3005
+ defaultValue?: {
3006
+ type: string;
3007
+ option: string;
3008
+ filename: string;
3009
+ originalFilename: string;
3010
+ }[] | undefined;
3011
+ configuration?: {
3012
+ maxFileSize?: number | undefined;
3013
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3014
+ } | undefined;
3007
3015
  }>;
3008
- export type Country = z.infer<typeof Country>;
3009
- export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3010
- declare const AdministrativeAreaConfiguration: z.ZodObject<{
3011
- partOf: z.ZodOptional<z.ZodObject<{
3012
- $declaration: z.ZodString;
3013
- }, "strip", z.ZodTypeAny, {
3014
- $declaration: string;
3015
- }, {
3016
- $declaration: string;
3017
- }>>;
3018
- type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3019
- }, "strip", z.ZodTypeAny, {
3020
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3021
- partOf?: {
3022
- $declaration: string;
3023
- } | undefined;
3024
- }, {
3025
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3026
- partOf?: {
3027
- $declaration: string;
3028
- } | undefined;
3029
- }>;
3030
- declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
3016
+ export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
3017
+ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3031
3018
  id: z.ZodString;
3032
3019
  parent: z.ZodOptional<z.ZodObject<{
3033
3020
  $$field: z.ZodString;
@@ -3038,7 +3025,6 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
3038
3025
  }>>;
3039
3026
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3040
3027
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3041
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3042
3028
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3043
3029
  id: string;
3044
3030
  description: string;
@@ -3074,38 +3060,12 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
3074
3060
  }>>;
3075
3061
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3076
3062
  }, {
3077
- type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
3063
+ type: z.ZodLiteral<"FACILITY">;
3078
3064
  defaultValue: z.ZodOptional<z.ZodString>;
3079
- configuration: z.ZodObject<{
3080
- partOf: z.ZodOptional<z.ZodObject<{
3081
- $declaration: z.ZodString;
3082
- }, "strip", z.ZodTypeAny, {
3083
- $declaration: string;
3084
- }, {
3085
- $declaration: string;
3086
- }>>;
3087
- type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
3088
- }, "strip", z.ZodTypeAny, {
3089
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3090
- partOf?: {
3091
- $declaration: string;
3092
- } | undefined;
3093
- }, {
3094
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3095
- partOf?: {
3096
- $declaration: string;
3097
- } | undefined;
3098
- }>;
3099
3065
  }>, "strip", z.ZodTypeAny, {
3100
- type: "ADMINISTRATIVE_AREA";
3066
+ type: "FACILITY";
3101
3067
  id: string;
3102
3068
  label: TranslationConfig;
3103
- configuration: {
3104
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3105
- partOf?: {
3106
- $declaration: string;
3107
- } | undefined;
3108
- };
3109
3069
  parent?: {
3110
3070
  $$field: string;
3111
3071
  } | undefined;
@@ -3124,25 +3084,18 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
3124
3084
  type: "DISPLAY_ON_REVIEW";
3125
3085
  conditional: import(".").JSONSchema;
3126
3086
  })[] | undefined;
3127
- secured?: boolean | undefined;
3128
3087
  placeholder?: TranslationConfig | undefined;
3129
3088
  helperText?: TranslationConfig | undefined;
3130
3089
  hideLabel?: boolean | undefined;
3131
3090
  defaultValue?: string | undefined;
3132
3091
  }, {
3133
- type: "ADMINISTRATIVE_AREA";
3092
+ type: "FACILITY";
3134
3093
  id: string;
3135
3094
  label: {
3136
3095
  id: string;
3137
3096
  description: string;
3138
3097
  defaultMessage: string;
3139
3098
  };
3140
- configuration: {
3141
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3142
- partOf?: {
3143
- $declaration: string;
3144
- } | undefined;
3145
- };
3146
3099
  parent?: {
3147
3100
  $$field: string;
3148
3101
  } | undefined;
@@ -3165,7 +3118,6 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
3165
3118
  type: "DISPLAY_ON_REVIEW";
3166
3119
  conditional: import(".").JSONSchema;
3167
3120
  })[] | undefined;
3168
- secured?: boolean | undefined;
3169
3121
  placeholder?: {
3170
3122
  id: string;
3171
3123
  description: string;
@@ -3179,8 +3131,8 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
3179
3131
  hideLabel?: boolean | undefined;
3180
3132
  defaultValue?: string | undefined;
3181
3133
  }>;
3182
- export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
3183
- declare const Location: z.ZodObject<z.objectUtil.extendShape<{
3134
+ export type Facility = z.infer<typeof Facility>;
3135
+ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3184
3136
  id: z.ZodString;
3185
3137
  parent: z.ZodOptional<z.ZodObject<{
3186
3138
  $$field: z.ZodString;
@@ -3191,7 +3143,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
3191
3143
  }>>;
3192
3144
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3193
3145
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3194
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3195
3146
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3196
3147
  id: string;
3197
3148
  description: string;
@@ -3227,10 +3178,10 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
3227
3178
  }>>;
3228
3179
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3229
3180
  }, {
3230
- type: z.ZodLiteral<"LOCATION">;
3181
+ type: z.ZodLiteral<"OFFICE">;
3231
3182
  defaultValue: z.ZodOptional<z.ZodString>;
3232
3183
  }>, "strip", z.ZodTypeAny, {
3233
- type: "LOCATION";
3184
+ type: "OFFICE";
3234
3185
  id: string;
3235
3186
  label: TranslationConfig;
3236
3187
  parent?: {
@@ -3251,13 +3202,12 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
3251
3202
  type: "DISPLAY_ON_REVIEW";
3252
3203
  conditional: import(".").JSONSchema;
3253
3204
  })[] | undefined;
3254
- secured?: boolean | undefined;
3255
3205
  placeholder?: TranslationConfig | undefined;
3256
3206
  helperText?: TranslationConfig | undefined;
3257
3207
  hideLabel?: boolean | undefined;
3258
3208
  defaultValue?: string | undefined;
3259
3209
  }, {
3260
- type: "LOCATION";
3210
+ type: "OFFICE";
3261
3211
  id: string;
3262
3212
  label: {
3263
3213
  id: string;
@@ -3286,7 +3236,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
3286
3236
  type: "DISPLAY_ON_REVIEW";
3287
3237
  conditional: import(".").JSONSchema;
3288
3238
  })[] | undefined;
3289
- secured?: boolean | undefined;
3290
3239
  placeholder?: {
3291
3240
  id: string;
3292
3241
  description: string;
@@ -3300,8 +3249,8 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
3300
3249
  hideLabel?: boolean | undefined;
3301
3250
  defaultValue?: string | undefined;
3302
3251
  }>;
3303
- export type Location = z.infer<typeof Location>;
3304
- declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
3252
+ export type Office = z.infer<typeof Office>;
3253
+ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3305
3254
  id: z.ZodString;
3306
3255
  parent: z.ZodOptional<z.ZodObject<{
3307
3256
  $$field: z.ZodString;
@@ -3312,7 +3261,6 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
3312
3261
  }>>;
3313
3262
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3314
3263
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3315
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3316
3264
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3317
3265
  id: string;
3318
3266
  description: string;
@@ -3348,63 +3296,98 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
3348
3296
  }>>;
3349
3297
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3350
3298
  }, {
3351
- type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
3352
- options: z.ZodArray<z.ZodObject<{
3353
- value: z.ZodString;
3354
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3355
- id: string;
3356
- description: string;
3357
- defaultMessage: string;
3358
- }>;
3359
- }, "strip", z.ZodTypeAny, {
3360
- value: string;
3361
- label: TranslationConfig;
3299
+ type: z.ZodLiteral<"ADDRESS">;
3300
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3301
+ country: z.ZodString;
3302
+ addressType: z.ZodLiteral<"DOMESTIC">;
3303
+ province: z.ZodString;
3304
+ district: z.ZodString;
3362
3305
  }, {
3363
- value: string;
3364
- label: {
3365
- id: string;
3366
- description: string;
3367
- defaultMessage: string;
3368
- };
3369
- }>, "many">;
3370
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
3371
- filename: z.ZodString;
3372
- originalFilename: z.ZodString;
3373
- type: z.ZodString;
3374
- option: z.ZodString;
3375
- }, "strip", z.ZodTypeAny, {
3376
- type: string;
3377
- option: string;
3378
- filename: string;
3379
- originalFilename: string;
3306
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3307
+ town: z.ZodOptional<z.ZodString>;
3308
+ residentialArea: z.ZodOptional<z.ZodString>;
3309
+ street: z.ZodOptional<z.ZodString>;
3310
+ number: z.ZodOptional<z.ZodString>;
3311
+ zipCode: z.ZodOptional<z.ZodString>;
3312
+ }>, "strip", z.ZodTypeAny, {
3313
+ country: string;
3314
+ district: string;
3315
+ addressType: "DOMESTIC";
3316
+ province: string;
3317
+ urbanOrRural: "URBAN";
3318
+ number?: string | undefined;
3319
+ town?: string | undefined;
3320
+ residentialArea?: string | undefined;
3321
+ street?: string | undefined;
3322
+ zipCode?: string | undefined;
3380
3323
  }, {
3381
- type: string;
3382
- option: string;
3383
- filename: string;
3384
- originalFilename: string;
3385
- }>, "many">>;
3386
- configuration: z.ZodDefault<z.ZodObject<{
3387
- maxFileSize: z.ZodDefault<z.ZodNumber>;
3388
- acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
3324
+ country: string;
3325
+ district: string;
3326
+ addressType: "DOMESTIC";
3327
+ province: string;
3328
+ urbanOrRural: "URBAN";
3329
+ number?: string | undefined;
3330
+ town?: string | undefined;
3331
+ residentialArea?: string | undefined;
3332
+ street?: string | undefined;
3333
+ zipCode?: string | undefined;
3334
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3335
+ country: z.ZodString;
3336
+ addressType: z.ZodLiteral<"DOMESTIC">;
3337
+ province: z.ZodString;
3338
+ district: z.ZodString;
3339
+ }, {
3340
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3341
+ village: z.ZodOptional<z.ZodString>;
3342
+ }>, "strip", z.ZodTypeAny, {
3343
+ country: string;
3344
+ district: string;
3345
+ addressType: "DOMESTIC";
3346
+ province: string;
3347
+ urbanOrRural: "RURAL";
3348
+ village?: string | undefined;
3349
+ }, {
3350
+ country: string;
3351
+ district: string;
3352
+ addressType: "DOMESTIC";
3353
+ province: string;
3354
+ urbanOrRural: "RURAL";
3355
+ village?: string | undefined;
3356
+ }>]>, z.ZodObject<{
3357
+ country: z.ZodString;
3358
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3359
+ state: z.ZodString;
3360
+ district2: z.ZodString;
3361
+ cityOrTown: z.ZodOptional<z.ZodString>;
3362
+ addressLine1: z.ZodOptional<z.ZodString>;
3363
+ addressLine2: z.ZodOptional<z.ZodString>;
3364
+ addressLine3: z.ZodOptional<z.ZodString>;
3365
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
3389
3366
  }, "strip", z.ZodTypeAny, {
3390
- maxFileSize: number;
3391
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3367
+ country: string;
3368
+ state: string;
3369
+ addressType: "INTERNATIONAL";
3370
+ district2: string;
3371
+ cityOrTown?: string | undefined;
3372
+ addressLine1?: string | undefined;
3373
+ addressLine2?: string | undefined;
3374
+ addressLine3?: string | undefined;
3375
+ postcodeOrZip?: string | undefined;
3392
3376
  }, {
3393
- maxFileSize?: number | undefined;
3394
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3395
- }>>;
3377
+ country: string;
3378
+ state: string;
3379
+ addressType: "INTERNATIONAL";
3380
+ district2: string;
3381
+ cityOrTown?: string | undefined;
3382
+ addressLine1?: string | undefined;
3383
+ addressLine2?: string | undefined;
3384
+ addressLine3?: string | undefined;
3385
+ postcodeOrZip?: string | undefined;
3386
+ }>]>>;
3396
3387
  }>, "strip", z.ZodTypeAny, {
3397
- type: "FILE_WITH_OPTIONS";
3388
+ type: "ADDRESS";
3398
3389
  id: string;
3399
- options: {
3400
- value: string;
3401
- label: TranslationConfig;
3402
- }[];
3403
3390
  label: TranslationConfig;
3404
- configuration: {
3405
- maxFileSize: number;
3406
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3407
- };
3408
3391
  parent?: {
3409
3392
  $$field: string;
3410
3393
  } | undefined;
@@ -3423,27 +3406,41 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
3423
3406
  type: "DISPLAY_ON_REVIEW";
3424
3407
  conditional: import(".").JSONSchema;
3425
3408
  })[] | undefined;
3426
- secured?: boolean | undefined;
3427
3409
  placeholder?: TranslationConfig | undefined;
3428
3410
  helperText?: TranslationConfig | undefined;
3429
3411
  hideLabel?: boolean | undefined;
3430
3412
  defaultValue?: {
3431
- type: string;
3432
- option: string;
3433
- filename: string;
3434
- originalFilename: string;
3435
- }[] | undefined;
3413
+ country: string;
3414
+ district: string;
3415
+ addressType: "DOMESTIC";
3416
+ province: string;
3417
+ urbanOrRural: "URBAN";
3418
+ number?: string | undefined;
3419
+ town?: string | undefined;
3420
+ residentialArea?: string | undefined;
3421
+ street?: string | undefined;
3422
+ zipCode?: string | undefined;
3423
+ } | {
3424
+ country: string;
3425
+ district: string;
3426
+ addressType: "DOMESTIC";
3427
+ province: string;
3428
+ urbanOrRural: "RURAL";
3429
+ village?: string | undefined;
3430
+ } | {
3431
+ country: string;
3432
+ state: string;
3433
+ addressType: "INTERNATIONAL";
3434
+ district2: string;
3435
+ cityOrTown?: string | undefined;
3436
+ addressLine1?: string | undefined;
3437
+ addressLine2?: string | undefined;
3438
+ addressLine3?: string | undefined;
3439
+ postcodeOrZip?: string | undefined;
3440
+ } | undefined;
3436
3441
  }, {
3437
- type: "FILE_WITH_OPTIONS";
3442
+ type: "ADDRESS";
3438
3443
  id: string;
3439
- options: {
3440
- value: string;
3441
- label: {
3442
- id: string;
3443
- description: string;
3444
- defaultMessage: string;
3445
- };
3446
- }[];
3447
3444
  label: {
3448
3445
  id: string;
3449
3446
  description: string;
@@ -3471,1012 +3468,6 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
3471
3468
  type: "DISPLAY_ON_REVIEW";
3472
3469
  conditional: import(".").JSONSchema;
3473
3470
  })[] | undefined;
3474
- secured?: boolean | undefined;
3475
- placeholder?: {
3476
- id: string;
3477
- description: string;
3478
- defaultMessage: string;
3479
- } | undefined;
3480
- helperText?: {
3481
- id: string;
3482
- description: string;
3483
- defaultMessage: string;
3484
- } | undefined;
3485
- hideLabel?: boolean | undefined;
3486
- defaultValue?: {
3487
- type: string;
3488
- option: string;
3489
- filename: string;
3490
- originalFilename: string;
3491
- }[] | undefined;
3492
- configuration?: {
3493
- maxFileSize?: number | undefined;
3494
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3495
- } | undefined;
3496
- }>;
3497
- export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
3498
- declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
3499
- id: z.ZodString;
3500
- parent: z.ZodOptional<z.ZodObject<{
3501
- $$field: z.ZodString;
3502
- }, "strip", z.ZodTypeAny, {
3503
- $$field: string;
3504
- }, {
3505
- $$field: string;
3506
- }>>;
3507
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3508
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3509
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3510
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3511
- id: string;
3512
- description: string;
3513
- defaultMessage: string;
3514
- }>>;
3515
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3516
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3517
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3518
- id: string;
3519
- description: string;
3520
- defaultMessage: string;
3521
- }>;
3522
- }, "strip", z.ZodTypeAny, {
3523
- message: TranslationConfig;
3524
- validator: import(".").JSONSchema;
3525
- }, {
3526
- message: {
3527
- id: string;
3528
- description: string;
3529
- defaultMessage: string;
3530
- };
3531
- validator: import(".").JSONSchema;
3532
- }>, "many">>>;
3533
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3534
- id: string;
3535
- description: string;
3536
- defaultMessage: string;
3537
- }>;
3538
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3539
- id: string;
3540
- description: string;
3541
- defaultMessage: string;
3542
- }>>;
3543
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3544
- }, {
3545
- type: z.ZodLiteral<"FACILITY">;
3546
- defaultValue: z.ZodOptional<z.ZodString>;
3547
- }>, "strip", z.ZodTypeAny, {
3548
- type: "FACILITY";
3549
- id: string;
3550
- label: TranslationConfig;
3551
- parent?: {
3552
- $$field: string;
3553
- } | undefined;
3554
- validation?: {
3555
- message: TranslationConfig;
3556
- validator: import(".").JSONSchema;
3557
- }[] | undefined;
3558
- required?: boolean | undefined;
3559
- conditionals?: ({
3560
- type: "SHOW";
3561
- conditional: import(".").JSONSchema;
3562
- } | {
3563
- type: "ENABLE";
3564
- conditional: import(".").JSONSchema;
3565
- } | {
3566
- type: "DISPLAY_ON_REVIEW";
3567
- conditional: import(".").JSONSchema;
3568
- })[] | undefined;
3569
- secured?: boolean | undefined;
3570
- placeholder?: TranslationConfig | undefined;
3571
- helperText?: TranslationConfig | undefined;
3572
- hideLabel?: boolean | undefined;
3573
- defaultValue?: string | undefined;
3574
- }, {
3575
- type: "FACILITY";
3576
- id: string;
3577
- label: {
3578
- id: string;
3579
- description: string;
3580
- defaultMessage: string;
3581
- };
3582
- parent?: {
3583
- $$field: string;
3584
- } | undefined;
3585
- validation?: {
3586
- message: {
3587
- id: string;
3588
- description: string;
3589
- defaultMessage: string;
3590
- };
3591
- validator: import(".").JSONSchema;
3592
- }[] | undefined;
3593
- required?: boolean | undefined;
3594
- conditionals?: ({
3595
- type: "SHOW";
3596
- conditional: import(".").JSONSchema;
3597
- } | {
3598
- type: "ENABLE";
3599
- conditional: import(".").JSONSchema;
3600
- } | {
3601
- type: "DISPLAY_ON_REVIEW";
3602
- conditional: import(".").JSONSchema;
3603
- })[] | undefined;
3604
- secured?: boolean | undefined;
3605
- placeholder?: {
3606
- id: string;
3607
- description: string;
3608
- defaultMessage: string;
3609
- } | undefined;
3610
- helperText?: {
3611
- id: string;
3612
- description: string;
3613
- defaultMessage: string;
3614
- } | undefined;
3615
- hideLabel?: boolean | undefined;
3616
- defaultValue?: string | undefined;
3617
- }>;
3618
- export type Facility = z.infer<typeof Facility>;
3619
- declare const Office: z.ZodObject<z.objectUtil.extendShape<{
3620
- id: z.ZodString;
3621
- parent: z.ZodOptional<z.ZodObject<{
3622
- $$field: z.ZodString;
3623
- }, "strip", z.ZodTypeAny, {
3624
- $$field: string;
3625
- }, {
3626
- $$field: string;
3627
- }>>;
3628
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3629
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3630
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3631
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3632
- id: string;
3633
- description: string;
3634
- defaultMessage: string;
3635
- }>>;
3636
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3637
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3638
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3639
- id: string;
3640
- description: string;
3641
- defaultMessage: string;
3642
- }>;
3643
- }, "strip", z.ZodTypeAny, {
3644
- message: TranslationConfig;
3645
- validator: import(".").JSONSchema;
3646
- }, {
3647
- message: {
3648
- id: string;
3649
- description: string;
3650
- defaultMessage: string;
3651
- };
3652
- validator: import(".").JSONSchema;
3653
- }>, "many">>>;
3654
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3655
- id: string;
3656
- description: string;
3657
- defaultMessage: string;
3658
- }>;
3659
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3660
- id: string;
3661
- description: string;
3662
- defaultMessage: string;
3663
- }>>;
3664
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3665
- }, {
3666
- type: z.ZodLiteral<"OFFICE">;
3667
- defaultValue: z.ZodOptional<z.ZodString>;
3668
- }>, "strip", z.ZodTypeAny, {
3669
- type: "OFFICE";
3670
- id: string;
3671
- label: TranslationConfig;
3672
- parent?: {
3673
- $$field: string;
3674
- } | undefined;
3675
- validation?: {
3676
- message: TranslationConfig;
3677
- validator: import(".").JSONSchema;
3678
- }[] | undefined;
3679
- required?: boolean | undefined;
3680
- conditionals?: ({
3681
- type: "SHOW";
3682
- conditional: import(".").JSONSchema;
3683
- } | {
3684
- type: "ENABLE";
3685
- conditional: import(".").JSONSchema;
3686
- } | {
3687
- type: "DISPLAY_ON_REVIEW";
3688
- conditional: import(".").JSONSchema;
3689
- })[] | undefined;
3690
- secured?: boolean | undefined;
3691
- placeholder?: TranslationConfig | undefined;
3692
- helperText?: TranslationConfig | undefined;
3693
- hideLabel?: boolean | undefined;
3694
- defaultValue?: string | undefined;
3695
- }, {
3696
- type: "OFFICE";
3697
- id: string;
3698
- label: {
3699
- id: string;
3700
- description: string;
3701
- defaultMessage: string;
3702
- };
3703
- parent?: {
3704
- $$field: string;
3705
- } | undefined;
3706
- validation?: {
3707
- message: {
3708
- id: string;
3709
- description: string;
3710
- defaultMessage: string;
3711
- };
3712
- validator: import(".").JSONSchema;
3713
- }[] | undefined;
3714
- required?: boolean | undefined;
3715
- conditionals?: ({
3716
- type: "SHOW";
3717
- conditional: import(".").JSONSchema;
3718
- } | {
3719
- type: "ENABLE";
3720
- conditional: import(".").JSONSchema;
3721
- } | {
3722
- type: "DISPLAY_ON_REVIEW";
3723
- conditional: import(".").JSONSchema;
3724
- })[] | undefined;
3725
- secured?: boolean | undefined;
3726
- placeholder?: {
3727
- id: string;
3728
- description: string;
3729
- defaultMessage: string;
3730
- } | undefined;
3731
- helperText?: {
3732
- id: string;
3733
- description: string;
3734
- defaultMessage: string;
3735
- } | undefined;
3736
- hideLabel?: boolean | undefined;
3737
- defaultValue?: string | undefined;
3738
- }>;
3739
- export type Office = z.infer<typeof Office>;
3740
- declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3741
- id: z.ZodString;
3742
- parent: z.ZodOptional<z.ZodObject<{
3743
- $$field: z.ZodString;
3744
- }, "strip", z.ZodTypeAny, {
3745
- $$field: string;
3746
- }, {
3747
- $$field: string;
3748
- }>>;
3749
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3750
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3751
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3752
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3753
- id: string;
3754
- description: string;
3755
- defaultMessage: string;
3756
- }>>;
3757
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3758
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
3759
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3760
- id: string;
3761
- description: string;
3762
- defaultMessage: string;
3763
- }>;
3764
- }, "strip", z.ZodTypeAny, {
3765
- message: TranslationConfig;
3766
- validator: import(".").JSONSchema;
3767
- }, {
3768
- message: {
3769
- id: string;
3770
- description: string;
3771
- defaultMessage: string;
3772
- };
3773
- validator: import(".").JSONSchema;
3774
- }>, "many">>>;
3775
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3776
- id: string;
3777
- description: string;
3778
- defaultMessage: string;
3779
- }>;
3780
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3781
- id: string;
3782
- description: string;
3783
- defaultMessage: string;
3784
- }>>;
3785
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3786
- }, {
3787
- type: z.ZodLiteral<"ADDRESS">;
3788
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3789
- country: z.ZodString;
3790
- addressType: z.ZodLiteral<"DOMESTIC">;
3791
- province: z.ZodString;
3792
- district: z.ZodString;
3793
- }, {
3794
- urbanOrRural: z.ZodLiteral<"URBAN">;
3795
- town: z.ZodOptional<z.ZodString>;
3796
- residentialArea: z.ZodOptional<z.ZodString>;
3797
- street: z.ZodOptional<z.ZodString>;
3798
- number: z.ZodOptional<z.ZodString>;
3799
- zipCode: z.ZodOptional<z.ZodString>;
3800
- }>, "strip", z.ZodTypeAny, {
3801
- country: string;
3802
- district: string;
3803
- addressType: "DOMESTIC";
3804
- province: string;
3805
- urbanOrRural: "URBAN";
3806
- number?: string | undefined;
3807
- town?: string | undefined;
3808
- residentialArea?: string | undefined;
3809
- street?: string | undefined;
3810
- zipCode?: string | undefined;
3811
- }, {
3812
- country: string;
3813
- district: string;
3814
- addressType: "DOMESTIC";
3815
- province: string;
3816
- urbanOrRural: "URBAN";
3817
- number?: string | undefined;
3818
- town?: string | undefined;
3819
- residentialArea?: string | undefined;
3820
- street?: string | undefined;
3821
- zipCode?: string | undefined;
3822
- }>, z.ZodObject<z.objectUtil.extendShape<{
3823
- country: z.ZodString;
3824
- addressType: z.ZodLiteral<"DOMESTIC">;
3825
- province: z.ZodString;
3826
- district: z.ZodString;
3827
- }, {
3828
- urbanOrRural: z.ZodLiteral<"RURAL">;
3829
- village: z.ZodOptional<z.ZodString>;
3830
- }>, "strip", z.ZodTypeAny, {
3831
- country: string;
3832
- district: string;
3833
- addressType: "DOMESTIC";
3834
- province: string;
3835
- urbanOrRural: "RURAL";
3836
- village?: string | undefined;
3837
- }, {
3838
- country: string;
3839
- district: string;
3840
- addressType: "DOMESTIC";
3841
- province: string;
3842
- urbanOrRural: "RURAL";
3843
- village?: string | undefined;
3844
- }>]>, z.ZodObject<{
3845
- country: z.ZodString;
3846
- addressType: z.ZodLiteral<"INTERNATIONAL">;
3847
- state: z.ZodString;
3848
- district2: z.ZodString;
3849
- cityOrTown: z.ZodOptional<z.ZodString>;
3850
- addressLine1: z.ZodOptional<z.ZodString>;
3851
- addressLine2: z.ZodOptional<z.ZodString>;
3852
- addressLine3: z.ZodOptional<z.ZodString>;
3853
- postcodeOrZip: z.ZodOptional<z.ZodString>;
3854
- }, "strip", z.ZodTypeAny, {
3855
- country: string;
3856
- state: string;
3857
- addressType: "INTERNATIONAL";
3858
- district2: string;
3859
- cityOrTown?: string | undefined;
3860
- addressLine1?: string | undefined;
3861
- addressLine2?: string | undefined;
3862
- addressLine3?: string | undefined;
3863
- postcodeOrZip?: string | undefined;
3864
- }, {
3865
- country: string;
3866
- state: string;
3867
- addressType: "INTERNATIONAL";
3868
- district2: string;
3869
- cityOrTown?: string | undefined;
3870
- addressLine1?: string | undefined;
3871
- addressLine2?: string | undefined;
3872
- addressLine3?: string | undefined;
3873
- postcodeOrZip?: string | undefined;
3874
- }>]>>;
3875
- }>, "strip", z.ZodTypeAny, {
3876
- type: "ADDRESS";
3877
- id: string;
3878
- label: TranslationConfig;
3879
- parent?: {
3880
- $$field: string;
3881
- } | undefined;
3882
- validation?: {
3883
- message: TranslationConfig;
3884
- validator: import(".").JSONSchema;
3885
- }[] | undefined;
3886
- required?: boolean | undefined;
3887
- conditionals?: ({
3888
- type: "SHOW";
3889
- conditional: import(".").JSONSchema;
3890
- } | {
3891
- type: "ENABLE";
3892
- conditional: import(".").JSONSchema;
3893
- } | {
3894
- type: "DISPLAY_ON_REVIEW";
3895
- conditional: import(".").JSONSchema;
3896
- })[] | undefined;
3897
- secured?: boolean | undefined;
3898
- placeholder?: TranslationConfig | undefined;
3899
- helperText?: TranslationConfig | undefined;
3900
- hideLabel?: boolean | undefined;
3901
- defaultValue?: {
3902
- country: string;
3903
- district: string;
3904
- addressType: "DOMESTIC";
3905
- province: string;
3906
- urbanOrRural: "URBAN";
3907
- number?: string | undefined;
3908
- town?: string | undefined;
3909
- residentialArea?: string | undefined;
3910
- street?: string | undefined;
3911
- zipCode?: string | undefined;
3912
- } | {
3913
- country: string;
3914
- district: string;
3915
- addressType: "DOMESTIC";
3916
- province: string;
3917
- urbanOrRural: "RURAL";
3918
- village?: string | undefined;
3919
- } | {
3920
- country: string;
3921
- state: string;
3922
- addressType: "INTERNATIONAL";
3923
- district2: string;
3924
- cityOrTown?: string | undefined;
3925
- addressLine1?: string | undefined;
3926
- addressLine2?: string | undefined;
3927
- addressLine3?: string | undefined;
3928
- postcodeOrZip?: string | undefined;
3929
- } | undefined;
3930
- }, {
3931
- type: "ADDRESS";
3932
- id: string;
3933
- label: {
3934
- id: string;
3935
- description: string;
3936
- defaultMessage: string;
3937
- };
3938
- parent?: {
3939
- $$field: string;
3940
- } | undefined;
3941
- validation?: {
3942
- message: {
3943
- id: string;
3944
- description: string;
3945
- defaultMessage: string;
3946
- };
3947
- validator: import(".").JSONSchema;
3948
- }[] | undefined;
3949
- required?: boolean | undefined;
3950
- conditionals?: ({
3951
- type: "SHOW";
3952
- conditional: import(".").JSONSchema;
3953
- } | {
3954
- type: "ENABLE";
3955
- conditional: import(".").JSONSchema;
3956
- } | {
3957
- type: "DISPLAY_ON_REVIEW";
3958
- conditional: import(".").JSONSchema;
3959
- })[] | undefined;
3960
- secured?: boolean | undefined;
3961
- placeholder?: {
3962
- id: string;
3963
- description: string;
3964
- defaultMessage: string;
3965
- } | undefined;
3966
- helperText?: {
3967
- id: string;
3968
- description: string;
3969
- defaultMessage: string;
3970
- } | undefined;
3971
- hideLabel?: boolean | undefined;
3972
- defaultValue?: {
3973
- country: string;
3974
- district: string;
3975
- addressType: "DOMESTIC";
3976
- province: string;
3977
- urbanOrRural: "URBAN";
3978
- number?: string | undefined;
3979
- town?: string | undefined;
3980
- residentialArea?: string | undefined;
3981
- street?: string | undefined;
3982
- zipCode?: string | undefined;
3983
- } | {
3984
- country: string;
3985
- district: string;
3986
- addressType: "DOMESTIC";
3987
- province: string;
3988
- urbanOrRural: "RURAL";
3989
- village?: string | undefined;
3990
- } | {
3991
- country: string;
3992
- state: string;
3993
- addressType: "INTERNATIONAL";
3994
- district2: string;
3995
- cityOrTown?: string | undefined;
3996
- addressLine1?: string | undefined;
3997
- addressLine2?: string | undefined;
3998
- addressLine3?: string | undefined;
3999
- postcodeOrZip?: string | undefined;
4000
- } | undefined;
4001
- }>;
4002
- export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
4003
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4004
- id: string;
4005
- description: string;
4006
- defaultMessage: string;
4007
- }>;
4008
- value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4009
- id: string;
4010
- description: string;
4011
- defaultMessage: string;
4012
- }>, z.ZodString]>;
4013
- }, "strip", z.ZodTypeAny, {
4014
- value: string | TranslationConfig;
4015
- label: TranslationConfig;
4016
- }, {
4017
- value: string | {
4018
- id: string;
4019
- description: string;
4020
- defaultMessage: string;
4021
- };
4022
- label: {
4023
- id: string;
4024
- description: string;
4025
- defaultMessage: string;
4026
- };
4027
- }>, z.ZodObject<{
4028
- fieldId: z.ZodString;
4029
- }, "strip", z.ZodTypeAny, {
4030
- fieldId: string;
4031
- }, {
4032
- fieldId: string;
4033
- }>]>;
4034
- export type DataEntry = z.infer<typeof DataEntry>;
4035
- declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
4036
- id: z.ZodString;
4037
- parent: z.ZodOptional<z.ZodObject<{
4038
- $$field: z.ZodString;
4039
- }, "strip", z.ZodTypeAny, {
4040
- $$field: string;
4041
- }, {
4042
- $$field: string;
4043
- }>>;
4044
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4045
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4046
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4047
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4048
- id: string;
4049
- description: string;
4050
- defaultMessage: string;
4051
- }>>;
4052
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4053
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4054
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4055
- id: string;
4056
- description: string;
4057
- defaultMessage: string;
4058
- }>;
4059
- }, "strip", z.ZodTypeAny, {
4060
- message: TranslationConfig;
4061
- validator: import(".").JSONSchema;
4062
- }, {
4063
- message: {
4064
- id: string;
4065
- description: string;
4066
- defaultMessage: string;
4067
- };
4068
- validator: import(".").JSONSchema;
4069
- }>, "many">>>;
4070
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4071
- id: string;
4072
- description: string;
4073
- defaultMessage: string;
4074
- }>;
4075
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4076
- id: string;
4077
- description: string;
4078
- defaultMessage: string;
4079
- }>>;
4080
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4081
- }, {
4082
- type: z.ZodLiteral<"DATA">;
4083
- configuration: z.ZodObject<{
4084
- subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4085
- id: string;
4086
- description: string;
4087
- defaultMessage: string;
4088
- }>>;
4089
- data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4090
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4091
- id: string;
4092
- description: string;
4093
- defaultMessage: string;
4094
- }>;
4095
- value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4096
- id: string;
4097
- description: string;
4098
- defaultMessage: string;
4099
- }>, z.ZodString]>;
4100
- }, "strip", z.ZodTypeAny, {
4101
- value: string | TranslationConfig;
4102
- label: TranslationConfig;
4103
- }, {
4104
- value: string | {
4105
- id: string;
4106
- description: string;
4107
- defaultMessage: string;
4108
- };
4109
- label: {
4110
- id: string;
4111
- description: string;
4112
- defaultMessage: string;
4113
- };
4114
- }>, z.ZodObject<{
4115
- fieldId: z.ZodString;
4116
- }, "strip", z.ZodTypeAny, {
4117
- fieldId: string;
4118
- }, {
4119
- fieldId: string;
4120
- }>]>, "many">;
4121
- }, "strip", z.ZodTypeAny, {
4122
- data: ({
4123
- value: string | TranslationConfig;
4124
- label: TranslationConfig;
4125
- } | {
4126
- fieldId: string;
4127
- })[];
4128
- subtitle?: TranslationConfig | undefined;
4129
- }, {
4130
- data: ({
4131
- value: string | {
4132
- id: string;
4133
- description: string;
4134
- defaultMessage: string;
4135
- };
4136
- label: {
4137
- id: string;
4138
- description: string;
4139
- defaultMessage: string;
4140
- };
4141
- } | {
4142
- fieldId: string;
4143
- })[];
4144
- subtitle?: {
4145
- id: string;
4146
- description: string;
4147
- defaultMessage: string;
4148
- } | undefined;
4149
- }>;
4150
- }>, "strip", z.ZodTypeAny, {
4151
- type: "DATA";
4152
- id: string;
4153
- label: TranslationConfig;
4154
- configuration: {
4155
- data: ({
4156
- value: string | TranslationConfig;
4157
- label: TranslationConfig;
4158
- } | {
4159
- fieldId: string;
4160
- })[];
4161
- subtitle?: TranslationConfig | undefined;
4162
- };
4163
- parent?: {
4164
- $$field: string;
4165
- } | undefined;
4166
- validation?: {
4167
- message: TranslationConfig;
4168
- validator: import(".").JSONSchema;
4169
- }[] | undefined;
4170
- required?: boolean | undefined;
4171
- conditionals?: ({
4172
- type: "SHOW";
4173
- conditional: import(".").JSONSchema;
4174
- } | {
4175
- type: "ENABLE";
4176
- conditional: import(".").JSONSchema;
4177
- } | {
4178
- type: "DISPLAY_ON_REVIEW";
4179
- conditional: import(".").JSONSchema;
4180
- })[] | undefined;
4181
- secured?: boolean | undefined;
4182
- placeholder?: TranslationConfig | undefined;
4183
- helperText?: TranslationConfig | undefined;
4184
- hideLabel?: boolean | undefined;
4185
- }, {
4186
- type: "DATA";
4187
- id: string;
4188
- label: {
4189
- id: string;
4190
- description: string;
4191
- defaultMessage: string;
4192
- };
4193
- configuration: {
4194
- data: ({
4195
- value: string | {
4196
- id: string;
4197
- description: string;
4198
- defaultMessage: string;
4199
- };
4200
- label: {
4201
- id: string;
4202
- description: string;
4203
- defaultMessage: string;
4204
- };
4205
- } | {
4206
- fieldId: string;
4207
- })[];
4208
- subtitle?: {
4209
- id: string;
4210
- description: string;
4211
- defaultMessage: string;
4212
- } | undefined;
4213
- };
4214
- parent?: {
4215
- $$field: string;
4216
- } | undefined;
4217
- validation?: {
4218
- message: {
4219
- id: string;
4220
- description: string;
4221
- defaultMessage: string;
4222
- };
4223
- validator: import(".").JSONSchema;
4224
- }[] | undefined;
4225
- required?: boolean | undefined;
4226
- conditionals?: ({
4227
- type: "SHOW";
4228
- conditional: import(".").JSONSchema;
4229
- } | {
4230
- type: "ENABLE";
4231
- conditional: import(".").JSONSchema;
4232
- } | {
4233
- type: "DISPLAY_ON_REVIEW";
4234
- conditional: import(".").JSONSchema;
4235
- })[] | undefined;
4236
- secured?: boolean | undefined;
4237
- placeholder?: {
4238
- id: string;
4239
- description: string;
4240
- defaultMessage: string;
4241
- } | undefined;
4242
- helperText?: {
4243
- id: string;
4244
- description: string;
4245
- defaultMessage: string;
4246
- } | undefined;
4247
- hideLabel?: boolean | undefined;
4248
- }>;
4249
- export type DataField = z.infer<typeof DataField>;
4250
- /** @knipignore */
4251
- export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof DateRangeField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof NameField | typeof PhoneField | typeof IdField | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions | typeof DataField;
4252
- /** @knipignore */
4253
- export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof DateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
4254
- /** @knipignore */
4255
- /**
4256
- * This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
4257
- */
4258
- export type InferredInput = z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof NumberField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof Location> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField>;
4259
- export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4260
- id: z.ZodString;
4261
- parent: z.ZodOptional<z.ZodObject<{
4262
- $$field: z.ZodString;
4263
- }, "strip", z.ZodTypeAny, {
4264
- $$field: string;
4265
- }, {
4266
- $$field: string;
4267
- }>>;
4268
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4269
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4270
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4271
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4272
- id: string;
4273
- description: string;
4274
- defaultMessage: string;
4275
- }>>;
4276
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4277
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4278
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4279
- id: string;
4280
- description: string;
4281
- defaultMessage: string;
4282
- }>;
4283
- }, "strip", z.ZodTypeAny, {
4284
- message: TranslationConfig;
4285
- validator: import(".").JSONSchema;
4286
- }, {
4287
- message: {
4288
- id: string;
4289
- description: string;
4290
- defaultMessage: string;
4291
- };
4292
- validator: import(".").JSONSchema;
4293
- }>, "many">>>;
4294
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4295
- id: string;
4296
- description: string;
4297
- defaultMessage: string;
4298
- }>;
4299
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4300
- id: string;
4301
- description: string;
4302
- defaultMessage: string;
4303
- }>>;
4304
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4305
- }, {
4306
- type: z.ZodLiteral<"ADDRESS">;
4307
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
4308
- country: z.ZodString;
4309
- addressType: z.ZodLiteral<"DOMESTIC">;
4310
- province: z.ZodString;
4311
- district: z.ZodString;
4312
- }, {
4313
- urbanOrRural: z.ZodLiteral<"URBAN">;
4314
- town: z.ZodOptional<z.ZodString>;
4315
- residentialArea: z.ZodOptional<z.ZodString>;
4316
- street: z.ZodOptional<z.ZodString>;
4317
- number: z.ZodOptional<z.ZodString>;
4318
- zipCode: z.ZodOptional<z.ZodString>;
4319
- }>, "strip", z.ZodTypeAny, {
4320
- country: string;
4321
- district: string;
4322
- addressType: "DOMESTIC";
4323
- province: string;
4324
- urbanOrRural: "URBAN";
4325
- number?: string | undefined;
4326
- town?: string | undefined;
4327
- residentialArea?: string | undefined;
4328
- street?: string | undefined;
4329
- zipCode?: string | undefined;
4330
- }, {
4331
- country: string;
4332
- district: string;
4333
- addressType: "DOMESTIC";
4334
- province: string;
4335
- urbanOrRural: "URBAN";
4336
- number?: string | undefined;
4337
- town?: string | undefined;
4338
- residentialArea?: string | undefined;
4339
- street?: string | undefined;
4340
- zipCode?: string | undefined;
4341
- }>, z.ZodObject<z.objectUtil.extendShape<{
4342
- country: z.ZodString;
4343
- addressType: z.ZodLiteral<"DOMESTIC">;
4344
- province: z.ZodString;
4345
- district: z.ZodString;
4346
- }, {
4347
- urbanOrRural: z.ZodLiteral<"RURAL">;
4348
- village: z.ZodOptional<z.ZodString>;
4349
- }>, "strip", z.ZodTypeAny, {
4350
- country: string;
4351
- district: string;
4352
- addressType: "DOMESTIC";
4353
- province: string;
4354
- urbanOrRural: "RURAL";
4355
- village?: string | undefined;
4356
- }, {
4357
- country: string;
4358
- district: string;
4359
- addressType: "DOMESTIC";
4360
- province: string;
4361
- urbanOrRural: "RURAL";
4362
- village?: string | undefined;
4363
- }>]>, z.ZodObject<{
4364
- country: z.ZodString;
4365
- addressType: z.ZodLiteral<"INTERNATIONAL">;
4366
- state: z.ZodString;
4367
- district2: z.ZodString;
4368
- cityOrTown: z.ZodOptional<z.ZodString>;
4369
- addressLine1: z.ZodOptional<z.ZodString>;
4370
- addressLine2: z.ZodOptional<z.ZodString>;
4371
- addressLine3: z.ZodOptional<z.ZodString>;
4372
- postcodeOrZip: z.ZodOptional<z.ZodString>;
4373
- }, "strip", z.ZodTypeAny, {
4374
- country: string;
4375
- state: string;
4376
- addressType: "INTERNATIONAL";
4377
- district2: string;
4378
- cityOrTown?: string | undefined;
4379
- addressLine1?: string | undefined;
4380
- addressLine2?: string | undefined;
4381
- addressLine3?: string | undefined;
4382
- postcodeOrZip?: string | undefined;
4383
- }, {
4384
- country: string;
4385
- state: string;
4386
- addressType: "INTERNATIONAL";
4387
- district2: string;
4388
- cityOrTown?: string | undefined;
4389
- addressLine1?: string | undefined;
4390
- addressLine2?: string | undefined;
4391
- addressLine3?: string | undefined;
4392
- postcodeOrZip?: string | undefined;
4393
- }>]>>;
4394
- }>, "strip", z.ZodTypeAny, {
4395
- type: "ADDRESS";
4396
- id: string;
4397
- label: TranslationConfig;
4398
- parent?: {
4399
- $$field: string;
4400
- } | undefined;
4401
- validation?: {
4402
- message: TranslationConfig;
4403
- validator: import(".").JSONSchema;
4404
- }[] | undefined;
4405
- required?: boolean | undefined;
4406
- conditionals?: ({
4407
- type: "SHOW";
4408
- conditional: import(".").JSONSchema;
4409
- } | {
4410
- type: "ENABLE";
4411
- conditional: import(".").JSONSchema;
4412
- } | {
4413
- type: "DISPLAY_ON_REVIEW";
4414
- conditional: import(".").JSONSchema;
4415
- })[] | undefined;
4416
- secured?: boolean | undefined;
4417
- placeholder?: TranslationConfig | undefined;
4418
- helperText?: TranslationConfig | undefined;
4419
- hideLabel?: boolean | undefined;
4420
- defaultValue?: {
4421
- country: string;
4422
- district: string;
4423
- addressType: "DOMESTIC";
4424
- province: string;
4425
- urbanOrRural: "URBAN";
4426
- number?: string | undefined;
4427
- town?: string | undefined;
4428
- residentialArea?: string | undefined;
4429
- street?: string | undefined;
4430
- zipCode?: string | undefined;
4431
- } | {
4432
- country: string;
4433
- district: string;
4434
- addressType: "DOMESTIC";
4435
- province: string;
4436
- urbanOrRural: "RURAL";
4437
- village?: string | undefined;
4438
- } | {
4439
- country: string;
4440
- state: string;
4441
- addressType: "INTERNATIONAL";
4442
- district2: string;
4443
- cityOrTown?: string | undefined;
4444
- addressLine1?: string | undefined;
4445
- addressLine2?: string | undefined;
4446
- addressLine3?: string | undefined;
4447
- postcodeOrZip?: string | undefined;
4448
- } | undefined;
4449
- }, {
4450
- type: "ADDRESS";
4451
- id: string;
4452
- label: {
4453
- id: string;
4454
- description: string;
4455
- defaultMessage: string;
4456
- };
4457
- parent?: {
4458
- $$field: string;
4459
- } | undefined;
4460
- validation?: {
4461
- message: {
4462
- id: string;
4463
- description: string;
4464
- defaultMessage: string;
4465
- };
4466
- validator: import(".").JSONSchema;
4467
- }[] | undefined;
4468
- required?: boolean | undefined;
4469
- conditionals?: ({
4470
- type: "SHOW";
4471
- conditional: import(".").JSONSchema;
4472
- } | {
4473
- type: "ENABLE";
4474
- conditional: import(".").JSONSchema;
4475
- } | {
4476
- type: "DISPLAY_ON_REVIEW";
4477
- conditional: import(".").JSONSchema;
4478
- })[] | undefined;
4479
- secured?: boolean | undefined;
4480
3471
  placeholder?: {
4481
3472
  id: string;
4482
3473
  description: string;
@@ -4517,178 +3508,41 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4517
3508
  addressLine3?: string | undefined;
4518
3509
  postcodeOrZip?: string | undefined;
4519
3510
  } | undefined;
4520
- }>, z.ZodObject<z.objectUtil.extendShape<{
4521
- id: z.ZodString;
4522
- parent: z.ZodOptional<z.ZodObject<{
4523
- $$field: z.ZodString;
4524
- }, "strip", z.ZodTypeAny, {
4525
- $$field: string;
4526
- }, {
4527
- $$field: string;
4528
- }>>;
4529
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4530
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4531
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4532
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4533
- id: string;
4534
- description: string;
4535
- defaultMessage: string;
4536
- }>>;
4537
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4538
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4539
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4540
- id: string;
4541
- description: string;
4542
- defaultMessage: string;
4543
- }>;
4544
- }, "strip", z.ZodTypeAny, {
4545
- message: TranslationConfig;
4546
- validator: import(".").JSONSchema;
4547
- }, {
4548
- message: {
4549
- id: string;
4550
- description: string;
4551
- defaultMessage: string;
4552
- };
4553
- validator: import(".").JSONSchema;
4554
- }>, "many">>>;
3511
+ }>;
3512
+ export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
4555
3513
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4556
3514
  id: string;
4557
3515
  description: string;
4558
3516
  defaultMessage: string;
4559
3517
  }>;
4560
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3518
+ value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4561
3519
  id: string;
4562
3520
  description: string;
4563
3521
  defaultMessage: string;
4564
- }>>;
4565
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4566
- }, {
4567
- type: z.ZodLiteral<"TEXT">;
4568
- defaultValue: z.ZodOptional<z.ZodString>;
4569
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4570
- maxLength: z.ZodOptional<z.ZodNumber>;
4571
- type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
4572
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4573
- id: string;
4574
- description: string;
4575
- defaultMessage: string;
4576
- }>>;
4577
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4578
- id: string;
4579
- description: string;
4580
- defaultMessage: string;
4581
- }>>;
4582
- }, "strip", z.ZodTypeAny, {
4583
- type?: "text" | "password" | undefined;
4584
- maxLength?: number | undefined;
4585
- prefix?: TranslationConfig | undefined;
4586
- postfix?: TranslationConfig | undefined;
4587
- }, {
4588
- type?: "text" | "password" | undefined;
4589
- maxLength?: number | undefined;
4590
- prefix?: {
4591
- id: string;
4592
- description: string;
4593
- defaultMessage: string;
4594
- } | undefined;
4595
- postfix?: {
4596
- id: string;
4597
- description: string;
4598
- defaultMessage: string;
4599
- } | undefined;
4600
- }>>>;
4601
- }>, "strip", z.ZodTypeAny, {
4602
- type: "TEXT";
4603
- id: string;
3522
+ }>, z.ZodString]>;
3523
+ }, "strip", z.ZodTypeAny, {
3524
+ value: string | TranslationConfig;
4604
3525
  label: TranslationConfig;
4605
- parent?: {
4606
- $$field: string;
4607
- } | undefined;
4608
- validation?: {
4609
- message: TranslationConfig;
4610
- validator: import(".").JSONSchema;
4611
- }[] | undefined;
4612
- required?: boolean | undefined;
4613
- conditionals?: ({
4614
- type: "SHOW";
4615
- conditional: import(".").JSONSchema;
4616
- } | {
4617
- type: "ENABLE";
4618
- conditional: import(".").JSONSchema;
4619
- } | {
4620
- type: "DISPLAY_ON_REVIEW";
4621
- conditional: import(".").JSONSchema;
4622
- })[] | undefined;
4623
- secured?: boolean | undefined;
4624
- placeholder?: TranslationConfig | undefined;
4625
- helperText?: TranslationConfig | undefined;
4626
- hideLabel?: boolean | undefined;
4627
- defaultValue?: string | undefined;
4628
- configuration?: {
4629
- type?: "text" | "password" | undefined;
4630
- maxLength?: number | undefined;
4631
- prefix?: TranslationConfig | undefined;
4632
- postfix?: TranslationConfig | undefined;
4633
- } | undefined;
4634
3526
  }, {
4635
- type: "TEXT";
4636
- id: string;
4637
- label: {
3527
+ value: string | {
4638
3528
  id: string;
4639
3529
  description: string;
4640
3530
  defaultMessage: string;
4641
3531
  };
4642
- parent?: {
4643
- $$field: string;
4644
- } | undefined;
4645
- validation?: {
4646
- message: {
4647
- id: string;
4648
- description: string;
4649
- defaultMessage: string;
4650
- };
4651
- validator: import(".").JSONSchema;
4652
- }[] | undefined;
4653
- required?: boolean | undefined;
4654
- conditionals?: ({
4655
- type: "SHOW";
4656
- conditional: import(".").JSONSchema;
4657
- } | {
4658
- type: "ENABLE";
4659
- conditional: import(".").JSONSchema;
4660
- } | {
4661
- type: "DISPLAY_ON_REVIEW";
4662
- conditional: import(".").JSONSchema;
4663
- })[] | undefined;
4664
- secured?: boolean | undefined;
4665
- placeholder?: {
4666
- id: string;
4667
- description: string;
4668
- defaultMessage: string;
4669
- } | undefined;
4670
- helperText?: {
3532
+ label: {
4671
3533
  id: string;
4672
3534
  description: string;
4673
3535
  defaultMessage: string;
4674
- } | undefined;
4675
- hideLabel?: boolean | undefined;
4676
- defaultValue?: string | undefined;
4677
- configuration?: {
4678
- type?: "text" | "password" | undefined;
4679
- maxLength?: number | undefined;
4680
- prefix?: {
4681
- id: string;
4682
- description: string;
4683
- defaultMessage: string;
4684
- } | undefined;
4685
- postfix?: {
4686
- id: string;
4687
- description: string;
4688
- defaultMessage: string;
4689
- } | undefined;
4690
- } | undefined;
4691
- }>, z.ZodObject<z.objectUtil.extendShape<{
3536
+ };
3537
+ }>, z.ZodObject<{
3538
+ fieldId: z.ZodString;
3539
+ }, "strip", z.ZodTypeAny, {
3540
+ fieldId: string;
3541
+ }, {
3542
+ fieldId: string;
3543
+ }>]>;
3544
+ export type DataEntry = z.infer<typeof DataEntry>;
3545
+ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
4692
3546
  id: z.ZodString;
4693
3547
  parent: z.ZodOptional<z.ZodObject<{
4694
3548
  $$field: z.ZodString;
@@ -4699,7 +3553,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4699
3553
  }>>;
4700
3554
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4701
3555
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4702
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4703
3556
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4704
3557
  id: string;
4705
3558
  description: string;
@@ -4735,44 +3588,87 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4735
3588
  }>>;
4736
3589
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4737
3590
  }, {
4738
- type: z.ZodLiteral<"NUMBER">;
4739
- defaultValue: z.ZodOptional<z.ZodNumber>;
4740
- configuration: z.ZodOptional<z.ZodObject<{
4741
- min: z.ZodOptional<z.ZodNumber>;
4742
- max: z.ZodOptional<z.ZodNumber>;
4743
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4744
- id: string;
4745
- description: string;
4746
- defaultMessage: string;
4747
- }>>;
4748
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3591
+ type: z.ZodLiteral<"DATA">;
3592
+ configuration: z.ZodObject<{
3593
+ subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4749
3594
  id: string;
4750
3595
  description: string;
4751
3596
  defaultMessage: string;
4752
3597
  }>>;
3598
+ data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3599
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3600
+ id: string;
3601
+ description: string;
3602
+ defaultMessage: string;
3603
+ }>;
3604
+ value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3605
+ id: string;
3606
+ description: string;
3607
+ defaultMessage: string;
3608
+ }>, z.ZodString]>;
3609
+ }, "strip", z.ZodTypeAny, {
3610
+ value: string | TranslationConfig;
3611
+ label: TranslationConfig;
3612
+ }, {
3613
+ value: string | {
3614
+ id: string;
3615
+ description: string;
3616
+ defaultMessage: string;
3617
+ };
3618
+ label: {
3619
+ id: string;
3620
+ description: string;
3621
+ defaultMessage: string;
3622
+ };
3623
+ }>, z.ZodObject<{
3624
+ fieldId: z.ZodString;
3625
+ }, "strip", z.ZodTypeAny, {
3626
+ fieldId: string;
3627
+ }, {
3628
+ fieldId: string;
3629
+ }>]>, "many">;
4753
3630
  }, "strip", z.ZodTypeAny, {
4754
- prefix?: TranslationConfig | undefined;
4755
- postfix?: TranslationConfig | undefined;
4756
- min?: number | undefined;
4757
- max?: number | undefined;
3631
+ data: ({
3632
+ value: string | TranslationConfig;
3633
+ label: TranslationConfig;
3634
+ } | {
3635
+ fieldId: string;
3636
+ })[];
3637
+ subtitle?: TranslationConfig | undefined;
4758
3638
  }, {
4759
- prefix?: {
4760
- id: string;
4761
- description: string;
4762
- defaultMessage: string;
4763
- } | undefined;
4764
- postfix?: {
3639
+ data: ({
3640
+ value: string | {
3641
+ id: string;
3642
+ description: string;
3643
+ defaultMessage: string;
3644
+ };
3645
+ label: {
3646
+ id: string;
3647
+ description: string;
3648
+ defaultMessage: string;
3649
+ };
3650
+ } | {
3651
+ fieldId: string;
3652
+ })[];
3653
+ subtitle?: {
4765
3654
  id: string;
4766
3655
  description: string;
4767
3656
  defaultMessage: string;
4768
3657
  } | undefined;
4769
- min?: number | undefined;
4770
- max?: number | undefined;
4771
- }>>;
3658
+ }>;
4772
3659
  }>, "strip", z.ZodTypeAny, {
4773
- type: "NUMBER";
3660
+ type: "DATA";
4774
3661
  id: string;
4775
3662
  label: TranslationConfig;
3663
+ configuration: {
3664
+ data: ({
3665
+ value: string | TranslationConfig;
3666
+ label: TranslationConfig;
3667
+ } | {
3668
+ fieldId: string;
3669
+ })[];
3670
+ subtitle?: TranslationConfig | undefined;
3671
+ };
4776
3672
  parent?: {
4777
3673
  $$field: string;
4778
3674
  } | undefined;
@@ -4791,25 +3687,38 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4791
3687
  type: "DISPLAY_ON_REVIEW";
4792
3688
  conditional: import(".").JSONSchema;
4793
3689
  })[] | undefined;
4794
- secured?: boolean | undefined;
4795
3690
  placeholder?: TranslationConfig | undefined;
4796
3691
  helperText?: TranslationConfig | undefined;
4797
3692
  hideLabel?: boolean | undefined;
4798
- defaultValue?: number | undefined;
4799
- configuration?: {
4800
- prefix?: TranslationConfig | undefined;
4801
- postfix?: TranslationConfig | undefined;
4802
- min?: number | undefined;
4803
- max?: number | undefined;
4804
- } | undefined;
4805
3693
  }, {
4806
- type: "NUMBER";
3694
+ type: "DATA";
4807
3695
  id: string;
4808
3696
  label: {
4809
3697
  id: string;
4810
3698
  description: string;
4811
3699
  defaultMessage: string;
4812
3700
  };
3701
+ configuration: {
3702
+ data: ({
3703
+ value: string | {
3704
+ id: string;
3705
+ description: string;
3706
+ defaultMessage: string;
3707
+ };
3708
+ label: {
3709
+ id: string;
3710
+ description: string;
3711
+ defaultMessage: string;
3712
+ };
3713
+ } | {
3714
+ fieldId: string;
3715
+ })[];
3716
+ subtitle?: {
3717
+ id: string;
3718
+ description: string;
3719
+ defaultMessage: string;
3720
+ } | undefined;
3721
+ };
4813
3722
  parent?: {
4814
3723
  $$field: string;
4815
3724
  } | undefined;
@@ -4832,7 +3741,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4832
3741
  type: "DISPLAY_ON_REVIEW";
4833
3742
  conditional: import(".").JSONSchema;
4834
3743
  })[] | undefined;
4835
- secured?: boolean | undefined;
4836
3744
  placeholder?: {
4837
3745
  id: string;
4838
3746
  description: string;
@@ -4844,22 +3752,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4844
3752
  defaultMessage: string;
4845
3753
  } | undefined;
4846
3754
  hideLabel?: boolean | undefined;
4847
- defaultValue?: number | undefined;
4848
- configuration?: {
4849
- prefix?: {
4850
- id: string;
4851
- description: string;
4852
- defaultMessage: string;
4853
- } | undefined;
4854
- postfix?: {
4855
- id: string;
4856
- description: string;
4857
- defaultMessage: string;
4858
- } | undefined;
4859
- min?: number | undefined;
4860
- max?: number | undefined;
4861
- } | undefined;
4862
- }>, z.ZodObject<z.objectUtil.extendShape<{
3755
+ }>;
3756
+ export type DataField = z.infer<typeof DataField>;
3757
+ /** @knipignore */
3758
+ 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;
3759
+ /** @knipignore */
3760
+ 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>;
3761
+ /** @knipignore */
3762
+ /**
3763
+ * This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
3764
+ */
3765
+ 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>;
3766
+ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4863
3767
  id: z.ZodString;
4864
3768
  parent: z.ZodOptional<z.ZodObject<{
4865
3769
  $$field: z.ZodString;
@@ -4870,7 +3774,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4870
3774
  }>>;
4871
3775
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4872
3776
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4873
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4874
3777
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4875
3778
  id: string;
4876
3779
  description: string;
@@ -4906,45 +3809,96 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4906
3809
  }>>;
4907
3810
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4908
3811
  }, {
4909
- type: z.ZodLiteral<"TEXTAREA">;
4910
- defaultValue: z.ZodOptional<z.ZodString>;
4911
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4912
- maxLength: z.ZodOptional<z.ZodNumber>;
4913
- rows: z.ZodOptional<z.ZodNumber>;
4914
- cols: z.ZodOptional<z.ZodNumber>;
4915
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4916
- id: string;
4917
- description: string;
4918
- defaultMessage: string;
4919
- }>>;
4920
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4921
- id: string;
4922
- description: string;
4923
- defaultMessage: string;
4924
- }>>;
3812
+ type: z.ZodLiteral<"ADDRESS">;
3813
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
3814
+ country: z.ZodString;
3815
+ addressType: z.ZodLiteral<"DOMESTIC">;
3816
+ province: z.ZodString;
3817
+ district: z.ZodString;
3818
+ }, {
3819
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3820
+ town: z.ZodOptional<z.ZodString>;
3821
+ residentialArea: z.ZodOptional<z.ZodString>;
3822
+ street: z.ZodOptional<z.ZodString>;
3823
+ number: z.ZodOptional<z.ZodString>;
3824
+ zipCode: z.ZodOptional<z.ZodString>;
3825
+ }>, "strip", z.ZodTypeAny, {
3826
+ country: string;
3827
+ district: string;
3828
+ addressType: "DOMESTIC";
3829
+ province: string;
3830
+ urbanOrRural: "URBAN";
3831
+ number?: string | undefined;
3832
+ town?: string | undefined;
3833
+ residentialArea?: string | undefined;
3834
+ street?: string | undefined;
3835
+ zipCode?: string | undefined;
3836
+ }, {
3837
+ country: string;
3838
+ district: string;
3839
+ addressType: "DOMESTIC";
3840
+ province: string;
3841
+ urbanOrRural: "URBAN";
3842
+ number?: string | undefined;
3843
+ town?: string | undefined;
3844
+ residentialArea?: string | undefined;
3845
+ street?: string | undefined;
3846
+ zipCode?: string | undefined;
3847
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3848
+ country: z.ZodString;
3849
+ addressType: z.ZodLiteral<"DOMESTIC">;
3850
+ province: z.ZodString;
3851
+ district: z.ZodString;
3852
+ }, {
3853
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3854
+ village: z.ZodOptional<z.ZodString>;
3855
+ }>, "strip", z.ZodTypeAny, {
3856
+ country: string;
3857
+ district: string;
3858
+ addressType: "DOMESTIC";
3859
+ province: string;
3860
+ urbanOrRural: "RURAL";
3861
+ village?: string | undefined;
3862
+ }, {
3863
+ country: string;
3864
+ district: string;
3865
+ addressType: "DOMESTIC";
3866
+ province: string;
3867
+ urbanOrRural: "RURAL";
3868
+ village?: string | undefined;
3869
+ }>]>, z.ZodObject<{
3870
+ country: z.ZodString;
3871
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3872
+ state: z.ZodString;
3873
+ district2: z.ZodString;
3874
+ cityOrTown: z.ZodOptional<z.ZodString>;
3875
+ addressLine1: z.ZodOptional<z.ZodString>;
3876
+ addressLine2: z.ZodOptional<z.ZodString>;
3877
+ addressLine3: z.ZodOptional<z.ZodString>;
3878
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
4925
3879
  }, "strip", z.ZodTypeAny, {
4926
- maxLength?: number | undefined;
4927
- prefix?: TranslationConfig | undefined;
4928
- postfix?: TranslationConfig | undefined;
4929
- rows?: number | undefined;
4930
- cols?: number | undefined;
3880
+ country: string;
3881
+ state: string;
3882
+ addressType: "INTERNATIONAL";
3883
+ district2: string;
3884
+ cityOrTown?: string | undefined;
3885
+ addressLine1?: string | undefined;
3886
+ addressLine2?: string | undefined;
3887
+ addressLine3?: string | undefined;
3888
+ postcodeOrZip?: string | undefined;
4931
3889
  }, {
4932
- maxLength?: number | undefined;
4933
- prefix?: {
4934
- id: string;
4935
- description: string;
4936
- defaultMessage: string;
4937
- } | undefined;
4938
- postfix?: {
4939
- id: string;
4940
- description: string;
4941
- defaultMessage: string;
4942
- } | undefined;
4943
- rows?: number | undefined;
4944
- cols?: number | undefined;
4945
- }>>>;
3890
+ country: string;
3891
+ state: string;
3892
+ addressType: "INTERNATIONAL";
3893
+ district2: string;
3894
+ cityOrTown?: string | undefined;
3895
+ addressLine1?: string | undefined;
3896
+ addressLine2?: string | undefined;
3897
+ addressLine3?: string | undefined;
3898
+ postcodeOrZip?: string | undefined;
3899
+ }>]>>;
4946
3900
  }>, "strip", z.ZodTypeAny, {
4947
- type: "TEXTAREA";
3901
+ type: "ADDRESS";
4948
3902
  id: string;
4949
3903
  label: TranslationConfig;
4950
3904
  parent?: {
@@ -4965,20 +3919,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4965
3919
  type: "DISPLAY_ON_REVIEW";
4966
3920
  conditional: import(".").JSONSchema;
4967
3921
  })[] | undefined;
4968
- secured?: boolean | undefined;
4969
3922
  placeholder?: TranslationConfig | undefined;
4970
3923
  helperText?: TranslationConfig | undefined;
4971
3924
  hideLabel?: boolean | undefined;
4972
- defaultValue?: string | undefined;
4973
- configuration?: {
4974
- maxLength?: number | undefined;
4975
- prefix?: TranslationConfig | undefined;
4976
- postfix?: TranslationConfig | undefined;
4977
- rows?: number | undefined;
4978
- cols?: number | undefined;
3925
+ defaultValue?: {
3926
+ country: string;
3927
+ district: string;
3928
+ addressType: "DOMESTIC";
3929
+ province: string;
3930
+ urbanOrRural: "URBAN";
3931
+ number?: string | undefined;
3932
+ town?: string | undefined;
3933
+ residentialArea?: string | undefined;
3934
+ street?: string | undefined;
3935
+ zipCode?: string | undefined;
3936
+ } | {
3937
+ country: string;
3938
+ district: string;
3939
+ addressType: "DOMESTIC";
3940
+ province: string;
3941
+ urbanOrRural: "RURAL";
3942
+ village?: string | undefined;
3943
+ } | {
3944
+ country: string;
3945
+ state: string;
3946
+ addressType: "INTERNATIONAL";
3947
+ district2: string;
3948
+ cityOrTown?: string | undefined;
3949
+ addressLine1?: string | undefined;
3950
+ addressLine2?: string | undefined;
3951
+ addressLine3?: string | undefined;
3952
+ postcodeOrZip?: string | undefined;
4979
3953
  } | undefined;
4980
3954
  }, {
4981
- type: "TEXTAREA";
3955
+ type: "ADDRESS";
4982
3956
  id: string;
4983
3957
  label: {
4984
3958
  id: string;
@@ -5007,7 +3981,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5007
3981
  type: "DISPLAY_ON_REVIEW";
5008
3982
  conditional: import(".").JSONSchema;
5009
3983
  })[] | undefined;
5010
- secured?: boolean | undefined;
5011
3984
  placeholder?: {
5012
3985
  id: string;
5013
3986
  description: string;
@@ -5018,23 +3991,36 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5018
3991
  description: string;
5019
3992
  defaultMessage: string;
5020
3993
  } | undefined;
5021
- hideLabel?: boolean | undefined;
5022
- defaultValue?: string | undefined;
5023
- configuration?: {
5024
- maxLength?: number | undefined;
5025
- prefix?: {
5026
- id: string;
5027
- description: string;
5028
- defaultMessage: string;
5029
- } | undefined;
5030
- postfix?: {
5031
- id: string;
5032
- description: string;
5033
- defaultMessage: string;
5034
- } | undefined;
5035
- rows?: number | undefined;
5036
- cols?: number | undefined;
5037
- } | undefined;
3994
+ hideLabel?: boolean | undefined;
3995
+ defaultValue?: {
3996
+ country: string;
3997
+ district: string;
3998
+ addressType: "DOMESTIC";
3999
+ province: string;
4000
+ urbanOrRural: "URBAN";
4001
+ number?: string | undefined;
4002
+ town?: string | undefined;
4003
+ residentialArea?: string | undefined;
4004
+ street?: string | undefined;
4005
+ zipCode?: string | undefined;
4006
+ } | {
4007
+ country: string;
4008
+ district: string;
4009
+ addressType: "DOMESTIC";
4010
+ province: string;
4011
+ urbanOrRural: "RURAL";
4012
+ village?: string | undefined;
4013
+ } | {
4014
+ country: string;
4015
+ state: string;
4016
+ addressType: "INTERNATIONAL";
4017
+ district2: string;
4018
+ cityOrTown?: string | undefined;
4019
+ addressLine1?: string | undefined;
4020
+ addressLine2?: string | undefined;
4021
+ addressLine3?: string | undefined;
4022
+ postcodeOrZip?: string | undefined;
4023
+ } | undefined;
5038
4024
  }>, z.ZodObject<z.objectUtil.extendShape<{
5039
4025
  id: z.ZodString;
5040
4026
  parent: z.ZodOptional<z.ZodObject<{
@@ -5046,7 +4032,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5046
4032
  }>>;
5047
4033
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5048
4034
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5049
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5050
4035
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5051
4036
  id: string;
5052
4037
  description: string;
@@ -5082,25 +4067,42 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5082
4067
  }>>;
5083
4068
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5084
4069
  }, {
5085
- type: z.ZodLiteral<"DATE">;
4070
+ type: z.ZodLiteral<"TEXT">;
5086
4071
  defaultValue: z.ZodOptional<z.ZodString>;
5087
- configuration: z.ZodOptional<z.ZodObject<{
5088
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4072
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4073
+ maxLength: z.ZodOptional<z.ZodNumber>;
4074
+ type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
4075
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4076
+ id: string;
4077
+ description: string;
4078
+ defaultMessage: string;
4079
+ }>>;
4080
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5089
4081
  id: string;
5090
4082
  description: string;
5091
4083
  defaultMessage: string;
5092
4084
  }>>;
5093
4085
  }, "strip", z.ZodTypeAny, {
5094
- notice?: TranslationConfig | undefined;
4086
+ type?: "text" | "password" | undefined;
4087
+ maxLength?: number | undefined;
4088
+ prefix?: TranslationConfig | undefined;
4089
+ postfix?: TranslationConfig | undefined;
5095
4090
  }, {
5096
- notice?: {
4091
+ type?: "text" | "password" | undefined;
4092
+ maxLength?: number | undefined;
4093
+ prefix?: {
5097
4094
  id: string;
5098
4095
  description: string;
5099
4096
  defaultMessage: string;
5100
4097
  } | undefined;
5101
- }>>;
4098
+ postfix?: {
4099
+ id: string;
4100
+ description: string;
4101
+ defaultMessage: string;
4102
+ } | undefined;
4103
+ }>>>;
5102
4104
  }>, "strip", z.ZodTypeAny, {
5103
- type: "DATE";
4105
+ type: "TEXT";
5104
4106
  id: string;
5105
4107
  label: TranslationConfig;
5106
4108
  parent?: {
@@ -5121,16 +4123,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5121
4123
  type: "DISPLAY_ON_REVIEW";
5122
4124
  conditional: import(".").JSONSchema;
5123
4125
  })[] | undefined;
5124
- secured?: boolean | undefined;
5125
4126
  placeholder?: TranslationConfig | undefined;
5126
4127
  helperText?: TranslationConfig | undefined;
5127
4128
  hideLabel?: boolean | undefined;
5128
4129
  defaultValue?: string | undefined;
5129
4130
  configuration?: {
5130
- notice?: TranslationConfig | undefined;
4131
+ type?: "text" | "password" | undefined;
4132
+ maxLength?: number | undefined;
4133
+ prefix?: TranslationConfig | undefined;
4134
+ postfix?: TranslationConfig | undefined;
5131
4135
  } | undefined;
5132
4136
  }, {
5133
- type: "DATE";
4137
+ type: "TEXT";
5134
4138
  id: string;
5135
4139
  label: {
5136
4140
  id: string;
@@ -5159,7 +4163,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5159
4163
  type: "DISPLAY_ON_REVIEW";
5160
4164
  conditional: import(".").JSONSchema;
5161
4165
  })[] | undefined;
5162
- secured?: boolean | undefined;
5163
4166
  placeholder?: {
5164
4167
  id: string;
5165
4168
  description: string;
@@ -5173,7 +4176,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5173
4176
  hideLabel?: boolean | undefined;
5174
4177
  defaultValue?: string | undefined;
5175
4178
  configuration?: {
5176
- notice?: {
4179
+ type?: "text" | "password" | undefined;
4180
+ maxLength?: number | undefined;
4181
+ prefix?: {
4182
+ id: string;
4183
+ description: string;
4184
+ defaultMessage: string;
4185
+ } | undefined;
4186
+ postfix?: {
5177
4187
  id: string;
5178
4188
  description: string;
5179
4189
  defaultMessage: string;
@@ -5190,7 +4200,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5190
4200
  }>>;
5191
4201
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5192
4202
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5193
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5194
4203
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5195
4204
  id: string;
5196
4205
  description: string;
@@ -5226,25 +4235,42 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5226
4235
  }>>;
5227
4236
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5228
4237
  }, {
5229
- type: z.ZodLiteral<"DATE_RANGE">;
5230
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
4238
+ type: z.ZodLiteral<"NUMBER">;
4239
+ defaultValue: z.ZodOptional<z.ZodNumber>;
5231
4240
  configuration: z.ZodOptional<z.ZodObject<{
5232
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4241
+ min: z.ZodOptional<z.ZodNumber>;
4242
+ max: z.ZodOptional<z.ZodNumber>;
4243
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4244
+ id: string;
4245
+ description: string;
4246
+ defaultMessage: string;
4247
+ }>>;
4248
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5233
4249
  id: string;
5234
4250
  description: string;
5235
4251
  defaultMessage: string;
5236
4252
  }>>;
5237
4253
  }, "strip", z.ZodTypeAny, {
5238
- notice?: TranslationConfig | undefined;
4254
+ prefix?: TranslationConfig | undefined;
4255
+ postfix?: TranslationConfig | undefined;
4256
+ min?: number | undefined;
4257
+ max?: number | undefined;
5239
4258
  }, {
5240
- notice?: {
4259
+ prefix?: {
4260
+ id: string;
4261
+ description: string;
4262
+ defaultMessage: string;
4263
+ } | undefined;
4264
+ postfix?: {
5241
4265
  id: string;
5242
4266
  description: string;
5243
4267
  defaultMessage: string;
5244
4268
  } | undefined;
4269
+ min?: number | undefined;
4270
+ max?: number | undefined;
5245
4271
  }>>;
5246
4272
  }>, "strip", z.ZodTypeAny, {
5247
- type: "DATE_RANGE";
4273
+ type: "NUMBER";
5248
4274
  id: string;
5249
4275
  label: TranslationConfig;
5250
4276
  parent?: {
@@ -5265,16 +4291,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5265
4291
  type: "DISPLAY_ON_REVIEW";
5266
4292
  conditional: import(".").JSONSchema;
5267
4293
  })[] | undefined;
5268
- secured?: boolean | undefined;
5269
4294
  placeholder?: TranslationConfig | undefined;
5270
4295
  helperText?: TranslationConfig | undefined;
5271
4296
  hideLabel?: boolean | undefined;
5272
- defaultValue?: string | [string, string] | undefined;
4297
+ defaultValue?: number | undefined;
5273
4298
  configuration?: {
5274
- notice?: TranslationConfig | undefined;
4299
+ prefix?: TranslationConfig | undefined;
4300
+ postfix?: TranslationConfig | undefined;
4301
+ min?: number | undefined;
4302
+ max?: number | undefined;
5275
4303
  } | undefined;
5276
4304
  }, {
5277
- type: "DATE_RANGE";
4305
+ type: "NUMBER";
5278
4306
  id: string;
5279
4307
  label: {
5280
4308
  id: string;
@@ -5303,7 +4331,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5303
4331
  type: "DISPLAY_ON_REVIEW";
5304
4332
  conditional: import(".").JSONSchema;
5305
4333
  })[] | undefined;
5306
- secured?: boolean | undefined;
5307
4334
  placeholder?: {
5308
4335
  id: string;
5309
4336
  description: string;
@@ -5315,13 +4342,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5315
4342
  defaultMessage: string;
5316
4343
  } | undefined;
5317
4344
  hideLabel?: boolean | undefined;
5318
- defaultValue?: string | [string, string] | undefined;
4345
+ defaultValue?: number | undefined;
5319
4346
  configuration?: {
5320
- notice?: {
4347
+ prefix?: {
4348
+ id: string;
4349
+ description: string;
4350
+ defaultMessage: string;
4351
+ } | undefined;
4352
+ postfix?: {
5321
4353
  id: string;
5322
4354
  description: string;
5323
4355
  defaultMessage: string;
5324
4356
  } | undefined;
4357
+ min?: number | undefined;
4358
+ max?: number | undefined;
5325
4359
  } | undefined;
5326
4360
  }>, z.ZodObject<z.objectUtil.extendShape<{
5327
4361
  id: z.ZodString;
@@ -5334,7 +4368,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5334
4368
  }>>;
5335
4369
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5336
4370
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5337
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5338
4371
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5339
4372
  id: string;
5340
4373
  description: string;
@@ -5370,34 +4403,47 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5370
4403
  }>>;
5371
4404
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5372
4405
  }, {
5373
- type: z.ZodLiteral<"PARAGRAPH">;
4406
+ type: z.ZodLiteral<"TEXTAREA">;
5374
4407
  defaultValue: z.ZodOptional<z.ZodString>;
5375
- configuration: z.ZodDefault<z.ZodObject<{
5376
- styles: z.ZodOptional<z.ZodObject<{
5377
- fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
5378
- }, "strip", z.ZodTypeAny, {
5379
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5380
- }, {
5381
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4408
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
4409
+ maxLength: z.ZodOptional<z.ZodNumber>;
4410
+ rows: z.ZodOptional<z.ZodNumber>;
4411
+ cols: z.ZodOptional<z.ZodNumber>;
4412
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4413
+ id: string;
4414
+ description: string;
4415
+ defaultMessage: string;
4416
+ }>>;
4417
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4418
+ id: string;
4419
+ description: string;
4420
+ defaultMessage: string;
5382
4421
  }>>;
5383
4422
  }, "strip", z.ZodTypeAny, {
5384
- styles?: {
5385
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5386
- } | undefined;
4423
+ maxLength?: number | undefined;
4424
+ prefix?: TranslationConfig | undefined;
4425
+ postfix?: TranslationConfig | undefined;
4426
+ rows?: number | undefined;
4427
+ cols?: number | undefined;
5387
4428
  }, {
5388
- styles?: {
5389
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4429
+ maxLength?: number | undefined;
4430
+ prefix?: {
4431
+ id: string;
4432
+ description: string;
4433
+ defaultMessage: string;
5390
4434
  } | undefined;
5391
- }>>;
4435
+ postfix?: {
4436
+ id: string;
4437
+ description: string;
4438
+ defaultMessage: string;
4439
+ } | undefined;
4440
+ rows?: number | undefined;
4441
+ cols?: number | undefined;
4442
+ }>>>;
5392
4443
  }>, "strip", z.ZodTypeAny, {
5393
- type: "PARAGRAPH";
4444
+ type: "TEXTAREA";
5394
4445
  id: string;
5395
4446
  label: TranslationConfig;
5396
- configuration: {
5397
- styles?: {
5398
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5399
- } | undefined;
5400
- };
5401
4447
  parent?: {
5402
4448
  $$field: string;
5403
4449
  } | undefined;
@@ -5416,13 +4462,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5416
4462
  type: "DISPLAY_ON_REVIEW";
5417
4463
  conditional: import(".").JSONSchema;
5418
4464
  })[] | undefined;
5419
- secured?: boolean | undefined;
5420
4465
  placeholder?: TranslationConfig | undefined;
5421
4466
  helperText?: TranslationConfig | undefined;
5422
4467
  hideLabel?: boolean | undefined;
5423
4468
  defaultValue?: string | undefined;
4469
+ configuration?: {
4470
+ maxLength?: number | undefined;
4471
+ prefix?: TranslationConfig | undefined;
4472
+ postfix?: TranslationConfig | undefined;
4473
+ rows?: number | undefined;
4474
+ cols?: number | undefined;
4475
+ } | undefined;
5424
4476
  }, {
5425
- type: "PARAGRAPH";
4477
+ type: "TEXTAREA";
5426
4478
  id: string;
5427
4479
  label: {
5428
4480
  id: string;
@@ -5451,7 +4503,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5451
4503
  type: "DISPLAY_ON_REVIEW";
5452
4504
  conditional: import(".").JSONSchema;
5453
4505
  })[] | undefined;
5454
- secured?: boolean | undefined;
5455
4506
  placeholder?: {
5456
4507
  id: string;
5457
4508
  description: string;
@@ -5465,9 +4516,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5465
4516
  hideLabel?: boolean | undefined;
5466
4517
  defaultValue?: string | undefined;
5467
4518
  configuration?: {
5468
- styles?: {
5469
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4519
+ maxLength?: number | undefined;
4520
+ prefix?: {
4521
+ id: string;
4522
+ description: string;
4523
+ defaultMessage: string;
4524
+ } | undefined;
4525
+ postfix?: {
4526
+ id: string;
4527
+ description: string;
4528
+ defaultMessage: string;
5470
4529
  } | undefined;
4530
+ rows?: number | undefined;
4531
+ cols?: number | undefined;
5471
4532
  } | undefined;
5472
4533
  }>, z.ZodObject<z.objectUtil.extendShape<{
5473
4534
  id: z.ZodString;
@@ -5480,7 +4541,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5480
4541
  }>>;
5481
4542
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5482
4543
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5483
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5484
4544
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5485
4545
  id: string;
5486
4546
  description: string;
@@ -5516,50 +4576,26 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5516
4576
  }>>;
5517
4577
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5518
4578
  }, {
5519
- type: z.ZodLiteral<"RADIO_GROUP">;
4579
+ type: z.ZodLiteral<"DATE">;
5520
4580
  defaultValue: z.ZodOptional<z.ZodString>;
5521
- options: z.ZodArray<z.ZodObject<{
5522
- value: z.ZodString;
5523
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4581
+ configuration: z.ZodOptional<z.ZodObject<{
4582
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5524
4583
  id: string;
5525
4584
  description: string;
5526
4585
  defaultMessage: string;
5527
- }>;
4586
+ }>>;
5528
4587
  }, "strip", z.ZodTypeAny, {
5529
- value: string;
5530
- label: TranslationConfig;
4588
+ notice?: TranslationConfig | undefined;
5531
4589
  }, {
5532
- value: string;
5533
- label: {
4590
+ notice?: {
5534
4591
  id: string;
5535
4592
  description: string;
5536
4593
  defaultMessage: string;
5537
- };
5538
- }>, "many">;
5539
- configuration: z.ZodOptional<z.ZodObject<{
5540
- styles: z.ZodOptional<z.ZodObject<{
5541
- size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
5542
- }, "strip", z.ZodTypeAny, {
5543
- size?: "NORMAL" | "LARGE" | undefined;
5544
- }, {
5545
- size?: "NORMAL" | "LARGE" | undefined;
5546
- }>>;
5547
- }, "strip", z.ZodTypeAny, {
5548
- styles?: {
5549
- size?: "NORMAL" | "LARGE" | undefined;
5550
- } | undefined;
5551
- }, {
5552
- styles?: {
5553
- size?: "NORMAL" | "LARGE" | undefined;
5554
4594
  } | undefined;
5555
4595
  }>>;
5556
4596
  }>, "strip", z.ZodTypeAny, {
5557
- type: "RADIO_GROUP";
4597
+ type: "DATE";
5558
4598
  id: string;
5559
- options: {
5560
- value: string;
5561
- label: TranslationConfig;
5562
- }[];
5563
4599
  label: TranslationConfig;
5564
4600
  parent?: {
5565
4601
  $$field: string;
@@ -5579,27 +4615,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5579
4615
  type: "DISPLAY_ON_REVIEW";
5580
4616
  conditional: import(".").JSONSchema;
5581
4617
  })[] | undefined;
5582
- secured?: boolean | undefined;
5583
4618
  placeholder?: TranslationConfig | undefined;
5584
4619
  helperText?: TranslationConfig | undefined;
5585
4620
  hideLabel?: boolean | undefined;
5586
4621
  defaultValue?: string | undefined;
5587
- configuration?: {
5588
- styles?: {
5589
- size?: "NORMAL" | "LARGE" | undefined;
5590
- } | undefined;
5591
- } | undefined;
5592
- }, {
5593
- type: "RADIO_GROUP";
5594
- id: string;
5595
- options: {
5596
- value: string;
5597
- label: {
5598
- id: string;
5599
- description: string;
5600
- defaultMessage: string;
5601
- };
5602
- }[];
4622
+ configuration?: {
4623
+ notice?: TranslationConfig | undefined;
4624
+ } | undefined;
4625
+ }, {
4626
+ type: "DATE";
4627
+ id: string;
5603
4628
  label: {
5604
4629
  id: string;
5605
4630
  description: string;
@@ -5627,7 +4652,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5627
4652
  type: "DISPLAY_ON_REVIEW";
5628
4653
  conditional: import(".").JSONSchema;
5629
4654
  })[] | undefined;
5630
- secured?: boolean | undefined;
5631
4655
  placeholder?: {
5632
4656
  id: string;
5633
4657
  description: string;
@@ -5641,8 +4665,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5641
4665
  hideLabel?: boolean | undefined;
5642
4666
  defaultValue?: string | undefined;
5643
4667
  configuration?: {
5644
- styles?: {
5645
- size?: "NORMAL" | "LARGE" | undefined;
4668
+ notice?: {
4669
+ id: string;
4670
+ description: string;
4671
+ defaultMessage: string;
5646
4672
  } | undefined;
5647
4673
  } | undefined;
5648
4674
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -5656,7 +4682,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5656
4682
  }>>;
5657
4683
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5658
4684
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5659
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5660
4685
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5661
4686
  id: string;
5662
4687
  description: string;
@@ -5692,40 +4717,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5692
4717
  }>>;
5693
4718
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5694
4719
  }, {
5695
- type: z.ZodLiteral<"BULLET_LIST">;
5696
- defaultValue: z.ZodOptional<z.ZodString>;
5697
- items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5698
- id: string;
5699
- description: string;
5700
- defaultMessage: string;
5701
- }>, "many">;
5702
- configuration: z.ZodDefault<z.ZodObject<{
5703
- styles: z.ZodOptional<z.ZodObject<{
5704
- fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
5705
- }, "strip", z.ZodTypeAny, {
5706
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5707
- }, {
5708
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4720
+ type: z.ZodLiteral<"DATE_RANGE">;
4721
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
4722
+ configuration: z.ZodOptional<z.ZodObject<{
4723
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4724
+ id: string;
4725
+ description: string;
4726
+ defaultMessage: string;
5709
4727
  }>>;
5710
4728
  }, "strip", z.ZodTypeAny, {
5711
- styles?: {
5712
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5713
- } | undefined;
4729
+ notice?: TranslationConfig | undefined;
5714
4730
  }, {
5715
- styles?: {
5716
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4731
+ notice?: {
4732
+ id: string;
4733
+ description: string;
4734
+ defaultMessage: string;
5717
4735
  } | undefined;
5718
4736
  }>>;
5719
4737
  }>, "strip", z.ZodTypeAny, {
5720
- type: "BULLET_LIST";
4738
+ type: "DATE_RANGE";
5721
4739
  id: string;
5722
4740
  label: TranslationConfig;
5723
- configuration: {
5724
- styles?: {
5725
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5726
- } | undefined;
5727
- };
5728
- items: TranslationConfig[];
5729
4741
  parent?: {
5730
4742
  $$field: string;
5731
4743
  } | undefined;
@@ -5744,24 +4756,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5744
4756
  type: "DISPLAY_ON_REVIEW";
5745
4757
  conditional: import(".").JSONSchema;
5746
4758
  })[] | undefined;
5747
- secured?: boolean | undefined;
5748
4759
  placeholder?: TranslationConfig | undefined;
5749
4760
  helperText?: TranslationConfig | undefined;
5750
4761
  hideLabel?: boolean | undefined;
5751
- defaultValue?: string | undefined;
4762
+ defaultValue?: string | [string, string] | undefined;
4763
+ configuration?: {
4764
+ notice?: TranslationConfig | undefined;
4765
+ } | undefined;
5752
4766
  }, {
5753
- type: "BULLET_LIST";
4767
+ type: "DATE_RANGE";
5754
4768
  id: string;
5755
4769
  label: {
5756
4770
  id: string;
5757
4771
  description: string;
5758
4772
  defaultMessage: string;
5759
4773
  };
5760
- items: {
5761
- id: string;
5762
- description: string;
5763
- defaultMessage: string;
5764
- }[];
5765
4774
  parent?: {
5766
4775
  $$field: string;
5767
4776
  } | undefined;
@@ -5784,7 +4793,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5784
4793
  type: "DISPLAY_ON_REVIEW";
5785
4794
  conditional: import(".").JSONSchema;
5786
4795
  })[] | undefined;
5787
- secured?: boolean | undefined;
5788
4796
  placeholder?: {
5789
4797
  id: string;
5790
4798
  description: string;
@@ -5796,10 +4804,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5796
4804
  defaultMessage: string;
5797
4805
  } | undefined;
5798
4806
  hideLabel?: boolean | undefined;
5799
- defaultValue?: string | undefined;
4807
+ defaultValue?: string | [string, string] | undefined;
5800
4808
  configuration?: {
5801
- styles?: {
5802
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4809
+ notice?: {
4810
+ id: string;
4811
+ description: string;
4812
+ defaultMessage: string;
5803
4813
  } | undefined;
5804
4814
  } | undefined;
5805
4815
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -5813,7 +4823,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5813
4823
  }>>;
5814
4824
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5815
4825
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5816
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5817
4826
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5818
4827
  id: string;
5819
4828
  description: string;
@@ -5849,12 +4858,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5849
4858
  }>>;
5850
4859
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5851
4860
  }, {
5852
- type: z.ZodLiteral<"PAGE_HEADER">;
4861
+ type: z.ZodLiteral<"PARAGRAPH">;
5853
4862
  defaultValue: z.ZodOptional<z.ZodString>;
4863
+ configuration: z.ZodDefault<z.ZodObject<{
4864
+ styles: z.ZodOptional<z.ZodObject<{
4865
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
4866
+ hint: z.ZodOptional<z.ZodBoolean>;
4867
+ }, "strip", z.ZodTypeAny, {
4868
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4869
+ hint?: boolean | undefined;
4870
+ }, {
4871
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4872
+ hint?: boolean | undefined;
4873
+ }>>;
4874
+ }, "strip", z.ZodTypeAny, {
4875
+ styles?: {
4876
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4877
+ hint?: boolean | undefined;
4878
+ } | undefined;
4879
+ }, {
4880
+ styles?: {
4881
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4882
+ hint?: boolean | undefined;
4883
+ } | undefined;
4884
+ }>>;
5854
4885
  }>, "strip", z.ZodTypeAny, {
5855
- type: "PAGE_HEADER";
4886
+ type: "PARAGRAPH";
5856
4887
  id: string;
5857
4888
  label: TranslationConfig;
4889
+ configuration: {
4890
+ styles?: {
4891
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4892
+ hint?: boolean | undefined;
4893
+ } | undefined;
4894
+ };
5858
4895
  parent?: {
5859
4896
  $$field: string;
5860
4897
  } | undefined;
@@ -5873,13 +4910,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5873
4910
  type: "DISPLAY_ON_REVIEW";
5874
4911
  conditional: import(".").JSONSchema;
5875
4912
  })[] | undefined;
5876
- secured?: boolean | undefined;
5877
4913
  placeholder?: TranslationConfig | undefined;
5878
4914
  helperText?: TranslationConfig | undefined;
5879
4915
  hideLabel?: boolean | undefined;
5880
4916
  defaultValue?: string | undefined;
5881
4917
  }, {
5882
- type: "PAGE_HEADER";
4918
+ type: "PARAGRAPH";
5883
4919
  id: string;
5884
4920
  label: {
5885
4921
  id: string;
@@ -5908,7 +4944,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5908
4944
  type: "DISPLAY_ON_REVIEW";
5909
4945
  conditional: import(".").JSONSchema;
5910
4946
  })[] | undefined;
5911
- secured?: boolean | undefined;
5912
4947
  placeholder?: {
5913
4948
  id: string;
5914
4949
  description: string;
@@ -5921,6 +4956,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5921
4956
  } | undefined;
5922
4957
  hideLabel?: boolean | undefined;
5923
4958
  defaultValue?: string | undefined;
4959
+ configuration?: {
4960
+ styles?: {
4961
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4962
+ hint?: boolean | undefined;
4963
+ } | undefined;
4964
+ } | undefined;
5924
4965
  }>, z.ZodObject<z.objectUtil.extendShape<{
5925
4966
  id: z.ZodString;
5926
4967
  parent: z.ZodOptional<z.ZodObject<{
@@ -5932,7 +4973,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5932
4973
  }>>;
5933
4974
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5934
4975
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5935
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5936
4976
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5937
4977
  id: string;
5938
4978
  description: string;
@@ -5968,7 +5008,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5968
5008
  }>>;
5969
5009
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5970
5010
  }, {
5971
- type: z.ZodLiteral<"SELECT">;
5011
+ type: z.ZodLiteral<"RADIO_GROUP">;
5972
5012
  defaultValue: z.ZodOptional<z.ZodString>;
5973
5013
  options: z.ZodArray<z.ZodObject<{
5974
5014
  value: z.ZodString;
@@ -5988,8 +5028,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5988
5028
  defaultMessage: string;
5989
5029
  };
5990
5030
  }>, "many">;
5031
+ configuration: z.ZodOptional<z.ZodObject<{
5032
+ styles: z.ZodOptional<z.ZodObject<{
5033
+ size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
5034
+ }, "strip", z.ZodTypeAny, {
5035
+ size?: "NORMAL" | "LARGE" | undefined;
5036
+ }, {
5037
+ size?: "NORMAL" | "LARGE" | undefined;
5038
+ }>>;
5039
+ }, "strip", z.ZodTypeAny, {
5040
+ styles?: {
5041
+ size?: "NORMAL" | "LARGE" | undefined;
5042
+ } | undefined;
5043
+ }, {
5044
+ styles?: {
5045
+ size?: "NORMAL" | "LARGE" | undefined;
5046
+ } | undefined;
5047
+ }>>;
5991
5048
  }>, "strip", z.ZodTypeAny, {
5992
- type: "SELECT";
5049
+ type: "RADIO_GROUP";
5993
5050
  id: string;
5994
5051
  options: {
5995
5052
  value: string;
@@ -6014,13 +5071,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6014
5071
  type: "DISPLAY_ON_REVIEW";
6015
5072
  conditional: import(".").JSONSchema;
6016
5073
  })[] | undefined;
6017
- secured?: boolean | undefined;
6018
5074
  placeholder?: TranslationConfig | undefined;
6019
5075
  helperText?: TranslationConfig | undefined;
6020
5076
  hideLabel?: boolean | undefined;
6021
5077
  defaultValue?: string | undefined;
5078
+ configuration?: {
5079
+ styles?: {
5080
+ size?: "NORMAL" | "LARGE" | undefined;
5081
+ } | undefined;
5082
+ } | undefined;
6022
5083
  }, {
6023
- type: "SELECT";
5084
+ type: "RADIO_GROUP";
6024
5085
  id: string;
6025
5086
  options: {
6026
5087
  value: string;
@@ -6057,7 +5118,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6057
5118
  type: "DISPLAY_ON_REVIEW";
6058
5119
  conditional: import(".").JSONSchema;
6059
5120
  })[] | undefined;
6060
- secured?: boolean | undefined;
6061
5121
  placeholder?: {
6062
5122
  id: string;
6063
5123
  description: string;
@@ -6070,6 +5130,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6070
5130
  } | undefined;
6071
5131
  hideLabel?: boolean | undefined;
6072
5132
  defaultValue?: string | undefined;
5133
+ configuration?: {
5134
+ styles?: {
5135
+ size?: "NORMAL" | "LARGE" | undefined;
5136
+ } | undefined;
5137
+ } | undefined;
6073
5138
  }>, z.ZodObject<z.objectUtil.extendShape<{
6074
5139
  id: z.ZodString;
6075
5140
  parent: z.ZodOptional<z.ZodObject<{
@@ -6081,7 +5146,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6081
5146
  }>>;
6082
5147
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6083
5148
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6084
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6085
5149
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6086
5150
  id: string;
6087
5151
  description: string;
@@ -6117,56 +5181,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6117
5181
  }>>;
6118
5182
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6119
5183
  }, {
6120
- type: z.ZodLiteral<"NAME">;
6121
- defaultValue: z.ZodOptional<z.ZodObject<{
6122
- firstname: z.ZodString;
6123
- surname: z.ZodString;
6124
- }, "strip", z.ZodTypeAny, {
6125
- firstname: string;
6126
- surname: string;
6127
- }, {
6128
- firstname: string;
6129
- surname: string;
6130
- }>>;
6131
- configuration: z.ZodOptional<z.ZodObject<{
6132
- maxLength: z.ZodOptional<z.ZodNumber>;
6133
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6134
- id: string;
6135
- description: string;
6136
- defaultMessage: string;
6137
- }>>;
6138
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6139
- id: string;
6140
- description: string;
6141
- defaultMessage: string;
5184
+ type: z.ZodLiteral<"BULLET_LIST">;
5185
+ defaultValue: z.ZodOptional<z.ZodString>;
5186
+ items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5187
+ id: string;
5188
+ description: string;
5189
+ defaultMessage: string;
5190
+ }>, "many">;
5191
+ configuration: z.ZodDefault<z.ZodObject<{
5192
+ styles: z.ZodOptional<z.ZodObject<{
5193
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
5194
+ }, "strip", z.ZodTypeAny, {
5195
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5196
+ }, {
5197
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6142
5198
  }>>;
6143
- includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6144
- searchMode: z.ZodOptional<z.ZodBoolean>;
6145
5199
  }, "strip", z.ZodTypeAny, {
6146
- maxLength?: number | undefined;
6147
- prefix?: TranslationConfig | undefined;
6148
- postfix?: TranslationConfig | undefined;
6149
- includeMiddlename?: boolean | undefined;
6150
- searchMode?: boolean | undefined;
6151
- }, {
6152
- maxLength?: number | undefined;
6153
- prefix?: {
6154
- id: string;
6155
- description: string;
6156
- defaultMessage: string;
5200
+ styles?: {
5201
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6157
5202
  } | undefined;
6158
- postfix?: {
6159
- id: string;
6160
- description: string;
6161
- defaultMessage: string;
5203
+ }, {
5204
+ styles?: {
5205
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6162
5206
  } | undefined;
6163
- includeMiddlename?: boolean | undefined;
6164
- searchMode?: boolean | undefined;
6165
5207
  }>>;
6166
5208
  }>, "strip", z.ZodTypeAny, {
6167
- type: "NAME";
5209
+ type: "BULLET_LIST";
6168
5210
  id: string;
6169
5211
  label: TranslationConfig;
5212
+ configuration: {
5213
+ styles?: {
5214
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
5215
+ } | undefined;
5216
+ };
5217
+ items: TranslationConfig[];
6170
5218
  parent?: {
6171
5219
  $$field: string;
6172
5220
  } | undefined;
@@ -6185,29 +5233,23 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6185
5233
  type: "DISPLAY_ON_REVIEW";
6186
5234
  conditional: import(".").JSONSchema;
6187
5235
  })[] | undefined;
6188
- secured?: boolean | undefined;
6189
5236
  placeholder?: TranslationConfig | undefined;
6190
5237
  helperText?: TranslationConfig | undefined;
6191
5238
  hideLabel?: boolean | undefined;
6192
- defaultValue?: {
6193
- firstname: string;
6194
- surname: string;
6195
- } | undefined;
6196
- configuration?: {
6197
- maxLength?: number | undefined;
6198
- prefix?: TranslationConfig | undefined;
6199
- postfix?: TranslationConfig | undefined;
6200
- includeMiddlename?: boolean | undefined;
6201
- searchMode?: boolean | undefined;
6202
- } | undefined;
5239
+ defaultValue?: string | undefined;
6203
5240
  }, {
6204
- type: "NAME";
5241
+ type: "BULLET_LIST";
6205
5242
  id: string;
6206
5243
  label: {
6207
5244
  id: string;
6208
5245
  description: string;
6209
5246
  defaultMessage: string;
6210
5247
  };
5248
+ items: {
5249
+ id: string;
5250
+ description: string;
5251
+ defaultMessage: string;
5252
+ }[];
6211
5253
  parent?: {
6212
5254
  $$field: string;
6213
5255
  } | undefined;
@@ -6230,7 +5272,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6230
5272
  type: "DISPLAY_ON_REVIEW";
6231
5273
  conditional: import(".").JSONSchema;
6232
5274
  })[] | undefined;
6233
- secured?: boolean | undefined;
6234
5275
  placeholder?: {
6235
5276
  id: string;
6236
5277
  description: string;
@@ -6242,24 +5283,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6242
5283
  defaultMessage: string;
6243
5284
  } | undefined;
6244
5285
  hideLabel?: boolean | undefined;
6245
- defaultValue?: {
6246
- firstname: string;
6247
- surname: string;
6248
- } | undefined;
5286
+ defaultValue?: string | undefined;
6249
5287
  configuration?: {
6250
- maxLength?: number | undefined;
6251
- prefix?: {
6252
- id: string;
6253
- description: string;
6254
- defaultMessage: string;
6255
- } | undefined;
6256
- postfix?: {
6257
- id: string;
6258
- description: string;
6259
- defaultMessage: string;
5288
+ styles?: {
5289
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6260
5290
  } | undefined;
6261
- includeMiddlename?: boolean | undefined;
6262
- searchMode?: boolean | undefined;
6263
5291
  } | undefined;
6264
5292
  }>, z.ZodObject<z.objectUtil.extendShape<{
6265
5293
  id: z.ZodString;
@@ -6272,7 +5300,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6272
5300
  }>>;
6273
5301
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6274
5302
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6275
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6276
5303
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6277
5304
  id: string;
6278
5305
  description: string;
@@ -6308,10 +5335,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6308
5335
  }>>;
6309
5336
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6310
5337
  }, {
5338
+ type: z.ZodLiteral<"PAGE_HEADER">;
6311
5339
  defaultValue: z.ZodOptional<z.ZodString>;
6312
- type: z.ZodLiteral<"PHONE">;
6313
5340
  }>, "strip", z.ZodTypeAny, {
6314
- type: "PHONE";
5341
+ type: "PAGE_HEADER";
6315
5342
  id: string;
6316
5343
  label: TranslationConfig;
6317
5344
  parent?: {
@@ -6332,13 +5359,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6332
5359
  type: "DISPLAY_ON_REVIEW";
6333
5360
  conditional: import(".").JSONSchema;
6334
5361
  })[] | undefined;
6335
- secured?: boolean | undefined;
6336
5362
  placeholder?: TranslationConfig | undefined;
6337
5363
  helperText?: TranslationConfig | undefined;
6338
5364
  hideLabel?: boolean | undefined;
6339
5365
  defaultValue?: string | undefined;
6340
5366
  }, {
6341
- type: "PHONE";
5367
+ type: "PAGE_HEADER";
6342
5368
  id: string;
6343
5369
  label: {
6344
5370
  id: string;
@@ -6367,7 +5393,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6367
5393
  type: "DISPLAY_ON_REVIEW";
6368
5394
  conditional: import(".").JSONSchema;
6369
5395
  })[] | undefined;
6370
- secured?: boolean | undefined;
6371
5396
  placeholder?: {
6372
5397
  id: string;
6373
5398
  description: string;
@@ -6391,7 +5416,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6391
5416
  }>>;
6392
5417
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6393
5418
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6394
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6395
5419
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6396
5420
  id: string;
6397
5421
  description: string;
@@ -6427,11 +5451,33 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6427
5451
  }>>;
6428
5452
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6429
5453
  }, {
5454
+ type: z.ZodLiteral<"SELECT">;
6430
5455
  defaultValue: z.ZodOptional<z.ZodString>;
6431
- type: z.ZodLiteral<"ID">;
5456
+ options: z.ZodArray<z.ZodObject<{
5457
+ value: z.ZodString;
5458
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5459
+ id: string;
5460
+ description: string;
5461
+ defaultMessage: string;
5462
+ }>;
5463
+ }, "strip", z.ZodTypeAny, {
5464
+ value: string;
5465
+ label: TranslationConfig;
5466
+ }, {
5467
+ value: string;
5468
+ label: {
5469
+ id: string;
5470
+ description: string;
5471
+ defaultMessage: string;
5472
+ };
5473
+ }>, "many">;
6432
5474
  }>, "strip", z.ZodTypeAny, {
6433
- type: "ID";
5475
+ type: "SELECT";
6434
5476
  id: string;
5477
+ options: {
5478
+ value: string;
5479
+ label: TranslationConfig;
5480
+ }[];
6435
5481
  label: TranslationConfig;
6436
5482
  parent?: {
6437
5483
  $$field: string;
@@ -6451,14 +5497,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6451
5497
  type: "DISPLAY_ON_REVIEW";
6452
5498
  conditional: import(".").JSONSchema;
6453
5499
  })[] | undefined;
6454
- secured?: boolean | undefined;
6455
5500
  placeholder?: TranslationConfig | undefined;
6456
5501
  helperText?: TranslationConfig | undefined;
6457
5502
  hideLabel?: boolean | undefined;
6458
5503
  defaultValue?: string | undefined;
6459
5504
  }, {
6460
- type: "ID";
5505
+ type: "SELECT";
6461
5506
  id: string;
5507
+ options: {
5508
+ value: string;
5509
+ label: {
5510
+ id: string;
5511
+ description: string;
5512
+ defaultMessage: string;
5513
+ };
5514
+ }[];
6462
5515
  label: {
6463
5516
  id: string;
6464
5517
  description: string;
@@ -6486,7 +5539,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6486
5539
  type: "DISPLAY_ON_REVIEW";
6487
5540
  conditional: import(".").JSONSchema;
6488
5541
  })[] | undefined;
6489
- secured?: boolean | undefined;
6490
5542
  placeholder?: {
6491
5543
  id: string;
6492
5544
  description: string;
@@ -6510,7 +5562,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6510
5562
  }>>;
6511
5563
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6512
5564
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6513
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6514
5565
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6515
5566
  id: string;
6516
5567
  description: string;
@@ -6570,7 +5621,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6570
5621
  type: "DISPLAY_ON_REVIEW";
6571
5622
  conditional: import(".").JSONSchema;
6572
5623
  })[] | undefined;
6573
- secured?: boolean | undefined;
6574
5624
  placeholder?: TranslationConfig | undefined;
6575
5625
  helperText?: TranslationConfig | undefined;
6576
5626
  hideLabel?: boolean | undefined;
@@ -6605,7 +5655,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6605
5655
  type: "DISPLAY_ON_REVIEW";
6606
5656
  conditional: import(".").JSONSchema;
6607
5657
  })[] | undefined;
6608
- secured?: boolean | undefined;
6609
5658
  placeholder?: {
6610
5659
  id: string;
6611
5660
  description: string;
@@ -6629,7 +5678,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6629
5678
  }>>;
6630
5679
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6631
5680
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6632
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6633
5681
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6634
5682
  id: string;
6635
5683
  description: string;
@@ -6743,7 +5791,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6743
5791
  type: "DISPLAY_ON_REVIEW";
6744
5792
  conditional: import(".").JSONSchema;
6745
5793
  })[] | undefined;
6746
- secured?: boolean | undefined;
6747
5794
  placeholder?: TranslationConfig | undefined;
6748
5795
  helperText?: TranslationConfig | undefined;
6749
5796
  hideLabel?: boolean | undefined;
@@ -6782,7 +5829,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6782
5829
  type: "DISPLAY_ON_REVIEW";
6783
5830
  conditional: import(".").JSONSchema;
6784
5831
  })[] | undefined;
6785
- secured?: boolean | undefined;
6786
5832
  placeholder?: {
6787
5833
  id: string;
6788
5834
  description: string;
@@ -6822,7 +5868,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6822
5868
  }>>;
6823
5869
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6824
5870
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6825
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6826
5871
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6827
5872
  id: string;
6828
5873
  description: string;
@@ -6882,7 +5927,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6882
5927
  type: "DISPLAY_ON_REVIEW";
6883
5928
  conditional: import(".").JSONSchema;
6884
5929
  })[] | undefined;
6885
- secured?: boolean | undefined;
6886
5930
  placeholder?: TranslationConfig | undefined;
6887
5931
  helperText?: TranslationConfig | undefined;
6888
5932
  hideLabel?: boolean | undefined;
@@ -6917,7 +5961,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6917
5961
  type: "DISPLAY_ON_REVIEW";
6918
5962
  conditional: import(".").JSONSchema;
6919
5963
  })[] | undefined;
6920
- secured?: boolean | undefined;
6921
5964
  placeholder?: {
6922
5965
  id: string;
6923
5966
  description: string;
@@ -6941,7 +5984,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6941
5984
  }>>;
6942
5985
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6943
5986
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6944
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6945
5987
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6946
5988
  id: string;
6947
5989
  description: string;
@@ -7027,7 +6069,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7027
6069
  type: "DISPLAY_ON_REVIEW";
7028
6070
  conditional: import(".").JSONSchema;
7029
6071
  })[] | undefined;
7030
- secured?: boolean | undefined;
7031
6072
  placeholder?: TranslationConfig | undefined;
7032
6073
  helperText?: TranslationConfig | undefined;
7033
6074
  hideLabel?: boolean | undefined;
@@ -7068,7 +6109,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7068
6109
  type: "DISPLAY_ON_REVIEW";
7069
6110
  conditional: import(".").JSONSchema;
7070
6111
  })[] | undefined;
7071
- secured?: boolean | undefined;
7072
6112
  placeholder?: {
7073
6113
  id: string;
7074
6114
  description: string;
@@ -7092,7 +6132,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7092
6132
  }>>;
7093
6133
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7094
6134
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7095
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7096
6135
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7097
6136
  id: string;
7098
6137
  description: string;
@@ -7151,7 +6190,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7151
6190
  type: "DISPLAY_ON_REVIEW";
7152
6191
  conditional: import(".").JSONSchema;
7153
6192
  })[] | undefined;
7154
- secured?: boolean | undefined;
7155
6193
  placeholder?: TranslationConfig | undefined;
7156
6194
  helperText?: TranslationConfig | undefined;
7157
6195
  hideLabel?: boolean | undefined;
@@ -7185,7 +6223,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7185
6223
  type: "DISPLAY_ON_REVIEW";
7186
6224
  conditional: import(".").JSONSchema;
7187
6225
  })[] | undefined;
7188
- secured?: boolean | undefined;
7189
6226
  placeholder?: {
7190
6227
  id: string;
7191
6228
  description: string;
@@ -7208,7 +6245,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7208
6245
  }>>;
7209
6246
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7210
6247
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7211
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7212
6248
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7213
6249
  id: string;
7214
6250
  description: string;
@@ -7268,7 +6304,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7268
6304
  type: "DISPLAY_ON_REVIEW";
7269
6305
  conditional: import(".").JSONSchema;
7270
6306
  })[] | undefined;
7271
- secured?: boolean | undefined;
7272
6307
  placeholder?: TranslationConfig | undefined;
7273
6308
  helperText?: TranslationConfig | undefined;
7274
6309
  hideLabel?: boolean | undefined;
@@ -7303,7 +6338,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7303
6338
  type: "DISPLAY_ON_REVIEW";
7304
6339
  conditional: import(".").JSONSchema;
7305
6340
  })[] | undefined;
7306
- secured?: boolean | undefined;
7307
6341
  placeholder?: {
7308
6342
  id: string;
7309
6343
  description: string;
@@ -7327,7 +6361,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7327
6361
  }>>;
7328
6362
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7329
6363
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7330
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7331
6364
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7332
6365
  id: string;
7333
6366
  description: string;
@@ -7387,7 +6420,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7387
6420
  type: "DISPLAY_ON_REVIEW";
7388
6421
  conditional: import(".").JSONSchema;
7389
6422
  })[] | undefined;
7390
- secured?: boolean | undefined;
7391
6423
  placeholder?: TranslationConfig | undefined;
7392
6424
  helperText?: TranslationConfig | undefined;
7393
6425
  hideLabel?: boolean | undefined;
@@ -7422,7 +6454,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7422
6454
  type: "DISPLAY_ON_REVIEW";
7423
6455
  conditional: import(".").JSONSchema;
7424
6456
  })[] | undefined;
7425
- secured?: boolean | undefined;
7426
6457
  placeholder?: {
7427
6458
  id: string;
7428
6459
  description: string;
@@ -7446,7 +6477,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7446
6477
  }>>;
7447
6478
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7448
6479
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7449
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7450
6480
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7451
6481
  id: string;
7452
6482
  description: string;
@@ -7506,7 +6536,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7506
6536
  type: "DISPLAY_ON_REVIEW";
7507
6537
  conditional: import(".").JSONSchema;
7508
6538
  })[] | undefined;
7509
- secured?: boolean | undefined;
7510
6539
  placeholder?: TranslationConfig | undefined;
7511
6540
  helperText?: TranslationConfig | undefined;
7512
6541
  hideLabel?: boolean | undefined;
@@ -7541,7 +6570,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7541
6570
  type: "DISPLAY_ON_REVIEW";
7542
6571
  conditional: import(".").JSONSchema;
7543
6572
  })[] | undefined;
7544
- secured?: boolean | undefined;
7545
6573
  placeholder?: {
7546
6574
  id: string;
7547
6575
  description: string;
@@ -7565,7 +6593,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7565
6593
  }>>;
7566
6594
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7567
6595
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7568
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7569
6596
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7570
6597
  id: string;
7571
6598
  description: string;
@@ -7645,7 +6672,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7645
6672
  type: "DISPLAY_ON_REVIEW";
7646
6673
  conditional: import(".").JSONSchema;
7647
6674
  })[] | undefined;
7648
- secured?: boolean | undefined;
7649
6675
  placeholder?: TranslationConfig | undefined;
7650
6676
  helperText?: TranslationConfig | undefined;
7651
6677
  hideLabel?: boolean | undefined;
@@ -7685,7 +6711,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7685
6711
  type: "DISPLAY_ON_REVIEW";
7686
6712
  conditional: import(".").JSONSchema;
7687
6713
  })[] | undefined;
7688
- secured?: boolean | undefined;
7689
6714
  placeholder?: {
7690
6715
  id: string;
7691
6716
  description: string;
@@ -7713,7 +6738,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7713
6738
  }>>;
7714
6739
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7715
6740
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7716
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7717
6741
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7718
6742
  id: string;
7719
6743
  description: string;
@@ -7780,7 +6804,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7780
6804
  type: "DISPLAY_ON_REVIEW";
7781
6805
  conditional: import(".").JSONSchema;
7782
6806
  })[] | undefined;
7783
- secured?: boolean | undefined;
7784
6807
  placeholder?: TranslationConfig | undefined;
7785
6808
  helperText?: TranslationConfig | undefined;
7786
6809
  hideLabel?: boolean | undefined;
@@ -7818,7 +6841,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7818
6841
  type: "DISPLAY_ON_REVIEW";
7819
6842
  conditional: import(".").JSONSchema;
7820
6843
  })[] | undefined;
7821
- secured?: boolean | undefined;
7822
6844
  placeholder?: {
7823
6845
  id: string;
7824
6846
  description: string;
@@ -7845,7 +6867,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7845
6867
  }>>;
7846
6868
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7847
6869
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7848
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7849
6870
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7850
6871
  id: string;
7851
6872
  description: string;
@@ -7956,7 +6977,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7956
6977
  type: "DISPLAY_ON_REVIEW";
7957
6978
  conditional: import(".").JSONSchema;
7958
6979
  })[] | undefined;
7959
- secured?: boolean | undefined;
7960
6980
  placeholder?: TranslationConfig | undefined;
7961
6981
  helperText?: TranslationConfig | undefined;
7962
6982
  hideLabel?: boolean | undefined;
@@ -8004,7 +7024,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8004
7024
  type: "DISPLAY_ON_REVIEW";
8005
7025
  conditional: import(".").JSONSchema;
8006
7026
  })[] | undefined;
8007
- secured?: boolean | undefined;
8008
7027
  placeholder?: {
8009
7028
  id: string;
8010
7029
  description: string;
@@ -8037,7 +7056,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8037
7056
  }>>;
8038
7057
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
8039
7058
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8040
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8041
7059
  placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
8042
7060
  id: string;
8043
7061
  description: string;
@@ -8172,7 +7190,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8172
7190
  type: "DISPLAY_ON_REVIEW";
8173
7191
  conditional: import(".").JSONSchema;
8174
7192
  })[] | undefined;
8175
- secured?: boolean | undefined;
8176
7193
  placeholder?: TranslationConfig | undefined;
8177
7194
  helperText?: TranslationConfig | undefined;
8178
7195
  hideLabel?: boolean | undefined;
@@ -8227,7 +7244,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8227
7244
  type: "DISPLAY_ON_REVIEW";
8228
7245
  conditional: import(".").JSONSchema;
8229
7246
  })[] | undefined;
8230
- secured?: boolean | undefined;
8231
7247
  placeholder?: {
8232
7248
  id: string;
8233
7249
  description: string;
@@ -8241,9 +7257,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8241
7257
  hideLabel?: boolean | undefined;
8242
7258
  }>]>;
8243
7259
  export type SelectField = z.infer<typeof Select>;
8244
- export type NameField = z.infer<typeof NameField>;
8245
- export type PhoneField = z.infer<typeof PhoneField>;
8246
- export type IdField = z.infer<typeof IdField>;
8247
7260
  export type LocationField = z.infer<typeof Location>;
8248
7261
  export type RadioField = z.infer<typeof RadioGroup>;
8249
7262
  export type AddressField = z.infer<typeof Address>;