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


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

/**
* 2 
* method:POST
* enctype:application/json
* pid:cn.keytop.stc.mms.demo
* sid:cn.keytop.stc.mms.demo.testservice2
* version:2.0
* @param parameters
*/
export async function testService2(parameters: Parameters): Promise<Result> {
    const headers = {
        'pid': 'cn.keytop.stc.mms.demo',
        'sid': 'cn.keytop.stc.mms.demo.testservice2',
        'uri': '',
        'version': '2.0'
    }
    return await client.request(method, enctype, headers, parameters)
}
