kb-cloud-client-typescript 2.3.0-beta.15 → 2.3.0-beta.16

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 (35) hide show
  1. package/dist/adminapi/apis/diagnostics-api.d.ts +3 -3
  2. package/dist/adminapi/apis/diagnostics-api.js +2 -2
  3. package/dist/adminapi/models/aggregate-task-result-summary.d.ts +6 -0
  4. package/dist/adminapi/models/aggregate-task-result-summary.d.ts.map +1 -1
  5. package/dist/adminapi/models/aggregate-task-result-type.d.ts +1 -0
  6. package/dist/adminapi/models/aggregate-task-result-type.d.ts.map +1 -1
  7. package/dist/adminapi/models/aggregate-task-result-type.js +2 -1
  8. package/dist/adminapi/models/aggregate-task-result-type.js.map +1 -1
  9. package/dist/adminapi/models/inspection-task-item.d.ts +1 -1
  10. package/dist/adminapi/models/inspection-task.d.ts +3 -3
  11. package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
  12. package/dist/openapi/apis/diagnostics-api.d.ts +3 -3
  13. package/dist/openapi/apis/diagnostics-api.js +2 -2
  14. package/dist/openapi/models/aggregate-task-result-summary.d.ts +6 -0
  15. package/dist/openapi/models/aggregate-task-result-summary.d.ts.map +1 -1
  16. package/dist/openapi/models/aggregate-task-result-type.d.ts +1 -0
  17. package/dist/openapi/models/aggregate-task-result-type.d.ts.map +1 -1
  18. package/dist/openapi/models/aggregate-task-result-type.js +2 -1
  19. package/dist/openapi/models/aggregate-task-result-type.js.map +1 -1
  20. package/dist/openapi/models/inspection-task-item.d.ts +1 -1
  21. package/dist/openapi/models/inspection-task.d.ts +3 -3
  22. package/dist/openapi/models/inspection-task.d.ts.map +1 -1
  23. package/package.json +1 -1
  24. package/src/adminapi/apis/diagnostics-api.ts +3 -3
  25. package/src/adminapi/models/aggregate-task-result-summary.ts +6 -0
  26. package/src/adminapi/models/aggregate-task-result-type.ts +2 -1
  27. package/src/adminapi/models/inspection-task-item.ts +1 -1
  28. package/src/adminapi/models/inspection-task.ts +3 -3
  29. package/src/adminapi.yaml +10 -3
  30. package/src/openapi/apis/diagnostics-api.ts +3 -3
  31. package/src/openapi/models/aggregate-task-result-summary.ts +6 -0
  32. package/src/openapi/models/aggregate-task-result-type.ts +2 -1
  33. package/src/openapi/models/inspection-task-item.ts +1 -1
  34. package/src/openapi/models/inspection-task.ts +3 -3
  35. package/src/openapi.yaml +10 -3
@@ -205,7 +205,7 @@ export declare const DiagnosticsApiAxiosParamCreator: (configuration?: Configura
205
205
  * @summary List PostgreSQL session basic diagnostics
206
206
  * @param {string} orgName Organization name
207
207
  * @param {string} clusterName Cluster name
208
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
208
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
209
209
  * @param {*} [options] Override http request option.
210
210
  * @throws {RequiredError}
211
211
  */
@@ -389,7 +389,7 @@ export declare const DiagnosticsApiFp: (configuration?: Configuration) => {
389
389
  * @summary List PostgreSQL session basic diagnostics
390
390
  * @param {string} orgName Organization name
391
391
  * @param {string} clusterName Cluster name
392
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
392
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
393
393
  * @param {*} [options] Override http request option.
394
394
  * @throws {RequiredError}
395
395
  */
@@ -1164,7 +1164,7 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
1164
1164
  */
1165
1165
  readonly clusterName: string;
1166
1166
  /**
1167
- * Maximum number of sessions to return. Defaults to the backend limit when omitted.
1167
+ * Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
1168
1168
  * @type {number}
1169
1169
  * @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
1170
1170
  */
@@ -738,7 +738,7 @@ const DiagnosticsApiAxiosParamCreator = function (configuration) {
738
738
  * @summary List PostgreSQL session basic diagnostics
739
739
  * @param {string} orgName Organization name
740
740
  * @param {string} clusterName Cluster name
741
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
741
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
742
742
  * @param {*} [options] Override http request option.
743
743
  * @throws {RequiredError}
744
744
  */
@@ -1054,7 +1054,7 @@ const DiagnosticsApiFp = function (configuration) {
1054
1054
  * @summary List PostgreSQL session basic diagnostics
1055
1055
  * @param {string} orgName Organization name
1056
1056
  * @param {string} clusterName Cluster name
1057
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
1057
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
1058
1058
  * @param {*} [options] Override http request option.
1059
1059
  * @throws {RequiredError}
1060
1060
  */
@@ -33,5 +33,11 @@ export interface AggregateTaskResultSummary {
33
33
  * @memberof AggregateTaskResultSummary
34
34
  */
35
35
  'normal'?: number;
36
+ /**
37
+ * Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
38
+ * @type {number}
39
+ * @memberof AggregateTaskResultSummary
40
+ */
41
+ 'unknown'?: number;
36
42
  }
37
43
  //# sourceMappingURL=aggregate-task-result-summary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-task-result-summary.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/aggregate-task-result-summary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"aggregate-task-result-summary.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/aggregate-task-result-summary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -18,6 +18,7 @@ export declare const AggregateTaskResultType: {
18
18
  readonly green: "green";
19
19
  readonly yellow: "yellow";
20
20
  readonly red: "red";
21
+ readonly unknown: "unknown";
21
22
  };
22
23
  export type AggregateTaskResultType = typeof AggregateTaskResultType[keyof typeof AggregateTaskResultType];
23
24
  //# sourceMappingURL=aggregate-task-result-type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-task-result-type.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/aggregate-task-result-type.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"aggregate-task-result-type.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/aggregate-task-result-type.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC"}
@@ -22,6 +22,7 @@ exports.AggregateTaskResultType = void 0;
22
22
  exports.AggregateTaskResultType = {
23
23
  green: 'green',
24
24
  yellow: 'yellow',
25
- red: 'red'
25
+ red: 'red',
26
+ unknown: 'unknown'
26
27
  };
27
28
  //# sourceMappingURL=aggregate-task-result-type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-task-result-type.js","sourceRoot":"","sources":["../../../src/adminapi/models/aggregate-task-result-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,uBAAuB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;CACJ,CAAC"}
1
+ {"version":3,"file":"aggregate-task-result-type.js","sourceRoot":"","sources":["../../../src/adminapi/models/aggregate-task-result-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,uBAAuB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;CACZ,CAAC"}
@@ -115,7 +115,7 @@ export interface InspectionTaskItem {
115
115
  */
116
116
  'criticality'?: InspectionCriticality;
117
117
  /**
118
- * Structured evidence used to explain the item result. Prometheus/exporter no-data is reported here as no data or unknown instead of being converted into a healthy result.
118
+ * Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
119
119
  * @type {{ [key: string]: any; }}
120
120
  * @memberof InspectionTaskItem
121
121
  */
@@ -95,13 +95,13 @@ export interface InspectionTask {
95
95
  */
96
96
  'expiredAt'?: string;
97
97
  /**
98
- *
98
+ * Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
99
99
  * @type {number}
100
100
  * @memberof InspectionTask
101
101
  */
102
- 'score'?: number;
102
+ 'score'?: number | null;
103
103
  /**
104
- * Backend truth derived from the worst item state and criticality-aware score caps. A red item makes the task red; a critical red item caps score at 40.
104
+ * Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
105
105
  * @type {string}
106
106
  * @memberof InspectionTask
107
107
  */
@@ -1 +1 @@
1
- {"version":3,"file":"inspection-task.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/inspection-task.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B"}
1
+ {"version":3,"file":"inspection-task.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/inspection-task.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -205,7 +205,7 @@ export declare const DiagnosticsApiAxiosParamCreator: (configuration?: Configura
205
205
  * @summary List PostgreSQL session basic diagnostics
206
206
  * @param {string} orgName Organization name
207
207
  * @param {string} clusterName Cluster name
208
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
208
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
209
209
  * @param {*} [options] Override http request option.
210
210
  * @throws {RequiredError}
211
211
  */
@@ -389,7 +389,7 @@ export declare const DiagnosticsApiFp: (configuration?: Configuration) => {
389
389
  * @summary List PostgreSQL session basic diagnostics
390
390
  * @param {string} orgName Organization name
391
391
  * @param {string} clusterName Cluster name
392
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
392
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
393
393
  * @param {*} [options] Override http request option.
394
394
  * @throws {RequiredError}
395
395
  */
@@ -1164,7 +1164,7 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
1164
1164
  */
1165
1165
  readonly clusterName: string;
1166
1166
  /**
1167
- * Maximum number of sessions to return. Defaults to the backend limit when omitted.
1167
+ * Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
1168
1168
  * @type {number}
1169
1169
  * @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
1170
1170
  */
@@ -738,7 +738,7 @@ const DiagnosticsApiAxiosParamCreator = function (configuration) {
738
738
  * @summary List PostgreSQL session basic diagnostics
739
739
  * @param {string} orgName Organization name
740
740
  * @param {string} clusterName Cluster name
741
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
741
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
742
742
  * @param {*} [options] Override http request option.
743
743
  * @throws {RequiredError}
744
744
  */
@@ -1054,7 +1054,7 @@ const DiagnosticsApiFp = function (configuration) {
1054
1054
  * @summary List PostgreSQL session basic diagnostics
1055
1055
  * @param {string} orgName Organization name
1056
1056
  * @param {string} clusterName Cluster name
1057
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
1057
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
1058
1058
  * @param {*} [options] Override http request option.
1059
1059
  * @throws {RequiredError}
1060
1060
  */
@@ -33,5 +33,11 @@ export interface AggregateTaskResultSummary {
33
33
  * @memberof AggregateTaskResultSummary
34
34
  */
35
35
  'normal'?: number;
36
+ /**
37
+ * Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
38
+ * @type {number}
39
+ * @memberof AggregateTaskResultSummary
40
+ */
41
+ 'unknown'?: number;
36
42
  }
37
43
  //# sourceMappingURL=aggregate-task-result-summary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-task-result-summary.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/aggregate-task-result-summary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"aggregate-task-result-summary.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/aggregate-task-result-summary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -18,6 +18,7 @@ export declare const AggregateTaskResultType: {
18
18
  readonly green: "green";
19
19
  readonly yellow: "yellow";
20
20
  readonly red: "red";
21
+ readonly unknown: "unknown";
21
22
  };
22
23
  export type AggregateTaskResultType = typeof AggregateTaskResultType[keyof typeof AggregateTaskResultType];
23
24
  //# sourceMappingURL=aggregate-task-result-type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-task-result-type.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/aggregate-task-result-type.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"aggregate-task-result-type.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/aggregate-task-result-type.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC"}
@@ -22,6 +22,7 @@ exports.AggregateTaskResultType = void 0;
22
22
  exports.AggregateTaskResultType = {
23
23
  green: 'green',
24
24
  yellow: 'yellow',
25
- red: 'red'
25
+ red: 'red',
26
+ unknown: 'unknown'
26
27
  };
27
28
  //# sourceMappingURL=aggregate-task-result-type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-task-result-type.js","sourceRoot":"","sources":["../../../src/openapi/models/aggregate-task-result-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,uBAAuB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;CACJ,CAAC"}
1
+ {"version":3,"file":"aggregate-task-result-type.js","sourceRoot":"","sources":["../../../src/openapi/models/aggregate-task-result-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,uBAAuB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;CACZ,CAAC"}
@@ -115,7 +115,7 @@ export interface InspectionTaskItem {
115
115
  */
116
116
  'criticality'?: InspectionCriticality;
117
117
  /**
118
- * Structured evidence used to explain the item result. Prometheus/exporter no-data is reported here as no data or unknown instead of being converted into a healthy result.
118
+ * Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
119
119
  * @type {{ [key: string]: any; }}
120
120
  * @memberof InspectionTaskItem
121
121
  */
@@ -95,13 +95,13 @@ export interface InspectionTask {
95
95
  */
96
96
  'expiredAt'?: string;
97
97
  /**
98
- *
98
+ * Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
99
99
  * @type {number}
100
100
  * @memberof InspectionTask
101
101
  */
102
- 'score'?: number;
102
+ 'score'?: number | null;
103
103
  /**
104
- * Backend truth derived from the worst item state and criticality-aware score caps. A red item makes the task red; a critical red item caps score at 40.
104
+ * Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
105
105
  * @type {string}
106
106
  * @memberof InspectionTask
107
107
  */
@@ -1 +1 @@
1
- {"version":3,"file":"inspection-task.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/inspection-task.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B"}
1
+ {"version":3,"file":"inspection-task.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/inspection-task.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.3.0-beta.15",
3
+ "version": "2.3.0-beta.16",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -898,7 +898,7 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
898
898
  * @summary List PostgreSQL session basic diagnostics
899
899
  * @param {string} orgName Organization name
900
900
  * @param {string} clusterName Cluster name
901
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
901
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
902
902
  * @param {*} [options] Override http request option.
903
903
  * @throws {RequiredError}
904
904
  */
@@ -1206,7 +1206,7 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
1206
1206
  * @summary List PostgreSQL session basic diagnostics
1207
1207
  * @param {string} orgName Organization name
1208
1208
  * @param {string} clusterName Cluster name
1209
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
1209
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
1210
1210
  * @param {*} [options] Override http request option.
1211
1211
  * @throws {RequiredError}
1212
1212
  */
@@ -2102,7 +2102,7 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
2102
2102
  readonly clusterName: string
2103
2103
 
2104
2104
  /**
2105
- * Maximum number of sessions to return. Defaults to the backend limit when omitted.
2105
+ * Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
2106
2106
  * @type {number}
2107
2107
  * @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
2108
2108
  */
@@ -38,5 +38,11 @@ export interface AggregateTaskResultSummary {
38
38
  * @memberof AggregateTaskResultSummary
39
39
  */
40
40
  'normal'?: number;
41
+ /**
42
+ * Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
43
+ * @type {number}
44
+ * @memberof AggregateTaskResultSummary
45
+ */
46
+ 'unknown'?: number;
41
47
  }
42
48
 
@@ -23,7 +23,8 @@
23
23
  export const AggregateTaskResultType = {
24
24
  green: 'green',
25
25
  yellow: 'yellow',
26
- red: 'red'
26
+ red: 'red',
27
+ unknown: 'unknown'
27
28
  } as const;
28
29
 
29
30
  export type AggregateTaskResultType = typeof AggregateTaskResultType[keyof typeof AggregateTaskResultType];
@@ -126,7 +126,7 @@ export interface InspectionTaskItem {
126
126
  */
127
127
  'criticality'?: InspectionCriticality;
128
128
  /**
129
- * Structured evidence used to explain the item result. Prometheus/exporter no-data is reported here as no data or unknown instead of being converted into a healthy result.
129
+ * Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
130
130
  * @type {{ [key: string]: any; }}
131
131
  * @memberof InspectionTaskItem
132
132
  */
@@ -102,13 +102,13 @@ export interface InspectionTask {
102
102
  */
103
103
  'expiredAt'?: string;
104
104
  /**
105
- *
105
+ * Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
106
106
  * @type {number}
107
107
  * @memberof InspectionTask
108
108
  */
109
- 'score'?: number;
109
+ 'score'?: number | null;
110
110
  /**
111
- * Backend truth derived from the worst item state and criticality-aware score caps. A red item makes the task red; a critical red item caps score at 40.
111
+ * Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
112
112
  * @type {string}
113
113
  * @memberof InspectionTask
114
114
  */
package/src/adminapi.yaml CHANGED
@@ -22229,7 +22229,7 @@ paths:
22229
22229
  type: string
22230
22230
  - name: limit
22231
22231
  in: query
22232
- description: Maximum number of sessions to return. Defaults to the backend limit when omitted.
22232
+ description: Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
22233
22233
  required: false
22234
22234
  schema:
22235
22235
  type: integer
@@ -39298,7 +39298,7 @@ components:
39298
39298
  type: boolean
39299
39299
  inspectionTaskItemEvidence:
39300
39300
  type: object
39301
- description: Structured evidence used to explain the item result. Prometheus/exporter no-data is reported here as no data or unknown instead of being converted into a healthy result.
39301
+ description: Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
39302
39302
  additionalProperties: true
39303
39303
  inspectionTaskItem:
39304
39304
  properties:
@@ -39394,9 +39394,12 @@ components:
39394
39394
  description: Expiration timestamp fixed when the inspection report is created from savedDays.
39395
39395
  score:
39396
39396
  type: integer
39397
+ format: int64
39398
+ x-nullable: true
39399
+ description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
39397
39400
  result:
39398
39401
  type: string
39399
- description: Backend truth derived from the worst item state and criticality-aware score caps. A red item makes the task red; a critical red item caps score at 40.
39402
+ description: Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
39400
39403
  latestRunAt:
39401
39404
  format: date-time
39402
39405
  type: string
@@ -39447,6 +39450,7 @@ components:
39447
39450
  - green
39448
39451
  - yellow
39449
39452
  - red
39453
+ - unknown
39450
39454
  aggregateTaskResultSummary:
39451
39455
  type: object
39452
39456
  properties:
@@ -39456,6 +39460,9 @@ components:
39456
39460
  type: integer
39457
39461
  normal:
39458
39462
  type: integer
39463
+ unknown:
39464
+ type: integer
39465
+ description: Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
39459
39466
  aggregateTaskResult:
39460
39467
  properties:
39461
39468
  engine:
@@ -898,7 +898,7 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
898
898
  * @summary List PostgreSQL session basic diagnostics
899
899
  * @param {string} orgName Organization name
900
900
  * @param {string} clusterName Cluster name
901
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
901
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
902
902
  * @param {*} [options] Override http request option.
903
903
  * @throws {RequiredError}
904
904
  */
@@ -1206,7 +1206,7 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
1206
1206
  * @summary List PostgreSQL session basic diagnostics
1207
1207
  * @param {string} orgName Organization name
1208
1208
  * @param {string} clusterName Cluster name
1209
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
1209
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
1210
1210
  * @param {*} [options] Override http request option.
1211
1211
  * @throws {RequiredError}
1212
1212
  */
@@ -2102,7 +2102,7 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
2102
2102
  readonly clusterName: string
2103
2103
 
2104
2104
  /**
2105
- * Maximum number of sessions to return. Defaults to the backend limit when omitted.
2105
+ * Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
2106
2106
  * @type {number}
2107
2107
  * @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
2108
2108
  */
@@ -38,5 +38,11 @@ export interface AggregateTaskResultSummary {
38
38
  * @memberof AggregateTaskResultSummary
39
39
  */
40
40
  'normal'?: number;
41
+ /**
42
+ * Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
43
+ * @type {number}
44
+ * @memberof AggregateTaskResultSummary
45
+ */
46
+ 'unknown'?: number;
41
47
  }
42
48
 
@@ -23,7 +23,8 @@
23
23
  export const AggregateTaskResultType = {
24
24
  green: 'green',
25
25
  yellow: 'yellow',
26
- red: 'red'
26
+ red: 'red',
27
+ unknown: 'unknown'
27
28
  } as const;
28
29
 
29
30
  export type AggregateTaskResultType = typeof AggregateTaskResultType[keyof typeof AggregateTaskResultType];
@@ -126,7 +126,7 @@ export interface InspectionTaskItem {
126
126
  */
127
127
  'criticality'?: InspectionCriticality;
128
128
  /**
129
- * Structured evidence used to explain the item result. Prometheus/exporter no-data is reported here as no data or unknown instead of being converted into a healthy result.
129
+ * Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
130
130
  * @type {{ [key: string]: any; }}
131
131
  * @memberof InspectionTaskItem
132
132
  */
@@ -102,13 +102,13 @@ export interface InspectionTask {
102
102
  */
103
103
  'expiredAt'?: string;
104
104
  /**
105
- *
105
+ * Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
106
106
  * @type {number}
107
107
  * @memberof InspectionTask
108
108
  */
109
- 'score'?: number;
109
+ 'score'?: number | null;
110
110
  /**
111
- * Backend truth derived from the worst item state and criticality-aware score caps. A red item makes the task red; a critical red item caps score at 40.
111
+ * Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
112
112
  * @type {string}
113
113
  * @memberof InspectionTask
114
114
  */
package/src/openapi.yaml CHANGED
@@ -5190,7 +5190,7 @@ paths:
5190
5190
  type: string
5191
5191
  - name: limit
5192
5192
  in: query
5193
- description: Maximum number of sessions to return. Defaults to the backend limit when omitted.
5193
+ description: Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
5194
5194
  required: false
5195
5195
  schema:
5196
5196
  type: integer
@@ -38258,7 +38258,7 @@ components:
38258
38258
  type: boolean
38259
38259
  inspectionTaskItemEvidence:
38260
38260
  type: object
38261
- description: Structured evidence used to explain the item result. Prometheus/exporter no-data is reported here as no data or unknown instead of being converted into a healthy result.
38261
+ description: Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
38262
38262
  additionalProperties: true
38263
38263
  inspectionTaskItem:
38264
38264
  properties:
@@ -38354,9 +38354,12 @@ components:
38354
38354
  description: Expiration timestamp fixed when the inspection report is created from savedDays.
38355
38355
  score:
38356
38356
  type: integer
38357
+ format: int64
38358
+ x-nullable: true
38359
+ description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
38357
38360
  result:
38358
38361
  type: string
38359
- description: Backend truth derived from the worst item state and criticality-aware score caps. A red item makes the task red; a critical red item caps score at 40.
38362
+ description: Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
38360
38363
  latestRunAt:
38361
38364
  format: date-time
38362
38365
  type: string
@@ -38407,6 +38410,7 @@ components:
38407
38410
  - green
38408
38411
  - yellow
38409
38412
  - red
38413
+ - unknown
38410
38414
  aggregateTaskResultSummary:
38411
38415
  type: object
38412
38416
  properties:
@@ -38416,6 +38420,9 @@ components:
38416
38420
  type: integer
38417
38421
  normal:
38418
38422
  type: integer
38423
+ unknown:
38424
+ type: integer
38425
+ description: Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
38419
38426
  aggregateTaskResult:
38420
38427
  properties:
38421
38428
  engine: