/** * 统一管理平台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 { Account } from '../models'; import { AuthBody } from '../models'; import { ResponseResult } from '../models'; import { Role } from '../models'; /** * AccountControllerApi - axios parameter creator * @export */ export declare const AccountControllerApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addAppAccount: (body?: Account, options?: any) => Promise; /** * * @param {string} account * @param {string} appid * @param {Array<Role>} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ bindRoles: (account: string, appid: string, body?: Array, options?: any) => Promise; /** * * @param {AuthBody} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAccountByMobile: (body?: AuthBody, options?: any) => Promise; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAccount: (body?: Account, options?: any) => Promise; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAccountInfoByAccount: (body?: Account, options?: any) => Promise; /** * 分页获取指定应用的会员账号信息 * @summary 会员列表 * @param {number} page * @param {number} rows * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppAccountList: (page: number, rows: number, body?: Account, options?: any) => Promise; /** * * @summary 发送短信登录验证码 * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ sendLoginSmsCode: (body?: string, options?: any) => Promise; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAppAccount: (body?: Account, options?: any) => Promise; }; /** * AccountControllerApi - functional programming interface * @export */ export declare const AccountControllerApiFp: (configuration?: Configuration) => { /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addAppAccount(body?: Account, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} account * @param {string} appid * @param {Array<Role>} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ bindRoles(account: string, appid: string, body?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {AuthBody} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAccountByMobile(body?: AuthBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAccount(body?: Account, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAccountInfoByAccount(body?: Account, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 分页获取指定应用的会员账号信息 * @summary 会员列表 * @param {number} page * @param {number} rows * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppAccountList(page: number, rows: number, body?: Account, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary 发送短信登录验证码 * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ sendLoginSmsCode(body?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAppAccount(body?: Account, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AccountControllerApi - factory interface * @export */ export declare const AccountControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ addAppAccount(body?: Account, options?: any): AxiosPromise; /** * * @param {string} account * @param {string} appid * @param {Array<Role>} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ bindRoles(account: string, appid: string, body?: Array, options?: any): AxiosPromise; /** * * @param {AuthBody} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAccountByMobile(body?: AuthBody, options?: any): AxiosPromise; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAccount(body?: Account, options?: any): AxiosPromise; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAccountInfoByAccount(body?: Account, options?: any): AxiosPromise; /** * 分页获取指定应用的会员账号信息 * @summary 会员列表 * @param {number} page * @param {number} rows * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppAccountList(page: number, rows: number, body?: Account, options?: any): AxiosPromise; /** * * @summary 发送短信登录验证码 * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ sendLoginSmsCode(body?: string, options?: any): AxiosPromise; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAppAccount(body?: Account, options?: any): AxiosPromise; }; /** * AccountControllerApi - object-oriented interface * @export * @class AccountControllerApi * @extends {BaseAPI} */ export declare class AccountControllerApi extends BaseAPI { /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountControllerApi */ addAppAccount(body?: Account, options?: any): Promise>; /** * * @param {string} account * @param {string} appid * @param {Array<Role>} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountControllerApi */ bindRoles(account: string, appid: string, body?: Array, options?: any): Promise>; /** * * @param {AuthBody} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountControllerApi */ createAccountByMobile(body?: AuthBody, options?: any): Promise>; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountControllerApi */ deleteAccount(body?: Account, options?: any): Promise>; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountControllerApi */ getAccountInfoByAccount(body?: Account, options?: any): Promise>; /** * 分页获取指定应用的会员账号信息 * @summary 会员列表 * @param {number} page * @param {number} rows * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountControllerApi */ getAppAccountList(page: number, rows: number, body?: Account, options?: any): Promise>; /** * * @summary 发送短信登录验证码 * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountControllerApi */ sendLoginSmsCode(body?: string, options?: any): Promise>; /** * * @param {Account} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountControllerApi */ updateAppAccount(body?: Account, options?: any): Promise>; }