@opencrvs/toolkit 1.8.1-rc.032a7f2 → 1.8.1-rc.0377f8e

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.
@@ -577,21 +577,18 @@ export declare function getDeclarationPages(configuration: EventConfig): {
577
577
  name?: {
578
578
  firstname?: {
579
579
  required: boolean;
580
- label?: import("./TranslationConfig").TranslationConfig | undefined;
581
580
  } | undefined;
582
581
  surname?: {
583
582
  required: boolean;
584
- label?: import("./TranslationConfig").TranslationConfig | undefined;
585
583
  } | undefined;
586
584
  middlename?: {
587
585
  required: boolean;
588
- label?: import("./TranslationConfig").TranslationConfig | undefined;
589
586
  } | undefined;
590
587
  } | undefined;
591
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
592
588
  maxLength?: number | undefined;
593
589
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
594
590
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
591
+ searchMode?: boolean | undefined;
595
592
  } | undefined;
596
593
  } | {
597
594
  type: "PHONE";
@@ -924,8 +921,7 @@ export declare function getDeclarationPages(configuration: EventConfig): {
924
921
  postcodeOrZip?: string | undefined;
925
922
  } | undefined;
926
923
  configuration?: {
927
- lineSeparator?: string | undefined;
928
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
924
+ searchMode?: boolean | undefined;
929
925
  } | undefined;
930
926
  } | {
931
927
  type: "DATA";
@@ -1535,21 +1531,18 @@ export declare function getDeclaration(configuration: EventConfig): {
1535
1531
  name?: {
1536
1532
  firstname?: {
1537
1533
  required: boolean;
1538
- label?: import("./TranslationConfig").TranslationConfig | undefined;
1539
1534
  } | undefined;
1540
1535
  surname?: {
1541
1536
  required: boolean;
1542
- label?: import("./TranslationConfig").TranslationConfig | undefined;
1543
1537
  } | undefined;
1544
1538
  middlename?: {
1545
1539
  required: boolean;
1546
- label?: import("./TranslationConfig").TranslationConfig | undefined;
1547
1540
  } | undefined;
1548
1541
  } | undefined;
1549
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
1550
1542
  maxLength?: number | undefined;
1551
1543
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1552
1544
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1545
+ searchMode?: boolean | undefined;
1553
1546
  } | undefined;
1554
1547
  } | {
1555
1548
  type: "PHONE";
@@ -1882,8 +1875,7 @@ export declare function getDeclaration(configuration: EventConfig): {
1882
1875
  postcodeOrZip?: string | undefined;
1883
1876
  } | undefined;
1884
1877
  configuration?: {
1885
- lineSeparator?: string | undefined;
1886
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
1878
+ searchMode?: boolean | undefined;
1887
1879
  } | undefined;
1888
1880
  } | {
1889
1881
  type: "DATA";
@@ -2492,21 +2484,18 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2492
2484
  name?: {
2493
2485
  firstname?: {
2494
2486
  required: boolean;
2495
- label?: import("./TranslationConfig").TranslationConfig | undefined;
2496
2487
  } | undefined;
2497
2488
  surname?: {
2498
2489
  required: boolean;
2499
- label?: import("./TranslationConfig").TranslationConfig | undefined;
2500
2490
  } | undefined;
2501
2491
  middlename?: {
2502
2492
  required: boolean;
2503
- label?: import("./TranslationConfig").TranslationConfig | undefined;
2504
2493
  } | undefined;
2505
2494
  } | undefined;
2506
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2507
2495
  maxLength?: number | undefined;
2508
2496
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2509
2497
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2498
+ searchMode?: boolean | undefined;
2510
2499
  } | undefined;
2511
2500
  } | {
2512
2501
  type: "PHONE";
@@ -2839,8 +2828,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2839
2828
  postcodeOrZip?: string | undefined;
2840
2829
  } | undefined;
2841
2830
  configuration?: {
2842
- lineSeparator?: string | undefined;
2843
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
2831
+ searchMode?: boolean | undefined;
2844
2832
  } | undefined;
2845
2833
  } | {
2846
2834
  type: "DATA";
@@ -3459,21 +3447,18 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3459
3447
  name?: {
3460
3448
  firstname?: {
3461
3449
  required: boolean;
3462
- label?: import("./TranslationConfig").TranslationConfig | undefined;
3463
3450
  } | undefined;
3464
3451
  surname?: {
3465
3452
  required: boolean;
3466
- label?: import("./TranslationConfig").TranslationConfig | undefined;
3467
3453
  } | undefined;
3468
3454
  middlename?: {
3469
3455
  required: boolean;
3470
- label?: import("./TranslationConfig").TranslationConfig | undefined;
3471
3456
  } | undefined;
3472
3457
  } | undefined;
3473
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
3474
3458
  maxLength?: number | undefined;
3475
3459
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
3476
3460
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
3461
+ searchMode?: boolean | undefined;
3477
3462
  } | undefined;
3478
3463
  } | {
3479
3464
  type: "PHONE";
@@ -3806,8 +3791,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3806
3791
  postcodeOrZip?: string | undefined;
3807
3792
  } | undefined;
3808
3793
  configuration?: {
3809
- lineSeparator?: string | undefined;
3810
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
3794
+ searchMode?: boolean | undefined;
3811
3795
  } | undefined;
3812
3796
  } | {
3813
3797
  type: "DATA";
@@ -4411,21 +4395,18 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4411
4395
  name?: {
4412
4396
  firstname?: {
4413
4397
  required: boolean;
4414
- label?: import("./TranslationConfig").TranslationConfig | undefined;
4415
4398
  } | undefined;
4416
4399
  surname?: {
4417
4400
  required: boolean;
4418
- label?: import("./TranslationConfig").TranslationConfig | undefined;
4419
4401
  } | undefined;
4420
4402
  middlename?: {
4421
4403
  required: boolean;
4422
- label?: import("./TranslationConfig").TranslationConfig | undefined;
4423
4404
  } | undefined;
4424
4405
  } | undefined;
4425
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
4426
4406
  maxLength?: number | undefined;
4427
4407
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
4428
4408
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
4409
+ searchMode?: boolean | undefined;
4429
4410
  } | undefined;
4430
4411
  } | {
4431
4412
  type: "PHONE";
@@ -4758,8 +4739,7 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4758
4739
  postcodeOrZip?: string | undefined;
4759
4740
  } | undefined;
4760
4741
  configuration?: {
4761
- lineSeparator?: string | undefined;
4762
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
4742
+ searchMode?: boolean | undefined;
4763
4743
  } | undefined;
4764
4744
  } | {
4765
4745
  type: "DATA";
@@ -5369,21 +5349,18 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5369
5349
  name?: {
5370
5350
  firstname?: {
5371
5351
  required: boolean;
5372
- label?: import("./TranslationConfig").TranslationConfig | undefined;
5373
5352
  } | undefined;
5374
5353
  surname?: {
5375
5354
  required: boolean;
5376
- label?: import("./TranslationConfig").TranslationConfig | undefined;
5377
5355
  } | undefined;
5378
5356
  middlename?: {
5379
5357
  required: boolean;
5380
- label?: import("./TranslationConfig").TranslationConfig | undefined;
5381
5358
  } | undefined;
5382
5359
  } | undefined;
5383
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
5384
5360
  maxLength?: number | undefined;
5385
5361
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
5386
5362
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
5363
+ searchMode?: boolean | undefined;
5387
5364
  } | undefined;
5388
5365
  } | {
5389
5366
  type: "PHONE";
@@ -5716,8 +5693,7 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5716
5693
  postcodeOrZip?: string | undefined;
5717
5694
  } | undefined;
5718
5695
  configuration?: {
5719
- lineSeparator?: string | undefined;
5720
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
5696
+ searchMode?: boolean | undefined;
5721
5697
  } | undefined;
5722
5698
  } | {
5723
5699
  type: "DATA";
@@ -6320,21 +6296,18 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6320
6296
  name?: {
6321
6297
  firstname?: {
6322
6298
  required: boolean;
6323
- label?: import("./TranslationConfig").TranslationConfig | undefined;
6324
6299
  } | undefined;
6325
6300
  surname?: {
6326
6301
  required: boolean;
6327
- label?: import("./TranslationConfig").TranslationConfig | undefined;
6328
6302
  } | undefined;
6329
6303
  middlename?: {
6330
6304
  required: boolean;
6331
- label?: import("./TranslationConfig").TranslationConfig | undefined;
6332
6305
  } | undefined;
6333
6306
  } | undefined;
6334
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
6335
6307
  maxLength?: number | undefined;
6336
6308
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
6337
6309
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
6310
+ searchMode?: boolean | undefined;
6338
6311
  } | undefined;
6339
6312
  } | {
6340
6313
  type: "PHONE";
@@ -6667,8 +6640,7 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6667
6640
  postcodeOrZip?: string | undefined;
6668
6641
  } | undefined;
6669
6642
  configuration?: {
6670
- lineSeparator?: string | undefined;
6671
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
6643
+ searchMode?: boolean | undefined;
6672
6644
  } | undefined;
6673
6645
  } | {
6674
6646
  type: "DATA";
@@ -6758,12 +6730,115 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
6758
6730
  start: string;
6759
6731
  end: string;
6760
6732
  } | null | undefined>>;
6761
- /**
6762
- *
6763
- * @returns a draft for the event that has been created since the last non-read action.
6764
- */
6765
- export declare function findActiveDraftForEvent(event: EventDocument, draft: Draft): Draft | undefined;
6766
- export declare function createEmptyDraft(eventId: UUID, draftId: UUID, actionType: Exclude<ActionType, 'DELETE'>): Draft;
6733
+ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]): {
6734
+ id: string & import("zod").BRAND<"UUID">;
6735
+ transactionId: string;
6736
+ createdAt: string;
6737
+ eventId: string & import("zod").BRAND<"UUID">;
6738
+ action: {
6739
+ type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
6740
+ status: "Rejected" | "Requested" | "Accepted";
6741
+ transactionId: string;
6742
+ createdByUserType: "system" | "user";
6743
+ createdAt: string;
6744
+ createdBy: string;
6745
+ createdByRole: string;
6746
+ declaration: Record<string, string | number | boolean | {
6747
+ type: string;
6748
+ path: string;
6749
+ originalFilename: string;
6750
+ } | {
6751
+ country: string;
6752
+ district: string;
6753
+ addressType: "DOMESTIC";
6754
+ province: string;
6755
+ urbanOrRural: "URBAN";
6756
+ number?: string | null | undefined;
6757
+ town?: string | null | undefined;
6758
+ residentialArea?: string | null | undefined;
6759
+ street?: string | null | undefined;
6760
+ zipCode?: string | null | undefined;
6761
+ } | {
6762
+ firstname: string;
6763
+ surname: string;
6764
+ middlename?: string | null | undefined;
6765
+ } | {
6766
+ country: string;
6767
+ district: string;
6768
+ addressType: "DOMESTIC";
6769
+ province: string;
6770
+ urbanOrRural: "RURAL";
6771
+ village?: string | null | undefined;
6772
+ } | {
6773
+ country: string;
6774
+ state: string;
6775
+ addressType: "INTERNATIONAL";
6776
+ district2: string;
6777
+ cityOrTown?: string | null | undefined;
6778
+ addressLine1?: string | null | undefined;
6779
+ addressLine2?: string | null | undefined;
6780
+ addressLine3?: string | null | undefined;
6781
+ postcodeOrZip?: string | null | undefined;
6782
+ } | {
6783
+ type: string;
6784
+ option: string;
6785
+ path: string;
6786
+ originalFilename: string;
6787
+ }[] | {
6788
+ start: string;
6789
+ end: string;
6790
+ } | null | undefined>;
6791
+ createdBySignature?: string | null | undefined;
6792
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6793
+ annotation?: Record<string, string | number | boolean | {
6794
+ type: string;
6795
+ path: string;
6796
+ originalFilename: string;
6797
+ } | {
6798
+ country: string;
6799
+ district: string;
6800
+ addressType: "DOMESTIC";
6801
+ province: string;
6802
+ urbanOrRural: "URBAN";
6803
+ number?: string | null | undefined;
6804
+ town?: string | null | undefined;
6805
+ residentialArea?: string | null | undefined;
6806
+ street?: string | null | undefined;
6807
+ zipCode?: string | null | undefined;
6808
+ } | {
6809
+ firstname: string;
6810
+ surname: string;
6811
+ middlename?: string | null | undefined;
6812
+ } | {
6813
+ country: string;
6814
+ district: string;
6815
+ addressType: "DOMESTIC";
6816
+ province: string;
6817
+ urbanOrRural: "RURAL";
6818
+ village?: string | null | undefined;
6819
+ } | {
6820
+ country: string;
6821
+ state: string;
6822
+ addressType: "INTERNATIONAL";
6823
+ district2: string;
6824
+ cityOrTown?: string | null | undefined;
6825
+ addressLine1?: string | null | undefined;
6826
+ addressLine2?: string | null | undefined;
6827
+ addressLine3?: string | null | undefined;
6828
+ postcodeOrZip?: string | null | undefined;
6829
+ } | {
6830
+ type: string;
6831
+ option: string;
6832
+ path: string;
6833
+ originalFilename: string;
6834
+ }[] | {
6835
+ start: string;
6836
+ end: string;
6837
+ } | null | undefined> | null | undefined;
6838
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6839
+ };
6840
+ }[];
6841
+ export declare function createEmptyDraft(eventId: UUID, draftId: UUID, actionType: ActionType): Draft;
6767
6842
  export declare function isVerificationPage(page: PageConfig): page is VerificationPageConfig;
6768
6843
  export declare function getVisibleVerificationPageIds(pages: PageConfig[], annotation: ActionUpdate): string[];
6769
6844
  export declare function getActionVerificationPageIds(actionConfig: ActionConfig, annotation: ActionUpdate): string[];
@@ -6846,14 +6921,6 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
6846
6921
  end: string;
6847
6922
  } | null | undefined;
6848
6923
  }>;
6849
- /**
6850
- * Merges two documents together.
6851
- *
6852
- * @example deepMerge({'review.signature': { path: '/path.png', type: 'image/png' }}, { foo: 'bar'}) } => { 'review.signature': { path: '/path.png', type: 'image/png' }, foo: 'bar' }
6853
- *
6854
- * NOTE: When merging deep objects, the values from the second object will override the first one.
6855
- * @example { annotation: {'review.signature': { path: '/path.png', type: 'image/png' }}, { annotation: { foo: 'bar'}) } } => { annotation: { foo: 'bar' } }
6856
- */
6857
6924
  export declare function deepMerge<T extends Record<string, unknown>, K extends Record<string, unknown>>(currentDocument: T, actionDocument: K): T & K;
6858
6925
  export declare function findLastAssignmentAction(actions: Action[]): Action | undefined;
6859
6926
  /** Tell compiler that accessing record with arbitrary key might result to undefined
@@ -7448,21 +7515,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7448
7515
  name?: {
7449
7516
  firstname?: {
7450
7517
  required: boolean;
7451
- label?: import("./TranslationConfig").TranslationConfig | undefined;
7452
7518
  } | undefined;
7453
7519
  surname?: {
7454
7520
  required: boolean;
7455
- label?: import("./TranslationConfig").TranslationConfig | undefined;
7456
7521
  } | undefined;
7457
7522
  middlename?: {
7458
7523
  required: boolean;
7459
- label?: import("./TranslationConfig").TranslationConfig | undefined;
7460
7524
  } | undefined;
7461
7525
  } | undefined;
7462
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
7463
7526
  maxLength?: number | undefined;
7464
7527
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
7465
7528
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
7529
+ searchMode?: boolean | undefined;
7466
7530
  } | undefined;
7467
7531
  } | {
7468
7532
  type: "PHONE";
@@ -7795,8 +7859,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7795
7859
  postcodeOrZip?: string | undefined;
7796
7860
  } | undefined;
7797
7861
  configuration?: {
7798
- lineSeparator?: string | undefined;
7799
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
7862
+ searchMode?: boolean | undefined;
7800
7863
  } | undefined;
7801
7864
  } | {
7802
7865
  type: "DATA";
@@ -8413,21 +8476,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8413
8476
  name?: {
8414
8477
  firstname?: {
8415
8478
  required: boolean;
8416
- label?: import("./TranslationConfig").TranslationConfig | undefined;
8417
8479
  } | undefined;
8418
8480
  surname?: {
8419
8481
  required: boolean;
8420
- label?: import("./TranslationConfig").TranslationConfig | undefined;
8421
8482
  } | undefined;
8422
8483
  middlename?: {
8423
8484
  required: boolean;
8424
- label?: import("./TranslationConfig").TranslationConfig | undefined;
8425
8485
  } | undefined;
8426
8486
  } | undefined;
8427
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
8428
8487
  maxLength?: number | undefined;
8429
8488
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
8430
8489
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
8490
+ searchMode?: boolean | undefined;
8431
8491
  } | undefined;
8432
8492
  } | {
8433
8493
  type: "PHONE";
@@ -8760,8 +8820,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8760
8820
  postcodeOrZip?: string | undefined;
8761
8821
  } | undefined;
8762
8822
  configuration?: {
8763
- lineSeparator?: string | undefined;
8764
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
8823
+ searchMode?: boolean | undefined;
8765
8824
  } | undefined;
8766
8825
  } | {
8767
8826
  type: "DATA";
@@ -9377,21 +9436,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9377
9436
  name?: {
9378
9437
  firstname?: {
9379
9438
  required: boolean;
9380
- label?: import("./TranslationConfig").TranslationConfig | undefined;
9381
9439
  } | undefined;
9382
9440
  surname?: {
9383
9441
  required: boolean;
9384
- label?: import("./TranslationConfig").TranslationConfig | undefined;
9385
9442
  } | undefined;
9386
9443
  middlename?: {
9387
9444
  required: boolean;
9388
- label?: import("./TranslationConfig").TranslationConfig | undefined;
9389
9445
  } | undefined;
9390
9446
  } | undefined;
9391
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9392
9447
  maxLength?: number | undefined;
9393
9448
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
9394
9449
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
9450
+ searchMode?: boolean | undefined;
9395
9451
  } | undefined;
9396
9452
  } | {
9397
9453
  type: "PHONE";
@@ -9724,8 +9780,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9724
9780
  postcodeOrZip?: string | undefined;
9725
9781
  } | undefined;
9726
9782
  configuration?: {
9727
- lineSeparator?: string | undefined;
9728
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
9783
+ searchMode?: boolean | undefined;
9729
9784
  } | undefined;
9730
9785
  } | {
9731
9786
  type: "DATA";
@@ -10341,21 +10396,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10341
10396
  name?: {
10342
10397
  firstname?: {
10343
10398
  required: boolean;
10344
- label?: import("./TranslationConfig").TranslationConfig | undefined;
10345
10399
  } | undefined;
10346
10400
  surname?: {
10347
10401
  required: boolean;
10348
- label?: import("./TranslationConfig").TranslationConfig | undefined;
10349
10402
  } | undefined;
10350
10403
  middlename?: {
10351
10404
  required: boolean;
10352
- label?: import("./TranslationConfig").TranslationConfig | undefined;
10353
10405
  } | undefined;
10354
10406
  } | undefined;
10355
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
10356
10407
  maxLength?: number | undefined;
10357
10408
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
10358
10409
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
10410
+ searchMode?: boolean | undefined;
10359
10411
  } | undefined;
10360
10412
  } | {
10361
10413
  type: "PHONE";
@@ -10688,8 +10740,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10688
10740
  postcodeOrZip?: string | undefined;
10689
10741
  } | undefined;
10690
10742
  configuration?: {
10691
- lineSeparator?: string | undefined;
10692
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
10743
+ searchMode?: boolean | undefined;
10693
10744
  } | undefined;
10694
10745
  } | {
10695
10746
  type: "DATA";
@@ -11305,21 +11356,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11305
11356
  name?: {
11306
11357
  firstname?: {
11307
11358
  required: boolean;
11308
- label?: import("./TranslationConfig").TranslationConfig | undefined;
11309
11359
  } | undefined;
11310
11360
  surname?: {
11311
11361
  required: boolean;
11312
- label?: import("./TranslationConfig").TranslationConfig | undefined;
11313
11362
  } | undefined;
11314
11363
  middlename?: {
11315
11364
  required: boolean;
11316
- label?: import("./TranslationConfig").TranslationConfig | undefined;
11317
11365
  } | undefined;
11318
11366
  } | undefined;
11319
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
11320
11367
  maxLength?: number | undefined;
11321
11368
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
11322
11369
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
11370
+ searchMode?: boolean | undefined;
11323
11371
  } | undefined;
11324
11372
  } | {
11325
11373
  type: "PHONE";
@@ -11652,8 +11700,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11652
11700
  postcodeOrZip?: string | undefined;
11653
11701
  } | undefined;
11654
11702
  configuration?: {
11655
- lineSeparator?: string | undefined;
11656
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
11703
+ searchMode?: boolean | undefined;
11657
11704
  } | undefined;
11658
11705
  } | {
11659
11706
  type: "DATA";
@@ -12317,21 +12364,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12317
12364
  name?: {
12318
12365
  firstname?: {
12319
12366
  required: boolean;
12320
- label?: import("./TranslationConfig").TranslationConfig | undefined;
12321
12367
  } | undefined;
12322
12368
  surname?: {
12323
12369
  required: boolean;
12324
- label?: import("./TranslationConfig").TranslationConfig | undefined;
12325
12370
  } | undefined;
12326
12371
  middlename?: {
12327
12372
  required: boolean;
12328
- label?: import("./TranslationConfig").TranslationConfig | undefined;
12329
12373
  } | undefined;
12330
12374
  } | undefined;
12331
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
12332
12375
  maxLength?: number | undefined;
12333
12376
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
12334
12377
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
12378
+ searchMode?: boolean | undefined;
12335
12379
  } | undefined;
12336
12380
  } | {
12337
12381
  type: "PHONE";
@@ -12664,8 +12708,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12664
12708
  postcodeOrZip?: string | undefined;
12665
12709
  } | undefined;
12666
12710
  configuration?: {
12667
- lineSeparator?: string | undefined;
12668
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
12711
+ searchMode?: boolean | undefined;
12669
12712
  } | undefined;
12670
12713
  } | {
12671
12714
  type: "DATA";
@@ -13284,21 +13327,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13284
13327
  name?: {
13285
13328
  firstname?: {
13286
13329
  required: boolean;
13287
- label?: import("./TranslationConfig").TranslationConfig | undefined;
13288
13330
  } | undefined;
13289
13331
  surname?: {
13290
13332
  required: boolean;
13291
- label?: import("./TranslationConfig").TranslationConfig | undefined;
13292
13333
  } | undefined;
13293
13334
  middlename?: {
13294
13335
  required: boolean;
13295
- label?: import("./TranslationConfig").TranslationConfig | undefined;
13296
13336
  } | undefined;
13297
13337
  } | undefined;
13298
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
13299
13338
  maxLength?: number | undefined;
13300
13339
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
13301
13340
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
13341
+ searchMode?: boolean | undefined;
13302
13342
  } | undefined;
13303
13343
  } | {
13304
13344
  type: "PHONE";
@@ -13631,8 +13671,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13631
13671
  postcodeOrZip?: string | undefined;
13632
13672
  } | undefined;
13633
13673
  configuration?: {
13634
- lineSeparator?: string | undefined;
13635
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
13674
+ searchMode?: boolean | undefined;
13636
13675
  } | undefined;
13637
13676
  } | {
13638
13677
  type: "DATA";
@@ -14254,21 +14293,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14254
14293
  name?: {
14255
14294
  firstname?: {
14256
14295
  required: boolean;
14257
- label?: import("./TranslationConfig").TranslationConfig | undefined;
14258
14296
  } | undefined;
14259
14297
  surname?: {
14260
14298
  required: boolean;
14261
- label?: import("./TranslationConfig").TranslationConfig | undefined;
14262
14299
  } | undefined;
14263
14300
  middlename?: {
14264
14301
  required: boolean;
14265
- label?: import("./TranslationConfig").TranslationConfig | undefined;
14266
14302
  } | undefined;
14267
14303
  } | undefined;
14268
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
14269
14304
  maxLength?: number | undefined;
14270
14305
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
14271
14306
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
14307
+ searchMode?: boolean | undefined;
14272
14308
  } | undefined;
14273
14309
  } | {
14274
14310
  type: "PHONE";
@@ -14601,8 +14637,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14601
14637
  postcodeOrZip?: string | undefined;
14602
14638
  } | undefined;
14603
14639
  configuration?: {
14604
- lineSeparator?: string | undefined;
14605
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
14640
+ searchMode?: boolean | undefined;
14606
14641
  } | undefined;
14607
14642
  } | {
14608
14643
  type: "DATA";
@@ -15221,21 +15256,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15221
15256
  name?: {
15222
15257
  firstname?: {
15223
15258
  required: boolean;
15224
- label?: import("./TranslationConfig").TranslationConfig | undefined;
15225
15259
  } | undefined;
15226
15260
  surname?: {
15227
15261
  required: boolean;
15228
- label?: import("./TranslationConfig").TranslationConfig | undefined;
15229
15262
  } | undefined;
15230
15263
  middlename?: {
15231
15264
  required: boolean;
15232
- label?: import("./TranslationConfig").TranslationConfig | undefined;
15233
15265
  } | undefined;
15234
15266
  } | undefined;
15235
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
15236
15267
  maxLength?: number | undefined;
15237
15268
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
15238
15269
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
15270
+ searchMode?: boolean | undefined;
15239
15271
  } | undefined;
15240
15272
  } | {
15241
15273
  type: "PHONE";
@@ -15568,8 +15600,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15568
15600
  postcodeOrZip?: string | undefined;
15569
15601
  } | undefined;
15570
15602
  configuration?: {
15571
- lineSeparator?: string | undefined;
15572
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
15603
+ searchMode?: boolean | undefined;
15573
15604
  } | undefined;
15574
15605
  } | {
15575
15606
  type: "DATA";
@@ -15726,5 +15757,4 @@ export declare function timePeriodToDateRange(value: SelectDateRangeValue): {
15726
15757
  startDate: string;
15727
15758
  endDate: string;
15728
15759
  };
15729
- export declare function mergeDrafts(currentDraft: Draft, incomingDraft: Draft): Draft;
15730
15760
  //# sourceMappingURL=utils.d.ts.map