
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
@types/smtpapi
Advanced tools
TypeScript definitions for smtpapi
npm install --save @types/smtpapi
This package contains type definitions for smtpapi (https://github.com/sendgrid/smtpapi-nodejs).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/smtpapi.
declare var SmtpApi: SmtpApi.Constructor;
export = SmtpApi;
declare namespace SmtpApi {
interface Header {
to: string[];
sub: Object;
unique_args: Object;
category: string[];
section: Object;
filters: Object;
send_at: "" | number;
send_each_at: number[];
asm_group_id: number;
ip_pool: string;
}
interface Constructor {
new(): Instance;
new(header: Header): Instance;
}
interface Instance {
header: Header;
version: string;
jsonObject(): Header;
jsonString(): string;
addTo(to: string): void;
addTo(tos: string[]): void;
addSubstitution(key: string, val: string): void;
addSubstitution(key: string, val: string[]): void;
addUniqueArg(key: string, val: string): void;
addCategory(cat: string): void;
addCategory(cat: string[]): void;
addSection(sec: string, val: string): void;
addFilter(filter: string, setting: string, val: number): void;
addFilter(filter: string, setting: string, val: string): void;
addSendEachAt(send_each_at: number): void;
addSendEachAt(send_each_at: number[]): void;
setTos(email: string): void;
setTos(emails: string[]): void;
setSubstitutions(subs: Object): void;
setUniqueArgs(val: Object): void;
setCategories(cats: string): void;
setCategories(cats: string[]): void;
setSections(sec: Object): void;
setFilters(filters: Object): void;
setSendAt(send_at: number): void;
setSendEachAt(send_each_at: number[]): void;
setASMGroupID(asm_group_id: number): void;
setIpPool(ip_pool: string): void;
}
}
These definitions were written by Antonio Morales.
FAQs
TypeScript definitions for smtpapi
The npm package @types/smtpapi receives a total of 332 weekly downloads. As such, @types/smtpapi popularity was classified as not popular.
We found that @types/smtpapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.