Variable caseAddSchemaConst
caseAddSchema: ZodObject<{
case_name: ZodString;
external_id: ZodOptional<ZodString>;
has_alerts: ZodOptional<ZodBoolean>;
is_case_valid: ZodOptional<ZodBoolean>;
options: ZodObject<{
filter_content_category: ZodArray<ZodUnion<[ZodObject<{
AME: ZodOptional<ZodArray<ZodString, "many">>;
SOC: ZodOptional<ZodArray<ZodString, "many">>;
WL: ZodOptional<ZodArray<ZodObject<{
OEL: ZodOptional<ZodArray<ZodString, "many">>;
OOL: ZodOptional<ZodArray<ZodString, "many">>;
PEP: ZodOptional<ZodArray<ZodString, "many">>;
SIP: ZodOptional<ZodArray<ZodString, "many">>;
SL: ZodOptional<ZodArray<ZodString, "many">>;
}, "strip", ZodTypeAny, {
OEL?: string[];
OOL?: string[];
PEP?: string[];
SIP?: string[];
SL?: string[];
}, {
OEL?: string[];
OOL?: string[];
PEP?: string[];
SIP?: string[];
SL?: string[];
}>, "many">>;
}, "strip", ZodTypeAny, {
AME?: string[];
SOC?: string[];
WL?: ({ PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; })[];
}, {
AME?: string[];
SOC?: string[];
WL?: ({ PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; })[];
}>, ZodEnum<["WL", "SL", "OEL", "OOL", "PEP", "SIP", "RCA", "SOC", "AME", "REG", "COMPFIN", "ENVPROD", "SOCLAB", "ECR"]>]>, "many">;
has_to_match_low_quality_alias: ZodOptional<ZodBoolean>;
is_indexed: ZodOptional<ZodBoolean>;
score_threshold: ZodOptional<ZodNumber>;
search_type: ZodEnum<["PRECISE", "NEAR", "BROAD"]>;
}, "strip", ZodTypeAny, {
filter_content_category: ("PEP" | "SL" | "OOL" | "OEL" | "SIP" | "WL" | "SOC" | "AME" | ({ WL?: { PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; }[] | undefined; SOC?: string[] | undefined; AME?: string[] | undefined; }) | "RCA" | "REG" | "COMPFIN" | "ENVPROD" | "SOCLAB" | "ECR")[];
has_to_match_low_quality_alias?: boolean;
is_indexed?: boolean;
score_threshold?: number;
search_type: "PRECISE" | "NEAR" | "BROAD";
}, {
filter_content_category: ("PEP" | "SL" | "OOL" | "OEL" | "SIP" | "WL" | "SOC" | "AME" | ({ WL?: { PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; }[] | undefined; SOC?: string[] | undefined; AME?: string[] | undefined; }) | "RCA" | "REG" | "COMPFIN" | "ENVPROD" | "SOCLAB" | "ECR")[];
has_to_match_low_quality_alias?: boolean;
is_indexed?: boolean;
score_threshold?: number;
search_type: "PRECISE" | "NEAR" | "BROAD";
}>;
owner_id: ZodOptional<ZodString>;
score_preferences: ZodOptional<ZodObject<{
country: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
deceased: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
gender: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
identification_details: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
industry_sector: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
year_of_birth: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
}, "strip", ZodTypeAny, {
country: { has_exclusions: boolean; score: number; };
deceased: { has_exclusions: boolean; score: number; };
gender: { has_exclusions: boolean; score: number; };
identification_details: { has_exclusions: boolean; score: number; };
industry_sector: { has_exclusions: boolean; score: number; };
year_of_birth: { has_exclusions: boolean; score: number; };
}, {
country: { has_exclusions: boolean; score: number; };
deceased: { has_exclusions: boolean; score: number; };
gender: { has_exclusions: boolean; score: number; };
identification_details: { has_exclusions: boolean; score: number; };
industry_sector: { has_exclusions: boolean; score: number; };
year_of_birth: { has_exclusions: boolean; score: number; };
}>>;
}, "strip", ZodTypeAny, {
case_name: string;
external_id?: string;
has_alerts?: boolean;
is_case_valid?: boolean;
options: { search_type: "PRECISE" | "NEAR" | "BROAD"; filter_content_category: ("PEP" | "SL" | "OOL" | "OEL" | "SIP" | "WL" | "SOC" | "AME" | { WL?: { PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; }[] | undefined; SOC?: string[] | un...;
owner_id?: string;
score_preferences?: { country: { has_exclusions: boolean; score: number; }; gender: { has_exclusions: boolean; score: number; }; identification_details: { has_exclusions: boolean; score: number; }; industry_sector: { ...; }; year_of_birth: { ...; }; deceased: { ...; }; };
}, {
case_name: string;
external_id?: string;
has_alerts?: boolean;
is_case_valid?: boolean;
options: { search_type: "PRECISE" | "NEAR" | "BROAD"; filter_content_category: ("PEP" | "SL" | "OOL" | "OEL" | "SIP" | "WL" | "SOC" | "AME" | { WL?: { PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; }[] | undefined; SOC?: string[] | un...;
owner_id?: string;
score_preferences?: { country: { has_exclusions: boolean; score: number; }; gender: { has_exclusions: boolean; score: number; }; identification_details: { has_exclusions: boolean; score: number; }; industry_sector: { ...; }; year_of_birth: { ...; }; deceased: { ...; }; };
}> = ...
Type declaration
case_name: ZodString
external_id: ZodOptional<ZodString>
has_alerts: ZodOptional<ZodBoolean>
is_case_valid: ZodOptional<ZodBoolean>
options: ZodObject<{
filter_content_category: ZodArray<ZodUnion<[ZodObject<{
AME: ZodOptional<ZodArray<ZodString, "many">>;
SOC: ZodOptional<ZodArray<ZodString, "many">>;
WL: ZodOptional<ZodArray<ZodObject<{
OEL: ZodOptional<ZodArray<ZodString, "many">>;
OOL: ZodOptional<ZodArray<ZodString, "many">>;
PEP: ZodOptional<ZodArray<ZodString, "many">>;
SIP: ZodOptional<ZodArray<ZodString, "many">>;
SL: ZodOptional<ZodArray<ZodString, "many">>;
}, "strip", ZodTypeAny, {
OEL?: string[];
OOL?: string[];
PEP?: string[];
SIP?: string[];
SL?: string[];
}, {
OEL?: string[];
OOL?: string[];
PEP?: string[];
SIP?: string[];
SL?: string[];
}>, "many">>;
}, "strip", ZodTypeAny, {
AME?: string[];
SOC?: string[];
WL?: ({ PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; })[];
}, {
AME?: string[];
SOC?: string[];
WL?: ({ PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; })[];
}>, ZodEnum<["WL", "SL", "OEL", "OOL", "PEP", "SIP", "RCA", "SOC", "AME", "REG", "COMPFIN", "ENVPROD", "SOCLAB", "ECR"]>]>, "many">;
has_to_match_low_quality_alias: ZodOptional<ZodBoolean>;
is_indexed: ZodOptional<ZodBoolean>;
score_threshold: ZodOptional<ZodNumber>;
search_type: ZodEnum<["PRECISE", "NEAR", "BROAD"]>;
}, "strip", ZodTypeAny, {
filter_content_category: ("PEP" | "SL" | "OOL" | "OEL" | "SIP" | "WL" | "SOC" | "AME" | ({ WL?: { PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; }[] | undefined; SOC?: string[] | undefined; AME?: string[] | undefined; }) | "RCA" | "REG" | "COMPFIN" | "ENVPROD" | "SOCLAB" | "ECR")[];
has_to_match_low_quality_alias?: boolean;
is_indexed?: boolean;
score_threshold?: number;
search_type: "PRECISE" | "NEAR" | "BROAD";
}, {
filter_content_category: ("PEP" | "SL" | "OOL" | "OEL" | "SIP" | "WL" | "SOC" | "AME" | ({ WL?: { PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; }[] | undefined; SOC?: string[] | undefined; AME?: string[] | undefined; }) | "RCA" | "REG" | "COMPFIN" | "ENVPROD" | "SOCLAB" | "ECR")[];
has_to_match_low_quality_alias?: boolean;
is_indexed?: boolean;
score_threshold?: number;
search_type: "PRECISE" | "NEAR" | "BROAD";
}>
owner_id: ZodOptional<ZodString>
score_preferences: ZodOptional<ZodObject<{
country: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
deceased: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
gender: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
identification_details: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
industry_sector: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
year_of_birth: ZodObject<{
has_exclusions: ZodBoolean;
score: ZodNumber;
}, "strip", ZodTypeAny, {
has_exclusions: boolean;
score: number;
}, {
has_exclusions: boolean;
score: number;
}>;
}, "strip", ZodTypeAny, {
country: { has_exclusions: boolean; score: number; };
deceased: { has_exclusions: boolean; score: number; };
gender: { has_exclusions: boolean; score: number; };
identification_details: { has_exclusions: boolean; score: number; };
industry_sector: { has_exclusions: boolean; score: number; };
year_of_birth: { has_exclusions: boolean; score: number; };
}, {
country: { has_exclusions: boolean; score: number; };
deceased: { has_exclusions: boolean; score: number; };
gender: { has_exclusions: boolean; score: number; };
identification_details: { has_exclusions: boolean; score: number; };
industry_sector: { has_exclusions: boolean; score: number; };
year_of_birth: { has_exclusions: boolean; score: number; };
}>>
Type declaration
case_name: string
Optional
external_id?: string
Optional
has_alerts?: boolean
Optional
is_case_valid?: boolean
options: { search_type: "PRECISE" | "NEAR" | "BROAD"; filter_content_category: ("PEP" | "SL" | "OOL" | "OEL" | "SIP" | "WL" | "SOC" | "AME" | { WL?: { PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; }[] | undefined; SOC?: string[] | un...
Optional
owner_id?: string
Optional
score_preferences?: { country: { has_exclusions: boolean; score: number; }; gender: { has_exclusions: boolean; score: number; }; identification_details: { has_exclusions: boolean; score: number; }; industry_sector: { ...; }; year_of_birth: { ...; }; deceased: { ...; }; }
Type declaration
case_name: string
Optional
external_id?: string
Optional
has_alerts?: boolean
Optional
is_case_valid?: boolean
options: { search_type: "PRECISE" | "NEAR" | "BROAD"; filter_content_category: ("PEP" | "SL" | "OOL" | "OEL" | "SIP" | "WL" | "SOC" | "AME" | { WL?: { PEP?: string[] | undefined; SL?: string[] | undefined; OOL?: string[] | undefined; OEL?: string[] | undefined; SIP?: string[] | undefined; }[] | undefined; SOC?: string[] | un...
Optional
owner_id?: string
Optional
score_preferences?: { country: { has_exclusions: boolean; score: number; }; gender: { has_exclusions: boolean; score: number; }; identification_details: { has_exclusions: boolean; score: number; }; industry_sector: { ...; }; year_of_birth: { ...; }; deceased: { ...; }; }