coa-allin-pay
Version:
通联支付SDK for Node.js
52 lines (51 loc) • 2.47 kB
TypeScript
import { AllinPaySybService } from '../libs/AllinPaySybService';
export declare class AllinPayComplaintService extends AllinPaySybService {
/**
* 微信查询投诉单列表
* @link https://aipboss.allinpay.com/know/devhelp/main.php?pid=75#mid=1203
* @param beginDate 开始日期,格式为yyyy-MM-DD。注意,查询日期跨度不超过30天
* @param endDate 结束日期,格式为yyyy-MM-DD。注意,查询日期跨度不超过30天
* @param currentPageNum 当前页码,分页查询页码,不传则默认为1
* @param pageSize 每页条数,分页查询每次查询的数据量,建议不超过20,不传则默认为10
*/
complaintQry(beginDate: string, endDate: string, currentPageNum?: number, pageSize?: number): Promise<any>;
/**
* 微信查询投诉单详情
* @link https://aipboss.allinpay.com/know/devhelp/main.php?pid=75#mid=1204
* @param cusId 平台商户号
* @param complaintId 投诉单号
*/
complaintDetail(cusId: string, complaintId: string): Promise<any>;
/**
* 微信查询投诉协商历史
* @link https://aipboss.allinpay.com/know/devhelp/main.php?pid=75#mid=1218
* @param cusId 平台商户号
* @param complaintId 投诉单号
* @param offset 分页大小,可空,默认为0
* @param limit 分页开始位置,可空,默认为100
*/
complaintHistory(cusId: string, complaintId: string, offset?: number, limit?: number): Promise<any>;
/**
* 微信回复用户
* @link https://aipboss.allinpay.com/know/devhelp/main.php?pid=75#mid=1219
* @param cusId 平台商户号
* @param complaintId 投诉单号
* @param content 回复内容,不超过200字符
* @param images 回复图片,多张是以#@#相隔,最多4张
*/
complaintResp(cusId: string, complaintId: string, content: string, images?: string): Promise<any>;
/**
* 微信反馈处理完成
* @link https://aipboss.allinpay.com/know/devhelp/main.php?pid=75#mid=1220
* @param cusId 平台商户号
* @param complaintId 投诉单号
*/
complaintComplete(cusId: string, complaintId: string): Promise<any>;
/**
* 微信下载微信图片
* @link https://aipboss.allinpay.com/know/devhelp/main.php?pid=45#mid=1210
* @param cusId 平台商户号
* @param imgUrl 图片地址
*/
getMerchantImage(cusId: string, imgUrl: string): Promise<any>;
}