package cn.axzo.msg.center.notices.integration.client;

import cn.axzo.msg.center.notices.common.enums.SendDetailsStatusEnum;
import cn.axzo.msg.center.notices.integration.dto.request.SendSmsCommonRequest;
import cn.axzo.msg.center.notices.integration.dto.response.SendSmsCommonResponse;

/**
 * 短信服务
 *
 * @author zhaoyong_sh
 * @see AliYunSmsClient
 * @since 2021-05-19 12:38
 */
public interface AliYunSmsClient {

    /**
     * 查询异常短信发送详情
     * @param cellphone
     * @param sendDate
     * @param outId
     * @return
     */
    SendDetailsStatusEnum queryExceptionSendDetails(String cellphone, String sendDate, String outId);

    /**
     * 查询处理中短信发送详情
     * @param cellphone
     * @param sendDate
     * @param bizId
     * @return
     */
    SendDetailsStatusEnum queryProcessingSendDetail(String cellphone, String sendDate, String bizId);


    /**
     * 通过
     * @param request
     * @return
     */
    SendSmsCommonResponse sendSms(SendSmsCommonRequest request) throws Exception;

}
