leadmagic-mcp-server
Version:
Model Context Protocol server for LeadMagic API - Complete B2B data enrichment with 19 tools for email finding, profile enrichment, company intelligence, job data, and advertisement tracking
1,344 lines • 73.9 kB
TypeScript
import { z } from 'zod';
export interface LeadMagicConfig {
apiKey: string;
baseUrl?: string;
timeout?: number;
}
export declare const CreditsSchema: z.ZodObject<{
credits: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
credits: number;
}, {
credits: number;
}>;
export declare const ErrorSchema: z.ZodObject<{
error: z.ZodString;
message: z.ZodString;
}, "strip", z.ZodTypeAny, {
message: string;
error: string;
}, {
message: string;
error: string;
}>;
export declare const LocationSchema: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
locality: z.ZodOptional<z.ZodString>;
region: z.ZodOptional<z.ZodString>;
metro: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
continent: z.ZodOptional<z.ZodString>;
street_address: z.ZodOptional<z.ZodString>;
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
postal_code: z.ZodOptional<z.ZodString>;
geo: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
}, {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
}>;
export declare const CompanySchema: z.ZodObject<{
company_name: z.ZodOptional<z.ZodString>;
company_industry: z.ZodOptional<z.ZodString>;
company_size: z.ZodOptional<z.ZodString>;
company_founded: z.ZodOptional<z.ZodNumber>;
company_type: z.ZodOptional<z.ZodString>;
company_linkedin_url: z.ZodOptional<z.ZodString>;
company_linkedin_id: z.ZodOptional<z.ZodString>;
company_facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
company_twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
company_location: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
locality: z.ZodOptional<z.ZodString>;
region: z.ZodOptional<z.ZodString>;
metro: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
continent: z.ZodOptional<z.ZodString>;
street_address: z.ZodOptional<z.ZodString>;
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
postal_code: z.ZodOptional<z.ZodString>;
geo: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
}, {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_founded?: number | undefined;
company_type?: string | undefined;
company_linkedin_url?: string | undefined;
company_linkedin_id?: string | undefined;
company_facebook_url?: string | null | undefined;
company_twitter_url?: string | null | undefined;
company_location?: {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
} | undefined;
}, {
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_founded?: number | undefined;
company_type?: string | undefined;
company_linkedin_url?: string | undefined;
company_linkedin_id?: string | undefined;
company_facebook_url?: string | null | undefined;
company_twitter_url?: string | null | undefined;
company_location?: {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
} | undefined;
}>;
export declare const EmailValidationRequestSchema: z.ZodObject<{
email: z.ZodString;
first_name: z.ZodOptional<z.ZodString>;
last_name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
first_name?: string | undefined;
last_name?: string | undefined;
}, {
email: string;
first_name?: string | undefined;
last_name?: string | undefined;
}>;
export declare const EmailValidationResponseSchema: z.ZodObject<{
email: z.ZodString;
email_status: z.ZodEnum<["valid", "valid_catch_all", "invalid", "unknown", "catch_all"]>;
credits_consumed: z.ZodNumber;
message: z.ZodString;
is_domain_catch_all: z.ZodBoolean;
mx_record: z.ZodOptional<z.ZodString>;
mx_provider: z.ZodOptional<z.ZodString>;
mx_security_gateway: z.ZodOptional<z.ZodBoolean>;
} & {
company_name: z.ZodOptional<z.ZodString>;
company_industry: z.ZodOptional<z.ZodString>;
company_size: z.ZodOptional<z.ZodString>;
company_founded: z.ZodOptional<z.ZodNumber>;
company_type: z.ZodOptional<z.ZodString>;
company_linkedin_url: z.ZodOptional<z.ZodString>;
company_linkedin_id: z.ZodOptional<z.ZodString>;
company_facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
company_twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
company_location: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
locality: z.ZodOptional<z.ZodString>;
region: z.ZodOptional<z.ZodString>;
metro: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
continent: z.ZodOptional<z.ZodString>;
street_address: z.ZodOptional<z.ZodString>;
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
postal_code: z.ZodOptional<z.ZodString>;
geo: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
}, {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
message: string;
email: string;
email_status: "valid" | "unknown" | "valid_catch_all" | "invalid" | "catch_all";
credits_consumed: number;
is_domain_catch_all: boolean;
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_founded?: number | undefined;
company_type?: string | undefined;
company_linkedin_url?: string | undefined;
company_linkedin_id?: string | undefined;
company_facebook_url?: string | null | undefined;
company_twitter_url?: string | null | undefined;
company_location?: {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
} | undefined;
mx_record?: string | undefined;
mx_provider?: string | undefined;
mx_security_gateway?: boolean | undefined;
}, {
message: string;
email: string;
email_status: "valid" | "unknown" | "valid_catch_all" | "invalid" | "catch_all";
credits_consumed: number;
is_domain_catch_all: boolean;
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_founded?: number | undefined;
company_type?: string | undefined;
company_linkedin_url?: string | undefined;
company_linkedin_id?: string | undefined;
company_facebook_url?: string | null | undefined;
company_twitter_url?: string | null | undefined;
company_location?: {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
} | undefined;
mx_record?: string | undefined;
mx_provider?: string | undefined;
mx_security_gateway?: boolean | undefined;
}>;
export declare const EmailFinderRequestSchema: z.ZodObject<{
first_name: z.ZodString;
last_name: z.ZodString;
domain: z.ZodOptional<z.ZodString>;
company_name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
first_name: string;
last_name: string;
company_name?: string | undefined;
domain?: string | undefined;
}, {
first_name: string;
last_name: string;
company_name?: string | undefined;
domain?: string | undefined;
}>;
export declare const EmailFinderResponseSchema: z.ZodObject<{
email: z.ZodString;
status: z.ZodEnum<["valid", "valid_catch_all", "not_found"]>;
credits_consumed: z.ZodNumber;
message: z.ZodString;
first_name: z.ZodOptional<z.ZodString>;
last_name: z.ZodOptional<z.ZodString>;
domain: z.ZodOptional<z.ZodString>;
is_domain_catch_all: z.ZodOptional<z.ZodBoolean>;
mx_record: z.ZodOptional<z.ZodString>;
mx_provider: z.ZodOptional<z.ZodString>;
mx_security_gateway: z.ZodOptional<z.ZodBoolean>;
} & {
company_name: z.ZodOptional<z.ZodString>;
company_industry: z.ZodOptional<z.ZodString>;
company_size: z.ZodOptional<z.ZodString>;
company_founded: z.ZodOptional<z.ZodNumber>;
company_type: z.ZodOptional<z.ZodString>;
company_linkedin_url: z.ZodOptional<z.ZodString>;
company_linkedin_id: z.ZodOptional<z.ZodString>;
company_facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
company_twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
company_location: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
locality: z.ZodOptional<z.ZodString>;
region: z.ZodOptional<z.ZodString>;
metro: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
continent: z.ZodOptional<z.ZodString>;
street_address: z.ZodOptional<z.ZodString>;
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
postal_code: z.ZodOptional<z.ZodString>;
geo: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
}, {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
message: string;
status: "valid" | "valid_catch_all" | "not_found";
email: string;
credits_consumed: number;
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_founded?: number | undefined;
company_type?: string | undefined;
company_linkedin_url?: string | undefined;
company_linkedin_id?: string | undefined;
company_facebook_url?: string | null | undefined;
company_twitter_url?: string | null | undefined;
company_location?: {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
} | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
is_domain_catch_all?: boolean | undefined;
mx_record?: string | undefined;
mx_provider?: string | undefined;
mx_security_gateway?: boolean | undefined;
domain?: string | undefined;
}, {
message: string;
status: "valid" | "valid_catch_all" | "not_found";
email: string;
credits_consumed: number;
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_founded?: number | undefined;
company_type?: string | undefined;
company_linkedin_url?: string | undefined;
company_linkedin_id?: string | undefined;
company_facebook_url?: string | null | undefined;
company_twitter_url?: string | null | undefined;
company_location?: {
name?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
metro?: string | undefined;
country?: string | undefined;
continent?: string | undefined;
street_address?: string | undefined;
address_line_2?: string | null | undefined;
postal_code?: string | undefined;
geo?: string | undefined;
} | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
is_domain_catch_all?: boolean | undefined;
mx_record?: string | undefined;
mx_provider?: string | undefined;
mx_security_gateway?: boolean | undefined;
domain?: string | undefined;
}>;
export declare const ProfileSearchRequestSchema: z.ZodObject<{
profile_url: z.ZodString;
}, "strip", z.ZodTypeAny, {
profile_url: string;
}, {
profile_url: string;
}>;
export declare const PersonProfileSchema: z.ZodObject<{
profile_url: z.ZodOptional<z.ZodString>;
first_name: z.ZodOptional<z.ZodString>;
last_name: z.ZodOptional<z.ZodString>;
full_name: z.ZodOptional<z.ZodString>;
public_identifier: z.ZodOptional<z.ZodString>;
headline: z.ZodOptional<z.ZodString>;
company_name: z.ZodOptional<z.ZodString>;
company_size: z.ZodOptional<z.ZodString>;
company_industry: z.ZodOptional<z.ZodString>;
company_linkedin_url: z.ZodOptional<z.ZodString>;
company_website: z.ZodOptional<z.ZodString>;
total_tenure_months: z.ZodOptional<z.ZodString>;
total_tenure_days: z.ZodOptional<z.ZodString>;
total_tenure_years: z.ZodOptional<z.ZodString>;
connections: z.ZodOptional<z.ZodNumber>;
followers: z.ZodOptional<z.ZodNumber>;
country: z.ZodOptional<z.ZodString>;
location: z.ZodOptional<z.ZodString>;
about: z.ZodOptional<z.ZodString>;
experiences: z.ZodOptional<z.ZodArray<z.ZodObject<{
company_id: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
subtitle: z.ZodOptional<z.ZodString>;
caption: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
company_id?: string | undefined;
title?: string | undefined;
subtitle?: string | undefined;
caption?: string | undefined;
}, {
company_id?: string | undefined;
title?: string | undefined;
subtitle?: string | undefined;
caption?: string | undefined;
}>, "many">>;
educations: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodOptional<z.ZodString>;
caption: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
title?: string | undefined;
caption?: string | undefined;
}, {
title?: string | undefined;
caption?: string | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
country?: string | undefined;
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_linkedin_url?: string | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
profile_url?: string | undefined;
full_name?: string | undefined;
public_identifier?: string | undefined;
headline?: string | undefined;
company_website?: string | undefined;
total_tenure_months?: string | undefined;
total_tenure_days?: string | undefined;
total_tenure_years?: string | undefined;
connections?: number | undefined;
followers?: number | undefined;
location?: string | undefined;
about?: string | undefined;
experiences?: {
company_id?: string | undefined;
title?: string | undefined;
subtitle?: string | undefined;
caption?: string | undefined;
}[] | undefined;
educations?: {
title?: string | undefined;
caption?: string | undefined;
}[] | undefined;
}, {
country?: string | undefined;
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_linkedin_url?: string | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
profile_url?: string | undefined;
full_name?: string | undefined;
public_identifier?: string | undefined;
headline?: string | undefined;
company_website?: string | undefined;
total_tenure_months?: string | undefined;
total_tenure_days?: string | undefined;
total_tenure_years?: string | undefined;
connections?: number | undefined;
followers?: number | undefined;
location?: string | undefined;
about?: string | undefined;
experiences?: {
company_id?: string | undefined;
title?: string | undefined;
subtitle?: string | undefined;
caption?: string | undefined;
}[] | undefined;
educations?: {
title?: string | undefined;
caption?: string | undefined;
}[] | undefined;
}>;
export declare const ProfileSearchResponseSchema: z.ZodObject<{
profile_url: z.ZodOptional<z.ZodString>;
first_name: z.ZodOptional<z.ZodString>;
last_name: z.ZodOptional<z.ZodString>;
full_name: z.ZodOptional<z.ZodString>;
public_identifier: z.ZodOptional<z.ZodString>;
headline: z.ZodOptional<z.ZodString>;
company_name: z.ZodOptional<z.ZodString>;
company_size: z.ZodOptional<z.ZodString>;
company_industry: z.ZodOptional<z.ZodString>;
company_linkedin_url: z.ZodOptional<z.ZodString>;
company_website: z.ZodOptional<z.ZodString>;
total_tenure_months: z.ZodOptional<z.ZodString>;
total_tenure_days: z.ZodOptional<z.ZodString>;
total_tenure_years: z.ZodOptional<z.ZodString>;
connections: z.ZodOptional<z.ZodNumber>;
followers: z.ZodOptional<z.ZodNumber>;
country: z.ZodOptional<z.ZodString>;
location: z.ZodOptional<z.ZodString>;
about: z.ZodOptional<z.ZodString>;
experiences: z.ZodOptional<z.ZodArray<z.ZodObject<{
company_id: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
subtitle: z.ZodOptional<z.ZodString>;
caption: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
company_id?: string | undefined;
title?: string | undefined;
subtitle?: string | undefined;
caption?: string | undefined;
}, {
company_id?: string | undefined;
title?: string | undefined;
subtitle?: string | undefined;
caption?: string | undefined;
}>, "many">>;
educations: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodOptional<z.ZodString>;
caption: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
title?: string | undefined;
caption?: string | undefined;
}, {
title?: string | undefined;
caption?: string | undefined;
}>, "many">>;
} & {
credits_consumed: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
credits_consumed: number;
country?: string | undefined;
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_linkedin_url?: string | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
profile_url?: string | undefined;
full_name?: string | undefined;
public_identifier?: string | undefined;
headline?: string | undefined;
company_website?: string | undefined;
total_tenure_months?: string | undefined;
total_tenure_days?: string | undefined;
total_tenure_years?: string | undefined;
connections?: number | undefined;
followers?: number | undefined;
location?: string | undefined;
about?: string | undefined;
experiences?: {
company_id?: string | undefined;
title?: string | undefined;
subtitle?: string | undefined;
caption?: string | undefined;
}[] | undefined;
educations?: {
title?: string | undefined;
caption?: string | undefined;
}[] | undefined;
}, {
credits_consumed: number;
country?: string | undefined;
company_name?: string | undefined;
company_industry?: string | undefined;
company_size?: string | undefined;
company_linkedin_url?: string | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
profile_url?: string | undefined;
full_name?: string | undefined;
public_identifier?: string | undefined;
headline?: string | undefined;
company_website?: string | undefined;
total_tenure_months?: string | undefined;
total_tenure_days?: string | undefined;
total_tenure_years?: string | undefined;
connections?: number | undefined;
followers?: number | undefined;
location?: string | undefined;
about?: string | undefined;
experiences?: {
company_id?: string | undefined;
title?: string | undefined;
subtitle?: string | undefined;
caption?: string | undefined;
}[] | undefined;
educations?: {
title?: string | undefined;
caption?: string | undefined;
}[] | undefined;
}>;
export declare const CompanySearchRequestSchema: z.ZodObject<{
company_domain: z.ZodOptional<z.ZodString>;
company_name: z.ZodOptional<z.ZodString>;
profile_url: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
company_name?: string | undefined;
profile_url?: string | undefined;
company_domain?: string | undefined;
}, {
company_name?: string | undefined;
profile_url?: string | undefined;
company_domain?: string | undefined;
}>;
export declare const DetailedCompanySchema: z.ZodObject<{
company_name: z.ZodOptional<z.ZodString>;
company_id: z.ZodOptional<z.ZodNumber>;
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
country: z.ZodOptional<z.ZodString>;
city: z.ZodOptional<z.ZodString>;
geographic_area: z.ZodOptional<z.ZodString>;
postal_code: z.ZodOptional<z.ZodString>;
line1: z.ZodOptional<z.ZodString>;
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodString>;
headquarter: z.ZodOptional<z.ZodBoolean>;
localized_name: z.ZodOptional<z.ZodString>;
latitude: z.ZodOptional<z.ZodNumber>;
longitude: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
country?: string | undefined;
postal_code?: string | undefined;
city?: string | undefined;
geographic_area?: string | undefined;
line1?: string | undefined;
line2?: string | null | undefined;
description?: string | undefined;
headquarter?: boolean | undefined;
localized_name?: string | undefined;
latitude?: number | undefined;
longitude?: number | undefined;
}, {
country?: string | undefined;
postal_code?: string | undefined;
city?: string | undefined;
geographic_area?: string | undefined;
line1?: string | undefined;
line2?: string | null | undefined;
description?: string | undefined;
headquarter?: boolean | undefined;
localized_name?: string | undefined;
latitude?: number | undefined;
longitude?: number | undefined;
}>, "many">>;
employee_count: z.ZodOptional<z.ZodNumber>;
specialities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
employee_count_range: z.ZodOptional<z.ZodObject<{
start: z.ZodOptional<z.ZodNumber>;
end: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
start?: number | undefined;
end?: number | undefined;
}, {
start?: number | undefined;
end?: number | undefined;
}>>;
tagline: z.ZodOptional<z.ZodString>;
follower_count: z.ZodOptional<z.ZodNumber>;
industry: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
website_url: z.ZodOptional<z.ZodString>;
founded_on: z.ZodOptional<z.ZodObject<{
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
year: z.ZodOptional<z.ZodNumber>;
day: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
month?: number | null | undefined;
year?: number | undefined;
day?: number | null | undefined;
}, {
month?: number | null | undefined;
year?: number | undefined;
day?: number | null | undefined;
}>>;
universal_name: z.ZodOptional<z.ZodString>;
hashtag: z.ZodOptional<z.ZodString>;
industry_v2_taxonomy: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
credits_consumed: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
credits_consumed: number;
company_name?: string | undefined;
company_id?: number | undefined;
description?: string | undefined;
locations?: {
country?: string | undefined;
postal_code?: string | undefined;
city?: string | undefined;
geographic_area?: string | undefined;
line1?: string | undefined;
line2?: string | null | undefined;
description?: string | undefined;
headquarter?: boolean | undefined;
localized_name?: string | undefined;
latitude?: number | undefined;
longitude?: number | undefined;
}[] | undefined;
employee_count?: number | undefined;
specialities?: string[] | undefined;
employee_count_range?: {
start?: number | undefined;
end?: number | undefined;
} | undefined;
tagline?: string | undefined;
follower_count?: number | undefined;
industry?: string | undefined;
website_url?: string | undefined;
founded_on?: {
month?: number | null | undefined;
year?: number | undefined;
day?: number | null | undefined;
} | undefined;
universal_name?: string | undefined;
hashtag?: string | undefined;
industry_v2_taxonomy?: string | undefined;
url?: string | undefined;
}, {
credits_consumed: number;
company_name?: string | undefined;
company_id?: number | undefined;
description?: string | undefined;
locations?: {
country?: string | undefined;
postal_code?: string | undefined;
city?: string | undefined;
geographic_area?: string | undefined;
line1?: string | undefined;
line2?: string | null | undefined;
description?: string | undefined;
headquarter?: boolean | undefined;
localized_name?: string | undefined;
latitude?: number | undefined;
longitude?: number | undefined;
}[] | undefined;
employee_count?: number | undefined;
specialities?: string[] | undefined;
employee_count_range?: {
start?: number | undefined;
end?: number | undefined;
} | undefined;
tagline?: string | undefined;
follower_count?: number | undefined;
industry?: string | undefined;
website_url?: string | undefined;
founded_on?: {
month?: number | null | undefined;
year?: number | undefined;
day?: number | null | undefined;
} | undefined;
universal_name?: string | undefined;
hashtag?: string | undefined;
industry_v2_taxonomy?: string | undefined;
url?: string | undefined;
}>;
export declare const MobileFinderRequestSchema: z.ZodObject<{
profile_url: z.ZodOptional<z.ZodString>;
work_email: z.ZodOptional<z.ZodString>;
personal_email: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
profile_url?: string | undefined;
work_email?: string | undefined;
personal_email?: string | undefined;
}, {
profile_url?: string | undefined;
work_email?: string | undefined;
personal_email?: string | undefined;
}>;
export declare const MobileFinderResponseSchema: z.ZodObject<{
message: z.ZodString;
credits_consumed: z.ZodNumber;
mobile_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
message: string;
credits_consumed: number;
mobile_number?: string | null | undefined;
}, {
message: string;
credits_consumed: number;
mobile_number?: string | null | undefined;
}>;
export declare const B2BProfileRequestSchema: z.ZodObject<{
work_email: z.ZodString;
}, "strip", z.ZodTypeAny, {
work_email: string;
}, {
work_email: string;
}>;
export declare const B2BProfileResponseSchema: z.ZodObject<{
profile_url: z.ZodOptional<z.ZodString>;
message: z.ZodString;
credits_consumed: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
message: string;
credits_consumed: number;
profile_url?: string | undefined;
}, {
message: string;
credits_consumed: number;
profile_url?: string | undefined;
}>;
export declare const JobsFinderRequestSchema: z.ZodObject<{
company_name: z.ZodOptional<z.ZodString>;
company_website: z.ZodOptional<z.ZodString>;
job_title: z.ZodOptional<z.ZodString>;
location: z.ZodOptional<z.ZodString>;
experience_level: z.ZodOptional<z.ZodEnum<["entry", "mid", "senior", "executive"]>>;
job_description: z.ZodOptional<z.ZodString>;
country_id: z.ZodOptional<z.ZodString>;
page: z.ZodDefault<z.ZodNumber>;
per_page: z.ZodDefault<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page: number;
per_page: number;
company_name?: string | undefined;
company_website?: string | undefined;
location?: string | undefined;
job_title?: string | undefined;
experience_level?: "entry" | "mid" | "senior" | "executive" | undefined;
job_description?: string | undefined;
country_id?: string | undefined;
}, {
company_name?: string | undefined;
company_website?: string | undefined;
location?: string | undefined;
job_title?: string | undefined;
experience_level?: "entry" | "mid" | "senior" | "executive" | undefined;
job_description?: string | undefined;
country_id?: string | undefined;
page?: number | undefined;
per_page?: number | undefined;
}>;
export declare const JobResultSchema: z.ZodObject<{
company: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
website_url: z.ZodOptional<z.ZodString>;
linkedin_url: z.ZodOptional<z.ZodString>;
twitter_handle: z.ZodOptional<z.ZodString>;
github_url: z.ZodOptional<z.ZodString>;
is_agency: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
}, {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
}>>;
title: z.ZodOptional<z.ZodString>;
location: z.ZodOptional<z.ZodString>;
types: z.ZodOptional<z.ZodArray<z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
id?: number | undefined;
}, {
name?: string | undefined;
id?: number | undefined;
}>, "many">>;
cities: z.ZodOptional<z.ZodArray<z.ZodObject<{
geonameid: z.ZodOptional<z.ZodNumber>;
asciiname: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
code: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
}, {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}, {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}>, "many">>;
has_remote: z.ZodOptional<z.ZodBoolean>;
published: z.ZodOptional<z.ZodString>;
expired: z.ZodOptional<z.ZodNullable<z.ZodString>>;
application_url: z.ZodOptional<z.ZodString>;
language: z.ZodOptional<z.ZodString>;
salary_min: z.ZodOptional<z.ZodString>;
salary_max: z.ZodOptional<z.ZodString>;
salary_currency: z.ZodOptional<z.ZodString>;
experience_level: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
location?: string | undefined;
title?: string | undefined;
description?: string | undefined;
experience_level?: string | undefined;
company?: {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
} | undefined;
types?: {
name?: string | undefined;
id?: number | undefined;
}[] | undefined;
cities?: {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}[] | undefined;
has_remote?: boolean | undefined;
published?: string | undefined;
expired?: string | null | undefined;
application_url?: string | undefined;
language?: string | undefined;
salary_min?: string | undefined;
salary_max?: string | undefined;
salary_currency?: string | undefined;
}, {
location?: string | undefined;
title?: string | undefined;
description?: string | undefined;
experience_level?: string | undefined;
company?: {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
} | undefined;
types?: {
name?: string | undefined;
id?: number | undefined;
}[] | undefined;
cities?: {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}[] | undefined;
has_remote?: boolean | undefined;
published?: string | undefined;
expired?: string | null | undefined;
application_url?: string | undefined;
language?: string | undefined;
salary_min?: string | undefined;
salary_max?: string | undefined;
salary_currency?: string | undefined;
}>;
export declare const JobsFinderResponseSchema: z.ZodObject<{
total_count: z.ZodNumber;
page: z.ZodNumber;
per_page: z.ZodNumber;
total_pages: z.ZodNumber;
credits_consumed: z.ZodNumber;
results: z.ZodArray<z.ZodObject<{
company: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
website_url: z.ZodOptional<z.ZodString>;
linkedin_url: z.ZodOptional<z.ZodString>;
twitter_handle: z.ZodOptional<z.ZodString>;
github_url: z.ZodOptional<z.ZodString>;
is_agency: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
}, {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
}>>;
title: z.ZodOptional<z.ZodString>;
location: z.ZodOptional<z.ZodString>;
types: z.ZodOptional<z.ZodArray<z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
id?: number | undefined;
}, {
name?: string | undefined;
id?: number | undefined;
}>, "many">>;
cities: z.ZodOptional<z.ZodArray<z.ZodObject<{
geonameid: z.ZodOptional<z.ZodNumber>;
asciiname: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
code: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
}, {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}, {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}>, "many">>;
has_remote: z.ZodOptional<z.ZodBoolean>;
published: z.ZodOptional<z.ZodString>;
expired: z.ZodOptional<z.ZodNullable<z.ZodString>>;
application_url: z.ZodOptional<z.ZodString>;
language: z.ZodOptional<z.ZodString>;
salary_min: z.ZodOptional<z.ZodString>;
salary_max: z.ZodOptional<z.ZodString>;
salary_currency: z.ZodOptional<z.ZodString>;
experience_level: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
location?: string | undefined;
title?: string | undefined;
description?: string | undefined;
experience_level?: string | undefined;
company?: {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
} | undefined;
types?: {
name?: string | undefined;
id?: number | undefined;
}[] | undefined;
cities?: {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}[] | undefined;
has_remote?: boolean | undefined;
published?: string | undefined;
expired?: string | null | undefined;
application_url?: string | undefined;
language?: string | undefined;
salary_min?: string | undefined;
salary_max?: string | undefined;
salary_currency?: string | undefined;
}, {
location?: string | undefined;
title?: string | undefined;
description?: string | undefined;
experience_level?: string | undefined;
company?: {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
} | undefined;
types?: {
name?: string | undefined;
id?: number | undefined;
}[] | undefined;
cities?: {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}[] | undefined;
has_remote?: boolean | undefined;
published?: string | undefined;
expired?: string | null | undefined;
application_url?: string | undefined;
language?: string | undefined;
salary_min?: string | undefined;
salary_max?: string | undefined;
salary_currency?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
credits_consumed: number;
page: number;
per_page: number;
total_count: number;
total_pages: number;
results: {
location?: string | undefined;
title?: string | undefined;
description?: string | undefined;
experience_level?: string | undefined;
company?: {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
} | undefined;
types?: {
name?: string | undefined;
id?: number | undefined;
}[] | undefined;
cities?: {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}[] | undefined;
has_remote?: boolean | undefined;
published?: string | undefined;
expired?: string | null | undefined;
application_url?: string | undefined;
language?: string | undefined;
salary_min?: string | undefined;
salary_max?: string | undefined;
salary_currency?: string | undefined;
}[];
}, {
credits_consumed: number;
page: number;
per_page: number;
total_count: number;
total_pages: number;
results: {
location?: string | undefined;
title?: string | undefined;
description?: string | undefined;
experience_level?: string | undefined;
company?: {
name?: string | undefined;
website_url?: string | undefined;
linkedin_url?: string | undefined;
twitter_handle?: string | undefined;
github_url?: string | undefined;
is_agency?: boolean | undefined;
} | undefined;
types?: {
name?: string | undefined;
id?: number | undefined;
}[] | undefined;
cities?: {
name?: string | undefined;
country?: {
code?: string | undefined;
name?: string | undefined;
id?: number | undefined;
} | undefined;
geonameid?: number | undefined;
asciiname?: string | undefined;
}[] | undefined;
has_remote?: boolean | undefined;
published?: string | undefined;
expired?: string | null | undefined;
application_url?: string | undefined;
language?: string | undefined;
salary_min?: string | undefined;
salary_max?: string | undefined;
salary_currency?: string | undefined;
}[];
}>;
export declare const RoleFinderRequestSchema: z.ZodObject<{
job_title: z.ZodString;
company_name: z.ZodOptional<z.ZodString>;
company_domain: z.ZodOptional<z.ZodString>;
company_profile_url: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
job_title: string;
company_name?: string | undefined;
company_domain?: string | undefined;
company_profile_url?: string | undefined;
}, {
job_title: string;
company_name?: string | undefined;
company_domain?: string | undefined;
company_profile_url?: string | undefined;
}>;
export declare const RoleFinderResponseSchema: z.ZodObject<{
message: z.ZodString;
credits_consumed: z.ZodNumber;
company_name: z.ZodOptional<z.ZodString>;
company_website: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
message: string;
credits_consumed: number;
company_name?: string | undefined;
company_website?: string | undefined;
}, {
message: string;
credits_consumed: number;
company_name?: string | undefined;
company_website?: string | undefined;
}>;
export declare const EmployeeFinderRequestSchema: z.ZodObject<{
company_name: z.ZodString;
page: z.ZodDefault<z.ZodNumber>;
per_page: z.ZodDefault<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
company_name: string;
page: number;
per_page: number;
}, {
company_name: string;
page?: number | undefined;
per_page?: number | undefined;
}>;
export declare const EmployeeFinderResponseSchema: z.ZodObject<{
message: z.ZodString;
total_count: z.ZodOptional<z.ZodNumber>;
returned_count: z.ZodOptional<z.ZodNumber>;
credits_consumed: z.ZodNumber;
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
first_name: z.ZodOptional<z.ZodString>;
last_name: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
website: z.ZodOptional<z.ZodString>;
company_name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
company_name?: string | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
title?: string | undefined;
website?: string | undefined;
}, {
company_name?: string | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
title?: string | undefined;
website?: string | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
message: string;
credits_consumed: number;