package cn.com.poc.agent_application.rest;

import cn.com.poc.agent_application.request.*;
import cn.com.yict.framemax.core.rest.BaseRest;
import cn.com.yict.framemax.web.permission.Access;
import cn.com.yict.framemax.web.permission.Permission;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletResponse;

@Permission(value = Access.Safety)
public interface AiGcRest extends BaseRest {

    void articlePolish(@RequestBody ArticlePolishRequest request, HttpServletResponse httpServletResponse) throws Exception;

    void articleRefine(@RequestBody ArticleRefineRequest request, HttpServletResponse httpServletResponse) throws Exception;

    void articleExpand(@RequestBody ArticleExpandRequest request, HttpServletResponse httpServletResponse) throws Exception;

    void articleModifyTone(@RequestBody ArticleModifyToneRequest request, HttpServletResponse httpServletResponse) throws Exception;

    void articleRewrite(@RequestBody ArticleRewriteRequest request, HttpServletResponse httpServletResponse) throws Exception;
}