UNPKG

@metabohub/forum-library

Version:

<!-- Put your badges here: --> [![pipeline status](https://forge.inrae.fr/metabohub/forvm/mth-forvm-lib/badges/dev/pipeline.svg)](https://forge.inrae.fr/metabohub/forvm/mth-forvm-lib/-/commits/dev) [![coverage report](https://forge.inrae.fr/metabohub/forv

159 lines (158 loc) 5.45 kB
/** * 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'; /** * PubchemApi - axios parameter creator * @export */ export declare const PubchemApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshPubchemIdMeshGet: (idMesh: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {string} query the user\&#39;s query * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemFuzzyQueryGet: (query: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemMeshIdPubchemGet: (idPubchem: number, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * PubchemApi - functional programming interface * @export */ export declare const PubchemApiFp: (configuration?: Configuration) => { /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshPubchemIdMeshGet(idMesh: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; /** * * @param {string} query the user\&#39;s query * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemFuzzyQueryGet(query: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemMeshIdPubchemGet(idPubchem: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; }; /** * PubchemApi - factory interface * @export */ export declare const PubchemApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshPubchemIdMeshGet(idMesh: string, options?: any): AxiosPromise<any>; /** * * @param {string} query the user\&#39;s query * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemFuzzyQueryGet(query: string, options?: any): AxiosPromise<any>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemMeshIdPubchemGet(idPubchem: number, options?: any): AxiosPromise<any>; }; /** * PubchemApi - interface * @export * @interface PubchemApi */ export interface PubchemApiInterface { /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PubchemApiInterface */ meshPubchemIdMeshGet(idMesh: string, options?: AxiosRequestConfig): AxiosPromise<any>; /** * * @param {string} query the user\&#39;s query * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PubchemApiInterface */ pubchemFuzzyQueryGet(query: string, options?: AxiosRequestConfig): AxiosPromise<any>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PubchemApiInterface */ pubchemMeshIdPubchemGet(idPubchem: number, options?: AxiosRequestConfig): AxiosPromise<any>; } /** * PubchemApi - object-oriented interface * @export * @class PubchemApi * @extends {BaseAPI} */ export declare class PubchemApi extends BaseAPI implements PubchemApiInterface { /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PubchemApi */ meshPubchemIdMeshGet(idMesh: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>; /** * * @param {string} query the user\&#39;s query * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PubchemApi */ pubchemFuzzyQueryGet(query: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PubchemApi */ pubchemMeshIdPubchemGet(idPubchem: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>; }