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

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,6 +58,16 @@ 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
+ }>>;
61
71
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
62
72
  country: z.ZodString;
63
73
  addressType: z.ZodLiteral<"DOMESTIC">;
@@ -145,13 +155,6 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
145
155
  addressLine3?: string | undefined;
146
156
  postcodeOrZip?: string | undefined;
147
157
  }>]>>;
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
- }>>;
155
158
  }>, "strip", z.ZodTypeAny, {
156
159
  type: "ADDRESS";
157
160
  id: string;
@@ -209,7 +212,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
209
212
  postcodeOrZip?: string | undefined;
210
213
  } | undefined;
211
214
  configuration?: {
212
- searchMode?: boolean | undefined;
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;
213
217
  } | undefined;
214
218
  }, {
215
219
  type: "ADDRESS";
@@ -284,7 +288,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
284
288
  postcodeOrZip?: string | undefined;
285
289
  } | undefined;
286
290
  configuration?: {
287
- searchMode?: boolean | undefined;
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;
288
293
  } | undefined;
289
294
  }>, z.ZodObject<z.objectUtil.extendShape<{
290
295
  id: z.ZodString;
@@ -2256,46 +2261,98 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2256
2261
  name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
2257
2262
  firstname: z.ZodOptional<z.ZodObject<{
2258
2263
  required: z.ZodBoolean;
2264
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2265
+ id: string;
2266
+ description: string;
2267
+ defaultMessage: string;
2268
+ }>>;
2259
2269
  }, "strip", z.ZodTypeAny, {
2260
2270
  required: boolean;
2271
+ label?: TranslationConfig | undefined;
2261
2272
  }, {
2262
2273
  required: boolean;
2274
+ label?: {
2275
+ id: string;
2276
+ description: string;
2277
+ defaultMessage: string;
2278
+ } | undefined;
2263
2279
  }>>;
2264
2280
  middlename: z.ZodOptional<z.ZodObject<{
2265
2281
  required: z.ZodBoolean;
2282
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2283
+ id: string;
2284
+ description: string;
2285
+ defaultMessage: string;
2286
+ }>>;
2266
2287
  }, "strip", z.ZodTypeAny, {
2267
2288
  required: boolean;
2289
+ label?: TranslationConfig | undefined;
2268
2290
  }, {
2269
2291
  required: boolean;
2292
+ label?: {
2293
+ id: string;
2294
+ description: string;
2295
+ defaultMessage: string;
2296
+ } | undefined;
2270
2297
  }>>;
2271
2298
  surname: z.ZodOptional<z.ZodObject<{
2272
2299
  required: z.ZodBoolean;
2300
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2301
+ id: string;
2302
+ description: string;
2303
+ defaultMessage: string;
2304
+ }>>;
2273
2305
  }, "strip", z.ZodTypeAny, {
2274
2306
  required: boolean;
2307
+ label?: TranslationConfig | undefined;
2275
2308
  }, {
2276
2309
  required: boolean;
2310
+ label?: {
2311
+ id: string;
2312
+ description: string;
2313
+ defaultMessage: string;
2314
+ } | undefined;
2277
2315
  }>>;
2278
2316
  }, "strip", z.ZodTypeAny, {
2279
2317
  firstname?: {
2280
2318
  required: boolean;
2319
+ label?: TranslationConfig | undefined;
2281
2320
  } | undefined;
2282
2321
  surname?: {
2283
2322
  required: boolean;
2323
+ label?: TranslationConfig | undefined;
2284
2324
  } | undefined;
2285
2325
  middlename?: {
2286
2326
  required: boolean;
2327
+ label?: TranslationConfig | undefined;
2287
2328
  } | undefined;
2288
2329
  }, {
2289
2330
  firstname?: {
2290
2331
  required: boolean;
2332
+ label?: {
2333
+ id: string;
2334
+ description: string;
2335
+ defaultMessage: string;
2336
+ } | undefined;
2291
2337
  } | undefined;
2292
2338
  surname?: {
2293
2339
  required: boolean;
2340
+ label?: {
2341
+ id: string;
2342
+ description: string;
2343
+ defaultMessage: string;
2344
+ } | undefined;
2294
2345
  } | undefined;
2295
2346
  middlename?: {
2296
2347
  required: boolean;
2348
+ label?: {
2349
+ id: string;
2350
+ description: string;
2351
+ defaultMessage: string;
2352
+ } | undefined;
2297
2353
  } | undefined;
2298
2354
  }>>>;
2355
+ order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
2299
2356
  maxLength: z.ZodOptional<z.ZodNumber>;
2300
2357
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2301
2358
  id: string;
@@ -2307,35 +2364,53 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2307
2364
  description: string;
2308
2365
  defaultMessage: string;
2309
2366
  }>>;
2310
- searchMode: z.ZodOptional<z.ZodBoolean>;
2311
2367
  }, "strip", z.ZodTypeAny, {
2312
2368
  name?: {
2313
2369
  firstname?: {
2314
2370
  required: boolean;
2371
+ label?: TranslationConfig | undefined;
2315
2372
  } | undefined;
2316
2373
  surname?: {
2317
2374
  required: boolean;
2375
+ label?: TranslationConfig | undefined;
2318
2376
  } | undefined;
2319
2377
  middlename?: {
2320
2378
  required: boolean;
2379
+ label?: TranslationConfig | undefined;
2321
2380
  } | undefined;
2322
2381
  } | undefined;
2382
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
2323
2383
  maxLength?: number | undefined;
2324
2384
  prefix?: TranslationConfig | undefined;
2325
2385
  postfix?: TranslationConfig | undefined;
2326
- searchMode?: boolean | undefined;
2327
2386
  }, {
2328
2387
  name?: {
2329
2388
  firstname?: {
2330
2389
  required: boolean;
2390
+ label?: {
2391
+ id: string;
2392
+ description: string;
2393
+ defaultMessage: string;
2394
+ } | undefined;
2331
2395
  } | undefined;
2332
2396
  surname?: {
2333
2397
  required: boolean;
2398
+ label?: {
2399
+ id: string;
2400
+ description: string;
2401
+ defaultMessage: string;
2402
+ } | undefined;
2334
2403
  } | undefined;
2335
2404
  middlename?: {
2336
2405
  required: boolean;
2406
+ label?: {
2407
+ id: string;
2408
+ description: string;
2409
+ defaultMessage: string;
2410
+ } | undefined;
2337
2411
  } | undefined;
2338
2412
  } | undefined;
2413
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
2339
2414
  maxLength?: number | undefined;
2340
2415
  prefix?: {
2341
2416
  id: string;
@@ -2347,7 +2422,6 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2347
2422
  description: string;
2348
2423
  defaultMessage: string;
2349
2424
  } | undefined;
2350
- searchMode?: boolean | undefined;
2351
2425
  }>>>;
2352
2426
  }>, "strip", z.ZodTypeAny, {
2353
2427
  type: "NAME";
@@ -2385,18 +2459,21 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2385
2459
  name?: {
2386
2460
  firstname?: {
2387
2461
  required: boolean;
2462
+ label?: TranslationConfig | undefined;
2388
2463
  } | undefined;
2389
2464
  surname?: {
2390
2465
  required: boolean;
2466
+ label?: TranslationConfig | undefined;
2391
2467
  } | undefined;
2392
2468
  middlename?: {
2393
2469
  required: boolean;
2470
+ label?: TranslationConfig | undefined;
2394
2471
  } | undefined;
2395
2472
  } | undefined;
2473
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
2396
2474
  maxLength?: number | undefined;
2397
2475
  prefix?: TranslationConfig | undefined;
2398
2476
  postfix?: TranslationConfig | undefined;
2399
- searchMode?: boolean | undefined;
2400
2477
  } | undefined;
2401
2478
  }, {
2402
2479
  type: "NAME";
@@ -2450,14 +2527,30 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2450
2527
  name?: {
2451
2528
  firstname?: {
2452
2529
  required: boolean;
2530
+ label?: {
2531
+ id: string;
2532
+ description: string;
2533
+ defaultMessage: string;
2534
+ } | undefined;
2453
2535
  } | undefined;
2454
2536
  surname?: {
2455
2537
  required: boolean;
2538
+ label?: {
2539
+ id: string;
2540
+ description: string;
2541
+ defaultMessage: string;
2542
+ } | undefined;
2456
2543
  } | undefined;
2457
2544
  middlename?: {
2458
2545
  required: boolean;
2546
+ label?: {
2547
+ id: string;
2548
+ description: string;
2549
+ defaultMessage: string;
2550
+ } | undefined;
2459
2551
  } | undefined;
2460
2552
  } | undefined;
2553
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
2461
2554
  maxLength?: number | undefined;
2462
2555
  prefix?: {
2463
2556
  id: string;
@@ -2469,7 +2562,6 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
2469
2562
  description: string;
2470
2563
  defaultMessage: string;
2471
2564
  } | undefined;
2472
- searchMode?: boolean | undefined;
2473
2565
  } | undefined;
2474
2566
  }>, z.ZodObject<z.objectUtil.extendShape<{
2475
2567
  id: z.ZodString;
@@ -5075,18 +5167,21 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5075
5167
  name?: {
5076
5168
  firstname?: {
5077
5169
  required: boolean;
5170
+ label?: TranslationConfig | undefined;
5078
5171
  } | undefined;
5079
5172
  surname?: {
5080
5173
  required: boolean;
5174
+ label?: TranslationConfig | undefined;
5081
5175
  } | undefined;
5082
5176
  middlename?: {
5083
5177
  required: boolean;
5178
+ label?: TranslationConfig | undefined;
5084
5179
  } | undefined;
5085
5180
  } | undefined;
5181
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
5086
5182
  maxLength?: number | undefined;
5087
5183
  prefix?: TranslationConfig | undefined;
5088
5184
  postfix?: TranslationConfig | undefined;
5089
- searchMode?: boolean | undefined;
5090
5185
  } | undefined;
5091
5186
  } | {
5092
5187
  type: "PHONE";
@@ -5419,7 +5514,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
5419
5514
  postcodeOrZip?: string | undefined;
5420
5515
  } | undefined;
5421
5516
  configuration?: {
5422
- searchMode?: boolean | undefined;
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;
5423
5519
  } | undefined;
5424
5520
  } | {
5425
5521
  type: "DATA";
@@ -6361,14 +6457,30 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6361
6457
  name?: {
6362
6458
  firstname?: {
6363
6459
  required: boolean;
6460
+ label?: {
6461
+ id: string;
6462
+ description: string;
6463
+ defaultMessage: string;
6464
+ } | undefined;
6364
6465
  } | undefined;
6365
6466
  surname?: {
6366
6467
  required: boolean;
6468
+ label?: {
6469
+ id: string;
6470
+ description: string;
6471
+ defaultMessage: string;
6472
+ } | undefined;
6367
6473
  } | undefined;
6368
6474
  middlename?: {
6369
6475
  required: boolean;
6476
+ label?: {
6477
+ id: string;
6478
+ description: string;
6479
+ defaultMessage: string;
6480
+ } | undefined;
6370
6481
  } | undefined;
6371
6482
  } | undefined;
6483
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
6372
6484
  maxLength?: number | undefined;
6373
6485
  prefix?: {
6374
6486
  id: string;
@@ -6380,7 +6492,6 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6380
6492
  description: string;
6381
6493
  defaultMessage: string;
6382
6494
  } | undefined;
6383
- searchMode?: boolean | undefined;
6384
6495
  } | undefined;
6385
6496
  } | {
6386
6497
  type: "PHONE";
@@ -6877,7 +6988,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
6877
6988
  postcodeOrZip?: string | undefined;
6878
6989
  } | undefined;
6879
6990
  configuration?: {
6880
- searchMode?: boolean | undefined;
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;
6881
6993
  } | undefined;
6882
6994
  } | {
6883
6995
  type: "DATA";
@@ -7117,6 +7229,16 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7117
7229
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7118
7230
  }, {
7119
7231
  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
+ }>>;
7120
7242
  defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
7121
7243
  country: z.ZodString;
7122
7244
  addressType: z.ZodLiteral<"DOMESTIC">;
@@ -7204,13 +7326,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7204
7326
  addressLine3?: string | undefined;
7205
7327
  postcodeOrZip?: string | undefined;
7206
7328
  }>]>>;
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
- }>>;
7214
7329
  }>, "strip", z.ZodTypeAny, {
7215
7330
  type: "ADDRESS";
7216
7331
  id: string;
@@ -7268,7 +7383,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7268
7383
  postcodeOrZip?: string | undefined;
7269
7384
  } | undefined;
7270
7385
  configuration?: {
7271
- searchMode?: boolean | undefined;
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;
7272
7388
  } | undefined;
7273
7389
  }, {
7274
7390
  type: "ADDRESS";
@@ -7343,7 +7459,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
7343
7459
  postcodeOrZip?: string | undefined;
7344
7460
  } | undefined;
7345
7461
  configuration?: {
7346
- searchMode?: boolean | undefined;
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;
7347
7464
  } | undefined;
7348
7465
  }>, z.ZodObject<z.objectUtil.extendShape<{
7349
7466
  id: z.ZodString;
@@ -9315,46 +9432,98 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9315
9432
  name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
9316
9433
  firstname: z.ZodOptional<z.ZodObject<{
9317
9434
  required: z.ZodBoolean;
9435
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9436
+ id: string;
9437
+ description: string;
9438
+ defaultMessage: string;
9439
+ }>>;
9318
9440
  }, "strip", z.ZodTypeAny, {
9319
9441
  required: boolean;
9442
+ label?: TranslationConfig | undefined;
9320
9443
  }, {
9321
9444
  required: boolean;
9445
+ label?: {
9446
+ id: string;
9447
+ description: string;
9448
+ defaultMessage: string;
9449
+ } | undefined;
9322
9450
  }>>;
9323
9451
  middlename: z.ZodOptional<z.ZodObject<{
9324
9452
  required: z.ZodBoolean;
9453
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9454
+ id: string;
9455
+ description: string;
9456
+ defaultMessage: string;
9457
+ }>>;
9325
9458
  }, "strip", z.ZodTypeAny, {
9326
9459
  required: boolean;
9460
+ label?: TranslationConfig | undefined;
9327
9461
  }, {
9328
9462
  required: boolean;
9463
+ label?: {
9464
+ id: string;
9465
+ description: string;
9466
+ defaultMessage: string;
9467
+ } | undefined;
9329
9468
  }>>;
9330
9469
  surname: z.ZodOptional<z.ZodObject<{
9331
9470
  required: z.ZodBoolean;
9471
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9472
+ id: string;
9473
+ description: string;
9474
+ defaultMessage: string;
9475
+ }>>;
9332
9476
  }, "strip", z.ZodTypeAny, {
9333
9477
  required: boolean;
9478
+ label?: TranslationConfig | undefined;
9334
9479
  }, {
9335
9480
  required: boolean;
9481
+ label?: {
9482
+ id: string;
9483
+ description: string;
9484
+ defaultMessage: string;
9485
+ } | undefined;
9336
9486
  }>>;
9337
9487
  }, "strip", z.ZodTypeAny, {
9338
9488
  firstname?: {
9339
9489
  required: boolean;
9490
+ label?: TranslationConfig | undefined;
9340
9491
  } | undefined;
9341
9492
  surname?: {
9342
9493
  required: boolean;
9494
+ label?: TranslationConfig | undefined;
9343
9495
  } | undefined;
9344
9496
  middlename?: {
9345
9497
  required: boolean;
9498
+ label?: TranslationConfig | undefined;
9346
9499
  } | undefined;
9347
9500
  }, {
9348
9501
  firstname?: {
9349
9502
  required: boolean;
9503
+ label?: {
9504
+ id: string;
9505
+ description: string;
9506
+ defaultMessage: string;
9507
+ } | undefined;
9350
9508
  } | undefined;
9351
9509
  surname?: {
9352
9510
  required: boolean;
9511
+ label?: {
9512
+ id: string;
9513
+ description: string;
9514
+ defaultMessage: string;
9515
+ } | undefined;
9353
9516
  } | undefined;
9354
9517
  middlename?: {
9355
9518
  required: boolean;
9519
+ label?: {
9520
+ id: string;
9521
+ description: string;
9522
+ defaultMessage: string;
9523
+ } | undefined;
9356
9524
  } | undefined;
9357
9525
  }>>>;
9526
+ order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
9358
9527
  maxLength: z.ZodOptional<z.ZodNumber>;
9359
9528
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9360
9529
  id: string;
@@ -9366,35 +9535,53 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9366
9535
  description: string;
9367
9536
  defaultMessage: string;
9368
9537
  }>>;
9369
- searchMode: z.ZodOptional<z.ZodBoolean>;
9370
9538
  }, "strip", z.ZodTypeAny, {
9371
9539
  name?: {
9372
9540
  firstname?: {
9373
9541
  required: boolean;
9542
+ label?: TranslationConfig | undefined;
9374
9543
  } | undefined;
9375
9544
  surname?: {
9376
9545
  required: boolean;
9546
+ label?: TranslationConfig | undefined;
9377
9547
  } | undefined;
9378
9548
  middlename?: {
9379
9549
  required: boolean;
9550
+ label?: TranslationConfig | undefined;
9380
9551
  } | undefined;
9381
9552
  } | undefined;
9553
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
9382
9554
  maxLength?: number | undefined;
9383
9555
  prefix?: TranslationConfig | undefined;
9384
9556
  postfix?: TranslationConfig | undefined;
9385
- searchMode?: boolean | undefined;
9386
9557
  }, {
9387
9558
  name?: {
9388
9559
  firstname?: {
9389
9560
  required: boolean;
9561
+ label?: {
9562
+ id: string;
9563
+ description: string;
9564
+ defaultMessage: string;
9565
+ } | undefined;
9390
9566
  } | undefined;
9391
9567
  surname?: {
9392
9568
  required: boolean;
9569
+ label?: {
9570
+ id: string;
9571
+ description: string;
9572
+ defaultMessage: string;
9573
+ } | undefined;
9393
9574
  } | undefined;
9394
9575
  middlename?: {
9395
9576
  required: boolean;
9577
+ label?: {
9578
+ id: string;
9579
+ description: string;
9580
+ defaultMessage: string;
9581
+ } | undefined;
9396
9582
  } | undefined;
9397
9583
  } | undefined;
9584
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
9398
9585
  maxLength?: number | undefined;
9399
9586
  prefix?: {
9400
9587
  id: string;
@@ -9406,7 +9593,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9406
9593
  description: string;
9407
9594
  defaultMessage: string;
9408
9595
  } | undefined;
9409
- searchMode?: boolean | undefined;
9410
9596
  }>>>;
9411
9597
  }>, "strip", z.ZodTypeAny, {
9412
9598
  type: "NAME";
@@ -9444,18 +9630,21 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9444
9630
  name?: {
9445
9631
  firstname?: {
9446
9632
  required: boolean;
9633
+ label?: TranslationConfig | undefined;
9447
9634
  } | undefined;
9448
9635
  surname?: {
9449
9636
  required: boolean;
9637
+ label?: TranslationConfig | undefined;
9450
9638
  } | undefined;
9451
9639
  middlename?: {
9452
9640
  required: boolean;
9641
+ label?: TranslationConfig | undefined;
9453
9642
  } | undefined;
9454
9643
  } | undefined;
9644
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
9455
9645
  maxLength?: number | undefined;
9456
9646
  prefix?: TranslationConfig | undefined;
9457
9647
  postfix?: TranslationConfig | undefined;
9458
- searchMode?: boolean | undefined;
9459
9648
  } | undefined;
9460
9649
  }, {
9461
9650
  type: "NAME";
@@ -9509,14 +9698,30 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9509
9698
  name?: {
9510
9699
  firstname?: {
9511
9700
  required: boolean;
9701
+ label?: {
9702
+ id: string;
9703
+ description: string;
9704
+ defaultMessage: string;
9705
+ } | undefined;
9512
9706
  } | undefined;
9513
9707
  surname?: {
9514
9708
  required: boolean;
9709
+ label?: {
9710
+ id: string;
9711
+ description: string;
9712
+ defaultMessage: string;
9713
+ } | undefined;
9515
9714
  } | undefined;
9516
9715
  middlename?: {
9517
9716
  required: boolean;
9717
+ label?: {
9718
+ id: string;
9719
+ description: string;
9720
+ defaultMessage: string;
9721
+ } | undefined;
9518
9722
  } | undefined;
9519
9723
  } | undefined;
9724
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
9520
9725
  maxLength?: number | undefined;
9521
9726
  prefix?: {
9522
9727
  id: string;
@@ -9528,7 +9733,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
9528
9733
  description: string;
9529
9734
  defaultMessage: string;
9530
9735
  } | undefined;
9531
- searchMode?: boolean | undefined;
9532
9736
  } | undefined;
9533
9737
  }>, z.ZodObject<z.objectUtil.extendShape<{
9534
9738
  id: z.ZodString;
@@ -12260,18 +12464,21 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12260
12464
  name?: {
12261
12465
  firstname?: {
12262
12466
  required: boolean;
12467
+ label?: TranslationConfig | undefined;
12263
12468
  } | undefined;
12264
12469
  surname?: {
12265
12470
  required: boolean;
12471
+ label?: TranslationConfig | undefined;
12266
12472
  } | undefined;
12267
12473
  middlename?: {
12268
12474
  required: boolean;
12475
+ label?: TranslationConfig | undefined;
12269
12476
  } | undefined;
12270
12477
  } | undefined;
12478
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
12271
12479
  maxLength?: number | undefined;
12272
12480
  prefix?: TranslationConfig | undefined;
12273
12481
  postfix?: TranslationConfig | undefined;
12274
- searchMode?: boolean | undefined;
12275
12482
  } | undefined;
12276
12483
  } | {
12277
12484
  type: "PHONE";
@@ -12604,7 +12811,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
12604
12811
  postcodeOrZip?: string | undefined;
12605
12812
  } | undefined;
12606
12813
  configuration?: {
12607
- searchMode?: boolean | undefined;
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;
12608
12816
  } | undefined;
12609
12817
  } | {
12610
12818
  type: "DATA";
@@ -13575,14 +13783,30 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
13575
13783
  name?: {
13576
13784
  firstname?: {
13577
13785
  required: boolean;
13786
+ label?: {
13787
+ id: string;
13788
+ description: string;
13789
+ defaultMessage: string;
13790
+ } | undefined;
13578
13791
  } | undefined;
13579
13792
  surname?: {
13580
13793
  required: boolean;
13794
+ label?: {
13795
+ id: string;
13796
+ description: string;
13797
+ defaultMessage: string;
13798
+ } | undefined;
13581
13799
  } | undefined;
13582
13800
  middlename?: {
13583
13801
  required: boolean;
13802
+ label?: {
13803
+ id: string;
13804
+ description: string;
13805
+ defaultMessage: string;
13806
+ } | undefined;
13584
13807
  } | undefined;
13585
13808
  } | undefined;
13809
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
13586
13810
  maxLength?: number | undefined;
13587
13811
  prefix?: {
13588
13812
  id: string;
@@ -13594,7 +13818,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
13594
13818
  description: string;
13595
13819
  defaultMessage: string;
13596
13820
  } | undefined;
13597
- searchMode?: boolean | undefined;
13598
13821
  } | undefined;
13599
13822
  } | {
13600
13823
  type: "PHONE";
@@ -14091,7 +14314,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
14091
14314
  postcodeOrZip?: string | undefined;
14092
14315
  } | undefined;
14093
14316
  configuration?: {
14094
- searchMode?: boolean | undefined;
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;
14095
14319
  } | undefined;
14096
14320
  } | {
14097
14321
  type: "DATA";