UNPKG

@hasna/domains

Version:

Domain portfolio, registrar, marketplace, and DNS management for AI agents — CLI + MCP + HTTP API + SDK, shared account API and PostgreSQL

21 lines • 657 B
/** * Alert types and CRUD operations */ export interface Alert { id: string; domain_id: string; type: "expiry" | "ssl_expiry" | "dns_change"; trigger_days_before: number | null; sent_at: string | null; created_at: string; } export interface CreateAlertInput { domain_id: string; type: Alert["type"]; trigger_days_before?: number; } export declare function createAlert(input: CreateAlertInput): Alert; export declare function getAlert(id: string): Alert | null; export declare function listAlerts(domainId: string): Alert[]; export declare function deleteAlert(id: string): boolean; //# sourceMappingURL=alerts.d.ts.map