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


const client = new ServiceClient()
const method = 'POST'
const enctype = 'application/x-www-form-urlencoded'
const headers = {
    'pid': 'stc.ms.RecognitionCheck',
    'sid': 'stc.ms.RecognitionCheckrefresh',
    'uri': 'api/check/refresh',
    'version': '1.0'
}

/**
* 刷新匹配表 
* method:POST
* enctype:application/x-www-form-urlencoded
* pid:stc.ms.RecognitionCheck
* sid:stc.ms.RecognitionCheckrefresh
* version:1.0
* @param parameters
*/
export async function refresh(parameters: Parameters): Promise<Result> {
    return await client.request(method, enctype, headers, parameters)
}
