@opencrvs/toolkit 1.9.13 → 1.9.14
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 +33 -32
- package/dist/commons/conditionals/conditionals.d.ts +348 -4
- package/dist/commons/conditionals/validate.d.ts +41 -0
- package/dist/commons/events/ActionConfig.d.ts +28 -28
- package/dist/commons/events/AdvancedSearchConfig.d.ts +48 -48
- package/dist/commons/events/CountryConfigQueryInput.d.ts +240 -240
- package/dist/commons/events/DeduplicationConfig.d.ts +2 -2
- package/dist/commons/events/EventConfig.d.ts +61 -54
- package/dist/commons/events/EventIndex.d.ts +88 -88
- package/dist/commons/events/FieldConfig.d.ts +1619 -218
- package/dist/commons/events/WorkqueueConfig.d.ts +488 -488
- package/dist/commons/events/defineConfig.d.ts +8 -7
- package/dist/commons/events/field.d.ts +47 -1
- package/dist/commons/events/utils.d.ts +9 -8
- package/dist/conditionals/index.js +48 -1
- package/dist/events/index.js +178 -75
- package/dist/notification/index.js +147 -35
- package/package.json +11 -7
|
@@ -728,54 +728,54 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
728
728
|
type: "timePeriod";
|
|
729
729
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
730
730
|
} | undefined;
|
|
731
|
-
|
|
731
|
+
eventType?: string | undefined;
|
|
732
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
|
733
|
+
type: "range";
|
|
734
|
+
gte: string;
|
|
735
|
+
lte: string;
|
|
736
|
+
} | {
|
|
732
737
|
type: "exact";
|
|
733
738
|
term: string;
|
|
739
|
+
} | {
|
|
740
|
+
type: "timePeriod";
|
|
741
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
734
742
|
} | undefined;
|
|
735
|
-
|
|
743
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
736
744
|
type: "exact";
|
|
737
745
|
term: string;
|
|
738
746
|
} | {
|
|
739
747
|
type: "within";
|
|
740
748
|
location: string;
|
|
741
749
|
} | undefined;
|
|
742
|
-
|
|
750
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
|
743
751
|
type: "exact";
|
|
744
752
|
term: string;
|
|
745
753
|
} | undefined;
|
|
746
|
-
|
|
747
|
-
anyOf?: string[] | undefined;
|
|
748
|
-
noneOf?: string[] | undefined;
|
|
749
|
-
} | undefined;
|
|
750
|
-
'legalStatuses.REGISTERED.acceptedAt'?: {
|
|
751
|
-
type: "range";
|
|
752
|
-
gte: string;
|
|
753
|
-
lte: string;
|
|
754
|
-
} | {
|
|
754
|
+
updatedByUserRole?: {
|
|
755
755
|
type: "exact";
|
|
756
756
|
term: string;
|
|
757
|
-
} | {
|
|
758
|
-
type: "timePeriod";
|
|
759
|
-
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
760
757
|
} | undefined;
|
|
761
|
-
|
|
762
|
-
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
758
|
+
updatedAtLocation?: {
|
|
763
759
|
type: "exact";
|
|
764
760
|
term: string;
|
|
765
761
|
} | {
|
|
766
762
|
type: "within";
|
|
767
763
|
location: string;
|
|
768
764
|
} | undefined;
|
|
769
|
-
|
|
765
|
+
updatedBy?: {
|
|
770
766
|
type: "exact";
|
|
771
767
|
term: string;
|
|
772
|
-
} | {
|
|
773
|
-
type: "within";
|
|
774
|
-
location: string;
|
|
775
768
|
} | undefined;
|
|
776
|
-
|
|
769
|
+
flags?: {
|
|
770
|
+
anyOf?: string[] | undefined;
|
|
771
|
+
noneOf?: string[] | undefined;
|
|
772
|
+
} | undefined;
|
|
773
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
777
774
|
type: "exact";
|
|
778
775
|
term: string;
|
|
776
|
+
} | {
|
|
777
|
+
type: "within";
|
|
778
|
+
location: string;
|
|
779
779
|
} | undefined;
|
|
780
780
|
}, {
|
|
781
781
|
id?: string | undefined;
|
|
@@ -832,54 +832,54 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
832
832
|
type: "timePeriod";
|
|
833
833
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
834
834
|
} | undefined;
|
|
835
|
-
|
|
835
|
+
eventType?: string | undefined;
|
|
836
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
|
837
|
+
type: "range";
|
|
838
|
+
gte: string;
|
|
839
|
+
lte: string;
|
|
840
|
+
} | {
|
|
836
841
|
type: "exact";
|
|
837
842
|
term: string;
|
|
843
|
+
} | {
|
|
844
|
+
type: "timePeriod";
|
|
845
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
838
846
|
} | undefined;
|
|
839
|
-
|
|
847
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
840
848
|
type: "exact";
|
|
841
849
|
term: string;
|
|
842
850
|
} | {
|
|
843
851
|
type: "within";
|
|
844
852
|
location: string;
|
|
845
853
|
} | undefined;
|
|
846
|
-
|
|
854
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
|
847
855
|
type: "exact";
|
|
848
856
|
term: string;
|
|
849
857
|
} | undefined;
|
|
850
|
-
|
|
851
|
-
anyOf?: string[] | undefined;
|
|
852
|
-
noneOf?: string[] | undefined;
|
|
853
|
-
} | undefined;
|
|
854
|
-
'legalStatuses.REGISTERED.acceptedAt'?: {
|
|
855
|
-
type: "range";
|
|
856
|
-
gte: string;
|
|
857
|
-
lte: string;
|
|
858
|
-
} | {
|
|
858
|
+
updatedByUserRole?: {
|
|
859
859
|
type: "exact";
|
|
860
860
|
term: string;
|
|
861
|
-
} | {
|
|
862
|
-
type: "timePeriod";
|
|
863
|
-
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
864
861
|
} | undefined;
|
|
865
|
-
|
|
866
|
-
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
862
|
+
updatedAtLocation?: {
|
|
867
863
|
type: "exact";
|
|
868
864
|
term: string;
|
|
869
865
|
} | {
|
|
870
866
|
type: "within";
|
|
871
867
|
location: string;
|
|
872
868
|
} | undefined;
|
|
873
|
-
|
|
869
|
+
updatedBy?: {
|
|
874
870
|
type: "exact";
|
|
875
871
|
term: string;
|
|
876
|
-
} | {
|
|
877
|
-
type: "within";
|
|
878
|
-
location: string;
|
|
879
872
|
} | undefined;
|
|
880
|
-
|
|
873
|
+
flags?: {
|
|
874
|
+
anyOf?: string[] | undefined;
|
|
875
|
+
noneOf?: string[] | undefined;
|
|
876
|
+
} | undefined;
|
|
877
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
881
878
|
type: "exact";
|
|
882
879
|
term: string;
|
|
880
|
+
} | {
|
|
881
|
+
type: "within";
|
|
882
|
+
location: string;
|
|
883
883
|
} | undefined;
|
|
884
884
|
}>, {
|
|
885
885
|
id?: string | undefined;
|
|
@@ -936,54 +936,54 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
936
936
|
type: "timePeriod";
|
|
937
937
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
938
938
|
} | undefined;
|
|
939
|
-
|
|
939
|
+
eventType?: string | undefined;
|
|
940
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
|
941
|
+
type: "range";
|
|
942
|
+
gte: string;
|
|
943
|
+
lte: string;
|
|
944
|
+
} | {
|
|
940
945
|
type: "exact";
|
|
941
946
|
term: string;
|
|
947
|
+
} | {
|
|
948
|
+
type: "timePeriod";
|
|
949
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
942
950
|
} | undefined;
|
|
943
|
-
|
|
951
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
944
952
|
type: "exact";
|
|
945
953
|
term: string;
|
|
946
954
|
} | {
|
|
947
955
|
type: "within";
|
|
948
956
|
location: string;
|
|
949
957
|
} | undefined;
|
|
950
|
-
|
|
958
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
|
951
959
|
type: "exact";
|
|
952
960
|
term: string;
|
|
953
961
|
} | undefined;
|
|
954
|
-
|
|
955
|
-
anyOf?: string[] | undefined;
|
|
956
|
-
noneOf?: string[] | undefined;
|
|
957
|
-
} | undefined;
|
|
958
|
-
'legalStatuses.REGISTERED.acceptedAt'?: {
|
|
959
|
-
type: "range";
|
|
960
|
-
gte: string;
|
|
961
|
-
lte: string;
|
|
962
|
-
} | {
|
|
962
|
+
updatedByUserRole?: {
|
|
963
963
|
type: "exact";
|
|
964
964
|
term: string;
|
|
965
|
-
} | {
|
|
966
|
-
type: "timePeriod";
|
|
967
|
-
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
968
965
|
} | undefined;
|
|
969
|
-
|
|
970
|
-
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
966
|
+
updatedAtLocation?: {
|
|
971
967
|
type: "exact";
|
|
972
968
|
term: string;
|
|
973
969
|
} | {
|
|
974
970
|
type: "within";
|
|
975
971
|
location: string;
|
|
976
972
|
} | undefined;
|
|
977
|
-
|
|
973
|
+
updatedBy?: {
|
|
978
974
|
type: "exact";
|
|
979
975
|
term: string;
|
|
980
|
-
} | {
|
|
981
|
-
type: "within";
|
|
982
|
-
location: string;
|
|
983
976
|
} | undefined;
|
|
984
|
-
|
|
977
|
+
flags?: {
|
|
978
|
+
anyOf?: string[] | undefined;
|
|
979
|
+
noneOf?: string[] | undefined;
|
|
980
|
+
} | undefined;
|
|
981
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
985
982
|
type: "exact";
|
|
986
983
|
term: string;
|
|
984
|
+
} | {
|
|
985
|
+
type: "within";
|
|
986
|
+
location: string;
|
|
987
987
|
} | undefined;
|
|
988
988
|
}, {
|
|
989
989
|
id?: string | undefined;
|
|
@@ -1040,54 +1040,54 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
1040
1040
|
type: "timePeriod";
|
|
1041
1041
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1042
1042
|
} | undefined;
|
|
1043
|
-
|
|
1043
|
+
eventType?: string | undefined;
|
|
1044
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
|
1045
|
+
type: "range";
|
|
1046
|
+
gte: string;
|
|
1047
|
+
lte: string;
|
|
1048
|
+
} | {
|
|
1044
1049
|
type: "exact";
|
|
1045
1050
|
term: string;
|
|
1051
|
+
} | {
|
|
1052
|
+
type: "timePeriod";
|
|
1053
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1046
1054
|
} | undefined;
|
|
1047
|
-
|
|
1055
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
1048
1056
|
type: "exact";
|
|
1049
1057
|
term: string;
|
|
1050
1058
|
} | {
|
|
1051
1059
|
type: "within";
|
|
1052
1060
|
location: string;
|
|
1053
1061
|
} | undefined;
|
|
1054
|
-
|
|
1062
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
|
1055
1063
|
type: "exact";
|
|
1056
1064
|
term: string;
|
|
1057
1065
|
} | undefined;
|
|
1058
|
-
|
|
1059
|
-
anyOf?: string[] | undefined;
|
|
1060
|
-
noneOf?: string[] | undefined;
|
|
1061
|
-
} | undefined;
|
|
1062
|
-
'legalStatuses.REGISTERED.acceptedAt'?: {
|
|
1063
|
-
type: "range";
|
|
1064
|
-
gte: string;
|
|
1065
|
-
lte: string;
|
|
1066
|
-
} | {
|
|
1066
|
+
updatedByUserRole?: {
|
|
1067
1067
|
type: "exact";
|
|
1068
1068
|
term: string;
|
|
1069
|
-
} | {
|
|
1070
|
-
type: "timePeriod";
|
|
1071
|
-
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1072
1069
|
} | undefined;
|
|
1073
|
-
|
|
1074
|
-
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
1070
|
+
updatedAtLocation?: {
|
|
1075
1071
|
type: "exact";
|
|
1076
1072
|
term: string;
|
|
1077
1073
|
} | {
|
|
1078
1074
|
type: "within";
|
|
1079
1075
|
location: string;
|
|
1080
1076
|
} | undefined;
|
|
1081
|
-
|
|
1077
|
+
updatedBy?: {
|
|
1082
1078
|
type: "exact";
|
|
1083
1079
|
term: string;
|
|
1084
|
-
} | {
|
|
1085
|
-
type: "within";
|
|
1086
|
-
location: string;
|
|
1087
1080
|
} | undefined;
|
|
1088
|
-
|
|
1081
|
+
flags?: {
|
|
1082
|
+
anyOf?: string[] | undefined;
|
|
1083
|
+
noneOf?: string[] | undefined;
|
|
1084
|
+
} | undefined;
|
|
1085
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
1089
1086
|
type: "exact";
|
|
1090
1087
|
term: string;
|
|
1088
|
+
} | {
|
|
1089
|
+
type: "within";
|
|
1090
|
+
location: string;
|
|
1091
1091
|
} | undefined;
|
|
1092
1092
|
}>;
|
|
1093
1093
|
export declare const QueryType: ZodType;
|