mailersend
Version:
Node.js helper module for MailerSend API
11 lines (10 loc) • 665 B
TypeScript
import { RequestService, APIResponse } from "../../services/request.service";
import { SmtpUserParams, SmtpUserQueryParams } from "../../models";
export declare class SmtpUserModule extends RequestService {
constructor(apiKey: string, baseUrl: string);
list(domainId: string, queryParams?: SmtpUserQueryParams): Promise<APIResponse>;
single(domainId: string, smtpUserId: string): Promise<APIResponse>;
create(domainId: string, data: SmtpUserParams): Promise<APIResponse>;
update(domainId: string, smtpUserId: string, data: Partial<SmtpUserParams>): Promise<APIResponse>;
delete(domainId: string, smtpUserId: string): Promise<APIResponse>;
}