dmarc-solution
Version:
One stop solution for all DMARC Problems. This package includes fetching of dmarc record, parsing the provided/fetched record, validation of DMARC record, generating a new DMARC record
21 lines (20 loc) • 410 B
TypeScript
export declare type FetchOptions = {
describe?: boolean;
};
export declare type FetchResponse = {
record: string;
tags?: any;
};
export declare type DMARCRecord = {
v: string;
p: string;
rua: string[];
ruf: string[];
fo: string[];
pct: number;
rf: "afrf" | "iodef";
ri: number;
sp: "none" | "quarantine" | "reject";
aspf: "r" | "s";
adkim: "r" | "s";
};