UNPKG

node-easysms

Version:

EasySMS is an SMS sender for Node.js

18 lines (17 loc) 665 B
import { Gateway } from "../Core/Gateway"; import { Message } from "../Core/Message"; import { PhoneNumber } from "../Core/PhoneNumber"; /** * 阿里云短信服务 * @see https://help.aliyun.com/document_detail/419273.html */ export declare class AliyunGateway extends Gateway<AliyunGatewayConfig> { static ENDPOINT_URL: string; static ENDPOINT_METHOD: string; static ENDPOINT_VERSION: string; static ENDPOINT_FORMAT: string; static ENDPOINT_SIGNATURE_METHOD: string; static ENDPOINT_SIGNATURE_VERSION: string; send(to: PhoneNumber, message: Message): Promise<any>; generateSign(params: Record<string, any>, key: string): any; }