mailersend
Version:
Node.js helper module for MailerSend API
31 lines (30 loc) • 872 B
TypeScript
import { Sender } from "./Sender";
import { Pagination } from "../Pagination";
export declare class Recipient extends Sender {
constructor(email: string, name?: string);
}
export interface RecipientsQueryParams extends Pagination {
domain_id?: string;
}
export interface BlockListQueryParams extends Pagination {
domain_id?: string;
}
export interface OnHoldListQueryParams extends Pagination {
domain_id?: string;
}
export interface BlockListRecipients {
domain_id?: string;
recipients?: string[];
patterns?: string[];
}
export interface BlockListRecipientsPost {
domain_id: string;
recipients: string[];
}
export declare enum BlockListType {
BLOCK_LIST = "blocklist",
HARD_BOUNCES_LIST = "hard-bounces",
SPAM_COMPLAINTS_LIST = "spam-complaints",
UNSUBSCRIBES_LIST = "unsubscribes",
ON_HOLD_LIST = "on-hold-list"
}