qovery-typescript-axios 1.1.968 → 1.1.970

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/dist/esm/api.js CHANGED
@@ -425,6 +425,10 @@ export const ClusterDeleteMode = {
425
425
  DELETE_CLUSTER_AND_QOVERY_CONFIG: 'DELETE_CLUSTER_AND_QOVERY_CONFIG',
426
426
  DELETE_QOVERY_CONFIG: 'DELETE_QOVERY_CONFIG'
427
427
  };
428
+ export const ClusterDeploymentHistoryReasonEnum = {
429
+ UNSPECIFIED: 'UNSPECIFIED',
430
+ MAINTENANCE: 'MAINTENANCE'
431
+ };
428
432
  /**
429
433
  *
430
434
  * @export
@@ -669,7 +673,8 @@ export const DeploymentHistoryActionStatus = {
669
673
  ERROR: 'ERROR',
670
674
  CANCELED: 'CANCELED',
671
675
  CANCELING: 'CANCELING',
672
- NEVER: 'NEVER'
676
+ NEVER: 'NEVER',
677
+ EXECUTING: 'EXECUTING'
673
678
  };
674
679
  export const DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = {
675
680
  CRON: 'CRON',
@@ -1037,6 +1042,15 @@ export const LinkedServiceTypeEnum = {
1037
1042
  HELM: 'HELM',
1038
1043
  TERRAFORM: 'TERRAFORM'
1039
1044
  };
1045
+ /**
1046
+ * ORGANIZATION: usable by every member who can edit an agentic workflow. USER: personal to the member who created it; only that member can attach or edit it.
1047
+ * @export
1048
+ * @enum {string}
1049
+ */
1050
+ export const McpServerScope = {
1051
+ ORGANIZATION: 'ORGANIZATION',
1052
+ USER: 'USER'
1053
+ };
1040
1054
  export const MetricsConfigurationManagedByQoveryKindEnum = {
1041
1055
  MANAGED_BY_QOVERY: 'MANAGED_BY_QOVERY'
1042
1056
  };
@@ -13690,6 +13704,210 @@ export class CloudProviderCredentialsApi extends BaseAPI {
13690
13704
  return CloudProviderCredentialsApiFp(this.configuration).listScalewayCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
13691
13705
  }
13692
13706
  }
13707
+ /**
13708
+ * ClusterDeploymentHistoryApi - axios parameter creator
13709
+ * @export
13710
+ */
13711
+ export const ClusterDeploymentHistoryApiAxiosParamCreator = function (configuration) {
13712
+ return {
13713
+ /**
13714
+ * List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
13715
+ * @summary List cluster deployments
13716
+ * @param {string} organizationId Organization ID
13717
+ * @param {string} clusterId Cluster ID
13718
+ * @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
13719
+ * @param {*} [options] Override http request option.
13720
+ * @throws {RequiredError}
13721
+ */
13722
+ listClusterDeploymentHistoryV2: (organizationId_1, clusterId_1, pageSize_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, pageSize_1, ...args_1], void 0, function* (organizationId, clusterId, pageSize, options = {}) {
13723
+ // verify required parameter 'organizationId' is not null or undefined
13724
+ assertParamExists('listClusterDeploymentHistoryV2', 'organizationId', organizationId);
13725
+ // verify required parameter 'clusterId' is not null or undefined
13726
+ assertParamExists('listClusterDeploymentHistoryV2', 'clusterId', clusterId);
13727
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/deploymentHistoryV2`
13728
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
13729
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
13730
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13731
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13732
+ let baseOptions;
13733
+ if (configuration) {
13734
+ baseOptions = configuration.baseOptions;
13735
+ }
13736
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
13737
+ const localVarHeaderParameter = {};
13738
+ const localVarQueryParameter = {};
13739
+ // authentication ApiKeyAuth required
13740
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
13741
+ // authentication bearerAuth required
13742
+ // http bearer authentication required
13743
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13744
+ if (pageSize !== undefined) {
13745
+ localVarQueryParameter['pageSize'] = pageSize;
13746
+ }
13747
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13749
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13750
+ return {
13751
+ url: toPathString(localVarUrlObj),
13752
+ options: localVarRequestOptions,
13753
+ };
13754
+ }),
13755
+ /**
13756
+ * List the logs of a specific cluster deployment
13757
+ * @summary List logs for a specific cluster deployment
13758
+ * @param {string} organizationId Organization ID
13759
+ * @param {string} clusterId Cluster ID
13760
+ * @param {string} deploymentId Deployment ID
13761
+ * @param {*} [options] Override http request option.
13762
+ * @throws {RequiredError}
13763
+ */
13764
+ listClusterDeploymentLogs: (organizationId_1, clusterId_1, deploymentId_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, deploymentId_1, ...args_1], void 0, function* (organizationId, clusterId, deploymentId, options = {}) {
13765
+ // verify required parameter 'organizationId' is not null or undefined
13766
+ assertParamExists('listClusterDeploymentLogs', 'organizationId', organizationId);
13767
+ // verify required parameter 'clusterId' is not null or undefined
13768
+ assertParamExists('listClusterDeploymentLogs', 'clusterId', clusterId);
13769
+ // verify required parameter 'deploymentId' is not null or undefined
13770
+ assertParamExists('listClusterDeploymentLogs', 'deploymentId', deploymentId);
13771
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/deployment/{deploymentId}/logs`
13772
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
13773
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
13774
+ .replace(`{${"deploymentId"}}`, encodeURIComponent(String(deploymentId)));
13775
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13776
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13777
+ let baseOptions;
13778
+ if (configuration) {
13779
+ baseOptions = configuration.baseOptions;
13780
+ }
13781
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
13782
+ const localVarHeaderParameter = {};
13783
+ const localVarQueryParameter = {};
13784
+ // authentication ApiKeyAuth required
13785
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
13786
+ // authentication bearerAuth required
13787
+ // http bearer authentication required
13788
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13789
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13790
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13791
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13792
+ return {
13793
+ url: toPathString(localVarUrlObj),
13794
+ options: localVarRequestOptions,
13795
+ };
13796
+ }),
13797
+ };
13798
+ };
13799
+ /**
13800
+ * ClusterDeploymentHistoryApi - functional programming interface
13801
+ * @export
13802
+ */
13803
+ export const ClusterDeploymentHistoryApiFp = function (configuration) {
13804
+ const localVarAxiosParamCreator = ClusterDeploymentHistoryApiAxiosParamCreator(configuration);
13805
+ return {
13806
+ /**
13807
+ * List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
13808
+ * @summary List cluster deployments
13809
+ * @param {string} organizationId Organization ID
13810
+ * @param {string} clusterId Cluster ID
13811
+ * @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
13812
+ * @param {*} [options] Override http request option.
13813
+ * @throws {RequiredError}
13814
+ */
13815
+ listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options) {
13816
+ return __awaiter(this, void 0, void 0, function* () {
13817
+ var _a, _b, _c;
13818
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options);
13819
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13820
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClusterDeploymentHistoryApi.listClusterDeploymentHistoryV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13821
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13822
+ });
13823
+ },
13824
+ /**
13825
+ * List the logs of a specific cluster deployment
13826
+ * @summary List logs for a specific cluster deployment
13827
+ * @param {string} organizationId Organization ID
13828
+ * @param {string} clusterId Cluster ID
13829
+ * @param {string} deploymentId Deployment ID
13830
+ * @param {*} [options] Override http request option.
13831
+ * @throws {RequiredError}
13832
+ */
13833
+ listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options) {
13834
+ return __awaiter(this, void 0, void 0, function* () {
13835
+ var _a, _b, _c;
13836
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options);
13837
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13838
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClusterDeploymentHistoryApi.listClusterDeploymentLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13839
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13840
+ });
13841
+ },
13842
+ };
13843
+ };
13844
+ /**
13845
+ * ClusterDeploymentHistoryApi - factory interface
13846
+ * @export
13847
+ */
13848
+ export const ClusterDeploymentHistoryApiFactory = function (configuration, basePath, axios) {
13849
+ const localVarFp = ClusterDeploymentHistoryApiFp(configuration);
13850
+ return {
13851
+ /**
13852
+ * List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
13853
+ * @summary List cluster deployments
13854
+ * @param {string} organizationId Organization ID
13855
+ * @param {string} clusterId Cluster ID
13856
+ * @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
13857
+ * @param {*} [options] Override http request option.
13858
+ * @throws {RequiredError}
13859
+ */
13860
+ listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options) {
13861
+ return localVarFp.listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options).then((request) => request(axios, basePath));
13862
+ },
13863
+ /**
13864
+ * List the logs of a specific cluster deployment
13865
+ * @summary List logs for a specific cluster deployment
13866
+ * @param {string} organizationId Organization ID
13867
+ * @param {string} clusterId Cluster ID
13868
+ * @param {string} deploymentId Deployment ID
13869
+ * @param {*} [options] Override http request option.
13870
+ * @throws {RequiredError}
13871
+ */
13872
+ listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options) {
13873
+ return localVarFp.listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options).then((request) => request(axios, basePath));
13874
+ },
13875
+ };
13876
+ };
13877
+ /**
13878
+ * ClusterDeploymentHistoryApi - object-oriented interface
13879
+ * @export
13880
+ * @class ClusterDeploymentHistoryApi
13881
+ * @extends {BaseAPI}
13882
+ */
13883
+ export class ClusterDeploymentHistoryApi extends BaseAPI {
13884
+ /**
13885
+ * List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
13886
+ * @summary List cluster deployments
13887
+ * @param {string} organizationId Organization ID
13888
+ * @param {string} clusterId Cluster ID
13889
+ * @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
13890
+ * @param {*} [options] Override http request option.
13891
+ * @throws {RequiredError}
13892
+ * @memberof ClusterDeploymentHistoryApi
13893
+ */
13894
+ listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options) {
13895
+ return ClusterDeploymentHistoryApiFp(this.configuration).listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options).then((request) => request(this.axios, this.basePath));
13896
+ }
13897
+ /**
13898
+ * List the logs of a specific cluster deployment
13899
+ * @summary List logs for a specific cluster deployment
13900
+ * @param {string} organizationId Organization ID
13901
+ * @param {string} clusterId Cluster ID
13902
+ * @param {string} deploymentId Deployment ID
13903
+ * @param {*} [options] Override http request option.
13904
+ * @throws {RequiredError}
13905
+ * @memberof ClusterDeploymentHistoryApi
13906
+ */
13907
+ listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options) {
13908
+ return ClusterDeploymentHistoryApiFp(this.configuration).listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options).then((request) => request(this.axios, this.basePath));
13909
+ }
13910
+ }
13693
13911
  /**
13694
13912
  * ClusterOperatorApi - axios parameter creator
13695
13913
  * @export
@@ -15235,11 +15453,12 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
15235
15453
  };
15236
15454
  }),
15237
15455
  /**
15238
- * List Cluster Logs
15456
+ * List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
15239
15457
  * @summary List Cluster Logs
15240
15458
  * @param {string} organizationId Organization ID
15241
15459
  * @param {string} clusterId Cluster ID
15242
15460
  * @param {*} [options] Override http request option.
15461
+ * @deprecated
15243
15462
  * @throws {RequiredError}
15244
15463
  */
15245
15464
  listClusterLogs: (organizationId_1, clusterId_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, ...args_1], void 0, function* (organizationId, clusterId, options = {}) {
@@ -16134,11 +16353,12 @@ export const ClustersApiFp = function (configuration) {
16134
16353
  });
16135
16354
  },
16136
16355
  /**
16137
- * List Cluster Logs
16356
+ * List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
16138
16357
  * @summary List Cluster Logs
16139
16358
  * @param {string} organizationId Organization ID
16140
16359
  * @param {string} clusterId Cluster ID
16141
16360
  * @param {*} [options] Override http request option.
16361
+ * @deprecated
16142
16362
  * @throws {RequiredError}
16143
16363
  */
16144
16364
  listClusterLogs(organizationId, clusterId, options) {
@@ -16647,11 +16867,12 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
16647
16867
  return localVarFp.listClusterAnalysisLogs(clusterId, analysisId, options).then((request) => request(axios, basePath));
16648
16868
  },
16649
16869
  /**
16650
- * List Cluster Logs
16870
+ * List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
16651
16871
  * @summary List Cluster Logs
16652
16872
  * @param {string} organizationId Organization ID
16653
16873
  * @param {string} clusterId Cluster ID
16654
16874
  * @param {*} [options] Override http request option.
16875
+ * @deprecated
16655
16876
  * @throws {RequiredError}
16656
16877
  */
16657
16878
  listClusterLogs(organizationId, clusterId, options) {
@@ -17120,11 +17341,12 @@ export class ClustersApi extends BaseAPI {
17120
17341
  return ClustersApiFp(this.configuration).listClusterAnalysisLogs(clusterId, analysisId, options).then((request) => request(this.axios, this.basePath));
17121
17342
  }
17122
17343
  /**
17123
- * List Cluster Logs
17344
+ * List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
17124
17345
  * @summary List Cluster Logs
17125
17346
  * @param {string} organizationId Organization ID
17126
17347
  * @param {string} clusterId Cluster ID
17127
17348
  * @param {*} [options] Override http request option.
17349
+ * @deprecated
17128
17350
  * @throws {RequiredError}
17129
17351
  * @memberof ClustersApi
17130
17352
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.968",
3
+ "version": "v1.1.970",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {