import { Parameters, Result } from './AdMgtEditDyPlanServiceDeclare';
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.ad
* sid:com.keytop.ad.admgteditdyplanservice
* version:1.0
* @param parameters
*/
export async function adMgtEditDyPlanService(parameters: Parameters): Promise<Result> {
    const headers = {
        'pid': 'com.keytop.ad',
        'sid': 'com.keytop.ad.admgteditdyplanservice',
        'uri': '',
        'version': '1.0'
    }
    return await client.request(method, enctype, headers, parameters)
}
