@opencrvs/toolkit 1.8.1-rc.742a497 → 1.8.1-rc.77e91ea

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,18 +577,21 @@ export declare function getDeclarationPages(configuration: EventConfig): {
577
577
  name?: {
578
578
  firstname?: {
579
579
  required: boolean;
580
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
580
581
  } | undefined;
581
582
  surname?: {
582
583
  required: boolean;
584
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
583
585
  } | undefined;
584
586
  middlename?: {
585
587
  required: boolean;
588
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
586
589
  } | undefined;
587
590
  } | undefined;
591
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
588
592
  maxLength?: number | undefined;
589
593
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
590
594
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
591
- searchMode?: boolean | undefined;
592
595
  } | undefined;
593
596
  } | {
594
597
  type: "PHONE";
@@ -921,7 +924,8 @@ export declare function getDeclarationPages(configuration: EventConfig): {
921
924
  postcodeOrZip?: string | undefined;
922
925
  } | undefined;
923
926
  configuration?: {
924
- searchMode?: boolean | undefined;
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;
925
929
  } | undefined;
926
930
  } | {
927
931
  type: "DATA";
@@ -1531,18 +1535,21 @@ export declare function getDeclaration(configuration: EventConfig): {
1531
1535
  name?: {
1532
1536
  firstname?: {
1533
1537
  required: boolean;
1538
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
1534
1539
  } | undefined;
1535
1540
  surname?: {
1536
1541
  required: boolean;
1542
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
1537
1543
  } | undefined;
1538
1544
  middlename?: {
1539
1545
  required: boolean;
1546
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
1540
1547
  } | undefined;
1541
1548
  } | undefined;
1549
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
1542
1550
  maxLength?: number | undefined;
1543
1551
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1544
1552
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1545
- searchMode?: boolean | undefined;
1546
1553
  } | undefined;
1547
1554
  } | {
1548
1555
  type: "PHONE";
@@ -1875,7 +1882,8 @@ export declare function getDeclaration(configuration: EventConfig): {
1875
1882
  postcodeOrZip?: string | undefined;
1876
1883
  } | undefined;
1877
1884
  configuration?: {
1878
- searchMode?: boolean | undefined;
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;
1879
1887
  } | undefined;
1880
1888
  } | {
1881
1889
  type: "DATA";
@@ -2484,18 +2492,21 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2484
2492
  name?: {
2485
2493
  firstname?: {
2486
2494
  required: boolean;
2495
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
2487
2496
  } | undefined;
2488
2497
  surname?: {
2489
2498
  required: boolean;
2499
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
2490
2500
  } | undefined;
2491
2501
  middlename?: {
2492
2502
  required: boolean;
2503
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
2493
2504
  } | undefined;
2494
2505
  } | undefined;
2506
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
2495
2507
  maxLength?: number | undefined;
2496
2508
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2497
2509
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2498
- searchMode?: boolean | undefined;
2499
2510
  } | undefined;
2500
2511
  } | {
2501
2512
  type: "PHONE";
@@ -2828,7 +2839,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2828
2839
  postcodeOrZip?: string | undefined;
2829
2840
  } | undefined;
2830
2841
  configuration?: {
2831
- searchMode?: boolean | undefined;
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;
2832
2844
  } | undefined;
2833
2845
  } | {
2834
2846
  type: "DATA";
@@ -3447,18 +3459,21 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3447
3459
  name?: {
3448
3460
  firstname?: {
3449
3461
  required: boolean;
3462
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
3450
3463
  } | undefined;
3451
3464
  surname?: {
3452
3465
  required: boolean;
3466
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
3453
3467
  } | undefined;
3454
3468
  middlename?: {
3455
3469
  required: boolean;
3470
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
3456
3471
  } | undefined;
3457
3472
  } | undefined;
3473
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
3458
3474
  maxLength?: number | undefined;
3459
3475
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
3460
3476
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
3461
- searchMode?: boolean | undefined;
3462
3477
  } | undefined;
3463
3478
  } | {
3464
3479
  type: "PHONE";
@@ -3791,7 +3806,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3791
3806
  postcodeOrZip?: string | undefined;
3792
3807
  } | undefined;
3793
3808
  configuration?: {
3794
- searchMode?: boolean | undefined;
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;
3795
3811
  } | undefined;
3796
3812
  } | {
3797
3813
  type: "DATA";
@@ -4395,18 +4411,21 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4395
4411
  name?: {
4396
4412
  firstname?: {
4397
4413
  required: boolean;
4414
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
4398
4415
  } | undefined;
4399
4416
  surname?: {
4400
4417
  required: boolean;
4418
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
4401
4419
  } | undefined;
4402
4420
  middlename?: {
4403
4421
  required: boolean;
4422
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
4404
4423
  } | undefined;
4405
4424
  } | undefined;
4425
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
4406
4426
  maxLength?: number | undefined;
4407
4427
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
4408
4428
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
4409
- searchMode?: boolean | undefined;
4410
4429
  } | undefined;
4411
4430
  } | {
4412
4431
  type: "PHONE";
@@ -4739,7 +4758,8 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4739
4758
  postcodeOrZip?: string | undefined;
4740
4759
  } | undefined;
4741
4760
  configuration?: {
4742
- searchMode?: boolean | undefined;
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;
4743
4763
  } | undefined;
4744
4764
  } | {
4745
4765
  type: "DATA";
@@ -5349,18 +5369,21 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5349
5369
  name?: {
5350
5370
  firstname?: {
5351
5371
  required: boolean;
5372
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
5352
5373
  } | undefined;
5353
5374
  surname?: {
5354
5375
  required: boolean;
5376
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
5355
5377
  } | undefined;
5356
5378
  middlename?: {
5357
5379
  required: boolean;
5380
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
5358
5381
  } | undefined;
5359
5382
  } | undefined;
5383
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
5360
5384
  maxLength?: number | undefined;
5361
5385
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
5362
5386
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
5363
- searchMode?: boolean | undefined;
5364
5387
  } | undefined;
5365
5388
  } | {
5366
5389
  type: "PHONE";
@@ -5693,7 +5716,8 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5693
5716
  postcodeOrZip?: string | undefined;
5694
5717
  } | undefined;
5695
5718
  configuration?: {
5696
- searchMode?: boolean | undefined;
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;
5697
5721
  } | undefined;
5698
5722
  } | {
5699
5723
  type: "DATA";
@@ -6296,18 +6320,21 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6296
6320
  name?: {
6297
6321
  firstname?: {
6298
6322
  required: boolean;
6323
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
6299
6324
  } | undefined;
6300
6325
  surname?: {
6301
6326
  required: boolean;
6327
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
6302
6328
  } | undefined;
6303
6329
  middlename?: {
6304
6330
  required: boolean;
6331
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
6305
6332
  } | undefined;
6306
6333
  } | undefined;
6334
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
6307
6335
  maxLength?: number | undefined;
6308
6336
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
6309
6337
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
6310
- searchMode?: boolean | undefined;
6311
6338
  } | undefined;
6312
6339
  } | {
6313
6340
  type: "PHONE";
@@ -6640,7 +6667,8 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6640
6667
  postcodeOrZip?: string | undefined;
6641
6668
  } | undefined;
6642
6669
  configuration?: {
6643
- searchMode?: boolean | undefined;
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;
6644
6672
  } | undefined;
6645
6673
  } | {
6646
6674
  type: "DATA";
@@ -6730,115 +6758,12 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
6730
6758
  start: string;
6731
6759
  end: string;
6732
6760
  } | null | undefined>>;
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;
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;
6842
6767
  export declare function isVerificationPage(page: PageConfig): page is VerificationPageConfig;
6843
6768
  export declare function getVisibleVerificationPageIds(pages: PageConfig[], annotation: ActionUpdate): string[];
6844
6769
  export declare function getActionVerificationPageIds(actionConfig: ActionConfig, annotation: ActionUpdate): string[];
@@ -6921,6 +6846,14 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
6921
6846
  end: string;
6922
6847
  } | null | undefined;
6923
6848
  }>;
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
+ */
6924
6857
  export declare function deepMerge<T extends Record<string, unknown>, K extends Record<string, unknown>>(currentDocument: T, actionDocument: K): T & K;
6925
6858
  export declare function findLastAssignmentAction(actions: Action[]): Action | undefined;
6926
6859
  /** Tell compiler that accessing record with arbitrary key might result to undefined
@@ -7515,18 +7448,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7515
7448
  name?: {
7516
7449
  firstname?: {
7517
7450
  required: boolean;
7451
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
7518
7452
  } | undefined;
7519
7453
  surname?: {
7520
7454
  required: boolean;
7455
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
7521
7456
  } | undefined;
7522
7457
  middlename?: {
7523
7458
  required: boolean;
7459
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
7524
7460
  } | undefined;
7525
7461
  } | undefined;
7462
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
7526
7463
  maxLength?: number | undefined;
7527
7464
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
7528
7465
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
7529
- searchMode?: boolean | undefined;
7530
7466
  } | undefined;
7531
7467
  } | {
7532
7468
  type: "PHONE";
@@ -7859,7 +7795,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7859
7795
  postcodeOrZip?: string | undefined;
7860
7796
  } | undefined;
7861
7797
  configuration?: {
7862
- searchMode?: boolean | undefined;
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;
7863
7800
  } | undefined;
7864
7801
  } | {
7865
7802
  type: "DATA";
@@ -8476,18 +8413,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8476
8413
  name?: {
8477
8414
  firstname?: {
8478
8415
  required: boolean;
8416
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
8479
8417
  } | undefined;
8480
8418
  surname?: {
8481
8419
  required: boolean;
8420
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
8482
8421
  } | undefined;
8483
8422
  middlename?: {
8484
8423
  required: boolean;
8424
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
8485
8425
  } | undefined;
8486
8426
  } | undefined;
8427
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
8487
8428
  maxLength?: number | undefined;
8488
8429
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
8489
8430
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
8490
- searchMode?: boolean | undefined;
8491
8431
  } | undefined;
8492
8432
  } | {
8493
8433
  type: "PHONE";
@@ -8820,7 +8760,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8820
8760
  postcodeOrZip?: string | undefined;
8821
8761
  } | undefined;
8822
8762
  configuration?: {
8823
- searchMode?: boolean | undefined;
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;
8824
8765
  } | undefined;
8825
8766
  } | {
8826
8767
  type: "DATA";
@@ -9436,18 +9377,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9436
9377
  name?: {
9437
9378
  firstname?: {
9438
9379
  required: boolean;
9380
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
9439
9381
  } | undefined;
9440
9382
  surname?: {
9441
9383
  required: boolean;
9384
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
9442
9385
  } | undefined;
9443
9386
  middlename?: {
9444
9387
  required: boolean;
9388
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
9445
9389
  } | undefined;
9446
9390
  } | undefined;
9391
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
9447
9392
  maxLength?: number | undefined;
9448
9393
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
9449
9394
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
9450
- searchMode?: boolean | undefined;
9451
9395
  } | undefined;
9452
9396
  } | {
9453
9397
  type: "PHONE";
@@ -9780,7 +9724,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9780
9724
  postcodeOrZip?: string | undefined;
9781
9725
  } | undefined;
9782
9726
  configuration?: {
9783
- searchMode?: boolean | undefined;
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;
9784
9729
  } | undefined;
9785
9730
  } | {
9786
9731
  type: "DATA";
@@ -10396,18 +10341,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10396
10341
  name?: {
10397
10342
  firstname?: {
10398
10343
  required: boolean;
10344
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
10399
10345
  } | undefined;
10400
10346
  surname?: {
10401
10347
  required: boolean;
10348
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
10402
10349
  } | undefined;
10403
10350
  middlename?: {
10404
10351
  required: boolean;
10352
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
10405
10353
  } | undefined;
10406
10354
  } | undefined;
10355
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
10407
10356
  maxLength?: number | undefined;
10408
10357
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
10409
10358
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
10410
- searchMode?: boolean | undefined;
10411
10359
  } | undefined;
10412
10360
  } | {
10413
10361
  type: "PHONE";
@@ -10740,7 +10688,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10740
10688
  postcodeOrZip?: string | undefined;
10741
10689
  } | undefined;
10742
10690
  configuration?: {
10743
- searchMode?: boolean | undefined;
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;
10744
10693
  } | undefined;
10745
10694
  } | {
10746
10695
  type: "DATA";
@@ -11356,18 +11305,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11356
11305
  name?: {
11357
11306
  firstname?: {
11358
11307
  required: boolean;
11308
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
11359
11309
  } | undefined;
11360
11310
  surname?: {
11361
11311
  required: boolean;
11312
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
11362
11313
  } | undefined;
11363
11314
  middlename?: {
11364
11315
  required: boolean;
11316
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
11365
11317
  } | undefined;
11366
11318
  } | undefined;
11319
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
11367
11320
  maxLength?: number | undefined;
11368
11321
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
11369
11322
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
11370
- searchMode?: boolean | undefined;
11371
11323
  } | undefined;
11372
11324
  } | {
11373
11325
  type: "PHONE";
@@ -11700,7 +11652,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11700
11652
  postcodeOrZip?: string | undefined;
11701
11653
  } | undefined;
11702
11654
  configuration?: {
11703
- searchMode?: boolean | undefined;
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;
11704
11657
  } | undefined;
11705
11658
  } | {
11706
11659
  type: "DATA";
@@ -12364,18 +12317,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12364
12317
  name?: {
12365
12318
  firstname?: {
12366
12319
  required: boolean;
12320
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
12367
12321
  } | undefined;
12368
12322
  surname?: {
12369
12323
  required: boolean;
12324
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
12370
12325
  } | undefined;
12371
12326
  middlename?: {
12372
12327
  required: boolean;
12328
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
12373
12329
  } | undefined;
12374
12330
  } | undefined;
12331
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
12375
12332
  maxLength?: number | undefined;
12376
12333
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
12377
12334
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
12378
- searchMode?: boolean | undefined;
12379
12335
  } | undefined;
12380
12336
  } | {
12381
12337
  type: "PHONE";
@@ -12708,7 +12664,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12708
12664
  postcodeOrZip?: string | undefined;
12709
12665
  } | undefined;
12710
12666
  configuration?: {
12711
- searchMode?: boolean | undefined;
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;
12712
12669
  } | undefined;
12713
12670
  } | {
12714
12671
  type: "DATA";
@@ -13327,18 +13284,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13327
13284
  name?: {
13328
13285
  firstname?: {
13329
13286
  required: boolean;
13287
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
13330
13288
  } | undefined;
13331
13289
  surname?: {
13332
13290
  required: boolean;
13291
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
13333
13292
  } | undefined;
13334
13293
  middlename?: {
13335
13294
  required: boolean;
13295
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
13336
13296
  } | undefined;
13337
13297
  } | undefined;
13298
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
13338
13299
  maxLength?: number | undefined;
13339
13300
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
13340
13301
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
13341
- searchMode?: boolean | undefined;
13342
13302
  } | undefined;
13343
13303
  } | {
13344
13304
  type: "PHONE";
@@ -13671,7 +13631,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13671
13631
  postcodeOrZip?: string | undefined;
13672
13632
  } | undefined;
13673
13633
  configuration?: {
13674
- searchMode?: boolean | undefined;
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;
13675
13636
  } | undefined;
13676
13637
  } | {
13677
13638
  type: "DATA";
@@ -14293,18 +14254,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14293
14254
  name?: {
14294
14255
  firstname?: {
14295
14256
  required: boolean;
14257
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
14296
14258
  } | undefined;
14297
14259
  surname?: {
14298
14260
  required: boolean;
14261
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
14299
14262
  } | undefined;
14300
14263
  middlename?: {
14301
14264
  required: boolean;
14265
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
14302
14266
  } | undefined;
14303
14267
  } | undefined;
14268
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
14304
14269
  maxLength?: number | undefined;
14305
14270
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
14306
14271
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
14307
- searchMode?: boolean | undefined;
14308
14272
  } | undefined;
14309
14273
  } | {
14310
14274
  type: "PHONE";
@@ -14637,7 +14601,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14637
14601
  postcodeOrZip?: string | undefined;
14638
14602
  } | undefined;
14639
14603
  configuration?: {
14640
- searchMode?: boolean | undefined;
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;
14641
14606
  } | undefined;
14642
14607
  } | {
14643
14608
  type: "DATA";
@@ -15256,18 +15221,21 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15256
15221
  name?: {
15257
15222
  firstname?: {
15258
15223
  required: boolean;
15224
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
15259
15225
  } | undefined;
15260
15226
  surname?: {
15261
15227
  required: boolean;
15228
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
15262
15229
  } | undefined;
15263
15230
  middlename?: {
15264
15231
  required: boolean;
15232
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
15265
15233
  } | undefined;
15266
15234
  } | undefined;
15235
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
15267
15236
  maxLength?: number | undefined;
15268
15237
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
15269
15238
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
15270
- searchMode?: boolean | undefined;
15271
15239
  } | undefined;
15272
15240
  } | {
15273
15241
  type: "PHONE";
@@ -15600,7 +15568,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15600
15568
  postcodeOrZip?: string | undefined;
15601
15569
  } | undefined;
15602
15570
  configuration?: {
15603
- searchMode?: boolean | undefined;
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;
15604
15573
  } | undefined;
15605
15574
  } | {
15606
15575
  type: "DATA";
@@ -15757,4 +15726,5 @@ export declare function timePeriodToDateRange(value: SelectDateRangeValue): {
15757
15726
  startDate: string;
15758
15727
  endDate: string;
15759
15728
  };
15729
+ export declare function mergeDrafts(currentDraft: Draft, incomingDraft: Draft): Draft;
15760
15730
  //# sourceMappingURL=utils.d.ts.map