/** * 统一管理平台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 { Merchant } from '../models'; import { ResponseResult } from '../models'; /** * MerchantControllerApi - axios parameter creator * @export */ export declare const MerchantControllerApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addMerchant: (body?: Merchant, options?: any) => Promise; /** * * @param {string} appid * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getMerchantByCondition: (appid: string, body?: Merchant, options?: any) => Promise; /** * * @param {string} appid * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateMerchantInfo: (appid: string, body?: Merchant, options?: any) => Promise; }; /** * MerchantControllerApi - functional programming interface * @export */ export declare const MerchantControllerApiFp: (configuration?: Configuration) => { /** * * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addMerchant(body?: Merchant, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} appid * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getMerchantByCondition(appid: string, body?: Merchant, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} appid * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateMerchantInfo(appid: string, body?: Merchant, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * MerchantControllerApi - factory interface * @export */ export declare const MerchantControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addMerchant(body?: Merchant, options?: any): AxiosPromise; /** * * @param {string} appid * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getMerchantByCondition(appid: string, body?: Merchant, options?: any): AxiosPromise; /** * * @param {string} appid * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateMerchantInfo(appid: string, body?: Merchant, options?: any): AxiosPromise; }; /** * MerchantControllerApi - object-oriented interface * @export * @class MerchantControllerApi * @extends {BaseAPI} */ export declare class MerchantControllerApi extends BaseAPI { /** * * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MerchantControllerApi */ addMerchant(body?: Merchant, options?: any): Promise>; /** * * @param {string} appid * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MerchantControllerApi */ getMerchantByCondition(appid: string, body?: Merchant, options?: any): Promise>; /** * * @param {string} appid * @param {Merchant} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MerchantControllerApi */ updateMerchantInfo(appid: string, body?: Merchant, options?: any): Promise>; }