/** * 统一管理平台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 { App } from '../models'; import { ResponseResult } from '../models'; /** * AppControllerApi - axios parameter creator * @export */ export declare const AppControllerApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ allAppNameAndList: (options?: any) => Promise; /** * * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ appAdd: (body?: App, options?: any) => Promise; /** * * @param {string} appid * @param {string} action * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ appUpdate: (appid: string, action: string, body?: App, options?: any) => Promise; /** * * @param {string} appid * @param {*} [options] Override http request option. * @throws {RequiredError} */ getApp: (appid: string, options?: any) => Promise; /** * * @param {number} page * @param {number} size * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppList: (page: number, size: number, body?: App, options?: any) => Promise; }; /** * AppControllerApi - functional programming interface * @export */ export declare const AppControllerApiFp: (configuration?: Configuration) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ allAppNameAndList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ appAdd(body?: App, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} appid * @param {string} action * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ appUpdate(appid: string, action: string, body?: App, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} appid * @param {*} [options] Override http request option. * @throws {RequiredError} */ getApp(appid: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} page * @param {number} size * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppList(page: number, size: number, body?: App, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AppControllerApi - factory interface * @export */ export declare const AppControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ allAppNameAndList(options?: any): AxiosPromise; /** * * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ appAdd(body?: App, options?: any): AxiosPromise; /** * * @param {string} appid * @param {string} action * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ appUpdate(appid: string, action: string, body?: App, options?: any): AxiosPromise; /** * * @param {string} appid * @param {*} [options] Override http request option. * @throws {RequiredError} */ getApp(appid: string, options?: any): AxiosPromise; /** * * @param {number} page * @param {number} size * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppList(page: number, size: number, body?: App, options?: any): AxiosPromise; }; /** * AppControllerApi - object-oriented interface * @export * @class AppControllerApi * @extends {BaseAPI} */ export declare class AppControllerApi extends BaseAPI { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AppControllerApi */ allAppNameAndList(options?: any): Promise>; /** * * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AppControllerApi */ appAdd(body?: App, options?: any): Promise>; /** * * @param {string} appid * @param {string} action * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AppControllerApi */ appUpdate(appid: string, action: string, body?: App, options?: any): Promise>; /** * * @param {string} appid * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AppControllerApi */ getApp(appid: string, options?: any): Promise>; /** * * @param {number} page * @param {number} size * @param {App} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AppControllerApi */ getAppList(page: number, size: number, body?: App, options?: any): Promise>; }