@metabohub/forum-library
Version:
[](https://forgemia.inra.fr/metabohub/web-components/mth-forum-lib/-/commits/dev) [ • 2.63 kB
TypeScript
/**
* Forum API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
/**
* MeshApi - axios parameter creator
* @export
*/
export declare const MeshApiAxiosParamCreator: (configuration?: Configuration) => {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
meshFuzzyQueryGet: (query: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* MeshApi - functional programming interface
* @export
*/
export declare const MeshApiFp: (configuration?: Configuration) => {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
meshFuzzyQueryGet(query: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
};
/**
* MeshApi - factory interface
* @export
*/
export declare const MeshApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
meshFuzzyQueryGet(query: string, options?: any): AxiosPromise<any>;
};
/**
* MeshApi - interface
* @export
* @interface MeshApi
*/
export interface MeshApiInterface {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof MeshApiInterface
*/
meshFuzzyQueryGet(query: string, options?: AxiosRequestConfig): AxiosPromise<any>;
}
/**
* MeshApi - object-oriented interface
* @export
* @class MeshApi
* @extends {BaseAPI}
*/
export declare class MeshApi extends BaseAPI implements MeshApiInterface {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof MeshApi
*/
meshFuzzyQueryGet(query: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
}