@opencrvs/toolkit 1.8.0-rc.fd1df48 → 1.8.0-rc.fd49b3a

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 (30) hide show
  1. package/dist/commons/api/router.d.ts +1806 -922
  2. package/dist/commons/conditionals/conditionals.d.ts +0 -12
  3. package/dist/commons/events/ActionConfig.d.ts +7830 -2014
  4. package/dist/commons/events/ActionDocument.d.ts +1948 -904
  5. package/dist/commons/events/ActionInput.d.ts +1680 -780
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +82 -33
  7. package/dist/commons/events/CompositeFieldValue.d.ts +9 -9
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +1086 -684
  9. package/dist/commons/events/Draft.d.ts +142 -70
  10. package/dist/commons/events/EventConfig.d.ts +3649 -935
  11. package/dist/commons/events/EventDocument.d.ts +1236 -588
  12. package/dist/commons/events/EventIndex.d.ts +339 -120
  13. package/dist/commons/events/FieldConfig.d.ts +455 -30
  14. package/dist/commons/events/FieldType.d.ts +2 -1
  15. package/dist/commons/events/FieldTypeMapping.d.ts +57 -25
  16. package/dist/commons/events/FieldValue.d.ts +45 -16
  17. package/dist/commons/events/FormConfig.d.ts +3005 -557
  18. package/dist/commons/events/PageConfig.d.ts +646 -38
  19. package/dist/commons/events/User.d.ts +6 -3
  20. package/dist/commons/events/WorkqueueConfig.d.ts +1990 -1174
  21. package/dist/commons/events/defineConfig.d.ts +498 -34
  22. package/dist/commons/events/event.d.ts +10 -18
  23. package/dist/commons/events/field.d.ts +13 -1
  24. package/dist/commons/events/test.utils.d.ts +43 -19
  25. package/dist/commons/events/utils.d.ts +2543 -77
  26. package/dist/conditionals/index.js +2 -34
  27. package/dist/events/index.js +963 -801
  28. package/dist/scopes/index.d.ts +92 -6
  29. package/dist/scopes/index.js +38 -9
  30. package/package.json +3 -3
@@ -144,6 +144,13 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
144
144
  addressLine3?: string | undefined;
145
145
  postcodeOrZip?: string | undefined;
146
146
  }>]>>;
147
+ configuration: z.ZodOptional<z.ZodObject<{
148
+ searchMode: z.ZodOptional<z.ZodBoolean>;
149
+ }, "strip", z.ZodTypeAny, {
150
+ searchMode?: boolean | undefined;
151
+ }, {
152
+ searchMode?: boolean | undefined;
153
+ }>>;
147
154
  }>, "strip", z.ZodTypeAny, {
148
155
  type: "ADDRESS";
149
156
  id: string;
@@ -199,6 +206,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
199
206
  addressLine3?: string | undefined;
200
207
  postcodeOrZip?: string | undefined;
201
208
  } | undefined;
209
+ configuration?: {
210
+ searchMode?: boolean | undefined;
211
+ } | undefined;
202
212
  }, {
203
213
  type: "ADDRESS";
204
214
  id: string;
@@ -270,6 +280,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
270
280
  addressLine3?: string | undefined;
271
281
  postcodeOrZip?: string | undefined;
272
282
  } | undefined;
283
+ configuration?: {
284
+ searchMode?: boolean | undefined;
285
+ } | undefined;
273
286
  }>, z.ZodObject<z.objectUtil.extendShape<{
274
287
  id: z.ZodString;
275
288
  parent: z.ZodOptional<z.ZodObject<{
@@ -980,7 +993,16 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
980
993
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
981
994
  }, {
982
995
  type: z.ZodLiteral<"DATE_RANGE">;
983
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
996
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
997
+ start: z.ZodString;
998
+ end: z.ZodString;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ start: string;
1001
+ end: string;
1002
+ }, {
1003
+ start: string;
1004
+ end: string;
1005
+ }>, z.ZodString]>>;
984
1006
  configuration: z.ZodOptional<z.ZodObject<{
985
1007
  notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
986
1008
  id: string;
@@ -1022,7 +1044,10 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
1022
1044
  placeholder?: TranslationConfig | undefined;
1023
1045
  helperText?: TranslationConfig | undefined;
1024
1046
  hideLabel?: boolean | undefined;
1025
- defaultValue?: string | [string, string] | undefined;
1047
+ defaultValue?: string | {
1048
+ start: string;
1049
+ end: string;
1050
+ } | undefined;
1026
1051
  configuration?: {
1027
1052
  notice?: TranslationConfig | undefined;
1028
1053
  } | undefined;
@@ -1068,7 +1093,10 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
1068
1093
  defaultMessage: string;
1069
1094
  } | undefined;
1070
1095
  hideLabel?: boolean | undefined;
1071
- defaultValue?: string | [string, string] | undefined;
1096
+ defaultValue?: string | {
1097
+ start: string;
1098
+ end: string;
1099
+ } | undefined;
1072
1100
  configuration?: {
1073
1101
  notice?: {
1074
1102
  id: string;
@@ -1122,6 +1150,155 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
1122
1150
  defaultMessage: string;
1123
1151
  }>>;
1124
1152
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1153
+ }, {
1154
+ type: z.ZodLiteral<"SELECT_DATE_RANGE">;
1155
+ defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
1156
+ options: z.ZodArray<z.ZodObject<{
1157
+ value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
1158
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1159
+ id: string;
1160
+ description: string;
1161
+ defaultMessage: string;
1162
+ }>;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1165
+ label: TranslationConfig;
1166
+ }, {
1167
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1168
+ label: {
1169
+ id: string;
1170
+ description: string;
1171
+ defaultMessage: string;
1172
+ };
1173
+ }>, "many">;
1174
+ }>, "strip", z.ZodTypeAny, {
1175
+ type: "SELECT_DATE_RANGE";
1176
+ id: string;
1177
+ options: {
1178
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1179
+ label: TranslationConfig;
1180
+ }[];
1181
+ label: TranslationConfig;
1182
+ parent?: {
1183
+ $$field: string;
1184
+ } | undefined;
1185
+ validation?: {
1186
+ message: TranslationConfig;
1187
+ validator: import(".").JSONSchema;
1188
+ }[] | undefined;
1189
+ required?: boolean | undefined;
1190
+ conditionals?: ({
1191
+ type: "SHOW";
1192
+ conditional: import(".").JSONSchema;
1193
+ } | {
1194
+ type: "ENABLE";
1195
+ conditional: import(".").JSONSchema;
1196
+ } | {
1197
+ type: "DISPLAY_ON_REVIEW";
1198
+ conditional: import(".").JSONSchema;
1199
+ })[] | undefined;
1200
+ secured?: boolean | undefined;
1201
+ placeholder?: TranslationConfig | undefined;
1202
+ helperText?: TranslationConfig | undefined;
1203
+ hideLabel?: boolean | undefined;
1204
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
1205
+ }, {
1206
+ type: "SELECT_DATE_RANGE";
1207
+ id: string;
1208
+ options: {
1209
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1210
+ label: {
1211
+ id: string;
1212
+ description: string;
1213
+ defaultMessage: string;
1214
+ };
1215
+ }[];
1216
+ label: {
1217
+ id: string;
1218
+ description: string;
1219
+ defaultMessage: string;
1220
+ };
1221
+ parent?: {
1222
+ $$field: string;
1223
+ } | undefined;
1224
+ validation?: {
1225
+ message: {
1226
+ id: string;
1227
+ description: string;
1228
+ defaultMessage: string;
1229
+ };
1230
+ validator: import(".").JSONSchema;
1231
+ }[] | undefined;
1232
+ required?: boolean | undefined;
1233
+ conditionals?: ({
1234
+ type: "SHOW";
1235
+ conditional: import(".").JSONSchema;
1236
+ } | {
1237
+ type: "ENABLE";
1238
+ conditional: import(".").JSONSchema;
1239
+ } | {
1240
+ type: "DISPLAY_ON_REVIEW";
1241
+ conditional: import(".").JSONSchema;
1242
+ })[] | undefined;
1243
+ secured?: boolean | undefined;
1244
+ placeholder?: {
1245
+ id: string;
1246
+ description: string;
1247
+ defaultMessage: string;
1248
+ } | undefined;
1249
+ helperText?: {
1250
+ id: string;
1251
+ description: string;
1252
+ defaultMessage: string;
1253
+ } | undefined;
1254
+ hideLabel?: boolean | undefined;
1255
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
1256
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1257
+ id: z.ZodString;
1258
+ parent: z.ZodOptional<z.ZodObject<{
1259
+ $$field: z.ZodString;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ $$field: string;
1262
+ }, {
1263
+ $$field: string;
1264
+ }>>;
1265
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1266
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1267
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1268
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1269
+ id: string;
1270
+ description: string;
1271
+ defaultMessage: string;
1272
+ }>>;
1273
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
1274
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1275
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1276
+ id: string;
1277
+ description: string;
1278
+ defaultMessage: string;
1279
+ }>;
1280
+ }, "strip", z.ZodTypeAny, {
1281
+ message: TranslationConfig;
1282
+ validator: import(".").JSONSchema;
1283
+ }, {
1284
+ message: {
1285
+ id: string;
1286
+ description: string;
1287
+ defaultMessage: string;
1288
+ };
1289
+ validator: import(".").JSONSchema;
1290
+ }>, "many">>>;
1291
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1292
+ id: string;
1293
+ description: string;
1294
+ defaultMessage: string;
1295
+ }>;
1296
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1297
+ id: string;
1298
+ description: string;
1299
+ defaultMessage: string;
1300
+ }>>;
1301
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1125
1302
  }, {
1126
1303
  type: z.ZodLiteral<"PARAGRAPH">;
1127
1304
  defaultValue: z.ZodOptional<z.ZodString>;
@@ -1893,10 +2070,14 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
1893
2070
  description: string;
1894
2071
  defaultMessage: string;
1895
2072
  }>>;
2073
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2074
+ searchMode: z.ZodOptional<z.ZodBoolean>;
1896
2075
  }, "strip", z.ZodTypeAny, {
1897
2076
  maxLength?: number | undefined;
1898
2077
  prefix?: TranslationConfig | undefined;
1899
2078
  postfix?: TranslationConfig | undefined;
2079
+ includeMiddlename?: boolean | undefined;
2080
+ searchMode?: boolean | undefined;
1900
2081
  }, {
1901
2082
  maxLength?: number | undefined;
1902
2083
  prefix?: {
@@ -1909,6 +2090,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
1909
2090
  description: string;
1910
2091
  defaultMessage: string;
1911
2092
  } | undefined;
2093
+ includeMiddlename?: boolean | undefined;
2094
+ searchMode?: boolean | undefined;
1912
2095
  }>>;
1913
2096
  }>, "strip", z.ZodTypeAny, {
1914
2097
  type: "NAME";
@@ -1944,6 +2127,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
1944
2127
  maxLength?: number | undefined;
1945
2128
  prefix?: TranslationConfig | undefined;
1946
2129
  postfix?: TranslationConfig | undefined;
2130
+ includeMiddlename?: boolean | undefined;
2131
+ searchMode?: boolean | undefined;
1947
2132
  } | undefined;
1948
2133
  }, {
1949
2134
  type: "NAME";
@@ -2003,6 +2188,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2003
2188
  description: string;
2004
2189
  defaultMessage: string;
2005
2190
  } | undefined;
2191
+ includeMiddlename?: boolean | undefined;
2192
+ searchMode?: boolean | undefined;
2006
2193
  } | undefined;
2007
2194
  }>, z.ZodObject<z.objectUtil.extendShape<{
2008
2195
  id: z.ZodString;
@@ -2410,16 +2597,16 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2410
2597
  }, {
2411
2598
  type: z.ZodLiteral<"FILE">;
2412
2599
  defaultValue: z.ZodOptional<z.ZodObject<{
2413
- filename: z.ZodString;
2600
+ path: z.ZodEffects<z.ZodString, string, string>;
2414
2601
  originalFilename: z.ZodString;
2415
2602
  type: z.ZodString;
2416
2603
  }, "strip", z.ZodTypeAny, {
2417
2604
  type: string;
2418
- filename: string;
2605
+ path: string;
2419
2606
  originalFilename: string;
2420
2607
  }, {
2421
2608
  type: string;
2422
- filename: string;
2609
+ path: string;
2423
2610
  originalFilename: string;
2424
2611
  }>>;
2425
2612
  configuration: z.ZodDefault<z.ZodObject<{
@@ -2492,7 +2679,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2492
2679
  hideLabel?: boolean | undefined;
2493
2680
  defaultValue?: {
2494
2681
  type: string;
2495
- filename: string;
2682
+ path: string;
2496
2683
  originalFilename: string;
2497
2684
  } | undefined;
2498
2685
  }, {
@@ -2539,7 +2726,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2539
2726
  hideLabel?: boolean | undefined;
2540
2727
  defaultValue?: {
2541
2728
  type: string;
2542
- filename: string;
2729
+ path: string;
2543
2730
  originalFilename: string;
2544
2731
  } | undefined;
2545
2732
  configuration?: {
@@ -2989,6 +3176,13 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2989
3176
  }, {
2990
3177
  type: z.ZodLiteral<"LOCATION">;
2991
3178
  defaultValue: z.ZodOptional<z.ZodString>;
3179
+ configuration: z.ZodOptional<z.ZodObject<{
3180
+ searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
3181
+ }, "strip", z.ZodTypeAny, {
3182
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
3183
+ }, {
3184
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
3185
+ }>>;
2992
3186
  }>, "strip", z.ZodTypeAny, {
2993
3187
  type: "LOCATION";
2994
3188
  id: string;
@@ -3016,6 +3210,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
3016
3210
  helperText?: TranslationConfig | undefined;
3017
3211
  hideLabel?: boolean | undefined;
3018
3212
  defaultValue?: string | undefined;
3213
+ configuration?: {
3214
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
3215
+ } | undefined;
3019
3216
  }, {
3020
3217
  type: "LOCATION";
3021
3218
  id: string;
@@ -3059,6 +3256,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
3059
3256
  } | undefined;
3060
3257
  hideLabel?: boolean | undefined;
3061
3258
  defaultValue?: string | undefined;
3259
+ configuration?: {
3260
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
3261
+ } | undefined;
3062
3262
  }>, z.ZodObject<z.objectUtil.extendShape<{
3063
3263
  id: z.ZodString;
3064
3264
  parent: z.ZodOptional<z.ZodObject<{
@@ -3644,19 +3844,19 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
3644
3844
  };
3645
3845
  }>, "many">;
3646
3846
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
3647
- filename: z.ZodString;
3847
+ path: z.ZodEffects<z.ZodString, string, string>;
3648
3848
  originalFilename: z.ZodString;
3649
3849
  type: z.ZodString;
3650
3850
  option: z.ZodString;
3651
3851
  }, "strip", z.ZodTypeAny, {
3652
3852
  type: string;
3653
3853
  option: string;
3654
- filename: string;
3854
+ path: string;
3655
3855
  originalFilename: string;
3656
3856
  }, {
3657
3857
  type: string;
3658
3858
  option: string;
3659
- filename: string;
3859
+ path: string;
3660
3860
  originalFilename: string;
3661
3861
  }>, "many">>;
3662
3862
  configuration: z.ZodDefault<z.ZodObject<{
@@ -3706,7 +3906,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
3706
3906
  defaultValue?: {
3707
3907
  type: string;
3708
3908
  option: string;
3709
- filename: string;
3909
+ path: string;
3710
3910
  originalFilename: string;
3711
3911
  }[] | undefined;
3712
3912
  }, {
@@ -3762,7 +3962,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
3762
3962
  defaultValue?: {
3763
3963
  type: string;
3764
3964
  option: string;
3765
- filename: string;
3965
+ path: string;
3766
3966
  originalFilename: string;
3767
3967
  }[] | undefined;
3768
3968
  configuration?: {
@@ -4234,7 +4434,10 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4234
4434
  placeholder?: TranslationConfig | undefined;
4235
4435
  helperText?: TranslationConfig | undefined;
4236
4436
  hideLabel?: boolean | undefined;
4237
- defaultValue?: string | [string, string] | undefined;
4437
+ defaultValue?: string | {
4438
+ start: string;
4439
+ end: string;
4440
+ } | undefined;
4238
4441
  configuration?: {
4239
4442
  notice?: TranslationConfig | undefined;
4240
4443
  } | undefined;
@@ -4333,7 +4536,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4333
4536
  hideLabel?: boolean | undefined;
4334
4537
  defaultValue?: {
4335
4538
  type: string;
4336
- filename: string;
4539
+ path: string;
4337
4540
  originalFilename: string;
4338
4541
  } | undefined;
4339
4542
  } | {
@@ -4436,6 +4639,37 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4436
4639
  helperText?: TranslationConfig | undefined;
4437
4640
  hideLabel?: boolean | undefined;
4438
4641
  defaultValue?: string | undefined;
4642
+ } | {
4643
+ type: "SELECT_DATE_RANGE";
4644
+ id: string;
4645
+ options: {
4646
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
4647
+ label: TranslationConfig;
4648
+ }[];
4649
+ label: TranslationConfig;
4650
+ parent?: {
4651
+ $$field: string;
4652
+ } | undefined;
4653
+ validation?: {
4654
+ message: TranslationConfig;
4655
+ validator: import(".").JSONSchema;
4656
+ }[] | undefined;
4657
+ required?: boolean | undefined;
4658
+ conditionals?: ({
4659
+ type: "SHOW";
4660
+ conditional: import(".").JSONSchema;
4661
+ } | {
4662
+ type: "ENABLE";
4663
+ conditional: import(".").JSONSchema;
4664
+ } | {
4665
+ type: "DISPLAY_ON_REVIEW";
4666
+ conditional: import(".").JSONSchema;
4667
+ })[] | undefined;
4668
+ secured?: boolean | undefined;
4669
+ placeholder?: TranslationConfig | undefined;
4670
+ helperText?: TranslationConfig | undefined;
4671
+ hideLabel?: boolean | undefined;
4672
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
4439
4673
  } | {
4440
4674
  type: "NAME";
4441
4675
  id: string;
@@ -4470,6 +4704,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4470
4704
  maxLength?: number | undefined;
4471
4705
  prefix?: TranslationConfig | undefined;
4472
4706
  postfix?: TranslationConfig | undefined;
4707
+ includeMiddlename?: boolean | undefined;
4708
+ searchMode?: boolean | undefined;
4473
4709
  } | undefined;
4474
4710
  } | {
4475
4711
  type: "PHONE";
@@ -4639,6 +4875,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4639
4875
  helperText?: TranslationConfig | undefined;
4640
4876
  hideLabel?: boolean | undefined;
4641
4877
  defaultValue?: string | undefined;
4878
+ configuration?: {
4879
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
4880
+ } | undefined;
4642
4881
  } | {
4643
4882
  type: "FILE_WITH_OPTIONS";
4644
4883
  id: string;
@@ -4676,7 +4915,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4676
4915
  defaultValue?: {
4677
4916
  type: string;
4678
4917
  option: string;
4679
- filename: string;
4918
+ path: string;
4680
4919
  originalFilename: string;
4681
4920
  }[] | undefined;
4682
4921
  } | {
@@ -4788,6 +5027,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4788
5027
  addressLine3?: string | undefined;
4789
5028
  postcodeOrZip?: string | undefined;
4790
5029
  } | undefined;
5030
+ configuration?: {
5031
+ searchMode?: boolean | undefined;
5032
+ } | undefined;
4791
5033
  } | {
4792
5034
  type: "DATA";
4793
5035
  id: string;
@@ -5236,7 +5478,10 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5236
5478
  defaultMessage: string;
5237
5479
  } | undefined;
5238
5480
  hideLabel?: boolean | undefined;
5239
- defaultValue?: string | [string, string] | undefined;
5481
+ defaultValue?: string | {
5482
+ start: string;
5483
+ end: string;
5484
+ } | undefined;
5240
5485
  configuration?: {
5241
5486
  notice?: {
5242
5487
  id: string;
@@ -5379,7 +5624,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5379
5624
  hideLabel?: boolean | undefined;
5380
5625
  defaultValue?: {
5381
5626
  type: string;
5382
- filename: string;
5627
+ path: string;
5383
5628
  originalFilename: string;
5384
5629
  } | undefined;
5385
5630
  configuration?: {
@@ -5554,6 +5799,57 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5554
5799
  } | undefined;
5555
5800
  hideLabel?: boolean | undefined;
5556
5801
  defaultValue?: string | undefined;
5802
+ } | {
5803
+ type: "SELECT_DATE_RANGE";
5804
+ id: string;
5805
+ options: {
5806
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
5807
+ label: {
5808
+ id: string;
5809
+ description: string;
5810
+ defaultMessage: string;
5811
+ };
5812
+ }[];
5813
+ label: {
5814
+ id: string;
5815
+ description: string;
5816
+ defaultMessage: string;
5817
+ };
5818
+ parent?: {
5819
+ $$field: string;
5820
+ } | undefined;
5821
+ validation?: {
5822
+ message: {
5823
+ id: string;
5824
+ description: string;
5825
+ defaultMessage: string;
5826
+ };
5827
+ validator: import(".").JSONSchema;
5828
+ }[] | undefined;
5829
+ required?: boolean | undefined;
5830
+ conditionals?: ({
5831
+ type: "SHOW";
5832
+ conditional: import(".").JSONSchema;
5833
+ } | {
5834
+ type: "ENABLE";
5835
+ conditional: import(".").JSONSchema;
5836
+ } | {
5837
+ type: "DISPLAY_ON_REVIEW";
5838
+ conditional: import(".").JSONSchema;
5839
+ })[] | undefined;
5840
+ secured?: boolean | undefined;
5841
+ placeholder?: {
5842
+ id: string;
5843
+ description: string;
5844
+ defaultMessage: string;
5845
+ } | undefined;
5846
+ helperText?: {
5847
+ id: string;
5848
+ description: string;
5849
+ defaultMessage: string;
5850
+ } | undefined;
5851
+ hideLabel?: boolean | undefined;
5852
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
5557
5853
  } | {
5558
5854
  type: "NAME";
5559
5855
  id: string;
@@ -5612,6 +5908,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5612
5908
  description: string;
5613
5909
  defaultMessage: string;
5614
5910
  } | undefined;
5911
+ includeMiddlename?: boolean | undefined;
5912
+ searchMode?: boolean | undefined;
5615
5913
  } | undefined;
5616
5914
  } | {
5617
5915
  type: "PHONE";
@@ -5877,6 +6175,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5877
6175
  } | undefined;
5878
6176
  hideLabel?: boolean | undefined;
5879
6177
  defaultValue?: string | undefined;
6178
+ configuration?: {
6179
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
6180
+ } | undefined;
5880
6181
  } | {
5881
6182
  type: "FILE_WITH_OPTIONS";
5882
6183
  id: string;
@@ -5930,7 +6231,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5930
6231
  defaultValue?: {
5931
6232
  type: string;
5932
6233
  option: string;
5933
- filename: string;
6234
+ path: string;
5934
6235
  originalFilename: string;
5935
6236
  }[] | undefined;
5936
6237
  configuration?: {
@@ -6094,6 +6395,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6094
6395
  addressLine3?: string | undefined;
6095
6396
  postcodeOrZip?: string | undefined;
6096
6397
  } | undefined;
6398
+ configuration?: {
6399
+ searchMode?: boolean | undefined;
6400
+ } | undefined;
6097
6401
  } | {
6098
6402
  type: "DATA";
6099
6403
  id: string;
@@ -6417,6 +6721,13 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
6417
6721
  addressLine3?: string | undefined;
6418
6722
  postcodeOrZip?: string | undefined;
6419
6723
  }>]>>;
6724
+ configuration: z.ZodOptional<z.ZodObject<{
6725
+ searchMode: z.ZodOptional<z.ZodBoolean>;
6726
+ }, "strip", z.ZodTypeAny, {
6727
+ searchMode?: boolean | undefined;
6728
+ }, {
6729
+ searchMode?: boolean | undefined;
6730
+ }>>;
6420
6731
  }>, "strip", z.ZodTypeAny, {
6421
6732
  type: "ADDRESS";
6422
6733
  id: string;
@@ -6472,6 +6783,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
6472
6783
  addressLine3?: string | undefined;
6473
6784
  postcodeOrZip?: string | undefined;
6474
6785
  } | undefined;
6786
+ configuration?: {
6787
+ searchMode?: boolean | undefined;
6788
+ } | undefined;
6475
6789
  }, {
6476
6790
  type: "ADDRESS";
6477
6791
  id: string;
@@ -6543,6 +6857,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
6543
6857
  addressLine3?: string | undefined;
6544
6858
  postcodeOrZip?: string | undefined;
6545
6859
  } | undefined;
6860
+ configuration?: {
6861
+ searchMode?: boolean | undefined;
6862
+ } | undefined;
6546
6863
  }>, z.ZodObject<z.objectUtil.extendShape<{
6547
6864
  id: z.ZodString;
6548
6865
  parent: z.ZodOptional<z.ZodObject<{
@@ -7253,7 +7570,16 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7253
7570
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7254
7571
  }, {
7255
7572
  type: z.ZodLiteral<"DATE_RANGE">;
7256
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
7573
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
7574
+ start: z.ZodString;
7575
+ end: z.ZodString;
7576
+ }, "strip", z.ZodTypeAny, {
7577
+ start: string;
7578
+ end: string;
7579
+ }, {
7580
+ start: string;
7581
+ end: string;
7582
+ }>, z.ZodString]>>;
7257
7583
  configuration: z.ZodOptional<z.ZodObject<{
7258
7584
  notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7259
7585
  id: string;
@@ -7295,7 +7621,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7295
7621
  placeholder?: TranslationConfig | undefined;
7296
7622
  helperText?: TranslationConfig | undefined;
7297
7623
  hideLabel?: boolean | undefined;
7298
- defaultValue?: string | [string, string] | undefined;
7624
+ defaultValue?: string | {
7625
+ start: string;
7626
+ end: string;
7627
+ } | undefined;
7299
7628
  configuration?: {
7300
7629
  notice?: TranslationConfig | undefined;
7301
7630
  } | undefined;
@@ -7341,7 +7670,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7341
7670
  defaultMessage: string;
7342
7671
  } | undefined;
7343
7672
  hideLabel?: boolean | undefined;
7344
- defaultValue?: string | [string, string] | undefined;
7673
+ defaultValue?: string | {
7674
+ start: string;
7675
+ end: string;
7676
+ } | undefined;
7345
7677
  configuration?: {
7346
7678
  notice?: {
7347
7679
  id: string;
@@ -7395,6 +7727,155 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7395
7727
  defaultMessage: string;
7396
7728
  }>>;
7397
7729
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7730
+ }, {
7731
+ type: z.ZodLiteral<"SELECT_DATE_RANGE">;
7732
+ defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
7733
+ options: z.ZodArray<z.ZodObject<{
7734
+ value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
7735
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7736
+ id: string;
7737
+ description: string;
7738
+ defaultMessage: string;
7739
+ }>;
7740
+ }, "strip", z.ZodTypeAny, {
7741
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7742
+ label: TranslationConfig;
7743
+ }, {
7744
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7745
+ label: {
7746
+ id: string;
7747
+ description: string;
7748
+ defaultMessage: string;
7749
+ };
7750
+ }>, "many">;
7751
+ }>, "strip", z.ZodTypeAny, {
7752
+ type: "SELECT_DATE_RANGE";
7753
+ id: string;
7754
+ options: {
7755
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7756
+ label: TranslationConfig;
7757
+ }[];
7758
+ label: TranslationConfig;
7759
+ parent?: {
7760
+ $$field: string;
7761
+ } | undefined;
7762
+ validation?: {
7763
+ message: TranslationConfig;
7764
+ validator: import(".").JSONSchema;
7765
+ }[] | undefined;
7766
+ required?: boolean | undefined;
7767
+ conditionals?: ({
7768
+ type: "SHOW";
7769
+ conditional: import(".").JSONSchema;
7770
+ } | {
7771
+ type: "ENABLE";
7772
+ conditional: import(".").JSONSchema;
7773
+ } | {
7774
+ type: "DISPLAY_ON_REVIEW";
7775
+ conditional: import(".").JSONSchema;
7776
+ })[] | undefined;
7777
+ secured?: boolean | undefined;
7778
+ placeholder?: TranslationConfig | undefined;
7779
+ helperText?: TranslationConfig | undefined;
7780
+ hideLabel?: boolean | undefined;
7781
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
7782
+ }, {
7783
+ type: "SELECT_DATE_RANGE";
7784
+ id: string;
7785
+ options: {
7786
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7787
+ label: {
7788
+ id: string;
7789
+ description: string;
7790
+ defaultMessage: string;
7791
+ };
7792
+ }[];
7793
+ label: {
7794
+ id: string;
7795
+ description: string;
7796
+ defaultMessage: string;
7797
+ };
7798
+ parent?: {
7799
+ $$field: string;
7800
+ } | undefined;
7801
+ validation?: {
7802
+ message: {
7803
+ id: string;
7804
+ description: string;
7805
+ defaultMessage: string;
7806
+ };
7807
+ validator: import(".").JSONSchema;
7808
+ }[] | undefined;
7809
+ required?: boolean | undefined;
7810
+ conditionals?: ({
7811
+ type: "SHOW";
7812
+ conditional: import(".").JSONSchema;
7813
+ } | {
7814
+ type: "ENABLE";
7815
+ conditional: import(".").JSONSchema;
7816
+ } | {
7817
+ type: "DISPLAY_ON_REVIEW";
7818
+ conditional: import(".").JSONSchema;
7819
+ })[] | undefined;
7820
+ secured?: boolean | undefined;
7821
+ placeholder?: {
7822
+ id: string;
7823
+ description: string;
7824
+ defaultMessage: string;
7825
+ } | undefined;
7826
+ helperText?: {
7827
+ id: string;
7828
+ description: string;
7829
+ defaultMessage: string;
7830
+ } | undefined;
7831
+ hideLabel?: boolean | undefined;
7832
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
7833
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7834
+ id: z.ZodString;
7835
+ parent: z.ZodOptional<z.ZodObject<{
7836
+ $$field: z.ZodString;
7837
+ }, "strip", z.ZodTypeAny, {
7838
+ $$field: string;
7839
+ }, {
7840
+ $$field: string;
7841
+ }>>;
7842
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7843
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7844
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7845
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7846
+ id: string;
7847
+ description: string;
7848
+ defaultMessage: string;
7849
+ }>>;
7850
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
7851
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
7852
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7853
+ id: string;
7854
+ description: string;
7855
+ defaultMessage: string;
7856
+ }>;
7857
+ }, "strip", z.ZodTypeAny, {
7858
+ message: TranslationConfig;
7859
+ validator: import(".").JSONSchema;
7860
+ }, {
7861
+ message: {
7862
+ id: string;
7863
+ description: string;
7864
+ defaultMessage: string;
7865
+ };
7866
+ validator: import(".").JSONSchema;
7867
+ }>, "many">>>;
7868
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7869
+ id: string;
7870
+ description: string;
7871
+ defaultMessage: string;
7872
+ }>;
7873
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7874
+ id: string;
7875
+ description: string;
7876
+ defaultMessage: string;
7877
+ }>>;
7878
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7398
7879
  }, {
7399
7880
  type: z.ZodLiteral<"PARAGRAPH">;
7400
7881
  defaultValue: z.ZodOptional<z.ZodString>;
@@ -8166,10 +8647,14 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
8166
8647
  description: string;
8167
8648
  defaultMessage: string;
8168
8649
  }>>;
8650
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8651
+ searchMode: z.ZodOptional<z.ZodBoolean>;
8169
8652
  }, "strip", z.ZodTypeAny, {
8170
8653
  maxLength?: number | undefined;
8171
8654
  prefix?: TranslationConfig | undefined;
8172
8655
  postfix?: TranslationConfig | undefined;
8656
+ includeMiddlename?: boolean | undefined;
8657
+ searchMode?: boolean | undefined;
8173
8658
  }, {
8174
8659
  maxLength?: number | undefined;
8175
8660
  prefix?: {
@@ -8182,6 +8667,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
8182
8667
  description: string;
8183
8668
  defaultMessage: string;
8184
8669
  } | undefined;
8670
+ includeMiddlename?: boolean | undefined;
8671
+ searchMode?: boolean | undefined;
8185
8672
  }>>;
8186
8673
  }>, "strip", z.ZodTypeAny, {
8187
8674
  type: "NAME";
@@ -8217,6 +8704,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
8217
8704
  maxLength?: number | undefined;
8218
8705
  prefix?: TranslationConfig | undefined;
8219
8706
  postfix?: TranslationConfig | undefined;
8707
+ includeMiddlename?: boolean | undefined;
8708
+ searchMode?: boolean | undefined;
8220
8709
  } | undefined;
8221
8710
  }, {
8222
8711
  type: "NAME";
@@ -8276,6 +8765,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
8276
8765
  description: string;
8277
8766
  defaultMessage: string;
8278
8767
  } | undefined;
8768
+ includeMiddlename?: boolean | undefined;
8769
+ searchMode?: boolean | undefined;
8279
8770
  } | undefined;
8280
8771
  }>, z.ZodObject<z.objectUtil.extendShape<{
8281
8772
  id: z.ZodString;
@@ -8683,16 +9174,16 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
8683
9174
  }, {
8684
9175
  type: z.ZodLiteral<"FILE">;
8685
9176
  defaultValue: z.ZodOptional<z.ZodObject<{
8686
- filename: z.ZodString;
9177
+ path: z.ZodEffects<z.ZodString, string, string>;
8687
9178
  originalFilename: z.ZodString;
8688
9179
  type: z.ZodString;
8689
9180
  }, "strip", z.ZodTypeAny, {
8690
9181
  type: string;
8691
- filename: string;
9182
+ path: string;
8692
9183
  originalFilename: string;
8693
9184
  }, {
8694
9185
  type: string;
8695
- filename: string;
9186
+ path: string;
8696
9187
  originalFilename: string;
8697
9188
  }>>;
8698
9189
  configuration: z.ZodDefault<z.ZodObject<{
@@ -8765,7 +9256,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
8765
9256
  hideLabel?: boolean | undefined;
8766
9257
  defaultValue?: {
8767
9258
  type: string;
8768
- filename: string;
9259
+ path: string;
8769
9260
  originalFilename: string;
8770
9261
  } | undefined;
8771
9262
  }, {
@@ -8812,7 +9303,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
8812
9303
  hideLabel?: boolean | undefined;
8813
9304
  defaultValue?: {
8814
9305
  type: string;
8815
- filename: string;
9306
+ path: string;
8816
9307
  originalFilename: string;
8817
9308
  } | undefined;
8818
9309
  configuration?: {
@@ -9262,6 +9753,13 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9262
9753
  }, {
9263
9754
  type: z.ZodLiteral<"LOCATION">;
9264
9755
  defaultValue: z.ZodOptional<z.ZodString>;
9756
+ configuration: z.ZodOptional<z.ZodObject<{
9757
+ searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
9758
+ }, "strip", z.ZodTypeAny, {
9759
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
9760
+ }, {
9761
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
9762
+ }>>;
9265
9763
  }>, "strip", z.ZodTypeAny, {
9266
9764
  type: "LOCATION";
9267
9765
  id: string;
@@ -9289,6 +9787,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9289
9787
  helperText?: TranslationConfig | undefined;
9290
9788
  hideLabel?: boolean | undefined;
9291
9789
  defaultValue?: string | undefined;
9790
+ configuration?: {
9791
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
9792
+ } | undefined;
9292
9793
  }, {
9293
9794
  type: "LOCATION";
9294
9795
  id: string;
@@ -9332,6 +9833,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9332
9833
  } | undefined;
9333
9834
  hideLabel?: boolean | undefined;
9334
9835
  defaultValue?: string | undefined;
9836
+ configuration?: {
9837
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
9838
+ } | undefined;
9335
9839
  }>, z.ZodObject<z.objectUtil.extendShape<{
9336
9840
  id: z.ZodString;
9337
9841
  parent: z.ZodOptional<z.ZodObject<{
@@ -9917,19 +10421,19 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9917
10421
  };
9918
10422
  }>, "many">;
9919
10423
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
9920
- filename: z.ZodString;
10424
+ path: z.ZodEffects<z.ZodString, string, string>;
9921
10425
  originalFilename: z.ZodString;
9922
10426
  type: z.ZodString;
9923
10427
  option: z.ZodString;
9924
10428
  }, "strip", z.ZodTypeAny, {
9925
10429
  type: string;
9926
10430
  option: string;
9927
- filename: string;
10431
+ path: string;
9928
10432
  originalFilename: string;
9929
10433
  }, {
9930
10434
  type: string;
9931
10435
  option: string;
9932
- filename: string;
10436
+ path: string;
9933
10437
  originalFilename: string;
9934
10438
  }>, "many">>;
9935
10439
  configuration: z.ZodDefault<z.ZodObject<{
@@ -9979,7 +10483,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9979
10483
  defaultValue?: {
9980
10484
  type: string;
9981
10485
  option: string;
9982
- filename: string;
10486
+ path: string;
9983
10487
  originalFilename: string;
9984
10488
  }[] | undefined;
9985
10489
  }, {
@@ -10035,7 +10539,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
10035
10539
  defaultValue?: {
10036
10540
  type: string;
10037
10541
  option: string;
10038
- filename: string;
10542
+ path: string;
10039
10543
  originalFilename: string;
10040
10544
  }[] | undefined;
10041
10545
  configuration?: {
@@ -10633,7 +11137,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
10633
11137
  placeholder?: TranslationConfig | undefined;
10634
11138
  helperText?: TranslationConfig | undefined;
10635
11139
  hideLabel?: boolean | undefined;
10636
- defaultValue?: string | [string, string] | undefined;
11140
+ defaultValue?: string | {
11141
+ start: string;
11142
+ end: string;
11143
+ } | undefined;
10637
11144
  configuration?: {
10638
11145
  notice?: TranslationConfig | undefined;
10639
11146
  } | undefined;
@@ -10732,7 +11239,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
10732
11239
  hideLabel?: boolean | undefined;
10733
11240
  defaultValue?: {
10734
11241
  type: string;
10735
- filename: string;
11242
+ path: string;
10736
11243
  originalFilename: string;
10737
11244
  } | undefined;
10738
11245
  } | {
@@ -10835,6 +11342,37 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
10835
11342
  helperText?: TranslationConfig | undefined;
10836
11343
  hideLabel?: boolean | undefined;
10837
11344
  defaultValue?: string | undefined;
11345
+ } | {
11346
+ type: "SELECT_DATE_RANGE";
11347
+ id: string;
11348
+ options: {
11349
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
11350
+ label: TranslationConfig;
11351
+ }[];
11352
+ label: TranslationConfig;
11353
+ parent?: {
11354
+ $$field: string;
11355
+ } | undefined;
11356
+ validation?: {
11357
+ message: TranslationConfig;
11358
+ validator: import(".").JSONSchema;
11359
+ }[] | undefined;
11360
+ required?: boolean | undefined;
11361
+ conditionals?: ({
11362
+ type: "SHOW";
11363
+ conditional: import(".").JSONSchema;
11364
+ } | {
11365
+ type: "ENABLE";
11366
+ conditional: import(".").JSONSchema;
11367
+ } | {
11368
+ type: "DISPLAY_ON_REVIEW";
11369
+ conditional: import(".").JSONSchema;
11370
+ })[] | undefined;
11371
+ secured?: boolean | undefined;
11372
+ placeholder?: TranslationConfig | undefined;
11373
+ helperText?: TranslationConfig | undefined;
11374
+ hideLabel?: boolean | undefined;
11375
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
10838
11376
  } | {
10839
11377
  type: "NAME";
10840
11378
  id: string;
@@ -10869,6 +11407,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
10869
11407
  maxLength?: number | undefined;
10870
11408
  prefix?: TranslationConfig | undefined;
10871
11409
  postfix?: TranslationConfig | undefined;
11410
+ includeMiddlename?: boolean | undefined;
11411
+ searchMode?: boolean | undefined;
10872
11412
  } | undefined;
10873
11413
  } | {
10874
11414
  type: "PHONE";
@@ -11038,6 +11578,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11038
11578
  helperText?: TranslationConfig | undefined;
11039
11579
  hideLabel?: boolean | undefined;
11040
11580
  defaultValue?: string | undefined;
11581
+ configuration?: {
11582
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
11583
+ } | undefined;
11041
11584
  } | {
11042
11585
  type: "FILE_WITH_OPTIONS";
11043
11586
  id: string;
@@ -11075,7 +11618,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11075
11618
  defaultValue?: {
11076
11619
  type: string;
11077
11620
  option: string;
11078
- filename: string;
11621
+ path: string;
11079
11622
  originalFilename: string;
11080
11623
  }[] | undefined;
11081
11624
  } | {
@@ -11187,6 +11730,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11187
11730
  addressLine3?: string | undefined;
11188
11731
  postcodeOrZip?: string | undefined;
11189
11732
  } | undefined;
11733
+ configuration?: {
11734
+ searchMode?: boolean | undefined;
11735
+ } | undefined;
11190
11736
  } | {
11191
11737
  type: "DATA";
11192
11738
  id: string;
@@ -11664,7 +12210,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11664
12210
  defaultMessage: string;
11665
12211
  } | undefined;
11666
12212
  hideLabel?: boolean | undefined;
11667
- defaultValue?: string | [string, string] | undefined;
12213
+ defaultValue?: string | {
12214
+ start: string;
12215
+ end: string;
12216
+ } | undefined;
11668
12217
  configuration?: {
11669
12218
  notice?: {
11670
12219
  id: string;
@@ -11807,7 +12356,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11807
12356
  hideLabel?: boolean | undefined;
11808
12357
  defaultValue?: {
11809
12358
  type: string;
11810
- filename: string;
12359
+ path: string;
11811
12360
  originalFilename: string;
11812
12361
  } | undefined;
11813
12362
  configuration?: {
@@ -11982,6 +12531,57 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11982
12531
  } | undefined;
11983
12532
  hideLabel?: boolean | undefined;
11984
12533
  defaultValue?: string | undefined;
12534
+ } | {
12535
+ type: "SELECT_DATE_RANGE";
12536
+ id: string;
12537
+ options: {
12538
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
12539
+ label: {
12540
+ id: string;
12541
+ description: string;
12542
+ defaultMessage: string;
12543
+ };
12544
+ }[];
12545
+ label: {
12546
+ id: string;
12547
+ description: string;
12548
+ defaultMessage: string;
12549
+ };
12550
+ parent?: {
12551
+ $$field: string;
12552
+ } | undefined;
12553
+ validation?: {
12554
+ message: {
12555
+ id: string;
12556
+ description: string;
12557
+ defaultMessage: string;
12558
+ };
12559
+ validator: import(".").JSONSchema;
12560
+ }[] | undefined;
12561
+ required?: boolean | undefined;
12562
+ conditionals?: ({
12563
+ type: "SHOW";
12564
+ conditional: import(".").JSONSchema;
12565
+ } | {
12566
+ type: "ENABLE";
12567
+ conditional: import(".").JSONSchema;
12568
+ } | {
12569
+ type: "DISPLAY_ON_REVIEW";
12570
+ conditional: import(".").JSONSchema;
12571
+ })[] | undefined;
12572
+ secured?: boolean | undefined;
12573
+ placeholder?: {
12574
+ id: string;
12575
+ description: string;
12576
+ defaultMessage: string;
12577
+ } | undefined;
12578
+ helperText?: {
12579
+ id: string;
12580
+ description: string;
12581
+ defaultMessage: string;
12582
+ } | undefined;
12583
+ hideLabel?: boolean | undefined;
12584
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
11985
12585
  } | {
11986
12586
  type: "NAME";
11987
12587
  id: string;
@@ -12040,6 +12640,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12040
12640
  description: string;
12041
12641
  defaultMessage: string;
12042
12642
  } | undefined;
12643
+ includeMiddlename?: boolean | undefined;
12644
+ searchMode?: boolean | undefined;
12043
12645
  } | undefined;
12044
12646
  } | {
12045
12647
  type: "PHONE";
@@ -12305,6 +12907,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12305
12907
  } | undefined;
12306
12908
  hideLabel?: boolean | undefined;
12307
12909
  defaultValue?: string | undefined;
12910
+ configuration?: {
12911
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
12912
+ } | undefined;
12308
12913
  } | {
12309
12914
  type: "FILE_WITH_OPTIONS";
12310
12915
  id: string;
@@ -12358,7 +12963,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12358
12963
  defaultValue?: {
12359
12964
  type: string;
12360
12965
  option: string;
12361
- filename: string;
12966
+ path: string;
12362
12967
  originalFilename: string;
12363
12968
  }[] | undefined;
12364
12969
  configuration?: {
@@ -12522,6 +13127,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12522
13127
  addressLine3?: string | undefined;
12523
13128
  postcodeOrZip?: string | undefined;
12524
13129
  } | undefined;
13130
+ configuration?: {
13131
+ searchMode?: boolean | undefined;
13132
+ } | undefined;
12525
13133
  } | {
12526
13134
  type: "DATA";
12527
13135
  id: string;