kb-cloud-client-typescript 2.4.0-alpha.104 → 2.4.0-alpha.106

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.
Files changed (61) hide show
  1. package/dist/adminapi/apis/aiagent-api.d.ts +6 -6
  2. package/dist/adminapi/apis/aiagent-api.js +4 -4
  3. package/dist/adminapi/apis/alert-rule-api.d.ts +223 -0
  4. package/dist/adminapi/apis/alert-rule-api.d.ts.map +1 -1
  5. package/dist/adminapi/apis/alert-rule-api.js +241 -0
  6. package/dist/adminapi/apis/alert-rule-api.js.map +1 -1
  7. package/dist/adminapi/apis/shared-api.d.ts +222 -0
  8. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/shared-api.js +241 -0
  10. package/dist/adminapi/apis/shared-api.js.map +1 -1
  11. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +12 -0
  12. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
  13. package/dist/adminapi/models/alert-resource-type.d.ts +22 -0
  14. package/dist/adminapi/models/alert-resource-type.d.ts.map +1 -0
  15. package/dist/adminapi/models/alert-resource-type.js +26 -0
  16. package/dist/adminapi/models/alert-resource-type.js.map +1 -0
  17. package/dist/adminapi/models/index.d.ts +1 -0
  18. package/dist/adminapi/models/index.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.js +1 -0
  20. package/dist/adminapi/models/index.js.map +1 -1
  21. package/dist/adminapi/models/inspection-task.d.ts +2 -2
  22. package/dist/openapi/apis/aiagent-api.d.ts +6 -6
  23. package/dist/openapi/apis/aiagent-api.js +4 -4
  24. package/dist/openapi/apis/alert-rule-api.d.ts +223 -0
  25. package/dist/openapi/apis/alert-rule-api.d.ts.map +1 -1
  26. package/dist/openapi/apis/alert-rule-api.js +241 -0
  27. package/dist/openapi/apis/alert-rule-api.js.map +1 -1
  28. package/dist/openapi/apis/shared-api.d.ts +222 -0
  29. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  30. package/dist/openapi/apis/shared-api.js +241 -0
  31. package/dist/openapi/apis/shared-api.js.map +1 -1
  32. package/dist/openapi/models/ai-agent-turn-action-list.d.ts +12 -0
  33. package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
  34. package/dist/openapi/models/alert-resource-type.d.ts +22 -0
  35. package/dist/openapi/models/alert-resource-type.d.ts.map +1 -0
  36. package/dist/openapi/models/alert-resource-type.js +26 -0
  37. package/dist/openapi/models/alert-resource-type.js.map +1 -0
  38. package/dist/openapi/models/index.d.ts +1 -0
  39. package/dist/openapi/models/index.d.ts.map +1 -1
  40. package/dist/openapi/models/index.js +1 -0
  41. package/dist/openapi/models/index.js.map +1 -1
  42. package/dist/openapi/models/inspection-task.d.ts +2 -2
  43. package/package.json +1 -1
  44. package/src/adminapi/.openapi-generator/FILES +1 -0
  45. package/src/adminapi/apis/aiagent-api.ts +6 -6
  46. package/src/adminapi/apis/alert-rule-api.ts +388 -0
  47. package/src/adminapi/apis/shared-api.ts +386 -0
  48. package/src/adminapi/models/ai-agent-turn-action-list.ts +12 -0
  49. package/src/adminapi/models/alert-resource-type.ts +31 -0
  50. package/src/adminapi/models/index.ts +1 -0
  51. package/src/adminapi/models/inspection-task.ts +2 -2
  52. package/src/adminapi.yaml +145 -14
  53. package/src/openapi/.openapi-generator/FILES +1 -0
  54. package/src/openapi/apis/aiagent-api.ts +6 -6
  55. package/src/openapi/apis/alert-rule-api.ts +388 -0
  56. package/src/openapi/apis/shared-api.ts +386 -0
  57. package/src/openapi/models/ai-agent-turn-action-list.ts +12 -0
  58. package/src/openapi/models/alert-resource-type.ts +31 -0
  59. package/src/openapi/models/index.ts +1 -0
  60. package/src/openapi/models/inspection-task.ts +2 -2
  61. package/src/openapi.yaml +145 -14
@@ -6290,6 +6290,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
6290
6290
  options: localVarRequestOptions,
6291
6291
  };
6292
6292
  },
6293
+ /**
6294
+ *
6295
+ * @summary Get resource alert settings
6296
+ * @param {string} orgName name of the Org
6297
+ * @param {AlertResourceType} resourceType resourceType
6298
+ * @param {string} resourceID
6299
+ * @param {*} [options] Override http request option.
6300
+ * @throws {RequiredError}
6301
+ */
6302
+ getResourceAlertDisabled: async (orgName, resourceType, resourceID, options = {}) => {
6303
+ // verify required parameter 'orgName' is not null or undefined
6304
+ (0, common_1.assertParamExists)('getResourceAlertDisabled', 'orgName', orgName);
6305
+ // verify required parameter 'resourceType' is not null or undefined
6306
+ (0, common_1.assertParamExists)('getResourceAlertDisabled', 'resourceType', resourceType);
6307
+ // verify required parameter 'resourceID' is not null or undefined
6308
+ (0, common_1.assertParamExists)('getResourceAlertDisabled', 'resourceID', resourceID);
6309
+ const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
6310
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6311
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
6312
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
6313
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6314
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6315
+ let baseOptions;
6316
+ if (configuration) {
6317
+ baseOptions = configuration.baseOptions;
6318
+ }
6319
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6320
+ const localVarHeaderParameter = {};
6321
+ const localVarQueryParameter = {};
6322
+ // authentication BearerToken required
6323
+ // http bearer authentication required
6324
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6325
+ // authentication DigestAuth required
6326
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6327
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6328
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6329
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6330
+ return {
6331
+ url: (0, common_1.toPathString)(localVarUrlObj),
6332
+ options: localVarRequestOptions,
6333
+ };
6334
+ },
6293
6335
  /**
6294
6336
  *
6295
6337
  * @summary get restore workload logs of the cluster
@@ -9861,6 +9903,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
9861
9903
  options: localVarRequestOptions,
9862
9904
  };
9863
9905
  },
9906
+ /**
9907
+ *
9908
+ * @summary List applicable alert rules for a resource
9909
+ * @param {string} orgName name of the Org
9910
+ * @param {AlertResourceType} resourceType resourceType
9911
+ * @param {string} resourceID
9912
+ * @param {*} [options] Override http request option.
9913
+ * @throws {RequiredError}
9914
+ */
9915
+ listResourceAlertRules: async (orgName, resourceType, resourceID, options = {}) => {
9916
+ // verify required parameter 'orgName' is not null or undefined
9917
+ (0, common_1.assertParamExists)('listResourceAlertRules', 'orgName', orgName);
9918
+ // verify required parameter 'resourceType' is not null or undefined
9919
+ (0, common_1.assertParamExists)('listResourceAlertRules', 'resourceType', resourceType);
9920
+ // verify required parameter 'resourceID' is not null or undefined
9921
+ (0, common_1.assertParamExists)('listResourceAlertRules', 'resourceID', resourceID);
9922
+ const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}/rules`
9923
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9924
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
9925
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
9926
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9927
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9928
+ let baseOptions;
9929
+ if (configuration) {
9930
+ baseOptions = configuration.baseOptions;
9931
+ }
9932
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9933
+ const localVarHeaderParameter = {};
9934
+ const localVarQueryParameter = {};
9935
+ // authentication BearerToken required
9936
+ // http bearer authentication required
9937
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9938
+ // authentication DigestAuth required
9939
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9940
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9941
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9942
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9943
+ return {
9944
+ url: (0, common_1.toPathString)(localVarUrlObj),
9945
+ options: localVarRequestOptions,
9946
+ };
9947
+ },
9864
9948
  /**
9865
9949
  * List permissions of a role
9866
9950
  * @summary List permissions of a role
@@ -13740,6 +13824,51 @@ const SharedApiAxiosParamCreator = function (configuration) {
13740
13824
  options: localVarRequestOptions,
13741
13825
  };
13742
13826
  },
13827
+ /**
13828
+ *
13829
+ * @summary Update resource alert settings
13830
+ * @param {string} orgName name of the Org
13831
+ * @param {AlertResourceType} resourceType resourceType
13832
+ * @param {string} resourceID
13833
+ * @param {AlertCluster} [alertCluster]
13834
+ * @param {*} [options] Override http request option.
13835
+ * @throws {RequiredError}
13836
+ */
13837
+ setResourceAlertDisabled: async (orgName, resourceType, resourceID, alertCluster, options = {}) => {
13838
+ // verify required parameter 'orgName' is not null or undefined
13839
+ (0, common_1.assertParamExists)('setResourceAlertDisabled', 'orgName', orgName);
13840
+ // verify required parameter 'resourceType' is not null or undefined
13841
+ (0, common_1.assertParamExists)('setResourceAlertDisabled', 'resourceType', resourceType);
13842
+ // verify required parameter 'resourceID' is not null or undefined
13843
+ (0, common_1.assertParamExists)('setResourceAlertDisabled', 'resourceID', resourceID);
13844
+ const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
13845
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13846
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
13847
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
13848
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13849
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13850
+ let baseOptions;
13851
+ if (configuration) {
13852
+ baseOptions = configuration.baseOptions;
13853
+ }
13854
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
13855
+ const localVarHeaderParameter = {};
13856
+ const localVarQueryParameter = {};
13857
+ // authentication BearerToken required
13858
+ // http bearer authentication required
13859
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
13860
+ // authentication DigestAuth required
13861
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13862
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13863
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13864
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13865
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13866
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertCluster, localVarRequestOptions, configuration);
13867
+ return {
13868
+ url: (0, common_1.toPathString)(localVarUrlObj),
13869
+ options: localVarRequestOptions,
13870
+ };
13871
+ },
13743
13872
  /**
13744
13873
  *
13745
13874
  * @summary read data of table or view
@@ -18208,6 +18337,22 @@ const SharedApiFp = function (configuration) {
18208
18337
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getRecycleBinCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18209
18338
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18210
18339
  },
18340
+ /**
18341
+ *
18342
+ * @summary Get resource alert settings
18343
+ * @param {string} orgName name of the Org
18344
+ * @param {AlertResourceType} resourceType resourceType
18345
+ * @param {string} resourceID
18346
+ * @param {*} [options] Override http request option.
18347
+ * @throws {RequiredError}
18348
+ */
18349
+ async getResourceAlertDisabled(orgName, resourceType, resourceID, options) {
18350
+ var _a, _b, _c;
18351
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getResourceAlertDisabled(orgName, resourceType, resourceID, options);
18352
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18353
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getResourceAlertDisabled']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18354
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18355
+ },
18211
18356
  /**
18212
18357
  *
18213
18358
  * @summary get restore workload logs of the cluster
@@ -19529,6 +19674,22 @@ const SharedApiFp = function (configuration) {
19529
19674
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listRelatedClusters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19530
19675
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19531
19676
  },
19677
+ /**
19678
+ *
19679
+ * @summary List applicable alert rules for a resource
19680
+ * @param {string} orgName name of the Org
19681
+ * @param {AlertResourceType} resourceType resourceType
19682
+ * @param {string} resourceID
19683
+ * @param {*} [options] Override http request option.
19684
+ * @throws {RequiredError}
19685
+ */
19686
+ async listResourceAlertRules(orgName, resourceType, resourceID, options) {
19687
+ var _a, _b, _c;
19688
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listResourceAlertRules(orgName, resourceType, resourceID, options);
19689
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19690
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listResourceAlertRules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19691
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19692
+ },
19532
19693
  /**
19533
19694
  * List permissions of a role
19534
19695
  * @summary List permissions of a role
@@ -20887,6 +21048,23 @@ const SharedApiFp = function (configuration) {
20887
21048
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.setKafkaTopicConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20888
21049
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20889
21050
  },
21051
+ /**
21052
+ *
21053
+ * @summary Update resource alert settings
21054
+ * @param {string} orgName name of the Org
21055
+ * @param {AlertResourceType} resourceType resourceType
21056
+ * @param {string} resourceID
21057
+ * @param {AlertCluster} [alertCluster]
21058
+ * @param {*} [options] Override http request option.
21059
+ * @throws {RequiredError}
21060
+ */
21061
+ async setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options) {
21062
+ var _a, _b, _c;
21063
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options);
21064
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21065
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.setResourceAlertDisabled']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21066
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21067
+ },
20890
21068
  /**
20891
21069
  *
20892
21070
  * @summary read data of table or view
@@ -23070,6 +23248,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23070
23248
  getRecycleBinCluster(requestParameters, options) {
23071
23249
  return localVarFp.getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23072
23250
  },
23251
+ /**
23252
+ *
23253
+ * @summary Get resource alert settings
23254
+ * @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
23255
+ * @param {*} [options] Override http request option.
23256
+ * @throws {RequiredError}
23257
+ */
23258
+ getResourceAlertDisabled(requestParameters, options) {
23259
+ return localVarFp.getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
23260
+ },
23073
23261
  /**
23074
23262
  *
23075
23263
  * @summary get restore workload logs of the cluster
@@ -23866,6 +24054,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23866
24054
  listRelatedClusters(requestParameters, options) {
23867
24055
  return localVarFp.listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23868
24056
  },
24057
+ /**
24058
+ *
24059
+ * @summary List applicable alert rules for a resource
24060
+ * @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
24061
+ * @param {*} [options] Override http request option.
24062
+ * @throws {RequiredError}
24063
+ */
24064
+ listResourceAlertRules(requestParameters, options) {
24065
+ return localVarFp.listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
24066
+ },
23869
24067
  /**
23870
24068
  * List permissions of a role
23871
24069
  * @summary List permissions of a role
@@ -24615,6 +24813,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
24615
24813
  setKafkaTopicConfig(requestParameters, options) {
24616
24814
  return localVarFp.setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(axios, basePath));
24617
24815
  },
24816
+ /**
24817
+ *
24818
+ * @summary Update resource alert settings
24819
+ * @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
24820
+ * @param {*} [options] Override http request option.
24821
+ * @throws {RequiredError}
24822
+ */
24823
+ setResourceAlertDisabled(requestParameters, options) {
24824
+ return localVarFp.setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(axios, basePath));
24825
+ },
24618
24826
  /**
24619
24827
  *
24620
24828
  * @summary read data of table or view
@@ -26622,6 +26830,17 @@ class SharedApi extends base_1.BaseAPI {
26622
26830
  getRecycleBinCluster(requestParameters, options) {
26623
26831
  return (0, exports.SharedApiFp)(this.configuration).getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
26624
26832
  }
26833
+ /**
26834
+ *
26835
+ * @summary Get resource alert settings
26836
+ * @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
26837
+ * @param {*} [options] Override http request option.
26838
+ * @throws {RequiredError}
26839
+ * @memberof SharedApi
26840
+ */
26841
+ getResourceAlertDisabled(requestParameters, options) {
26842
+ return (0, exports.SharedApiFp)(this.configuration).getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
26843
+ }
26625
26844
  /**
26626
26845
  *
26627
26846
  * @summary get restore workload logs of the cluster
@@ -27498,6 +27717,17 @@ class SharedApi extends base_1.BaseAPI {
27498
27717
  listRelatedClusters(requestParameters, options) {
27499
27718
  return (0, exports.SharedApiFp)(this.configuration).listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
27500
27719
  }
27720
+ /**
27721
+ *
27722
+ * @summary List applicable alert rules for a resource
27723
+ * @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
27724
+ * @param {*} [options] Override http request option.
27725
+ * @throws {RequiredError}
27726
+ * @memberof SharedApi
27727
+ */
27728
+ listResourceAlertRules(requestParameters, options) {
27729
+ return (0, exports.SharedApiFp)(this.configuration).listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
27730
+ }
27501
27731
  /**
27502
27732
  * List permissions of a role
27503
27733
  * @summary List permissions of a role
@@ -28322,6 +28552,17 @@ class SharedApi extends base_1.BaseAPI {
28322
28552
  setKafkaTopicConfig(requestParameters, options) {
28323
28553
  return (0, exports.SharedApiFp)(this.configuration).setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(this.axios, this.basePath));
28324
28554
  }
28555
+ /**
28556
+ *
28557
+ * @summary Update resource alert settings
28558
+ * @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
28559
+ * @param {*} [options] Override http request option.
28560
+ * @throws {RequiredError}
28561
+ * @memberof SharedApi
28562
+ */
28563
+ setResourceAlertDisabled(requestParameters, options) {
28564
+ return (0, exports.SharedApiFp)(this.configuration).setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(this.axios, this.basePath));
28565
+ }
28325
28566
  /**
28326
28567
  *
28327
28568
  * @summary read data of table or view