kb-cloud-client-typescript 2.3.0-alpha.103 → 2.3.0-alpha.105

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 (42) hide show
  1. package/dist/adminapi/apis/backup-method-api.d.ts +10 -2
  2. package/dist/adminapi/apis/backup-method-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/backup-method-api.js +10 -5
  4. package/dist/adminapi/apis/backup-method-api.js.map +1 -1
  5. package/dist/adminapi/apis/shared-api.d.ts +10 -2
  6. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/shared-api.js +10 -5
  8. package/dist/adminapi/apis/shared-api.js.map +1 -1
  9. package/dist/adminapi/models/ai-agent-turn-action.d.ts +1 -1
  10. package/dist/adminapi/models/backup-method-option.d.ts +6 -0
  11. package/dist/adminapi/models/backup-method-option.d.ts.map +1 -1
  12. package/dist/adminapi/models/environment-update.d.ts +0 -6
  13. package/dist/adminapi/models/environment-update.d.ts.map +1 -1
  14. package/dist/adminapi/models/scheduling-config.d.ts +0 -6
  15. package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
  16. package/dist/openapi/apis/backup-method-api.d.ts +10 -2
  17. package/dist/openapi/apis/backup-method-api.d.ts.map +1 -1
  18. package/dist/openapi/apis/backup-method-api.js +10 -5
  19. package/dist/openapi/apis/backup-method-api.js.map +1 -1
  20. package/dist/openapi/apis/shared-api.d.ts +10 -2
  21. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  22. package/dist/openapi/apis/shared-api.js +10 -5
  23. package/dist/openapi/apis/shared-api.js.map +1 -1
  24. package/dist/openapi/models/ai-agent-turn-action.d.ts +1 -1
  25. package/dist/openapi/models/backup-method-option.d.ts +6 -0
  26. package/dist/openapi/models/backup-method-option.d.ts.map +1 -1
  27. package/dist/openapi/models/environment.d.ts +0 -6
  28. package/dist/openapi/models/environment.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/src/adminapi/apis/backup-method-api.ts +18 -5
  31. package/src/adminapi/apis/shared-api.ts +18 -5
  32. package/src/adminapi/models/ai-agent-turn-action.ts +1 -1
  33. package/src/adminapi/models/backup-method-option.ts +6 -0
  34. package/src/adminapi/models/environment-update.ts +0 -6
  35. package/src/adminapi/models/scheduling-config.ts +0 -6
  36. package/src/adminapi.yaml +18 -11
  37. package/src/openapi/apis/backup-method-api.ts +18 -5
  38. package/src/openapi/apis/shared-api.ts +18 -5
  39. package/src/openapi/models/ai-agent-turn-action.ts +1 -1
  40. package/src/openapi/models/backup-method-option.ts +6 -0
  41. package/src/openapi/models/environment.ts +0 -6
  42. package/src/openapi.yaml +17 -5
@@ -89,7 +89,7 @@ export interface AiAgentTurnAction {
89
89
  */
90
90
  'hasDetail': boolean;
91
91
  /**
92
- *
92
+ * Sanitized action detail. Warning states are returned as `warning.value` with stable values such as `output_truncated`, `final_analysis_missing`, `no_tool_evidence`, `model_no_tool_call`, or `tooling_unavailable`. `model_no_tool_call` and `tooling_unavailable` are turn-completed warnings and are not emitted on tool/check detail cards. The legacy `warningReason` string may be present for compatibility.
93
93
  * @type {{ [key: string]: any; }}
94
94
  * @memberof AiAgentTurnAction
95
95
  */
@@ -41,6 +41,12 @@ export interface BackupMethodOption {
41
41
  * @memberof BackupMethodOption
42
42
  */
43
43
  'restoreOption'?: BackupMethodOptionRestoreOption;
44
+ /**
45
+ * The cluster modes that this backup method does not support
46
+ * @type {Array<string>}
47
+ * @memberof BackupMethodOption
48
+ */
49
+ 'notSupportedModes'?: Array<string>;
44
50
  /**
45
51
  *
46
52
  * @type {LocalizedDescription}
@@ -1 +1 @@
1
- {"version":3,"file":"backup-method-option.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/backup-method-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAG7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAAC,EAAE,+BAA+B,CAAC;IAClD;;;;OAIG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACxC"}
1
+ {"version":3,"file":"backup-method-option.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/backup-method-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAG7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAAC,EAAE,+BAA+B,CAAC;IAClD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACxC"}
@@ -122,12 +122,6 @@ export interface Environment {
122
122
  * @memberof Environment
123
123
  */
124
124
  'namespaces'?: Array<string>;
125
- /**
126
- * Enable pod antiaffinity for cluster
127
- * @type {boolean}
128
- * @memberof Environment
129
- */
130
- 'podAntiAffinityEnabled'?: boolean;
131
125
  /**
132
126
  * the default storageClass for the environment
133
127
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/environment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;;;OAIG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,gBAAgB,CAAC;IAC1B;;;;OAIG;IACH,MAAM,EAAE,eAAe,CAAC;IACxB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,uBAAuB,CAAC;IACpD;;;;OAIG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC5C"}
1
+ {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/environment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;;;OAIG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,gBAAgB,CAAC;IAC1B;;;;OAIG;IACH,MAAM,EAAE,eAAe,CAAC;IACxB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,uBAAuB,CAAC;IACpD;;;;OAIG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.3.0-alpha.103",
3
+ "version": "2.3.0-alpha.105",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -42,10 +42,11 @@ export const BackupMethodApiAxiosParamCreator = function (configuration?: Config
42
42
  * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
43
43
  * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
44
44
  * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
45
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
45
46
  * @param {*} [options] Override http request option.
46
47
  * @throws {RequiredError}
47
48
  */
48
- getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
49
+ getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
49
50
  // verify required parameter 'orgName' is not null or undefined
50
51
  assertParamExists('getBackupMethod', 'orgName', orgName)
51
52
  // verify required parameter 'engineName' is not null or undefined
@@ -95,6 +96,10 @@ export const BackupMethodApiAxiosParamCreator = function (configuration?: Config
95
96
  localVarQueryParameter['component'] = component;
96
97
  }
97
98
 
99
+ if (mode !== undefined) {
100
+ localVarQueryParameter['mode'] = mode;
101
+ }
102
+
98
103
 
99
104
 
100
105
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -127,11 +132,12 @@ export const BackupMethodApiFp = function(configuration?: Configuration) {
127
132
  * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
128
133
  * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
129
134
  * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
135
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
130
136
  * @param {*} [options] Override http request option.
131
137
  * @throws {RequiredError}
132
138
  */
133
- async getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>> {
134
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options);
139
+ async getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>> {
140
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options);
135
141
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
136
142
  const localVarOperationServerBasePath = operationServerMap['BackupMethodApi.getBackupMethod']?.[localVarOperationServerIndex]?.url;
137
143
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -154,7 +160,7 @@ export const BackupMethodApiFactory = function (configuration?: Configuration, b
154
160
  * @throws {RequiredError}
155
161
  */
156
162
  getBackupMethod(requestParameters: BackupMethodApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod> {
157
- return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(axios, basePath));
163
+ return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
158
164
  },
159
165
  };
160
166
  };
@@ -238,6 +244,13 @@ export interface BackupMethodApiGetBackupMethodRequest {
238
244
  * @memberof BackupMethodApiGetBackupMethod
239
245
  */
240
246
  readonly component?: string
247
+
248
+ /**
249
+ * The cluster mode, used to filter out unsupported backup methods.
250
+ * @type {string}
251
+ * @memberof BackupMethodApiGetBackupMethod
252
+ */
253
+ readonly mode?: string
241
254
  }
242
255
 
243
256
  /**
@@ -256,7 +269,7 @@ export class BackupMethodApi extends BaseAPI implements BackupMethodApiInterface
256
269
  * @memberof BackupMethodApi
257
270
  */
258
271
  public getBackupMethod(requestParameters: BackupMethodApiGetBackupMethodRequest, options?: RawAxiosRequestConfig) {
259
- return BackupMethodApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
272
+ return BackupMethodApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
260
273
  }
261
274
  }
262
275
 
@@ -4013,10 +4013,11 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4013
4013
  * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
4014
4014
  * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
4015
4015
  * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
4016
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
4016
4017
  * @param {*} [options] Override http request option.
4017
4018
  * @throws {RequiredError}
4018
4019
  */
4019
- getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4020
+ getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4020
4021
  // verify required parameter 'orgName' is not null or undefined
4021
4022
  assertParamExists('getBackupMethod', 'orgName', orgName)
4022
4023
  // verify required parameter 'engineName' is not null or undefined
@@ -4066,6 +4067,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4066
4067
  localVarQueryParameter['component'] = component;
4067
4068
  }
4068
4069
 
4070
+ if (mode !== undefined) {
4071
+ localVarQueryParameter['mode'] = mode;
4072
+ }
4073
+
4069
4074
 
4070
4075
 
4071
4076
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14388,11 +14393,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
14388
14393
  * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
14389
14394
  * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
14390
14395
  * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
14396
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
14391
14397
  * @param {*} [options] Override http request option.
14392
14398
  * @throws {RequiredError}
14393
14399
  */
14394
- async getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>> {
14395
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options);
14400
+ async getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>> {
14401
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options);
14396
14402
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14397
14403
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getBackupMethod']?.[localVarOperationServerIndex]?.url;
14398
14404
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17780,7 +17786,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
17780
17786
  * @throws {RequiredError}
17781
17787
  */
17782
17788
  getBackupMethod(requestParameters: SharedApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod> {
17783
- return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(axios, basePath));
17789
+ return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
17784
17790
  },
17785
17791
  /**
17786
17792
  *
@@ -23890,6 +23896,13 @@ export interface SharedApiGetBackupMethodRequest {
23890
23896
  * @memberof SharedApiGetBackupMethod
23891
23897
  */
23892
23898
  readonly component?: string
23899
+
23900
+ /**
23901
+ * The cluster mode, used to filter out unsupported backup methods.
23902
+ * @type {string}
23903
+ * @memberof SharedApiGetBackupMethod
23904
+ */
23905
+ readonly mode?: string
23893
23906
  }
23894
23907
 
23895
23908
  /**
@@ -30522,7 +30535,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
30522
30535
  * @memberof SharedApi
30523
30536
  */
30524
30537
  public getBackupMethod(requestParameters: SharedApiGetBackupMethodRequest, options?: RawAxiosRequestConfig) {
30525
- return SharedApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
30538
+ return SharedApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
30526
30539
  }
30527
30540
 
30528
30541
  /**
@@ -96,7 +96,7 @@ export interface AiAgentTurnAction {
96
96
  */
97
97
  'hasDetail': boolean;
98
98
  /**
99
- *
99
+ * Sanitized action detail. Warning states are returned as `warning.value` with stable values such as `output_truncated`, `final_analysis_missing`, `no_tool_evidence`, `model_no_tool_call`, or `tooling_unavailable`. `model_no_tool_call` and `tooling_unavailable` are turn-completed warnings and are not emitted on tool/check detail cards. The legacy `warningReason` string may be present for compatibility.
100
100
  * @type {{ [key: string]: any; }}
101
101
  * @memberof AiAgentTurnAction
102
102
  */
@@ -50,6 +50,12 @@ export interface BackupMethodOption {
50
50
  * @memberof BackupMethodOption
51
51
  */
52
52
  'restoreOption'?: BackupMethodOptionRestoreOption;
53
+ /**
54
+ * The cluster modes that this backup method does not support
55
+ * @type {Array<string>}
56
+ * @memberof BackupMethodOption
57
+ */
58
+ 'notSupportedModes'?: Array<string>;
53
59
  /**
54
60
  *
55
61
  * @type {LocalizedDescription}
@@ -92,12 +92,6 @@ export interface EnvironmentUpdate {
92
92
  * @memberof EnvironmentUpdate
93
93
  */
94
94
  'defaultStorageClass'?: string | null;
95
- /**
96
- * Enable pod antiaffinity for cluster
97
- * @type {boolean}
98
- * @memberof EnvironmentUpdate
99
- */
100
- 'podAntiAffinityEnabled'?: boolean;
101
95
  /**
102
96
  * Image registry URL used to pull images. Must match image_registries.url, not image_registries.name.
103
97
  * @type {string}
@@ -26,12 +26,6 @@ import type { TolerateDefaultTaints } from './tolerate-default-taints';
26
26
  * @interface SchedulingConfig
27
27
  */
28
28
  export interface SchedulingConfig {
29
- /**
30
- * Enable pod antiaffinity for cluster
31
- * @type {boolean}
32
- * @memberof SchedulingConfig
33
- */
34
- 'podAntiAffinityEnabled'?: boolean;
35
29
  /**
36
30
  *
37
31
  * @type {ClusterSchedulingPolicy}
package/src/adminapi.yaml CHANGED
@@ -11658,6 +11658,11 @@ paths:
11658
11658
  description: The component type is required when withRebuildInstance/withHScale is true.
11659
11659
  schema:
11660
11660
  type: string
11661
+ - name: mode
11662
+ in: query
11663
+ description: The cluster mode, used to filter out unsupported backup methods.
11664
+ schema:
11665
+ type: string
11661
11666
  responses:
11662
11667
  '200':
11663
11668
  content:
@@ -21852,6 +21857,13 @@ components:
21852
21857
  type: boolean
21853
21858
  detail:
21854
21859
  type: object
21860
+ description: |
21861
+ Sanitized action detail. Warning states are returned as `warning.value`
21862
+ with stable values such as `output_truncated`, `final_analysis_missing`,
21863
+ `no_tool_evidence`, `model_no_tool_call`, or `tooling_unavailable`.
21864
+ `model_no_tool_call` and `tooling_unavailable` are turn-completed
21865
+ warnings and are not emitted on tool/check detail cards.
21866
+ The legacy `warningReason` string may be present for compatibility.
21855
21867
  additionalProperties: true
21856
21868
  x-nullable: true
21857
21869
  createdAt:
@@ -26641,7 +26653,7 @@ components:
26641
26653
  - SoftAntiAffinity
26642
26654
  - Disabled
26643
26655
  - None
26644
- default: None
26656
+ default: SoftAntiAffinity
26645
26657
  description: |
26646
26658
  * `HardAntiAffinity` - Strictly enforce pod anti-affinity across nodes. Pods will not be scheduled when the anti-affinity constraints cannot be satisfied.
26647
26659
  * `SoftAntiAffinity` - Prefer to spread pods across nodes using anti-affinity, but allow scheduling on the same node when constraints cannot be fully satisfied.
@@ -26663,11 +26675,6 @@ components:
26663
26675
  title: SchedulingConfig
26664
26676
  description: Configuration of resource scheduling for this environment
26665
26677
  properties:
26666
- podAntiAffinityEnabled:
26667
- title: PodAntiAffinityEnabled
26668
- description: Enable pod antiaffinity for cluster
26669
- type: boolean
26670
- default: true
26671
26678
  clusterSchedulingPolicy:
26672
26679
  $ref: '#/components/schemas/clusterSchedulingPolicy'
26673
26680
  tolerateDefaultTaints:
@@ -27298,11 +27305,6 @@ components:
27298
27305
  description: the default storage class of this environment
27299
27306
  type: string
27300
27307
  nullable: true
27301
- podAntiAffinityEnabled:
27302
- title: PodAntiAffinityEnabled
27303
- description: Enable pod antiaffinity for cluster
27304
- type: boolean
27305
- default: true
27306
27308
  imageRegistry:
27307
27309
  description: Image registry URL used to pull images. Must match image_registries.url, not image_registries.name.
27308
27310
  type: string
@@ -30237,6 +30239,11 @@ components:
30237
30239
  description: |
30238
30240
  If set to true, the restore will be ready after the cluster is running.
30239
30241
  If set to false, the restore will be ready after the cluster is created.
30242
+ notSupportedModes:
30243
+ type: array
30244
+ description: The cluster modes that this backup method does not support
30245
+ items:
30246
+ type: string
30240
30247
  description:
30241
30248
  $ref: '#/components/schemas/localizedDescription'
30242
30249
  selectedObjectOption:
@@ -42,10 +42,11 @@ export const BackupMethodApiAxiosParamCreator = function (configuration?: Config
42
42
  * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
43
43
  * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
44
44
  * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
45
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
45
46
  * @param {*} [options] Override http request option.
46
47
  * @throws {RequiredError}
47
48
  */
48
- getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
49
+ getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
49
50
  // verify required parameter 'orgName' is not null or undefined
50
51
  assertParamExists('getBackupMethod', 'orgName', orgName)
51
52
  // verify required parameter 'engineName' is not null or undefined
@@ -95,6 +96,10 @@ export const BackupMethodApiAxiosParamCreator = function (configuration?: Config
95
96
  localVarQueryParameter['component'] = component;
96
97
  }
97
98
 
99
+ if (mode !== undefined) {
100
+ localVarQueryParameter['mode'] = mode;
101
+ }
102
+
98
103
 
99
104
 
100
105
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -127,11 +132,12 @@ export const BackupMethodApiFp = function(configuration?: Configuration) {
127
132
  * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
128
133
  * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
129
134
  * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
135
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
130
136
  * @param {*} [options] Override http request option.
131
137
  * @throws {RequiredError}
132
138
  */
133
- async getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>> {
134
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options);
139
+ async getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>> {
140
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options);
135
141
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
136
142
  const localVarOperationServerBasePath = operationServerMap['BackupMethodApi.getBackupMethod']?.[localVarOperationServerIndex]?.url;
137
143
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -154,7 +160,7 @@ export const BackupMethodApiFactory = function (configuration?: Configuration, b
154
160
  * @throws {RequiredError}
155
161
  */
156
162
  getBackupMethod(requestParameters: BackupMethodApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod> {
157
- return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(axios, basePath));
163
+ return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
158
164
  },
159
165
  };
160
166
  };
@@ -238,6 +244,13 @@ export interface BackupMethodApiGetBackupMethodRequest {
238
244
  * @memberof BackupMethodApiGetBackupMethod
239
245
  */
240
246
  readonly component?: string
247
+
248
+ /**
249
+ * The cluster mode, used to filter out unsupported backup methods.
250
+ * @type {string}
251
+ * @memberof BackupMethodApiGetBackupMethod
252
+ */
253
+ readonly mode?: string
241
254
  }
242
255
 
243
256
  /**
@@ -256,7 +269,7 @@ export class BackupMethodApi extends BaseAPI implements BackupMethodApiInterface
256
269
  * @memberof BackupMethodApi
257
270
  */
258
271
  public getBackupMethod(requestParameters: BackupMethodApiGetBackupMethodRequest, options?: RawAxiosRequestConfig) {
259
- return BackupMethodApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
272
+ return BackupMethodApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
260
273
  }
261
274
  }
262
275
 
@@ -4572,10 +4572,11 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4572
4572
  * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
4573
4573
  * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
4574
4574
  * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
4575
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
4575
4576
  * @param {*} [options] Override http request option.
4576
4577
  * @throws {RequiredError}
4577
4578
  */
4578
- getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4579
+ getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4579
4580
  // verify required parameter 'orgName' is not null or undefined
4580
4581
  assertParamExists('getBackupMethod', 'orgName', orgName)
4581
4582
  // verify required parameter 'engineName' is not null or undefined
@@ -4625,6 +4626,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4625
4626
  localVarQueryParameter['component'] = component;
4626
4627
  }
4627
4628
 
4629
+ if (mode !== undefined) {
4630
+ localVarQueryParameter['mode'] = mode;
4631
+ }
4632
+
4628
4633
 
4629
4634
 
4630
4635
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -15095,11 +15100,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
15095
15100
  * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
15096
15101
  * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
15097
15102
  * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
15103
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
15098
15104
  * @param {*} [options] Override http request option.
15099
15105
  * @throws {RequiredError}
15100
15106
  */
15101
- async getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>> {
15102
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options);
15107
+ async getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>> {
15108
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options);
15103
15109
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15104
15110
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getBackupMethod']?.[localVarOperationServerIndex]?.url;
15105
15111
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -18563,7 +18569,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18563
18569
  * @throws {RequiredError}
18564
18570
  */
18565
18571
  getBackupMethod(requestParameters: SharedApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod> {
18566
- return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(axios, basePath));
18572
+ return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
18567
18573
  },
18568
18574
  /**
18569
18575
  *
@@ -25213,6 +25219,13 @@ export interface SharedApiGetBackupMethodRequest {
25213
25219
  * @memberof SharedApiGetBackupMethod
25214
25220
  */
25215
25221
  readonly component?: string
25222
+
25223
+ /**
25224
+ * The cluster mode, used to filter out unsupported backup methods.
25225
+ * @type {string}
25226
+ * @memberof SharedApiGetBackupMethod
25227
+ */
25228
+ readonly mode?: string
25216
25229
  }
25217
25230
 
25218
25231
  /**
@@ -32004,7 +32017,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32004
32017
  * @memberof SharedApi
32005
32018
  */
32006
32019
  public getBackupMethod(requestParameters: SharedApiGetBackupMethodRequest, options?: RawAxiosRequestConfig) {
32007
- return SharedApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
32020
+ return SharedApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
32008
32021
  }
32009
32022
 
32010
32023
  /**
@@ -96,7 +96,7 @@ export interface AiAgentTurnAction {
96
96
  */
97
97
  'hasDetail': boolean;
98
98
  /**
99
- *
99
+ * Sanitized action detail. Warning states are returned as `warning.value` with stable values such as `output_truncated`, `final_analysis_missing`, `no_tool_evidence`, `model_no_tool_call`, or `tooling_unavailable`. `model_no_tool_call` and `tooling_unavailable` are turn-completed warnings and are not emitted on tool/check detail cards. The legacy `warningReason` string may be present for compatibility.
100
100
  * @type {{ [key: string]: any; }}
101
101
  * @memberof AiAgentTurnAction
102
102
  */
@@ -50,6 +50,12 @@ export interface BackupMethodOption {
50
50
  * @memberof BackupMethodOption
51
51
  */
52
52
  'restoreOption'?: BackupMethodOptionRestoreOption;
53
+ /**
54
+ * The cluster modes that this backup method does not support
55
+ * @type {Array<string>}
56
+ * @memberof BackupMethodOption
57
+ */
58
+ 'notSupportedModes'?: Array<string>;
53
59
  /**
54
60
  *
55
61
  * @type {LocalizedDescription}
@@ -137,12 +137,6 @@ export interface Environment {
137
137
  * @memberof Environment
138
138
  */
139
139
  'namespaces'?: Array<string>;
140
- /**
141
- * Enable pod antiaffinity for cluster
142
- * @type {boolean}
143
- * @memberof Environment
144
- */
145
- 'podAntiAffinityEnabled'?: boolean;
146
140
  /**
147
141
  * the default storageClass for the environment
148
142
  * @type {string}
package/src/openapi.yaml CHANGED
@@ -4892,6 +4892,11 @@ paths:
4892
4892
  description: The component type is required when withRebuildInstance/withHScale is true.
4893
4893
  schema:
4894
4894
  type: string
4895
+ - name: mode
4896
+ in: query
4897
+ description: The cluster mode, used to filter out unsupported backup methods.
4898
+ schema:
4899
+ type: string
4895
4900
  responses:
4896
4901
  '200':
4897
4902
  content:
@@ -18224,11 +18229,6 @@ components:
18224
18229
  - kubeblocks-cloud-ns
18225
18230
  type: array
18226
18231
  description: namespace info for environment
18227
- podAntiAffinityEnabled:
18228
- title: PodAntiAffinityEnabled
18229
- description: Enable pod antiaffinity for cluster
18230
- type: boolean
18231
- default: true
18232
18232
  defaultStorageClass:
18233
18233
  type: string
18234
18234
  description: the default storageClass for the environment
@@ -23912,6 +23912,11 @@ components:
23912
23912
  description: |
23913
23913
  If set to true, the restore will be ready after the cluster is running.
23914
23914
  If set to false, the restore will be ready after the cluster is created.
23915
+ notSupportedModes:
23916
+ type: array
23917
+ description: The cluster modes that this backup method does not support
23918
+ items:
23919
+ type: string
23915
23920
  description:
23916
23921
  $ref: '#/components/schemas/localizedDescription'
23917
23922
  selectedObjectOption:
@@ -29478,6 +29483,13 @@ components:
29478
29483
  type: boolean
29479
29484
  detail:
29480
29485
  type: object
29486
+ description: |
29487
+ Sanitized action detail. Warning states are returned as `warning.value`
29488
+ with stable values such as `output_truncated`, `final_analysis_missing`,
29489
+ `no_tool_evidence`, `model_no_tool_call`, or `tooling_unavailable`.
29490
+ `model_no_tool_call` and `tooling_unavailable` are turn-completed
29491
+ warnings and are not emitted on tool/check detail cards.
29492
+ The legacy `warningReason` string may be present for compatibility.
29481
29493
  additionalProperties: true
29482
29494
  x-nullable: true
29483
29495
  createdAt: