@opencrvs/toolkit 1.8.1-rc.ebf61ab → 1.8.1-rc.ee55691

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;
@@ -5167,21 +5075,18 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5167
5075
  name?: {
5168
5076
  firstname?: {
5169
5077
  required: boolean;
5170
- label?: TranslationConfig | undefined;
5171
5078
  } | undefined;
5172
5079
  surname?: {
5173
5080
  required: boolean;
5174
- label?: TranslationConfig | undefined;
5175
5081
  } | undefined;
5176
5082
  middlename?: {
5177
5083
  required: boolean;
5178
- label?: TranslationConfig | undefined;
5179
5084
  } | undefined;
5180
5085
  } | undefined;
5181
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
5182
5086
  maxLength?: number | undefined;
5183
5087
  prefix?: TranslationConfig | undefined;
5184
5088
  postfix?: TranslationConfig | undefined;
5089
+ searchMode?: boolean | undefined;
5185
5090
  } | undefined;
5186
5091
  } | {
5187
5092
  type: "PHONE";
@@ -5514,8 +5419,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5514
5419
  postcodeOrZip?: string | undefined;
5515
5420
  } | undefined;
5516
5421
  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;
5422
+ searchMode?: boolean | undefined;
5519
5423
  } | undefined;
5520
5424
  } | {
5521
5425
  type: "DATA";
@@ -6457,30 +6361,14 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6457
6361
  name?: {
6458
6362
  firstname?: {
6459
6363
  required: boolean;
6460
- label?: {
6461
- id: string;
6462
- description: string;
6463
- defaultMessage: string;
6464
- } | undefined;
6465
6364
  } | undefined;
6466
6365
  surname?: {
6467
6366
  required: boolean;
6468
- label?: {
6469
- id: string;
6470
- description: string;
6471
- defaultMessage: string;
6472
- } | undefined;
6473
6367
  } | undefined;
6474
6368
  middlename?: {
6475
6369
  required: boolean;
6476
- label?: {
6477
- id: string;
6478
- description: string;
6479
- defaultMessage: string;
6480
- } | undefined;
6481
6370
  } | undefined;
6482
6371
  } | undefined;
6483
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
6484
6372
  maxLength?: number | undefined;
6485
6373
  prefix?: {
6486
6374
  id: string;
@@ -6492,6 +6380,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6492
6380
  description: string;
6493
6381
  defaultMessage: string;
6494
6382
  } | undefined;
6383
+ searchMode?: boolean | undefined;
6495
6384
  } | undefined;
6496
6385
  } | {
6497
6386
  type: "PHONE";
@@ -6988,8 +6877,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6988
6877
  postcodeOrZip?: string | undefined;
6989
6878
  } | undefined;
6990
6879
  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;
6880
+ searchMode?: boolean | undefined;
6993
6881
  } | undefined;
6994
6882
  } | {
6995
6883
  type: "DATA";
@@ -7229,16 +7117,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7229
7117
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7230
7118
  }, {
7231
7119
  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
7120
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
7243
7121
  country: z.ZodString;
7244
7122
  addressType: z.ZodLiteral<"DOMESTIC">;
@@ -7326,6 +7204,13 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7326
7204
  addressLine3?: string | undefined;
7327
7205
  postcodeOrZip?: string | undefined;
7328
7206
  }>]>>;
7207
+ configuration: z.ZodOptional<z.ZodObject<{
7208
+ searchMode: z.ZodOptional<z.ZodBoolean>;
7209
+ }, "strip", z.ZodTypeAny, {
7210
+ searchMode?: boolean | undefined;
7211
+ }, {
7212
+ searchMode?: boolean | undefined;
7213
+ }>>;
7329
7214
  }>, "strip", z.ZodTypeAny, {
7330
7215
  type: "ADDRESS";
7331
7216
  id: string;
@@ -7383,8 +7268,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7383
7268
  postcodeOrZip?: string | undefined;
7384
7269
  } | undefined;
7385
7270
  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;
7271
+ searchMode?: boolean | undefined;
7388
7272
  } | undefined;
7389
7273
  }, {
7390
7274
  type: "ADDRESS";
@@ -7459,8 +7343,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7459
7343
  postcodeOrZip?: string | undefined;
7460
7344
  } | undefined;
7461
7345
  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;
7346
+ searchMode?: boolean | undefined;
7464
7347
  } | undefined;
7465
7348
  }>, z.ZodObject<z.objectUtil.extendShape<{
7466
7349
  id: z.ZodString;
@@ -9432,98 +9315,46 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9432
9315
  name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
9433
9316
  firstname: z.ZodOptional<z.ZodObject<{
9434
9317
  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
9318
  }, "strip", z.ZodTypeAny, {
9441
9319
  required: boolean;
9442
- label?: TranslationConfig | undefined;
9443
9320
  }, {
9444
9321
  required: boolean;
9445
- label?: {
9446
- id: string;
9447
- description: string;
9448
- defaultMessage: string;
9449
- } | undefined;
9450
9322
  }>>;
9451
9323
  middlename: z.ZodOptional<z.ZodObject<{
9452
9324
  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
9325
  }, "strip", z.ZodTypeAny, {
9459
9326
  required: boolean;
9460
- label?: TranslationConfig | undefined;
9461
9327
  }, {
9462
9328
  required: boolean;
9463
- label?: {
9464
- id: string;
9465
- description: string;
9466
- defaultMessage: string;
9467
- } | undefined;
9468
9329
  }>>;
9469
9330
  surname: z.ZodOptional<z.ZodObject<{
9470
9331
  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
9332
  }, "strip", z.ZodTypeAny, {
9477
9333
  required: boolean;
9478
- label?: TranslationConfig | undefined;
9479
9334
  }, {
9480
9335
  required: boolean;
9481
- label?: {
9482
- id: string;
9483
- description: string;
9484
- defaultMessage: string;
9485
- } | undefined;
9486
9336
  }>>;
9487
9337
  }, "strip", z.ZodTypeAny, {
9488
9338
  firstname?: {
9489
9339
  required: boolean;
9490
- label?: TranslationConfig | undefined;
9491
9340
  } | undefined;
9492
9341
  surname?: {
9493
9342
  required: boolean;
9494
- label?: TranslationConfig | undefined;
9495
9343
  } | undefined;
9496
9344
  middlename?: {
9497
9345
  required: boolean;
9498
- label?: TranslationConfig | undefined;
9499
9346
  } | undefined;
9500
9347
  }, {
9501
9348
  firstname?: {
9502
9349
  required: boolean;
9503
- label?: {
9504
- id: string;
9505
- description: string;
9506
- defaultMessage: string;
9507
- } | undefined;
9508
9350
  } | undefined;
9509
9351
  surname?: {
9510
9352
  required: boolean;
9511
- label?: {
9512
- id: string;
9513
- description: string;
9514
- defaultMessage: string;
9515
- } | undefined;
9516
9353
  } | undefined;
9517
9354
  middlename?: {
9518
9355
  required: boolean;
9519
- label?: {
9520
- id: string;
9521
- description: string;
9522
- defaultMessage: string;
9523
- } | undefined;
9524
9356
  } | undefined;
9525
9357
  }>>>;
9526
- order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
9527
9358
  maxLength: z.ZodOptional<z.ZodNumber>;
9528
9359
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9529
9360
  id: string;
@@ -9535,53 +9366,35 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9535
9366
  description: string;
9536
9367
  defaultMessage: string;
9537
9368
  }>>;
9369
+ searchMode: z.ZodOptional<z.ZodBoolean>;
9538
9370
  }, "strip", z.ZodTypeAny, {
9539
9371
  name?: {
9540
9372
  firstname?: {
9541
9373
  required: boolean;
9542
- label?: TranslationConfig | undefined;
9543
9374
  } | undefined;
9544
9375
  surname?: {
9545
9376
  required: boolean;
9546
- label?: TranslationConfig | undefined;
9547
9377
  } | undefined;
9548
9378
  middlename?: {
9549
9379
  required: boolean;
9550
- label?: TranslationConfig | undefined;
9551
9380
  } | undefined;
9552
9381
  } | undefined;
9553
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9554
9382
  maxLength?: number | undefined;
9555
9383
  prefix?: TranslationConfig | undefined;
9556
9384
  postfix?: TranslationConfig | undefined;
9385
+ searchMode?: boolean | undefined;
9557
9386
  }, {
9558
9387
  name?: {
9559
9388
  firstname?: {
9560
9389
  required: boolean;
9561
- label?: {
9562
- id: string;
9563
- description: string;
9564
- defaultMessage: string;
9565
- } | undefined;
9566
9390
  } | undefined;
9567
9391
  surname?: {
9568
9392
  required: boolean;
9569
- label?: {
9570
- id: string;
9571
- description: string;
9572
- defaultMessage: string;
9573
- } | undefined;
9574
9393
  } | undefined;
9575
9394
  middlename?: {
9576
9395
  required: boolean;
9577
- label?: {
9578
- id: string;
9579
- description: string;
9580
- defaultMessage: string;
9581
- } | undefined;
9582
9396
  } | undefined;
9583
9397
  } | undefined;
9584
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9585
9398
  maxLength?: number | undefined;
9586
9399
  prefix?: {
9587
9400
  id: string;
@@ -9593,6 +9406,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9593
9406
  description: string;
9594
9407
  defaultMessage: string;
9595
9408
  } | undefined;
9409
+ searchMode?: boolean | undefined;
9596
9410
  }>>>;
9597
9411
  }>, "strip", z.ZodTypeAny, {
9598
9412
  type: "NAME";
@@ -9630,21 +9444,18 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9630
9444
  name?: {
9631
9445
  firstname?: {
9632
9446
  required: boolean;
9633
- label?: TranslationConfig | undefined;
9634
9447
  } | undefined;
9635
9448
  surname?: {
9636
9449
  required: boolean;
9637
- label?: TranslationConfig | undefined;
9638
9450
  } | undefined;
9639
9451
  middlename?: {
9640
9452
  required: boolean;
9641
- label?: TranslationConfig | undefined;
9642
9453
  } | undefined;
9643
9454
  } | undefined;
9644
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9645
9455
  maxLength?: number | undefined;
9646
9456
  prefix?: TranslationConfig | undefined;
9647
9457
  postfix?: TranslationConfig | undefined;
9458
+ searchMode?: boolean | undefined;
9648
9459
  } | undefined;
9649
9460
  }, {
9650
9461
  type: "NAME";
@@ -9698,30 +9509,14 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9698
9509
  name?: {
9699
9510
  firstname?: {
9700
9511
  required: boolean;
9701
- label?: {
9702
- id: string;
9703
- description: string;
9704
- defaultMessage: string;
9705
- } | undefined;
9706
9512
  } | undefined;
9707
9513
  surname?: {
9708
9514
  required: boolean;
9709
- label?: {
9710
- id: string;
9711
- description: string;
9712
- defaultMessage: string;
9713
- } | undefined;
9714
9515
  } | undefined;
9715
9516
  middlename?: {
9716
9517
  required: boolean;
9717
- label?: {
9718
- id: string;
9719
- description: string;
9720
- defaultMessage: string;
9721
- } | undefined;
9722
9518
  } | undefined;
9723
9519
  } | undefined;
9724
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9725
9520
  maxLength?: number | undefined;
9726
9521
  prefix?: {
9727
9522
  id: string;
@@ -9733,6 +9528,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9733
9528
  description: string;
9734
9529
  defaultMessage: string;
9735
9530
  } | undefined;
9531
+ searchMode?: boolean | undefined;
9736
9532
  } | undefined;
9737
9533
  }>, z.ZodObject<z.objectUtil.extendShape<{
9738
9534
  id: z.ZodString;
@@ -12464,21 +12260,18 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12464
12260
  name?: {
12465
12261
  firstname?: {
12466
12262
  required: boolean;
12467
- label?: TranslationConfig | undefined;
12468
12263
  } | undefined;
12469
12264
  surname?: {
12470
12265
  required: boolean;
12471
- label?: TranslationConfig | undefined;
12472
12266
  } | undefined;
12473
12267
  middlename?: {
12474
12268
  required: boolean;
12475
- label?: TranslationConfig | undefined;
12476
12269
  } | undefined;
12477
12270
  } | undefined;
12478
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
12479
12271
  maxLength?: number | undefined;
12480
12272
  prefix?: TranslationConfig | undefined;
12481
12273
  postfix?: TranslationConfig | undefined;
12274
+ searchMode?: boolean | undefined;
12482
12275
  } | undefined;
12483
12276
  } | {
12484
12277
  type: "PHONE";
@@ -12811,8 +12604,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12811
12604
  postcodeOrZip?: string | undefined;
12812
12605
  } | undefined;
12813
12606
  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;
12607
+ searchMode?: boolean | undefined;
12816
12608
  } | undefined;
12817
12609
  } | {
12818
12610
  type: "DATA";
@@ -13783,30 +13575,14 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
13783
13575
  name?: {
13784
13576
  firstname?: {
13785
13577
  required: boolean;
13786
- label?: {
13787
- id: string;
13788
- description: string;
13789
- defaultMessage: string;
13790
- } | undefined;
13791
13578
  } | undefined;
13792
13579
  surname?: {
13793
13580
  required: boolean;
13794
- label?: {
13795
- id: string;
13796
- description: string;
13797
- defaultMessage: string;
13798
- } | undefined;
13799
13581
  } | undefined;
13800
13582
  middlename?: {
13801
13583
  required: boolean;
13802
- label?: {
13803
- id: string;
13804
- description: string;
13805
- defaultMessage: string;
13806
- } | undefined;
13807
13584
  } | undefined;
13808
13585
  } | undefined;
13809
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
13810
13586
  maxLength?: number | undefined;
13811
13587
  prefix?: {
13812
13588
  id: string;
@@ -13818,6 +13594,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
13818
13594
  description: string;
13819
13595
  defaultMessage: string;
13820
13596
  } | undefined;
13597
+ searchMode?: boolean | undefined;
13821
13598
  } | undefined;
13822
13599
  } | {
13823
13600
  type: "PHONE";
@@ -14314,8 +14091,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
14314
14091
  postcodeOrZip?: string | undefined;
14315
14092
  } | undefined;
14316
14093
  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;
14094
+ searchMode?: boolean | undefined;
14319
14095
  } | undefined;
14320
14096
  } | {
14321
14097
  type: "DATA";