/** * KubeBlocks Cloud Internal API * The Internal API is using for interaction of ApeCloud platform microservices. * * The version of the OpenAPI document: 1.0.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, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { Llm } from '../models'; import type { LlmList } from '../models'; /** * LlmApi - axios parameter creator * @export */ export declare const LlmApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the LLM config with plaintext api_key for internal service-to-service callers. * @summary Get LLM by ID with plaintext api_key * @param {string} id ID of the LLM * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLLMWithAPIKey: (id: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns LLM configs with plaintext api_key for internal service-to-service callers. * @summary List LLM with plaintext api_key * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLLMWithAPIKey: (options?: RawAxiosRequestConfig) => Promise; }; /** * LlmApi - functional programming interface * @export */ export declare const LlmApiFp: (configuration?: Configuration) => { /** * Returns the LLM config with plaintext api_key for internal service-to-service callers. * @summary Get LLM by ID with plaintext api_key * @param {string} id ID of the LLM * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLLMWithAPIKey(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns LLM configs with plaintext api_key for internal service-to-service callers. * @summary List LLM with plaintext api_key * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLLMWithAPIKey(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * LlmApi - factory interface * @export */ export declare const LlmApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the LLM config with plaintext api_key for internal service-to-service callers. * @summary Get LLM by ID with plaintext api_key * @param {LlmApiGetLLMWithAPIKeyRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLLMWithAPIKey(requestParameters: LlmApiGetLLMWithAPIKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns LLM configs with plaintext api_key for internal service-to-service callers. * @summary List LLM with plaintext api_key * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLLMWithAPIKey(options?: RawAxiosRequestConfig): AxiosPromise; }; /** * LlmApi - interface * @export * @interface LlmApi */ export interface LlmApiInterface { /** * Returns the LLM config with plaintext api_key for internal service-to-service callers. * @summary Get LLM by ID with plaintext api_key * @param {LlmApiGetLLMWithAPIKeyRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LlmApiInterface */ getLLMWithAPIKey(requestParameters: LlmApiGetLLMWithAPIKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns LLM configs with plaintext api_key for internal service-to-service callers. * @summary List LLM with plaintext api_key * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LlmApiInterface */ listLLMWithAPIKey(options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for getLLMWithAPIKey operation in LlmApi. * @export * @interface LlmApiGetLLMWithAPIKeyRequest */ export interface LlmApiGetLLMWithAPIKeyRequest { /** * ID of the LLM * @type {string} * @memberof LlmApiGetLLMWithAPIKey */ readonly id: string; } /** * LlmApi - object-oriented interface * @export * @class LlmApi * @extends {BaseAPI} */ export declare class LlmApi extends BaseAPI implements LlmApiInterface { /** * Returns the LLM config with plaintext api_key for internal service-to-service callers. * @summary Get LLM by ID with plaintext api_key * @param {LlmApiGetLLMWithAPIKeyRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LlmApi */ getLLMWithAPIKey(requestParameters: LlmApiGetLLMWithAPIKeyRequest, options?: RawAxiosRequestConfig): Promise>; /** * Returns LLM configs with plaintext api_key for internal service-to-service callers. * @summary List LLM with plaintext api_key * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LlmApi */ listLLMWithAPIKey(options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=llm-api.d.ts.map