@opencrvs/toolkit 1.8.1-rc.032a7f2 → 1.8.1-rc.06c1a33

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.
@@ -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;
@@ -2261,98 +2256,46 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2261
2256
  name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
2262
2257
  firstname: z.ZodOptional<z.ZodObject<{
2263
2258
  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
2259
  }, "strip", z.ZodTypeAny, {
2270
2260
  required: boolean;
2271
- label?: TranslationConfig | undefined;
2272
2261
  }, {
2273
2262
  required: boolean;
2274
- label?: {
2275
- id: string;
2276
- description: string;
2277
- defaultMessage: string;
2278
- } | undefined;
2279
2263
  }>>;
2280
2264
  middlename: z.ZodOptional<z.ZodObject<{
2281
2265
  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
2266
  }, "strip", z.ZodTypeAny, {
2288
2267
  required: boolean;
2289
- label?: TranslationConfig | undefined;
2290
2268
  }, {
2291
2269
  required: boolean;
2292
- label?: {
2293
- id: string;
2294
- description: string;
2295
- defaultMessage: string;
2296
- } | undefined;
2297
2270
  }>>;
2298
2271
  surname: z.ZodOptional<z.ZodObject<{
2299
2272
  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
2273
  }, "strip", z.ZodTypeAny, {
2306
2274
  required: boolean;
2307
- label?: TranslationConfig | undefined;
2308
2275
  }, {
2309
2276
  required: boolean;
2310
- label?: {
2311
- id: string;
2312
- description: string;
2313
- defaultMessage: string;
2314
- } | undefined;
2315
2277
  }>>;
2316
2278
  }, "strip", z.ZodTypeAny, {
2317
2279
  firstname?: {
2318
2280
  required: boolean;
2319
- label?: TranslationConfig | undefined;
2320
2281
  } | undefined;
2321
2282
  surname?: {
2322
2283
  required: boolean;
2323
- label?: TranslationConfig | undefined;
2324
2284
  } | undefined;
2325
2285
  middlename?: {
2326
2286
  required: boolean;
2327
- label?: TranslationConfig | undefined;
2328
2287
  } | undefined;
2329
2288
  }, {
2330
2289
  firstname?: {
2331
2290
  required: boolean;
2332
- label?: {
2333
- id: string;
2334
- description: string;
2335
- defaultMessage: string;
2336
- } | undefined;
2337
2291
  } | undefined;
2338
2292
  surname?: {
2339
2293
  required: boolean;
2340
- label?: {
2341
- id: string;
2342
- description: string;
2343
- defaultMessage: string;
2344
- } | undefined;
2345
2294
  } | undefined;
2346
2295
  middlename?: {
2347
2296
  required: boolean;
2348
- label?: {
2349
- id: string;
2350
- description: string;
2351
- defaultMessage: string;
2352
- } | undefined;
2353
2297
  } | undefined;
2354
2298
  }>>>;
2355
- order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
2356
2299
  maxLength: z.ZodOptional<z.ZodNumber>;
2357
2300
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2358
2301
  id: string;
@@ -2364,53 +2307,35 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2364
2307
  description: string;
2365
2308
  defaultMessage: string;
2366
2309
  }>>;
2310
+ searchMode: z.ZodOptional<z.ZodBoolean>;
2367
2311
  }, "strip", z.ZodTypeAny, {
2368
2312
  name?: {
2369
2313
  firstname?: {
2370
2314
  required: boolean;
2371
- label?: TranslationConfig | undefined;
2372
2315
  } | undefined;
2373
2316
  surname?: {
2374
2317
  required: boolean;
2375
- label?: TranslationConfig | undefined;
2376
2318
  } | undefined;
2377
2319
  middlename?: {
2378
2320
  required: boolean;
2379
- label?: TranslationConfig | undefined;
2380
2321
  } | undefined;
2381
2322
  } | undefined;
2382
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2383
2323
  maxLength?: number | undefined;
2384
2324
  prefix?: TranslationConfig | undefined;
2385
2325
  postfix?: TranslationConfig | undefined;
2326
+ searchMode?: boolean | undefined;
2386
2327
  }, {
2387
2328
  name?: {
2388
2329
  firstname?: {
2389
2330
  required: boolean;
2390
- label?: {
2391
- id: string;
2392
- description: string;
2393
- defaultMessage: string;
2394
- } | undefined;
2395
2331
  } | undefined;
2396
2332
  surname?: {
2397
2333
  required: boolean;
2398
- label?: {
2399
- id: string;
2400
- description: string;
2401
- defaultMessage: string;
2402
- } | undefined;
2403
2334
  } | undefined;
2404
2335
  middlename?: {
2405
2336
  required: boolean;
2406
- label?: {
2407
- id: string;
2408
- description: string;
2409
- defaultMessage: string;
2410
- } | undefined;
2411
2337
  } | undefined;
2412
2338
  } | undefined;
2413
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2414
2339
  maxLength?: number | undefined;
2415
2340
  prefix?: {
2416
2341
  id: string;
@@ -2422,6 +2347,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2422
2347
  description: string;
2423
2348
  defaultMessage: string;
2424
2349
  } | undefined;
2350
+ searchMode?: boolean | undefined;
2425
2351
  }>>>;
2426
2352
  }>, "strip", z.ZodTypeAny, {
2427
2353
  type: "NAME";
@@ -2459,21 +2385,18 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2459
2385
  name?: {
2460
2386
  firstname?: {
2461
2387
  required: boolean;
2462
- label?: TranslationConfig | undefined;
2463
2388
  } | undefined;
2464
2389
  surname?: {
2465
2390
  required: boolean;
2466
- label?: TranslationConfig | undefined;
2467
2391
  } | undefined;
2468
2392
  middlename?: {
2469
2393
  required: boolean;
2470
- label?: TranslationConfig | undefined;
2471
2394
  } | undefined;
2472
2395
  } | undefined;
2473
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2474
2396
  maxLength?: number | undefined;
2475
2397
  prefix?: TranslationConfig | undefined;
2476
2398
  postfix?: TranslationConfig | undefined;
2399
+ searchMode?: boolean | undefined;
2477
2400
  } | undefined;
2478
2401
  }, {
2479
2402
  type: "NAME";
@@ -2527,30 +2450,14 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2527
2450
  name?: {
2528
2451
  firstname?: {
2529
2452
  required: boolean;
2530
- label?: {
2531
- id: string;
2532
- description: string;
2533
- defaultMessage: string;
2534
- } | undefined;
2535
2453
  } | undefined;
2536
2454
  surname?: {
2537
2455
  required: boolean;
2538
- label?: {
2539
- id: string;
2540
- description: string;
2541
- defaultMessage: string;
2542
- } | undefined;
2543
2456
  } | undefined;
2544
2457
  middlename?: {
2545
2458
  required: boolean;
2546
- label?: {
2547
- id: string;
2548
- description: string;
2549
- defaultMessage: string;
2550
- } | undefined;
2551
2459
  } | undefined;
2552
2460
  } | undefined;
2553
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2554
2461
  maxLength?: number | undefined;
2555
2462
  prefix?: {
2556
2463
  id: string;
@@ -2562,6 +2469,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2562
2469
  description: string;
2563
2470
  defaultMessage: string;
2564
2471
  } | undefined;
2472
+ searchMode?: boolean | undefined;
2565
2473
  } | undefined;
2566
2474
  }>, z.ZodObject<z.objectUtil.extendShape<{
2567
2475
  id: z.ZodString;
@@ -4596,18 +4504,85 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4596
4504
  } | undefined;
4597
4505
  hideLabel?: boolean | undefined;
4598
4506
  uncorrectable?: boolean | undefined;
4599
- }>]>, "many">;
4600
- conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
4601
- }, {
4602
- type: z.ZodDefault<z.ZodLiteral<"FORM">>;
4603
- }>, "strip", z.ZodTypeAny, {
4604
- type: "FORM";
4605
- id: string;
4606
- title: TranslationConfig;
4607
- fields: ({
4608
- type: "DIVIDER";
4507
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4508
+ id: z.ZodString;
4509
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4510
+ id: string;
4511
+ description: string;
4512
+ defaultMessage: string;
4513
+ }>;
4514
+ parent: z.ZodOptional<z.ZodObject<{
4515
+ $$field: z.ZodString;
4516
+ }, "strip", z.ZodTypeAny, {
4517
+ $$field: string;
4518
+ }, {
4519
+ $$field: string;
4520
+ }>>;
4521
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4522
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4523
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4524
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4525
+ id: string;
4526
+ description: string;
4527
+ defaultMessage: string;
4528
+ }>>;
4529
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4530
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4531
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4532
+ id: string;
4533
+ description: string;
4534
+ defaultMessage: string;
4535
+ }>;
4536
+ }, "strip", z.ZodTypeAny, {
4537
+ message: TranslationConfig;
4538
+ validator: import(".").JSONSchema;
4539
+ }, {
4540
+ message: {
4541
+ id: string;
4542
+ description: string;
4543
+ defaultMessage: string;
4544
+ };
4545
+ validator: import(".").JSONSchema;
4546
+ }>, "many">>>;
4547
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4548
+ id: string;
4549
+ description: string;
4550
+ defaultMessage: string;
4551
+ }>>;
4552
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4553
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4554
+ }, {
4555
+ type: z.ZodLiteral<"BUTTON">;
4556
+ configuration: z.ZodObject<{
4557
+ icon: z.ZodOptional<z.ZodString>;
4558
+ loading: z.ZodOptional<z.ZodBoolean>;
4559
+ text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4560
+ id: string;
4561
+ description: string;
4562
+ defaultMessage: string;
4563
+ }>;
4564
+ }, "strip", z.ZodTypeAny, {
4565
+ text: TranslationConfig;
4566
+ loading?: boolean | undefined;
4567
+ icon?: string | undefined;
4568
+ }, {
4569
+ text: {
4570
+ id: string;
4571
+ description: string;
4572
+ defaultMessage: string;
4573
+ };
4574
+ loading?: boolean | undefined;
4575
+ icon?: string | undefined;
4576
+ }>;
4577
+ }>, "strip", z.ZodTypeAny, {
4578
+ type: "BUTTON";
4609
4579
  id: string;
4610
4580
  label: TranslationConfig;
4581
+ configuration: {
4582
+ text: TranslationConfig;
4583
+ loading?: boolean | undefined;
4584
+ icon?: string | undefined;
4585
+ };
4611
4586
  parent?: {
4612
4587
  $$field: string;
4613
4588
  } | undefined;
@@ -4631,15 +4606,32 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4631
4606
  helperText?: TranslationConfig | undefined;
4632
4607
  hideLabel?: boolean | undefined;
4633
4608
  uncorrectable?: boolean | undefined;
4634
- } | {
4635
- type: "TEXT";
4609
+ }, {
4610
+ type: "BUTTON";
4636
4611
  id: string;
4637
- label: TranslationConfig;
4612
+ label: {
4613
+ id: string;
4614
+ description: string;
4615
+ defaultMessage: string;
4616
+ };
4617
+ configuration: {
4618
+ text: {
4619
+ id: string;
4620
+ description: string;
4621
+ defaultMessage: string;
4622
+ };
4623
+ loading?: boolean | undefined;
4624
+ icon?: string | undefined;
4625
+ };
4638
4626
  parent?: {
4639
4627
  $$field: string;
4640
4628
  } | undefined;
4641
4629
  validation?: {
4642
- message: TranslationConfig;
4630
+ message: {
4631
+ id: string;
4632
+ description: string;
4633
+ defaultMessage: string;
4634
+ };
4643
4635
  validator: import(".").JSONSchema;
4644
4636
  }[] | undefined;
4645
4637
  required?: boolean | undefined;
@@ -4654,21 +4646,148 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4654
4646
  conditional: import(".").JSONSchema;
4655
4647
  })[] | undefined;
4656
4648
  secured?: boolean | undefined;
4657
- placeholder?: TranslationConfig | undefined;
4658
- helperText?: TranslationConfig | undefined;
4649
+ placeholder?: {
4650
+ id: string;
4651
+ description: string;
4652
+ defaultMessage: string;
4653
+ } | undefined;
4654
+ helperText?: {
4655
+ id: string;
4656
+ description: string;
4657
+ defaultMessage: string;
4658
+ } | undefined;
4659
4659
  hideLabel?: boolean | undefined;
4660
4660
  uncorrectable?: boolean | undefined;
4661
- defaultValue?: string | undefined;
4662
- configuration?: {
4663
- type?: "text" | "password" | undefined;
4664
- maxLength?: number | undefined;
4665
- prefix?: TranslationConfig | undefined;
4666
- postfix?: TranslationConfig | undefined;
4667
- } | undefined;
4668
- } | {
4669
- type: "NUMBER";
4661
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4662
+ id: z.ZodString;
4663
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4664
+ id: string;
4665
+ description: string;
4666
+ defaultMessage: string;
4667
+ }>;
4668
+ parent: z.ZodOptional<z.ZodObject<{
4669
+ $$field: z.ZodString;
4670
+ }, "strip", z.ZodTypeAny, {
4671
+ $$field: string;
4672
+ }, {
4673
+ $$field: string;
4674
+ }>>;
4675
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4676
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4677
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4678
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4679
+ id: string;
4680
+ description: string;
4681
+ defaultMessage: string;
4682
+ }>>;
4683
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4684
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4685
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4686
+ id: string;
4687
+ description: string;
4688
+ defaultMessage: string;
4689
+ }>;
4690
+ }, "strip", z.ZodTypeAny, {
4691
+ message: TranslationConfig;
4692
+ validator: import(".").JSONSchema;
4693
+ }, {
4694
+ message: {
4695
+ id: string;
4696
+ description: string;
4697
+ defaultMessage: string;
4698
+ };
4699
+ validator: import(".").JSONSchema;
4700
+ }>, "many">>>;
4701
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4702
+ id: string;
4703
+ description: string;
4704
+ defaultMessage: string;
4705
+ }>>;
4706
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4707
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4708
+ }, {
4709
+ type: z.ZodLiteral<"HTTP">;
4710
+ defaultValue: z.ZodOptional<z.ZodObject<{
4711
+ loading: z.ZodBoolean;
4712
+ error: z.ZodNullable<z.ZodObject<{
4713
+ statusCode: z.ZodNullable<z.ZodNumber>;
4714
+ message: z.ZodString;
4715
+ }, "strip", z.ZodTypeAny, {
4716
+ message: string;
4717
+ statusCode: number | null;
4718
+ }, {
4719
+ message: string;
4720
+ statusCode: number | null;
4721
+ }>>;
4722
+ data: z.ZodAny;
4723
+ trackingValue: z.ZodOptional<z.ZodString>;
4724
+ }, "strip", z.ZodTypeAny, {
4725
+ error: {
4726
+ message: string;
4727
+ statusCode: number | null;
4728
+ } | null;
4729
+ loading: boolean;
4730
+ data?: any;
4731
+ trackingValue?: string | undefined;
4732
+ }, {
4733
+ error: {
4734
+ message: string;
4735
+ statusCode: number | null;
4736
+ } | null;
4737
+ loading: boolean;
4738
+ data?: any;
4739
+ trackingValue?: string | undefined;
4740
+ }>>;
4741
+ configuration: z.ZodObject<{
4742
+ trigger: z.ZodObject<{
4743
+ $$field: z.ZodString;
4744
+ }, "strip", z.ZodTypeAny, {
4745
+ $$field: string;
4746
+ }, {
4747
+ $$field: string;
4748
+ }>;
4749
+ url: z.ZodString;
4750
+ method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
4751
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4752
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4753
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4754
+ timeout: z.ZodDefault<z.ZodNumber>;
4755
+ }, "strip", z.ZodTypeAny, {
4756
+ method: "POST" | "DELETE" | "GET" | "PUT";
4757
+ trigger: {
4758
+ $$field: string;
4759
+ };
4760
+ url: string;
4761
+ timeout: number;
4762
+ params?: Record<string, string> | undefined;
4763
+ headers?: Record<string, string> | undefined;
4764
+ body?: Record<string, string> | undefined;
4765
+ }, {
4766
+ method: "POST" | "DELETE" | "GET" | "PUT";
4767
+ trigger: {
4768
+ $$field: string;
4769
+ };
4770
+ url: string;
4771
+ params?: Record<string, string> | undefined;
4772
+ headers?: Record<string, string> | undefined;
4773
+ body?: Record<string, string> | undefined;
4774
+ timeout?: number | undefined;
4775
+ }>;
4776
+ }>, "strip", z.ZodTypeAny, {
4777
+ type: "HTTP";
4670
4778
  id: string;
4671
4779
  label: TranslationConfig;
4780
+ configuration: {
4781
+ method: "POST" | "DELETE" | "GET" | "PUT";
4782
+ trigger: {
4783
+ $$field: string;
4784
+ };
4785
+ url: string;
4786
+ timeout: number;
4787
+ params?: Record<string, string> | undefined;
4788
+ headers?: Record<string, string> | undefined;
4789
+ body?: Record<string, string> | undefined;
4790
+ };
4672
4791
  parent?: {
4673
4792
  $$field: string;
4674
4793
  } | undefined;
@@ -4692,22 +4811,43 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4692
4811
  helperText?: TranslationConfig | undefined;
4693
4812
  hideLabel?: boolean | undefined;
4694
4813
  uncorrectable?: boolean | undefined;
4695
- defaultValue?: number | undefined;
4696
- configuration?: {
4697
- prefix?: TranslationConfig | undefined;
4698
- postfix?: TranslationConfig | undefined;
4699
- min?: number | undefined;
4700
- max?: number | undefined;
4814
+ defaultValue?: {
4815
+ error: {
4816
+ message: string;
4817
+ statusCode: number | null;
4818
+ } | null;
4819
+ loading: boolean;
4820
+ data?: any;
4821
+ trackingValue?: string | undefined;
4701
4822
  } | undefined;
4702
- } | {
4703
- type: "TEXTAREA";
4823
+ }, {
4824
+ type: "HTTP";
4704
4825
  id: string;
4705
- label: TranslationConfig;
4826
+ label: {
4827
+ id: string;
4828
+ description: string;
4829
+ defaultMessage: string;
4830
+ };
4831
+ configuration: {
4832
+ method: "POST" | "DELETE" | "GET" | "PUT";
4833
+ trigger: {
4834
+ $$field: string;
4835
+ };
4836
+ url: string;
4837
+ params?: Record<string, string> | undefined;
4838
+ headers?: Record<string, string> | undefined;
4839
+ body?: Record<string, string> | undefined;
4840
+ timeout?: number | undefined;
4841
+ };
4706
4842
  parent?: {
4707
4843
  $$field: string;
4708
4844
  } | undefined;
4709
4845
  validation?: {
4710
- message: TranslationConfig;
4846
+ message: {
4847
+ id: string;
4848
+ description: string;
4849
+ defaultMessage: string;
4850
+ };
4711
4851
  validator: import(".").JSONSchema;
4712
4852
  }[] | undefined;
4713
4853
  required?: boolean | undefined;
@@ -4722,27 +4862,39 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4722
4862
  conditional: import(".").JSONSchema;
4723
4863
  })[] | undefined;
4724
4864
  secured?: boolean | undefined;
4725
- placeholder?: TranslationConfig | undefined;
4726
- helperText?: TranslationConfig | undefined;
4865
+ placeholder?: {
4866
+ id: string;
4867
+ description: string;
4868
+ defaultMessage: string;
4869
+ } | undefined;
4870
+ helperText?: {
4871
+ id: string;
4872
+ description: string;
4873
+ defaultMessage: string;
4874
+ } | undefined;
4727
4875
  hideLabel?: boolean | undefined;
4728
4876
  uncorrectable?: boolean | undefined;
4729
- defaultValue?: string | undefined;
4730
- configuration?: {
4731
- maxLength?: number | undefined;
4732
- prefix?: TranslationConfig | undefined;
4733
- postfix?: TranslationConfig | undefined;
4734
- rows?: number | undefined;
4735
- cols?: number | undefined;
4877
+ defaultValue?: {
4878
+ error: {
4879
+ message: string;
4880
+ statusCode: number | null;
4881
+ } | null;
4882
+ loading: boolean;
4883
+ data?: any;
4884
+ trackingValue?: string | undefined;
4736
4885
  } | undefined;
4737
- } | {
4738
- type: "SIGNATURE";
4886
+ }>]>, "many">;
4887
+ conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
4888
+ }, {
4889
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
4890
+ }>, "strip", z.ZodTypeAny, {
4891
+ type: "FORM";
4892
+ id: string;
4893
+ title: TranslationConfig;
4894
+ fields: ({
4895
+ type: "DIVIDER";
4739
4896
  id: string;
4740
4897
  label: TranslationConfig;
4741
- configuration: {
4742
- maxFileSize: number;
4743
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
4744
- };
4745
- signaturePromptLabel: TranslationConfig;
4746
4898
  parent?: {
4747
4899
  $$field: string;
4748
4900
  } | undefined;
@@ -4766,9 +4918,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4766
4918
  helperText?: TranslationConfig | undefined;
4767
4919
  hideLabel?: boolean | undefined;
4768
4920
  uncorrectable?: boolean | undefined;
4769
- defaultValue?: string | undefined;
4770
4921
  } | {
4771
- type: "EMAIL";
4922
+ type: "TEXT";
4772
4923
  id: string;
4773
4924
  label: TranslationConfig;
4774
4925
  parent?: {
@@ -4796,10 +4947,13 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4796
4947
  uncorrectable?: boolean | undefined;
4797
4948
  defaultValue?: string | undefined;
4798
4949
  configuration?: {
4950
+ type?: "text" | "password" | undefined;
4799
4951
  maxLength?: number | undefined;
4952
+ prefix?: TranslationConfig | undefined;
4953
+ postfix?: TranslationConfig | undefined;
4800
4954
  } | undefined;
4801
4955
  } | {
4802
- type: "DATE";
4956
+ type: "NUMBER";
4803
4957
  id: string;
4804
4958
  label: TranslationConfig;
4805
4959
  parent?: {
@@ -4825,7 +4979,140 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
4825
4979
  helperText?: TranslationConfig | undefined;
4826
4980
  hideLabel?: boolean | undefined;
4827
4981
  uncorrectable?: boolean | undefined;
4828
- defaultValue?: string | undefined;
4982
+ defaultValue?: number | undefined;
4983
+ configuration?: {
4984
+ prefix?: TranslationConfig | undefined;
4985
+ postfix?: TranslationConfig | undefined;
4986
+ min?: number | undefined;
4987
+ max?: number | undefined;
4988
+ } | undefined;
4989
+ } | {
4990
+ type: "TEXTAREA";
4991
+ id: string;
4992
+ label: TranslationConfig;
4993
+ parent?: {
4994
+ $$field: string;
4995
+ } | undefined;
4996
+ validation?: {
4997
+ message: TranslationConfig;
4998
+ validator: import(".").JSONSchema;
4999
+ }[] | undefined;
5000
+ required?: boolean | undefined;
5001
+ conditionals?: ({
5002
+ type: "SHOW";
5003
+ conditional: import(".").JSONSchema;
5004
+ } | {
5005
+ type: "ENABLE";
5006
+ conditional: import(".").JSONSchema;
5007
+ } | {
5008
+ type: "DISPLAY_ON_REVIEW";
5009
+ conditional: import(".").JSONSchema;
5010
+ })[] | undefined;
5011
+ secured?: boolean | undefined;
5012
+ placeholder?: TranslationConfig | undefined;
5013
+ helperText?: TranslationConfig | undefined;
5014
+ hideLabel?: boolean | undefined;
5015
+ uncorrectable?: boolean | undefined;
5016
+ defaultValue?: string | undefined;
5017
+ configuration?: {
5018
+ maxLength?: number | undefined;
5019
+ prefix?: TranslationConfig | undefined;
5020
+ postfix?: TranslationConfig | undefined;
5021
+ rows?: number | undefined;
5022
+ cols?: number | undefined;
5023
+ } | undefined;
5024
+ } | {
5025
+ type: "SIGNATURE";
5026
+ id: string;
5027
+ label: TranslationConfig;
5028
+ configuration: {
5029
+ maxFileSize: number;
5030
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
5031
+ };
5032
+ signaturePromptLabel: TranslationConfig;
5033
+ parent?: {
5034
+ $$field: string;
5035
+ } | undefined;
5036
+ validation?: {
5037
+ message: TranslationConfig;
5038
+ validator: import(".").JSONSchema;
5039
+ }[] | undefined;
5040
+ required?: boolean | undefined;
5041
+ conditionals?: ({
5042
+ type: "SHOW";
5043
+ conditional: import(".").JSONSchema;
5044
+ } | {
5045
+ type: "ENABLE";
5046
+ conditional: import(".").JSONSchema;
5047
+ } | {
5048
+ type: "DISPLAY_ON_REVIEW";
5049
+ conditional: import(".").JSONSchema;
5050
+ })[] | undefined;
5051
+ secured?: boolean | undefined;
5052
+ placeholder?: TranslationConfig | undefined;
5053
+ helperText?: TranslationConfig | undefined;
5054
+ hideLabel?: boolean | undefined;
5055
+ uncorrectable?: boolean | undefined;
5056
+ defaultValue?: string | undefined;
5057
+ } | {
5058
+ type: "EMAIL";
5059
+ id: string;
5060
+ label: TranslationConfig;
5061
+ parent?: {
5062
+ $$field: string;
5063
+ } | undefined;
5064
+ validation?: {
5065
+ message: TranslationConfig;
5066
+ validator: import(".").JSONSchema;
5067
+ }[] | undefined;
5068
+ required?: boolean | undefined;
5069
+ conditionals?: ({
5070
+ type: "SHOW";
5071
+ conditional: import(".").JSONSchema;
5072
+ } | {
5073
+ type: "ENABLE";
5074
+ conditional: import(".").JSONSchema;
5075
+ } | {
5076
+ type: "DISPLAY_ON_REVIEW";
5077
+ conditional: import(".").JSONSchema;
5078
+ })[] | undefined;
5079
+ secured?: boolean | undefined;
5080
+ placeholder?: TranslationConfig | undefined;
5081
+ helperText?: TranslationConfig | undefined;
5082
+ hideLabel?: boolean | undefined;
5083
+ uncorrectable?: boolean | undefined;
5084
+ defaultValue?: string | undefined;
5085
+ configuration?: {
5086
+ maxLength?: number | undefined;
5087
+ } | undefined;
5088
+ } | {
5089
+ type: "DATE";
5090
+ id: string;
5091
+ label: TranslationConfig;
5092
+ parent?: {
5093
+ $$field: string;
5094
+ } | undefined;
5095
+ validation?: {
5096
+ message: TranslationConfig;
5097
+ validator: import(".").JSONSchema;
5098
+ }[] | undefined;
5099
+ required?: boolean | undefined;
5100
+ conditionals?: ({
5101
+ type: "SHOW";
5102
+ conditional: import(".").JSONSchema;
5103
+ } | {
5104
+ type: "ENABLE";
5105
+ conditional: import(".").JSONSchema;
5106
+ } | {
5107
+ type: "DISPLAY_ON_REVIEW";
5108
+ conditional: import(".").JSONSchema;
5109
+ })[] | undefined;
5110
+ secured?: boolean | undefined;
5111
+ placeholder?: TranslationConfig | undefined;
5112
+ helperText?: TranslationConfig | undefined;
5113
+ hideLabel?: boolean | undefined;
5114
+ uncorrectable?: boolean | undefined;
5115
+ defaultValue?: string | undefined;
4829
5116
  configuration?: {
4830
5117
  notice?: TranslationConfig | undefined;
4831
5118
  } | undefined;
@@ -5167,21 +5454,18 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5167
5454
  name?: {
5168
5455
  firstname?: {
5169
5456
  required: boolean;
5170
- label?: TranslationConfig | undefined;
5171
5457
  } | undefined;
5172
5458
  surname?: {
5173
5459
  required: boolean;
5174
- label?: TranslationConfig | undefined;
5175
5460
  } | undefined;
5176
5461
  middlename?: {
5177
5462
  required: boolean;
5178
- label?: TranslationConfig | undefined;
5179
5463
  } | undefined;
5180
5464
  } | undefined;
5181
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
5182
5465
  maxLength?: number | undefined;
5183
5466
  prefix?: TranslationConfig | undefined;
5184
5467
  postfix?: TranslationConfig | undefined;
5468
+ searchMode?: boolean | undefined;
5185
5469
  } | undefined;
5186
5470
  } | {
5187
5471
  type: "PHONE";
@@ -5514,8 +5798,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5514
5798
  postcodeOrZip?: string | undefined;
5515
5799
  } | undefined;
5516
5800
  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;
5801
+ searchMode?: boolean | undefined;
5519
5802
  } | undefined;
5520
5803
  } | {
5521
5804
  type: "DATA";
@@ -5553,6 +5836,85 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5553
5836
  helperText?: TranslationConfig | undefined;
5554
5837
  hideLabel?: boolean | undefined;
5555
5838
  uncorrectable?: boolean | undefined;
5839
+ } | {
5840
+ type: "BUTTON";
5841
+ id: string;
5842
+ label: TranslationConfig;
5843
+ configuration: {
5844
+ text: TranslationConfig;
5845
+ loading?: boolean | undefined;
5846
+ icon?: string | undefined;
5847
+ };
5848
+ parent?: {
5849
+ $$field: string;
5850
+ } | undefined;
5851
+ validation?: {
5852
+ message: TranslationConfig;
5853
+ validator: import(".").JSONSchema;
5854
+ }[] | undefined;
5855
+ required?: boolean | undefined;
5856
+ conditionals?: ({
5857
+ type: "SHOW";
5858
+ conditional: import(".").JSONSchema;
5859
+ } | {
5860
+ type: "ENABLE";
5861
+ conditional: import(".").JSONSchema;
5862
+ } | {
5863
+ type: "DISPLAY_ON_REVIEW";
5864
+ conditional: import(".").JSONSchema;
5865
+ })[] | undefined;
5866
+ secured?: boolean | undefined;
5867
+ placeholder?: TranslationConfig | undefined;
5868
+ helperText?: TranslationConfig | undefined;
5869
+ hideLabel?: boolean | undefined;
5870
+ uncorrectable?: boolean | undefined;
5871
+ } | {
5872
+ type: "HTTP";
5873
+ id: string;
5874
+ label: TranslationConfig;
5875
+ configuration: {
5876
+ method: "POST" | "DELETE" | "GET" | "PUT";
5877
+ trigger: {
5878
+ $$field: string;
5879
+ };
5880
+ url: string;
5881
+ timeout: number;
5882
+ params?: Record<string, string> | undefined;
5883
+ headers?: Record<string, string> | undefined;
5884
+ body?: Record<string, string> | undefined;
5885
+ };
5886
+ parent?: {
5887
+ $$field: string;
5888
+ } | undefined;
5889
+ validation?: {
5890
+ message: TranslationConfig;
5891
+ validator: import(".").JSONSchema;
5892
+ }[] | undefined;
5893
+ required?: boolean | undefined;
5894
+ conditionals?: ({
5895
+ type: "SHOW";
5896
+ conditional: import(".").JSONSchema;
5897
+ } | {
5898
+ type: "ENABLE";
5899
+ conditional: import(".").JSONSchema;
5900
+ } | {
5901
+ type: "DISPLAY_ON_REVIEW";
5902
+ conditional: import(".").JSONSchema;
5903
+ })[] | undefined;
5904
+ secured?: boolean | undefined;
5905
+ placeholder?: TranslationConfig | undefined;
5906
+ helperText?: TranslationConfig | undefined;
5907
+ hideLabel?: boolean | undefined;
5908
+ uncorrectable?: boolean | undefined;
5909
+ defaultValue?: {
5910
+ error: {
5911
+ message: string;
5912
+ statusCode: number | null;
5913
+ } | null;
5914
+ loading: boolean;
5915
+ data?: any;
5916
+ trackingValue?: string | undefined;
5917
+ } | undefined;
5556
5918
  })[];
5557
5919
  conditional?: import(".").JSONSchema | undefined;
5558
5920
  }, {
@@ -6457,30 +6819,14 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6457
6819
  name?: {
6458
6820
  firstname?: {
6459
6821
  required: boolean;
6460
- label?: {
6461
- id: string;
6462
- description: string;
6463
- defaultMessage: string;
6464
- } | undefined;
6465
6822
  } | undefined;
6466
6823
  surname?: {
6467
6824
  required: boolean;
6468
- label?: {
6469
- id: string;
6470
- description: string;
6471
- defaultMessage: string;
6472
- } | undefined;
6473
6825
  } | undefined;
6474
6826
  middlename?: {
6475
6827
  required: boolean;
6476
- label?: {
6477
- id: string;
6478
- description: string;
6479
- defaultMessage: string;
6480
- } | undefined;
6481
6828
  } | undefined;
6482
6829
  } | undefined;
6483
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
6484
6830
  maxLength?: number | undefined;
6485
6831
  prefix?: {
6486
6832
  id: string;
@@ -6492,6 +6838,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6492
6838
  description: string;
6493
6839
  defaultMessage: string;
6494
6840
  } | undefined;
6841
+ searchMode?: boolean | undefined;
6495
6842
  } | undefined;
6496
6843
  } | {
6497
6844
  type: "PHONE";
@@ -6988,8 +7335,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6988
7335
  postcodeOrZip?: string | undefined;
6989
7336
  } | undefined;
6990
7337
  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;
7338
+ searchMode?: boolean | undefined;
6993
7339
  } | undefined;
6994
7340
  } | {
6995
7341
  type: "DATA";
@@ -7055,73 +7401,188 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
7055
7401
  } | undefined;
7056
7402
  hideLabel?: boolean | undefined;
7057
7403
  uncorrectable?: boolean | undefined;
7058
- })[];
7059
- type?: "FORM" | undefined;
7060
- conditional?: import(".").JSONSchema | undefined;
7061
- }>;
7062
- export type FormPageConfig = z.infer<typeof FormPageConfig>;
7063
- export type FormPageConfigInput = z.input<typeof FormPageConfig>;
7064
- export declare const VerificationActionConfig: z.ZodObject<{
7065
- verify: z.ZodObject<{
7066
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7067
- id: string;
7068
- description: string;
7069
- defaultMessage: string;
7070
- }>;
7071
- }, "strip", z.ZodTypeAny, {
7072
- label: TranslationConfig;
7073
- }, {
7404
+ } | {
7405
+ type: "BUTTON";
7406
+ id: string;
7074
7407
  label: {
7075
7408
  id: string;
7076
7409
  description: string;
7077
7410
  defaultMessage: string;
7078
7411
  };
7079
- }>;
7080
- cancel: z.ZodObject<{
7081
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7082
- id: string;
7083
- description: string;
7084
- defaultMessage: string;
7085
- }>;
7086
- confirmation: z.ZodObject<{
7087
- title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7088
- id: string;
7089
- description: string;
7090
- defaultMessage: string;
7091
- }>;
7092
- body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7093
- id: string;
7094
- description: string;
7095
- defaultMessage: string;
7096
- }>;
7097
- }, "strip", z.ZodTypeAny, {
7098
- title: TranslationConfig;
7099
- body: TranslationConfig;
7100
- }, {
7101
- title: {
7412
+ configuration: {
7413
+ text: {
7102
7414
  id: string;
7103
7415
  description: string;
7104
7416
  defaultMessage: string;
7105
7417
  };
7106
- body: {
7418
+ loading?: boolean | undefined;
7419
+ icon?: string | undefined;
7420
+ };
7421
+ parent?: {
7422
+ $$field: string;
7423
+ } | undefined;
7424
+ validation?: {
7425
+ message: {
7107
7426
  id: string;
7108
7427
  description: string;
7109
7428
  defaultMessage: string;
7110
7429
  };
7111
- }>;
7112
- }, "strip", z.ZodTypeAny, {
7113
- label: TranslationConfig;
7114
- confirmation: {
7115
- title: TranslationConfig;
7116
- body: TranslationConfig;
7117
- };
7118
- }, {
7119
- label: {
7120
- id: string;
7121
- description: string;
7122
- defaultMessage: string;
7123
- };
7124
- confirmation: {
7430
+ validator: import(".").JSONSchema;
7431
+ }[] | undefined;
7432
+ required?: boolean | undefined;
7433
+ conditionals?: ({
7434
+ type: "SHOW";
7435
+ conditional: import(".").JSONSchema;
7436
+ } | {
7437
+ type: "ENABLE";
7438
+ conditional: import(".").JSONSchema;
7439
+ } | {
7440
+ type: "DISPLAY_ON_REVIEW";
7441
+ conditional: import(".").JSONSchema;
7442
+ })[] | undefined;
7443
+ secured?: boolean | undefined;
7444
+ placeholder?: {
7445
+ id: string;
7446
+ description: string;
7447
+ defaultMessage: string;
7448
+ } | undefined;
7449
+ helperText?: {
7450
+ id: string;
7451
+ description: string;
7452
+ defaultMessage: string;
7453
+ } | undefined;
7454
+ hideLabel?: boolean | undefined;
7455
+ uncorrectable?: boolean | undefined;
7456
+ } | {
7457
+ type: "HTTP";
7458
+ id: string;
7459
+ label: {
7460
+ id: string;
7461
+ description: string;
7462
+ defaultMessage: string;
7463
+ };
7464
+ configuration: {
7465
+ method: "POST" | "DELETE" | "GET" | "PUT";
7466
+ trigger: {
7467
+ $$field: string;
7468
+ };
7469
+ url: string;
7470
+ params?: Record<string, string> | undefined;
7471
+ headers?: Record<string, string> | undefined;
7472
+ body?: Record<string, string> | undefined;
7473
+ timeout?: number | undefined;
7474
+ };
7475
+ parent?: {
7476
+ $$field: string;
7477
+ } | undefined;
7478
+ validation?: {
7479
+ message: {
7480
+ id: string;
7481
+ description: string;
7482
+ defaultMessage: string;
7483
+ };
7484
+ validator: import(".").JSONSchema;
7485
+ }[] | undefined;
7486
+ required?: boolean | undefined;
7487
+ conditionals?: ({
7488
+ type: "SHOW";
7489
+ conditional: import(".").JSONSchema;
7490
+ } | {
7491
+ type: "ENABLE";
7492
+ conditional: import(".").JSONSchema;
7493
+ } | {
7494
+ type: "DISPLAY_ON_REVIEW";
7495
+ conditional: import(".").JSONSchema;
7496
+ })[] | undefined;
7497
+ secured?: boolean | undefined;
7498
+ placeholder?: {
7499
+ id: string;
7500
+ description: string;
7501
+ defaultMessage: string;
7502
+ } | undefined;
7503
+ helperText?: {
7504
+ id: string;
7505
+ description: string;
7506
+ defaultMessage: string;
7507
+ } | undefined;
7508
+ hideLabel?: boolean | undefined;
7509
+ uncorrectable?: boolean | undefined;
7510
+ defaultValue?: {
7511
+ error: {
7512
+ message: string;
7513
+ statusCode: number | null;
7514
+ } | null;
7515
+ loading: boolean;
7516
+ data?: any;
7517
+ trackingValue?: string | undefined;
7518
+ } | undefined;
7519
+ })[];
7520
+ type?: "FORM" | undefined;
7521
+ conditional?: import(".").JSONSchema | undefined;
7522
+ }>;
7523
+ export type FormPageConfig = z.infer<typeof FormPageConfig>;
7524
+ export type FormPageConfigInput = z.input<typeof FormPageConfig>;
7525
+ export declare const VerificationActionConfig: z.ZodObject<{
7526
+ verify: z.ZodObject<{
7527
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7528
+ id: string;
7529
+ description: string;
7530
+ defaultMessage: string;
7531
+ }>;
7532
+ }, "strip", z.ZodTypeAny, {
7533
+ label: TranslationConfig;
7534
+ }, {
7535
+ label: {
7536
+ id: string;
7537
+ description: string;
7538
+ defaultMessage: string;
7539
+ };
7540
+ }>;
7541
+ cancel: z.ZodObject<{
7542
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7543
+ id: string;
7544
+ description: string;
7545
+ defaultMessage: string;
7546
+ }>;
7547
+ confirmation: z.ZodObject<{
7548
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7549
+ id: string;
7550
+ description: string;
7551
+ defaultMessage: string;
7552
+ }>;
7553
+ body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7554
+ id: string;
7555
+ description: string;
7556
+ defaultMessage: string;
7557
+ }>;
7558
+ }, "strip", z.ZodTypeAny, {
7559
+ title: TranslationConfig;
7560
+ body: TranslationConfig;
7561
+ }, {
7562
+ title: {
7563
+ id: string;
7564
+ description: string;
7565
+ defaultMessage: string;
7566
+ };
7567
+ body: {
7568
+ id: string;
7569
+ description: string;
7570
+ defaultMessage: string;
7571
+ };
7572
+ }>;
7573
+ }, "strip", z.ZodTypeAny, {
7574
+ label: TranslationConfig;
7575
+ confirmation: {
7576
+ title: TranslationConfig;
7577
+ body: TranslationConfig;
7578
+ };
7579
+ }, {
7580
+ label: {
7581
+ id: string;
7582
+ description: string;
7583
+ defaultMessage: string;
7584
+ };
7585
+ confirmation: {
7125
7586
  title: {
7126
7587
  id: string;
7127
7588
  description: string;
@@ -7229,16 +7690,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7229
7690
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7230
7691
  }, {
7231
7692
  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
7693
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
7243
7694
  country: z.ZodString;
7244
7695
  addressType: z.ZodLiteral<"DOMESTIC">;
@@ -7326,6 +7777,13 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7326
7777
  addressLine3?: string | undefined;
7327
7778
  postcodeOrZip?: string | undefined;
7328
7779
  }>]>>;
7780
+ configuration: z.ZodOptional<z.ZodObject<{
7781
+ searchMode: z.ZodOptional<z.ZodBoolean>;
7782
+ }, "strip", z.ZodTypeAny, {
7783
+ searchMode?: boolean | undefined;
7784
+ }, {
7785
+ searchMode?: boolean | undefined;
7786
+ }>>;
7329
7787
  }>, "strip", z.ZodTypeAny, {
7330
7788
  type: "ADDRESS";
7331
7789
  id: string;
@@ -7383,8 +7841,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7383
7841
  postcodeOrZip?: string | undefined;
7384
7842
  } | undefined;
7385
7843
  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;
7844
+ searchMode?: boolean | undefined;
7388
7845
  } | undefined;
7389
7846
  }, {
7390
7847
  type: "ADDRESS";
@@ -7459,8 +7916,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7459
7916
  postcodeOrZip?: string | undefined;
7460
7917
  } | undefined;
7461
7918
  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;
7919
+ searchMode?: boolean | undefined;
7464
7920
  } | undefined;
7465
7921
  }>, z.ZodObject<z.objectUtil.extendShape<{
7466
7922
  id: z.ZodString;
@@ -9432,98 +9888,46 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9432
9888
  name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
9433
9889
  firstname: z.ZodOptional<z.ZodObject<{
9434
9890
  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
9891
  }, "strip", z.ZodTypeAny, {
9441
9892
  required: boolean;
9442
- label?: TranslationConfig | undefined;
9443
9893
  }, {
9444
9894
  required: boolean;
9445
- label?: {
9446
- id: string;
9447
- description: string;
9448
- defaultMessage: string;
9449
- } | undefined;
9450
9895
  }>>;
9451
9896
  middlename: z.ZodOptional<z.ZodObject<{
9452
9897
  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
9898
  }, "strip", z.ZodTypeAny, {
9459
9899
  required: boolean;
9460
- label?: TranslationConfig | undefined;
9461
9900
  }, {
9462
9901
  required: boolean;
9463
- label?: {
9464
- id: string;
9465
- description: string;
9466
- defaultMessage: string;
9467
- } | undefined;
9468
9902
  }>>;
9469
9903
  surname: z.ZodOptional<z.ZodObject<{
9470
9904
  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
9905
  }, "strip", z.ZodTypeAny, {
9477
9906
  required: boolean;
9478
- label?: TranslationConfig | undefined;
9479
9907
  }, {
9480
9908
  required: boolean;
9481
- label?: {
9482
- id: string;
9483
- description: string;
9484
- defaultMessage: string;
9485
- } | undefined;
9486
9909
  }>>;
9487
9910
  }, "strip", z.ZodTypeAny, {
9488
9911
  firstname?: {
9489
9912
  required: boolean;
9490
- label?: TranslationConfig | undefined;
9491
9913
  } | undefined;
9492
9914
  surname?: {
9493
9915
  required: boolean;
9494
- label?: TranslationConfig | undefined;
9495
9916
  } | undefined;
9496
9917
  middlename?: {
9497
9918
  required: boolean;
9498
- label?: TranslationConfig | undefined;
9499
9919
  } | undefined;
9500
9920
  }, {
9501
9921
  firstname?: {
9502
9922
  required: boolean;
9503
- label?: {
9504
- id: string;
9505
- description: string;
9506
- defaultMessage: string;
9507
- } | undefined;
9508
9923
  } | undefined;
9509
9924
  surname?: {
9510
9925
  required: boolean;
9511
- label?: {
9512
- id: string;
9513
- description: string;
9514
- defaultMessage: string;
9515
- } | undefined;
9516
9926
  } | undefined;
9517
9927
  middlename?: {
9518
9928
  required: boolean;
9519
- label?: {
9520
- id: string;
9521
- description: string;
9522
- defaultMessage: string;
9523
- } | undefined;
9524
9929
  } | undefined;
9525
9930
  }>>>;
9526
- order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
9527
9931
  maxLength: z.ZodOptional<z.ZodNumber>;
9528
9932
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9529
9933
  id: string;
@@ -9535,53 +9939,35 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9535
9939
  description: string;
9536
9940
  defaultMessage: string;
9537
9941
  }>>;
9942
+ searchMode: z.ZodOptional<z.ZodBoolean>;
9538
9943
  }, "strip", z.ZodTypeAny, {
9539
9944
  name?: {
9540
9945
  firstname?: {
9541
9946
  required: boolean;
9542
- label?: TranslationConfig | undefined;
9543
9947
  } | undefined;
9544
9948
  surname?: {
9545
9949
  required: boolean;
9546
- label?: TranslationConfig | undefined;
9547
9950
  } | undefined;
9548
9951
  middlename?: {
9549
9952
  required: boolean;
9550
- label?: TranslationConfig | undefined;
9551
9953
  } | undefined;
9552
9954
  } | undefined;
9553
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9554
9955
  maxLength?: number | undefined;
9555
9956
  prefix?: TranslationConfig | undefined;
9556
9957
  postfix?: TranslationConfig | undefined;
9958
+ searchMode?: boolean | undefined;
9557
9959
  }, {
9558
9960
  name?: {
9559
9961
  firstname?: {
9560
9962
  required: boolean;
9561
- label?: {
9562
- id: string;
9563
- description: string;
9564
- defaultMessage: string;
9565
- } | undefined;
9566
9963
  } | undefined;
9567
9964
  surname?: {
9568
9965
  required: boolean;
9569
- label?: {
9570
- id: string;
9571
- description: string;
9572
- defaultMessage: string;
9573
- } | undefined;
9574
9966
  } | undefined;
9575
9967
  middlename?: {
9576
9968
  required: boolean;
9577
- label?: {
9578
- id: string;
9579
- description: string;
9580
- defaultMessage: string;
9581
- } | undefined;
9582
9969
  } | undefined;
9583
9970
  } | undefined;
9584
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9585
9971
  maxLength?: number | undefined;
9586
9972
  prefix?: {
9587
9973
  id: string;
@@ -9593,6 +9979,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9593
9979
  description: string;
9594
9980
  defaultMessage: string;
9595
9981
  } | undefined;
9982
+ searchMode?: boolean | undefined;
9596
9983
  }>>>;
9597
9984
  }>, "strip", z.ZodTypeAny, {
9598
9985
  type: "NAME";
@@ -9630,21 +10017,18 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9630
10017
  name?: {
9631
10018
  firstname?: {
9632
10019
  required: boolean;
9633
- label?: TranslationConfig | undefined;
9634
10020
  } | undefined;
9635
10021
  surname?: {
9636
10022
  required: boolean;
9637
- label?: TranslationConfig | undefined;
9638
10023
  } | undefined;
9639
10024
  middlename?: {
9640
10025
  required: boolean;
9641
- label?: TranslationConfig | undefined;
9642
10026
  } | undefined;
9643
10027
  } | undefined;
9644
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9645
10028
  maxLength?: number | undefined;
9646
10029
  prefix?: TranslationConfig | undefined;
9647
10030
  postfix?: TranslationConfig | undefined;
10031
+ searchMode?: boolean | undefined;
9648
10032
  } | undefined;
9649
10033
  }, {
9650
10034
  type: "NAME";
@@ -9698,30 +10082,14 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9698
10082
  name?: {
9699
10083
  firstname?: {
9700
10084
  required: boolean;
9701
- label?: {
9702
- id: string;
9703
- description: string;
9704
- defaultMessage: string;
9705
- } | undefined;
9706
10085
  } | undefined;
9707
10086
  surname?: {
9708
10087
  required: boolean;
9709
- label?: {
9710
- id: string;
9711
- description: string;
9712
- defaultMessage: string;
9713
- } | undefined;
9714
10088
  } | undefined;
9715
10089
  middlename?: {
9716
10090
  required: boolean;
9717
- label?: {
9718
- id: string;
9719
- description: string;
9720
- defaultMessage: string;
9721
- } | undefined;
9722
10091
  } | undefined;
9723
10092
  } | undefined;
9724
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9725
10093
  maxLength?: number | undefined;
9726
10094
  prefix?: {
9727
10095
  id: string;
@@ -9733,6 +10101,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9733
10101
  description: string;
9734
10102
  defaultMessage: string;
9735
10103
  } | undefined;
10104
+ searchMode?: boolean | undefined;
9736
10105
  } | undefined;
9737
10106
  }>, z.ZodObject<z.objectUtil.extendShape<{
9738
10107
  id: z.ZodString;
@@ -11599,86 +11968,457 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11599
11968
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11600
11969
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11601
11970
  }, {
11602
- type: z.ZodLiteral<"DATA">;
11603
- configuration: z.ZodObject<{
11604
- subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11605
- id: string;
11606
- description: string;
11607
- defaultMessage: string;
11608
- }>>;
11609
- data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
11610
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11611
- id: string;
11612
- description: string;
11613
- defaultMessage: string;
11614
- }>;
11615
- value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11616
- id: string;
11617
- description: string;
11618
- defaultMessage: string;
11619
- }>, z.ZodString]>;
11971
+ type: z.ZodLiteral<"DATA">;
11972
+ configuration: z.ZodObject<{
11973
+ subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11974
+ id: string;
11975
+ description: string;
11976
+ defaultMessage: string;
11977
+ }>>;
11978
+ data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
11979
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11980
+ id: string;
11981
+ description: string;
11982
+ defaultMessage: string;
11983
+ }>;
11984
+ value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11985
+ id: string;
11986
+ description: string;
11987
+ defaultMessage: string;
11988
+ }>, z.ZodString]>;
11989
+ }, "strip", z.ZodTypeAny, {
11990
+ value: string | TranslationConfig;
11991
+ label: TranslationConfig;
11992
+ }, {
11993
+ value: string | {
11994
+ id: string;
11995
+ description: string;
11996
+ defaultMessage: string;
11997
+ };
11998
+ label: {
11999
+ id: string;
12000
+ description: string;
12001
+ defaultMessage: string;
12002
+ };
12003
+ }>, z.ZodObject<{
12004
+ fieldId: z.ZodString;
12005
+ }, "strip", z.ZodTypeAny, {
12006
+ fieldId: string;
12007
+ }, {
12008
+ fieldId: string;
12009
+ }>]>, "many">;
12010
+ }, "strip", z.ZodTypeAny, {
12011
+ data: ({
12012
+ value: string | TranslationConfig;
12013
+ label: TranslationConfig;
12014
+ } | {
12015
+ fieldId: string;
12016
+ })[];
12017
+ subtitle?: TranslationConfig | undefined;
12018
+ }, {
12019
+ data: ({
12020
+ value: string | {
12021
+ id: string;
12022
+ description: string;
12023
+ defaultMessage: string;
12024
+ };
12025
+ label: {
12026
+ id: string;
12027
+ description: string;
12028
+ defaultMessage: string;
12029
+ };
12030
+ } | {
12031
+ fieldId: string;
12032
+ })[];
12033
+ subtitle?: {
12034
+ id: string;
12035
+ description: string;
12036
+ defaultMessage: string;
12037
+ } | undefined;
12038
+ }>;
12039
+ }>, "strip", z.ZodTypeAny, {
12040
+ type: "DATA";
12041
+ id: string;
12042
+ label: TranslationConfig;
12043
+ configuration: {
12044
+ data: ({
12045
+ value: string | TranslationConfig;
12046
+ label: TranslationConfig;
12047
+ } | {
12048
+ fieldId: string;
12049
+ })[];
12050
+ subtitle?: TranslationConfig | undefined;
12051
+ };
12052
+ parent?: {
12053
+ $$field: string;
12054
+ } | undefined;
12055
+ validation?: {
12056
+ message: TranslationConfig;
12057
+ validator: import(".").JSONSchema;
12058
+ }[] | undefined;
12059
+ required?: boolean | undefined;
12060
+ conditionals?: ({
12061
+ type: "SHOW";
12062
+ conditional: import(".").JSONSchema;
12063
+ } | {
12064
+ type: "ENABLE";
12065
+ conditional: import(".").JSONSchema;
12066
+ } | {
12067
+ type: "DISPLAY_ON_REVIEW";
12068
+ conditional: import(".").JSONSchema;
12069
+ })[] | undefined;
12070
+ secured?: boolean | undefined;
12071
+ placeholder?: TranslationConfig | undefined;
12072
+ helperText?: TranslationConfig | undefined;
12073
+ hideLabel?: boolean | undefined;
12074
+ uncorrectable?: boolean | undefined;
12075
+ }, {
12076
+ type: "DATA";
12077
+ id: string;
12078
+ label: {
12079
+ id: string;
12080
+ description: string;
12081
+ defaultMessage: string;
12082
+ };
12083
+ configuration: {
12084
+ data: ({
12085
+ value: string | {
12086
+ id: string;
12087
+ description: string;
12088
+ defaultMessage: string;
12089
+ };
12090
+ label: {
12091
+ id: string;
12092
+ description: string;
12093
+ defaultMessage: string;
12094
+ };
12095
+ } | {
12096
+ fieldId: string;
12097
+ })[];
12098
+ subtitle?: {
12099
+ id: string;
12100
+ description: string;
12101
+ defaultMessage: string;
12102
+ } | undefined;
12103
+ };
12104
+ parent?: {
12105
+ $$field: string;
12106
+ } | undefined;
12107
+ validation?: {
12108
+ message: {
12109
+ id: string;
12110
+ description: string;
12111
+ defaultMessage: string;
12112
+ };
12113
+ validator: import(".").JSONSchema;
12114
+ }[] | undefined;
12115
+ required?: boolean | undefined;
12116
+ conditionals?: ({
12117
+ type: "SHOW";
12118
+ conditional: import(".").JSONSchema;
12119
+ } | {
12120
+ type: "ENABLE";
12121
+ conditional: import(".").JSONSchema;
12122
+ } | {
12123
+ type: "DISPLAY_ON_REVIEW";
12124
+ conditional: import(".").JSONSchema;
12125
+ })[] | undefined;
12126
+ secured?: boolean | undefined;
12127
+ placeholder?: {
12128
+ id: string;
12129
+ description: string;
12130
+ defaultMessage: string;
12131
+ } | undefined;
12132
+ helperText?: {
12133
+ id: string;
12134
+ description: string;
12135
+ defaultMessage: string;
12136
+ } | undefined;
12137
+ hideLabel?: boolean | undefined;
12138
+ uncorrectable?: boolean | undefined;
12139
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12140
+ id: z.ZodString;
12141
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12142
+ id: string;
12143
+ description: string;
12144
+ defaultMessage: string;
12145
+ }>;
12146
+ parent: z.ZodOptional<z.ZodObject<{
12147
+ $$field: z.ZodString;
12148
+ }, "strip", z.ZodTypeAny, {
12149
+ $$field: string;
12150
+ }, {
12151
+ $$field: string;
12152
+ }>>;
12153
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12154
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
12155
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12156
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12157
+ id: string;
12158
+ description: string;
12159
+ defaultMessage: string;
12160
+ }>>;
12161
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
12162
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
12163
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12164
+ id: string;
12165
+ description: string;
12166
+ defaultMessage: string;
12167
+ }>;
12168
+ }, "strip", z.ZodTypeAny, {
12169
+ message: TranslationConfig;
12170
+ validator: import(".").JSONSchema;
12171
+ }, {
12172
+ message: {
12173
+ id: string;
12174
+ description: string;
12175
+ defaultMessage: string;
12176
+ };
12177
+ validator: import(".").JSONSchema;
12178
+ }>, "many">>>;
12179
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12180
+ id: string;
12181
+ description: string;
12182
+ defaultMessage: string;
12183
+ }>>;
12184
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12185
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12186
+ }, {
12187
+ type: z.ZodLiteral<"BUTTON">;
12188
+ configuration: z.ZodObject<{
12189
+ icon: z.ZodOptional<z.ZodString>;
12190
+ loading: z.ZodOptional<z.ZodBoolean>;
12191
+ text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12192
+ id: string;
12193
+ description: string;
12194
+ defaultMessage: string;
12195
+ }>;
12196
+ }, "strip", z.ZodTypeAny, {
12197
+ text: TranslationConfig;
12198
+ loading?: boolean | undefined;
12199
+ icon?: string | undefined;
12200
+ }, {
12201
+ text: {
12202
+ id: string;
12203
+ description: string;
12204
+ defaultMessage: string;
12205
+ };
12206
+ loading?: boolean | undefined;
12207
+ icon?: string | undefined;
12208
+ }>;
12209
+ }>, "strip", z.ZodTypeAny, {
12210
+ type: "BUTTON";
12211
+ id: string;
12212
+ label: TranslationConfig;
12213
+ configuration: {
12214
+ text: TranslationConfig;
12215
+ loading?: boolean | undefined;
12216
+ icon?: string | undefined;
12217
+ };
12218
+ parent?: {
12219
+ $$field: string;
12220
+ } | undefined;
12221
+ validation?: {
12222
+ message: TranslationConfig;
12223
+ validator: import(".").JSONSchema;
12224
+ }[] | undefined;
12225
+ required?: boolean | undefined;
12226
+ conditionals?: ({
12227
+ type: "SHOW";
12228
+ conditional: import(".").JSONSchema;
12229
+ } | {
12230
+ type: "ENABLE";
12231
+ conditional: import(".").JSONSchema;
12232
+ } | {
12233
+ type: "DISPLAY_ON_REVIEW";
12234
+ conditional: import(".").JSONSchema;
12235
+ })[] | undefined;
12236
+ secured?: boolean | undefined;
12237
+ placeholder?: TranslationConfig | undefined;
12238
+ helperText?: TranslationConfig | undefined;
12239
+ hideLabel?: boolean | undefined;
12240
+ uncorrectable?: boolean | undefined;
12241
+ }, {
12242
+ type: "BUTTON";
12243
+ id: string;
12244
+ label: {
12245
+ id: string;
12246
+ description: string;
12247
+ defaultMessage: string;
12248
+ };
12249
+ configuration: {
12250
+ text: {
12251
+ id: string;
12252
+ description: string;
12253
+ defaultMessage: string;
12254
+ };
12255
+ loading?: boolean | undefined;
12256
+ icon?: string | undefined;
12257
+ };
12258
+ parent?: {
12259
+ $$field: string;
12260
+ } | undefined;
12261
+ validation?: {
12262
+ message: {
12263
+ id: string;
12264
+ description: string;
12265
+ defaultMessage: string;
12266
+ };
12267
+ validator: import(".").JSONSchema;
12268
+ }[] | undefined;
12269
+ required?: boolean | undefined;
12270
+ conditionals?: ({
12271
+ type: "SHOW";
12272
+ conditional: import(".").JSONSchema;
12273
+ } | {
12274
+ type: "ENABLE";
12275
+ conditional: import(".").JSONSchema;
12276
+ } | {
12277
+ type: "DISPLAY_ON_REVIEW";
12278
+ conditional: import(".").JSONSchema;
12279
+ })[] | undefined;
12280
+ secured?: boolean | undefined;
12281
+ placeholder?: {
12282
+ id: string;
12283
+ description: string;
12284
+ defaultMessage: string;
12285
+ } | undefined;
12286
+ helperText?: {
12287
+ id: string;
12288
+ description: string;
12289
+ defaultMessage: string;
12290
+ } | undefined;
12291
+ hideLabel?: boolean | undefined;
12292
+ uncorrectable?: boolean | undefined;
12293
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12294
+ id: z.ZodString;
12295
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12296
+ id: string;
12297
+ description: string;
12298
+ defaultMessage: string;
12299
+ }>;
12300
+ parent: z.ZodOptional<z.ZodObject<{
12301
+ $$field: z.ZodString;
12302
+ }, "strip", z.ZodTypeAny, {
12303
+ $$field: string;
12304
+ }, {
12305
+ $$field: string;
12306
+ }>>;
12307
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12308
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
12309
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12310
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12311
+ id: string;
12312
+ description: string;
12313
+ defaultMessage: string;
12314
+ }>>;
12315
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
12316
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
12317
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12318
+ id: string;
12319
+ description: string;
12320
+ defaultMessage: string;
12321
+ }>;
12322
+ }, "strip", z.ZodTypeAny, {
12323
+ message: TranslationConfig;
12324
+ validator: import(".").JSONSchema;
12325
+ }, {
12326
+ message: {
12327
+ id: string;
12328
+ description: string;
12329
+ defaultMessage: string;
12330
+ };
12331
+ validator: import(".").JSONSchema;
12332
+ }>, "many">>>;
12333
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
12334
+ id: string;
12335
+ description: string;
12336
+ defaultMessage: string;
12337
+ }>>;
12338
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12339
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12340
+ }, {
12341
+ type: z.ZodLiteral<"HTTP">;
12342
+ defaultValue: z.ZodOptional<z.ZodObject<{
12343
+ loading: z.ZodBoolean;
12344
+ error: z.ZodNullable<z.ZodObject<{
12345
+ statusCode: z.ZodNullable<z.ZodNumber>;
12346
+ message: z.ZodString;
11620
12347
  }, "strip", z.ZodTypeAny, {
11621
- value: string | TranslationConfig;
11622
- label: TranslationConfig;
12348
+ message: string;
12349
+ statusCode: number | null;
11623
12350
  }, {
11624
- value: string | {
11625
- id: string;
11626
- description: string;
11627
- defaultMessage: string;
11628
- };
11629
- label: {
11630
- id: string;
11631
- description: string;
11632
- defaultMessage: string;
11633
- };
11634
- }>, z.ZodObject<{
11635
- fieldId: z.ZodString;
12351
+ message: string;
12352
+ statusCode: number | null;
12353
+ }>>;
12354
+ data: z.ZodAny;
12355
+ trackingValue: z.ZodOptional<z.ZodString>;
12356
+ }, "strip", z.ZodTypeAny, {
12357
+ error: {
12358
+ message: string;
12359
+ statusCode: number | null;
12360
+ } | null;
12361
+ loading: boolean;
12362
+ data?: any;
12363
+ trackingValue?: string | undefined;
12364
+ }, {
12365
+ error: {
12366
+ message: string;
12367
+ statusCode: number | null;
12368
+ } | null;
12369
+ loading: boolean;
12370
+ data?: any;
12371
+ trackingValue?: string | undefined;
12372
+ }>>;
12373
+ configuration: z.ZodObject<{
12374
+ trigger: z.ZodObject<{
12375
+ $$field: z.ZodString;
11636
12376
  }, "strip", z.ZodTypeAny, {
11637
- fieldId: string;
12377
+ $$field: string;
11638
12378
  }, {
11639
- fieldId: string;
11640
- }>]>, "many">;
11641
- }, "strip", z.ZodTypeAny, {
11642
- data: ({
11643
- value: string | TranslationConfig;
11644
- label: TranslationConfig;
11645
- } | {
11646
- fieldId: string;
11647
- })[];
11648
- subtitle?: TranslationConfig | undefined;
11649
- }, {
11650
- data: ({
11651
- value: string | {
11652
- id: string;
11653
- description: string;
11654
- defaultMessage: string;
11655
- };
11656
- label: {
11657
- id: string;
11658
- description: string;
11659
- defaultMessage: string;
11660
- };
11661
- } | {
11662
- fieldId: string;
11663
- })[];
11664
- subtitle?: {
11665
- id: string;
11666
- description: string;
11667
- defaultMessage: string;
11668
- } | undefined;
12379
+ $$field: string;
12380
+ }>;
12381
+ url: z.ZodString;
12382
+ method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
12383
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12384
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12385
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12386
+ timeout: z.ZodDefault<z.ZodNumber>;
12387
+ }, "strip", z.ZodTypeAny, {
12388
+ method: "POST" | "DELETE" | "GET" | "PUT";
12389
+ trigger: {
12390
+ $$field: string;
12391
+ };
12392
+ url: string;
12393
+ timeout: number;
12394
+ params?: Record<string, string> | undefined;
12395
+ headers?: Record<string, string> | undefined;
12396
+ body?: Record<string, string> | undefined;
12397
+ }, {
12398
+ method: "POST" | "DELETE" | "GET" | "PUT";
12399
+ trigger: {
12400
+ $$field: string;
12401
+ };
12402
+ url: string;
12403
+ params?: Record<string, string> | undefined;
12404
+ headers?: Record<string, string> | undefined;
12405
+ body?: Record<string, string> | undefined;
12406
+ timeout?: number | undefined;
11669
12407
  }>;
11670
12408
  }>, "strip", z.ZodTypeAny, {
11671
- type: "DATA";
12409
+ type: "HTTP";
11672
12410
  id: string;
11673
12411
  label: TranslationConfig;
11674
12412
  configuration: {
11675
- data: ({
11676
- value: string | TranslationConfig;
11677
- label: TranslationConfig;
11678
- } | {
11679
- fieldId: string;
11680
- })[];
11681
- subtitle?: TranslationConfig | undefined;
12413
+ method: "POST" | "DELETE" | "GET" | "PUT";
12414
+ trigger: {
12415
+ $$field: string;
12416
+ };
12417
+ url: string;
12418
+ timeout: number;
12419
+ params?: Record<string, string> | undefined;
12420
+ headers?: Record<string, string> | undefined;
12421
+ body?: Record<string, string> | undefined;
11682
12422
  };
11683
12423
  parent?: {
11684
12424
  $$field: string;
@@ -11703,8 +12443,17 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11703
12443
  helperText?: TranslationConfig | undefined;
11704
12444
  hideLabel?: boolean | undefined;
11705
12445
  uncorrectable?: boolean | undefined;
12446
+ defaultValue?: {
12447
+ error: {
12448
+ message: string;
12449
+ statusCode: number | null;
12450
+ } | null;
12451
+ loading: boolean;
12452
+ data?: any;
12453
+ trackingValue?: string | undefined;
12454
+ } | undefined;
11706
12455
  }, {
11707
- type: "DATA";
12456
+ type: "HTTP";
11708
12457
  id: string;
11709
12458
  label: {
11710
12459
  id: string;
@@ -11712,25 +12461,15 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11712
12461
  defaultMessage: string;
11713
12462
  };
11714
12463
  configuration: {
11715
- data: ({
11716
- value: string | {
11717
- id: string;
11718
- description: string;
11719
- defaultMessage: string;
11720
- };
11721
- label: {
11722
- id: string;
11723
- description: string;
11724
- defaultMessage: string;
11725
- };
11726
- } | {
11727
- fieldId: string;
11728
- })[];
11729
- subtitle?: {
11730
- id: string;
11731
- description: string;
11732
- defaultMessage: string;
11733
- } | undefined;
12464
+ method: "POST" | "DELETE" | "GET" | "PUT";
12465
+ trigger: {
12466
+ $$field: string;
12467
+ };
12468
+ url: string;
12469
+ params?: Record<string, string> | undefined;
12470
+ headers?: Record<string, string> | undefined;
12471
+ body?: Record<string, string> | undefined;
12472
+ timeout?: number | undefined;
11734
12473
  };
11735
12474
  parent?: {
11736
12475
  $$field: string;
@@ -11767,6 +12506,15 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
11767
12506
  } | undefined;
11768
12507
  hideLabel?: boolean | undefined;
11769
12508
  uncorrectable?: boolean | undefined;
12509
+ defaultValue?: {
12510
+ error: {
12511
+ message: string;
12512
+ statusCode: number | null;
12513
+ } | null;
12514
+ loading: boolean;
12515
+ data?: any;
12516
+ trackingValue?: string | undefined;
12517
+ } | undefined;
11770
12518
  }>]>, "many">;
11771
12519
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
11772
12520
  }, {
@@ -12464,21 +13212,18 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12464
13212
  name?: {
12465
13213
  firstname?: {
12466
13214
  required: boolean;
12467
- label?: TranslationConfig | undefined;
12468
13215
  } | undefined;
12469
13216
  surname?: {
12470
13217
  required: boolean;
12471
- label?: TranslationConfig | undefined;
12472
13218
  } | undefined;
12473
13219
  middlename?: {
12474
13220
  required: boolean;
12475
- label?: TranslationConfig | undefined;
12476
13221
  } | undefined;
12477
13222
  } | undefined;
12478
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
12479
13223
  maxLength?: number | undefined;
12480
13224
  prefix?: TranslationConfig | undefined;
12481
13225
  postfix?: TranslationConfig | undefined;
13226
+ searchMode?: boolean | undefined;
12482
13227
  } | undefined;
12483
13228
  } | {
12484
13229
  type: "PHONE";
@@ -12811,8 +13556,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12811
13556
  postcodeOrZip?: string | undefined;
12812
13557
  } | undefined;
12813
13558
  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;
13559
+ searchMode?: boolean | undefined;
12816
13560
  } | undefined;
12817
13561
  } | {
12818
13562
  type: "DATA";
@@ -12850,6 +13594,85 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12850
13594
  helperText?: TranslationConfig | undefined;
12851
13595
  hideLabel?: boolean | undefined;
12852
13596
  uncorrectable?: boolean | undefined;
13597
+ } | {
13598
+ type: "BUTTON";
13599
+ id: string;
13600
+ label: TranslationConfig;
13601
+ configuration: {
13602
+ text: TranslationConfig;
13603
+ loading?: boolean | undefined;
13604
+ icon?: string | undefined;
13605
+ };
13606
+ parent?: {
13607
+ $$field: string;
13608
+ } | undefined;
13609
+ validation?: {
13610
+ message: TranslationConfig;
13611
+ validator: import(".").JSONSchema;
13612
+ }[] | undefined;
13613
+ required?: boolean | undefined;
13614
+ conditionals?: ({
13615
+ type: "SHOW";
13616
+ conditional: import(".").JSONSchema;
13617
+ } | {
13618
+ type: "ENABLE";
13619
+ conditional: import(".").JSONSchema;
13620
+ } | {
13621
+ type: "DISPLAY_ON_REVIEW";
13622
+ conditional: import(".").JSONSchema;
13623
+ })[] | undefined;
13624
+ secured?: boolean | undefined;
13625
+ placeholder?: TranslationConfig | undefined;
13626
+ helperText?: TranslationConfig | undefined;
13627
+ hideLabel?: boolean | undefined;
13628
+ uncorrectable?: boolean | undefined;
13629
+ } | {
13630
+ type: "HTTP";
13631
+ id: string;
13632
+ label: TranslationConfig;
13633
+ configuration: {
13634
+ method: "POST" | "DELETE" | "GET" | "PUT";
13635
+ trigger: {
13636
+ $$field: string;
13637
+ };
13638
+ url: string;
13639
+ timeout: number;
13640
+ params?: Record<string, string> | undefined;
13641
+ headers?: Record<string, string> | undefined;
13642
+ body?: Record<string, string> | undefined;
13643
+ };
13644
+ parent?: {
13645
+ $$field: string;
13646
+ } | undefined;
13647
+ validation?: {
13648
+ message: TranslationConfig;
13649
+ validator: import(".").JSONSchema;
13650
+ }[] | undefined;
13651
+ required?: boolean | undefined;
13652
+ conditionals?: ({
13653
+ type: "SHOW";
13654
+ conditional: import(".").JSONSchema;
13655
+ } | {
13656
+ type: "ENABLE";
13657
+ conditional: import(".").JSONSchema;
13658
+ } | {
13659
+ type: "DISPLAY_ON_REVIEW";
13660
+ conditional: import(".").JSONSchema;
13661
+ })[] | undefined;
13662
+ secured?: boolean | undefined;
13663
+ placeholder?: TranslationConfig | undefined;
13664
+ helperText?: TranslationConfig | undefined;
13665
+ hideLabel?: boolean | undefined;
13666
+ uncorrectable?: boolean | undefined;
13667
+ defaultValue?: {
13668
+ error: {
13669
+ message: string;
13670
+ statusCode: number | null;
13671
+ } | null;
13672
+ loading: boolean;
13673
+ data?: any;
13674
+ trackingValue?: string | undefined;
13675
+ } | undefined;
12853
13676
  })[];
12854
13677
  conditional?: import(".").JSONSchema | undefined;
12855
13678
  }, {
@@ -13783,30 +14606,14 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
13783
14606
  name?: {
13784
14607
  firstname?: {
13785
14608
  required: boolean;
13786
- label?: {
13787
- id: string;
13788
- description: string;
13789
- defaultMessage: string;
13790
- } | undefined;
13791
14609
  } | undefined;
13792
14610
  surname?: {
13793
14611
  required: boolean;
13794
- label?: {
13795
- id: string;
13796
- description: string;
13797
- defaultMessage: string;
13798
- } | undefined;
13799
14612
  } | undefined;
13800
14613
  middlename?: {
13801
14614
  required: boolean;
13802
- label?: {
13803
- id: string;
13804
- description: string;
13805
- defaultMessage: string;
13806
- } | undefined;
13807
14615
  } | undefined;
13808
14616
  } | undefined;
13809
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
13810
14617
  maxLength?: number | undefined;
13811
14618
  prefix?: {
13812
14619
  id: string;
@@ -13818,6 +14625,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
13818
14625
  description: string;
13819
14626
  defaultMessage: string;
13820
14627
  } | undefined;
14628
+ searchMode?: boolean | undefined;
13821
14629
  } | undefined;
13822
14630
  } | {
13823
14631
  type: "PHONE";
@@ -14314,8 +15122,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
14314
15122
  postcodeOrZip?: string | undefined;
14315
15123
  } | undefined;
14316
15124
  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;
15125
+ searchMode?: boolean | undefined;
14319
15126
  } | undefined;
14320
15127
  } | {
14321
15128
  type: "DATA";
@@ -14381,6 +15188,121 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
14381
15188
  } | undefined;
14382
15189
  hideLabel?: boolean | undefined;
14383
15190
  uncorrectable?: boolean | undefined;
15191
+ } | {
15192
+ type: "BUTTON";
15193
+ id: string;
15194
+ label: {
15195
+ id: string;
15196
+ description: string;
15197
+ defaultMessage: string;
15198
+ };
15199
+ configuration: {
15200
+ text: {
15201
+ id: string;
15202
+ description: string;
15203
+ defaultMessage: string;
15204
+ };
15205
+ loading?: boolean | undefined;
15206
+ icon?: string | undefined;
15207
+ };
15208
+ parent?: {
15209
+ $$field: string;
15210
+ } | undefined;
15211
+ validation?: {
15212
+ message: {
15213
+ id: string;
15214
+ description: string;
15215
+ defaultMessage: string;
15216
+ };
15217
+ validator: import(".").JSONSchema;
15218
+ }[] | undefined;
15219
+ required?: boolean | undefined;
15220
+ conditionals?: ({
15221
+ type: "SHOW";
15222
+ conditional: import(".").JSONSchema;
15223
+ } | {
15224
+ type: "ENABLE";
15225
+ conditional: import(".").JSONSchema;
15226
+ } | {
15227
+ type: "DISPLAY_ON_REVIEW";
15228
+ conditional: import(".").JSONSchema;
15229
+ })[] | undefined;
15230
+ secured?: boolean | undefined;
15231
+ placeholder?: {
15232
+ id: string;
15233
+ description: string;
15234
+ defaultMessage: string;
15235
+ } | undefined;
15236
+ helperText?: {
15237
+ id: string;
15238
+ description: string;
15239
+ defaultMessage: string;
15240
+ } | undefined;
15241
+ hideLabel?: boolean | undefined;
15242
+ uncorrectable?: boolean | undefined;
15243
+ } | {
15244
+ type: "HTTP";
15245
+ id: string;
15246
+ label: {
15247
+ id: string;
15248
+ description: string;
15249
+ defaultMessage: string;
15250
+ };
15251
+ configuration: {
15252
+ method: "POST" | "DELETE" | "GET" | "PUT";
15253
+ trigger: {
15254
+ $$field: string;
15255
+ };
15256
+ url: string;
15257
+ params?: Record<string, string> | undefined;
15258
+ headers?: Record<string, string> | undefined;
15259
+ body?: Record<string, string> | undefined;
15260
+ timeout?: number | undefined;
15261
+ };
15262
+ parent?: {
15263
+ $$field: string;
15264
+ } | undefined;
15265
+ validation?: {
15266
+ message: {
15267
+ id: string;
15268
+ description: string;
15269
+ defaultMessage: string;
15270
+ };
15271
+ validator: import(".").JSONSchema;
15272
+ }[] | undefined;
15273
+ required?: boolean | undefined;
15274
+ conditionals?: ({
15275
+ type: "SHOW";
15276
+ conditional: import(".").JSONSchema;
15277
+ } | {
15278
+ type: "ENABLE";
15279
+ conditional: import(".").JSONSchema;
15280
+ } | {
15281
+ type: "DISPLAY_ON_REVIEW";
15282
+ conditional: import(".").JSONSchema;
15283
+ })[] | undefined;
15284
+ secured?: boolean | undefined;
15285
+ placeholder?: {
15286
+ id: string;
15287
+ description: string;
15288
+ defaultMessage: string;
15289
+ } | undefined;
15290
+ helperText?: {
15291
+ id: string;
15292
+ description: string;
15293
+ defaultMessage: string;
15294
+ } | undefined;
15295
+ hideLabel?: boolean | undefined;
15296
+ uncorrectable?: boolean | undefined;
15297
+ defaultValue?: {
15298
+ error: {
15299
+ message: string;
15300
+ statusCode: number | null;
15301
+ } | null;
15302
+ loading: boolean;
15303
+ data?: any;
15304
+ trackingValue?: string | undefined;
15305
+ } | undefined;
14384
15306
  })[];
14385
15307
  conditional?: import(".").JSONSchema | undefined;
14386
15308
  }>;