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


const client = new ServiceClient()
const method = 'POST'
const enctype = 'application/json'
const headers = {
    'pid': 'cn.keytop.stc.pc.b2b.demo',
    'sid': 'cn.keytop.stc.pc.b2b.demo.demoservice',
    'uri': '',
    'version': '1.0'
}

/**
* Demo 
* method:POST
* enctype:application/json
* pid:cn.keytop.stc.pc.b2b.demo
* sid:cn.keytop.stc.pc.b2b.demo.demoservice
* version:1.0
* @param parameters
*/
export async function demoService(parameters: Parameters): Promise<Result> {
    return await client.request(method, enctype, headers, parameters)
}
