qovery-typescript-axios 1.1.973 → 1.1.975
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 +127 -0
- package/dist/api.d.ts +81 -0
- package/dist/api.js +77 -0
- package/dist/esm/api.d.ts +81 -0
- package/dist/esm/api.js +77 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -23082,6 +23082,25 @@ export interface PlatformComponentOutputBindingResponse {
|
|
|
23082
23082
|
*/
|
|
23083
23083
|
'output': string;
|
|
23084
23084
|
}
|
|
23085
|
+
/**
|
|
23086
|
+
* Displays selected top-level fields of another component in the same layer. The source component remains the resolver, configuration binding and deployment owner. This declaration does not move data or change Helm releases.
|
|
23087
|
+
* @export
|
|
23088
|
+
* @interface PlatformConfigurationSectionResponse
|
|
23089
|
+
*/
|
|
23090
|
+
export interface PlatformConfigurationSectionResponse {
|
|
23091
|
+
/**
|
|
23092
|
+
* Component key to use for resolve requests and stored configuration.
|
|
23093
|
+
* @type {string}
|
|
23094
|
+
* @memberof PlatformConfigurationSectionResponse
|
|
23095
|
+
*/
|
|
23096
|
+
'sourceComponentKey': string;
|
|
23097
|
+
/**
|
|
23098
|
+
* Unique top-level source fields displayed here instead of in the source component editor.
|
|
23099
|
+
* @type {Array<string>}
|
|
23100
|
+
* @memberof PlatformConfigurationSectionResponse
|
|
23101
|
+
*/
|
|
23102
|
+
'fieldKeys': Array<string>;
|
|
23103
|
+
}
|
|
23085
23104
|
/**
|
|
23086
23105
|
*
|
|
23087
23106
|
* @export
|
|
@@ -23154,6 +23173,12 @@ export interface PlatformTemplateComponentResponse {
|
|
|
23154
23173
|
* @memberof PlatformTemplateComponentResponse
|
|
23155
23174
|
*/
|
|
23156
23175
|
'fields': Array<FieldSchemaResponse>;
|
|
23176
|
+
/**
|
|
23177
|
+
* Additional configuration sections displayed under this component. Its own configuration and cluster inputs remain available. Omitted or empty keeps the existing editor behavior; fields always remain declared on their owner.
|
|
23178
|
+
* @type {Array<PlatformConfigurationSectionResponse>}
|
|
23179
|
+
* @memberof PlatformTemplateComponentResponse
|
|
23180
|
+
*/
|
|
23181
|
+
'configurationSections'?: Array<PlatformConfigurationSectionResponse>;
|
|
23157
23182
|
}
|
|
23158
23183
|
|
|
23159
23184
|
|
|
@@ -23867,6 +23892,25 @@ export interface QoveryIpsResponse {
|
|
|
23867
23892
|
*/
|
|
23868
23893
|
'ips': Array<string>;
|
|
23869
23894
|
}
|
|
23895
|
+
/**
|
|
23896
|
+
*
|
|
23897
|
+
* @export
|
|
23898
|
+
* @interface QoveryMcpServerRequest
|
|
23899
|
+
*/
|
|
23900
|
+
export interface QoveryMcpServerRequest {
|
|
23901
|
+
/**
|
|
23902
|
+
*
|
|
23903
|
+
* @type {string}
|
|
23904
|
+
* @memberof QoveryMcpServerRequest
|
|
23905
|
+
*/
|
|
23906
|
+
'name'?: string;
|
|
23907
|
+
/**
|
|
23908
|
+
*
|
|
23909
|
+
* @type {string}
|
|
23910
|
+
* @memberof QoveryMcpServerRequest
|
|
23911
|
+
*/
|
|
23912
|
+
'description'?: string;
|
|
23913
|
+
}
|
|
23870
23914
|
/**
|
|
23871
23915
|
*
|
|
23872
23916
|
* @export
|
|
@@ -65222,6 +65266,51 @@ export const MCPServersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
65222
65266
|
options: localVarRequestOptions,
|
|
65223
65267
|
};
|
|
65224
65268
|
},
|
|
65269
|
+
/**
|
|
65270
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
65271
|
+
* @summary Create a read-only Qovery MCP connector
|
|
65272
|
+
* @param {string} organizationId Organization ID
|
|
65273
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
65274
|
+
* @param {*} [options] Override http request option.
|
|
65275
|
+
* @throws {RequiredError}
|
|
65276
|
+
*/
|
|
65277
|
+
createQoveryMcpServer: async (organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65278
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
65279
|
+
assertParamExists('createQoveryMcpServer', 'organizationId', organizationId)
|
|
65280
|
+
const localVarPath = `/organization/{organizationId}/mcpServer/qovery`
|
|
65281
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
65282
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65283
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65284
|
+
let baseOptions;
|
|
65285
|
+
if (configuration) {
|
|
65286
|
+
baseOptions = configuration.baseOptions;
|
|
65287
|
+
}
|
|
65288
|
+
|
|
65289
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65290
|
+
const localVarHeaderParameter = {} as any;
|
|
65291
|
+
const localVarQueryParameter = {} as any;
|
|
65292
|
+
|
|
65293
|
+
// authentication ApiKeyAuth required
|
|
65294
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65295
|
+
|
|
65296
|
+
// authentication bearerAuth required
|
|
65297
|
+
// http bearer authentication required
|
|
65298
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65299
|
+
|
|
65300
|
+
|
|
65301
|
+
|
|
65302
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65303
|
+
|
|
65304
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65306
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65307
|
+
localVarRequestOptions.data = serializeDataIfNeeded(qoveryMcpServerRequest, localVarRequestOptions, configuration)
|
|
65308
|
+
|
|
65309
|
+
return {
|
|
65310
|
+
url: toPathString(localVarUrlObj),
|
|
65311
|
+
options: localVarRequestOptions,
|
|
65312
|
+
};
|
|
65313
|
+
},
|
|
65225
65314
|
/**
|
|
65226
65315
|
* Delete a remote MCP server configuration.
|
|
65227
65316
|
* @summary Delete an MCP server
|
|
@@ -65416,6 +65505,20 @@ export const MCPServersApiFp = function(configuration?: Configuration) {
|
|
|
65416
65505
|
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.createMcpServer']?.[localVarOperationServerIndex]?.url;
|
|
65417
65506
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65418
65507
|
},
|
|
65508
|
+
/**
|
|
65509
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
65510
|
+
* @summary Create a read-only Qovery MCP connector
|
|
65511
|
+
* @param {string} organizationId Organization ID
|
|
65512
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
65513
|
+
* @param {*} [options] Override http request option.
|
|
65514
|
+
* @throws {RequiredError}
|
|
65515
|
+
*/
|
|
65516
|
+
async createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>> {
|
|
65517
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options);
|
|
65518
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65519
|
+
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.createQoveryMcpServer']?.[localVarOperationServerIndex]?.url;
|
|
65520
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65521
|
+
},
|
|
65419
65522
|
/**
|
|
65420
65523
|
* Delete a remote MCP server configuration.
|
|
65421
65524
|
* @summary Delete an MCP server
|
|
@@ -65490,6 +65593,17 @@ export const MCPServersApiFactory = function (configuration?: Configuration, bas
|
|
|
65490
65593
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
|
|
65491
65594
|
return localVarFp.createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(axios, basePath));
|
|
65492
65595
|
},
|
|
65596
|
+
/**
|
|
65597
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
65598
|
+
* @summary Create a read-only Qovery MCP connector
|
|
65599
|
+
* @param {string} organizationId Organization ID
|
|
65600
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
65601
|
+
* @param {*} [options] Override http request option.
|
|
65602
|
+
* @throws {RequiredError}
|
|
65603
|
+
*/
|
|
65604
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
|
|
65605
|
+
return localVarFp.createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options).then((request) => request(axios, basePath));
|
|
65606
|
+
},
|
|
65493
65607
|
/**
|
|
65494
65608
|
* Delete a remote MCP server configuration.
|
|
65495
65609
|
* @summary Delete an MCP server
|
|
@@ -65554,6 +65668,19 @@ export class MCPServersApi extends BaseAPI {
|
|
|
65554
65668
|
return MCPServersApiFp(this.configuration).createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
65555
65669
|
}
|
|
65556
65670
|
|
|
65671
|
+
/**
|
|
65672
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
65673
|
+
* @summary Create a read-only Qovery MCP connector
|
|
65674
|
+
* @param {string} organizationId Organization ID
|
|
65675
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
65676
|
+
* @param {*} [options] Override http request option.
|
|
65677
|
+
* @throws {RequiredError}
|
|
65678
|
+
* @memberof MCPServersApi
|
|
65679
|
+
*/
|
|
65680
|
+
public createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig) {
|
|
65681
|
+
return MCPServersApiFp(this.configuration).createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
65682
|
+
}
|
|
65683
|
+
|
|
65557
65684
|
/**
|
|
65558
65685
|
* Delete a remote MCP server configuration.
|
|
65559
65686
|
* @summary Delete an MCP server
|
package/dist/api.d.ts
CHANGED
|
@@ -22412,6 +22412,25 @@ export interface PlatformComponentOutputBindingResponse {
|
|
|
22412
22412
|
*/
|
|
22413
22413
|
'output': string;
|
|
22414
22414
|
}
|
|
22415
|
+
/**
|
|
22416
|
+
* Displays selected top-level fields of another component in the same layer. The source component remains the resolver, configuration binding and deployment owner. This declaration does not move data or change Helm releases.
|
|
22417
|
+
* @export
|
|
22418
|
+
* @interface PlatformConfigurationSectionResponse
|
|
22419
|
+
*/
|
|
22420
|
+
export interface PlatformConfigurationSectionResponse {
|
|
22421
|
+
/**
|
|
22422
|
+
* Component key to use for resolve requests and stored configuration.
|
|
22423
|
+
* @type {string}
|
|
22424
|
+
* @memberof PlatformConfigurationSectionResponse
|
|
22425
|
+
*/
|
|
22426
|
+
'sourceComponentKey': string;
|
|
22427
|
+
/**
|
|
22428
|
+
* Unique top-level source fields displayed here instead of in the source component editor.
|
|
22429
|
+
* @type {Array<string>}
|
|
22430
|
+
* @memberof PlatformConfigurationSectionResponse
|
|
22431
|
+
*/
|
|
22432
|
+
'fieldKeys': Array<string>;
|
|
22433
|
+
}
|
|
22415
22434
|
/**
|
|
22416
22435
|
*
|
|
22417
22436
|
* @export
|
|
@@ -22476,6 +22495,12 @@ export interface PlatformTemplateComponentResponse {
|
|
|
22476
22495
|
* @memberof PlatformTemplateComponentResponse
|
|
22477
22496
|
*/
|
|
22478
22497
|
'fields': Array<FieldSchemaResponse>;
|
|
22498
|
+
/**
|
|
22499
|
+
* Additional configuration sections displayed under this component. Its own configuration and cluster inputs remain available. Omitted or empty keeps the existing editor behavior; fields always remain declared on their owner.
|
|
22500
|
+
* @type {Array<PlatformConfigurationSectionResponse>}
|
|
22501
|
+
* @memberof PlatformTemplateComponentResponse
|
|
22502
|
+
*/
|
|
22503
|
+
'configurationSections'?: Array<PlatformConfigurationSectionResponse>;
|
|
22479
22504
|
}
|
|
22480
22505
|
/**
|
|
22481
22506
|
*
|
|
@@ -23167,6 +23192,25 @@ export interface QoveryIpsResponse {
|
|
|
23167
23192
|
*/
|
|
23168
23193
|
'ips': Array<string>;
|
|
23169
23194
|
}
|
|
23195
|
+
/**
|
|
23196
|
+
*
|
|
23197
|
+
* @export
|
|
23198
|
+
* @interface QoveryMcpServerRequest
|
|
23199
|
+
*/
|
|
23200
|
+
export interface QoveryMcpServerRequest {
|
|
23201
|
+
/**
|
|
23202
|
+
*
|
|
23203
|
+
* @type {string}
|
|
23204
|
+
* @memberof QoveryMcpServerRequest
|
|
23205
|
+
*/
|
|
23206
|
+
'name'?: string;
|
|
23207
|
+
/**
|
|
23208
|
+
*
|
|
23209
|
+
* @type {string}
|
|
23210
|
+
* @memberof QoveryMcpServerRequest
|
|
23211
|
+
*/
|
|
23212
|
+
'description'?: string;
|
|
23213
|
+
}
|
|
23170
23214
|
/**
|
|
23171
23215
|
*
|
|
23172
23216
|
* @export
|
|
@@ -44336,6 +44380,15 @@ export declare const MCPServersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
44336
44380
|
* @throws {RequiredError}
|
|
44337
44381
|
*/
|
|
44338
44382
|
createMcpServer: (organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44383
|
+
/**
|
|
44384
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
44385
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44386
|
+
* @param {string} organizationId Organization ID
|
|
44387
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44388
|
+
* @param {*} [options] Override http request option.
|
|
44389
|
+
* @throws {RequiredError}
|
|
44390
|
+
*/
|
|
44391
|
+
createQoveryMcpServer: (organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44339
44392
|
/**
|
|
44340
44393
|
* Delete a remote MCP server configuration.
|
|
44341
44394
|
* @summary Delete an MCP server
|
|
@@ -44384,6 +44437,15 @@ export declare const MCPServersApiFp: (configuration?: Configuration) => {
|
|
|
44384
44437
|
* @throws {RequiredError}
|
|
44385
44438
|
*/
|
|
44386
44439
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>>;
|
|
44440
|
+
/**
|
|
44441
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
44442
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44443
|
+
* @param {string} organizationId Organization ID
|
|
44444
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44445
|
+
* @param {*} [options] Override http request option.
|
|
44446
|
+
* @throws {RequiredError}
|
|
44447
|
+
*/
|
|
44448
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>>;
|
|
44387
44449
|
/**
|
|
44388
44450
|
* Delete a remote MCP server configuration.
|
|
44389
44451
|
* @summary Delete an MCP server
|
|
@@ -44432,6 +44494,15 @@ export declare const MCPServersApiFactory: (configuration?: Configuration, baseP
|
|
|
44432
44494
|
* @throws {RequiredError}
|
|
44433
44495
|
*/
|
|
44434
44496
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse>;
|
|
44497
|
+
/**
|
|
44498
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
44499
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44500
|
+
* @param {string} organizationId Organization ID
|
|
44501
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44502
|
+
* @param {*} [options] Override http request option.
|
|
44503
|
+
* @throws {RequiredError}
|
|
44504
|
+
*/
|
|
44505
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse>;
|
|
44435
44506
|
/**
|
|
44436
44507
|
* Delete a remote MCP server configuration.
|
|
44437
44508
|
* @summary Delete an MCP server
|
|
@@ -44483,6 +44554,16 @@ export declare class MCPServersApi extends BaseAPI {
|
|
|
44483
44554
|
* @memberof MCPServersApi
|
|
44484
44555
|
*/
|
|
44485
44556
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpServerResponse, any, {}>>;
|
|
44557
|
+
/**
|
|
44558
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
44559
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44560
|
+
* @param {string} organizationId Organization ID
|
|
44561
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44562
|
+
* @param {*} [options] Override http request option.
|
|
44563
|
+
* @throws {RequiredError}
|
|
44564
|
+
* @memberof MCPServersApi
|
|
44565
|
+
*/
|
|
44566
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpServerResponse, any, {}>>;
|
|
44486
44567
|
/**
|
|
44487
44568
|
* Delete a remote MCP server configuration.
|
|
44488
44569
|
* @summary Delete an MCP server
|
package/dist/api.js
CHANGED
|
@@ -36343,6 +36343,43 @@ const MCPServersApiAxiosParamCreator = function (configuration) {
|
|
|
36343
36343
|
options: localVarRequestOptions,
|
|
36344
36344
|
};
|
|
36345
36345
|
}),
|
|
36346
|
+
/**
|
|
36347
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
36348
|
+
* @summary Create a read-only Qovery MCP connector
|
|
36349
|
+
* @param {string} organizationId Organization ID
|
|
36350
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
36351
|
+
* @param {*} [options] Override http request option.
|
|
36352
|
+
* @throws {RequiredError}
|
|
36353
|
+
*/
|
|
36354
|
+
createQoveryMcpServer: (organizationId_1, qoveryMcpServerRequest_1, ...args_1) => __awaiter(this, [organizationId_1, qoveryMcpServerRequest_1, ...args_1], void 0, function* (organizationId, qoveryMcpServerRequest, options = {}) {
|
|
36355
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
36356
|
+
(0, common_1.assertParamExists)('createQoveryMcpServer', 'organizationId', organizationId);
|
|
36357
|
+
const localVarPath = `/organization/{organizationId}/mcpServer/qovery`
|
|
36358
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
36359
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36360
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36361
|
+
let baseOptions;
|
|
36362
|
+
if (configuration) {
|
|
36363
|
+
baseOptions = configuration.baseOptions;
|
|
36364
|
+
}
|
|
36365
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
36366
|
+
const localVarHeaderParameter = {};
|
|
36367
|
+
const localVarQueryParameter = {};
|
|
36368
|
+
// authentication ApiKeyAuth required
|
|
36369
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
36370
|
+
// authentication bearerAuth required
|
|
36371
|
+
// http bearer authentication required
|
|
36372
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
36373
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36374
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
36375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36376
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36377
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(qoveryMcpServerRequest, localVarRequestOptions, configuration);
|
|
36378
|
+
return {
|
|
36379
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
36380
|
+
options: localVarRequestOptions,
|
|
36381
|
+
};
|
|
36382
|
+
}),
|
|
36346
36383
|
/**
|
|
36347
36384
|
* Delete a remote MCP server configuration.
|
|
36348
36385
|
* @summary Delete an MCP server
|
|
@@ -36511,6 +36548,23 @@ const MCPServersApiFp = function (configuration) {
|
|
|
36511
36548
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36512
36549
|
});
|
|
36513
36550
|
},
|
|
36551
|
+
/**
|
|
36552
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
36553
|
+
* @summary Create a read-only Qovery MCP connector
|
|
36554
|
+
* @param {string} organizationId Organization ID
|
|
36555
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
36556
|
+
* @param {*} [options] Override http request option.
|
|
36557
|
+
* @throws {RequiredError}
|
|
36558
|
+
*/
|
|
36559
|
+
createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options) {
|
|
36560
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36561
|
+
var _a, _b, _c;
|
|
36562
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options);
|
|
36563
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36564
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MCPServersApi.createQoveryMcpServer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36565
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36566
|
+
});
|
|
36567
|
+
},
|
|
36514
36568
|
/**
|
|
36515
36569
|
* Delete a remote MCP server configuration.
|
|
36516
36570
|
* @summary Delete an MCP server
|
|
@@ -36597,6 +36651,17 @@ const MCPServersApiFactory = function (configuration, basePath, axios) {
|
|
|
36597
36651
|
createMcpServer(organizationId, mcpServerRequest, options) {
|
|
36598
36652
|
return localVarFp.createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(axios, basePath));
|
|
36599
36653
|
},
|
|
36654
|
+
/**
|
|
36655
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
36656
|
+
* @summary Create a read-only Qovery MCP connector
|
|
36657
|
+
* @param {string} organizationId Organization ID
|
|
36658
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
36659
|
+
* @param {*} [options] Override http request option.
|
|
36660
|
+
* @throws {RequiredError}
|
|
36661
|
+
*/
|
|
36662
|
+
createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options) {
|
|
36663
|
+
return localVarFp.createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options).then((request) => request(axios, basePath));
|
|
36664
|
+
},
|
|
36600
36665
|
/**
|
|
36601
36666
|
* Delete a remote MCP server configuration.
|
|
36602
36667
|
* @summary Delete an MCP server
|
|
@@ -36660,6 +36725,18 @@ class MCPServersApi extends base_1.BaseAPI {
|
|
|
36660
36725
|
createMcpServer(organizationId, mcpServerRequest, options) {
|
|
36661
36726
|
return (0, exports.MCPServersApiFp)(this.configuration).createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36662
36727
|
}
|
|
36728
|
+
/**
|
|
36729
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
36730
|
+
* @summary Create a read-only Qovery MCP connector
|
|
36731
|
+
* @param {string} organizationId Organization ID
|
|
36732
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
36733
|
+
* @param {*} [options] Override http request option.
|
|
36734
|
+
* @throws {RequiredError}
|
|
36735
|
+
* @memberof MCPServersApi
|
|
36736
|
+
*/
|
|
36737
|
+
createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options) {
|
|
36738
|
+
return (0, exports.MCPServersApiFp)(this.configuration).createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36739
|
+
}
|
|
36663
36740
|
/**
|
|
36664
36741
|
* Delete a remote MCP server configuration.
|
|
36665
36742
|
* @summary Delete an MCP server
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -22412,6 +22412,25 @@ export interface PlatformComponentOutputBindingResponse {
|
|
|
22412
22412
|
*/
|
|
22413
22413
|
'output': string;
|
|
22414
22414
|
}
|
|
22415
|
+
/**
|
|
22416
|
+
* Displays selected top-level fields of another component in the same layer. The source component remains the resolver, configuration binding and deployment owner. This declaration does not move data or change Helm releases.
|
|
22417
|
+
* @export
|
|
22418
|
+
* @interface PlatformConfigurationSectionResponse
|
|
22419
|
+
*/
|
|
22420
|
+
export interface PlatformConfigurationSectionResponse {
|
|
22421
|
+
/**
|
|
22422
|
+
* Component key to use for resolve requests and stored configuration.
|
|
22423
|
+
* @type {string}
|
|
22424
|
+
* @memberof PlatformConfigurationSectionResponse
|
|
22425
|
+
*/
|
|
22426
|
+
'sourceComponentKey': string;
|
|
22427
|
+
/**
|
|
22428
|
+
* Unique top-level source fields displayed here instead of in the source component editor.
|
|
22429
|
+
* @type {Array<string>}
|
|
22430
|
+
* @memberof PlatformConfigurationSectionResponse
|
|
22431
|
+
*/
|
|
22432
|
+
'fieldKeys': Array<string>;
|
|
22433
|
+
}
|
|
22415
22434
|
/**
|
|
22416
22435
|
*
|
|
22417
22436
|
* @export
|
|
@@ -22476,6 +22495,12 @@ export interface PlatformTemplateComponentResponse {
|
|
|
22476
22495
|
* @memberof PlatformTemplateComponentResponse
|
|
22477
22496
|
*/
|
|
22478
22497
|
'fields': Array<FieldSchemaResponse>;
|
|
22498
|
+
/**
|
|
22499
|
+
* Additional configuration sections displayed under this component. Its own configuration and cluster inputs remain available. Omitted or empty keeps the existing editor behavior; fields always remain declared on their owner.
|
|
22500
|
+
* @type {Array<PlatformConfigurationSectionResponse>}
|
|
22501
|
+
* @memberof PlatformTemplateComponentResponse
|
|
22502
|
+
*/
|
|
22503
|
+
'configurationSections'?: Array<PlatformConfigurationSectionResponse>;
|
|
22479
22504
|
}
|
|
22480
22505
|
/**
|
|
22481
22506
|
*
|
|
@@ -23167,6 +23192,25 @@ export interface QoveryIpsResponse {
|
|
|
23167
23192
|
*/
|
|
23168
23193
|
'ips': Array<string>;
|
|
23169
23194
|
}
|
|
23195
|
+
/**
|
|
23196
|
+
*
|
|
23197
|
+
* @export
|
|
23198
|
+
* @interface QoveryMcpServerRequest
|
|
23199
|
+
*/
|
|
23200
|
+
export interface QoveryMcpServerRequest {
|
|
23201
|
+
/**
|
|
23202
|
+
*
|
|
23203
|
+
* @type {string}
|
|
23204
|
+
* @memberof QoveryMcpServerRequest
|
|
23205
|
+
*/
|
|
23206
|
+
'name'?: string;
|
|
23207
|
+
/**
|
|
23208
|
+
*
|
|
23209
|
+
* @type {string}
|
|
23210
|
+
* @memberof QoveryMcpServerRequest
|
|
23211
|
+
*/
|
|
23212
|
+
'description'?: string;
|
|
23213
|
+
}
|
|
23170
23214
|
/**
|
|
23171
23215
|
*
|
|
23172
23216
|
* @export
|
|
@@ -44336,6 +44380,15 @@ export declare const MCPServersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
44336
44380
|
* @throws {RequiredError}
|
|
44337
44381
|
*/
|
|
44338
44382
|
createMcpServer: (organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44383
|
+
/**
|
|
44384
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
44385
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44386
|
+
* @param {string} organizationId Organization ID
|
|
44387
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44388
|
+
* @param {*} [options] Override http request option.
|
|
44389
|
+
* @throws {RequiredError}
|
|
44390
|
+
*/
|
|
44391
|
+
createQoveryMcpServer: (organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44339
44392
|
/**
|
|
44340
44393
|
* Delete a remote MCP server configuration.
|
|
44341
44394
|
* @summary Delete an MCP server
|
|
@@ -44384,6 +44437,15 @@ export declare const MCPServersApiFp: (configuration?: Configuration) => {
|
|
|
44384
44437
|
* @throws {RequiredError}
|
|
44385
44438
|
*/
|
|
44386
44439
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>>;
|
|
44440
|
+
/**
|
|
44441
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
44442
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44443
|
+
* @param {string} organizationId Organization ID
|
|
44444
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44445
|
+
* @param {*} [options] Override http request option.
|
|
44446
|
+
* @throws {RequiredError}
|
|
44447
|
+
*/
|
|
44448
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>>;
|
|
44387
44449
|
/**
|
|
44388
44450
|
* Delete a remote MCP server configuration.
|
|
44389
44451
|
* @summary Delete an MCP server
|
|
@@ -44432,6 +44494,15 @@ export declare const MCPServersApiFactory: (configuration?: Configuration, baseP
|
|
|
44432
44494
|
* @throws {RequiredError}
|
|
44433
44495
|
*/
|
|
44434
44496
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse>;
|
|
44497
|
+
/**
|
|
44498
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
44499
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44500
|
+
* @param {string} organizationId Organization ID
|
|
44501
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44502
|
+
* @param {*} [options] Override http request option.
|
|
44503
|
+
* @throws {RequiredError}
|
|
44504
|
+
*/
|
|
44505
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse>;
|
|
44435
44506
|
/**
|
|
44436
44507
|
* Delete a remote MCP server configuration.
|
|
44437
44508
|
* @summary Delete an MCP server
|
|
@@ -44483,6 +44554,16 @@ export declare class MCPServersApi extends BaseAPI {
|
|
|
44483
44554
|
* @memberof MCPServersApi
|
|
44484
44555
|
*/
|
|
44485
44556
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpServerResponse, any, {}>>;
|
|
44557
|
+
/**
|
|
44558
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
44559
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44560
|
+
* @param {string} organizationId Organization ID
|
|
44561
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44562
|
+
* @param {*} [options] Override http request option.
|
|
44563
|
+
* @throws {RequiredError}
|
|
44564
|
+
* @memberof MCPServersApi
|
|
44565
|
+
*/
|
|
44566
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpServerResponse, any, {}>>;
|
|
44486
44567
|
/**
|
|
44487
44568
|
* Delete a remote MCP server configuration.
|
|
44488
44569
|
* @summary Delete an MCP server
|
package/dist/esm/api.js
CHANGED
|
@@ -36040,6 +36040,43 @@ export const MCPServersApiAxiosParamCreator = function (configuration) {
|
|
|
36040
36040
|
options: localVarRequestOptions,
|
|
36041
36041
|
};
|
|
36042
36042
|
}),
|
|
36043
|
+
/**
|
|
36044
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
36045
|
+
* @summary Create a read-only Qovery MCP connector
|
|
36046
|
+
* @param {string} organizationId Organization ID
|
|
36047
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
36048
|
+
* @param {*} [options] Override http request option.
|
|
36049
|
+
* @throws {RequiredError}
|
|
36050
|
+
*/
|
|
36051
|
+
createQoveryMcpServer: (organizationId_1, qoveryMcpServerRequest_1, ...args_1) => __awaiter(this, [organizationId_1, qoveryMcpServerRequest_1, ...args_1], void 0, function* (organizationId, qoveryMcpServerRequest, options = {}) {
|
|
36052
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
36053
|
+
assertParamExists('createQoveryMcpServer', 'organizationId', organizationId);
|
|
36054
|
+
const localVarPath = `/organization/{organizationId}/mcpServer/qovery`
|
|
36055
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
36056
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36057
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36058
|
+
let baseOptions;
|
|
36059
|
+
if (configuration) {
|
|
36060
|
+
baseOptions = configuration.baseOptions;
|
|
36061
|
+
}
|
|
36062
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
36063
|
+
const localVarHeaderParameter = {};
|
|
36064
|
+
const localVarQueryParameter = {};
|
|
36065
|
+
// authentication ApiKeyAuth required
|
|
36066
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
36067
|
+
// authentication bearerAuth required
|
|
36068
|
+
// http bearer authentication required
|
|
36069
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
36070
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36071
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36072
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36073
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36074
|
+
localVarRequestOptions.data = serializeDataIfNeeded(qoveryMcpServerRequest, localVarRequestOptions, configuration);
|
|
36075
|
+
return {
|
|
36076
|
+
url: toPathString(localVarUrlObj),
|
|
36077
|
+
options: localVarRequestOptions,
|
|
36078
|
+
};
|
|
36079
|
+
}),
|
|
36043
36080
|
/**
|
|
36044
36081
|
* Delete a remote MCP server configuration.
|
|
36045
36082
|
* @summary Delete an MCP server
|
|
@@ -36207,6 +36244,23 @@ export const MCPServersApiFp = function (configuration) {
|
|
|
36207
36244
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36208
36245
|
});
|
|
36209
36246
|
},
|
|
36247
|
+
/**
|
|
36248
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
36249
|
+
* @summary Create a read-only Qovery MCP connector
|
|
36250
|
+
* @param {string} organizationId Organization ID
|
|
36251
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
36252
|
+
* @param {*} [options] Override http request option.
|
|
36253
|
+
* @throws {RequiredError}
|
|
36254
|
+
*/
|
|
36255
|
+
createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options) {
|
|
36256
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36257
|
+
var _a, _b, _c;
|
|
36258
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options);
|
|
36259
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36260
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MCPServersApi.createQoveryMcpServer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36261
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36262
|
+
});
|
|
36263
|
+
},
|
|
36210
36264
|
/**
|
|
36211
36265
|
* Delete a remote MCP server configuration.
|
|
36212
36266
|
* @summary Delete an MCP server
|
|
@@ -36292,6 +36346,17 @@ export const MCPServersApiFactory = function (configuration, basePath, axios) {
|
|
|
36292
36346
|
createMcpServer(organizationId, mcpServerRequest, options) {
|
|
36293
36347
|
return localVarFp.createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(axios, basePath));
|
|
36294
36348
|
},
|
|
36349
|
+
/**
|
|
36350
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
36351
|
+
* @summary Create a read-only Qovery MCP connector
|
|
36352
|
+
* @param {string} organizationId Organization ID
|
|
36353
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
36354
|
+
* @param {*} [options] Override http request option.
|
|
36355
|
+
* @throws {RequiredError}
|
|
36356
|
+
*/
|
|
36357
|
+
createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options) {
|
|
36358
|
+
return localVarFp.createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options).then((request) => request(axios, basePath));
|
|
36359
|
+
},
|
|
36295
36360
|
/**
|
|
36296
36361
|
* Delete a remote MCP server configuration.
|
|
36297
36362
|
* @summary Delete an MCP server
|
|
@@ -36354,6 +36419,18 @@ export class MCPServersApi extends BaseAPI {
|
|
|
36354
36419
|
createMcpServer(organizationId, mcpServerRequest, options) {
|
|
36355
36420
|
return MCPServersApiFp(this.configuration).createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36356
36421
|
}
|
|
36422
|
+
/**
|
|
36423
|
+
* Create a connector to Qovery\'s own MCP server in READ-ONLY mode. Scope is always `ORGANIZATION`; this endpoint accepts no scope parameter. During the request, an organization API token is generated, bound to the Viewer role, and stored as the encrypted `Authorization` connector header. The token is never returned in the response; `header_names` will contain `Authorization`. The generated token is visible and revocable in the organization\'s API token list. Deleting the connector does not revoke the generated token; revoke it separately from the API token list. **403 — Access forbidden:** Requires the `MANAGE_INFRASTRUCTURE` permission. Viewer and Billing callers cannot mint API tokens and are rejected with 403. Only one Qovery MCP connector is allowed per organization; a second call returns 409.
|
|
36424
|
+
* @summary Create a read-only Qovery MCP connector
|
|
36425
|
+
* @param {string} organizationId Organization ID
|
|
36426
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
36427
|
+
* @param {*} [options] Override http request option.
|
|
36428
|
+
* @throws {RequiredError}
|
|
36429
|
+
* @memberof MCPServersApi
|
|
36430
|
+
*/
|
|
36431
|
+
createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options) {
|
|
36432
|
+
return MCPServersApiFp(this.configuration).createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36433
|
+
}
|
|
36357
36434
|
/**
|
|
36358
36435
|
* Delete a remote MCP server configuration.
|
|
36359
36436
|
* @summary Delete an MCP server
|