qovery-typescript-axios 1.1.973 → 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 CHANGED
@@ -23867,6 +23867,25 @@ export interface QoveryIpsResponse {
23867
23867
  */
23868
23868
  'ips': Array<string>;
23869
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
+ }
23870
23889
  /**
23871
23890
  *
23872
23891
  * @export
@@ -65222,6 +65241,51 @@ export const MCPServersApiAxiosParamCreator = function (configuration?: Configur
65222
65241
  options: localVarRequestOptions,
65223
65242
  };
65224
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
+ },
65225
65289
  /**
65226
65290
  * Delete a remote MCP server configuration.
65227
65291
  * @summary Delete an MCP server
@@ -65416,6 +65480,20 @@ export const MCPServersApiFp = function(configuration?: Configuration) {
65416
65480
  const localVarOperationServerBasePath = operationServerMap['MCPServersApi.createMcpServer']?.[localVarOperationServerIndex]?.url;
65417
65481
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65418
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
+ },
65419
65497
  /**
65420
65498
  * Delete a remote MCP server configuration.
65421
65499
  * @summary Delete an MCP server
@@ -65490,6 +65568,17 @@ export const MCPServersApiFactory = function (configuration?: Configuration, bas
65490
65568
  createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
65491
65569
  return localVarFp.createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(axios, basePath));
65492
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
+ },
65493
65582
  /**
65494
65583
  * Delete a remote MCP server configuration.
65495
65584
  * @summary Delete an MCP server
@@ -65554,6 +65643,19 @@ export class MCPServersApi extends BaseAPI {
65554
65643
  return MCPServersApiFp(this.configuration).createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
65555
65644
  }
65556
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
+
65557
65659
  /**
65558
65660
  * Delete a remote MCP server configuration.
65559
65661
  * @summary Delete an MCP server
package/dist/api.d.ts CHANGED
@@ -23167,6 +23167,25 @@ export interface QoveryIpsResponse {
23167
23167
  */
23168
23168
  'ips': Array<string>;
23169
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
+ }
23170
23189
  /**
23171
23190
  *
23172
23191
  * @export
@@ -44336,6 +44355,15 @@ export declare const MCPServersApiAxiosParamCreator: (configuration?: Configurat
44336
44355
  * @throws {RequiredError}
44337
44356
  */
44338
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>;
44339
44367
  /**
44340
44368
  * Delete a remote MCP server configuration.
44341
44369
  * @summary Delete an MCP server
@@ -44384,6 +44412,15 @@ export declare const MCPServersApiFp: (configuration?: Configuration) => {
44384
44412
  * @throws {RequiredError}
44385
44413
  */
44386
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>>;
44387
44424
  /**
44388
44425
  * Delete a remote MCP server configuration.
44389
44426
  * @summary Delete an MCP server
@@ -44432,6 +44469,15 @@ export declare const MCPServersApiFactory: (configuration?: Configuration, baseP
44432
44469
  * @throws {RequiredError}
44433
44470
  */
44434
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>;
44435
44481
  /**
44436
44482
  * Delete a remote MCP server configuration.
44437
44483
  * @summary Delete an MCP server
@@ -44483,6 +44529,16 @@ export declare class MCPServersApi extends BaseAPI {
44483
44529
  * @memberof MCPServersApi
44484
44530
  */
44485
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, {}>>;
44486
44542
  /**
44487
44543
  * Delete a remote MCP server configuration.
44488
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
@@ -23167,6 +23167,25 @@ export interface QoveryIpsResponse {
23167
23167
  */
23168
23168
  'ips': Array<string>;
23169
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
+ }
23170
23189
  /**
23171
23190
  *
23172
23191
  * @export
@@ -44336,6 +44355,15 @@ export declare const MCPServersApiAxiosParamCreator: (configuration?: Configurat
44336
44355
  * @throws {RequiredError}
44337
44356
  */
44338
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>;
44339
44367
  /**
44340
44368
  * Delete a remote MCP server configuration.
44341
44369
  * @summary Delete an MCP server
@@ -44384,6 +44412,15 @@ export declare const MCPServersApiFp: (configuration?: Configuration) => {
44384
44412
  * @throws {RequiredError}
44385
44413
  */
44386
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>>;
44387
44424
  /**
44388
44425
  * Delete a remote MCP server configuration.
44389
44426
  * @summary Delete an MCP server
@@ -44432,6 +44469,15 @@ export declare const MCPServersApiFactory: (configuration?: Configuration, baseP
44432
44469
  * @throws {RequiredError}
44433
44470
  */
44434
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>;
44435
44481
  /**
44436
44482
  * Delete a remote MCP server configuration.
44437
44483
  * @summary Delete an MCP server
@@ -44483,6 +44529,16 @@ export declare class MCPServersApi extends BaseAPI {
44483
44529
  * @memberof MCPServersApi
44484
44530
  */
44485
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, {}>>;
44486
44542
  /**
44487
44543
  * Delete a remote MCP server configuration.
44488
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.973",
3
+ "version": "v1.1.974",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {