qovery-typescript-axios 1.1.943 → 1.1.945
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 +542 -0
- package/dist/api.d.ts +306 -0
- package/dist/api.js +412 -3
- package/dist/esm/api.d.ts +306 -0
- package/dist/esm/api.js +405 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -12172,6 +12172,12 @@ export interface DeploymentStageWithServicesStatuses {
|
|
|
12172
12172
|
* @memberof DeploymentStageWithServicesStatuses
|
|
12173
12173
|
*/
|
|
12174
12174
|
'terraforms'?: Array<Status>;
|
|
12175
|
+
/**
|
|
12176
|
+
*
|
|
12177
|
+
* @type {Array<Status>}
|
|
12178
|
+
* @memberof DeploymentStageWithServicesStatuses
|
|
12179
|
+
*/
|
|
12180
|
+
'agentic_workflows'?: Array<Status>;
|
|
12175
12181
|
/**
|
|
12176
12182
|
*
|
|
12177
12183
|
* @type {Stage}
|
|
@@ -13733,6 +13739,12 @@ export interface EnvironmentStatuses {
|
|
|
13733
13739
|
* @memberof EnvironmentStatuses
|
|
13734
13740
|
*/
|
|
13735
13741
|
'terraforms': Array<Status>;
|
|
13742
|
+
/**
|
|
13743
|
+
*
|
|
13744
|
+
* @type {Array<Status>}
|
|
13745
|
+
* @memberof EnvironmentStatuses
|
|
13746
|
+
*/
|
|
13747
|
+
'agentic_workflows'?: Array<Status>;
|
|
13736
13748
|
}
|
|
13737
13749
|
/**
|
|
13738
13750
|
*
|
|
@@ -19308,6 +19320,99 @@ export interface ManagedDatabaseTypeResponseList {
|
|
|
19308
19320
|
*/
|
|
19309
19321
|
'results'?: Array<ManagedDatabaseTypeResponse>;
|
|
19310
19322
|
}
|
|
19323
|
+
/**
|
|
19324
|
+
*
|
|
19325
|
+
* @export
|
|
19326
|
+
* @interface McpServerRequest
|
|
19327
|
+
*/
|
|
19328
|
+
export interface McpServerRequest {
|
|
19329
|
+
/**
|
|
19330
|
+
* Unique MCP server name within the organization
|
|
19331
|
+
* @type {string}
|
|
19332
|
+
* @memberof McpServerRequest
|
|
19333
|
+
*/
|
|
19334
|
+
'name': string;
|
|
19335
|
+
/**
|
|
19336
|
+
*
|
|
19337
|
+
* @type {string}
|
|
19338
|
+
* @memberof McpServerRequest
|
|
19339
|
+
*/
|
|
19340
|
+
'description'?: string;
|
|
19341
|
+
/**
|
|
19342
|
+
* HTTPS URL of the remote MCP server
|
|
19343
|
+
* @type {string}
|
|
19344
|
+
* @memberof McpServerRequest
|
|
19345
|
+
*/
|
|
19346
|
+
'url': string;
|
|
19347
|
+
/**
|
|
19348
|
+
* HTTP headers sent to the MCP server. Header values are encrypted and never returned by the API.
|
|
19349
|
+
* @type {{ [key: string]: string; }}
|
|
19350
|
+
* @memberof McpServerRequest
|
|
19351
|
+
*/
|
|
19352
|
+
'headers'?: { [key: string]: string; };
|
|
19353
|
+
}
|
|
19354
|
+
/**
|
|
19355
|
+
*
|
|
19356
|
+
* @export
|
|
19357
|
+
* @interface McpServerResponse
|
|
19358
|
+
*/
|
|
19359
|
+
export interface McpServerResponse {
|
|
19360
|
+
/**
|
|
19361
|
+
*
|
|
19362
|
+
* @type {string}
|
|
19363
|
+
* @memberof McpServerResponse
|
|
19364
|
+
*/
|
|
19365
|
+
'id': string;
|
|
19366
|
+
/**
|
|
19367
|
+
*
|
|
19368
|
+
* @type {string}
|
|
19369
|
+
* @memberof McpServerResponse
|
|
19370
|
+
*/
|
|
19371
|
+
'created_at': string;
|
|
19372
|
+
/**
|
|
19373
|
+
*
|
|
19374
|
+
* @type {string}
|
|
19375
|
+
* @memberof McpServerResponse
|
|
19376
|
+
*/
|
|
19377
|
+
'updated_at': string;
|
|
19378
|
+
/**
|
|
19379
|
+
*
|
|
19380
|
+
* @type {string}
|
|
19381
|
+
* @memberof McpServerResponse
|
|
19382
|
+
*/
|
|
19383
|
+
'name': string;
|
|
19384
|
+
/**
|
|
19385
|
+
*
|
|
19386
|
+
* @type {string}
|
|
19387
|
+
* @memberof McpServerResponse
|
|
19388
|
+
*/
|
|
19389
|
+
'description': string;
|
|
19390
|
+
/**
|
|
19391
|
+
* HTTPS URL of the remote MCP server
|
|
19392
|
+
* @type {string}
|
|
19393
|
+
* @memberof McpServerResponse
|
|
19394
|
+
*/
|
|
19395
|
+
'url': string;
|
|
19396
|
+
/**
|
|
19397
|
+
* Names of the configured HTTP headers. Header values are never returned.
|
|
19398
|
+
* @type {Set<string>}
|
|
19399
|
+
* @memberof McpServerResponse
|
|
19400
|
+
*/
|
|
19401
|
+
'header_names': Set<string>;
|
|
19402
|
+
}
|
|
19403
|
+
/**
|
|
19404
|
+
*
|
|
19405
|
+
* @export
|
|
19406
|
+
* @interface McpServerResponseList
|
|
19407
|
+
*/
|
|
19408
|
+
export interface McpServerResponseList {
|
|
19409
|
+
/**
|
|
19410
|
+
*
|
|
19411
|
+
* @type {Array<McpServerResponse>}
|
|
19412
|
+
* @memberof McpServerResponseList
|
|
19413
|
+
*/
|
|
19414
|
+
'results': Array<McpServerResponse>;
|
|
19415
|
+
}
|
|
19311
19416
|
/**
|
|
19312
19417
|
*
|
|
19313
19418
|
* @export
|
|
@@ -62993,6 +63098,443 @@ export class LifecycleTemplateMainCallsApi extends BaseAPI {
|
|
|
62993
63098
|
|
|
62994
63099
|
|
|
62995
63100
|
|
|
63101
|
+
/**
|
|
63102
|
+
* MCPServersApi - axios parameter creator
|
|
63103
|
+
* @export
|
|
63104
|
+
*/
|
|
63105
|
+
export const MCPServersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
63106
|
+
return {
|
|
63107
|
+
/**
|
|
63108
|
+
* Configure a remote HTTPS MCP server for an organization.
|
|
63109
|
+
* @summary Create an MCP server
|
|
63110
|
+
* @param {string} organizationId Organization ID
|
|
63111
|
+
* @param {McpServerRequest} mcpServerRequest
|
|
63112
|
+
* @param {*} [options] Override http request option.
|
|
63113
|
+
* @throws {RequiredError}
|
|
63114
|
+
*/
|
|
63115
|
+
createMcpServer: async (organizationId: string, mcpServerRequest: McpServerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63116
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
63117
|
+
assertParamExists('createMcpServer', 'organizationId', organizationId)
|
|
63118
|
+
// verify required parameter 'mcpServerRequest' is not null or undefined
|
|
63119
|
+
assertParamExists('createMcpServer', 'mcpServerRequest', mcpServerRequest)
|
|
63120
|
+
const localVarPath = `/organization/{organizationId}/mcpServer`
|
|
63121
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
63122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63123
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63124
|
+
let baseOptions;
|
|
63125
|
+
if (configuration) {
|
|
63126
|
+
baseOptions = configuration.baseOptions;
|
|
63127
|
+
}
|
|
63128
|
+
|
|
63129
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63130
|
+
const localVarHeaderParameter = {} as any;
|
|
63131
|
+
const localVarQueryParameter = {} as any;
|
|
63132
|
+
|
|
63133
|
+
// authentication ApiKeyAuth required
|
|
63134
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
63135
|
+
|
|
63136
|
+
// authentication bearerAuth required
|
|
63137
|
+
// http bearer authentication required
|
|
63138
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63139
|
+
|
|
63140
|
+
|
|
63141
|
+
|
|
63142
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
63143
|
+
|
|
63144
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63146
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63147
|
+
localVarRequestOptions.data = serializeDataIfNeeded(mcpServerRequest, localVarRequestOptions, configuration)
|
|
63148
|
+
|
|
63149
|
+
return {
|
|
63150
|
+
url: toPathString(localVarUrlObj),
|
|
63151
|
+
options: localVarRequestOptions,
|
|
63152
|
+
};
|
|
63153
|
+
},
|
|
63154
|
+
/**
|
|
63155
|
+
* Delete a remote MCP server configuration.
|
|
63156
|
+
* @summary Delete an MCP server
|
|
63157
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63158
|
+
* @param {*} [options] Override http request option.
|
|
63159
|
+
* @throws {RequiredError}
|
|
63160
|
+
*/
|
|
63161
|
+
deleteMcpServer: async (mcpServerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63162
|
+
// verify required parameter 'mcpServerId' is not null or undefined
|
|
63163
|
+
assertParamExists('deleteMcpServer', 'mcpServerId', mcpServerId)
|
|
63164
|
+
const localVarPath = `/mcpServer/{mcpServerId}`
|
|
63165
|
+
.replace(`{${"mcpServerId"}}`, encodeURIComponent(String(mcpServerId)));
|
|
63166
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63167
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63168
|
+
let baseOptions;
|
|
63169
|
+
if (configuration) {
|
|
63170
|
+
baseOptions = configuration.baseOptions;
|
|
63171
|
+
}
|
|
63172
|
+
|
|
63173
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
63174
|
+
const localVarHeaderParameter = {} as any;
|
|
63175
|
+
const localVarQueryParameter = {} as any;
|
|
63176
|
+
|
|
63177
|
+
// authentication ApiKeyAuth required
|
|
63178
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
63179
|
+
|
|
63180
|
+
// authentication bearerAuth required
|
|
63181
|
+
// http bearer authentication required
|
|
63182
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63183
|
+
|
|
63184
|
+
|
|
63185
|
+
|
|
63186
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63187
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63188
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63189
|
+
|
|
63190
|
+
return {
|
|
63191
|
+
url: toPathString(localVarUrlObj),
|
|
63192
|
+
options: localVarRequestOptions,
|
|
63193
|
+
};
|
|
63194
|
+
},
|
|
63195
|
+
/**
|
|
63196
|
+
* Replace a remote MCP server configuration, including all configured headers.
|
|
63197
|
+
* @summary Edit an MCP server
|
|
63198
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63199
|
+
* @param {McpServerRequest} mcpServerRequest
|
|
63200
|
+
* @param {*} [options] Override http request option.
|
|
63201
|
+
* @throws {RequiredError}
|
|
63202
|
+
*/
|
|
63203
|
+
editMcpServer: async (mcpServerId: string, mcpServerRequest: McpServerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63204
|
+
// verify required parameter 'mcpServerId' is not null or undefined
|
|
63205
|
+
assertParamExists('editMcpServer', 'mcpServerId', mcpServerId)
|
|
63206
|
+
// verify required parameter 'mcpServerRequest' is not null or undefined
|
|
63207
|
+
assertParamExists('editMcpServer', 'mcpServerRequest', mcpServerRequest)
|
|
63208
|
+
const localVarPath = `/mcpServer/{mcpServerId}`
|
|
63209
|
+
.replace(`{${"mcpServerId"}}`, encodeURIComponent(String(mcpServerId)));
|
|
63210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63212
|
+
let baseOptions;
|
|
63213
|
+
if (configuration) {
|
|
63214
|
+
baseOptions = configuration.baseOptions;
|
|
63215
|
+
}
|
|
63216
|
+
|
|
63217
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
63218
|
+
const localVarHeaderParameter = {} as any;
|
|
63219
|
+
const localVarQueryParameter = {} as any;
|
|
63220
|
+
|
|
63221
|
+
// authentication ApiKeyAuth required
|
|
63222
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
63223
|
+
|
|
63224
|
+
// authentication bearerAuth required
|
|
63225
|
+
// http bearer authentication required
|
|
63226
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63227
|
+
|
|
63228
|
+
|
|
63229
|
+
|
|
63230
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
63231
|
+
|
|
63232
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63233
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63234
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63235
|
+
localVarRequestOptions.data = serializeDataIfNeeded(mcpServerRequest, localVarRequestOptions, configuration)
|
|
63236
|
+
|
|
63237
|
+
return {
|
|
63238
|
+
url: toPathString(localVarUrlObj),
|
|
63239
|
+
options: localVarRequestOptions,
|
|
63240
|
+
};
|
|
63241
|
+
},
|
|
63242
|
+
/**
|
|
63243
|
+
* Get a remote MCP server configuration. Header values are never returned.
|
|
63244
|
+
* @summary Get an MCP server
|
|
63245
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63246
|
+
* @param {*} [options] Override http request option.
|
|
63247
|
+
* @throws {RequiredError}
|
|
63248
|
+
*/
|
|
63249
|
+
getMcpServer: async (mcpServerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63250
|
+
// verify required parameter 'mcpServerId' is not null or undefined
|
|
63251
|
+
assertParamExists('getMcpServer', 'mcpServerId', mcpServerId)
|
|
63252
|
+
const localVarPath = `/mcpServer/{mcpServerId}`
|
|
63253
|
+
.replace(`{${"mcpServerId"}}`, encodeURIComponent(String(mcpServerId)));
|
|
63254
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63255
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63256
|
+
let baseOptions;
|
|
63257
|
+
if (configuration) {
|
|
63258
|
+
baseOptions = configuration.baseOptions;
|
|
63259
|
+
}
|
|
63260
|
+
|
|
63261
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
63262
|
+
const localVarHeaderParameter = {} as any;
|
|
63263
|
+
const localVarQueryParameter = {} as any;
|
|
63264
|
+
|
|
63265
|
+
// authentication ApiKeyAuth required
|
|
63266
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
63267
|
+
|
|
63268
|
+
// authentication bearerAuth required
|
|
63269
|
+
// http bearer authentication required
|
|
63270
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63271
|
+
|
|
63272
|
+
|
|
63273
|
+
|
|
63274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63275
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63276
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63277
|
+
|
|
63278
|
+
return {
|
|
63279
|
+
url: toPathString(localVarUrlObj),
|
|
63280
|
+
options: localVarRequestOptions,
|
|
63281
|
+
};
|
|
63282
|
+
},
|
|
63283
|
+
/**
|
|
63284
|
+
* List the remote MCP servers configured for an organization. Header values are never returned.
|
|
63285
|
+
* @summary List organization MCP servers
|
|
63286
|
+
* @param {string} organizationId Organization ID
|
|
63287
|
+
* @param {*} [options] Override http request option.
|
|
63288
|
+
* @throws {RequiredError}
|
|
63289
|
+
*/
|
|
63290
|
+
listMcpServers: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63291
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
63292
|
+
assertParamExists('listMcpServers', 'organizationId', organizationId)
|
|
63293
|
+
const localVarPath = `/organization/{organizationId}/mcpServer`
|
|
63294
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
63295
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63296
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63297
|
+
let baseOptions;
|
|
63298
|
+
if (configuration) {
|
|
63299
|
+
baseOptions = configuration.baseOptions;
|
|
63300
|
+
}
|
|
63301
|
+
|
|
63302
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
63303
|
+
const localVarHeaderParameter = {} as any;
|
|
63304
|
+
const localVarQueryParameter = {} as any;
|
|
63305
|
+
|
|
63306
|
+
// authentication ApiKeyAuth required
|
|
63307
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
63308
|
+
|
|
63309
|
+
// authentication bearerAuth required
|
|
63310
|
+
// http bearer authentication required
|
|
63311
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63312
|
+
|
|
63313
|
+
|
|
63314
|
+
|
|
63315
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63316
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63317
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63318
|
+
|
|
63319
|
+
return {
|
|
63320
|
+
url: toPathString(localVarUrlObj),
|
|
63321
|
+
options: localVarRequestOptions,
|
|
63322
|
+
};
|
|
63323
|
+
},
|
|
63324
|
+
}
|
|
63325
|
+
};
|
|
63326
|
+
|
|
63327
|
+
/**
|
|
63328
|
+
* MCPServersApi - functional programming interface
|
|
63329
|
+
* @export
|
|
63330
|
+
*/
|
|
63331
|
+
export const MCPServersApiFp = function(configuration?: Configuration) {
|
|
63332
|
+
const localVarAxiosParamCreator = MCPServersApiAxiosParamCreator(configuration)
|
|
63333
|
+
return {
|
|
63334
|
+
/**
|
|
63335
|
+
* Configure a remote HTTPS MCP server for an organization.
|
|
63336
|
+
* @summary Create an MCP server
|
|
63337
|
+
* @param {string} organizationId Organization ID
|
|
63338
|
+
* @param {McpServerRequest} mcpServerRequest
|
|
63339
|
+
* @param {*} [options] Override http request option.
|
|
63340
|
+
* @throws {RequiredError}
|
|
63341
|
+
*/
|
|
63342
|
+
async createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>> {
|
|
63343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMcpServer(organizationId, mcpServerRequest, options);
|
|
63344
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63345
|
+
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.createMcpServer']?.[localVarOperationServerIndex]?.url;
|
|
63346
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63347
|
+
},
|
|
63348
|
+
/**
|
|
63349
|
+
* Delete a remote MCP server configuration.
|
|
63350
|
+
* @summary Delete an MCP server
|
|
63351
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63352
|
+
* @param {*} [options] Override http request option.
|
|
63353
|
+
* @throws {RequiredError}
|
|
63354
|
+
*/
|
|
63355
|
+
async deleteMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
63356
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMcpServer(mcpServerId, options);
|
|
63357
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63358
|
+
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.deleteMcpServer']?.[localVarOperationServerIndex]?.url;
|
|
63359
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63360
|
+
},
|
|
63361
|
+
/**
|
|
63362
|
+
* Replace a remote MCP server configuration, including all configured headers.
|
|
63363
|
+
* @summary Edit an MCP server
|
|
63364
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63365
|
+
* @param {McpServerRequest} mcpServerRequest
|
|
63366
|
+
* @param {*} [options] Override http request option.
|
|
63367
|
+
* @throws {RequiredError}
|
|
63368
|
+
*/
|
|
63369
|
+
async editMcpServer(mcpServerId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>> {
|
|
63370
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editMcpServer(mcpServerId, mcpServerRequest, options);
|
|
63371
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63372
|
+
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.editMcpServer']?.[localVarOperationServerIndex]?.url;
|
|
63373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63374
|
+
},
|
|
63375
|
+
/**
|
|
63376
|
+
* Get a remote MCP server configuration. Header values are never returned.
|
|
63377
|
+
* @summary Get an MCP server
|
|
63378
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63379
|
+
* @param {*} [options] Override http request option.
|
|
63380
|
+
* @throws {RequiredError}
|
|
63381
|
+
*/
|
|
63382
|
+
async getMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>> {
|
|
63383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMcpServer(mcpServerId, options);
|
|
63384
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63385
|
+
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.getMcpServer']?.[localVarOperationServerIndex]?.url;
|
|
63386
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63387
|
+
},
|
|
63388
|
+
/**
|
|
63389
|
+
* List the remote MCP servers configured for an organization. Header values are never returned.
|
|
63390
|
+
* @summary List organization MCP servers
|
|
63391
|
+
* @param {string} organizationId Organization ID
|
|
63392
|
+
* @param {*} [options] Override http request option.
|
|
63393
|
+
* @throws {RequiredError}
|
|
63394
|
+
*/
|
|
63395
|
+
async listMcpServers(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponseList>> {
|
|
63396
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMcpServers(organizationId, options);
|
|
63397
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63398
|
+
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.listMcpServers']?.[localVarOperationServerIndex]?.url;
|
|
63399
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63400
|
+
},
|
|
63401
|
+
}
|
|
63402
|
+
};
|
|
63403
|
+
|
|
63404
|
+
/**
|
|
63405
|
+
* MCPServersApi - factory interface
|
|
63406
|
+
* @export
|
|
63407
|
+
*/
|
|
63408
|
+
export const MCPServersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
63409
|
+
const localVarFp = MCPServersApiFp(configuration)
|
|
63410
|
+
return {
|
|
63411
|
+
/**
|
|
63412
|
+
* Configure a remote HTTPS MCP server for an organization.
|
|
63413
|
+
* @summary Create an MCP server
|
|
63414
|
+
* @param {string} organizationId Organization ID
|
|
63415
|
+
* @param {McpServerRequest} mcpServerRequest
|
|
63416
|
+
* @param {*} [options] Override http request option.
|
|
63417
|
+
* @throws {RequiredError}
|
|
63418
|
+
*/
|
|
63419
|
+
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
|
|
63420
|
+
return localVarFp.createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(axios, basePath));
|
|
63421
|
+
},
|
|
63422
|
+
/**
|
|
63423
|
+
* Delete a remote MCP server configuration.
|
|
63424
|
+
* @summary Delete an MCP server
|
|
63425
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63426
|
+
* @param {*} [options] Override http request option.
|
|
63427
|
+
* @throws {RequiredError}
|
|
63428
|
+
*/
|
|
63429
|
+
deleteMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
63430
|
+
return localVarFp.deleteMcpServer(mcpServerId, options).then((request) => request(axios, basePath));
|
|
63431
|
+
},
|
|
63432
|
+
/**
|
|
63433
|
+
* Replace a remote MCP server configuration, including all configured headers.
|
|
63434
|
+
* @summary Edit an MCP server
|
|
63435
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63436
|
+
* @param {McpServerRequest} mcpServerRequest
|
|
63437
|
+
* @param {*} [options] Override http request option.
|
|
63438
|
+
* @throws {RequiredError}
|
|
63439
|
+
*/
|
|
63440
|
+
editMcpServer(mcpServerId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
|
|
63441
|
+
return localVarFp.editMcpServer(mcpServerId, mcpServerRequest, options).then((request) => request(axios, basePath));
|
|
63442
|
+
},
|
|
63443
|
+
/**
|
|
63444
|
+
* Get a remote MCP server configuration. Header values are never returned.
|
|
63445
|
+
* @summary Get an MCP server
|
|
63446
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63447
|
+
* @param {*} [options] Override http request option.
|
|
63448
|
+
* @throws {RequiredError}
|
|
63449
|
+
*/
|
|
63450
|
+
getMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
|
|
63451
|
+
return localVarFp.getMcpServer(mcpServerId, options).then((request) => request(axios, basePath));
|
|
63452
|
+
},
|
|
63453
|
+
/**
|
|
63454
|
+
* List the remote MCP servers configured for an organization. Header values are never returned.
|
|
63455
|
+
* @summary List organization MCP servers
|
|
63456
|
+
* @param {string} organizationId Organization ID
|
|
63457
|
+
* @param {*} [options] Override http request option.
|
|
63458
|
+
* @throws {RequiredError}
|
|
63459
|
+
*/
|
|
63460
|
+
listMcpServers(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponseList> {
|
|
63461
|
+
return localVarFp.listMcpServers(organizationId, options).then((request) => request(axios, basePath));
|
|
63462
|
+
},
|
|
63463
|
+
};
|
|
63464
|
+
};
|
|
63465
|
+
|
|
63466
|
+
/**
|
|
63467
|
+
* MCPServersApi - object-oriented interface
|
|
63468
|
+
* @export
|
|
63469
|
+
* @class MCPServersApi
|
|
63470
|
+
* @extends {BaseAPI}
|
|
63471
|
+
*/
|
|
63472
|
+
export class MCPServersApi extends BaseAPI {
|
|
63473
|
+
/**
|
|
63474
|
+
* Configure a remote HTTPS MCP server for an organization.
|
|
63475
|
+
* @summary Create an MCP server
|
|
63476
|
+
* @param {string} organizationId Organization ID
|
|
63477
|
+
* @param {McpServerRequest} mcpServerRequest
|
|
63478
|
+
* @param {*} [options] Override http request option.
|
|
63479
|
+
* @throws {RequiredError}
|
|
63480
|
+
* @memberof MCPServersApi
|
|
63481
|
+
*/
|
|
63482
|
+
public createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig) {
|
|
63483
|
+
return MCPServersApiFp(this.configuration).createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
63484
|
+
}
|
|
63485
|
+
|
|
63486
|
+
/**
|
|
63487
|
+
* Delete a remote MCP server configuration.
|
|
63488
|
+
* @summary Delete an MCP server
|
|
63489
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63490
|
+
* @param {*} [options] Override http request option.
|
|
63491
|
+
* @throws {RequiredError}
|
|
63492
|
+
* @memberof MCPServersApi
|
|
63493
|
+
*/
|
|
63494
|
+
public deleteMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig) {
|
|
63495
|
+
return MCPServersApiFp(this.configuration).deleteMcpServer(mcpServerId, options).then((request) => request(this.axios, this.basePath));
|
|
63496
|
+
}
|
|
63497
|
+
|
|
63498
|
+
/**
|
|
63499
|
+
* Replace a remote MCP server configuration, including all configured headers.
|
|
63500
|
+
* @summary Edit an MCP server
|
|
63501
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63502
|
+
* @param {McpServerRequest} mcpServerRequest
|
|
63503
|
+
* @param {*} [options] Override http request option.
|
|
63504
|
+
* @throws {RequiredError}
|
|
63505
|
+
* @memberof MCPServersApi
|
|
63506
|
+
*/
|
|
63507
|
+
public editMcpServer(mcpServerId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig) {
|
|
63508
|
+
return MCPServersApiFp(this.configuration).editMcpServer(mcpServerId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
63509
|
+
}
|
|
63510
|
+
|
|
63511
|
+
/**
|
|
63512
|
+
* Get a remote MCP server configuration. Header values are never returned.
|
|
63513
|
+
* @summary Get an MCP server
|
|
63514
|
+
* @param {string} mcpServerId MCP Server ID
|
|
63515
|
+
* @param {*} [options] Override http request option.
|
|
63516
|
+
* @throws {RequiredError}
|
|
63517
|
+
* @memberof MCPServersApi
|
|
63518
|
+
*/
|
|
63519
|
+
public getMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig) {
|
|
63520
|
+
return MCPServersApiFp(this.configuration).getMcpServer(mcpServerId, options).then((request) => request(this.axios, this.basePath));
|
|
63521
|
+
}
|
|
63522
|
+
|
|
63523
|
+
/**
|
|
63524
|
+
* List the remote MCP servers configured for an organization. Header values are never returned.
|
|
63525
|
+
* @summary List organization MCP servers
|
|
63526
|
+
* @param {string} organizationId Organization ID
|
|
63527
|
+
* @param {*} [options] Override http request option.
|
|
63528
|
+
* @throws {RequiredError}
|
|
63529
|
+
* @memberof MCPServersApi
|
|
63530
|
+
*/
|
|
63531
|
+
public listMcpServers(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
63532
|
+
return MCPServersApiFp(this.configuration).listMcpServers(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
63533
|
+
}
|
|
63534
|
+
}
|
|
63535
|
+
|
|
63536
|
+
|
|
63537
|
+
|
|
62996
63538
|
/**
|
|
62997
63539
|
* MembersApi - axios parameter creator
|
|
62998
63540
|
* @export
|