zerobounce
Version:
ZeroBounce Email Verification Library
39 lines (38 loc) • 1.07 kB
TypeScript
export declare enum ValidateResponseSuccessStatus {
Valid = "valid",
Invalid = "invalid",
CatchAll = "catch-all",
Unknown = "unknown",
Spamtrap = "spamtrap",
Abuse = "abuse",
DoNotMail = "do_not_mail"
}
export declare class ValidateResponseSuccess {
address: string;
status: ValidateResponseSuccessStatus;
subStatus: string;
freeEmail: boolean;
didYouMean: string | null;
account: string | null;
domain: string | null;
domainAgeDays: string | null;
smtpProvider: string | null;
mxRecord: string | null;
mxFound: string | null;
firstName: string | null;
lastName: string | null;
gender: string | null;
country: string | null;
region: string | null;
city: string | null;
zipcode: string | null;
processedAt: string;
isValid(): boolean;
isInvalid(): boolean;
isCatchAll(): boolean;
isUnknown(): boolean;
isSpamtrap(): boolean;
isAbuse(): boolean;
isDoNotMail(): boolean;
static fromAny(object: any): ValidateResponseSuccess | null;
}