kb-cloud-client-typescript 2.3.10 → 2.3.12

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 (46) hide show
  1. package/dist/adminapi/apis/cluster-log-api.d.ts +5 -5
  2. package/dist/adminapi/apis/cluster-log-api.js +4 -4
  3. package/dist/adminapi/apis/engine-license-api.d.ts +3 -3
  4. package/dist/adminapi/apis/engine-license-api.js +2 -2
  5. package/dist/adminapi/apis/shared-api.d.ts +5 -5
  6. package/dist/adminapi/apis/shared-api.js +4 -4
  7. package/dist/adminapi/models/engine-option-license-file.d.ts +38 -0
  8. package/dist/adminapi/models/engine-option-license-file.d.ts.map +1 -0
  9. package/dist/adminapi/models/engine-option-license-file.js +16 -0
  10. package/dist/adminapi/models/engine-option-license-file.js.map +1 -0
  11. package/dist/adminapi/models/engine-option-license.d.ts +8 -1
  12. package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
  13. package/dist/adminapi/models/index.d.ts +1 -0
  14. package/dist/adminapi/models/index.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.js +1 -0
  16. package/dist/adminapi/models/index.js.map +1 -1
  17. package/dist/openapi/apis/cluster-log-api.d.ts +5 -5
  18. package/dist/openapi/apis/cluster-log-api.js +4 -4
  19. package/dist/openapi/apis/shared-api.d.ts +5 -5
  20. package/dist/openapi/apis/shared-api.js +4 -4
  21. package/dist/openapi/models/engine-option-license-file.d.ts +38 -0
  22. package/dist/openapi/models/engine-option-license-file.d.ts.map +1 -0
  23. package/dist/openapi/models/engine-option-license-file.js +16 -0
  24. package/dist/openapi/models/engine-option-license-file.js.map +1 -0
  25. package/dist/openapi/models/engine-option-license.d.ts +8 -1
  26. package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
  27. package/dist/openapi/models/index.d.ts +1 -0
  28. package/dist/openapi/models/index.d.ts.map +1 -1
  29. package/dist/openapi/models/index.js +1 -0
  30. package/dist/openapi/models/index.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/adminapi/.openapi-generator/FILES +1 -0
  33. package/src/adminapi/apis/cluster-log-api.ts +5 -5
  34. package/src/adminapi/apis/engine-license-api.ts +3 -3
  35. package/src/adminapi/apis/shared-api.ts +5 -5
  36. package/src/adminapi/models/engine-option-license-file.ts +45 -0
  37. package/src/adminapi/models/engine-option-license.ts +10 -1
  38. package/src/adminapi/models/index.ts +1 -0
  39. package/src/adminapi.yaml +20 -3
  40. package/src/openapi/.openapi-generator/FILES +1 -0
  41. package/src/openapi/apis/cluster-log-api.ts +5 -5
  42. package/src/openapi/apis/shared-api.ts +5 -5
  43. package/src/openapi/models/engine-option-license-file.ts +45 -0
  44. package/src/openapi/models/engine-option-license.ts +10 -1
  45. package/src/openapi/models/index.ts +1 -0
  46. package/src/openapi.yaml +19 -2
package/src/adminapi.yaml CHANGED
@@ -7928,7 +7928,7 @@ paths:
7928
7928
  - shared
7929
7929
  /admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/explain:
7930
7930
  post:
7931
- description: Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
7931
+ description: Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
7932
7932
  summary: Explain cluster slow log template
7933
7933
  operationId: explainSlowLogTemplate
7934
7934
  parameters:
@@ -36867,6 +36867,19 @@ components:
36867
36867
  In rebuildinstance ops, only `ops` object is available.
36868
36868
  type: object
36869
36869
  type: array
36870
+ engineOptionLicenseFile:
36871
+ type: object
36872
+ additionalProperties: false
36873
+ required:
36874
+ - name
36875
+ properties:
36876
+ name:
36877
+ type: string
36878
+ description: Target license file name written into the engine license Secret.
36879
+ title:
36880
+ $ref: '#/components/schemas/localizedDescription'
36881
+ description:
36882
+ $ref: '#/components/schemas/localizedDescription'
36870
36883
  licenseOption:
36871
36884
  type: object
36872
36885
  required:
@@ -38043,7 +38056,6 @@ components:
38043
38056
  type: object
38044
38057
  required:
38045
38058
  - secretName
38046
- - fileName
38047
38059
  properties:
38048
38060
  required:
38049
38061
  type: boolean
@@ -38054,6 +38066,11 @@ components:
38054
38066
  fileName:
38055
38067
  type: string
38056
38068
  description: the license file name
38069
+ files:
38070
+ type: array
38071
+ description: Explicit license file upload slots. Each item maps one UI upload field to the file name written into the license Secret.
38072
+ items:
38073
+ $ref: '#/components/schemas/engineOptionLicenseFile'
38057
38074
  components:
38058
38075
  type: array
38059
38076
  description: set the custom ops to update license for different components
@@ -38224,7 +38241,7 @@ components:
38224
38241
  licenseFile:
38225
38242
  type: string
38226
38243
  format: binary
38227
- description: The license file to upload. Required when type is not NodeScope; optional when type is NodeScope.
38244
+ description: The license file to upload. Required when type is not NodeScope; optional when type is NodeScope. For engines with engineOption.license.files, generated SDKs can still upload an engine-defined JSON license bundle through this field. Direct multipart callers should upload each file using the configured license.files[].name as the form field name.
38228
38245
  required:
38229
38246
  - name
38230
38247
  - engineName
@@ -455,6 +455,7 @@ models/engine-license.ts
455
455
  models/engine-mapping.ts
456
456
  models/engine-mode-transition.ts
457
457
  models/engine-network-mode-supported.ts
458
+ models/engine-option-license-file.ts
458
459
  models/engine-option-license.ts
459
460
  models/engine-option-list.ts
460
461
  models/engine-option-status.ts
@@ -359,7 +359,7 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
359
359
  };
360
360
  },
361
361
  /**
362
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
362
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
363
363
  * @summary Explain cluster slow log template
364
364
  * @param {string} orgName
365
365
  * @param {string} clusterName
@@ -1981,7 +1981,7 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
1981
1981
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1982
1982
  },
1983
1983
  /**
1984
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
1984
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
1985
1985
  * @summary Explain cluster slow log template
1986
1986
  * @param {string} orgName
1987
1987
  * @param {string} clusterName
@@ -2379,7 +2379,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
2379
2379
  return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
2380
2380
  },
2381
2381
  /**
2382
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
2382
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
2383
2383
  * @summary Explain cluster slow log template
2384
2384
  * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
2385
2385
  * @param {*} [options] Override http request option.
@@ -2538,7 +2538,7 @@ export interface ClusterLogApiInterface {
2538
2538
  explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
2539
2539
 
2540
2540
  /**
2541
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
2541
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
2542
2542
  * @summary Explain cluster slow log template
2543
2543
  * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
2544
2544
  * @param {*} [options] Override http request option.
@@ -4579,7 +4579,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
4579
4579
  }
4580
4580
 
4581
4581
  /**
4582
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
4582
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
4583
4583
  * @summary Explain cluster slow log template
4584
4584
  * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
4585
4585
  * @param {*} [options] Override http request option.
@@ -4507,7 +4507,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4507
4507
  };
4508
4508
  },
4509
4509
  /**
4510
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
4510
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
4511
4511
  * @summary Explain cluster slow log template
4512
4512
  * @param {string} orgName
4513
4513
  * @param {string} clusterName
@@ -18048,7 +18048,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
18048
18048
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18049
18049
  },
18050
18050
  /**
18051
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
18051
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
18052
18052
  * @summary Explain cluster slow log template
18053
18053
  * @param {string} orgName
18054
18054
  * @param {string} clusterName
@@ -22379,7 +22379,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22379
22379
  return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
22380
22380
  },
22381
22381
  /**
22382
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
22382
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
22383
22383
  * @summary Explain cluster slow log template
22384
22384
  * @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
22385
22385
  * @param {*} [options] Override http request option.
@@ -25354,7 +25354,7 @@ export interface SharedApiInterface {
25354
25354
  explainSlowLog(requestParameters: SharedApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
25355
25355
 
25356
25356
  /**
25357
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
25357
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
25358
25358
  * @summary Explain cluster slow log template
25359
25359
  * @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
25360
25360
  * @param {*} [options] Override http request option.
@@ -38775,7 +38775,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38775
38775
  }
38776
38776
 
38777
38777
  /**
38778
- * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
38778
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
38779
38779
  * @summary Explain cluster slow log template
38780
38780
  * @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
38781
38781
  * @param {*} [options] Override http request option.
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { LocalizedDescription } from './localized-description';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface EngineOptionLicenseFile
24
+ */
25
+ export interface EngineOptionLicenseFile {
26
+ /**
27
+ * Target license file name written into the engine license Secret.
28
+ * @type {string}
29
+ * @memberof EngineOptionLicenseFile
30
+ */
31
+ 'name': string;
32
+ /**
33
+ *
34
+ * @type {LocalizedDescription}
35
+ * @memberof EngineOptionLicenseFile
36
+ */
37
+ 'title'?: LocalizedDescription;
38
+ /**
39
+ *
40
+ * @type {LocalizedDescription}
41
+ * @memberof EngineOptionLicenseFile
42
+ */
43
+ 'description'?: LocalizedDescription;
44
+ }
45
+
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { EngineOptionLicenseFile } from './engine-option-license-file';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import type { LicenseOption } from './license-option';
@@ -40,7 +43,13 @@ export interface EngineOptionLicense {
40
43
  * @type {string}
41
44
  * @memberof EngineOptionLicense
42
45
  */
43
- 'fileName': string;
46
+ 'fileName'?: string;
47
+ /**
48
+ * Explicit license file upload slots. Each item maps one UI upload field to the file name written into the license Secret.
49
+ * @type {Array<EngineOptionLicenseFile>}
50
+ * @memberof EngineOptionLicense
51
+ */
52
+ 'files'?: Array<EngineOptionLicenseFile>;
44
53
  /**
45
54
  * set the custom ops to update license for different components
46
55
  * @type {Array<LicenseOption>}
@@ -380,6 +380,7 @@ export * from './engine-mode-transition';
380
380
  export * from './engine-network-mode-supported';
381
381
  export * from './engine-option';
382
382
  export * from './engine-option-license';
383
+ export * from './engine-option-license-file';
383
384
  export * from './engine-option-list';
384
385
  export * from './engine-option-status';
385
386
  export * from './engine-option-version';
package/src/openapi.yaml CHANGED
@@ -2758,7 +2758,7 @@ paths:
2758
2758
  - shared
2759
2759
  /api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/explain:
2760
2760
  post:
2761
- description: Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
2761
+ description: Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
2762
2762
  summary: Explain cluster slow log template
2763
2763
  operationId: explainSlowLogTemplate
2764
2764
  parameters:
@@ -30176,6 +30176,19 @@ components:
30176
30176
  In rebuildinstance ops, only `ops` object is available.
30177
30177
  type: object
30178
30178
  type: array
30179
+ engineOptionLicenseFile:
30180
+ type: object
30181
+ additionalProperties: false
30182
+ required:
30183
+ - name
30184
+ properties:
30185
+ name:
30186
+ type: string
30187
+ description: Target license file name written into the engine license Secret.
30188
+ title:
30189
+ $ref: '#/components/schemas/localizedDescription'
30190
+ description:
30191
+ $ref: '#/components/schemas/localizedDescription'
30179
30192
  licenseOption:
30180
30193
  type: object
30181
30194
  required:
@@ -31352,7 +31365,6 @@ components:
31352
31365
  type: object
31353
31366
  required:
31354
31367
  - secretName
31355
- - fileName
31356
31368
  properties:
31357
31369
  required:
31358
31370
  type: boolean
@@ -31363,6 +31375,11 @@ components:
31363
31375
  fileName:
31364
31376
  type: string
31365
31377
  description: the license file name
31378
+ files:
31379
+ type: array
31380
+ description: Explicit license file upload slots. Each item maps one UI upload field to the file name written into the license Secret.
31381
+ items:
31382
+ $ref: '#/components/schemas/engineOptionLicenseFile'
31366
31383
  components:
31367
31384
  type: array
31368
31385
  description: set the custom ops to update license for different components