@gentrace/core
Version:
Core Gentrace Node.JS library
75 lines (74 loc) • 2.53 kB
TypeScript
/**
* Gentrace API
* These API routes are designed to ingest events from clients.
*
* The version of the OpenAPI document: 0.27.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 type { Configuration } from "../configuration";
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from "axios";
import { RequestArgs, BaseAPI } from "../base";
import { V3EvaluationsGet200Response } from "../models";
/**
* V3Api - axios parameter creator
* @export
*/
export declare const V3ApiAxiosParamCreator: (configuration?: Configuration) => {
/**
*
* @summary Get evaluations
* @param {string} resultId The ID of the result to get evaluations for
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
v3EvaluationsGet: (resultId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* V3Api - functional programming interface
* @export
*/
export declare const V3ApiFp: (configuration?: Configuration) => {
/**
*
* @summary Get evaluations
* @param {string} resultId The ID of the result to get evaluations for
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
v3EvaluationsGet(resultId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V3EvaluationsGet200Response>>;
};
/**
* V3Api - factory interface
* @export
*/
export declare const V3ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
*
* @summary Get evaluations
* @param {string} resultId The ID of the result to get evaluations for
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
v3EvaluationsGet(resultId: string, options?: any): AxiosPromise<V3EvaluationsGet200Response>;
};
/**
* V3Api - object-oriented interface
* @export
* @class V3Api
* @extends {BaseAPI}
*/
export declare class V3Api extends BaseAPI {
/**
*
* @summary Get evaluations
* @param {string} resultId The ID of the result to get evaluations for
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof V3Api
*/
v3EvaluationsGet(resultId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V3EvaluationsGet200Response, any>>;
}