@metabohub/forum-library
Version:
<!-- Put your badges here: --> [](https://forge.inrae.fr/metabohub/forvm/mth-forvm-lib/-/commits/dev) [ • 5.34 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';
/**
* ChebiApi - axios parameter creator
* @export
*/
export declare const ChebiApiAxiosParamCreator: (configuration?: Configuration) => {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
chebiFuzzyQueryGet: (query: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} idChebi idChebi
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
chebiMeshIdChebiGet: (idChebi: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} idMesh idMesh
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
meshChebiIdMeshGet: (idMesh: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* ChebiApi - functional programming interface
* @export
*/
export declare const ChebiApiFp: (configuration?: Configuration) => {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
chebiFuzzyQueryGet(query: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
/**
*
* @param {string} idChebi idChebi
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
chebiMeshIdChebiGet(idChebi: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
/**
*
* @param {string} idMesh idMesh
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
meshChebiIdMeshGet(idMesh: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
};
/**
* ChebiApi - factory interface
* @export
*/
export declare const ChebiApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
chebiFuzzyQueryGet(query: string, options?: any): AxiosPromise<any>;
/**
*
* @param {string} idChebi idChebi
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
chebiMeshIdChebiGet(idChebi: string, options?: any): AxiosPromise<any>;
/**
*
* @param {string} idMesh idMesh
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
meshChebiIdMeshGet(idMesh: string, options?: any): AxiosPromise<any>;
};
/**
* ChebiApi - interface
* @export
* @interface ChebiApi
*/
export interface ChebiApiInterface {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChebiApiInterface
*/
chebiFuzzyQueryGet(query: string, options?: AxiosRequestConfig): AxiosPromise<any>;
/**
*
* @param {string} idChebi idChebi
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChebiApiInterface
*/
chebiMeshIdChebiGet(idChebi: string, options?: AxiosRequestConfig): AxiosPromise<any>;
/**
*
* @param {string} idMesh idMesh
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChebiApiInterface
*/
meshChebiIdMeshGet(idMesh: string, options?: AxiosRequestConfig): AxiosPromise<any>;
}
/**
* ChebiApi - object-oriented interface
* @export
* @class ChebiApi
* @extends {BaseAPI}
*/
export declare class ChebiApi extends BaseAPI implements ChebiApiInterface {
/**
*
* @param {string} query the user\'s query
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChebiApi
*/
chebiFuzzyQueryGet(query: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
/**
*
* @param {string} idChebi idChebi
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChebiApi
*/
chebiMeshIdChebiGet(idChebi: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
/**
*
* @param {string} idMesh idMesh
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChebiApi
*/
meshChebiIdMeshGet(idMesh: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
}