@opencrvs/toolkit 1.8.1-rc.6e305c5 → 1.8.1-rc.6eacccb
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/events/ActionConfig.d.ts +560 -0
- package/dist/commons/events/DeduplicationConfig.d.ts +21 -48
- package/dist/commons/events/EventConfig.d.ts +336 -49
- package/dist/commons/events/defineConfig.d.ts +60 -5
- package/dist/commons/events/utils.d.ts +60 -5
- package/dist/events/index.js +161 -173
- package/package.json +1 -1
@@ -1921,6 +1921,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1921
1921
|
})[];
|
1922
1922
|
};
|
1923
1923
|
draft?: boolean | undefined;
|
1924
|
+
deduplication?: {
|
1925
|
+
id: string;
|
1926
|
+
label: import("./TranslationConfig").TranslationConfig;
|
1927
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
1928
|
+
} | undefined;
|
1924
1929
|
} | {
|
1925
1930
|
type: "DECLARE";
|
1926
1931
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -2881,6 +2886,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2881
2886
|
})[];
|
2882
2887
|
};
|
2883
2888
|
draft?: boolean | undefined;
|
2889
|
+
deduplication?: {
|
2890
|
+
id: string;
|
2891
|
+
label: import("./TranslationConfig").TranslationConfig;
|
2892
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
2893
|
+
} | undefined;
|
2884
2894
|
} | {
|
2885
2895
|
type: "VALIDATE";
|
2886
2896
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -3841,6 +3851,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3841
3851
|
})[];
|
3842
3852
|
};
|
3843
3853
|
draft?: boolean | undefined;
|
3854
|
+
deduplication?: {
|
3855
|
+
id: string;
|
3856
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3857
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
3858
|
+
} | undefined;
|
3844
3859
|
} | {
|
3845
3860
|
type: "REGISTER";
|
3846
3861
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -4801,6 +4816,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4801
4816
|
})[];
|
4802
4817
|
};
|
4803
4818
|
draft?: boolean | undefined;
|
4819
|
+
deduplication?: {
|
4820
|
+
id: string;
|
4821
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4822
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
4823
|
+
} | undefined;
|
4804
4824
|
} | {
|
4805
4825
|
type: "REJECT";
|
4806
4826
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -4812,6 +4832,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4812
4832
|
conditional: import(".").JSONSchema;
|
4813
4833
|
})[];
|
4814
4834
|
draft?: boolean | undefined;
|
4835
|
+
deduplication?: {
|
4836
|
+
id: string;
|
4837
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4838
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
4839
|
+
} | undefined;
|
4815
4840
|
} | {
|
4816
4841
|
type: "MARKED_AS_DUPLICATE";
|
4817
4842
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -4823,6 +4848,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4823
4848
|
conditional: import(".").JSONSchema;
|
4824
4849
|
})[];
|
4825
4850
|
draft?: boolean | undefined;
|
4851
|
+
deduplication?: {
|
4852
|
+
id: string;
|
4853
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4854
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
4855
|
+
} | undefined;
|
4826
4856
|
} | {
|
4827
4857
|
type: "ARCHIVE";
|
4828
4858
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -4834,6 +4864,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4834
4864
|
conditional: import(".").JSONSchema;
|
4835
4865
|
})[];
|
4836
4866
|
draft?: boolean | undefined;
|
4867
|
+
deduplication?: {
|
4868
|
+
id: string;
|
4869
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4870
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
4871
|
+
} | undefined;
|
4837
4872
|
} | {
|
4838
4873
|
type: "DELETE";
|
4839
4874
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -4845,6 +4880,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4845
4880
|
conditional: import(".").JSONSchema;
|
4846
4881
|
})[];
|
4847
4882
|
draft?: boolean | undefined;
|
4883
|
+
deduplication?: {
|
4884
|
+
id: string;
|
4885
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4886
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
4887
|
+
} | undefined;
|
4848
4888
|
} | {
|
4849
4889
|
type: "PRINT_CERTIFICATE";
|
4850
4890
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -6774,6 +6814,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6774
6814
|
})[];
|
6775
6815
|
};
|
6776
6816
|
draft?: boolean | undefined;
|
6817
|
+
deduplication?: {
|
6818
|
+
id: string;
|
6819
|
+
label: import("./TranslationConfig").TranslationConfig;
|
6820
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
6821
|
+
} | undefined;
|
6777
6822
|
} | {
|
6778
6823
|
type: "REQUEST_CORRECTION";
|
6779
6824
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -8703,6 +8748,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8703
8748
|
})[];
|
8704
8749
|
};
|
8705
8750
|
draft?: boolean | undefined;
|
8751
|
+
deduplication?: {
|
8752
|
+
id: string;
|
8753
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8754
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
8755
|
+
} | undefined;
|
8706
8756
|
} | {
|
8707
8757
|
type: "REJECT_CORRECTION";
|
8708
8758
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -8714,6 +8764,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8714
8764
|
conditional: import(".").JSONSchema;
|
8715
8765
|
})[];
|
8716
8766
|
draft?: boolean | undefined;
|
8767
|
+
deduplication?: {
|
8768
|
+
id: string;
|
8769
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8770
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
8771
|
+
} | undefined;
|
8717
8772
|
} | {
|
8718
8773
|
type: "APPROVE_CORRECTION";
|
8719
8774
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -8725,6 +8780,11 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8725
8780
|
conditional: import(".").JSONSchema;
|
8726
8781
|
})[];
|
8727
8782
|
draft?: boolean | undefined;
|
8783
|
+
deduplication?: {
|
8784
|
+
id: string;
|
8785
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8786
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
8787
|
+
} | undefined;
|
8728
8788
|
})[];
|
8729
8789
|
label: import("./TranslationConfig").TranslationConfig;
|
8730
8790
|
summary: {
|
@@ -8747,11 +8807,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8747
8807
|
emptyValueMessage?: import("./TranslationConfig").TranslationConfig | undefined;
|
8748
8808
|
})[];
|
8749
8809
|
};
|
8750
|
-
deduplication: {
|
8751
|
-
id: string;
|
8752
|
-
label: import("./TranslationConfig").TranslationConfig;
|
8753
|
-
query: import("./DeduplicationConfig").ClauseOutput;
|
8754
|
-
}[];
|
8755
8810
|
advancedSearch: {
|
8756
8811
|
title: import("./TranslationConfig").TranslationConfig;
|
8757
8812
|
fields: ({
|
@@ -8861,6 +8861,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
8861
8861
|
})[];
|
8862
8862
|
};
|
8863
8863
|
draft?: boolean | undefined;
|
8864
|
+
deduplication?: {
|
8865
|
+
id: string;
|
8866
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8867
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
8868
|
+
} | undefined;
|
8864
8869
|
} | {
|
8865
8870
|
type: "DECLARE";
|
8866
8871
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -9821,6 +9826,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
9821
9826
|
})[];
|
9822
9827
|
};
|
9823
9828
|
draft?: boolean | undefined;
|
9829
|
+
deduplication?: {
|
9830
|
+
id: string;
|
9831
|
+
label: import("./TranslationConfig").TranslationConfig;
|
9832
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
9833
|
+
} | undefined;
|
9824
9834
|
} | {
|
9825
9835
|
type: "VALIDATE";
|
9826
9836
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -10781,6 +10791,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
10781
10791
|
})[];
|
10782
10792
|
};
|
10783
10793
|
draft?: boolean | undefined;
|
10794
|
+
deduplication?: {
|
10795
|
+
id: string;
|
10796
|
+
label: import("./TranslationConfig").TranslationConfig;
|
10797
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
10798
|
+
} | undefined;
|
10784
10799
|
} | {
|
10785
10800
|
type: "REGISTER";
|
10786
10801
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -11741,6 +11756,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11741
11756
|
})[];
|
11742
11757
|
};
|
11743
11758
|
draft?: boolean | undefined;
|
11759
|
+
deduplication?: {
|
11760
|
+
id: string;
|
11761
|
+
label: import("./TranslationConfig").TranslationConfig;
|
11762
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
11763
|
+
} | undefined;
|
11744
11764
|
} | {
|
11745
11765
|
type: "REJECT";
|
11746
11766
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -11752,6 +11772,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11752
11772
|
conditional: import(".").JSONSchema;
|
11753
11773
|
})[];
|
11754
11774
|
draft?: boolean | undefined;
|
11775
|
+
deduplication?: {
|
11776
|
+
id: string;
|
11777
|
+
label: import("./TranslationConfig").TranslationConfig;
|
11778
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
11779
|
+
} | undefined;
|
11755
11780
|
} | {
|
11756
11781
|
type: "MARKED_AS_DUPLICATE";
|
11757
11782
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -11763,6 +11788,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11763
11788
|
conditional: import(".").JSONSchema;
|
11764
11789
|
})[];
|
11765
11790
|
draft?: boolean | undefined;
|
11791
|
+
deduplication?: {
|
11792
|
+
id: string;
|
11793
|
+
label: import("./TranslationConfig").TranslationConfig;
|
11794
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
11795
|
+
} | undefined;
|
11766
11796
|
} | {
|
11767
11797
|
type: "ARCHIVE";
|
11768
11798
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -11774,6 +11804,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11774
11804
|
conditional: import(".").JSONSchema;
|
11775
11805
|
})[];
|
11776
11806
|
draft?: boolean | undefined;
|
11807
|
+
deduplication?: {
|
11808
|
+
id: string;
|
11809
|
+
label: import("./TranslationConfig").TranslationConfig;
|
11810
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
11811
|
+
} | undefined;
|
11777
11812
|
} | {
|
11778
11813
|
type: "DELETE";
|
11779
11814
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -11785,6 +11820,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11785
11820
|
conditional: import(".").JSONSchema;
|
11786
11821
|
})[];
|
11787
11822
|
draft?: boolean | undefined;
|
11823
|
+
deduplication?: {
|
11824
|
+
id: string;
|
11825
|
+
label: import("./TranslationConfig").TranslationConfig;
|
11826
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
11827
|
+
} | undefined;
|
11788
11828
|
} | {
|
11789
11829
|
type: "PRINT_CERTIFICATE";
|
11790
11830
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -13714,6 +13754,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
13714
13754
|
})[];
|
13715
13755
|
};
|
13716
13756
|
draft?: boolean | undefined;
|
13757
|
+
deduplication?: {
|
13758
|
+
id: string;
|
13759
|
+
label: import("./TranslationConfig").TranslationConfig;
|
13760
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
13761
|
+
} | undefined;
|
13717
13762
|
} | {
|
13718
13763
|
type: "REQUEST_CORRECTION";
|
13719
13764
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -15643,6 +15688,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15643
15688
|
})[];
|
15644
15689
|
};
|
15645
15690
|
draft?: boolean | undefined;
|
15691
|
+
deduplication?: {
|
15692
|
+
id: string;
|
15693
|
+
label: import("./TranslationConfig").TranslationConfig;
|
15694
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
15695
|
+
} | undefined;
|
15646
15696
|
} | {
|
15647
15697
|
type: "REJECT_CORRECTION";
|
15648
15698
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -15654,6 +15704,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15654
15704
|
conditional: import(".").JSONSchema;
|
15655
15705
|
})[];
|
15656
15706
|
draft?: boolean | undefined;
|
15707
|
+
deduplication?: {
|
15708
|
+
id: string;
|
15709
|
+
label: import("./TranslationConfig").TranslationConfig;
|
15710
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
15711
|
+
} | undefined;
|
15657
15712
|
} | {
|
15658
15713
|
type: "APPROVE_CORRECTION";
|
15659
15714
|
label: import("./TranslationConfig").TranslationConfig;
|
@@ -15665,6 +15720,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15665
15720
|
conditional: import(".").JSONSchema;
|
15666
15721
|
})[];
|
15667
15722
|
draft?: boolean | undefined;
|
15723
|
+
deduplication?: {
|
15724
|
+
id: string;
|
15725
|
+
label: import("./TranslationConfig").TranslationConfig;
|
15726
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
15727
|
+
} | undefined;
|
15668
15728
|
})[];
|
15669
15729
|
label: import("./TranslationConfig").TranslationConfig;
|
15670
15730
|
summary: {
|
@@ -15687,11 +15747,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15687
15747
|
emptyValueMessage?: import("./TranslationConfig").TranslationConfig | undefined;
|
15688
15748
|
})[];
|
15689
15749
|
};
|
15690
|
-
deduplication: {
|
15691
|
-
id: string;
|
15692
|
-
label: import("./TranslationConfig").TranslationConfig;
|
15693
|
-
query: import("./DeduplicationConfig").ClauseOutput;
|
15694
|
-
}[];
|
15695
15750
|
advancedSearch: {
|
15696
15751
|
title: import("./TranslationConfig").TranslationConfig;
|
15697
15752
|
fields: ({
|