qovery-typescript-axios 1.1.985 → 1.1.986
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +114 -0
- package/dist/api.d.ts +71 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +71 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -20271,6 +20271,44 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
20271
20271
|
*/
|
|
20272
20272
|
'results'?: Array<TfVarsFileResponse>;
|
|
20273
20273
|
}
|
|
20274
|
+
/**
|
|
20275
|
+
*
|
|
20276
|
+
* @export
|
|
20277
|
+
* @interface LlmProviderModelResponse
|
|
20278
|
+
*/
|
|
20279
|
+
export interface LlmProviderModelResponse {
|
|
20280
|
+
/**
|
|
20281
|
+
* Anthropic model id, or Bedrock inference profile id
|
|
20282
|
+
* @type {string}
|
|
20283
|
+
* @memberof LlmProviderModelResponse
|
|
20284
|
+
*/
|
|
20285
|
+
'id': string;
|
|
20286
|
+
/**
|
|
20287
|
+
*
|
|
20288
|
+
* @type {string}
|
|
20289
|
+
* @memberof LlmProviderModelResponse
|
|
20290
|
+
*/
|
|
20291
|
+
'display_name': string;
|
|
20292
|
+
/**
|
|
20293
|
+
*
|
|
20294
|
+
* @type {string}
|
|
20295
|
+
* @memberof LlmProviderModelResponse
|
|
20296
|
+
*/
|
|
20297
|
+
'created_at'?: string | null;
|
|
20298
|
+
}
|
|
20299
|
+
/**
|
|
20300
|
+
*
|
|
20301
|
+
* @export
|
|
20302
|
+
* @interface LlmProviderModelResponseList
|
|
20303
|
+
*/
|
|
20304
|
+
export interface LlmProviderModelResponseList {
|
|
20305
|
+
/**
|
|
20306
|
+
*
|
|
20307
|
+
* @type {Array<LlmProviderModelResponse>}
|
|
20308
|
+
* @memberof LlmProviderModelResponseList
|
|
20309
|
+
*/
|
|
20310
|
+
'results': Array<LlmProviderModelResponse>;
|
|
20311
|
+
}
|
|
20274
20312
|
/**
|
|
20275
20313
|
*
|
|
20276
20314
|
* @export
|
|
@@ -65786,6 +65824,47 @@ export const LLMProvidersApiAxiosParamCreator = function (configuration?: Config
|
|
|
65786
65824
|
|
|
65787
65825
|
|
|
65788
65826
|
|
|
65827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65828
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65829
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65830
|
+
|
|
65831
|
+
return {
|
|
65832
|
+
url: toPathString(localVarUrlObj),
|
|
65833
|
+
options: localVarRequestOptions,
|
|
65834
|
+
};
|
|
65835
|
+
},
|
|
65836
|
+
/**
|
|
65837
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
65838
|
+
* @summary List the models of an LLM provider
|
|
65839
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65840
|
+
* @param {*} [options] Override http request option.
|
|
65841
|
+
* @throws {RequiredError}
|
|
65842
|
+
*/
|
|
65843
|
+
listLlmProviderModels: async (llmProviderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65844
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
65845
|
+
assertParamExists('listLlmProviderModels', 'llmProviderId', llmProviderId)
|
|
65846
|
+
const localVarPath = `/llmProvider/{llmProviderId}/models`
|
|
65847
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
65848
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65849
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65850
|
+
let baseOptions;
|
|
65851
|
+
if (configuration) {
|
|
65852
|
+
baseOptions = configuration.baseOptions;
|
|
65853
|
+
}
|
|
65854
|
+
|
|
65855
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
65856
|
+
const localVarHeaderParameter = {} as any;
|
|
65857
|
+
const localVarQueryParameter = {} as any;
|
|
65858
|
+
|
|
65859
|
+
// authentication ApiKeyAuth required
|
|
65860
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65861
|
+
|
|
65862
|
+
// authentication bearerAuth required
|
|
65863
|
+
// http bearer authentication required
|
|
65864
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65865
|
+
|
|
65866
|
+
|
|
65867
|
+
|
|
65789
65868
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65790
65869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65791
65870
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -65900,6 +65979,19 @@ export const LLMProvidersApiFp = function(configuration?: Configuration) {
|
|
|
65900
65979
|
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.getLlmProvider']?.[localVarOperationServerIndex]?.url;
|
|
65901
65980
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65902
65981
|
},
|
|
65982
|
+
/**
|
|
65983
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
65984
|
+
* @summary List the models of an LLM provider
|
|
65985
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65986
|
+
* @param {*} [options] Override http request option.
|
|
65987
|
+
* @throws {RequiredError}
|
|
65988
|
+
*/
|
|
65989
|
+
async listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderModelResponseList>> {
|
|
65990
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listLlmProviderModels(llmProviderId, options);
|
|
65991
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65992
|
+
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.listLlmProviderModels']?.[localVarOperationServerIndex]?.url;
|
|
65993
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65994
|
+
},
|
|
65903
65995
|
/**
|
|
65904
65996
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65905
65997
|
* @summary List organization LLM providers
|
|
@@ -65965,6 +66057,16 @@ export const LLMProvidersApiFactory = function (configuration?: Configuration, b
|
|
|
65965
66057
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse> {
|
|
65966
66058
|
return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
65967
66059
|
},
|
|
66060
|
+
/**
|
|
66061
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66062
|
+
* @summary List the models of an LLM provider
|
|
66063
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
66064
|
+
* @param {*} [options] Override http request option.
|
|
66065
|
+
* @throws {RequiredError}
|
|
66066
|
+
*/
|
|
66067
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderModelResponseList> {
|
|
66068
|
+
return localVarFp.listLlmProviderModels(llmProviderId, options).then((request) => request(axios, basePath));
|
|
66069
|
+
},
|
|
65968
66070
|
/**
|
|
65969
66071
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65970
66072
|
* @summary List organization LLM providers
|
|
@@ -66035,6 +66137,18 @@ export class LLMProvidersApi extends BaseAPI {
|
|
|
66035
66137
|
return LLMProvidersApiFp(this.configuration).getLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
66036
66138
|
}
|
|
66037
66139
|
|
|
66140
|
+
/**
|
|
66141
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66142
|
+
* @summary List the models of an LLM provider
|
|
66143
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
66144
|
+
* @param {*} [options] Override http request option.
|
|
66145
|
+
* @throws {RequiredError}
|
|
66146
|
+
* @memberof LLMProvidersApi
|
|
66147
|
+
*/
|
|
66148
|
+
public listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig) {
|
|
66149
|
+
return LLMProvidersApiFp(this.configuration).listLlmProviderModels(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
66150
|
+
}
|
|
66151
|
+
|
|
66038
66152
|
/**
|
|
66039
66153
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
66040
66154
|
* @summary List organization LLM providers
|
package/dist/api.d.ts
CHANGED
|
@@ -19712,6 +19712,44 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
19712
19712
|
*/
|
|
19713
19713
|
'results'?: Array<TfVarsFileResponse>;
|
|
19714
19714
|
}
|
|
19715
|
+
/**
|
|
19716
|
+
*
|
|
19717
|
+
* @export
|
|
19718
|
+
* @interface LlmProviderModelResponse
|
|
19719
|
+
*/
|
|
19720
|
+
export interface LlmProviderModelResponse {
|
|
19721
|
+
/**
|
|
19722
|
+
* Anthropic model id, or Bedrock inference profile id
|
|
19723
|
+
* @type {string}
|
|
19724
|
+
* @memberof LlmProviderModelResponse
|
|
19725
|
+
*/
|
|
19726
|
+
'id': string;
|
|
19727
|
+
/**
|
|
19728
|
+
*
|
|
19729
|
+
* @type {string}
|
|
19730
|
+
* @memberof LlmProviderModelResponse
|
|
19731
|
+
*/
|
|
19732
|
+
'display_name': string;
|
|
19733
|
+
/**
|
|
19734
|
+
*
|
|
19735
|
+
* @type {string}
|
|
19736
|
+
* @memberof LlmProviderModelResponse
|
|
19737
|
+
*/
|
|
19738
|
+
'created_at'?: string | null;
|
|
19739
|
+
}
|
|
19740
|
+
/**
|
|
19741
|
+
*
|
|
19742
|
+
* @export
|
|
19743
|
+
* @interface LlmProviderModelResponseList
|
|
19744
|
+
*/
|
|
19745
|
+
export interface LlmProviderModelResponseList {
|
|
19746
|
+
/**
|
|
19747
|
+
*
|
|
19748
|
+
* @type {Array<LlmProviderModelResponse>}
|
|
19749
|
+
* @memberof LlmProviderModelResponseList
|
|
19750
|
+
*/
|
|
19751
|
+
'results': Array<LlmProviderModelResponse>;
|
|
19752
|
+
}
|
|
19715
19753
|
/**
|
|
19716
19754
|
*
|
|
19717
19755
|
* @export
|
|
@@ -44795,6 +44833,14 @@ export declare const LLMProvidersApiAxiosParamCreator: (configuration?: Configur
|
|
|
44795
44833
|
* @throws {RequiredError}
|
|
44796
44834
|
*/
|
|
44797
44835
|
getLlmProvider: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44836
|
+
/**
|
|
44837
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44838
|
+
* @summary List the models of an LLM provider
|
|
44839
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44840
|
+
* @param {*} [options] Override http request option.
|
|
44841
|
+
* @throws {RequiredError}
|
|
44842
|
+
*/
|
|
44843
|
+
listLlmProviderModels: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44798
44844
|
/**
|
|
44799
44845
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44800
44846
|
* @summary List organization LLM providers
|
|
@@ -44843,6 +44889,14 @@ export declare const LLMProvidersApiFp: (configuration?: Configuration) => {
|
|
|
44843
44889
|
* @throws {RequiredError}
|
|
44844
44890
|
*/
|
|
44845
44891
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>>;
|
|
44892
|
+
/**
|
|
44893
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44894
|
+
* @summary List the models of an LLM provider
|
|
44895
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44896
|
+
* @param {*} [options] Override http request option.
|
|
44897
|
+
* @throws {RequiredError}
|
|
44898
|
+
*/
|
|
44899
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderModelResponseList>>;
|
|
44846
44900
|
/**
|
|
44847
44901
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44848
44902
|
* @summary List organization LLM providers
|
|
@@ -44891,6 +44945,14 @@ export declare const LLMProvidersApiFactory: (configuration?: Configuration, bas
|
|
|
44891
44945
|
* @throws {RequiredError}
|
|
44892
44946
|
*/
|
|
44893
44947
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse>;
|
|
44948
|
+
/**
|
|
44949
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44950
|
+
* @summary List the models of an LLM provider
|
|
44951
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44952
|
+
* @param {*} [options] Override http request option.
|
|
44953
|
+
* @throws {RequiredError}
|
|
44954
|
+
*/
|
|
44955
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderModelResponseList>;
|
|
44894
44956
|
/**
|
|
44895
44957
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44896
44958
|
* @summary List organization LLM providers
|
|
@@ -44945,6 +45007,15 @@ export declare class LLMProvidersApi extends BaseAPI {
|
|
|
44945
45007
|
* @memberof LLMProvidersApi
|
|
44946
45008
|
*/
|
|
44947
45009
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmProviderResponse, any, {}>>;
|
|
45010
|
+
/**
|
|
45011
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45012
|
+
* @summary List the models of an LLM provider
|
|
45013
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
45014
|
+
* @param {*} [options] Override http request option.
|
|
45015
|
+
* @throws {RequiredError}
|
|
45016
|
+
* @memberof LLMProvidersApi
|
|
45017
|
+
*/
|
|
45018
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmProviderModelResponseList, any, {}>>;
|
|
44948
45019
|
/**
|
|
44949
45020
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44950
45021
|
* @summary List organization LLM providers
|
package/dist/api.js
CHANGED
|
@@ -36447,6 +36447,40 @@ const LLMProvidersApiAxiosParamCreator = function (configuration) {
|
|
|
36447
36447
|
options: localVarRequestOptions,
|
|
36448
36448
|
};
|
|
36449
36449
|
}),
|
|
36450
|
+
/**
|
|
36451
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
36452
|
+
* @summary List the models of an LLM provider
|
|
36453
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
36454
|
+
* @param {*} [options] Override http request option.
|
|
36455
|
+
* @throws {RequiredError}
|
|
36456
|
+
*/
|
|
36457
|
+
listLlmProviderModels: (llmProviderId_1, ...args_1) => __awaiter(this, [llmProviderId_1, ...args_1], void 0, function* (llmProviderId, options = {}) {
|
|
36458
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
36459
|
+
(0, common_1.assertParamExists)('listLlmProviderModels', 'llmProviderId', llmProviderId);
|
|
36460
|
+
const localVarPath = `/llmProvider/{llmProviderId}/models`
|
|
36461
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
36462
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36463
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36464
|
+
let baseOptions;
|
|
36465
|
+
if (configuration) {
|
|
36466
|
+
baseOptions = configuration.baseOptions;
|
|
36467
|
+
}
|
|
36468
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
36469
|
+
const localVarHeaderParameter = {};
|
|
36470
|
+
const localVarQueryParameter = {};
|
|
36471
|
+
// authentication ApiKeyAuth required
|
|
36472
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
36473
|
+
// authentication bearerAuth required
|
|
36474
|
+
// http bearer authentication required
|
|
36475
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
36476
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
36477
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36478
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36479
|
+
return {
|
|
36480
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
36481
|
+
options: localVarRequestOptions,
|
|
36482
|
+
};
|
|
36483
|
+
}),
|
|
36450
36484
|
/**
|
|
36451
36485
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
36452
36486
|
* @summary List organization LLM providers
|
|
@@ -36557,6 +36591,22 @@ const LLMProvidersApiFp = function (configuration) {
|
|
|
36557
36591
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36558
36592
|
});
|
|
36559
36593
|
},
|
|
36594
|
+
/**
|
|
36595
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
36596
|
+
* @summary List the models of an LLM provider
|
|
36597
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
36598
|
+
* @param {*} [options] Override http request option.
|
|
36599
|
+
* @throws {RequiredError}
|
|
36600
|
+
*/
|
|
36601
|
+
listLlmProviderModels(llmProviderId, options) {
|
|
36602
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36603
|
+
var _a, _b, _c;
|
|
36604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listLlmProviderModels(llmProviderId, options);
|
|
36605
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36606
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LLMProvidersApi.listLlmProviderModels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36607
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36608
|
+
});
|
|
36609
|
+
},
|
|
36560
36610
|
/**
|
|
36561
36611
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
36562
36612
|
* @summary List organization LLM providers
|
|
@@ -36625,6 +36675,16 @@ const LLMProvidersApiFactory = function (configuration, basePath, axios) {
|
|
|
36625
36675
|
getLlmProvider(llmProviderId, options) {
|
|
36626
36676
|
return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
36627
36677
|
},
|
|
36678
|
+
/**
|
|
36679
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
36680
|
+
* @summary List the models of an LLM provider
|
|
36681
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
36682
|
+
* @param {*} [options] Override http request option.
|
|
36683
|
+
* @throws {RequiredError}
|
|
36684
|
+
*/
|
|
36685
|
+
listLlmProviderModels(llmProviderId, options) {
|
|
36686
|
+
return localVarFp.listLlmProviderModels(llmProviderId, options).then((request) => request(axios, basePath));
|
|
36687
|
+
},
|
|
36628
36688
|
/**
|
|
36629
36689
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
36630
36690
|
* @summary List organization LLM providers
|
|
@@ -36691,6 +36751,17 @@ class LLMProvidersApi extends base_1.BaseAPI {
|
|
|
36691
36751
|
getLlmProvider(llmProviderId, options) {
|
|
36692
36752
|
return (0, exports.LLMProvidersApiFp)(this.configuration).getLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
36693
36753
|
}
|
|
36754
|
+
/**
|
|
36755
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
36756
|
+
* @summary List the models of an LLM provider
|
|
36757
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
36758
|
+
* @param {*} [options] Override http request option.
|
|
36759
|
+
* @throws {RequiredError}
|
|
36760
|
+
* @memberof LLMProvidersApi
|
|
36761
|
+
*/
|
|
36762
|
+
listLlmProviderModels(llmProviderId, options) {
|
|
36763
|
+
return (0, exports.LLMProvidersApiFp)(this.configuration).listLlmProviderModels(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
36764
|
+
}
|
|
36694
36765
|
/**
|
|
36695
36766
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
36696
36767
|
* @summary List organization LLM providers
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -19712,6 +19712,44 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
19712
19712
|
*/
|
|
19713
19713
|
'results'?: Array<TfVarsFileResponse>;
|
|
19714
19714
|
}
|
|
19715
|
+
/**
|
|
19716
|
+
*
|
|
19717
|
+
* @export
|
|
19718
|
+
* @interface LlmProviderModelResponse
|
|
19719
|
+
*/
|
|
19720
|
+
export interface LlmProviderModelResponse {
|
|
19721
|
+
/**
|
|
19722
|
+
* Anthropic model id, or Bedrock inference profile id
|
|
19723
|
+
* @type {string}
|
|
19724
|
+
* @memberof LlmProviderModelResponse
|
|
19725
|
+
*/
|
|
19726
|
+
'id': string;
|
|
19727
|
+
/**
|
|
19728
|
+
*
|
|
19729
|
+
* @type {string}
|
|
19730
|
+
* @memberof LlmProviderModelResponse
|
|
19731
|
+
*/
|
|
19732
|
+
'display_name': string;
|
|
19733
|
+
/**
|
|
19734
|
+
*
|
|
19735
|
+
* @type {string}
|
|
19736
|
+
* @memberof LlmProviderModelResponse
|
|
19737
|
+
*/
|
|
19738
|
+
'created_at'?: string | null;
|
|
19739
|
+
}
|
|
19740
|
+
/**
|
|
19741
|
+
*
|
|
19742
|
+
* @export
|
|
19743
|
+
* @interface LlmProviderModelResponseList
|
|
19744
|
+
*/
|
|
19745
|
+
export interface LlmProviderModelResponseList {
|
|
19746
|
+
/**
|
|
19747
|
+
*
|
|
19748
|
+
* @type {Array<LlmProviderModelResponse>}
|
|
19749
|
+
* @memberof LlmProviderModelResponseList
|
|
19750
|
+
*/
|
|
19751
|
+
'results': Array<LlmProviderModelResponse>;
|
|
19752
|
+
}
|
|
19715
19753
|
/**
|
|
19716
19754
|
*
|
|
19717
19755
|
* @export
|
|
@@ -44795,6 +44833,14 @@ export declare const LLMProvidersApiAxiosParamCreator: (configuration?: Configur
|
|
|
44795
44833
|
* @throws {RequiredError}
|
|
44796
44834
|
*/
|
|
44797
44835
|
getLlmProvider: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44836
|
+
/**
|
|
44837
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44838
|
+
* @summary List the models of an LLM provider
|
|
44839
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44840
|
+
* @param {*} [options] Override http request option.
|
|
44841
|
+
* @throws {RequiredError}
|
|
44842
|
+
*/
|
|
44843
|
+
listLlmProviderModels: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44798
44844
|
/**
|
|
44799
44845
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44800
44846
|
* @summary List organization LLM providers
|
|
@@ -44843,6 +44889,14 @@ export declare const LLMProvidersApiFp: (configuration?: Configuration) => {
|
|
|
44843
44889
|
* @throws {RequiredError}
|
|
44844
44890
|
*/
|
|
44845
44891
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>>;
|
|
44892
|
+
/**
|
|
44893
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44894
|
+
* @summary List the models of an LLM provider
|
|
44895
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44896
|
+
* @param {*} [options] Override http request option.
|
|
44897
|
+
* @throws {RequiredError}
|
|
44898
|
+
*/
|
|
44899
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderModelResponseList>>;
|
|
44846
44900
|
/**
|
|
44847
44901
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44848
44902
|
* @summary List organization LLM providers
|
|
@@ -44891,6 +44945,14 @@ export declare const LLMProvidersApiFactory: (configuration?: Configuration, bas
|
|
|
44891
44945
|
* @throws {RequiredError}
|
|
44892
44946
|
*/
|
|
44893
44947
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse>;
|
|
44948
|
+
/**
|
|
44949
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44950
|
+
* @summary List the models of an LLM provider
|
|
44951
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44952
|
+
* @param {*} [options] Override http request option.
|
|
44953
|
+
* @throws {RequiredError}
|
|
44954
|
+
*/
|
|
44955
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderModelResponseList>;
|
|
44894
44956
|
/**
|
|
44895
44957
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44896
44958
|
* @summary List organization LLM providers
|
|
@@ -44945,6 +45007,15 @@ export declare class LLMProvidersApi extends BaseAPI {
|
|
|
44945
45007
|
* @memberof LLMProvidersApi
|
|
44946
45008
|
*/
|
|
44947
45009
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmProviderResponse, any, {}>>;
|
|
45010
|
+
/**
|
|
45011
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45012
|
+
* @summary List the models of an LLM provider
|
|
45013
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
45014
|
+
* @param {*} [options] Override http request option.
|
|
45015
|
+
* @throws {RequiredError}
|
|
45016
|
+
* @memberof LLMProvidersApi
|
|
45017
|
+
*/
|
|
45018
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmProviderModelResponseList, any, {}>>;
|
|
44948
45019
|
/**
|
|
44949
45020
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44950
45021
|
* @summary List organization LLM providers
|
package/dist/esm/api.js
CHANGED
|
@@ -36148,6 +36148,40 @@ export const LLMProvidersApiAxiosParamCreator = function (configuration) {
|
|
|
36148
36148
|
options: localVarRequestOptions,
|
|
36149
36149
|
};
|
|
36150
36150
|
}),
|
|
36151
|
+
/**
|
|
36152
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
36153
|
+
* @summary List the models of an LLM provider
|
|
36154
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
36155
|
+
* @param {*} [options] Override http request option.
|
|
36156
|
+
* @throws {RequiredError}
|
|
36157
|
+
*/
|
|
36158
|
+
listLlmProviderModels: (llmProviderId_1, ...args_1) => __awaiter(this, [llmProviderId_1, ...args_1], void 0, function* (llmProviderId, options = {}) {
|
|
36159
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
36160
|
+
assertParamExists('listLlmProviderModels', 'llmProviderId', llmProviderId);
|
|
36161
|
+
const localVarPath = `/llmProvider/{llmProviderId}/models`
|
|
36162
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
36163
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36164
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36165
|
+
let baseOptions;
|
|
36166
|
+
if (configuration) {
|
|
36167
|
+
baseOptions = configuration.baseOptions;
|
|
36168
|
+
}
|
|
36169
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
36170
|
+
const localVarHeaderParameter = {};
|
|
36171
|
+
const localVarQueryParameter = {};
|
|
36172
|
+
// authentication ApiKeyAuth required
|
|
36173
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
36174
|
+
// authentication bearerAuth required
|
|
36175
|
+
// http bearer authentication required
|
|
36176
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
36177
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36178
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36179
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36180
|
+
return {
|
|
36181
|
+
url: toPathString(localVarUrlObj),
|
|
36182
|
+
options: localVarRequestOptions,
|
|
36183
|
+
};
|
|
36184
|
+
}),
|
|
36151
36185
|
/**
|
|
36152
36186
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
36153
36187
|
* @summary List organization LLM providers
|
|
@@ -36257,6 +36291,22 @@ export const LLMProvidersApiFp = function (configuration) {
|
|
|
36257
36291
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36258
36292
|
});
|
|
36259
36293
|
},
|
|
36294
|
+
/**
|
|
36295
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
36296
|
+
* @summary List the models of an LLM provider
|
|
36297
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
36298
|
+
* @param {*} [options] Override http request option.
|
|
36299
|
+
* @throws {RequiredError}
|
|
36300
|
+
*/
|
|
36301
|
+
listLlmProviderModels(llmProviderId, options) {
|
|
36302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36303
|
+
var _a, _b, _c;
|
|
36304
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listLlmProviderModels(llmProviderId, options);
|
|
36305
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36306
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LLMProvidersApi.listLlmProviderModels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36307
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36308
|
+
});
|
|
36309
|
+
},
|
|
36260
36310
|
/**
|
|
36261
36311
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
36262
36312
|
* @summary List organization LLM providers
|
|
@@ -36324,6 +36374,16 @@ export const LLMProvidersApiFactory = function (configuration, basePath, axios)
|
|
|
36324
36374
|
getLlmProvider(llmProviderId, options) {
|
|
36325
36375
|
return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
36326
36376
|
},
|
|
36377
|
+
/**
|
|
36378
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
36379
|
+
* @summary List the models of an LLM provider
|
|
36380
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
36381
|
+
* @param {*} [options] Override http request option.
|
|
36382
|
+
* @throws {RequiredError}
|
|
36383
|
+
*/
|
|
36384
|
+
listLlmProviderModels(llmProviderId, options) {
|
|
36385
|
+
return localVarFp.listLlmProviderModels(llmProviderId, options).then((request) => request(axios, basePath));
|
|
36386
|
+
},
|
|
36327
36387
|
/**
|
|
36328
36388
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
36329
36389
|
* @summary List organization LLM providers
|
|
@@ -36389,6 +36449,17 @@ export class LLMProvidersApi extends BaseAPI {
|
|
|
36389
36449
|
getLlmProvider(llmProviderId, options) {
|
|
36390
36450
|
return LLMProvidersApiFp(this.configuration).getLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
36391
36451
|
}
|
|
36452
|
+
/**
|
|
36453
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
36454
|
+
* @summary List the models of an LLM provider
|
|
36455
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
36456
|
+
* @param {*} [options] Override http request option.
|
|
36457
|
+
* @throws {RequiredError}
|
|
36458
|
+
* @memberof LLMProvidersApi
|
|
36459
|
+
*/
|
|
36460
|
+
listLlmProviderModels(llmProviderId, options) {
|
|
36461
|
+
return LLMProvidersApiFp(this.configuration).listLlmProviderModels(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
36462
|
+
}
|
|
36392
36463
|
/**
|
|
36393
36464
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
36394
36465
|
* @summary List organization LLM providers
|