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

233 lines (232 loc) 8.12 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'; /** * LabelsApi - axios parameter creator * @export */ export declare const LabelsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} idChebi idChebi * @param {*} [options] Override http request option. * @throws {RequiredError} */ chebiLabelIdChebiGet: (idChebi: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {string} idChemont idChemont * @param {*} [options] Override http request option. * @throws {RequiredError} */ chemontLabelIdChemontGet: (idChemont: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshLabelIdMeshGet: (idMesh: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshTreeIdMeshGet: (idMesh: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemLabelIdPubchemGet: (idPubchem: number, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * LabelsApi - functional programming interface * @export */ export declare const LabelsApiFp: (configuration?: Configuration) => { /** * * @param {string} idChebi idChebi * @param {*} [options] Override http request option. * @throws {RequiredError} */ chebiLabelIdChebiGet(idChebi: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; /** * * @param {string} idChemont idChemont * @param {*} [options] Override http request option. * @throws {RequiredError} */ chemontLabelIdChemontGet(idChemont: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshLabelIdMeshGet(idMesh: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshTreeIdMeshGet(idMesh: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemLabelIdPubchemGet(idPubchem: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; }; /** * LabelsApi - factory interface * @export */ export declare const LabelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} idChebi idChebi * @param {*} [options] Override http request option. * @throws {RequiredError} */ chebiLabelIdChebiGet(idChebi: string, options?: any): AxiosPromise<any>; /** * * @param {string} idChemont idChemont * @param {*} [options] Override http request option. * @throws {RequiredError} */ chemontLabelIdChemontGet(idChemont: string, options?: any): AxiosPromise<any>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshLabelIdMeshGet(idMesh: string, options?: any): AxiosPromise<any>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} */ meshTreeIdMeshGet(idMesh: string, options?: any): AxiosPromise<any>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} */ pubchemLabelIdPubchemGet(idPubchem: number, options?: any): AxiosPromise<any>; }; /** * LabelsApi - interface * @export * @interface LabelsApi */ export interface LabelsApiInterface { /** * * @param {string} idChebi idChebi * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApiInterface */ chebiLabelIdChebiGet(idChebi: string, options?: AxiosRequestConfig): AxiosPromise<any>; /** * * @param {string} idChemont idChemont * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApiInterface */ chemontLabelIdChemontGet(idChemont: string, options?: AxiosRequestConfig): AxiosPromise<any>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApiInterface */ meshLabelIdMeshGet(idMesh: string, options?: AxiosRequestConfig): AxiosPromise<any>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApiInterface */ meshTreeIdMeshGet(idMesh: string, options?: AxiosRequestConfig): AxiosPromise<any>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApiInterface */ pubchemLabelIdPubchemGet(idPubchem: number, options?: AxiosRequestConfig): AxiosPromise<any>; } /** * LabelsApi - object-oriented interface * @export * @class LabelsApi * @extends {BaseAPI} */ export declare class LabelsApi extends BaseAPI implements LabelsApiInterface { /** * * @param {string} idChebi idChebi * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApi */ chebiLabelIdChebiGet(idChebi: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>; /** * * @param {string} idChemont idChemont * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApi */ chemontLabelIdChemontGet(idChemont: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApi */ meshLabelIdMeshGet(idMesh: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>; /** * * @param {string} idMesh idMesh * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApi */ meshTreeIdMeshGet(idMesh: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>; /** * * @param {number} idPubchem idPubchem * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LabelsApi */ pubchemLabelIdPubchemGet(idPubchem: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>; }