qovery-typescript-axios 1.1.977 → 1.1.978

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 CHANGED
@@ -20058,6 +20058,155 @@ export interface ListTfVarsFilesFromGitRepo200Response {
20058
20058
  */
20059
20059
  'results'?: Array<TfVarsFileResponse>;
20060
20060
  }
20061
+ /**
20062
+ *
20063
+ * @export
20064
+ * @interface LlmProviderRequest
20065
+ */
20066
+ export interface LlmProviderRequest {
20067
+ /**
20068
+ * LLM provider name, unique per scope owner within the organization
20069
+ * @type {string}
20070
+ * @memberof LlmProviderRequest
20071
+ */
20072
+ 'name': string;
20073
+ /**
20074
+ *
20075
+ * @type {string}
20076
+ * @memberof LlmProviderRequest
20077
+ */
20078
+ 'description'?: string;
20079
+ /**
20080
+ *
20081
+ * @type {LlmProviderType}
20082
+ * @memberof LlmProviderRequest
20083
+ */
20084
+ 'type': LlmProviderType;
20085
+ /**
20086
+ * The provider credential. Encrypted at rest and never returned by the API. Blank means unchanged: on create no credential is stored, on edit the stored one is kept. Sending a nonblank value rotates it.
20087
+ * @type {string}
20088
+ * @memberof LlmProviderRequest
20089
+ */
20090
+ 'credential'?: string;
20091
+ /**
20092
+ * Cannot be changed after creation. On create, omitting it means ORGANIZATION, which requires the MANAGE_INFRASTRUCTURE permission; creating a USER provider requires CREATE_PROJECT. On edit, omitting it leaves the provider\'s scope unchanged, and stating a scope that differs from the provider\'s is refused with 400.
20093
+ * @type {LlmProviderScope}
20094
+ * @memberof LlmProviderRequest
20095
+ */
20096
+ 'scope'?: LlmProviderScope;
20097
+ }
20098
+
20099
+
20100
+ /**
20101
+ *
20102
+ * @export
20103
+ * @interface LlmProviderResponse
20104
+ */
20105
+ export interface LlmProviderResponse {
20106
+ /**
20107
+ *
20108
+ * @type {string}
20109
+ * @memberof LlmProviderResponse
20110
+ */
20111
+ 'id': string;
20112
+ /**
20113
+ *
20114
+ * @type {string}
20115
+ * @memberof LlmProviderResponse
20116
+ */
20117
+ 'created_at': string;
20118
+ /**
20119
+ *
20120
+ * @type {string}
20121
+ * @memberof LlmProviderResponse
20122
+ */
20123
+ 'updated_at': string;
20124
+ /**
20125
+ *
20126
+ * @type {string}
20127
+ * @memberof LlmProviderResponse
20128
+ */
20129
+ 'name': string;
20130
+ /**
20131
+ *
20132
+ * @type {string}
20133
+ * @memberof LlmProviderResponse
20134
+ */
20135
+ 'description': string;
20136
+ /**
20137
+ *
20138
+ * @type {LlmProviderType}
20139
+ * @memberof LlmProviderResponse
20140
+ */
20141
+ 'type': LlmProviderType;
20142
+ /**
20143
+ * Whether a credential is stored. The credential itself is never returned.
20144
+ * @type {boolean}
20145
+ * @memberof LlmProviderResponse
20146
+ */
20147
+ 'has_credential': boolean;
20148
+ /**
20149
+ *
20150
+ * @type {LlmProviderScope}
20151
+ * @memberof LlmProviderResponse
20152
+ */
20153
+ 'scope': LlmProviderScope;
20154
+ /**
20155
+ * Identity of the owning member. Null for an ORGANIZATION provider.
20156
+ * @type {string}
20157
+ * @memberof LlmProviderResponse
20158
+ */
20159
+ 'owner_user_sub'?: string | null;
20160
+ /**
20161
+ * Display name of the owning member. Null for an ORGANIZATION provider.
20162
+ * @type {string}
20163
+ * @memberof LlmProviderResponse
20164
+ */
20165
+ 'owner_name'?: string | null;
20166
+ }
20167
+
20168
+
20169
+ /**
20170
+ *
20171
+ * @export
20172
+ * @interface LlmProviderResponseList
20173
+ */
20174
+ export interface LlmProviderResponseList {
20175
+ /**
20176
+ *
20177
+ * @type {Array<LlmProviderResponse>}
20178
+ * @memberof LlmProviderResponseList
20179
+ */
20180
+ 'results': Array<LlmProviderResponse>;
20181
+ }
20182
+ /**
20183
+ * ORGANIZATION: usable by every member who can edit an agentic workflow. USER: personal to the member who created it; only that member can edit it.
20184
+ * @export
20185
+ * @enum {string}
20186
+ */
20187
+
20188
+ export const LlmProviderScope = {
20189
+ ORGANIZATION: 'ORGANIZATION',
20190
+ USER: 'USER'
20191
+ } as const;
20192
+
20193
+ export type LlmProviderScope = typeof LlmProviderScope[keyof typeof LlmProviderScope];
20194
+
20195
+
20196
+ /**
20197
+ * The LLM vendor this provider authenticates against. Matches the type an agentic workflow\'s inline model already uses.
20198
+ * @export
20199
+ * @enum {string}
20200
+ */
20201
+
20202
+ export const LlmProviderType = {
20203
+ CLAUDE: 'CLAUDE',
20204
+ BEDROCK: 'BEDROCK'
20205
+ } as const;
20206
+
20207
+ export type LlmProviderType = typeof LlmProviderType[keyof typeof LlmProviderType];
20208
+
20209
+
20061
20210
  /**
20062
20211
  *
20063
20212
  * @export
@@ -65060,6 +65209,443 @@ export class JobsApi extends BaseAPI {
65060
65209
 
65061
65210
 
65062
65211
 
65212
+ /**
65213
+ * LLMProvidersApi - axios parameter creator
65214
+ * @export
65215
+ */
65216
+ export const LLMProvidersApiAxiosParamCreator = function (configuration?: Configuration) {
65217
+ return {
65218
+ /**
65219
+ * Configure a reusable LLM provider for an organization.
65220
+ * @summary Create an LLM provider
65221
+ * @param {string} organizationId Organization ID
65222
+ * @param {LlmProviderRequest} llmProviderRequest
65223
+ * @param {*} [options] Override http request option.
65224
+ * @throws {RequiredError}
65225
+ */
65226
+ createLlmProvider: async (organizationId: string, llmProviderRequest: LlmProviderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
65227
+ // verify required parameter 'organizationId' is not null or undefined
65228
+ assertParamExists('createLlmProvider', 'organizationId', organizationId)
65229
+ // verify required parameter 'llmProviderRequest' is not null or undefined
65230
+ assertParamExists('createLlmProvider', 'llmProviderRequest', llmProviderRequest)
65231
+ const localVarPath = `/organization/{organizationId}/llmProvider`
65232
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
65233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65235
+ let baseOptions;
65236
+ if (configuration) {
65237
+ baseOptions = configuration.baseOptions;
65238
+ }
65239
+
65240
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
65241
+ const localVarHeaderParameter = {} as any;
65242
+ const localVarQueryParameter = {} as any;
65243
+
65244
+ // authentication ApiKeyAuth required
65245
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
65246
+
65247
+ // authentication bearerAuth required
65248
+ // http bearer authentication required
65249
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
65250
+
65251
+
65252
+
65253
+ localVarHeaderParameter['Content-Type'] = 'application/json';
65254
+
65255
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
65256
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65257
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65258
+ localVarRequestOptions.data = serializeDataIfNeeded(llmProviderRequest, localVarRequestOptions, configuration)
65259
+
65260
+ return {
65261
+ url: toPathString(localVarUrlObj),
65262
+ options: localVarRequestOptions,
65263
+ };
65264
+ },
65265
+ /**
65266
+ * Delete an LLM provider.
65267
+ * @summary Delete an LLM provider
65268
+ * @param {string} llmProviderId LLM Provider ID
65269
+ * @param {*} [options] Override http request option.
65270
+ * @throws {RequiredError}
65271
+ */
65272
+ deleteLlmProvider: async (llmProviderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
65273
+ // verify required parameter 'llmProviderId' is not null or undefined
65274
+ assertParamExists('deleteLlmProvider', 'llmProviderId', llmProviderId)
65275
+ const localVarPath = `/llmProvider/{llmProviderId}`
65276
+ .replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
65277
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65278
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65279
+ let baseOptions;
65280
+ if (configuration) {
65281
+ baseOptions = configuration.baseOptions;
65282
+ }
65283
+
65284
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
65285
+ const localVarHeaderParameter = {} as any;
65286
+ const localVarQueryParameter = {} as any;
65287
+
65288
+ // authentication ApiKeyAuth required
65289
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
65290
+
65291
+ // authentication bearerAuth required
65292
+ // http bearer authentication required
65293
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
65294
+
65295
+
65296
+
65297
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
65298
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65299
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65300
+
65301
+ return {
65302
+ url: toPathString(localVarUrlObj),
65303
+ options: localVarRequestOptions,
65304
+ };
65305
+ },
65306
+ /**
65307
+ * Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
65308
+ * @summary Edit an LLM provider
65309
+ * @param {string} llmProviderId LLM Provider ID
65310
+ * @param {LlmProviderRequest} llmProviderRequest
65311
+ * @param {*} [options] Override http request option.
65312
+ * @throws {RequiredError}
65313
+ */
65314
+ editLlmProvider: async (llmProviderId: string, llmProviderRequest: LlmProviderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
65315
+ // verify required parameter 'llmProviderId' is not null or undefined
65316
+ assertParamExists('editLlmProvider', 'llmProviderId', llmProviderId)
65317
+ // verify required parameter 'llmProviderRequest' is not null or undefined
65318
+ assertParamExists('editLlmProvider', 'llmProviderRequest', llmProviderRequest)
65319
+ const localVarPath = `/llmProvider/{llmProviderId}`
65320
+ .replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
65321
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65322
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65323
+ let baseOptions;
65324
+ if (configuration) {
65325
+ baseOptions = configuration.baseOptions;
65326
+ }
65327
+
65328
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
65329
+ const localVarHeaderParameter = {} as any;
65330
+ const localVarQueryParameter = {} as any;
65331
+
65332
+ // authentication ApiKeyAuth required
65333
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
65334
+
65335
+ // authentication bearerAuth required
65336
+ // http bearer authentication required
65337
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
65338
+
65339
+
65340
+
65341
+ localVarHeaderParameter['Content-Type'] = 'application/json';
65342
+
65343
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
65344
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65345
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65346
+ localVarRequestOptions.data = serializeDataIfNeeded(llmProviderRequest, localVarRequestOptions, configuration)
65347
+
65348
+ return {
65349
+ url: toPathString(localVarUrlObj),
65350
+ options: localVarRequestOptions,
65351
+ };
65352
+ },
65353
+ /**
65354
+ * Get an LLM provider. The credential is never returned.
65355
+ * @summary Get an LLM provider
65356
+ * @param {string} llmProviderId LLM Provider ID
65357
+ * @param {*} [options] Override http request option.
65358
+ * @throws {RequiredError}
65359
+ */
65360
+ getLlmProvider: async (llmProviderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
65361
+ // verify required parameter 'llmProviderId' is not null or undefined
65362
+ assertParamExists('getLlmProvider', 'llmProviderId', llmProviderId)
65363
+ const localVarPath = `/llmProvider/{llmProviderId}`
65364
+ .replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
65365
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65366
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65367
+ let baseOptions;
65368
+ if (configuration) {
65369
+ baseOptions = configuration.baseOptions;
65370
+ }
65371
+
65372
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
65373
+ const localVarHeaderParameter = {} as any;
65374
+ const localVarQueryParameter = {} as any;
65375
+
65376
+ // authentication ApiKeyAuth required
65377
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
65378
+
65379
+ // authentication bearerAuth required
65380
+ // http bearer authentication required
65381
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
65382
+
65383
+
65384
+
65385
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
65386
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65387
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65388
+
65389
+ return {
65390
+ url: toPathString(localVarUrlObj),
65391
+ options: localVarRequestOptions,
65392
+ };
65393
+ },
65394
+ /**
65395
+ * List the LLM providers configured for an organization. Credentials are never returned.
65396
+ * @summary List organization LLM providers
65397
+ * @param {string} organizationId Organization ID
65398
+ * @param {*} [options] Override http request option.
65399
+ * @throws {RequiredError}
65400
+ */
65401
+ listLlmProviders: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
65402
+ // verify required parameter 'organizationId' is not null or undefined
65403
+ assertParamExists('listLlmProviders', 'organizationId', organizationId)
65404
+ const localVarPath = `/organization/{organizationId}/llmProvider`
65405
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
65406
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65407
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65408
+ let baseOptions;
65409
+ if (configuration) {
65410
+ baseOptions = configuration.baseOptions;
65411
+ }
65412
+
65413
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
65414
+ const localVarHeaderParameter = {} as any;
65415
+ const localVarQueryParameter = {} as any;
65416
+
65417
+ // authentication ApiKeyAuth required
65418
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
65419
+
65420
+ // authentication bearerAuth required
65421
+ // http bearer authentication required
65422
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
65423
+
65424
+
65425
+
65426
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
65427
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65428
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65429
+
65430
+ return {
65431
+ url: toPathString(localVarUrlObj),
65432
+ options: localVarRequestOptions,
65433
+ };
65434
+ },
65435
+ }
65436
+ };
65437
+
65438
+ /**
65439
+ * LLMProvidersApi - functional programming interface
65440
+ * @export
65441
+ */
65442
+ export const LLMProvidersApiFp = function(configuration?: Configuration) {
65443
+ const localVarAxiosParamCreator = LLMProvidersApiAxiosParamCreator(configuration)
65444
+ return {
65445
+ /**
65446
+ * Configure a reusable LLM provider for an organization.
65447
+ * @summary Create an LLM provider
65448
+ * @param {string} organizationId Organization ID
65449
+ * @param {LlmProviderRequest} llmProviderRequest
65450
+ * @param {*} [options] Override http request option.
65451
+ * @throws {RequiredError}
65452
+ */
65453
+ async createLlmProvider(organizationId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>> {
65454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createLlmProvider(organizationId, llmProviderRequest, options);
65455
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
65456
+ const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.createLlmProvider']?.[localVarOperationServerIndex]?.url;
65457
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65458
+ },
65459
+ /**
65460
+ * Delete an LLM provider.
65461
+ * @summary Delete an LLM provider
65462
+ * @param {string} llmProviderId LLM Provider ID
65463
+ * @param {*} [options] Override http request option.
65464
+ * @throws {RequiredError}
65465
+ */
65466
+ async deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
65467
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLlmProvider(llmProviderId, options);
65468
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
65469
+ const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.deleteLlmProvider']?.[localVarOperationServerIndex]?.url;
65470
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65471
+ },
65472
+ /**
65473
+ * Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
65474
+ * @summary Edit an LLM provider
65475
+ * @param {string} llmProviderId LLM Provider ID
65476
+ * @param {LlmProviderRequest} llmProviderRequest
65477
+ * @param {*} [options] Override http request option.
65478
+ * @throws {RequiredError}
65479
+ */
65480
+ async editLlmProvider(llmProviderId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>> {
65481
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editLlmProvider(llmProviderId, llmProviderRequest, options);
65482
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
65483
+ const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.editLlmProvider']?.[localVarOperationServerIndex]?.url;
65484
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65485
+ },
65486
+ /**
65487
+ * Get an LLM provider. The credential is never returned.
65488
+ * @summary Get an LLM provider
65489
+ * @param {string} llmProviderId LLM Provider ID
65490
+ * @param {*} [options] Override http request option.
65491
+ * @throws {RequiredError}
65492
+ */
65493
+ async getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>> {
65494
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmProvider(llmProviderId, options);
65495
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
65496
+ const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.getLlmProvider']?.[localVarOperationServerIndex]?.url;
65497
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65498
+ },
65499
+ /**
65500
+ * List the LLM providers configured for an organization. Credentials are never returned.
65501
+ * @summary List organization LLM providers
65502
+ * @param {string} organizationId Organization ID
65503
+ * @param {*} [options] Override http request option.
65504
+ * @throws {RequiredError}
65505
+ */
65506
+ async listLlmProviders(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponseList>> {
65507
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listLlmProviders(organizationId, options);
65508
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
65509
+ const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.listLlmProviders']?.[localVarOperationServerIndex]?.url;
65510
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65511
+ },
65512
+ }
65513
+ };
65514
+
65515
+ /**
65516
+ * LLMProvidersApi - factory interface
65517
+ * @export
65518
+ */
65519
+ export const LLMProvidersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
65520
+ const localVarFp = LLMProvidersApiFp(configuration)
65521
+ return {
65522
+ /**
65523
+ * Configure a reusable LLM provider for an organization.
65524
+ * @summary Create an LLM provider
65525
+ * @param {string} organizationId Organization ID
65526
+ * @param {LlmProviderRequest} llmProviderRequest
65527
+ * @param {*} [options] Override http request option.
65528
+ * @throws {RequiredError}
65529
+ */
65530
+ createLlmProvider(organizationId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse> {
65531
+ return localVarFp.createLlmProvider(organizationId, llmProviderRequest, options).then((request) => request(axios, basePath));
65532
+ },
65533
+ /**
65534
+ * Delete an LLM provider.
65535
+ * @summary Delete an LLM provider
65536
+ * @param {string} llmProviderId LLM Provider ID
65537
+ * @param {*} [options] Override http request option.
65538
+ * @throws {RequiredError}
65539
+ */
65540
+ deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
65541
+ return localVarFp.deleteLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
65542
+ },
65543
+ /**
65544
+ * Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
65545
+ * @summary Edit an LLM provider
65546
+ * @param {string} llmProviderId LLM Provider ID
65547
+ * @param {LlmProviderRequest} llmProviderRequest
65548
+ * @param {*} [options] Override http request option.
65549
+ * @throws {RequiredError}
65550
+ */
65551
+ editLlmProvider(llmProviderId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse> {
65552
+ return localVarFp.editLlmProvider(llmProviderId, llmProviderRequest, options).then((request) => request(axios, basePath));
65553
+ },
65554
+ /**
65555
+ * Get an LLM provider. The credential is never returned.
65556
+ * @summary Get an LLM provider
65557
+ * @param {string} llmProviderId LLM Provider ID
65558
+ * @param {*} [options] Override http request option.
65559
+ * @throws {RequiredError}
65560
+ */
65561
+ getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse> {
65562
+ return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
65563
+ },
65564
+ /**
65565
+ * List the LLM providers configured for an organization. Credentials are never returned.
65566
+ * @summary List organization LLM providers
65567
+ * @param {string} organizationId Organization ID
65568
+ * @param {*} [options] Override http request option.
65569
+ * @throws {RequiredError}
65570
+ */
65571
+ listLlmProviders(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponseList> {
65572
+ return localVarFp.listLlmProviders(organizationId, options).then((request) => request(axios, basePath));
65573
+ },
65574
+ };
65575
+ };
65576
+
65577
+ /**
65578
+ * LLMProvidersApi - object-oriented interface
65579
+ * @export
65580
+ * @class LLMProvidersApi
65581
+ * @extends {BaseAPI}
65582
+ */
65583
+ export class LLMProvidersApi extends BaseAPI {
65584
+ /**
65585
+ * Configure a reusable LLM provider for an organization.
65586
+ * @summary Create an LLM provider
65587
+ * @param {string} organizationId Organization ID
65588
+ * @param {LlmProviderRequest} llmProviderRequest
65589
+ * @param {*} [options] Override http request option.
65590
+ * @throws {RequiredError}
65591
+ * @memberof LLMProvidersApi
65592
+ */
65593
+ public createLlmProvider(organizationId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig) {
65594
+ return LLMProvidersApiFp(this.configuration).createLlmProvider(organizationId, llmProviderRequest, options).then((request) => request(this.axios, this.basePath));
65595
+ }
65596
+
65597
+ /**
65598
+ * Delete an LLM provider.
65599
+ * @summary Delete an LLM provider
65600
+ * @param {string} llmProviderId LLM Provider ID
65601
+ * @param {*} [options] Override http request option.
65602
+ * @throws {RequiredError}
65603
+ * @memberof LLMProvidersApi
65604
+ */
65605
+ public deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig) {
65606
+ return LLMProvidersApiFp(this.configuration).deleteLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
65607
+ }
65608
+
65609
+ /**
65610
+ * Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
65611
+ * @summary Edit an LLM provider
65612
+ * @param {string} llmProviderId LLM Provider ID
65613
+ * @param {LlmProviderRequest} llmProviderRequest
65614
+ * @param {*} [options] Override http request option.
65615
+ * @throws {RequiredError}
65616
+ * @memberof LLMProvidersApi
65617
+ */
65618
+ public editLlmProvider(llmProviderId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig) {
65619
+ return LLMProvidersApiFp(this.configuration).editLlmProvider(llmProviderId, llmProviderRequest, options).then((request) => request(this.axios, this.basePath));
65620
+ }
65621
+
65622
+ /**
65623
+ * Get an LLM provider. The credential is never returned.
65624
+ * @summary Get an LLM provider
65625
+ * @param {string} llmProviderId LLM Provider ID
65626
+ * @param {*} [options] Override http request option.
65627
+ * @throws {RequiredError}
65628
+ * @memberof LLMProvidersApi
65629
+ */
65630
+ public getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig) {
65631
+ return LLMProvidersApiFp(this.configuration).getLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
65632
+ }
65633
+
65634
+ /**
65635
+ * List the LLM providers configured for an organization. Credentials are never returned.
65636
+ * @summary List organization LLM providers
65637
+ * @param {string} organizationId Organization ID
65638
+ * @param {*} [options] Override http request option.
65639
+ * @throws {RequiredError}
65640
+ * @memberof LLMProvidersApi
65641
+ */
65642
+ public listLlmProviders(organizationId: string, options?: RawAxiosRequestConfig) {
65643
+ return LLMProvidersApiFp(this.configuration).listLlmProviders(organizationId, options).then((request) => request(this.axios, this.basePath));
65644
+ }
65645
+ }
65646
+
65647
+
65648
+
65063
65649
  /**
65064
65650
  * LifecycleTemplateMainCallsApi - axios parameter creator
65065
65651
  * @export