@opencrvs/toolkit 1.8.1-rc.4fba37a → 1.8.1-rc.5130256

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 (33) hide show
  1. package/dist/commons/api/router.d.ts +395 -412
  2. package/dist/commons/conditionals/conditionals.test.d.ts +2 -0
  3. package/dist/commons/conditionals/validate-address.test.d.ts +2 -0
  4. package/dist/commons/conditionals/validate.d.ts +2 -11
  5. package/dist/commons/conditionals/validate.test.d.ts +2 -0
  6. package/dist/commons/events/ActionConfig.d.ts +9396 -8676
  7. package/dist/commons/events/ActionDocument.d.ts +716 -1252
  8. package/dist/commons/events/ActionInput.d.ts +600 -626
  9. package/dist/commons/events/AdvancedSearchConfig.d.ts +65 -83
  10. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  12. package/dist/commons/events/Draft.d.ts +56 -56
  13. package/dist/commons/events/EventConfig.d.ts +2213 -1443
  14. package/dist/commons/events/EventDocument.d.ts +432 -451
  15. package/dist/commons/events/EventIndex.d.ts +62 -184
  16. package/dist/commons/events/EventMetadata.d.ts +9 -9
  17. package/dist/commons/events/FieldConfig.d.ts +251 -944
  18. package/dist/commons/events/FieldType.d.ts +2 -6
  19. package/dist/commons/events/FieldTypeMapping.d.ts +25 -18
  20. package/dist/commons/events/FieldValue.d.ts +12 -12
  21. package/dist/commons/events/FormConfig.d.ts +3874 -3574
  22. package/dist/commons/events/PageConfig.d.ts +544 -524
  23. package/dist/commons/events/WorkqueueConfig.d.ts +164 -288
  24. package/dist/commons/events/defineConfig.d.ts +327 -183
  25. package/dist/commons/events/event.d.ts +6 -68
  26. package/dist/commons/events/field.d.ts +0 -14
  27. package/dist/commons/events/test.utils.d.ts +13 -14
  28. package/dist/commons/events/utils.d.ts +701 -351
  29. package/dist/commons/events/utils.test.d.ts +2 -0
  30. package/dist/conditionals/index.js +2 -3
  31. package/dist/events/index.js +881 -1101
  32. package/package.json +1 -1
  33. package/tsconfig.json +1 -1
@@ -58,16 +58,6 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
58
58
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
59
59
  }, {
60
60
  type: z.ZodLiteral<"ADDRESS">;
61
- configuration: z.ZodOptional<z.ZodObject<{
62
- lineSeparator: z.ZodOptional<z.ZodString>;
63
- fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["number", "country", "province", "addressType", "district", "urbanOrRural", "town", "residentialArea", "street", "zipCode", "village", "state", "district2", "cityOrTown", "addressLine1", "addressLine2", "addressLine3", "postcodeOrZip"]>, "many">>;
64
- }, "strip", z.ZodTypeAny, {
65
- lineSeparator?: string | undefined;
66
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
67
- }, {
68
- lineSeparator?: string | undefined;
69
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
70
- }>>;
71
61
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
72
62
  country: z.ZodString;
73
63
  addressType: z.ZodLiteral<"DOMESTIC">;
@@ -155,6 +145,13 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
155
145
  addressLine3?: string | undefined;
156
146
  postcodeOrZip?: string | undefined;
157
147
  }>]>>;
148
+ configuration: z.ZodOptional<z.ZodObject<{
149
+ searchMode: z.ZodOptional<z.ZodBoolean>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ searchMode?: boolean | undefined;
152
+ }, {
153
+ searchMode?: boolean | undefined;
154
+ }>>;
158
155
  }>, "strip", z.ZodTypeAny, {
159
156
  type: "ADDRESS";
160
157
  id: string;
@@ -212,8 +209,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
212
209
  postcodeOrZip?: string | undefined;
213
210
  } | undefined;
214
211
  configuration?: {
215
- lineSeparator?: string | undefined;
216
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
212
+ searchMode?: boolean | undefined;
217
213
  } | undefined;
218
214
  }, {
219
215
  type: "ADDRESS";
@@ -288,8 +284,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
288
284
  postcodeOrZip?: string | undefined;
289
285
  } | undefined;
290
286
  configuration?: {
291
- lineSeparator?: string | undefined;
292
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
287
+ searchMode?: boolean | undefined;
293
288
  } | undefined;
294
289
  }>, z.ZodObject<z.objectUtil.extendShape<{
295
290
  id: z.ZodString;
@@ -2245,114 +2240,16 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2245
2240
  }, {
2246
2241
  type: z.ZodLiteral<"NAME">;
2247
2242
  defaultValue: z.ZodOptional<z.ZodObject<{
2248
- firstname: z.ZodOptional<z.ZodString>;
2249
- middlename: z.ZodOptional<z.ZodString>;
2250
- surname: z.ZodOptional<z.ZodString>;
2243
+ firstname: z.ZodString;
2244
+ surname: z.ZodString;
2251
2245
  }, "strip", z.ZodTypeAny, {
2252
- firstname?: string | undefined;
2253
- surname?: string | undefined;
2254
- middlename?: string | undefined;
2246
+ firstname: string;
2247
+ surname: string;
2255
2248
  }, {
2256
- firstname?: string | undefined;
2257
- surname?: string | undefined;
2258
- middlename?: string | undefined;
2249
+ firstname: string;
2250
+ surname: string;
2259
2251
  }>>;
2260
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
2261
- name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
2262
- firstname: z.ZodOptional<z.ZodObject<{
2263
- required: z.ZodBoolean;
2264
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2265
- id: string;
2266
- description: string;
2267
- defaultMessage: string;
2268
- }>>;
2269
- }, "strip", z.ZodTypeAny, {
2270
- required: boolean;
2271
- label?: TranslationConfig | undefined;
2272
- }, {
2273
- required: boolean;
2274
- label?: {
2275
- id: string;
2276
- description: string;
2277
- defaultMessage: string;
2278
- } | undefined;
2279
- }>>;
2280
- middlename: z.ZodOptional<z.ZodObject<{
2281
- required: z.ZodBoolean;
2282
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2283
- id: string;
2284
- description: string;
2285
- defaultMessage: string;
2286
- }>>;
2287
- }, "strip", z.ZodTypeAny, {
2288
- required: boolean;
2289
- label?: TranslationConfig | undefined;
2290
- }, {
2291
- required: boolean;
2292
- label?: {
2293
- id: string;
2294
- description: string;
2295
- defaultMessage: string;
2296
- } | undefined;
2297
- }>>;
2298
- surname: z.ZodOptional<z.ZodObject<{
2299
- required: z.ZodBoolean;
2300
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2301
- id: string;
2302
- description: string;
2303
- defaultMessage: string;
2304
- }>>;
2305
- }, "strip", z.ZodTypeAny, {
2306
- required: boolean;
2307
- label?: TranslationConfig | undefined;
2308
- }, {
2309
- required: boolean;
2310
- label?: {
2311
- id: string;
2312
- description: string;
2313
- defaultMessage: string;
2314
- } | undefined;
2315
- }>>;
2316
- }, "strip", z.ZodTypeAny, {
2317
- firstname?: {
2318
- required: boolean;
2319
- label?: TranslationConfig | undefined;
2320
- } | undefined;
2321
- surname?: {
2322
- required: boolean;
2323
- label?: TranslationConfig | undefined;
2324
- } | undefined;
2325
- middlename?: {
2326
- required: boolean;
2327
- label?: TranslationConfig | undefined;
2328
- } | undefined;
2329
- }, {
2330
- firstname?: {
2331
- required: boolean;
2332
- label?: {
2333
- id: string;
2334
- description: string;
2335
- defaultMessage: string;
2336
- } | undefined;
2337
- } | undefined;
2338
- surname?: {
2339
- required: boolean;
2340
- label?: {
2341
- id: string;
2342
- description: string;
2343
- defaultMessage: string;
2344
- } | undefined;
2345
- } | undefined;
2346
- middlename?: {
2347
- required: boolean;
2348
- label?: {
2349
- id: string;
2350
- description: string;
2351
- defaultMessage: string;
2352
- } | undefined;
2353
- } | undefined;
2354
- }>>>;
2355
- order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
2252
+ configuration: z.ZodOptional<z.ZodObject<{
2356
2253
  maxLength: z.ZodOptional<z.ZodNumber>;
2357
2254
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2358
2255
  id: string;
@@ -2364,53 +2261,15 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2364
2261
  description: string;
2365
2262
  defaultMessage: string;
2366
2263
  }>>;
2264
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2265
+ searchMode: z.ZodOptional<z.ZodBoolean>;
2367
2266
  }, "strip", z.ZodTypeAny, {
2368
- name?: {
2369
- firstname?: {
2370
- required: boolean;
2371
- label?: TranslationConfig | undefined;
2372
- } | undefined;
2373
- surname?: {
2374
- required: boolean;
2375
- label?: TranslationConfig | undefined;
2376
- } | undefined;
2377
- middlename?: {
2378
- required: boolean;
2379
- label?: TranslationConfig | undefined;
2380
- } | undefined;
2381
- } | undefined;
2382
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2383
2267
  maxLength?: number | undefined;
2384
2268
  prefix?: TranslationConfig | undefined;
2385
2269
  postfix?: TranslationConfig | undefined;
2270
+ includeMiddlename?: boolean | undefined;
2271
+ searchMode?: boolean | undefined;
2386
2272
  }, {
2387
- name?: {
2388
- firstname?: {
2389
- required: boolean;
2390
- label?: {
2391
- id: string;
2392
- description: string;
2393
- defaultMessage: string;
2394
- } | undefined;
2395
- } | undefined;
2396
- surname?: {
2397
- required: boolean;
2398
- label?: {
2399
- id: string;
2400
- description: string;
2401
- defaultMessage: string;
2402
- } | undefined;
2403
- } | undefined;
2404
- middlename?: {
2405
- required: boolean;
2406
- label?: {
2407
- id: string;
2408
- description: string;
2409
- defaultMessage: string;
2410
- } | undefined;
2411
- } | undefined;
2412
- } | undefined;
2413
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2414
2273
  maxLength?: number | undefined;
2415
2274
  prefix?: {
2416
2275
  id: string;
@@ -2422,7 +2281,9 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2422
2281
  description: string;
2423
2282
  defaultMessage: string;
2424
2283
  } | undefined;
2425
- }>>>;
2284
+ includeMiddlename?: boolean | undefined;
2285
+ searchMode?: boolean | undefined;
2286
+ }>>;
2426
2287
  }>, "strip", z.ZodTypeAny, {
2427
2288
  type: "NAME";
2428
2289
  id: string;
@@ -2451,29 +2312,15 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2451
2312
  hideLabel?: boolean | undefined;
2452
2313
  uncorrectable?: boolean | undefined;
2453
2314
  defaultValue?: {
2454
- firstname?: string | undefined;
2455
- surname?: string | undefined;
2456
- middlename?: string | undefined;
2315
+ firstname: string;
2316
+ surname: string;
2457
2317
  } | undefined;
2458
2318
  configuration?: {
2459
- name?: {
2460
- firstname?: {
2461
- required: boolean;
2462
- label?: TranslationConfig | undefined;
2463
- } | undefined;
2464
- surname?: {
2465
- required: boolean;
2466
- label?: TranslationConfig | undefined;
2467
- } | undefined;
2468
- middlename?: {
2469
- required: boolean;
2470
- label?: TranslationConfig | undefined;
2471
- } | undefined;
2472
- } | undefined;
2473
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2474
2319
  maxLength?: number | undefined;
2475
2320
  prefix?: TranslationConfig | undefined;
2476
2321
  postfix?: TranslationConfig | undefined;
2322
+ includeMiddlename?: boolean | undefined;
2323
+ searchMode?: boolean | undefined;
2477
2324
  } | undefined;
2478
2325
  }, {
2479
2326
  type: "NAME";
@@ -2519,38 +2366,10 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2519
2366
  hideLabel?: boolean | undefined;
2520
2367
  uncorrectable?: boolean | undefined;
2521
2368
  defaultValue?: {
2522
- firstname?: string | undefined;
2523
- surname?: string | undefined;
2524
- middlename?: string | undefined;
2369
+ firstname: string;
2370
+ surname: string;
2525
2371
  } | undefined;
2526
2372
  configuration?: {
2527
- name?: {
2528
- firstname?: {
2529
- required: boolean;
2530
- label?: {
2531
- id: string;
2532
- description: string;
2533
- defaultMessage: string;
2534
- } | undefined;
2535
- } | undefined;
2536
- surname?: {
2537
- required: boolean;
2538
- label?: {
2539
- id: string;
2540
- description: string;
2541
- defaultMessage: string;
2542
- } | undefined;
2543
- } | undefined;
2544
- middlename?: {
2545
- required: boolean;
2546
- label?: {
2547
- id: string;
2548
- description: string;
2549
- defaultMessage: string;
2550
- } | undefined;
2551
- } | undefined;
2552
- } | undefined;
2553
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2554
2373
  maxLength?: number | undefined;
2555
2374
  prefix?: {
2556
2375
  id: string;
@@ -2562,6 +2381,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2562
2381
  description: string;
2563
2382
  defaultMessage: string;
2564
2383
  } | undefined;
2384
+ includeMiddlename?: boolean | undefined;
2385
+ searchMode?: boolean | undefined;
2565
2386
  } | undefined;
2566
2387
  }>, z.ZodObject<z.objectUtil.extendShape<{
2567
2388
  id: z.ZodString;
@@ -4596,6 +4417,155 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4596
4417
  } | undefined;
4597
4418
  hideLabel?: boolean | undefined;
4598
4419
  uncorrectable?: boolean | undefined;
4420
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4421
+ id: z.ZodString;
4422
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4423
+ id: string;
4424
+ description: string;
4425
+ defaultMessage: string;
4426
+ }>;
4427
+ parent: z.ZodOptional<z.ZodObject<{
4428
+ $$field: z.ZodString;
4429
+ }, "strip", z.ZodTypeAny, {
4430
+ $$field: string;
4431
+ }, {
4432
+ $$field: string;
4433
+ }>>;
4434
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4435
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4436
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4437
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4438
+ id: string;
4439
+ description: string;
4440
+ defaultMessage: string;
4441
+ }>>;
4442
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4443
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4444
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4445
+ id: string;
4446
+ description: string;
4447
+ defaultMessage: string;
4448
+ }>;
4449
+ }, "strip", z.ZodTypeAny, {
4450
+ message: TranslationConfig;
4451
+ validator: import(".").JSONSchema;
4452
+ }, {
4453
+ message: {
4454
+ id: string;
4455
+ description: string;
4456
+ defaultMessage: string;
4457
+ };
4458
+ validator: import(".").JSONSchema;
4459
+ }>, "many">>>;
4460
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4461
+ id: string;
4462
+ description: string;
4463
+ defaultMessage: string;
4464
+ }>>;
4465
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4466
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4467
+ }, {
4468
+ type: z.ZodLiteral<"PRINT_BUTTON">;
4469
+ configuration: z.ZodObject<{
4470
+ template: z.ZodString;
4471
+ buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4472
+ id: string;
4473
+ description: string;
4474
+ defaultMessage: string;
4475
+ }>>;
4476
+ }, "strip", z.ZodTypeAny, {
4477
+ template: string;
4478
+ buttonLabel?: TranslationConfig | undefined;
4479
+ }, {
4480
+ template: string;
4481
+ buttonLabel?: {
4482
+ id: string;
4483
+ description: string;
4484
+ defaultMessage: string;
4485
+ } | undefined;
4486
+ }>;
4487
+ }>, "strip", z.ZodTypeAny, {
4488
+ type: "PRINT_BUTTON";
4489
+ id: string;
4490
+ label: TranslationConfig;
4491
+ configuration: {
4492
+ template: string;
4493
+ buttonLabel?: TranslationConfig | undefined;
4494
+ };
4495
+ parent?: {
4496
+ $$field: string;
4497
+ } | undefined;
4498
+ validation?: {
4499
+ message: TranslationConfig;
4500
+ validator: import(".").JSONSchema;
4501
+ }[] | undefined;
4502
+ required?: boolean | undefined;
4503
+ conditionals?: ({
4504
+ type: "SHOW";
4505
+ conditional: import(".").JSONSchema;
4506
+ } | {
4507
+ type: "ENABLE";
4508
+ conditional: import(".").JSONSchema;
4509
+ } | {
4510
+ type: "DISPLAY_ON_REVIEW";
4511
+ conditional: import(".").JSONSchema;
4512
+ })[] | undefined;
4513
+ secured?: boolean | undefined;
4514
+ placeholder?: TranslationConfig | undefined;
4515
+ helperText?: TranslationConfig | undefined;
4516
+ hideLabel?: boolean | undefined;
4517
+ uncorrectable?: boolean | undefined;
4518
+ }, {
4519
+ type: "PRINT_BUTTON";
4520
+ id: string;
4521
+ label: {
4522
+ id: string;
4523
+ description: string;
4524
+ defaultMessage: string;
4525
+ };
4526
+ configuration: {
4527
+ template: string;
4528
+ buttonLabel?: {
4529
+ id: string;
4530
+ description: string;
4531
+ defaultMessage: string;
4532
+ } | undefined;
4533
+ };
4534
+ parent?: {
4535
+ $$field: string;
4536
+ } | undefined;
4537
+ validation?: {
4538
+ message: {
4539
+ id: string;
4540
+ description: string;
4541
+ defaultMessage: string;
4542
+ };
4543
+ validator: import(".").JSONSchema;
4544
+ }[] | undefined;
4545
+ required?: boolean | undefined;
4546
+ conditionals?: ({
4547
+ type: "SHOW";
4548
+ conditional: import(".").JSONSchema;
4549
+ } | {
4550
+ type: "ENABLE";
4551
+ conditional: import(".").JSONSchema;
4552
+ } | {
4553
+ type: "DISPLAY_ON_REVIEW";
4554
+ conditional: import(".").JSONSchema;
4555
+ })[] | undefined;
4556
+ secured?: boolean | undefined;
4557
+ placeholder?: {
4558
+ id: string;
4559
+ description: string;
4560
+ defaultMessage: string;
4561
+ } | undefined;
4562
+ helperText?: {
4563
+ id: string;
4564
+ description: string;
4565
+ defaultMessage: string;
4566
+ } | undefined;
4567
+ hideLabel?: boolean | undefined;
4568
+ uncorrectable?: boolean | undefined;
4599
4569
  }>]>, "many">;
4600
4570
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
4601
4571
  }, {
@@ -5159,29 +5129,15 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5159
5129
  hideLabel?: boolean | undefined;
5160
5130
  uncorrectable?: boolean | undefined;
5161
5131
  defaultValue?: {
5162
- firstname?: string | undefined;
5163
- surname?: string | undefined;
5164
- middlename?: string | undefined;
5132
+ firstname: string;
5133
+ surname: string;
5165
5134
  } | undefined;
5166
5135
  configuration?: {
5167
- name?: {
5168
- firstname?: {
5169
- required: boolean;
5170
- label?: TranslationConfig | undefined;
5171
- } | undefined;
5172
- surname?: {
5173
- required: boolean;
5174
- label?: TranslationConfig | undefined;
5175
- } | undefined;
5176
- middlename?: {
5177
- required: boolean;
5178
- label?: TranslationConfig | undefined;
5179
- } | undefined;
5180
- } | undefined;
5181
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
5182
5136
  maxLength?: number | undefined;
5183
5137
  prefix?: TranslationConfig | undefined;
5184
5138
  postfix?: TranslationConfig | undefined;
5139
+ includeMiddlename?: boolean | undefined;
5140
+ searchMode?: boolean | undefined;
5185
5141
  } | undefined;
5186
5142
  } | {
5187
5143
  type: "PHONE";
@@ -5514,8 +5470,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5514
5470
  postcodeOrZip?: string | undefined;
5515
5471
  } | undefined;
5516
5472
  configuration?: {
5517
- lineSeparator?: string | undefined;
5518
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
5473
+ searchMode?: boolean | undefined;
5519
5474
  } | undefined;
5520
5475
  } | {
5521
5476
  type: "DATA";
@@ -5553,6 +5508,37 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5553
5508
  helperText?: TranslationConfig | undefined;
5554
5509
  hideLabel?: boolean | undefined;
5555
5510
  uncorrectable?: boolean | undefined;
5511
+ } | {
5512
+ type: "PRINT_BUTTON";
5513
+ id: string;
5514
+ label: TranslationConfig;
5515
+ configuration: {
5516
+ template: string;
5517
+ buttonLabel?: TranslationConfig | undefined;
5518
+ };
5519
+ parent?: {
5520
+ $$field: string;
5521
+ } | undefined;
5522
+ validation?: {
5523
+ message: TranslationConfig;
5524
+ validator: import(".").JSONSchema;
5525
+ }[] | undefined;
5526
+ required?: boolean | undefined;
5527
+ conditionals?: ({
5528
+ type: "SHOW";
5529
+ conditional: import(".").JSONSchema;
5530
+ } | {
5531
+ type: "ENABLE";
5532
+ conditional: import(".").JSONSchema;
5533
+ } | {
5534
+ type: "DISPLAY_ON_REVIEW";
5535
+ conditional: import(".").JSONSchema;
5536
+ })[] | undefined;
5537
+ secured?: boolean | undefined;
5538
+ placeholder?: TranslationConfig | undefined;
5539
+ helperText?: TranslationConfig | undefined;
5540
+ hideLabel?: boolean | undefined;
5541
+ uncorrectable?: boolean | undefined;
5556
5542
  })[];
5557
5543
  conditional?: import(".").JSONSchema | undefined;
5558
5544
  }, {
@@ -6449,38 +6435,10 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6449
6435
  hideLabel?: boolean | undefined;
6450
6436
  uncorrectable?: boolean | undefined;
6451
6437
  defaultValue?: {
6452
- firstname?: string | undefined;
6453
- surname?: string | undefined;
6454
- middlename?: string | undefined;
6438
+ firstname: string;
6439
+ surname: string;
6455
6440
  } | undefined;
6456
6441
  configuration?: {
6457
- name?: {
6458
- firstname?: {
6459
- required: boolean;
6460
- label?: {
6461
- id: string;
6462
- description: string;
6463
- defaultMessage: string;
6464
- } | undefined;
6465
- } | undefined;
6466
- surname?: {
6467
- required: boolean;
6468
- label?: {
6469
- id: string;
6470
- description: string;
6471
- defaultMessage: string;
6472
- } | undefined;
6473
- } | undefined;
6474
- middlename?: {
6475
- required: boolean;
6476
- label?: {
6477
- id: string;
6478
- description: string;
6479
- defaultMessage: string;
6480
- } | undefined;
6481
- } | undefined;
6482
- } | undefined;
6483
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
6484
6442
  maxLength?: number | undefined;
6485
6443
  prefix?: {
6486
6444
  id: string;
@@ -6492,6 +6450,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6492
6450
  description: string;
6493
6451
  defaultMessage: string;
6494
6452
  } | undefined;
6453
+ includeMiddlename?: boolean | undefined;
6454
+ searchMode?: boolean | undefined;
6495
6455
  } | undefined;
6496
6456
  } | {
6497
6457
  type: "PHONE";
@@ -6988,8 +6948,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6988
6948
  postcodeOrZip?: string | undefined;
6989
6949
  } | undefined;
6990
6950
  configuration?: {
6991
- lineSeparator?: string | undefined;
6992
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
6951
+ searchMode?: boolean | undefined;
6993
6952
  } | undefined;
6994
6953
  } | {
6995
6954
  type: "DATA";
@@ -7055,6 +7014,57 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
7055
7014
  } | undefined;
7056
7015
  hideLabel?: boolean | undefined;
7057
7016
  uncorrectable?: boolean | undefined;
7017
+ } | {
7018
+ type: "PRINT_BUTTON";
7019
+ id: string;
7020
+ label: {
7021
+ id: string;
7022
+ description: string;
7023
+ defaultMessage: string;
7024
+ };
7025
+ configuration: {
7026
+ template: string;
7027
+ buttonLabel?: {
7028
+ id: string;
7029
+ description: string;
7030
+ defaultMessage: string;
7031
+ } | undefined;
7032
+ };
7033
+ parent?: {
7034
+ $$field: string;
7035
+ } | undefined;
7036
+ validation?: {
7037
+ message: {
7038
+ id: string;
7039
+ description: string;
7040
+ defaultMessage: string;
7041
+ };
7042
+ validator: import(".").JSONSchema;
7043
+ }[] | undefined;
7044
+ required?: boolean | undefined;
7045
+ conditionals?: ({
7046
+ type: "SHOW";
7047
+ conditional: import(".").JSONSchema;
7048
+ } | {
7049
+ type: "ENABLE";
7050
+ conditional: import(".").JSONSchema;
7051
+ } | {
7052
+ type: "DISPLAY_ON_REVIEW";
7053
+ conditional: import(".").JSONSchema;
7054
+ })[] | undefined;
7055
+ secured?: boolean | undefined;
7056
+ placeholder?: {
7057
+ id: string;
7058
+ description: string;
7059
+ defaultMessage: string;
7060
+ } | undefined;
7061
+ helperText?: {
7062
+ id: string;
7063
+ description: string;
7064
+ defaultMessage: string;
7065
+ } | undefined;
7066
+ hideLabel?: boolean | undefined;
7067
+ uncorrectable?: boolean | undefined;
7058
7068
  })[];
7059
7069
  type?: "FORM" | undefined;
7060
7070
  conditional?: import(".").JSONSchema | undefined;
@@ -7229,16 +7239,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7229
7239
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7230
7240
  }, {
7231
7241
  type: z.ZodLiteral<"ADDRESS">;
7232
- configuration: z.ZodOptional<z.ZodObject<{
7233
- lineSeparator: z.ZodOptional<z.ZodString>;
7234
- fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["number", "country", "province", "addressType", "district", "urbanOrRural", "town", "residentialArea", "street", "zipCode", "village", "state", "district2", "cityOrTown", "addressLine1", "addressLine2", "addressLine3", "postcodeOrZip"]>, "many">>;
7235
- }, "strip", z.ZodTypeAny, {
7236
- lineSeparator?: string | undefined;
7237
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
7238
- }, {
7239
- lineSeparator?: string | undefined;
7240
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
7241
- }>>;
7242
7242
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
7243
7243
  country: z.ZodString;
7244
7244
  addressType: z.ZodLiteral<"DOMESTIC">;
@@ -7326,6 +7326,13 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7326
7326
  addressLine3?: string | undefined;
7327
7327
  postcodeOrZip?: string | undefined;
7328
7328
  }>]>>;
7329
+ configuration: z.ZodOptional<z.ZodObject<{
7330
+ searchMode: z.ZodOptional<z.ZodBoolean>;
7331
+ }, "strip", z.ZodTypeAny, {
7332
+ searchMode?: boolean | undefined;
7333
+ }, {
7334
+ searchMode?: boolean | undefined;
7335
+ }>>;
7329
7336
  }>, "strip", z.ZodTypeAny, {
7330
7337
  type: "ADDRESS";
7331
7338
  id: string;
@@ -7383,8 +7390,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7383
7390
  postcodeOrZip?: string | undefined;
7384
7391
  } | undefined;
7385
7392
  configuration?: {
7386
- lineSeparator?: string | undefined;
7387
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
7393
+ searchMode?: boolean | undefined;
7388
7394
  } | undefined;
7389
7395
  }, {
7390
7396
  type: "ADDRESS";
@@ -7459,8 +7465,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7459
7465
  postcodeOrZip?: string | undefined;
7460
7466
  } | undefined;
7461
7467
  configuration?: {
7462
- lineSeparator?: string | undefined;
7463
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
7468
+ searchMode?: boolean | undefined;
7464
7469
  } | undefined;
7465
7470
  }>, z.ZodObject<z.objectUtil.extendShape<{
7466
7471
  id: z.ZodString;
@@ -9416,114 +9421,16 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9416
9421
  }, {
9417
9422
  type: z.ZodLiteral<"NAME">;
9418
9423
  defaultValue: z.ZodOptional<z.ZodObject<{
9419
- firstname: z.ZodOptional<z.ZodString>;
9420
- middlename: z.ZodOptional<z.ZodString>;
9421
- surname: z.ZodOptional<z.ZodString>;
9424
+ firstname: z.ZodString;
9425
+ surname: z.ZodString;
9422
9426
  }, "strip", z.ZodTypeAny, {
9423
- firstname?: string | undefined;
9424
- surname?: string | undefined;
9425
- middlename?: string | undefined;
9427
+ firstname: string;
9428
+ surname: string;
9426
9429
  }, {
9427
- firstname?: string | undefined;
9428
- surname?: string | undefined;
9429
- middlename?: string | undefined;
9430
+ firstname: string;
9431
+ surname: string;
9430
9432
  }>>;
9431
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
9432
- name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
9433
- firstname: z.ZodOptional<z.ZodObject<{
9434
- required: z.ZodBoolean;
9435
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9436
- id: string;
9437
- description: string;
9438
- defaultMessage: string;
9439
- }>>;
9440
- }, "strip", z.ZodTypeAny, {
9441
- required: boolean;
9442
- label?: TranslationConfig | undefined;
9443
- }, {
9444
- required: boolean;
9445
- label?: {
9446
- id: string;
9447
- description: string;
9448
- defaultMessage: string;
9449
- } | undefined;
9450
- }>>;
9451
- middlename: z.ZodOptional<z.ZodObject<{
9452
- required: z.ZodBoolean;
9453
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9454
- id: string;
9455
- description: string;
9456
- defaultMessage: string;
9457
- }>>;
9458
- }, "strip", z.ZodTypeAny, {
9459
- required: boolean;
9460
- label?: TranslationConfig | undefined;
9461
- }, {
9462
- required: boolean;
9463
- label?: {
9464
- id: string;
9465
- description: string;
9466
- defaultMessage: string;
9467
- } | undefined;
9468
- }>>;
9469
- surname: z.ZodOptional<z.ZodObject<{
9470
- required: z.ZodBoolean;
9471
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9472
- id: string;
9473
- description: string;
9474
- defaultMessage: string;
9475
- }>>;
9476
- }, "strip", z.ZodTypeAny, {
9477
- required: boolean;
9478
- label?: TranslationConfig | undefined;
9479
- }, {
9480
- required: boolean;
9481
- label?: {
9482
- id: string;
9483
- description: string;
9484
- defaultMessage: string;
9485
- } | undefined;
9486
- }>>;
9487
- }, "strip", z.ZodTypeAny, {
9488
- firstname?: {
9489
- required: boolean;
9490
- label?: TranslationConfig | undefined;
9491
- } | undefined;
9492
- surname?: {
9493
- required: boolean;
9494
- label?: TranslationConfig | undefined;
9495
- } | undefined;
9496
- middlename?: {
9497
- required: boolean;
9498
- label?: TranslationConfig | undefined;
9499
- } | undefined;
9500
- }, {
9501
- firstname?: {
9502
- required: boolean;
9503
- label?: {
9504
- id: string;
9505
- description: string;
9506
- defaultMessage: string;
9507
- } | undefined;
9508
- } | undefined;
9509
- surname?: {
9510
- required: boolean;
9511
- label?: {
9512
- id: string;
9513
- description: string;
9514
- defaultMessage: string;
9515
- } | undefined;
9516
- } | undefined;
9517
- middlename?: {
9518
- required: boolean;
9519
- label?: {
9520
- id: string;
9521
- description: string;
9522
- defaultMessage: string;
9523
- } | undefined;
9524
- } | undefined;
9525
- }>>>;
9526
- order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
9433
+ configuration: z.ZodOptional<z.ZodObject<{
9527
9434
  maxLength: z.ZodOptional<z.ZodNumber>;
9528
9435
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9529
9436
  id: string;
@@ -9535,53 +9442,15 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9535
9442
  description: string;
9536
9443
  defaultMessage: string;
9537
9444
  }>>;
9445
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9446
+ searchMode: z.ZodOptional<z.ZodBoolean>;
9538
9447
  }, "strip", z.ZodTypeAny, {
9539
- name?: {
9540
- firstname?: {
9541
- required: boolean;
9542
- label?: TranslationConfig | undefined;
9543
- } | undefined;
9544
- surname?: {
9545
- required: boolean;
9546
- label?: TranslationConfig | undefined;
9547
- } | undefined;
9548
- middlename?: {
9549
- required: boolean;
9550
- label?: TranslationConfig | undefined;
9551
- } | undefined;
9552
- } | undefined;
9553
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9554
9448
  maxLength?: number | undefined;
9555
9449
  prefix?: TranslationConfig | undefined;
9556
9450
  postfix?: TranslationConfig | undefined;
9451
+ includeMiddlename?: boolean | undefined;
9452
+ searchMode?: boolean | undefined;
9557
9453
  }, {
9558
- name?: {
9559
- firstname?: {
9560
- required: boolean;
9561
- label?: {
9562
- id: string;
9563
- description: string;
9564
- defaultMessage: string;
9565
- } | undefined;
9566
- } | undefined;
9567
- surname?: {
9568
- required: boolean;
9569
- label?: {
9570
- id: string;
9571
- description: string;
9572
- defaultMessage: string;
9573
- } | undefined;
9574
- } | undefined;
9575
- middlename?: {
9576
- required: boolean;
9577
- label?: {
9578
- id: string;
9579
- description: string;
9580
- defaultMessage: string;
9581
- } | undefined;
9582
- } | undefined;
9583
- } | undefined;
9584
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9585
9454
  maxLength?: number | undefined;
9586
9455
  prefix?: {
9587
9456
  id: string;
@@ -9593,7 +9462,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9593
9462
  description: string;
9594
9463
  defaultMessage: string;
9595
9464
  } | undefined;
9596
- }>>>;
9465
+ includeMiddlename?: boolean | undefined;
9466
+ searchMode?: boolean | undefined;
9467
+ }>>;
9597
9468
  }>, "strip", z.ZodTypeAny, {
9598
9469
  type: "NAME";
9599
9470
  id: string;
@@ -9622,29 +9493,15 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9622
9493
  hideLabel?: boolean | undefined;
9623
9494
  uncorrectable?: boolean | undefined;
9624
9495
  defaultValue?: {
9625
- firstname?: string | undefined;
9626
- surname?: string | undefined;
9627
- middlename?: string | undefined;
9496
+ firstname: string;
9497
+ surname: string;
9628
9498
  } | undefined;
9629
9499
  configuration?: {
9630
- name?: {
9631
- firstname?: {
9632
- required: boolean;
9633
- label?: TranslationConfig | undefined;
9634
- } | undefined;
9635
- surname?: {
9636
- required: boolean;
9637
- label?: TranslationConfig | undefined;
9638
- } | undefined;
9639
- middlename?: {
9640
- required: boolean;
9641
- label?: TranslationConfig | undefined;
9642
- } | undefined;
9643
- } | undefined;
9644
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9645
9500
  maxLength?: number | undefined;
9646
9501
  prefix?: TranslationConfig | undefined;
9647
9502
  postfix?: TranslationConfig | undefined;
9503
+ includeMiddlename?: boolean | undefined;
9504
+ searchMode?: boolean | undefined;
9648
9505
  } | undefined;
9649
9506
  }, {
9650
9507
  type: "NAME";
@@ -9690,38 +9547,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9690
9547
  hideLabel?: boolean | undefined;
9691
9548
  uncorrectable?: boolean | undefined;
9692
9549
  defaultValue?: {
9693
- firstname?: string | undefined;
9694
- surname?: string | undefined;
9695
- middlename?: string | undefined;
9550
+ firstname: string;
9551
+ surname: string;
9696
9552
  } | undefined;
9697
9553
  configuration?: {
9698
- name?: {
9699
- firstname?: {
9700
- required: boolean;
9701
- label?: {
9702
- id: string;
9703
- description: string;
9704
- defaultMessage: string;
9705
- } | undefined;
9706
- } | undefined;
9707
- surname?: {
9708
- required: boolean;
9709
- label?: {
9710
- id: string;
9711
- description: string;
9712
- defaultMessage: string;
9713
- } | undefined;
9714
- } | undefined;
9715
- middlename?: {
9716
- required: boolean;
9717
- label?: {
9718
- id: string;
9719
- description: string;
9720
- defaultMessage: string;
9721
- } | undefined;
9722
- } | undefined;
9723
- } | undefined;
9724
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9725
9554
  maxLength?: number | undefined;
9726
9555
  prefix?: {
9727
9556
  id: string;
@@ -9733,6 +9562,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9733
9562
  description: string;
9734
9563
  defaultMessage: string;
9735
9564
  } | undefined;
9565
+ includeMiddlename?: boolean | undefined;
9566
+ searchMode?: boolean | undefined;
9736
9567
  } | undefined;
9737
9568
  }>, z.ZodObject<z.objectUtil.extendShape<{
9738
9569
  id: z.ZodString;
@@ -11767,6 +11598,155 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11767
11598
  } | undefined;
11768
11599
  hideLabel?: boolean | undefined;
11769
11600
  uncorrectable?: boolean | undefined;
11601
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11602
+ id: z.ZodString;
11603
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11604
+ id: string;
11605
+ description: string;
11606
+ defaultMessage: string;
11607
+ }>;
11608
+ parent: z.ZodOptional<z.ZodObject<{
11609
+ $$field: z.ZodString;
11610
+ }, "strip", z.ZodTypeAny, {
11611
+ $$field: string;
11612
+ }, {
11613
+ $$field: string;
11614
+ }>>;
11615
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11616
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
11617
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11618
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11619
+ id: string;
11620
+ description: string;
11621
+ defaultMessage: string;
11622
+ }>>;
11623
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
11624
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
11625
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11626
+ id: string;
11627
+ description: string;
11628
+ defaultMessage: string;
11629
+ }>;
11630
+ }, "strip", z.ZodTypeAny, {
11631
+ message: TranslationConfig;
11632
+ validator: import(".").JSONSchema;
11633
+ }, {
11634
+ message: {
11635
+ id: string;
11636
+ description: string;
11637
+ defaultMessage: string;
11638
+ };
11639
+ validator: import(".").JSONSchema;
11640
+ }>, "many">>>;
11641
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11642
+ id: string;
11643
+ description: string;
11644
+ defaultMessage: string;
11645
+ }>>;
11646
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11647
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11648
+ }, {
11649
+ type: z.ZodLiteral<"PRINT_BUTTON">;
11650
+ configuration: z.ZodObject<{
11651
+ template: z.ZodString;
11652
+ buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11653
+ id: string;
11654
+ description: string;
11655
+ defaultMessage: string;
11656
+ }>>;
11657
+ }, "strip", z.ZodTypeAny, {
11658
+ template: string;
11659
+ buttonLabel?: TranslationConfig | undefined;
11660
+ }, {
11661
+ template: string;
11662
+ buttonLabel?: {
11663
+ id: string;
11664
+ description: string;
11665
+ defaultMessage: string;
11666
+ } | undefined;
11667
+ }>;
11668
+ }>, "strip", z.ZodTypeAny, {
11669
+ type: "PRINT_BUTTON";
11670
+ id: string;
11671
+ label: TranslationConfig;
11672
+ configuration: {
11673
+ template: string;
11674
+ buttonLabel?: TranslationConfig | undefined;
11675
+ };
11676
+ parent?: {
11677
+ $$field: string;
11678
+ } | undefined;
11679
+ validation?: {
11680
+ message: TranslationConfig;
11681
+ validator: import(".").JSONSchema;
11682
+ }[] | undefined;
11683
+ required?: boolean | undefined;
11684
+ conditionals?: ({
11685
+ type: "SHOW";
11686
+ conditional: import(".").JSONSchema;
11687
+ } | {
11688
+ type: "ENABLE";
11689
+ conditional: import(".").JSONSchema;
11690
+ } | {
11691
+ type: "DISPLAY_ON_REVIEW";
11692
+ conditional: import(".").JSONSchema;
11693
+ })[] | undefined;
11694
+ secured?: boolean | undefined;
11695
+ placeholder?: TranslationConfig | undefined;
11696
+ helperText?: TranslationConfig | undefined;
11697
+ hideLabel?: boolean | undefined;
11698
+ uncorrectable?: boolean | undefined;
11699
+ }, {
11700
+ type: "PRINT_BUTTON";
11701
+ id: string;
11702
+ label: {
11703
+ id: string;
11704
+ description: string;
11705
+ defaultMessage: string;
11706
+ };
11707
+ configuration: {
11708
+ template: string;
11709
+ buttonLabel?: {
11710
+ id: string;
11711
+ description: string;
11712
+ defaultMessage: string;
11713
+ } | undefined;
11714
+ };
11715
+ parent?: {
11716
+ $$field: string;
11717
+ } | undefined;
11718
+ validation?: {
11719
+ message: {
11720
+ id: string;
11721
+ description: string;
11722
+ defaultMessage: string;
11723
+ };
11724
+ validator: import(".").JSONSchema;
11725
+ }[] | undefined;
11726
+ required?: boolean | undefined;
11727
+ conditionals?: ({
11728
+ type: "SHOW";
11729
+ conditional: import(".").JSONSchema;
11730
+ } | {
11731
+ type: "ENABLE";
11732
+ conditional: import(".").JSONSchema;
11733
+ } | {
11734
+ type: "DISPLAY_ON_REVIEW";
11735
+ conditional: import(".").JSONSchema;
11736
+ })[] | undefined;
11737
+ secured?: boolean | undefined;
11738
+ placeholder?: {
11739
+ id: string;
11740
+ description: string;
11741
+ defaultMessage: string;
11742
+ } | undefined;
11743
+ helperText?: {
11744
+ id: string;
11745
+ description: string;
11746
+ defaultMessage: string;
11747
+ } | undefined;
11748
+ hideLabel?: boolean | undefined;
11749
+ uncorrectable?: boolean | undefined;
11770
11750
  }>]>, "many">;
11771
11751
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
11772
11752
  }, {
@@ -12456,29 +12436,15 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12456
12436
  hideLabel?: boolean | undefined;
12457
12437
  uncorrectable?: boolean | undefined;
12458
12438
  defaultValue?: {
12459
- firstname?: string | undefined;
12460
- surname?: string | undefined;
12461
- middlename?: string | undefined;
12439
+ firstname: string;
12440
+ surname: string;
12462
12441
  } | undefined;
12463
12442
  configuration?: {
12464
- name?: {
12465
- firstname?: {
12466
- required: boolean;
12467
- label?: TranslationConfig | undefined;
12468
- } | undefined;
12469
- surname?: {
12470
- required: boolean;
12471
- label?: TranslationConfig | undefined;
12472
- } | undefined;
12473
- middlename?: {
12474
- required: boolean;
12475
- label?: TranslationConfig | undefined;
12476
- } | undefined;
12477
- } | undefined;
12478
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
12479
12443
  maxLength?: number | undefined;
12480
12444
  prefix?: TranslationConfig | undefined;
12481
12445
  postfix?: TranslationConfig | undefined;
12446
+ includeMiddlename?: boolean | undefined;
12447
+ searchMode?: boolean | undefined;
12482
12448
  } | undefined;
12483
12449
  } | {
12484
12450
  type: "PHONE";
@@ -12811,8 +12777,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12811
12777
  postcodeOrZip?: string | undefined;
12812
12778
  } | undefined;
12813
12779
  configuration?: {
12814
- lineSeparator?: string | undefined;
12815
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
12780
+ searchMode?: boolean | undefined;
12816
12781
  } | undefined;
12817
12782
  } | {
12818
12783
  type: "DATA";
@@ -12850,6 +12815,37 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12850
12815
  helperText?: TranslationConfig | undefined;
12851
12816
  hideLabel?: boolean | undefined;
12852
12817
  uncorrectable?: boolean | undefined;
12818
+ } | {
12819
+ type: "PRINT_BUTTON";
12820
+ id: string;
12821
+ label: TranslationConfig;
12822
+ configuration: {
12823
+ template: string;
12824
+ buttonLabel?: TranslationConfig | undefined;
12825
+ };
12826
+ parent?: {
12827
+ $$field: string;
12828
+ } | undefined;
12829
+ validation?: {
12830
+ message: TranslationConfig;
12831
+ validator: import(".").JSONSchema;
12832
+ }[] | undefined;
12833
+ required?: boolean | undefined;
12834
+ conditionals?: ({
12835
+ type: "SHOW";
12836
+ conditional: import(".").JSONSchema;
12837
+ } | {
12838
+ type: "ENABLE";
12839
+ conditional: import(".").JSONSchema;
12840
+ } | {
12841
+ type: "DISPLAY_ON_REVIEW";
12842
+ conditional: import(".").JSONSchema;
12843
+ })[] | undefined;
12844
+ secured?: boolean | undefined;
12845
+ placeholder?: TranslationConfig | undefined;
12846
+ helperText?: TranslationConfig | undefined;
12847
+ hideLabel?: boolean | undefined;
12848
+ uncorrectable?: boolean | undefined;
12853
12849
  })[];
12854
12850
  conditional?: import(".").JSONSchema | undefined;
12855
12851
  }, {
@@ -13775,38 +13771,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
13775
13771
  hideLabel?: boolean | undefined;
13776
13772
  uncorrectable?: boolean | undefined;
13777
13773
  defaultValue?: {
13778
- firstname?: string | undefined;
13779
- surname?: string | undefined;
13780
- middlename?: string | undefined;
13774
+ firstname: string;
13775
+ surname: string;
13781
13776
  } | undefined;
13782
13777
  configuration?: {
13783
- name?: {
13784
- firstname?: {
13785
- required: boolean;
13786
- label?: {
13787
- id: string;
13788
- description: string;
13789
- defaultMessage: string;
13790
- } | undefined;
13791
- } | undefined;
13792
- surname?: {
13793
- required: boolean;
13794
- label?: {
13795
- id: string;
13796
- description: string;
13797
- defaultMessage: string;
13798
- } | undefined;
13799
- } | undefined;
13800
- middlename?: {
13801
- required: boolean;
13802
- label?: {
13803
- id: string;
13804
- description: string;
13805
- defaultMessage: string;
13806
- } | undefined;
13807
- } | undefined;
13808
- } | undefined;
13809
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
13810
13778
  maxLength?: number | undefined;
13811
13779
  prefix?: {
13812
13780
  id: string;
@@ -13818,6 +13786,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
13818
13786
  description: string;
13819
13787
  defaultMessage: string;
13820
13788
  } | undefined;
13789
+ includeMiddlename?: boolean | undefined;
13790
+ searchMode?: boolean | undefined;
13821
13791
  } | undefined;
13822
13792
  } | {
13823
13793
  type: "PHONE";
@@ -14314,8 +14284,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
14314
14284
  postcodeOrZip?: string | undefined;
14315
14285
  } | undefined;
14316
14286
  configuration?: {
14317
- lineSeparator?: string | undefined;
14318
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
14287
+ searchMode?: boolean | undefined;
14319
14288
  } | undefined;
14320
14289
  } | {
14321
14290
  type: "DATA";
@@ -14381,6 +14350,57 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
14381
14350
  } | undefined;
14382
14351
  hideLabel?: boolean | undefined;
14383
14352
  uncorrectable?: boolean | undefined;
14353
+ } | {
14354
+ type: "PRINT_BUTTON";
14355
+ id: string;
14356
+ label: {
14357
+ id: string;
14358
+ description: string;
14359
+ defaultMessage: string;
14360
+ };
14361
+ configuration: {
14362
+ template: string;
14363
+ buttonLabel?: {
14364
+ id: string;
14365
+ description: string;
14366
+ defaultMessage: string;
14367
+ } | undefined;
14368
+ };
14369
+ parent?: {
14370
+ $$field: string;
14371
+ } | undefined;
14372
+ validation?: {
14373
+ message: {
14374
+ id: string;
14375
+ description: string;
14376
+ defaultMessage: string;
14377
+ };
14378
+ validator: import(".").JSONSchema;
14379
+ }[] | undefined;
14380
+ required?: boolean | undefined;
14381
+ conditionals?: ({
14382
+ type: "SHOW";
14383
+ conditional: import(".").JSONSchema;
14384
+ } | {
14385
+ type: "ENABLE";
14386
+ conditional: import(".").JSONSchema;
14387
+ } | {
14388
+ type: "DISPLAY_ON_REVIEW";
14389
+ conditional: import(".").JSONSchema;
14390
+ })[] | undefined;
14391
+ secured?: boolean | undefined;
14392
+ placeholder?: {
14393
+ id: string;
14394
+ description: string;
14395
+ defaultMessage: string;
14396
+ } | undefined;
14397
+ helperText?: {
14398
+ id: string;
14399
+ description: string;
14400
+ defaultMessage: string;
14401
+ } | undefined;
14402
+ hideLabel?: boolean | undefined;
14403
+ uncorrectable?: boolean | undefined;
14384
14404
  })[];
14385
14405
  conditional?: import(".").JSONSchema | undefined;
14386
14406
  }>;