/** * 统一管理平台API文档 * 包含模块:会员、账号、商品、支付、咨询、营销 * * OpenAPI spec version: 2.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { Article } from '../models'; import { ResponseResult } from '../models'; /** * ArticleControllerApi - axios parameter creator * @export */ export declare const ArticleControllerApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addArticle: (body?: Article, options?: any) => Promise; /** * * @param {string} articleId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delArticleById: (articleId: string, options?: any) => Promise; /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleById: (body?: Article, options?: any) => Promise; /** * * @param {number} page * @param {number} rows * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleList: (page: number, rows: number, body?: Article, options?: any) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAllArticleIdAndName: (options?: any) => Promise; /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateArticle: (body?: Article, options?: any) => Promise; }; /** * ArticleControllerApi - functional programming interface * @export */ export declare const ArticleControllerApiFp: (configuration?: Configuration) => { /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addArticle(body?: Article, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} articleId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delArticleById(articleId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleById(body?: Article, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} page * @param {number} rows * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleList(page: number, rows: number, body?: Article, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAllArticleIdAndName(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateArticle(body?: Article, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ArticleControllerApi - factory interface * @export */ export declare const ArticleControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addArticle(body?: Article, options?: any): AxiosPromise; /** * * @param {string} articleId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delArticleById(articleId: string, options?: any): AxiosPromise; /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleById(body?: Article, options?: any): AxiosPromise; /** * * @param {number} page * @param {number} rows * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleList(page: number, rows: number, body?: Article, options?: any): AxiosPromise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAllArticleIdAndName(options?: any): AxiosPromise; /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateArticle(body?: Article, options?: any): AxiosPromise; }; /** * ArticleControllerApi - object-oriented interface * @export * @class ArticleControllerApi * @extends {BaseAPI} */ export declare class ArticleControllerApi extends BaseAPI { /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleControllerApi */ addArticle(body?: Article, options?: any): Promise>; /** * * @param {string} articleId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleControllerApi */ delArticleById(articleId: string, options?: any): Promise>; /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleControllerApi */ getArticleById(body?: Article, options?: any): Promise>; /** * * @param {number} page * @param {number} rows * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleControllerApi */ getArticleList(page: number, rows: number, body?: Article, options?: any): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleControllerApi */ listAllArticleIdAndName(options?: any): Promise>; /** * * @param {Article} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleControllerApi */ updateArticle(body?: Article, options?: any): Promise>; }