@opencrvs/toolkit 1.8.1-rc.c39f8f6 → 1.8.1-rc.c7fcaa3
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.
- package/dist/commons/api/router.d.ts +394 -393
- package/dist/commons/conditionals/validate.d.ts +11 -2
- package/dist/commons/events/ActionConfig.d.ts +3924 -642
- package/dist/commons/events/ActionDocument.d.ts +736 -736
- package/dist/commons/events/ActionInput.d.ts +600 -600
- package/dist/commons/events/AdvancedSearchConfig.d.ts +49 -31
- package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
- package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
- package/dist/commons/events/Draft.d.ts +56 -56
- package/dist/commons/events/EventConfig.d.ts +1259 -240
- package/dist/commons/events/EventDocument.d.ts +432 -432
- package/dist/commons/events/EventIndex.d.ts +62 -62
- package/dist/commons/events/EventMetadata.d.ts +9 -9
- package/dist/commons/events/FieldConfig.d.ts +1064 -71
- package/dist/commons/events/FieldType.d.ts +5 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/FormConfig.d.ts +1956 -378
- package/dist/commons/events/PageConfig.d.ts +524 -82
- package/dist/commons/events/WorkqueueConfig.d.ts +199 -164
- package/dist/commons/events/defineConfig.d.ts +181 -46
- package/dist/commons/events/event.d.ts +61 -7
- package/dist/commons/events/test.utils.d.ts +14 -13
- package/dist/commons/events/utils.d.ts +341 -195
- package/dist/conditionals/index.js +3 -2
- package/dist/events/index.js +1071 -860
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
- package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
- package/dist/commons/conditionals/validate.test.d.ts +0 -2
- package/dist/commons/events/utils.test.d.ts +0 -2
@@ -569,15 +569,29 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
569
569
|
hideLabel?: boolean | undefined;
|
570
570
|
uncorrectable?: boolean | undefined;
|
571
571
|
defaultValue?: {
|
572
|
-
firstname
|
573
|
-
surname
|
572
|
+
firstname?: string | undefined;
|
573
|
+
surname?: string | undefined;
|
574
|
+
middlename?: string | undefined;
|
574
575
|
} | undefined;
|
575
576
|
configuration?: {
|
577
|
+
name?: {
|
578
|
+
firstname?: {
|
579
|
+
required: boolean;
|
580
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
581
|
+
} | undefined;
|
582
|
+
surname?: {
|
583
|
+
required: boolean;
|
584
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
585
|
+
} | undefined;
|
586
|
+
middlename?: {
|
587
|
+
required: boolean;
|
588
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
589
|
+
} | undefined;
|
590
|
+
} | undefined;
|
591
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
576
592
|
maxLength?: number | undefined;
|
577
593
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
578
594
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
579
|
-
includeMiddlename?: boolean | undefined;
|
580
|
-
searchMode?: boolean | undefined;
|
581
595
|
} | undefined;
|
582
596
|
} | {
|
583
597
|
type: "PHONE";
|
@@ -910,7 +924,8 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
910
924
|
postcodeOrZip?: string | undefined;
|
911
925
|
} | undefined;
|
912
926
|
configuration?: {
|
913
|
-
|
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;
|
914
929
|
} | undefined;
|
915
930
|
} | {
|
916
931
|
type: "DATA";
|
@@ -1512,15 +1527,29 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
1512
1527
|
hideLabel?: boolean | undefined;
|
1513
1528
|
uncorrectable?: boolean | undefined;
|
1514
1529
|
defaultValue?: {
|
1515
|
-
firstname
|
1516
|
-
surname
|
1530
|
+
firstname?: string | undefined;
|
1531
|
+
surname?: string | undefined;
|
1532
|
+
middlename?: string | undefined;
|
1517
1533
|
} | undefined;
|
1518
1534
|
configuration?: {
|
1535
|
+
name?: {
|
1536
|
+
firstname?: {
|
1537
|
+
required: boolean;
|
1538
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1539
|
+
} | undefined;
|
1540
|
+
surname?: {
|
1541
|
+
required: boolean;
|
1542
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1543
|
+
} | undefined;
|
1544
|
+
middlename?: {
|
1545
|
+
required: boolean;
|
1546
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1547
|
+
} | undefined;
|
1548
|
+
} | undefined;
|
1549
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
1519
1550
|
maxLength?: number | undefined;
|
1520
1551
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1521
1552
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1522
|
-
includeMiddlename?: boolean | undefined;
|
1523
|
-
searchMode?: boolean | undefined;
|
1524
1553
|
} | undefined;
|
1525
1554
|
} | {
|
1526
1555
|
type: "PHONE";
|
@@ -1853,7 +1882,8 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
1853
1882
|
postcodeOrZip?: string | undefined;
|
1854
1883
|
} | undefined;
|
1855
1884
|
configuration?: {
|
1856
|
-
|
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;
|
1857
1887
|
} | undefined;
|
1858
1888
|
} | {
|
1859
1889
|
type: "DATA";
|
@@ -2454,15 +2484,29 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
2454
2484
|
hideLabel?: boolean | undefined;
|
2455
2485
|
uncorrectable?: boolean | undefined;
|
2456
2486
|
defaultValue?: {
|
2457
|
-
firstname
|
2458
|
-
surname
|
2487
|
+
firstname?: string | undefined;
|
2488
|
+
surname?: string | undefined;
|
2489
|
+
middlename?: string | undefined;
|
2459
2490
|
} | undefined;
|
2460
2491
|
configuration?: {
|
2492
|
+
name?: {
|
2493
|
+
firstname?: {
|
2494
|
+
required: boolean;
|
2495
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2496
|
+
} | undefined;
|
2497
|
+
surname?: {
|
2498
|
+
required: boolean;
|
2499
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2500
|
+
} | undefined;
|
2501
|
+
middlename?: {
|
2502
|
+
required: boolean;
|
2503
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2504
|
+
} | undefined;
|
2505
|
+
} | undefined;
|
2506
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2461
2507
|
maxLength?: number | undefined;
|
2462
2508
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2463
2509
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2464
|
-
includeMiddlename?: boolean | undefined;
|
2465
|
-
searchMode?: boolean | undefined;
|
2466
2510
|
} | undefined;
|
2467
2511
|
} | {
|
2468
2512
|
type: "PHONE";
|
@@ -2795,7 +2839,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
2795
2839
|
postcodeOrZip?: string | undefined;
|
2796
2840
|
} | undefined;
|
2797
2841
|
configuration?: {
|
2798
|
-
|
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;
|
2799
2844
|
} | undefined;
|
2800
2845
|
} | {
|
2801
2846
|
type: "DATA";
|
@@ -3406,15 +3451,29 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
3406
3451
|
hideLabel?: boolean | undefined;
|
3407
3452
|
uncorrectable?: boolean | undefined;
|
3408
3453
|
defaultValue?: {
|
3409
|
-
firstname
|
3410
|
-
surname
|
3454
|
+
firstname?: string | undefined;
|
3455
|
+
surname?: string | undefined;
|
3456
|
+
middlename?: string | undefined;
|
3411
3457
|
} | undefined;
|
3412
3458
|
configuration?: {
|
3459
|
+
name?: {
|
3460
|
+
firstname?: {
|
3461
|
+
required: boolean;
|
3462
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3463
|
+
} | undefined;
|
3464
|
+
surname?: {
|
3465
|
+
required: boolean;
|
3466
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3467
|
+
} | undefined;
|
3468
|
+
middlename?: {
|
3469
|
+
required: boolean;
|
3470
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3471
|
+
} | undefined;
|
3472
|
+
} | undefined;
|
3473
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3413
3474
|
maxLength?: number | undefined;
|
3414
3475
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3415
3476
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3416
|
-
includeMiddlename?: boolean | undefined;
|
3417
|
-
searchMode?: boolean | undefined;
|
3418
3477
|
} | undefined;
|
3419
3478
|
} | {
|
3420
3479
|
type: "PHONE";
|
@@ -3747,7 +3806,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
3747
3806
|
postcodeOrZip?: string | undefined;
|
3748
3807
|
} | undefined;
|
3749
3808
|
configuration?: {
|
3750
|
-
|
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;
|
3751
3811
|
} | undefined;
|
3752
3812
|
} | {
|
3753
3813
|
type: "DATA";
|
@@ -4343,15 +4403,29 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
4343
4403
|
hideLabel?: boolean | undefined;
|
4344
4404
|
uncorrectable?: boolean | undefined;
|
4345
4405
|
defaultValue?: {
|
4346
|
-
firstname
|
4347
|
-
surname
|
4406
|
+
firstname?: string | undefined;
|
4407
|
+
surname?: string | undefined;
|
4408
|
+
middlename?: string | undefined;
|
4348
4409
|
} | undefined;
|
4349
4410
|
configuration?: {
|
4411
|
+
name?: {
|
4412
|
+
firstname?: {
|
4413
|
+
required: boolean;
|
4414
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4415
|
+
} | undefined;
|
4416
|
+
surname?: {
|
4417
|
+
required: boolean;
|
4418
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4419
|
+
} | undefined;
|
4420
|
+
middlename?: {
|
4421
|
+
required: boolean;
|
4422
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4423
|
+
} | undefined;
|
4424
|
+
} | undefined;
|
4425
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
4350
4426
|
maxLength?: number | undefined;
|
4351
4427
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4352
4428
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4353
|
-
includeMiddlename?: boolean | undefined;
|
4354
|
-
searchMode?: boolean | undefined;
|
4355
4429
|
} | undefined;
|
4356
4430
|
} | {
|
4357
4431
|
type: "PHONE";
|
@@ -4684,7 +4758,8 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
4684
4758
|
postcodeOrZip?: string | undefined;
|
4685
4759
|
} | undefined;
|
4686
4760
|
configuration?: {
|
4687
|
-
|
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;
|
4688
4763
|
} | undefined;
|
4689
4764
|
} | {
|
4690
4765
|
type: "DATA";
|
@@ -4723,7 +4798,7 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
4723
4798
|
hideLabel?: boolean | undefined;
|
4724
4799
|
uncorrectable?: boolean | undefined;
|
4725
4800
|
})[];
|
4726
|
-
export declare function getAllUniqueFields(eventConfig: EventConfig):
|
4801
|
+
export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
|
4727
4802
|
export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
|
4728
4803
|
/**
|
4729
4804
|
* @TODO: Request correction should have same format as print certificate
|
@@ -5286,15 +5361,29 @@ export declare function getActionReview(configuration: EventConfig, actionType:
|
|
5286
5361
|
hideLabel?: boolean | undefined;
|
5287
5362
|
uncorrectable?: boolean | undefined;
|
5288
5363
|
defaultValue?: {
|
5289
|
-
firstname
|
5290
|
-
surname
|
5364
|
+
firstname?: string | undefined;
|
5365
|
+
surname?: string | undefined;
|
5366
|
+
middlename?: string | undefined;
|
5291
5367
|
} | undefined;
|
5292
5368
|
configuration?: {
|
5369
|
+
name?: {
|
5370
|
+
firstname?: {
|
5371
|
+
required: boolean;
|
5372
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5373
|
+
} | undefined;
|
5374
|
+
surname?: {
|
5375
|
+
required: boolean;
|
5376
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5377
|
+
} | undefined;
|
5378
|
+
middlename?: {
|
5379
|
+
required: boolean;
|
5380
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5381
|
+
} | undefined;
|
5382
|
+
} | undefined;
|
5383
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
5293
5384
|
maxLength?: number | undefined;
|
5294
5385
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5295
5386
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5296
|
-
includeMiddlename?: boolean | undefined;
|
5297
|
-
searchMode?: boolean | undefined;
|
5298
5387
|
} | undefined;
|
5299
5388
|
} | {
|
5300
5389
|
type: "PHONE";
|
@@ -5627,7 +5716,8 @@ export declare function getActionReview(configuration: EventConfig, actionType:
|
|
5627
5716
|
postcodeOrZip?: string | undefined;
|
5628
5717
|
} | undefined;
|
5629
5718
|
configuration?: {
|
5630
|
-
|
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;
|
5631
5721
|
} | undefined;
|
5632
5722
|
} | {
|
5633
5723
|
type: "DATA";
|
@@ -6222,15 +6312,29 @@ export declare function getActionReviewFields(configuration: EventConfig, action
|
|
6222
6312
|
hideLabel?: boolean | undefined;
|
6223
6313
|
uncorrectable?: boolean | undefined;
|
6224
6314
|
defaultValue?: {
|
6225
|
-
firstname
|
6226
|
-
surname
|
6315
|
+
firstname?: string | undefined;
|
6316
|
+
surname?: string | undefined;
|
6317
|
+
middlename?: string | undefined;
|
6227
6318
|
} | undefined;
|
6228
6319
|
configuration?: {
|
6320
|
+
name?: {
|
6321
|
+
firstname?: {
|
6322
|
+
required: boolean;
|
6323
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6324
|
+
} | undefined;
|
6325
|
+
surname?: {
|
6326
|
+
required: boolean;
|
6327
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6328
|
+
} | undefined;
|
6329
|
+
middlename?: {
|
6330
|
+
required: boolean;
|
6331
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6332
|
+
} | undefined;
|
6333
|
+
} | undefined;
|
6334
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6229
6335
|
maxLength?: number | undefined;
|
6230
6336
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6231
6337
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6232
|
-
includeMiddlename?: boolean | undefined;
|
6233
|
-
searchMode?: boolean | undefined;
|
6234
6338
|
} | undefined;
|
6235
6339
|
} | {
|
6236
6340
|
type: "PHONE";
|
@@ -6563,7 +6667,8 @@ export declare function getActionReviewFields(configuration: EventConfig, action
|
|
6563
6667
|
postcodeOrZip?: string | undefined;
|
6564
6668
|
} | undefined;
|
6565
6669
|
configuration?: {
|
6566
|
-
|
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;
|
6567
6672
|
} | undefined;
|
6568
6673
|
} | {
|
6569
6674
|
type: "DATA";
|
@@ -6631,8 +6736,8 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
|
|
6631
6736
|
surname: string;
|
6632
6737
|
middlename?: string | undefined;
|
6633
6738
|
} | {
|
6634
|
-
firstname
|
6635
|
-
surname
|
6739
|
+
firstname: string;
|
6740
|
+
surname: string;
|
6636
6741
|
middlename?: string | null | undefined;
|
6637
6742
|
} | {
|
6638
6743
|
country: string;
|
@@ -6653,115 +6758,12 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
|
|
6653
6758
|
start: string;
|
6654
6759
|
end: string;
|
6655
6760
|
} | null | undefined>>;
|
6656
|
-
|
6657
|
-
|
6658
|
-
|
6659
|
-
|
6660
|
-
|
6661
|
-
|
6662
|
-
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";
|
6663
|
-
status: "Rejected" | "Requested" | "Accepted";
|
6664
|
-
transactionId: string;
|
6665
|
-
createdByUserType: "system" | "user";
|
6666
|
-
createdAt: string;
|
6667
|
-
createdBy: string;
|
6668
|
-
createdByRole: string;
|
6669
|
-
declaration: Record<string, string | number | boolean | {
|
6670
|
-
type: string;
|
6671
|
-
path: string;
|
6672
|
-
originalFilename: string;
|
6673
|
-
} | {
|
6674
|
-
country: string;
|
6675
|
-
district: string;
|
6676
|
-
addressType: "DOMESTIC";
|
6677
|
-
province: string;
|
6678
|
-
urbanOrRural: "URBAN";
|
6679
|
-
number?: string | null | undefined;
|
6680
|
-
town?: string | null | undefined;
|
6681
|
-
residentialArea?: string | null | undefined;
|
6682
|
-
street?: string | null | undefined;
|
6683
|
-
zipCode?: string | null | undefined;
|
6684
|
-
} | {
|
6685
|
-
firstname?: string | null | undefined;
|
6686
|
-
surname?: string | null | undefined;
|
6687
|
-
middlename?: string | null | undefined;
|
6688
|
-
} | {
|
6689
|
-
country: string;
|
6690
|
-
district: string;
|
6691
|
-
addressType: "DOMESTIC";
|
6692
|
-
province: string;
|
6693
|
-
urbanOrRural: "RURAL";
|
6694
|
-
village?: string | null | undefined;
|
6695
|
-
} | {
|
6696
|
-
country: string;
|
6697
|
-
state: string;
|
6698
|
-
addressType: "INTERNATIONAL";
|
6699
|
-
district2: string;
|
6700
|
-
cityOrTown?: string | null | undefined;
|
6701
|
-
addressLine1?: string | null | undefined;
|
6702
|
-
addressLine2?: string | null | undefined;
|
6703
|
-
addressLine3?: string | null | undefined;
|
6704
|
-
postcodeOrZip?: string | null | undefined;
|
6705
|
-
} | {
|
6706
|
-
type: string;
|
6707
|
-
option: string;
|
6708
|
-
path: string;
|
6709
|
-
originalFilename: string;
|
6710
|
-
}[] | {
|
6711
|
-
start: string;
|
6712
|
-
end: string;
|
6713
|
-
} | null | undefined>;
|
6714
|
-
createdBySignature?: string | null | undefined;
|
6715
|
-
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6716
|
-
annotation?: Record<string, string | number | boolean | {
|
6717
|
-
type: string;
|
6718
|
-
path: string;
|
6719
|
-
originalFilename: string;
|
6720
|
-
} | {
|
6721
|
-
country: string;
|
6722
|
-
district: string;
|
6723
|
-
addressType: "DOMESTIC";
|
6724
|
-
province: string;
|
6725
|
-
urbanOrRural: "URBAN";
|
6726
|
-
number?: string | null | undefined;
|
6727
|
-
town?: string | null | undefined;
|
6728
|
-
residentialArea?: string | null | undefined;
|
6729
|
-
street?: string | null | undefined;
|
6730
|
-
zipCode?: string | null | undefined;
|
6731
|
-
} | {
|
6732
|
-
firstname?: string | null | undefined;
|
6733
|
-
surname?: string | null | undefined;
|
6734
|
-
middlename?: string | null | undefined;
|
6735
|
-
} | {
|
6736
|
-
country: string;
|
6737
|
-
district: string;
|
6738
|
-
addressType: "DOMESTIC";
|
6739
|
-
province: string;
|
6740
|
-
urbanOrRural: "RURAL";
|
6741
|
-
village?: string | null | undefined;
|
6742
|
-
} | {
|
6743
|
-
country: string;
|
6744
|
-
state: string;
|
6745
|
-
addressType: "INTERNATIONAL";
|
6746
|
-
district2: string;
|
6747
|
-
cityOrTown?: string | null | undefined;
|
6748
|
-
addressLine1?: string | null | undefined;
|
6749
|
-
addressLine2?: string | null | undefined;
|
6750
|
-
addressLine3?: string | null | undefined;
|
6751
|
-
postcodeOrZip?: string | null | undefined;
|
6752
|
-
} | {
|
6753
|
-
type: string;
|
6754
|
-
option: string;
|
6755
|
-
path: string;
|
6756
|
-
originalFilename: string;
|
6757
|
-
}[] | {
|
6758
|
-
start: string;
|
6759
|
-
end: string;
|
6760
|
-
} | null | undefined> | null | undefined;
|
6761
|
-
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6762
|
-
};
|
6763
|
-
}[];
|
6764
|
-
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;
|
6765
6767
|
export declare function isVerificationPage(page: PageConfig): page is VerificationPageConfig;
|
6766
6768
|
export declare function getVisibleVerificationPageIds(pages: PageConfig[], annotation: ActionUpdate): string[];
|
6767
6769
|
export declare function getActionVerificationPageIds(actionConfig: ActionConfig, annotation: ActionUpdate): string[];
|
@@ -6804,8 +6806,8 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
|
|
6804
6806
|
surname: string;
|
6805
6807
|
middlename?: string | undefined;
|
6806
6808
|
} | {
|
6807
|
-
firstname
|
6808
|
-
surname
|
6809
|
+
firstname: string;
|
6810
|
+
surname: string;
|
6809
6811
|
middlename?: string | null | undefined;
|
6810
6812
|
} | {
|
6811
6813
|
country: string;
|
@@ -6844,6 +6846,14 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
|
|
6844
6846
|
end: string;
|
6845
6847
|
} | null | undefined;
|
6846
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
|
+
*/
|
6847
6857
|
export declare function deepMerge<T extends Record<string, unknown>, K extends Record<string, unknown>>(currentDocument: T, actionDocument: K): T & K;
|
6848
6858
|
export declare function findLastAssignmentAction(actions: Action[]): Action | undefined;
|
6849
6859
|
/** Tell compiler that accessing record with arbitrary key might result to undefined
|
@@ -7430,15 +7440,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
7430
7440
|
hideLabel?: boolean | undefined;
|
7431
7441
|
uncorrectable?: boolean | undefined;
|
7432
7442
|
defaultValue?: {
|
7433
|
-
firstname
|
7434
|
-
surname
|
7443
|
+
firstname?: string | undefined;
|
7444
|
+
surname?: string | undefined;
|
7445
|
+
middlename?: string | undefined;
|
7435
7446
|
} | undefined;
|
7436
7447
|
configuration?: {
|
7448
|
+
name?: {
|
7449
|
+
firstname?: {
|
7450
|
+
required: boolean;
|
7451
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7452
|
+
} | undefined;
|
7453
|
+
surname?: {
|
7454
|
+
required: boolean;
|
7455
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7456
|
+
} | undefined;
|
7457
|
+
middlename?: {
|
7458
|
+
required: boolean;
|
7459
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7460
|
+
} | undefined;
|
7461
|
+
} | undefined;
|
7462
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7437
7463
|
maxLength?: number | undefined;
|
7438
7464
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7439
7465
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7440
|
-
includeMiddlename?: boolean | undefined;
|
7441
|
-
searchMode?: boolean | undefined;
|
7442
7466
|
} | undefined;
|
7443
7467
|
} | {
|
7444
7468
|
type: "PHONE";
|
@@ -7771,7 +7795,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
7771
7795
|
postcodeOrZip?: string | undefined;
|
7772
7796
|
} | undefined;
|
7773
7797
|
configuration?: {
|
7774
|
-
|
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;
|
7775
7800
|
} | undefined;
|
7776
7801
|
} | {
|
7777
7802
|
type: "DATA";
|
@@ -8380,15 +8405,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
8380
8405
|
hideLabel?: boolean | undefined;
|
8381
8406
|
uncorrectable?: boolean | undefined;
|
8382
8407
|
defaultValue?: {
|
8383
|
-
firstname
|
8384
|
-
surname
|
8408
|
+
firstname?: string | undefined;
|
8409
|
+
surname?: string | undefined;
|
8410
|
+
middlename?: string | undefined;
|
8385
8411
|
} | undefined;
|
8386
8412
|
configuration?: {
|
8413
|
+
name?: {
|
8414
|
+
firstname?: {
|
8415
|
+
required: boolean;
|
8416
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8417
|
+
} | undefined;
|
8418
|
+
surname?: {
|
8419
|
+
required: boolean;
|
8420
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8421
|
+
} | undefined;
|
8422
|
+
middlename?: {
|
8423
|
+
required: boolean;
|
8424
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8425
|
+
} | undefined;
|
8426
|
+
} | undefined;
|
8427
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
8387
8428
|
maxLength?: number | undefined;
|
8388
8429
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8389
8430
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8390
|
-
includeMiddlename?: boolean | undefined;
|
8391
|
-
searchMode?: boolean | undefined;
|
8392
8431
|
} | undefined;
|
8393
8432
|
} | {
|
8394
8433
|
type: "PHONE";
|
@@ -8721,7 +8760,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
8721
8760
|
postcodeOrZip?: string | undefined;
|
8722
8761
|
} | undefined;
|
8723
8762
|
configuration?: {
|
8724
|
-
|
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;
|
8725
8765
|
} | undefined;
|
8726
8766
|
} | {
|
8727
8767
|
type: "DATA";
|
@@ -9329,15 +9369,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
9329
9369
|
hideLabel?: boolean | undefined;
|
9330
9370
|
uncorrectable?: boolean | undefined;
|
9331
9371
|
defaultValue?: {
|
9332
|
-
firstname
|
9333
|
-
surname
|
9372
|
+
firstname?: string | undefined;
|
9373
|
+
surname?: string | undefined;
|
9374
|
+
middlename?: string | undefined;
|
9334
9375
|
} | undefined;
|
9335
9376
|
configuration?: {
|
9377
|
+
name?: {
|
9378
|
+
firstname?: {
|
9379
|
+
required: boolean;
|
9380
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
9381
|
+
} | undefined;
|
9382
|
+
surname?: {
|
9383
|
+
required: boolean;
|
9384
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
9385
|
+
} | undefined;
|
9386
|
+
middlename?: {
|
9387
|
+
required: boolean;
|
9388
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
9389
|
+
} | undefined;
|
9390
|
+
} | undefined;
|
9391
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
9336
9392
|
maxLength?: number | undefined;
|
9337
9393
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
9338
9394
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
9339
|
-
includeMiddlename?: boolean | undefined;
|
9340
|
-
searchMode?: boolean | undefined;
|
9341
9395
|
} | undefined;
|
9342
9396
|
} | {
|
9343
9397
|
type: "PHONE";
|
@@ -9670,7 +9724,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
9670
9724
|
postcodeOrZip?: string | undefined;
|
9671
9725
|
} | undefined;
|
9672
9726
|
configuration?: {
|
9673
|
-
|
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;
|
9674
9729
|
} | undefined;
|
9675
9730
|
} | {
|
9676
9731
|
type: "DATA";
|
@@ -10278,15 +10333,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
10278
10333
|
hideLabel?: boolean | undefined;
|
10279
10334
|
uncorrectable?: boolean | undefined;
|
10280
10335
|
defaultValue?: {
|
10281
|
-
firstname
|
10282
|
-
surname
|
10336
|
+
firstname?: string | undefined;
|
10337
|
+
surname?: string | undefined;
|
10338
|
+
middlename?: string | undefined;
|
10283
10339
|
} | undefined;
|
10284
10340
|
configuration?: {
|
10341
|
+
name?: {
|
10342
|
+
firstname?: {
|
10343
|
+
required: boolean;
|
10344
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
10345
|
+
} | undefined;
|
10346
|
+
surname?: {
|
10347
|
+
required: boolean;
|
10348
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
10349
|
+
} | undefined;
|
10350
|
+
middlename?: {
|
10351
|
+
required: boolean;
|
10352
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
10353
|
+
} | undefined;
|
10354
|
+
} | undefined;
|
10355
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
10285
10356
|
maxLength?: number | undefined;
|
10286
10357
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
10287
10358
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
10288
|
-
includeMiddlename?: boolean | undefined;
|
10289
|
-
searchMode?: boolean | undefined;
|
10290
10359
|
} | undefined;
|
10291
10360
|
} | {
|
10292
10361
|
type: "PHONE";
|
@@ -10619,7 +10688,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
10619
10688
|
postcodeOrZip?: string | undefined;
|
10620
10689
|
} | undefined;
|
10621
10690
|
configuration?: {
|
10622
|
-
|
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;
|
10623
10693
|
} | undefined;
|
10624
10694
|
} | {
|
10625
10695
|
type: "DATA";
|
@@ -11227,15 +11297,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11227
11297
|
hideLabel?: boolean | undefined;
|
11228
11298
|
uncorrectable?: boolean | undefined;
|
11229
11299
|
defaultValue?: {
|
11230
|
-
firstname
|
11231
|
-
surname
|
11300
|
+
firstname?: string | undefined;
|
11301
|
+
surname?: string | undefined;
|
11302
|
+
middlename?: string | undefined;
|
11232
11303
|
} | undefined;
|
11233
11304
|
configuration?: {
|
11305
|
+
name?: {
|
11306
|
+
firstname?: {
|
11307
|
+
required: boolean;
|
11308
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
11309
|
+
} | undefined;
|
11310
|
+
surname?: {
|
11311
|
+
required: boolean;
|
11312
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
11313
|
+
} | undefined;
|
11314
|
+
middlename?: {
|
11315
|
+
required: boolean;
|
11316
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
11317
|
+
} | undefined;
|
11318
|
+
} | undefined;
|
11319
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
11234
11320
|
maxLength?: number | undefined;
|
11235
11321
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
11236
11322
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
11237
|
-
includeMiddlename?: boolean | undefined;
|
11238
|
-
searchMode?: boolean | undefined;
|
11239
11323
|
} | undefined;
|
11240
11324
|
} | {
|
11241
11325
|
type: "PHONE";
|
@@ -11568,7 +11652,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11568
11652
|
postcodeOrZip?: string | undefined;
|
11569
11653
|
} | undefined;
|
11570
11654
|
configuration?: {
|
11571
|
-
|
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;
|
11572
11657
|
} | undefined;
|
11573
11658
|
} | {
|
11574
11659
|
type: "DATA";
|
@@ -12224,15 +12309,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
12224
12309
|
hideLabel?: boolean | undefined;
|
12225
12310
|
uncorrectable?: boolean | undefined;
|
12226
12311
|
defaultValue?: {
|
12227
|
-
firstname
|
12228
|
-
surname
|
12312
|
+
firstname?: string | undefined;
|
12313
|
+
surname?: string | undefined;
|
12314
|
+
middlename?: string | undefined;
|
12229
12315
|
} | undefined;
|
12230
12316
|
configuration?: {
|
12317
|
+
name?: {
|
12318
|
+
firstname?: {
|
12319
|
+
required: boolean;
|
12320
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
12321
|
+
} | undefined;
|
12322
|
+
surname?: {
|
12323
|
+
required: boolean;
|
12324
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
12325
|
+
} | undefined;
|
12326
|
+
middlename?: {
|
12327
|
+
required: boolean;
|
12328
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
12329
|
+
} | undefined;
|
12330
|
+
} | undefined;
|
12331
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
12231
12332
|
maxLength?: number | undefined;
|
12232
12333
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
12233
12334
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
12234
|
-
includeMiddlename?: boolean | undefined;
|
12235
|
-
searchMode?: boolean | undefined;
|
12236
12335
|
} | undefined;
|
12237
12336
|
} | {
|
12238
12337
|
type: "PHONE";
|
@@ -12565,7 +12664,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
12565
12664
|
postcodeOrZip?: string | undefined;
|
12566
12665
|
} | undefined;
|
12567
12666
|
configuration?: {
|
12568
|
-
|
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;
|
12569
12669
|
} | undefined;
|
12570
12670
|
} | {
|
12571
12671
|
type: "DATA";
|
@@ -13176,15 +13276,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
13176
13276
|
hideLabel?: boolean | undefined;
|
13177
13277
|
uncorrectable?: boolean | undefined;
|
13178
13278
|
defaultValue?: {
|
13179
|
-
firstname
|
13180
|
-
surname
|
13279
|
+
firstname?: string | undefined;
|
13280
|
+
surname?: string | undefined;
|
13281
|
+
middlename?: string | undefined;
|
13181
13282
|
} | undefined;
|
13182
13283
|
configuration?: {
|
13284
|
+
name?: {
|
13285
|
+
firstname?: {
|
13286
|
+
required: boolean;
|
13287
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
13288
|
+
} | undefined;
|
13289
|
+
surname?: {
|
13290
|
+
required: boolean;
|
13291
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
13292
|
+
} | undefined;
|
13293
|
+
middlename?: {
|
13294
|
+
required: boolean;
|
13295
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
13296
|
+
} | undefined;
|
13297
|
+
} | undefined;
|
13298
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
13183
13299
|
maxLength?: number | undefined;
|
13184
13300
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
13185
13301
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
13186
|
-
includeMiddlename?: boolean | undefined;
|
13187
|
-
searchMode?: boolean | undefined;
|
13188
13302
|
} | undefined;
|
13189
13303
|
} | {
|
13190
13304
|
type: "PHONE";
|
@@ -13517,7 +13631,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
13517
13631
|
postcodeOrZip?: string | undefined;
|
13518
13632
|
} | undefined;
|
13519
13633
|
configuration?: {
|
13520
|
-
|
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;
|
13521
13636
|
} | undefined;
|
13522
13637
|
} | {
|
13523
13638
|
type: "DATA";
|
@@ -14131,15 +14246,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
14131
14246
|
hideLabel?: boolean | undefined;
|
14132
14247
|
uncorrectable?: boolean | undefined;
|
14133
14248
|
defaultValue?: {
|
14134
|
-
firstname
|
14135
|
-
surname
|
14249
|
+
firstname?: string | undefined;
|
14250
|
+
surname?: string | undefined;
|
14251
|
+
middlename?: string | undefined;
|
14136
14252
|
} | undefined;
|
14137
14253
|
configuration?: {
|
14254
|
+
name?: {
|
14255
|
+
firstname?: {
|
14256
|
+
required: boolean;
|
14257
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
14258
|
+
} | undefined;
|
14259
|
+
surname?: {
|
14260
|
+
required: boolean;
|
14261
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
14262
|
+
} | undefined;
|
14263
|
+
middlename?: {
|
14264
|
+
required: boolean;
|
14265
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
14266
|
+
} | undefined;
|
14267
|
+
} | undefined;
|
14268
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
14138
14269
|
maxLength?: number | undefined;
|
14139
14270
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
14140
14271
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
14141
|
-
includeMiddlename?: boolean | undefined;
|
14142
|
-
searchMode?: boolean | undefined;
|
14143
14272
|
} | undefined;
|
14144
14273
|
} | {
|
14145
14274
|
type: "PHONE";
|
@@ -14472,7 +14601,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
14472
14601
|
postcodeOrZip?: string | undefined;
|
14473
14602
|
} | undefined;
|
14474
14603
|
configuration?: {
|
14475
|
-
|
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;
|
14476
14606
|
} | undefined;
|
14477
14607
|
} | {
|
14478
14608
|
type: "DATA";
|
@@ -15083,15 +15213,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15083
15213
|
hideLabel?: boolean | undefined;
|
15084
15214
|
uncorrectable?: boolean | undefined;
|
15085
15215
|
defaultValue?: {
|
15086
|
-
firstname
|
15087
|
-
surname
|
15216
|
+
firstname?: string | undefined;
|
15217
|
+
surname?: string | undefined;
|
15218
|
+
middlename?: string | undefined;
|
15088
15219
|
} | undefined;
|
15089
15220
|
configuration?: {
|
15221
|
+
name?: {
|
15222
|
+
firstname?: {
|
15223
|
+
required: boolean;
|
15224
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
15225
|
+
} | undefined;
|
15226
|
+
surname?: {
|
15227
|
+
required: boolean;
|
15228
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
15229
|
+
} | undefined;
|
15230
|
+
middlename?: {
|
15231
|
+
required: boolean;
|
15232
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
15233
|
+
} | undefined;
|
15234
|
+
} | undefined;
|
15235
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
15090
15236
|
maxLength?: number | undefined;
|
15091
15237
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
15092
15238
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
15093
|
-
includeMiddlename?: boolean | undefined;
|
15094
|
-
searchMode?: boolean | undefined;
|
15095
15239
|
} | undefined;
|
15096
15240
|
} | {
|
15097
15241
|
type: "PHONE";
|
@@ -15424,7 +15568,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15424
15568
|
postcodeOrZip?: string | undefined;
|
15425
15569
|
} | undefined;
|
15426
15570
|
configuration?: {
|
15427
|
-
|
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;
|
15428
15573
|
} | undefined;
|
15429
15574
|
} | {
|
15430
15575
|
type: "DATA";
|
@@ -15549,7 +15694,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15549
15694
|
config: {
|
15550
15695
|
type: "exact" | "fuzzy" | "range" | "within";
|
15551
15696
|
};
|
15552
|
-
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
15697
|
+
fieldId: "event.status" | "event.updatedAt" | "event.trackingId" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
15553
15698
|
fieldType: "event";
|
15554
15699
|
options?: {
|
15555
15700
|
value: string;
|
@@ -15581,4 +15726,5 @@ export declare function timePeriodToDateRange(value: SelectDateRangeValue): {
|
|
15581
15726
|
startDate: string;
|
15582
15727
|
endDate: string;
|
15583
15728
|
};
|
15729
|
+
export declare function mergeDrafts(currentDraft: Draft, incomingDraft: Draft): Draft;
|
15584
15730
|
//# sourceMappingURL=utils.d.ts.map
|