UNPKG

mailersend

Version:

Node.js helper module for MailerSend API

26 lines (25 loc) 842 B
import { Pagination } from "./Pagination"; export interface BlocklistMonitorQueryParams extends Pagination { query?: string; sort_by?: 'name' | 'address' | 'created_at' | 'updated_at' | 'blocklisted'; order?: 'asc' | 'desc'; } export declare class BlocklistMonitor { address: string; name?: string; notify?: boolean; notify_email?: string; notify_address?: string; constructor(address: string); setAddress(address: string): BlocklistMonitor; setName(name: string): BlocklistMonitor; setNotify(notify: boolean): BlocklistMonitor; setNotifyEmail(notifyEmail: string): BlocklistMonitor; setNotifyAddress(notifyAddress: string): BlocklistMonitor; } export interface BlocklistMonitorUpdate { name?: string; notify?: boolean; notify_email?: string; notify_address?: string; }