kb-cloud-client-typescript 2.3.0-alpha.104 → 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.
- package/dist/adminapi/apis/backup-method-api.d.ts +10 -2
- package/dist/adminapi/apis/backup-method-api.d.ts.map +1 -1
- package/dist/adminapi/apis/backup-method-api.js +10 -5
- package/dist/adminapi/apis/backup-method-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +10 -2
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +10 -5
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/backup-method-option.d.ts +6 -0
- package/dist/adminapi/models/backup-method-option.d.ts.map +1 -1
- package/dist/openapi/apis/backup-method-api.d.ts +10 -2
- package/dist/openapi/apis/backup-method-api.d.ts.map +1 -1
- package/dist/openapi/apis/backup-method-api.js +10 -5
- package/dist/openapi/apis/backup-method-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +10 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +10 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/backup-method-option.d.ts +6 -0
- package/dist/openapi/models/backup-method-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/backup-method-api.ts +18 -5
- package/src/adminapi/apis/shared-api.ts +18 -5
- package/src/adminapi/models/backup-method-option.ts +6 -0
- package/src/adminapi.yaml +10 -0
- package/src/openapi/apis/backup-method-api.ts +18 -5
- package/src/openapi/apis/shared-api.ts +18 -5
- package/src/openapi/models/backup-method-option.ts +6 -0
- package/src/openapi.yaml +10 -0
|
@@ -29,10 +29,11 @@ export declare const BackupMethodApiAxiosParamCreator: (configuration?: Configur
|
|
|
29
29
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
30
30
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
31
31
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
32
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
32
33
|
* @param {*} [options] Override http request option.
|
|
33
34
|
* @throws {RequiredError}
|
|
34
35
|
*/
|
|
35
|
-
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
37
|
};
|
|
37
38
|
/**
|
|
38
39
|
* BackupMethodApi - functional programming interface
|
|
@@ -50,10 +51,11 @@ export declare const BackupMethodApiFp: (configuration?: Configuration) => {
|
|
|
50
51
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
51
52
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
52
53
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
54
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
53
55
|
* @param {*} [options] Override http request option.
|
|
54
56
|
* @throws {RequiredError}
|
|
55
57
|
*/
|
|
56
|
-
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>>;
|
|
58
|
+
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>>;
|
|
57
59
|
};
|
|
58
60
|
/**
|
|
59
61
|
* BackupMethodApi - factory interface
|
|
@@ -139,6 +141,12 @@ export interface BackupMethodApiGetBackupMethodRequest {
|
|
|
139
141
|
* @memberof BackupMethodApiGetBackupMethod
|
|
140
142
|
*/
|
|
141
143
|
readonly component?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The cluster mode, used to filter out unsupported backup methods.
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof BackupMethodApiGetBackupMethod
|
|
148
|
+
*/
|
|
149
|
+
readonly mode?: string;
|
|
142
150
|
}
|
|
143
151
|
/**
|
|
144
152
|
* BackupMethodApi - object-oriented interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup-method-api.d.ts","sourceRoot":"","sources":["../../../src/adminapi/apis/backup-method-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAItH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD;;;GAGG;AACH,eAAO,MAAM,gCAAgC,GAAa,gBAAgB,aAAa;IAE/E
|
|
1
|
+
{"version":3,"file":"backup-method-api.d.ts","sourceRoot":"","sources":["../../../src/adminapi/apis/backup-method-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MA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IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAEtC;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAErC;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;;;;GAKG;AACH,qBAAa,eAAgB,SAAQ,OAAQ,YAAW,wBAAwB;IAC5E;;;;;;;OAOG;IACI,eAAe,CAAC,iBAAiB,EAAE,qCAAqC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGnH"}
|
|
@@ -40,10 +40,11 @@ const BackupMethodApiAxiosParamCreator = function (configuration) {
|
|
|
40
40
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
41
41
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
42
42
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
43
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
getBackupMethod: async (orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options = {}) => {
|
|
47
|
+
getBackupMethod: async (orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options = {}) => {
|
|
47
48
|
// verify required parameter 'orgName' is not null or undefined
|
|
48
49
|
(0, common_1.assertParamExists)('getBackupMethod', 'orgName', orgName);
|
|
49
50
|
// verify required parameter 'engineName' is not null or undefined
|
|
@@ -83,6 +84,9 @@ const BackupMethodApiAxiosParamCreator = function (configuration) {
|
|
|
83
84
|
if (component !== undefined) {
|
|
84
85
|
localVarQueryParameter['component'] = component;
|
|
85
86
|
}
|
|
87
|
+
if (mode !== undefined) {
|
|
88
|
+
localVarQueryParameter['mode'] = mode;
|
|
89
|
+
}
|
|
86
90
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
87
91
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
92
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -112,12 +116,13 @@ const BackupMethodApiFp = function (configuration) {
|
|
|
112
116
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
113
117
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
114
118
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
119
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
115
120
|
* @param {*} [options] Override http request option.
|
|
116
121
|
* @throws {RequiredError}
|
|
117
122
|
*/
|
|
118
|
-
async getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options) {
|
|
123
|
+
async getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options) {
|
|
119
124
|
var _a, _b, _c;
|
|
120
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options);
|
|
125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options);
|
|
121
126
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
122
127
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackupMethodApi.getBackupMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
123
128
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -140,7 +145,7 @@ const BackupMethodApiFactory = function (configuration, basePath, axios) {
|
|
|
140
145
|
* @throws {RequiredError}
|
|
141
146
|
*/
|
|
142
147
|
getBackupMethod(requestParameters, options) {
|
|
143
|
-
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));
|
|
148
|
+
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));
|
|
144
149
|
},
|
|
145
150
|
};
|
|
146
151
|
};
|
|
@@ -161,7 +166,7 @@ class BackupMethodApi extends base_1.BaseAPI {
|
|
|
161
166
|
* @memberof BackupMethodApi
|
|
162
167
|
*/
|
|
163
168
|
getBackupMethod(requestParameters, options) {
|
|
164
|
-
return (0, exports.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));
|
|
169
|
+
return (0, exports.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));
|
|
165
170
|
}
|
|
166
171
|
}
|
|
167
172
|
exports.BackupMethodApi = BackupMethodApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup-method-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/backup-method-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAKtH;;;GAGG;AACI,MAAM,gCAAgC,GAAG,UAAU,aAA6B;IACnF,OAAO;QACH
|
|
1
|
+
{"version":3,"file":"backup-method-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/backup-method-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAKtH;;;GAGG;AACI,MAAM,gCAAgC,GAAG,UAAU,aAA6B;IACnF,OAAO;QACH;;;;;;;;;;;;;;WAcG;QACH,eAAe,EAAE,KAAK,EAAE,OAAe,EAAE,UAAkB,EAAE,SAAkB,EAAE,UAAoB,EAAE,mBAA6B,EAAE,kBAA4B,EAAE,UAAoB,EAAE,SAAkB,EAAE,IAAa,EAAE,UAAiC,EAAE,EAAwB,EAAE;YACtR,+DAA+D;YAC/D,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;YACxD,kEAAkE;YAClE,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,YAAY,EAAE,UAAU,CAAC,CAAA;YAC9D,MAAM,YAAY,GAAG,oEAAoE;iBACpF,OAAO,CAAC,IAAI,SAAS,GAAG,EAAE,kBAAkB,CAAC,MA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BAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,UAAU,EAAE,iBAAiB,CAAC,SAAS,EAAE,iBAAiB,CAAC,UAAU,EAAE,iBAAiB,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,UAAU,EAAE,iBAAiB,CAAC,SAAS,EAAE,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpZ,CAAC;CACJ;AAZD,0CAYC"}
|
|
@@ -924,10 +924,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
924
924
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
925
925
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
926
926
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
927
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
927
928
|
* @param {*} [options] Override http request option.
|
|
928
929
|
* @throws {RequiredError}
|
|
929
930
|
*/
|
|
930
|
-
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
931
|
+
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
931
932
|
/**
|
|
932
933
|
*
|
|
933
934
|
* @summary Get backup repo
|
|
@@ -3487,10 +3488,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
3487
3488
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
3488
3489
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
3489
3490
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
3491
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
3490
3492
|
* @param {*} [options] Override http request option.
|
|
3491
3493
|
* @throws {RequiredError}
|
|
3492
3494
|
*/
|
|
3493
|
-
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>>;
|
|
3495
|
+
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>>;
|
|
3494
3496
|
/**
|
|
3495
3497
|
*
|
|
3496
3498
|
* @summary Get backup repo
|
|
@@ -11211,6 +11213,12 @@ export interface SharedApiGetBackupMethodRequest {
|
|
|
11211
11213
|
* @memberof SharedApiGetBackupMethod
|
|
11212
11214
|
*/
|
|
11213
11215
|
readonly component?: string;
|
|
11216
|
+
/**
|
|
11217
|
+
* The cluster mode, used to filter out unsupported backup methods.
|
|
11218
|
+
* @type {string}
|
|
11219
|
+
* @memberof SharedApiGetBackupMethod
|
|
11220
|
+
*/
|
|
11221
|
+
readonly mode?: string;
|
|
11214
11222
|
}
|
|
11215
11223
|
/**
|
|
11216
11224
|
* Request parameters for getBackupRepo operation in SharedApi.
|