UNPKG

@iot9x.com/nestjs-ucpaas-sms

Version:

nestjs 云之讯平台短信集成插件

35 lines (34 loc) 1.1 kB
import { UcpaasBaseResponse } from '../base.ucpaas.interface'; /** 根据模板发送单条短信返回类型 */ export interface UcpaasSendVariableSmsResponse extends UcpaasBaseResponse { /** 短信总计费条数 */ total_fee: number; /** * 用户透传ID,随状态报告返回 * @description 此部分是请求是传入的 */ uid?: string; /** * 每个手机号发送的详细情况 * @description code为0才有 */ data?: [ { /** * 成功发送的短信计费条数 * @description 计费规则:70个字一条,超出70个字时按每67字一条计费(英文按字母个数计算) */ fee: number; /** * 接收短信的手机号码 * @example 18088888888 */ mobile: string; /** * 短信标识符(用于匹配状态报告),一个手机号对应一个sid * @example 8cc440aceb0e36d6847f69758537eb8c */ sid: string; } ]; }