qovery-typescript-axios 1.1.972 → 1.1.974
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 +151 -0
- package/dist/api.d.ts +105 -0
- package/dist/api.js +77 -0
- package/dist/esm/api.d.ts +105 -0
- package/dist/esm/api.js +77 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -15013,6 +15013,31 @@ export interface FieldSchemaConstraintsResponse {
|
|
|
15013
15013
|
*/
|
|
15014
15014
|
export type FieldSchemaResponse = { type: 'array' } & ArrayFieldSchemaResponse | { type: 'bool' } & ScalarFieldSchemaResponse | { type: 'number' } & ScalarFieldSchemaResponse | { type: 'object' } & ObjectFieldSchemaResponse | { type: 'string' } & ScalarFieldSchemaResponse;
|
|
15015
15015
|
|
|
15016
|
+
/**
|
|
15017
|
+
* A catalog-owned starting text for a field editor, not an applied default.
|
|
15018
|
+
* @export
|
|
15019
|
+
* @interface FieldTemplateResponse
|
|
15020
|
+
*/
|
|
15021
|
+
export interface FieldTemplateResponse {
|
|
15022
|
+
/**
|
|
15023
|
+
*
|
|
15024
|
+
* @type {string}
|
|
15025
|
+
* @memberof FieldTemplateResponse
|
|
15026
|
+
*/
|
|
15027
|
+
'id': string;
|
|
15028
|
+
/**
|
|
15029
|
+
*
|
|
15030
|
+
* @type {string}
|
|
15031
|
+
* @memberof FieldTemplateResponse
|
|
15032
|
+
*/
|
|
15033
|
+
'label': string;
|
|
15034
|
+
/**
|
|
15035
|
+
*
|
|
15036
|
+
* @type {string}
|
|
15037
|
+
* @memberof FieldTemplateResponse
|
|
15038
|
+
*/
|
|
15039
|
+
'value': string;
|
|
15040
|
+
}
|
|
15016
15041
|
/**
|
|
15017
15042
|
* @type GcpCredentialsRequest
|
|
15018
15043
|
* @export
|
|
@@ -22998,6 +23023,18 @@ export interface PlatformComponentInputRequirementResponse {
|
|
|
22998
23023
|
* @memberof PlatformComponentInputRequirementResponse
|
|
22999
23024
|
*/
|
|
23000
23025
|
'constraints': FieldSchemaConstraintsResponse;
|
|
23026
|
+
/**
|
|
23027
|
+
* Optional editor format for a string field, independent of its scalar type. kubernetes-resource-yaml selects a single Kubernetes YAML object editor. Unknown formats should fall back to the ordinary string editor.
|
|
23028
|
+
* @type {string}
|
|
23029
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
23030
|
+
*/
|
|
23031
|
+
'format'?: string;
|
|
23032
|
+
/**
|
|
23033
|
+
* Optional starting texts for an explicit user choice, with unique IDs within the field. Present only with format. Never apply as defaults or overwrite a saved value. The format selects the editor even when templates are absent.
|
|
23034
|
+
* @type {Array<FieldTemplateResponse>}
|
|
23035
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
23036
|
+
*/
|
|
23037
|
+
'templates'?: Array<FieldTemplateResponse>;
|
|
23001
23038
|
/**
|
|
23002
23039
|
*
|
|
23003
23040
|
* @type {PlatformComponentConfigurationInputScope}
|
|
@@ -23830,6 +23867,25 @@ export interface QoveryIpsResponse {
|
|
|
23830
23867
|
*/
|
|
23831
23868
|
'ips': Array<string>;
|
|
23832
23869
|
}
|
|
23870
|
+
/**
|
|
23871
|
+
*
|
|
23872
|
+
* @export
|
|
23873
|
+
* @interface QoveryMcpServerRequest
|
|
23874
|
+
*/
|
|
23875
|
+
export interface QoveryMcpServerRequest {
|
|
23876
|
+
/**
|
|
23877
|
+
*
|
|
23878
|
+
* @type {string}
|
|
23879
|
+
* @memberof QoveryMcpServerRequest
|
|
23880
|
+
*/
|
|
23881
|
+
'name'?: string;
|
|
23882
|
+
/**
|
|
23883
|
+
*
|
|
23884
|
+
* @type {string}
|
|
23885
|
+
* @memberof QoveryMcpServerRequest
|
|
23886
|
+
*/
|
|
23887
|
+
'description'?: string;
|
|
23888
|
+
}
|
|
23833
23889
|
/**
|
|
23834
23890
|
*
|
|
23835
23891
|
* @export
|
|
@@ -24552,6 +24608,18 @@ export interface ScalarFieldSchemaResponse {
|
|
|
24552
24608
|
* @memberof ScalarFieldSchemaResponse
|
|
24553
24609
|
*/
|
|
24554
24610
|
'constraints': FieldSchemaConstraintsResponse;
|
|
24611
|
+
/**
|
|
24612
|
+
* Optional editor format for a string field, independent of its scalar type. kubernetes-resource-yaml selects a single Kubernetes YAML object editor. Unknown formats should fall back to the ordinary string editor.
|
|
24613
|
+
* @type {string}
|
|
24614
|
+
* @memberof ScalarFieldSchemaResponse
|
|
24615
|
+
*/
|
|
24616
|
+
'format'?: string;
|
|
24617
|
+
/**
|
|
24618
|
+
* Optional starting texts for an explicit user choice, with unique IDs within the field. Present only with format. Never apply as defaults or overwrite a saved value. The format selects the editor even when templates are absent.
|
|
24619
|
+
* @type {Array<FieldTemplateResponse>}
|
|
24620
|
+
* @memberof ScalarFieldSchemaResponse
|
|
24621
|
+
*/
|
|
24622
|
+
'templates'?: Array<FieldTemplateResponse>;
|
|
24555
24623
|
}
|
|
24556
24624
|
|
|
24557
24625
|
export const ScalarFieldSchemaResponseTypeEnum = {
|
|
@@ -65173,6 +65241,51 @@ export const MCPServersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
65173
65241
|
options: localVarRequestOptions,
|
|
65174
65242
|
};
|
|
65175
65243
|
},
|
|
65244
|
+
/**
|
|
65245
|
+
* 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.
|
|
65246
|
+
* @summary Create a read-only Qovery MCP connector
|
|
65247
|
+
* @param {string} organizationId Organization ID
|
|
65248
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
65249
|
+
* @param {*} [options] Override http request option.
|
|
65250
|
+
* @throws {RequiredError}
|
|
65251
|
+
*/
|
|
65252
|
+
createQoveryMcpServer: async (organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65253
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
65254
|
+
assertParamExists('createQoveryMcpServer', 'organizationId', organizationId)
|
|
65255
|
+
const localVarPath = `/organization/{organizationId}/mcpServer/qovery`
|
|
65256
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
65257
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65258
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65259
|
+
let baseOptions;
|
|
65260
|
+
if (configuration) {
|
|
65261
|
+
baseOptions = configuration.baseOptions;
|
|
65262
|
+
}
|
|
65263
|
+
|
|
65264
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65265
|
+
const localVarHeaderParameter = {} as any;
|
|
65266
|
+
const localVarQueryParameter = {} as any;
|
|
65267
|
+
|
|
65268
|
+
// authentication ApiKeyAuth required
|
|
65269
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65270
|
+
|
|
65271
|
+
// authentication bearerAuth required
|
|
65272
|
+
// http bearer authentication required
|
|
65273
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65274
|
+
|
|
65275
|
+
|
|
65276
|
+
|
|
65277
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65278
|
+
|
|
65279
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65280
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65281
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65282
|
+
localVarRequestOptions.data = serializeDataIfNeeded(qoveryMcpServerRequest, localVarRequestOptions, configuration)
|
|
65283
|
+
|
|
65284
|
+
return {
|
|
65285
|
+
url: toPathString(localVarUrlObj),
|
|
65286
|
+
options: localVarRequestOptions,
|
|
65287
|
+
};
|
|
65288
|
+
},
|
|
65176
65289
|
/**
|
|
65177
65290
|
* Delete a remote MCP server configuration.
|
|
65178
65291
|
* @summary Delete an MCP server
|
|
@@ -65367,6 +65480,20 @@ export const MCPServersApiFp = function(configuration?: Configuration) {
|
|
|
65367
65480
|
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.createMcpServer']?.[localVarOperationServerIndex]?.url;
|
|
65368
65481
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65369
65482
|
},
|
|
65483
|
+
/**
|
|
65484
|
+
* 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.
|
|
65485
|
+
* @summary Create a read-only Qovery MCP connector
|
|
65486
|
+
* @param {string} organizationId Organization ID
|
|
65487
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
65488
|
+
* @param {*} [options] Override http request option.
|
|
65489
|
+
* @throws {RequiredError}
|
|
65490
|
+
*/
|
|
65491
|
+
async createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>> {
|
|
65492
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options);
|
|
65493
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65494
|
+
const localVarOperationServerBasePath = operationServerMap['MCPServersApi.createQoveryMcpServer']?.[localVarOperationServerIndex]?.url;
|
|
65495
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65496
|
+
},
|
|
65370
65497
|
/**
|
|
65371
65498
|
* Delete a remote MCP server configuration.
|
|
65372
65499
|
* @summary Delete an MCP server
|
|
@@ -65441,6 +65568,17 @@ export const MCPServersApiFactory = function (configuration?: Configuration, bas
|
|
|
65441
65568
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
|
|
65442
65569
|
return localVarFp.createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(axios, basePath));
|
|
65443
65570
|
},
|
|
65571
|
+
/**
|
|
65572
|
+
* 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.
|
|
65573
|
+
* @summary Create a read-only Qovery MCP connector
|
|
65574
|
+
* @param {string} organizationId Organization ID
|
|
65575
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
65576
|
+
* @param {*} [options] Override http request option.
|
|
65577
|
+
* @throws {RequiredError}
|
|
65578
|
+
*/
|
|
65579
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
|
|
65580
|
+
return localVarFp.createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options).then((request) => request(axios, basePath));
|
|
65581
|
+
},
|
|
65444
65582
|
/**
|
|
65445
65583
|
* Delete a remote MCP server configuration.
|
|
65446
65584
|
* @summary Delete an MCP server
|
|
@@ -65505,6 +65643,19 @@ export class MCPServersApi extends BaseAPI {
|
|
|
65505
65643
|
return MCPServersApiFp(this.configuration).createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
65506
65644
|
}
|
|
65507
65645
|
|
|
65646
|
+
/**
|
|
65647
|
+
* 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.
|
|
65648
|
+
* @summary Create a read-only Qovery MCP connector
|
|
65649
|
+
* @param {string} organizationId Organization ID
|
|
65650
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
65651
|
+
* @param {*} [options] Override http request option.
|
|
65652
|
+
* @throws {RequiredError}
|
|
65653
|
+
* @memberof MCPServersApi
|
|
65654
|
+
*/
|
|
65655
|
+
public createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig) {
|
|
65656
|
+
return MCPServersApiFp(this.configuration).createQoveryMcpServer(organizationId, qoveryMcpServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
65657
|
+
}
|
|
65658
|
+
|
|
65508
65659
|
/**
|
|
65509
65660
|
* Delete a remote MCP server configuration.
|
|
65510
65661
|
* @summary Delete an MCP server
|
package/dist/api.d.ts
CHANGED
|
@@ -14605,6 +14605,31 @@ export type FieldSchemaResponse = {
|
|
|
14605
14605
|
} & ObjectFieldSchemaResponse | {
|
|
14606
14606
|
type: 'string';
|
|
14607
14607
|
} & ScalarFieldSchemaResponse;
|
|
14608
|
+
/**
|
|
14609
|
+
* A catalog-owned starting text for a field editor, not an applied default.
|
|
14610
|
+
* @export
|
|
14611
|
+
* @interface FieldTemplateResponse
|
|
14612
|
+
*/
|
|
14613
|
+
export interface FieldTemplateResponse {
|
|
14614
|
+
/**
|
|
14615
|
+
*
|
|
14616
|
+
* @type {string}
|
|
14617
|
+
* @memberof FieldTemplateResponse
|
|
14618
|
+
*/
|
|
14619
|
+
'id': string;
|
|
14620
|
+
/**
|
|
14621
|
+
*
|
|
14622
|
+
* @type {string}
|
|
14623
|
+
* @memberof FieldTemplateResponse
|
|
14624
|
+
*/
|
|
14625
|
+
'label': string;
|
|
14626
|
+
/**
|
|
14627
|
+
*
|
|
14628
|
+
* @type {string}
|
|
14629
|
+
* @memberof FieldTemplateResponse
|
|
14630
|
+
*/
|
|
14631
|
+
'value': string;
|
|
14632
|
+
}
|
|
14608
14633
|
/**
|
|
14609
14634
|
* @type GcpCredentialsRequest
|
|
14610
14635
|
* @export
|
|
@@ -22331,6 +22356,18 @@ export interface PlatformComponentInputRequirementResponse {
|
|
|
22331
22356
|
* @memberof PlatformComponentInputRequirementResponse
|
|
22332
22357
|
*/
|
|
22333
22358
|
'constraints': FieldSchemaConstraintsResponse;
|
|
22359
|
+
/**
|
|
22360
|
+
* Optional editor format for a string field, independent of its scalar type. kubernetes-resource-yaml selects a single Kubernetes YAML object editor. Unknown formats should fall back to the ordinary string editor.
|
|
22361
|
+
* @type {string}
|
|
22362
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
22363
|
+
*/
|
|
22364
|
+
'format'?: string;
|
|
22365
|
+
/**
|
|
22366
|
+
* Optional starting texts for an explicit user choice, with unique IDs within the field. Present only with format. Never apply as defaults or overwrite a saved value. The format selects the editor even when templates are absent.
|
|
22367
|
+
* @type {Array<FieldTemplateResponse>}
|
|
22368
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
22369
|
+
*/
|
|
22370
|
+
'templates'?: Array<FieldTemplateResponse>;
|
|
22334
22371
|
/**
|
|
22335
22372
|
*
|
|
22336
22373
|
* @type {PlatformComponentConfigurationInputScope}
|
|
@@ -23130,6 +23167,25 @@ export interface QoveryIpsResponse {
|
|
|
23130
23167
|
*/
|
|
23131
23168
|
'ips': Array<string>;
|
|
23132
23169
|
}
|
|
23170
|
+
/**
|
|
23171
|
+
*
|
|
23172
|
+
* @export
|
|
23173
|
+
* @interface QoveryMcpServerRequest
|
|
23174
|
+
*/
|
|
23175
|
+
export interface QoveryMcpServerRequest {
|
|
23176
|
+
/**
|
|
23177
|
+
*
|
|
23178
|
+
* @type {string}
|
|
23179
|
+
* @memberof QoveryMcpServerRequest
|
|
23180
|
+
*/
|
|
23181
|
+
'name'?: string;
|
|
23182
|
+
/**
|
|
23183
|
+
*
|
|
23184
|
+
* @type {string}
|
|
23185
|
+
* @memberof QoveryMcpServerRequest
|
|
23186
|
+
*/
|
|
23187
|
+
'description'?: string;
|
|
23188
|
+
}
|
|
23133
23189
|
/**
|
|
23134
23190
|
*
|
|
23135
23191
|
* @export
|
|
@@ -23812,6 +23868,18 @@ export interface ScalarFieldSchemaResponse {
|
|
|
23812
23868
|
* @memberof ScalarFieldSchemaResponse
|
|
23813
23869
|
*/
|
|
23814
23870
|
'constraints': FieldSchemaConstraintsResponse;
|
|
23871
|
+
/**
|
|
23872
|
+
* Optional editor format for a string field, independent of its scalar type. kubernetes-resource-yaml selects a single Kubernetes YAML object editor. Unknown formats should fall back to the ordinary string editor.
|
|
23873
|
+
* @type {string}
|
|
23874
|
+
* @memberof ScalarFieldSchemaResponse
|
|
23875
|
+
*/
|
|
23876
|
+
'format'?: string;
|
|
23877
|
+
/**
|
|
23878
|
+
* Optional starting texts for an explicit user choice, with unique IDs within the field. Present only with format. Never apply as defaults or overwrite a saved value. The format selects the editor even when templates are absent.
|
|
23879
|
+
* @type {Array<FieldTemplateResponse>}
|
|
23880
|
+
* @memberof ScalarFieldSchemaResponse
|
|
23881
|
+
*/
|
|
23882
|
+
'templates'?: Array<FieldTemplateResponse>;
|
|
23815
23883
|
}
|
|
23816
23884
|
export declare const ScalarFieldSchemaResponseTypeEnum: {
|
|
23817
23885
|
readonly STRING: "string";
|
|
@@ -44287,6 +44355,15 @@ export declare const MCPServersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
44287
44355
|
* @throws {RequiredError}
|
|
44288
44356
|
*/
|
|
44289
44357
|
createMcpServer: (organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44358
|
+
/**
|
|
44359
|
+
* 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.
|
|
44360
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44361
|
+
* @param {string} organizationId Organization ID
|
|
44362
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44363
|
+
* @param {*} [options] Override http request option.
|
|
44364
|
+
* @throws {RequiredError}
|
|
44365
|
+
*/
|
|
44366
|
+
createQoveryMcpServer: (organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44290
44367
|
/**
|
|
44291
44368
|
* Delete a remote MCP server configuration.
|
|
44292
44369
|
* @summary Delete an MCP server
|
|
@@ -44335,6 +44412,15 @@ export declare const MCPServersApiFp: (configuration?: Configuration) => {
|
|
|
44335
44412
|
* @throws {RequiredError}
|
|
44336
44413
|
*/
|
|
44337
44414
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>>;
|
|
44415
|
+
/**
|
|
44416
|
+
* 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.
|
|
44417
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44418
|
+
* @param {string} organizationId Organization ID
|
|
44419
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44420
|
+
* @param {*} [options] Override http request option.
|
|
44421
|
+
* @throws {RequiredError}
|
|
44422
|
+
*/
|
|
44423
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>>;
|
|
44338
44424
|
/**
|
|
44339
44425
|
* Delete a remote MCP server configuration.
|
|
44340
44426
|
* @summary Delete an MCP server
|
|
@@ -44383,6 +44469,15 @@ export declare const MCPServersApiFactory: (configuration?: Configuration, baseP
|
|
|
44383
44469
|
* @throws {RequiredError}
|
|
44384
44470
|
*/
|
|
44385
44471
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse>;
|
|
44472
|
+
/**
|
|
44473
|
+
* 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.
|
|
44474
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44475
|
+
* @param {string} organizationId Organization ID
|
|
44476
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44477
|
+
* @param {*} [options] Override http request option.
|
|
44478
|
+
* @throws {RequiredError}
|
|
44479
|
+
*/
|
|
44480
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse>;
|
|
44386
44481
|
/**
|
|
44387
44482
|
* Delete a remote MCP server configuration.
|
|
44388
44483
|
* @summary Delete an MCP server
|
|
@@ -44434,6 +44529,16 @@ export declare class MCPServersApi extends BaseAPI {
|
|
|
44434
44529
|
* @memberof MCPServersApi
|
|
44435
44530
|
*/
|
|
44436
44531
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpServerResponse, any, {}>>;
|
|
44532
|
+
/**
|
|
44533
|
+
* 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.
|
|
44534
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44535
|
+
* @param {string} organizationId Organization ID
|
|
44536
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44537
|
+
* @param {*} [options] Override http request option.
|
|
44538
|
+
* @throws {RequiredError}
|
|
44539
|
+
* @memberof MCPServersApi
|
|
44540
|
+
*/
|
|
44541
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpServerResponse, any, {}>>;
|
|
44437
44542
|
/**
|
|
44438
44543
|
* Delete a remote MCP server configuration.
|
|
44439
44544
|
* @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
|
@@ -14605,6 +14605,31 @@ export type FieldSchemaResponse = {
|
|
|
14605
14605
|
} & ObjectFieldSchemaResponse | {
|
|
14606
14606
|
type: 'string';
|
|
14607
14607
|
} & ScalarFieldSchemaResponse;
|
|
14608
|
+
/**
|
|
14609
|
+
* A catalog-owned starting text for a field editor, not an applied default.
|
|
14610
|
+
* @export
|
|
14611
|
+
* @interface FieldTemplateResponse
|
|
14612
|
+
*/
|
|
14613
|
+
export interface FieldTemplateResponse {
|
|
14614
|
+
/**
|
|
14615
|
+
*
|
|
14616
|
+
* @type {string}
|
|
14617
|
+
* @memberof FieldTemplateResponse
|
|
14618
|
+
*/
|
|
14619
|
+
'id': string;
|
|
14620
|
+
/**
|
|
14621
|
+
*
|
|
14622
|
+
* @type {string}
|
|
14623
|
+
* @memberof FieldTemplateResponse
|
|
14624
|
+
*/
|
|
14625
|
+
'label': string;
|
|
14626
|
+
/**
|
|
14627
|
+
*
|
|
14628
|
+
* @type {string}
|
|
14629
|
+
* @memberof FieldTemplateResponse
|
|
14630
|
+
*/
|
|
14631
|
+
'value': string;
|
|
14632
|
+
}
|
|
14608
14633
|
/**
|
|
14609
14634
|
* @type GcpCredentialsRequest
|
|
14610
14635
|
* @export
|
|
@@ -22331,6 +22356,18 @@ export interface PlatformComponentInputRequirementResponse {
|
|
|
22331
22356
|
* @memberof PlatformComponentInputRequirementResponse
|
|
22332
22357
|
*/
|
|
22333
22358
|
'constraints': FieldSchemaConstraintsResponse;
|
|
22359
|
+
/**
|
|
22360
|
+
* Optional editor format for a string field, independent of its scalar type. kubernetes-resource-yaml selects a single Kubernetes YAML object editor. Unknown formats should fall back to the ordinary string editor.
|
|
22361
|
+
* @type {string}
|
|
22362
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
22363
|
+
*/
|
|
22364
|
+
'format'?: string;
|
|
22365
|
+
/**
|
|
22366
|
+
* Optional starting texts for an explicit user choice, with unique IDs within the field. Present only with format. Never apply as defaults or overwrite a saved value. The format selects the editor even when templates are absent.
|
|
22367
|
+
* @type {Array<FieldTemplateResponse>}
|
|
22368
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
22369
|
+
*/
|
|
22370
|
+
'templates'?: Array<FieldTemplateResponse>;
|
|
22334
22371
|
/**
|
|
22335
22372
|
*
|
|
22336
22373
|
* @type {PlatformComponentConfigurationInputScope}
|
|
@@ -23130,6 +23167,25 @@ export interface QoveryIpsResponse {
|
|
|
23130
23167
|
*/
|
|
23131
23168
|
'ips': Array<string>;
|
|
23132
23169
|
}
|
|
23170
|
+
/**
|
|
23171
|
+
*
|
|
23172
|
+
* @export
|
|
23173
|
+
* @interface QoveryMcpServerRequest
|
|
23174
|
+
*/
|
|
23175
|
+
export interface QoveryMcpServerRequest {
|
|
23176
|
+
/**
|
|
23177
|
+
*
|
|
23178
|
+
* @type {string}
|
|
23179
|
+
* @memberof QoveryMcpServerRequest
|
|
23180
|
+
*/
|
|
23181
|
+
'name'?: string;
|
|
23182
|
+
/**
|
|
23183
|
+
*
|
|
23184
|
+
* @type {string}
|
|
23185
|
+
* @memberof QoveryMcpServerRequest
|
|
23186
|
+
*/
|
|
23187
|
+
'description'?: string;
|
|
23188
|
+
}
|
|
23133
23189
|
/**
|
|
23134
23190
|
*
|
|
23135
23191
|
* @export
|
|
@@ -23812,6 +23868,18 @@ export interface ScalarFieldSchemaResponse {
|
|
|
23812
23868
|
* @memberof ScalarFieldSchemaResponse
|
|
23813
23869
|
*/
|
|
23814
23870
|
'constraints': FieldSchemaConstraintsResponse;
|
|
23871
|
+
/**
|
|
23872
|
+
* Optional editor format for a string field, independent of its scalar type. kubernetes-resource-yaml selects a single Kubernetes YAML object editor. Unknown formats should fall back to the ordinary string editor.
|
|
23873
|
+
* @type {string}
|
|
23874
|
+
* @memberof ScalarFieldSchemaResponse
|
|
23875
|
+
*/
|
|
23876
|
+
'format'?: string;
|
|
23877
|
+
/**
|
|
23878
|
+
* Optional starting texts for an explicit user choice, with unique IDs within the field. Present only with format. Never apply as defaults or overwrite a saved value. The format selects the editor even when templates are absent.
|
|
23879
|
+
* @type {Array<FieldTemplateResponse>}
|
|
23880
|
+
* @memberof ScalarFieldSchemaResponse
|
|
23881
|
+
*/
|
|
23882
|
+
'templates'?: Array<FieldTemplateResponse>;
|
|
23815
23883
|
}
|
|
23816
23884
|
export declare const ScalarFieldSchemaResponseTypeEnum: {
|
|
23817
23885
|
readonly STRING: "string";
|
|
@@ -44287,6 +44355,15 @@ export declare const MCPServersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
44287
44355
|
* @throws {RequiredError}
|
|
44288
44356
|
*/
|
|
44289
44357
|
createMcpServer: (organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44358
|
+
/**
|
|
44359
|
+
* 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.
|
|
44360
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44361
|
+
* @param {string} organizationId Organization ID
|
|
44362
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44363
|
+
* @param {*} [options] Override http request option.
|
|
44364
|
+
* @throws {RequiredError}
|
|
44365
|
+
*/
|
|
44366
|
+
createQoveryMcpServer: (organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44290
44367
|
/**
|
|
44291
44368
|
* Delete a remote MCP server configuration.
|
|
44292
44369
|
* @summary Delete an MCP server
|
|
@@ -44335,6 +44412,15 @@ export declare const MCPServersApiFp: (configuration?: Configuration) => {
|
|
|
44335
44412
|
* @throws {RequiredError}
|
|
44336
44413
|
*/
|
|
44337
44414
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>>;
|
|
44415
|
+
/**
|
|
44416
|
+
* 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.
|
|
44417
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44418
|
+
* @param {string} organizationId Organization ID
|
|
44419
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44420
|
+
* @param {*} [options] Override http request option.
|
|
44421
|
+
* @throws {RequiredError}
|
|
44422
|
+
*/
|
|
44423
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>>;
|
|
44338
44424
|
/**
|
|
44339
44425
|
* Delete a remote MCP server configuration.
|
|
44340
44426
|
* @summary Delete an MCP server
|
|
@@ -44383,6 +44469,15 @@ export declare const MCPServersApiFactory: (configuration?: Configuration, baseP
|
|
|
44383
44469
|
* @throws {RequiredError}
|
|
44384
44470
|
*/
|
|
44385
44471
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse>;
|
|
44472
|
+
/**
|
|
44473
|
+
* 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.
|
|
44474
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44475
|
+
* @param {string} organizationId Organization ID
|
|
44476
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44477
|
+
* @param {*} [options] Override http request option.
|
|
44478
|
+
* @throws {RequiredError}
|
|
44479
|
+
*/
|
|
44480
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse>;
|
|
44386
44481
|
/**
|
|
44387
44482
|
* Delete a remote MCP server configuration.
|
|
44388
44483
|
* @summary Delete an MCP server
|
|
@@ -44434,6 +44529,16 @@ export declare class MCPServersApi extends BaseAPI {
|
|
|
44434
44529
|
* @memberof MCPServersApi
|
|
44435
44530
|
*/
|
|
44436
44531
|
createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpServerResponse, any, {}>>;
|
|
44532
|
+
/**
|
|
44533
|
+
* 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.
|
|
44534
|
+
* @summary Create a read-only Qovery MCP connector
|
|
44535
|
+
* @param {string} organizationId Organization ID
|
|
44536
|
+
* @param {QoveryMcpServerRequest} [qoveryMcpServerRequest]
|
|
44537
|
+
* @param {*} [options] Override http request option.
|
|
44538
|
+
* @throws {RequiredError}
|
|
44539
|
+
* @memberof MCPServersApi
|
|
44540
|
+
*/
|
|
44541
|
+
createQoveryMcpServer(organizationId: string, qoveryMcpServerRequest?: QoveryMcpServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpServerResponse, any, {}>>;
|
|
44437
44542
|
/**
|
|
44438
44543
|
* Delete a remote MCP server configuration.
|
|
44439
44544
|
* @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
|