kb-cloud-client-typescript 2.3.32 → 2.3.34

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 (140) hide show
  1. package/dist/adminapi/apis/cluster-jar-api.d.ts +0 -79
  2. package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-jar-api.js +0 -84
  4. package/dist/adminapi/apis/cluster-jar-api.js.map +1 -1
  5. package/dist/adminapi/apis/shared-api.d.ts +0 -79
  6. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/shared-api.js +0 -84
  8. package/dist/adminapi/apis/shared-api.js.map +1 -1
  9. package/dist/adminapi/apis/task-api.d.ts +16 -7
  10. package/dist/adminapi/apis/task-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/task-api.js +14 -9
  12. package/dist/adminapi/apis/task-api.js.map +1 -1
  13. package/dist/adminapi/models/backup-option.d.ts +6 -0
  14. package/dist/adminapi/models/backup-option.d.ts.map +1 -1
  15. package/dist/adminapi/models/cluster-jar-package.d.ts +0 -6
  16. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -1
  17. package/dist/adminapi/models/dms-pagination.d.ts +36 -0
  18. package/dist/adminapi/models/dms-pagination.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.d.ts +3 -1
  20. package/dist/adminapi/models/index.d.ts.map +1 -1
  21. package/dist/adminapi/models/index.js +3 -1
  22. package/dist/adminapi/models/index.js.map +1 -1
  23. package/dist/adminapi/models/instance-template-attribute.d.ts +2 -0
  24. package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -1
  25. package/dist/adminapi/models/instance-template-attribute.js +3 -1
  26. package/dist/adminapi/models/instance-template-attribute.js.map +1 -1
  27. package/dist/adminapi/models/instance-template-create.d.ts +13 -1
  28. package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
  29. package/dist/adminapi/models/instance-template-op.d.ts +1 -0
  30. package/dist/adminapi/models/instance-template-op.d.ts.map +1 -1
  31. package/dist/adminapi/models/instance-template-op.js +2 -1
  32. package/dist/adminapi/models/instance-template-op.js.map +1 -1
  33. package/dist/adminapi/models/instance-template-volume-expand.d.ts +32 -0
  34. package/dist/adminapi/models/instance-template-volume-expand.d.ts.map +1 -0
  35. package/dist/adminapi/models/{ops-volume-expand-volumes-inner.js → instance-template-volume-expand.js} +1 -1
  36. package/dist/adminapi/models/instance-template-volume-expand.js.map +1 -0
  37. package/dist/adminapi/models/mode-component-instance-template.d.ts +3 -3
  38. package/dist/adminapi/models/{ops-volume-expand-volumes-inner.d.ts → ops-volume-expand-volumes-items0.d.ts} +7 -7
  39. package/dist/adminapi/models/ops-volume-expand-volumes-items0.d.ts.map +1 -0
  40. package/dist/adminapi/models/ops-volume-expand-volumes-items0.js +16 -0
  41. package/dist/adminapi/models/ops-volume-expand-volumes-items0.js.map +1 -0
  42. package/dist/adminapi/models/ops-volume-expand.d.ts +11 -4
  43. package/dist/adminapi/models/ops-volume-expand.d.ts.map +1 -1
  44. package/dist/adminapi/models/show-data-request.d.ts +13 -1
  45. package/dist/adminapi/models/show-data-request.d.ts.map +1 -1
  46. package/dist/adminapi/models/task-retry-mode.d.ts +22 -0
  47. package/dist/adminapi/models/task-retry-mode.d.ts.map +1 -0
  48. package/dist/adminapi/models/task-retry-mode.js +26 -0
  49. package/dist/adminapi/models/task-retry-mode.js.map +1 -0
  50. package/dist/adminapi/models/task.d.ts +7 -0
  51. package/dist/adminapi/models/task.d.ts.map +1 -1
  52. package/dist/openapi/apis/cluster-jar-api.d.ts +0 -79
  53. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -1
  54. package/dist/openapi/apis/cluster-jar-api.js +0 -84
  55. package/dist/openapi/apis/cluster-jar-api.js.map +1 -1
  56. package/dist/openapi/apis/shared-api.d.ts +0 -79
  57. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  58. package/dist/openapi/apis/shared-api.js +0 -84
  59. package/dist/openapi/apis/shared-api.js.map +1 -1
  60. package/dist/openapi/models/backup-option.d.ts +6 -0
  61. package/dist/openapi/models/backup-option.d.ts.map +1 -1
  62. package/dist/openapi/models/cluster-jar-package.d.ts +0 -6
  63. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -1
  64. package/dist/openapi/models/dms-pagination.d.ts +36 -0
  65. package/dist/openapi/models/dms-pagination.d.ts.map +1 -1
  66. package/dist/openapi/models/index.d.ts +3 -1
  67. package/dist/openapi/models/index.d.ts.map +1 -1
  68. package/dist/openapi/models/index.js +3 -1
  69. package/dist/openapi/models/index.js.map +1 -1
  70. package/dist/openapi/models/instance-template-attribute.d.ts +2 -0
  71. package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -1
  72. package/dist/openapi/models/instance-template-attribute.js +3 -1
  73. package/dist/openapi/models/instance-template-attribute.js.map +1 -1
  74. package/dist/openapi/models/instance-template-create.d.ts +13 -1
  75. package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
  76. package/dist/openapi/models/instance-template-op.d.ts +1 -0
  77. package/dist/openapi/models/instance-template-op.d.ts.map +1 -1
  78. package/dist/openapi/models/instance-template-op.js +2 -1
  79. package/dist/openapi/models/instance-template-op.js.map +1 -1
  80. package/dist/openapi/models/instance-template-volume-expand.d.ts +32 -0
  81. package/dist/openapi/models/instance-template-volume-expand.d.ts.map +1 -0
  82. package/dist/openapi/models/{ops-volume-expand-volumes-inner.js → instance-template-volume-expand.js} +1 -1
  83. package/dist/openapi/models/instance-template-volume-expand.js.map +1 -0
  84. package/dist/openapi/models/mode-component-instance-template.d.ts +3 -3
  85. package/dist/openapi/models/{ops-volume-expand-volumes-inner.d.ts → ops-volume-expand-volumes-items0.d.ts} +7 -7
  86. package/dist/openapi/models/ops-volume-expand-volumes-items0.d.ts.map +1 -0
  87. package/dist/openapi/models/ops-volume-expand-volumes-items0.js +16 -0
  88. package/dist/openapi/models/ops-volume-expand-volumes-items0.js.map +1 -0
  89. package/dist/openapi/models/ops-volume-expand.d.ts +11 -4
  90. package/dist/openapi/models/ops-volume-expand.d.ts.map +1 -1
  91. package/dist/openapi/models/show-data-request.d.ts +13 -1
  92. package/dist/openapi/models/show-data-request.d.ts.map +1 -1
  93. package/dist/openapi/models/task-retry-mode.d.ts +22 -0
  94. package/dist/openapi/models/task-retry-mode.d.ts.map +1 -0
  95. package/dist/openapi/models/task-retry-mode.js +26 -0
  96. package/dist/openapi/models/task-retry-mode.js.map +1 -0
  97. package/dist/openapi/models/task.d.ts +7 -0
  98. package/dist/openapi/models/task.d.ts.map +1 -1
  99. package/package.json +1 -1
  100. package/src/adminapi/.openapi-generator/FILES +3 -1
  101. package/src/adminapi/apis/cluster-jar-api.ts +0 -136
  102. package/src/adminapi/apis/shared-api.ts +0 -136
  103. package/src/adminapi/apis/task-api.ts +25 -10
  104. package/src/adminapi/models/backup-option.ts +6 -0
  105. package/src/adminapi/models/cluster-jar-package.ts +0 -6
  106. package/src/adminapi/models/dms-pagination.ts +36 -0
  107. package/src/adminapi/models/index.ts +3 -1
  108. package/src/adminapi/models/instance-template-attribute.ts +3 -1
  109. package/src/adminapi/models/instance-template-create.ts +13 -1
  110. package/src/adminapi/models/instance-template-op.ts +2 -1
  111. package/src/adminapi/models/instance-template-volume-expand.ts +39 -0
  112. package/src/adminapi/models/mode-component-instance-template.ts +3 -3
  113. package/src/adminapi/models/{ops-volume-expand-volumes-inner.ts → ops-volume-expand-volumes-items0.ts} +6 -6
  114. package/src/adminapi/models/ops-volume-expand.ts +13 -4
  115. package/src/adminapi/models/show-data-request.ts +13 -1
  116. package/src/adminapi/models/task-retry-mode.ts +31 -0
  117. package/src/adminapi/models/task.ts +9 -0
  118. package/src/adminapi.yaml +126 -81
  119. package/src/openapi/.openapi-generator/FILES +3 -1
  120. package/src/openapi/apis/cluster-jar-api.ts +0 -136
  121. package/src/openapi/apis/shared-api.ts +0 -136
  122. package/src/openapi/models/backup-option.ts +6 -0
  123. package/src/openapi/models/cluster-jar-package.ts +0 -6
  124. package/src/openapi/models/dms-pagination.ts +36 -0
  125. package/src/openapi/models/index.ts +3 -1
  126. package/src/openapi/models/instance-template-attribute.ts +3 -1
  127. package/src/openapi/models/instance-template-create.ts +13 -1
  128. package/src/openapi/models/instance-template-op.ts +2 -1
  129. package/src/openapi/models/instance-template-volume-expand.ts +39 -0
  130. package/src/openapi/models/mode-component-instance-template.ts +3 -3
  131. package/src/openapi/models/{ops-volume-expand-volumes-inner.ts → ops-volume-expand-volumes-items0.ts} +6 -6
  132. package/src/openapi/models/ops-volume-expand.ts +13 -4
  133. package/src/openapi/models/show-data-request.ts +13 -1
  134. package/src/openapi/models/task-retry-mode.ts +31 -0
  135. package/src/openapi/models/task.ts +9 -0
  136. package/src/openapi.yaml +113 -80
  137. package/dist/adminapi/models/ops-volume-expand-volumes-inner.d.ts.map +0 -1
  138. package/dist/adminapi/models/ops-volume-expand-volumes-inner.js.map +0 -1
  139. package/dist/openapi/models/ops-volume-expand-volumes-inner.d.ts.map +0 -1
  140. package/dist/openapi/models/ops-volume-expand-volumes-inner.js.map +0 -1
@@ -41,59 +41,6 @@ import type { ClusterJarTask } from '../models';
41
41
  */
42
42
  export const ClusterJarApiAxiosParamCreator = function (configuration?: Configuration) {
43
43
  return {
44
- /**
45
- *
46
- * @summary Archive a JAR while retaining published files and startup synchronization
47
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
48
- * @param {string} orgName
49
- * @param {string} clusterName
50
- * @param {string} jarId
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55
- // verify required parameter 'engineName' is not null or undefined
56
- assertParamExists('archiveClusterJar', 'engineName', engineName)
57
- // verify required parameter 'orgName' is not null or undefined
58
- assertParamExists('archiveClusterJar', 'orgName', orgName)
59
- // verify required parameter 'clusterName' is not null or undefined
60
- assertParamExists('archiveClusterJar', 'clusterName', clusterName)
61
- // verify required parameter 'jarId' is not null or undefined
62
- assertParamExists('archiveClusterJar', 'jarId', jarId)
63
- const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
64
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
65
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
66
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
67
- .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
68
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
69
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70
- let baseOptions;
71
- if (configuration) {
72
- baseOptions = configuration.baseOptions;
73
- }
74
-
75
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
76
- const localVarHeaderParameter = {} as any;
77
- const localVarQueryParameter = {} as any;
78
-
79
- // authentication BearerToken required
80
- // http bearer authentication required
81
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
82
-
83
- // authentication DigestAuth required
84
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
85
-
86
-
87
-
88
- setSearchParams(localVarUrlObj, localVarQueryParameter);
89
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
90
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
91
-
92
- return {
93
- url: toPathString(localVarUrlObj),
94
- options: localVarRequestOptions,
95
- };
96
- },
97
44
  /**
98
45
  *
99
46
  * @summary Delete an unpublished JAR version
@@ -500,22 +447,6 @@ export const ClusterJarApiAxiosParamCreator = function (configuration?: Configur
500
447
  export const ClusterJarApiFp = function(configuration?: Configuration) {
501
448
  const localVarAxiosParamCreator = ClusterJarApiAxiosParamCreator(configuration)
502
449
  return {
503
- /**
504
- *
505
- * @summary Archive a JAR while retaining published files and startup synchronization
506
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
507
- * @param {string} orgName
508
- * @param {string} clusterName
509
- * @param {string} jarId
510
- * @param {*} [options] Override http request option.
511
- * @throws {RequiredError}
512
- */
513
- async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
514
- const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
515
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
516
- const localVarOperationServerBasePath = operationServerMap['ClusterJarApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
517
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
518
- },
519
450
  /**
520
451
  *
521
452
  * @summary Delete an unpublished JAR version
@@ -640,16 +571,6 @@ export const ClusterJarApiFp = function(configuration?: Configuration) {
640
571
  export const ClusterJarApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
641
572
  const localVarFp = ClusterJarApiFp(configuration)
642
573
  return {
643
- /**
644
- *
645
- * @summary Archive a JAR while retaining published files and startup synchronization
646
- * @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
647
- * @param {*} [options] Override http request option.
648
- * @throws {RequiredError}
649
- */
650
- archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
651
- return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
652
- },
653
574
  /**
654
575
  *
655
576
  * @summary Delete an unpublished JAR version
@@ -729,16 +650,6 @@ export const ClusterJarApiFactory = function (configuration?: Configuration, bas
729
650
  * @interface ClusterJarApi
730
651
  */
731
652
  export interface ClusterJarApiInterface {
732
- /**
733
- *
734
- * @summary Archive a JAR while retaining published files and startup synchronization
735
- * @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
736
- * @param {*} [options] Override http request option.
737
- * @throws {RequiredError}
738
- * @memberof ClusterJarApiInterface
739
- */
740
- archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
741
-
742
653
  /**
743
654
  *
744
655
  * @summary Delete an unpublished JAR version
@@ -811,41 +722,6 @@ export interface ClusterJarApiInterface {
811
722
 
812
723
  }
813
724
 
814
- /**
815
- * Request parameters for archiveClusterJar operation in ClusterJarApi.
816
- * @export
817
- * @interface ClusterJarApiArchiveClusterJarRequest
818
- */
819
- export interface ClusterJarApiArchiveClusterJarRequest {
820
- /**
821
- * Doris or SelectDB engine of the target cluster.
822
- * @type {string}
823
- * @memberof ClusterJarApiArchiveClusterJar
824
- */
825
- readonly engineName: string
826
-
827
- /**
828
- *
829
- * @type {string}
830
- * @memberof ClusterJarApiArchiveClusterJar
831
- */
832
- readonly orgName: string
833
-
834
- /**
835
- *
836
- * @type {string}
837
- * @memberof ClusterJarApiArchiveClusterJar
838
- */
839
- readonly clusterName: string
840
-
841
- /**
842
- *
843
- * @type {string}
844
- * @memberof ClusterJarApiArchiveClusterJar
845
- */
846
- readonly jarId: string
847
- }
848
-
849
725
  /**
850
726
  * Request parameters for deleteClusterJar operation in ClusterJarApi.
851
727
  * @export
@@ -1112,18 +988,6 @@ export interface ClusterJarApiUploadClusterJarRequest {
1112
988
  * @extends {BaseAPI}
1113
989
  */
1114
990
  export class ClusterJarApi extends BaseAPI implements ClusterJarApiInterface {
1115
- /**
1116
- *
1117
- * @summary Archive a JAR while retaining published files and startup synchronization
1118
- * @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
1119
- * @param {*} [options] Override http request option.
1120
- * @throws {RequiredError}
1121
- * @memberof ClusterJarApi
1122
- */
1123
- public archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
1124
- return ClusterJarApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
1125
- }
1126
-
1127
991
  /**
1128
992
  *
1129
993
  * @summary Delete an unpublished JAR version
@@ -805,59 +805,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
805
805
  options: localVarRequestOptions,
806
806
  };
807
807
  },
808
- /**
809
- *
810
- * @summary Archive a JAR while retaining published files and startup synchronization
811
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
812
- * @param {string} orgName
813
- * @param {string} clusterName
814
- * @param {string} jarId
815
- * @param {*} [options] Override http request option.
816
- * @throws {RequiredError}
817
- */
818
- archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
819
- // verify required parameter 'engineName' is not null or undefined
820
- assertParamExists('archiveClusterJar', 'engineName', engineName)
821
- // verify required parameter 'orgName' is not null or undefined
822
- assertParamExists('archiveClusterJar', 'orgName', orgName)
823
- // verify required parameter 'clusterName' is not null or undefined
824
- assertParamExists('archiveClusterJar', 'clusterName', clusterName)
825
- // verify required parameter 'jarId' is not null or undefined
826
- assertParamExists('archiveClusterJar', 'jarId', jarId)
827
- const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
828
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
829
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
830
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
831
- .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
832
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
833
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
834
- let baseOptions;
835
- if (configuration) {
836
- baseOptions = configuration.baseOptions;
837
- }
838
-
839
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
840
- const localVarHeaderParameter = {} as any;
841
- const localVarQueryParameter = {} as any;
842
-
843
- // authentication BearerToken required
844
- // http bearer authentication required
845
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
846
-
847
- // authentication DigestAuth required
848
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
849
-
850
-
851
-
852
- setSearchParams(localVarUrlObj, localVarQueryParameter);
853
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
854
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
855
-
856
- return {
857
- url: toPathString(localVarUrlObj),
858
- options: localVarRequestOptions,
859
- };
860
- },
861
808
  /**
862
809
  * Batch add permissions to a role
863
810
  * @summary Batch add permissions to a role
@@ -18025,22 +17972,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
18025
17972
  const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
18026
17973
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18027
17974
  },
18028
- /**
18029
- *
18030
- * @summary Archive a JAR while retaining published files and startup synchronization
18031
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
18032
- * @param {string} orgName
18033
- * @param {string} clusterName
18034
- * @param {string} jarId
18035
- * @param {*} [options] Override http request option.
18036
- * @throws {RequiredError}
18037
- */
18038
- async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18039
- const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
18040
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18041
- const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
18042
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18043
- },
18044
17975
  /**
18045
17976
  * Batch add permissions to a role
18046
17977
  * @summary Batch add permissions to a role
@@ -23041,16 +22972,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23041
22972
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
23042
22973
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
23043
22974
  },
23044
- /**
23045
- *
23046
- * @summary Archive a JAR while retaining published files and startup synchronization
23047
- * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
23048
- * @param {*} [options] Override http request option.
23049
- * @throws {RequiredError}
23050
- */
23051
- archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23052
- return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23053
- },
23054
22975
  /**
23055
22976
  * Batch add permissions to a role
23056
22977
  * @summary Batch add permissions to a role
@@ -26216,16 +26137,6 @@ export interface SharedApiInterface {
26216
26137
  */
26217
26138
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
26218
26139
 
26219
- /**
26220
- *
26221
- * @summary Archive a JAR while retaining published files and startup synchronization
26222
- * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
26223
- * @param {*} [options] Override http request option.
26224
- * @throws {RequiredError}
26225
- * @memberof SharedApiInterface
26226
- */
26227
- archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26228
-
26229
26140
  /**
26230
26141
  * Batch add permissions to a role
26231
26142
  * @summary Batch add permissions to a role
@@ -29666,41 +29577,6 @@ export interface SharedApiAlterParameterRequest {
29666
29577
  readonly dmsObAlterParameter: DmsObAlterParameter
29667
29578
  }
29668
29579
 
29669
- /**
29670
- * Request parameters for archiveClusterJar operation in SharedApi.
29671
- * @export
29672
- * @interface SharedApiArchiveClusterJarRequest
29673
- */
29674
- export interface SharedApiArchiveClusterJarRequest {
29675
- /**
29676
- * Doris or SelectDB engine of the target cluster.
29677
- * @type {string}
29678
- * @memberof SharedApiArchiveClusterJar
29679
- */
29680
- readonly engineName: string
29681
-
29682
- /**
29683
- *
29684
- * @type {string}
29685
- * @memberof SharedApiArchiveClusterJar
29686
- */
29687
- readonly orgName: string
29688
-
29689
- /**
29690
- *
29691
- * @type {string}
29692
- * @memberof SharedApiArchiveClusterJar
29693
- */
29694
- readonly clusterName: string
29695
-
29696
- /**
29697
- *
29698
- * @type {string}
29699
- * @memberof SharedApiArchiveClusterJar
29700
- */
29701
- readonly jarId: string
29702
- }
29703
-
29704
29580
  /**
29705
29581
  * Request parameters for batchAddRolePermissions operation in SharedApi.
29706
29582
  * @export
@@ -40354,18 +40230,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40354
40230
  return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
40355
40231
  }
40356
40232
 
40357
- /**
40358
- *
40359
- * @summary Archive a JAR while retaining published files and startup synchronization
40360
- * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
40361
- * @param {*} [options] Override http request option.
40362
- * @throws {RequiredError}
40363
- * @memberof SharedApi
40364
- */
40365
- public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
40366
- return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40367
- }
40368
-
40369
40233
  /**
40370
40234
  * Batch add permissions to a role
40371
40235
  * @summary Batch add permissions to a role
@@ -35,6 +35,12 @@ import type { SelectiveMethodOption } from './selective-method-option';
35
35
  * @interface BackupOption
36
36
  */
37
37
  export interface BackupOption {
38
+ /**
39
+ * Engine modes that support backup and restore. Omitted or null means all modes (legacy behavior); an empty array disables backup and restore for all modes.
40
+ * @type {Array<string>}
41
+ * @memberof BackupOption
42
+ */
43
+ 'modes'?: Array<string>;
38
44
  /**
39
45
  *
40
46
  * @type {string}
@@ -74,12 +74,6 @@ export interface ClusterJarPackage {
74
74
  * @memberof ClusterJarPackage
75
75
  */
76
76
  'published': boolean;
77
- /**
78
- *
79
- * @type {boolean}
80
- * @memberof ClusterJarPackage
81
- */
82
- 'archived': boolean;
83
77
  /**
84
78
  *
85
79
  * @type {string}
@@ -20,6 +20,42 @@
20
20
  * @interface DmsPagination
21
21
  */
22
22
  export interface DmsPagination {
23
+ /**
24
+ * Zero-based offset of this showData page.
25
+ * @type {number}
26
+ * @memberof DmsPagination
27
+ */
28
+ 'offset'?: number | null;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof DmsPagination
33
+ */
34
+ 'limit'?: number | null;
35
+ /**
36
+ * Whether another showData page exists; determined by reading one extra row.
37
+ * @type {boolean}
38
+ * @memberof DmsPagination
39
+ */
40
+ 'hasMore'?: boolean | null;
41
+ /**
42
+ * Present only when hasMore is true.
43
+ * @type {number}
44
+ * @memberof DmsPagination
45
+ */
46
+ 'nextOffset'?: number | null;
47
+ /**
48
+ * Exact count returned only by countOnly requests (including zero).
49
+ * @type {number}
50
+ * @memberof DmsPagination
51
+ */
52
+ 'totalRows'?: number | null;
53
+ /**
54
+ * Primary-key columns used for ordering; empty means ordering is not guaranteed. Pages are not a fixed snapshot.
55
+ * @type {Array<string>}
56
+ * @memberof DmsPagination
57
+ */
58
+ 'orderColumns'?: Array<string>;
23
59
  /**
24
60
  *
25
61
  * @type {number}
@@ -517,6 +517,7 @@ export * from './instance-template-create-env-inner';
517
517
  export * from './instance-template-env';
518
518
  export * from './instance-template-op';
519
519
  export * from './instance-template-replicas';
520
+ export * from './instance-template-volume-expand';
520
521
  export * from './integer-option';
521
522
  export * from './international-desc';
522
523
  export * from './io-quantity';
@@ -679,7 +680,7 @@ export * from './ops-stop';
679
680
  export * from './ops-upgrade';
680
681
  export * from './ops-vscale';
681
682
  export * from './ops-volume-expand';
682
- export * from './ops-volume-expand-volumes-inner';
683
+ export * from './ops-volume-expand-volumes-items0';
683
684
  export * from './org';
684
685
  export * from './org-aggregation-group-type';
685
686
  export * from './org-create';
@@ -885,6 +886,7 @@ export * from './task';
885
886
  export * from './task-failure-policy';
886
887
  export * from './task-list';
887
888
  export * from './task-list-item';
889
+ export * from './task-retry-mode';
888
890
  export * from './task-schedule';
889
891
  export * from './task-schedule-type';
890
892
  export * from './task-status';
@@ -23,7 +23,9 @@
23
23
  export const InstanceTemplateAttribute = {
24
24
  env: 'env',
25
25
  annotations: 'annotations',
26
- labels: 'labels'
26
+ labels: 'labels',
27
+ availabilityZone: 'availabilityZone',
28
+ storageClass: 'storageClass'
27
29
  } as const;
28
30
 
29
31
  export type InstanceTemplateAttribute = typeof InstanceTemplateAttribute[keyof typeof InstanceTemplateAttribute];
@@ -18,7 +18,7 @@
18
18
  import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
19
19
 
20
20
  /**
21
- * Create assignment for one instance template. name and replicas are required. env, annotations, and labels are optional overlays onto the chart-rendered instance. The request must include every chart-rendered instance template exactly once.
21
+ * Create assignment for one instance template. name and replicas are required. env, annotations, labels, availabilityZone, and storageClass are optional overlays onto the chart-rendered instance. The request must include every chart-rendered instance template exactly once. A template with an explicit zone uses single-zone scheduling: hostname anti-affinity follows the scheduling policy, while explicit rules and additional topology keys are preserved. Component scheduling remains unchanged; templates without a zone inherit it, including its zone anti-affinity constraints. Chart instance scheduling policies are cleared; an omitted or empty availabilityZone leaves the instance policy unset to inherit the component policy.
22
22
  * @export
23
23
  * @interface InstanceTemplateCreate
24
24
  */
@@ -35,6 +35,18 @@ export interface InstanceTemplateCreate {
35
35
  * @memberof InstanceTemplateCreate
36
36
  */
37
37
  'replicas': number;
38
+ /**
39
+ * Availability zone for this template (topology.kubernetes.io/zone); omitted or empty inherits the component zone selection. Must be enabled in the environment. If the request explicitly supplies a non-empty cluster availabilityZones list, the template zone must also belong to that list.
40
+ * @type {string}
41
+ * @memberof InstanceTemplateCreate
42
+ */
43
+ 'availabilityZone'?: string;
44
+ /**
45
+ * StorageClass name for all persistent volumes in this template. Copied from component volumeClaimTemplates, preserving volume sizes and other settings while overriding storageClassName. Chart instance volume templates are cleared; omitted or empty leaves instance volumeClaimTemplates unset.
46
+ * @type {string}
47
+ * @memberof InstanceTemplateCreate
48
+ */
49
+ 'storageClass'?: string;
38
50
  /**
39
51
  * Simple env vars (name and value only) merged into this template. valueFrom is not supported; overlaying a name clears any chart valueFrom.
40
52
  * @type {Array<InstanceTemplateCreateEnvInner>}
@@ -22,7 +22,8 @@
22
22
 
23
23
  export const InstanceTemplateOp = {
24
24
  hscale: 'hscale',
25
- vscale: 'vscale'
25
+ vscale: 'vscale',
26
+ storageExpansion: 'storageExpansion'
26
27
  } as const;
27
28
 
28
29
  export type InstanceTemplateOp = typeof InstanceTemplateOp[keyof typeof InstanceTemplateOp];
@@ -0,0 +1,39 @@
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 { OpsVolumeExpandVolumesItems0 } from './ops-volume-expand-volumes-items0';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface InstanceTemplateVolumeExpand
24
+ */
25
+ export interface InstanceTemplateVolumeExpand {
26
+ /**
27
+ * Template name from the current mode component instanceTemplate.names.
28
+ * @type {string}
29
+ * @memberof InstanceTemplateVolumeExpand
30
+ */
31
+ 'name': string;
32
+ /**
33
+ *
34
+ * @type {Array<OpsVolumeExpandVolumesItems0>}
35
+ * @memberof InstanceTemplateVolumeExpand
36
+ */
37
+ 'volumes': Array<OpsVolumeExpandVolumesItems0>;
38
+ }
39
+
@@ -24,19 +24,19 @@ import type { InstanceTemplateEnv } from './instance-template-env';
24
24
  import type { InstanceTemplateOp } from './instance-template-op';
25
25
 
26
26
  /**
27
- * Frontend catalog of instance templates for this mode component. names, ops, attributes, and env are for UI rendering. Create validates the request against chart-rendered Cluster instances, not this catalog. HScale does not re-check this catalog; it builds the OpsRequest from the request and the live Cluster. HScale instanceTemplates still requires top-level replicas. ops lists hscale and vscale for the UI (vscale is reserved; class stays component-level). Only HScale processes instance templates. VolumeExpansion, VScale, Upgrade, Restart, and other operations silently ignore instance templates and keep their component-level behavior. Template-level volumeexpansion is not implemented. The platform does not even-split or fill in missing templates. When absent, the frontend should use component-level operations.
27
+ * Template fields and operations shared by the frontend and backend. Declaring storageExpansion in ops requires explicit volume expansion targets for every name. Components without this capability use component-level expansion.
28
28
  * @export
29
29
  * @interface ModeComponentInstanceTemplate
30
30
  */
31
31
  export interface ModeComponentInstanceTemplate {
32
32
  /**
33
- * Instance template names the frontend should render. Create and hscale check names against the chart or live Cluster, not this list.
33
+ * Instance template names the frontend should render. Create and hscale check names against the chart or live Cluster, not this list. Explicit volume expansion targets must include every name in this list.
34
34
  * @type {Set<string>}
35
35
  * @memberof ModeComponentInstanceTemplate
36
36
  */
37
37
  'names': Set<string>;
38
38
  /**
39
- * Operations the frontend should offer per template: hscale, vscale. Not re-checked when creating a cluster or building an hscale OpsRequest. Only hscale currently acts per template; vscale is reserved. VolumeExpansion, VScale, Upgrade, and Restart ignore instance templates and keep their component-level behavior.
39
+ * Template operations: hscale, storageExpansion, and reserved vscale. Explicit volume expansion targets must match component volume names and target capacities.
40
40
  * @type {Array<InstanceTemplateOp>}
41
41
  * @memberof ModeComponentInstanceTemplate
42
42
  */
@@ -17,19 +17,19 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface OpsVolumeExpandVolumesInner
20
+ * @interface OpsVolumeExpandVolumesItems0
21
21
  */
22
- export interface OpsVolumeExpandVolumesInner {
22
+ export interface OpsVolumeExpandVolumesItems0 {
23
23
  /**
24
- * volume name
24
+ * Volume name.
25
25
  * @type {string}
26
- * @memberof OpsVolumeExpandVolumesInner
26
+ * @memberof OpsVolumeExpandVolumesItems0
27
27
  */
28
28
  'name': string;
29
29
  /**
30
- * Storage size, the unit is Gi.
30
+ * Desired size with Gi suffix, for example 30Gi.
31
31
  * @type {string}
32
- * @memberof OpsVolumeExpandVolumesInner
32
+ * @memberof OpsVolumeExpandVolumesItems0
33
33
  */
34
34
  'storage': string;
35
35
  }
@@ -15,14 +15,23 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { OpsVolumeExpandVolumesInner } from './ops-volume-expand-volumes-inner';
18
+ import type { InstanceTemplateVolumeExpand } from './instance-template-volume-expand';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { OpsVolumeExpandVolumesItems0 } from './ops-volume-expand-volumes-items0';
19
22
 
20
23
  /**
21
- * OpsVolumeExpand is the payload to expand volume for a KubeBlocks cluster
24
+ * Expand component volumes and explicit targets for components with template expansion enabled.
22
25
  * @export
23
26
  * @interface OpsVolumeExpand
24
27
  */
25
28
  export interface OpsVolumeExpand {
29
+ /**
30
+ * Required when the current mode component instanceTemplate.ops includes storageExpansion; otherwise omit for component-level expansion. Explicit targets require this capability. Every configured template must explicitly specify the same volume names and target capacities as component-level volumes. Names identify templates, not Pods. Targets are forwarded together in one OpsRequest without filling in, merging, or removing template targets. KubeBlocks may materialize template volumeClaimTemplates for explicitly targeted inherited volumes.
31
+ * @type {Array<InstanceTemplateVolumeExpand>}
32
+ * @memberof OpsVolumeExpand
33
+ */
34
+ 'instanceTemplates'?: Array<InstanceTemplateVolumeExpand>;
26
35
  /**
27
36
  *
28
37
  * @type {string}
@@ -31,9 +40,9 @@ export interface OpsVolumeExpand {
31
40
  'component': string;
32
41
  /**
33
42
  *
34
- * @type {Array<OpsVolumeExpandVolumesInner>}
43
+ * @type {Array<OpsVolumeExpandVolumesItems0>}
35
44
  * @memberof OpsVolumeExpand
36
45
  */
37
- 'volumes': Array<OpsVolumeExpandVolumesInner>;
46
+ 'volumes': Array<OpsVolumeExpandVolumesItems0>;
38
47
  }
39
48
 
@@ -33,10 +33,22 @@ export interface ShowDataRequest {
33
33
  */
34
34
  'table'?: string;
35
35
  /**
36
- * return limited number of data
36
+ * Rows per batch, from 1 to 2000; defaults to 200.
37
37
  * @type {number}
38
38
  * @memberof ShowDataRequest
39
39
  */
40
40
  'limit'?: number | null;
41
+ /**
42
+ * Zero-based offset. Include 0 for the first paged request; omit for legacy data plus total-count behavior. Paged requests do not count the table.
43
+ * @type {number}
44
+ * @memberof ShowDataRequest
45
+ */
46
+ 'offset'?: number | null;
47
+ /**
48
+ * Only return pagination.totalRows, without loading data.
49
+ * @type {boolean}
50
+ * @memberof ShowDataRequest
51
+ */
52
+ 'countOnly'?: boolean;
41
53
  }
42
54