import { Parameters, Result } from './SendCouponsManManuallyDeclare';
import { ServiceClient } from 'cn.keytop.stc.midend.ms.client';


const client = new ServiceClient()
const method = 'POST'
const enctype = 'application/json'

/**
* 手动发送优惠券 
* method:POST
* enctype:application/json
* pid:com.keytop.cr-daemon
* sid:com.keytop.cr-daemon.sendcouponsmanmanually
* version:1.0
* @param parameters
*/
export async function sendCouponsManManually(parameters: Parameters): Promise<Result> {
    const headers = {
        'pid': 'com.keytop.cr-daemon',
        'sid': 'com.keytop.cr-daemon.sendcouponsmanmanually',
        'uri': '',
        'version': '1.0'
    }
    return await client.request(method, enctype, headers, parameters)
}
