/** * 统一管理平台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 { Resource } from '../models'; import { ResponseResult } from '../models'; /** * ResourceManageControllerApi - axios parameter creator * @export */ export declare const ResourceManageControllerApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {Resource} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addResource: (body?: Resource, options?: any) => Promise; /** * * @param {string} type * @param {string} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getResourceInfo: (type: string, resourceId: string, options?: any) => Promise; }; /** * ResourceManageControllerApi - functional programming interface * @export */ export declare const ResourceManageControllerApiFp: (configuration?: Configuration) => { /** * * @param {Resource} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addResource(body?: Resource, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} type * @param {string} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getResourceInfo(type: string, resourceId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ResourceManageControllerApi - factory interface * @export */ export declare const ResourceManageControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {Resource} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addResource(body?: Resource, options?: any): AxiosPromise; /** * * @param {string} type * @param {string} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getResourceInfo(type: string, resourceId: string, options?: any): AxiosPromise; }; /** * ResourceManageControllerApi - object-oriented interface * @export * @class ResourceManageControllerApi * @extends {BaseAPI} */ export declare class ResourceManageControllerApi extends BaseAPI { /** * * @param {Resource} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ResourceManageControllerApi */ addResource(body?: Resource, options?: any): Promise>; /** * * @param {string} type * @param {string} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ResourceManageControllerApi */ getResourceInfo(type: string, resourceId: string, options?: any): Promise>; }