/** * 统一管理平台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 { ResponseResult } from '../models'; import { Section } from '../models'; /** * SectionControllerApi - axios parameter creator * @export */ export declare const SectionControllerApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addSection: (body?: Section, options?: any) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAllIdAndNameList: (options?: any) => Promise; /** * * @param {number} page * @param {number} rows * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSectionList: (page: number, rows: number, body?: Section, options?: any) => Promise; /** * * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSection: (body?: Section, options?: any) => Promise; }; /** * SectionControllerApi - functional programming interface * @export */ export declare const SectionControllerApiFp: (configuration?: Configuration) => { /** * * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addSection(body?: Section, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAllIdAndNameList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} page * @param {number} rows * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSectionList(page: number, rows: number, body?: Section, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSection(body?: Section, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SectionControllerApi - factory interface * @export */ export declare const SectionControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addSection(body?: Section, options?: any): AxiosPromise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAllIdAndNameList(options?: any): AxiosPromise; /** * * @param {number} page * @param {number} rows * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSectionList(page: number, rows: number, body?: Section, options?: any): AxiosPromise; /** * * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSection(body?: Section, options?: any): AxiosPromise; }; /** * SectionControllerApi - object-oriented interface * @export * @class SectionControllerApi * @extends {BaseAPI} */ export declare class SectionControllerApi extends BaseAPI { /** * * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SectionControllerApi */ addSection(body?: Section, options?: any): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SectionControllerApi */ getAllIdAndNameList(options?: any): Promise>; /** * * @param {number} page * @param {number} rows * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SectionControllerApi */ getSectionList(page: number, rows: number, body?: Section, options?: any): Promise>; /** * * @param {Section} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SectionControllerApi */ updateSection(body?: Section, options?: any): Promise>; }