import { Parameters, Result } from './CnPackAddDeclare';
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:cn.ketyop.cn.bm.admin-server
* sid:cn.ketyop.cn.bm.admin-server.cnpackadd
* version:1.0
* @param parameters
*/
export async function cnPackAdd(parameters: Parameters): Promise<Result> {
    const headers = {
        'pid': 'cn.ketyop.cn.bm.admin-server',
        'sid': 'cn.ketyop.cn.bm.admin-server.cnpackadd',
        'uri': '',
        'version': '1.0'
    }
    return await client.request(method, enctype, headers, parameters)
}
